Class UserExperienceAnalyticsAppHealthDeviceModelPerformance
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsAppHealthDeviceModelPerformance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsAppHealthDeviceModelPerformance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics device model performance entity contains device model performance details.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsAppHealthDeviceModelPerformance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveDeviceCountprotected StringdeviceManufacturerprotected StringdeviceModelprotected UserExperienceAnalyticsHealthStatehealthStatusprotected IntegermeanTimeToFailureInMinutesprotected DoublemodelAppHealthScore-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsAppHealthDeviceModelPerformance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsAppHealthDeviceModelPerformance.BuilderbuilderUserExperienceAnalyticsAppHealthDeviceModelPerformance()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getActiveDeviceCount()“The number of active devices for the model.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceManufacturer()“The manufacturer name of the device.Optional<String>getDeviceModel()“The model name of the device.Optional<UserExperienceAnalyticsHealthState>getHealthStatus()“The health state of the user experience analytics model.Optional<Integer>getMeanTimeToFailureInMinutes()“The mean time to failure for the application in minutes.Optional<Double>getModelAppHealthScore()“The application health score of the device model.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsAppHealthDeviceModelPerformancepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsAppHealthDeviceModelPerformanceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsAppHealthDeviceModelPerformancewithActiveDeviceCount(Integer activeDeviceCount)Returns an immutable copy ofthiswith just theactiveDeviceCountfield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithDeviceManufacturer(String deviceManufacturer)Returns an immutable copy ofthiswith just thedeviceManufacturerfield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithDeviceModel(String deviceModel)Returns an immutable copy ofthiswith just thedeviceModelfield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithHealthStatus(UserExperienceAnalyticsHealthState healthStatus)Returns an immutable copy ofthiswith just thehealthStatusfield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithMeanTimeToFailureInMinutes(Integer meanTimeToFailureInMinutes)Returns an immutable copy ofthiswith just themeanTimeToFailureInMinutesfield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithModelAppHealthScore(Double modelAppHealthScore)Returns an immutable copy ofthiswith just themodelAppHealthScorefield changed.UserExperienceAnalyticsAppHealthDeviceModelPerformancewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
activeDeviceCount
protected Integer activeDeviceCount
-
deviceManufacturer
protected String deviceManufacturer
-
deviceModel
protected String deviceModel
-
healthStatus
protected UserExperienceAnalyticsHealthState healthStatus
-
meanTimeToFailureInMinutes
protected Integer meanTimeToFailureInMinutes
-
modelAppHealthScore
protected Double modelAppHealthScore
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsAppHealthDeviceModelPerformance
public static UserExperienceAnalyticsAppHealthDeviceModelPerformance.Builder builderUserExperienceAnalyticsAppHealthDeviceModelPerformance()
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
-
getActiveDeviceCount
public Optional<Integer> getActiveDeviceCount()
“The number of active devices for the model. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”- Returns:
- property activeDeviceCount
-
withActiveDeviceCount
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withActiveDeviceCount(Integer activeDeviceCount)
Returns an immutable copy ofthiswith just theactiveDeviceCountfield 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 number of active devices for the model. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
- Parameters:
activeDeviceCount- new value ofactiveDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveDeviceCountfield changed
-
getDeviceManufacturer
public Optional<String> getDeviceManufacturer()
“The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceManufacturer
-
withDeviceManufacturer
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withDeviceManufacturer(String deviceManufacturer)
Returns an immutable copy ofthiswith just thedeviceManufacturerfield 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 manufacturer name of the device. Supports: $select, $OrderBy. Read-only.”
- Parameters:
deviceManufacturer- new value ofdeviceManufacturerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceManufacturerfield changed
-
getDeviceModel
public Optional<String> getDeviceModel()
“The model name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceModel
-
withDeviceModel
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withDeviceModel(String deviceModel)
Returns an immutable copy ofthiswith just thedeviceModelfield 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. Supports: $select, $OrderBy. Read-only.”
- Parameters:
deviceModel- new value ofdeviceModelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceModelfield changed
-
getHealthStatus
public Optional<UserExperienceAnalyticsHealthState> getHealthStatus()
“The health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $OrderBy. Read-only.”- Returns:
- property healthStatus
-
withHealthStatus
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withHealthStatus(UserExperienceAnalyticsHealthState healthStatus)
Returns an immutable copy ofthiswith just thehealthStatusfield 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 health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $OrderBy. Read-only.”
- Parameters:
healthStatus- new value ofhealthStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehealthStatusfield changed
-
getMeanTimeToFailureInMinutes
public Optional<Integer> getMeanTimeToFailureInMinutes()
“The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values - 2147483648 to 2147483647”- Returns:
- property meanTimeToFailureInMinutes
-
withMeanTimeToFailureInMinutes
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withMeanTimeToFailureInMinutes(Integer meanTimeToFailureInMinutes)
Returns an immutable copy ofthiswith just themeanTimeToFailureInMinutesfield 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 time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values - 2147483648 to 2147483647”
- Parameters:
meanTimeToFailureInMinutes- new value ofmeanTimeToFailureInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themeanTimeToFailureInMinutesfield changed
-
getModelAppHealthScore
public Optional<Double> getModelAppHealthScore()
“The application health score of the device model. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E +308 to 1.79769313486232E+308”- Returns:
- property modelAppHealthScore
-
withModelAppHealthScore
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withModelAppHealthScore(Double modelAppHealthScore)
Returns an immutable copy ofthiswith just themodelAppHealthScorefield 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 application health score of the device model. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E +308 to 1.79769313486232E+308”
- Parameters:
modelAppHealthScore- new value ofmodelAppHealthScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelAppHealthScorefield changed
-
withUnmappedField
public UserExperienceAnalyticsAppHealthDeviceModelPerformance withUnmappedField(String name, Object 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 UserExperienceAnalyticsAppHealthDeviceModelPerformance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsAppHealthDeviceModelPerformance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-