Package odata.msgraph.client.beta.entity
Class UserExperienceAnalyticsBatteryHealthModelPerformance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UserExperienceAnalyticsBatteryHealthModelPerformance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsBatteryHealthModelPerformance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics battery health model performance entity contains battery related information for all unique device models in their organization.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsBatteryHealthModelPerformance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveDevicesprotected IntegeraverageBatteryAgeInDaysprotected IntegeraverageEstimatedRuntimeInMinutesprotected IntegeraverageMaxCapacityPercentageprotected Stringmanufacturerprotected Stringmodel-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsBatteryHealthModelPerformance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsBatteryHealthModelPerformance.BuilderbuilderUserExperienceAnalyticsBatteryHealthModelPerformance()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 model.Optional<Integer>getAverageBatteryAgeInDays()“The mean of the battery age for all devices of a given model in a tenant.Optional<Integer>getAverageEstimatedRuntimeInMinutes()“The mean of the estimated runtimes on full charge for all devices of a given model.Optional<Integer>getAverageMaxCapacityPercentage()“The mean of the maximum capacity for all devices of a given model.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getManufacturer()“Name of the device manufacturer.”Optional<String>getModel()“The model name of the device.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsBatteryHealthModelPerformancepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsBatteryHealthModelPerformanceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsBatteryHealthModelPerformancewithActiveDevices(Integer activeDevices)Returns an immutable copy ofthiswith just theactiveDevicesfield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithAverageBatteryAgeInDays(Integer averageBatteryAgeInDays)Returns an immutable copy ofthiswith just theaverageBatteryAgeInDaysfield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithAverageEstimatedRuntimeInMinutes(Integer averageEstimatedRuntimeInMinutes)Returns an immutable copy ofthiswith just theaverageEstimatedRuntimeInMinutesfield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithAverageMaxCapacityPercentage(Integer averageMaxCapacityPercentage)Returns an immutable copy ofthiswith just theaverageMaxCapacityPercentagefield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithManufacturer(String manufacturer)Returns an immutable copy ofthiswith just themanufacturerfield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithModel(String model)Returns an immutable copy ofthiswith just themodelfield changed.UserExperienceAnalyticsBatteryHealthModelPerformancewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
activeDevices
protected Integer activeDevices
-
averageBatteryAgeInDays
protected Integer averageBatteryAgeInDays
-
averageEstimatedRuntimeInMinutes
protected Integer averageEstimatedRuntimeInMinutes
-
averageMaxCapacityPercentage
protected Integer averageMaxCapacityPercentage
-
manufacturer
protected String manufacturer
-
model
protected String model
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsBatteryHealthModelPerformance
public static UserExperienceAnalyticsBatteryHealthModelPerformance.Builder builderUserExperienceAnalyticsBatteryHealthModelPerformance()
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 model. Valid values -2147483648 to 2147483647”- Returns:
- property activeDevices
-
withActiveDevices
public UserExperienceAnalyticsBatteryHealthModelPerformance 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 model. 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 of a given model in a tenant. Unit in days. Valid values -2147483648 to 2147483647”- Returns:
- property averageBatteryAgeInDays
-
withAverageBatteryAgeInDays
public UserExperienceAnalyticsBatteryHealthModelPerformance 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 of a given model 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 of a given model. Unit in minutes. Valid values -2147483648 to 2147483647”- Returns:
- property averageEstimatedRuntimeInMinutes
-
withAverageEstimatedRuntimeInMinutes
public UserExperienceAnalyticsBatteryHealthModelPerformance 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 of a given model. 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 of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647”- Returns:
- property averageMaxCapacityPercentage
-
withAverageMaxCapacityPercentage
public UserExperienceAnalyticsBatteryHealthModelPerformance 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 of a given model. 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
-
getManufacturer
public Optional<String> getManufacturer()
“Name of the device manufacturer.”- Returns:
- property manufacturer
-
withManufacturer
public UserExperienceAnalyticsBatteryHealthModelPerformance withManufacturer(String manufacturer)
Returns an immutable copy ofthiswith just themanufacturerfield 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.“Name of the device manufacturer.”
- Parameters:
manufacturer- new value ofmanufacturerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanufacturerfield changed
-
withModel
public UserExperienceAnalyticsBatteryHealthModelPerformance withModel(String model)
Returns an immutable copy ofthiswith just themodelfield 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 model name of the device.”
- Parameters:
model- new value ofmodelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelfield changed
-
withUnmappedField
public UserExperienceAnalyticsBatteryHealthModelPerformance 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 UserExperienceAnalyticsBatteryHealthModelPerformance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsBatteryHealthModelPerformance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-