Package odata.msgraph.client.beta.entity
Class UserExperienceAnalyticsBatteryHealthOsPerformance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UserExperienceAnalyticsBatteryHealthOsPerformance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsBatteryHealthOsPerformance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics battery health os performance entity contains battery related information for all operating system versions in their organization.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsBatteryHealthOsPerformance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveDevicesprotected IntegeraverageBatteryAgeInDaysprotected IntegeraverageEstimatedRuntimeInMinutesprotected IntegeraverageMaxCapacityPercentageprotected StringosBuildNumberprotected StringosVersion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsBatteryHealthOsPerformance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsBatteryHealthOsPerformance.BuilderbuilderUserExperienceAnalyticsBatteryHealthOsPerformance()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getActiveDevices()“Number of active devices for that os version.Optional<Integer>getAverageBatteryAgeInDays()“The mean of the battery age for all devices running a particular operating system version in a tenant.Optional<Integer>getAverageEstimatedRuntimeInMinutes()“The mean of the estimated runtimes on full charge for all devices running a particular operating system version.Optional<Integer>getAverageMaxCapacityPercentage()“The mean of the maximum capacity for all devices running a particular operating system version.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getOsBuildNumber()“Build number of the operating system.”Optional<String>getOsVersion()“Version of the operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsBatteryHealthOsPerformancepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsBatteryHealthOsPerformanceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsBatteryHealthOsPerformancewithActiveDevices(Integer activeDevices)Returns an immutable copy ofthiswith just theactiveDevicesfield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithAverageBatteryAgeInDays(Integer averageBatteryAgeInDays)Returns an immutable copy ofthiswith just theaverageBatteryAgeInDaysfield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithAverageEstimatedRuntimeInMinutes(Integer averageEstimatedRuntimeInMinutes)Returns an immutable copy ofthiswith just theaverageEstimatedRuntimeInMinutesfield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithAverageMaxCapacityPercentage(Integer averageMaxCapacityPercentage)Returns an immutable copy ofthiswith just theaverageMaxCapacityPercentagefield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithOsBuildNumber(String osBuildNumber)Returns an immutable copy ofthiswith just theosBuildNumberfield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.UserExperienceAnalyticsBatteryHealthOsPerformancewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
activeDevices
protected Integer activeDevices
-
averageBatteryAgeInDays
protected Integer averageBatteryAgeInDays
-
averageEstimatedRuntimeInMinutes
protected Integer averageEstimatedRuntimeInMinutes
-
averageMaxCapacityPercentage
protected Integer averageMaxCapacityPercentage
-
osBuildNumber
protected String osBuildNumber
-
osVersion
protected String osVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsBatteryHealthOsPerformance
public static UserExperienceAnalyticsBatteryHealthOsPerformance.Builder builderUserExperienceAnalyticsBatteryHealthOsPerformance()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getActiveDevices
public Optional<Integer> getActiveDevices()
“Number of active devices for that os version. Valid values -2147483648 to 2147483647”- Returns:
- property activeDevices
-
withActiveDevices
public UserExperienceAnalyticsBatteryHealthOsPerformance withActiveDevices(Integer activeDevices)
Returns an immutable copy ofthiswith just theactiveDevicesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Number of active devices for that os version. Valid values -2147483648 to 2147483647”
- Parameters:
activeDevices- new value ofactiveDevicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveDevicesfield changed
-
getAverageBatteryAgeInDays
public Optional<Integer> getAverageBatteryAgeInDays()
“The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647”- Returns:
- property averageBatteryAgeInDays
-
withAverageBatteryAgeInDays
public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageBatteryAgeInDays(Integer averageBatteryAgeInDays)
Returns an immutable copy ofthiswith just theaverageBatteryAgeInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647”
- Parameters:
averageBatteryAgeInDays- new value ofaverageBatteryAgeInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaverageBatteryAgeInDaysfield changed
-
getAverageEstimatedRuntimeInMinutes
public Optional<Integer> getAverageEstimatedRuntimeInMinutes()
“The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647”- Returns:
- property averageEstimatedRuntimeInMinutes
-
withAverageEstimatedRuntimeInMinutes
public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageEstimatedRuntimeInMinutes(Integer averageEstimatedRuntimeInMinutes)
Returns an immutable copy ofthiswith just theaverageEstimatedRuntimeInMinutesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647”
- Parameters:
averageEstimatedRuntimeInMinutes- new value ofaverageEstimatedRuntimeInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaverageEstimatedRuntimeInMinutesfield changed
-
getAverageMaxCapacityPercentage
public Optional<Integer> getAverageMaxCapacityPercentage()
“The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647”- Returns:
- property averageMaxCapacityPercentage
-
withAverageMaxCapacityPercentage
public UserExperienceAnalyticsBatteryHealthOsPerformance withAverageMaxCapacityPercentage(Integer averageMaxCapacityPercentage)
Returns an immutable copy ofthiswith just theaverageMaxCapacityPercentagefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647”
- Parameters:
averageMaxCapacityPercentage- new value ofaverageMaxCapacityPercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaverageMaxCapacityPercentagefield changed
-
getOsBuildNumber
public Optional<String> getOsBuildNumber()
“Build number of the operating system.”- Returns:
- property osBuildNumber
-
withOsBuildNumber
public UserExperienceAnalyticsBatteryHealthOsPerformance withOsBuildNumber(String osBuildNumber)
Returns an immutable copy ofthiswith just theosBuildNumberfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Build number of the operating system.”
- Parameters:
osBuildNumber- new value ofosBuildNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosBuildNumberfield changed
-
getOsVersion
public Optional<String> getOsVersion()
“Version of the operating system.”- Returns:
- property osVersion
-
withOsVersion
public UserExperienceAnalyticsBatteryHealthOsPerformance withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Version of the operating system.”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
withUnmappedField
public UserExperienceAnalyticsBatteryHealthOsPerformance withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UserExperienceAnalyticsBatteryHealthOsPerformance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsBatteryHealthOsPerformance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-