Class UserExperienceAnalyticsDeviceScores
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsDeviceScores
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsDeviceScores extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics device scores entity consolidates the various Endpoint Analytics scores.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsDeviceScores.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DoubleappReliabilityScoreprotected DoublebatteryHealthScoreprotected StringdeviceNameprotected DoubleendpointAnalyticsScoreprotected UserExperienceAnalyticsHealthStatehealthStatusprotected Stringmanufacturerprotected Stringmodelprotected DoublestartupPerformanceScoreprotected DoubleworkFromAnywhereScore-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsDeviceScores()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsDeviceScores.BuilderbuilderUserExperienceAnalyticsDeviceScores()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Double>getAppReliabilityScore()“Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications.Optional<Double>getBatteryHealthScore()“Indicates a calulated score indicating the health of the device's battery.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceName()“The name of the device.Optional<Double>getEndpointAnalyticsScore()“Indicates a weighted average of the various scores.Optional<UserExperienceAnalyticsHealthState>getHealthStatus()“The health status of the device.Optional<String>getManufacturer()“The manufacturer name of the device.Optional<String>getModel()“The model name of the device.Optional<Double>getStartupPerformanceScore()“Indicates a weighted average of boot score and logon score used for measuring startup performance.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Double>getWorkFromAnywhereScore()“Indicates a weighted score of the work from anywhere on a device level.StringodataTypeName()UserExperienceAnalyticsDeviceScorespatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsDeviceScoresput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsDeviceScoreswithAppReliabilityScore(Double appReliabilityScore)Returns an immutable copy ofthiswith just theappReliabilityScorefield changed.UserExperienceAnalyticsDeviceScoreswithBatteryHealthScore(Double batteryHealthScore)Returns an immutable copy ofthiswith just thebatteryHealthScorefield changed.UserExperienceAnalyticsDeviceScoreswithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.UserExperienceAnalyticsDeviceScoreswithEndpointAnalyticsScore(Double endpointAnalyticsScore)Returns an immutable copy ofthiswith just theendpointAnalyticsScorefield changed.UserExperienceAnalyticsDeviceScoreswithHealthStatus(UserExperienceAnalyticsHealthState healthStatus)Returns an immutable copy ofthiswith just thehealthStatusfield changed.UserExperienceAnalyticsDeviceScoreswithManufacturer(String manufacturer)Returns an immutable copy ofthiswith just themanufacturerfield changed.UserExperienceAnalyticsDeviceScoreswithModel(String model)Returns an immutable copy ofthiswith just themodelfield changed.UserExperienceAnalyticsDeviceScoreswithStartupPerformanceScore(Double startupPerformanceScore)Returns an immutable copy ofthiswith just thestartupPerformanceScorefield changed.UserExperienceAnalyticsDeviceScoreswithUnmappedField(String name, Object value)UserExperienceAnalyticsDeviceScoreswithWorkFromAnywhereScore(Double workFromAnywhereScore)Returns an immutable copy ofthiswith just theworkFromAnywhereScorefield changed.
-
-
-
Field Detail
-
appReliabilityScore
protected Double appReliabilityScore
-
batteryHealthScore
protected Double batteryHealthScore
-
deviceName
protected String deviceName
-
endpointAnalyticsScore
protected Double endpointAnalyticsScore
-
healthStatus
protected UserExperienceAnalyticsHealthState healthStatus
-
manufacturer
protected String manufacturer
-
model
protected String model
-
startupPerformanceScore
protected Double startupPerformanceScore
-
workFromAnywhereScore
protected Double workFromAnywhereScore
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsDeviceScores
public static UserExperienceAnalyticsDeviceScores.Builder builderUserExperienceAnalyticsDeviceScores()
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
-
getAppReliabilityScore
public Optional<Double> getAppReliabilityScore()
“Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”- Returns:
- property appReliabilityScore
-
withAppReliabilityScore
public UserExperienceAnalyticsDeviceScores withAppReliabilityScore(Double appReliabilityScore)
Returns an immutable copy ofthiswith just theappReliabilityScorefield 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.“Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”
- Parameters:
appReliabilityScore- new value ofappReliabilityScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappReliabilityScorefield changed
-
getBatteryHealthScore
public Optional<Double> getBatteryHealthScore()
“Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”- Returns:
- property batteryHealthScore
-
withBatteryHealthScore
public UserExperienceAnalyticsDeviceScores withBatteryHealthScore(Double batteryHealthScore)
Returns an immutable copy ofthiswith just thebatteryHealthScorefield 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.“Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”
- Parameters:
batteryHealthScore- new value ofbatteryHealthScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebatteryHealthScorefield changed
-
getDeviceName
public Optional<String> getDeviceName()
“The name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceName
-
withDeviceName
public UserExperienceAnalyticsDeviceScores withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield 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 name of the device. Supports: $select, $OrderBy. Read-only.”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getEndpointAnalyticsScore
public Optional<Double> getEndpointAnalyticsScore()
“Indicates a weighted average of the various scores. Valid values range from 0- 100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”- Returns:
- property endpointAnalyticsScore
-
withEndpointAnalyticsScore
public UserExperienceAnalyticsDeviceScores withEndpointAnalyticsScore(Double endpointAnalyticsScore)
Returns an immutable copy ofthiswith just theendpointAnalyticsScorefield 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.“Indicates a weighted average of the various scores. Valid values range from 0- 100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”
- Parameters:
endpointAnalyticsScore- new value ofendpointAnalyticsScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendpointAnalyticsScorefield changed
-
getHealthStatus
public Optional<UserExperienceAnalyticsHealthState> getHealthStatus()
“The health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $ OrderBy. Read-only.”- Returns:
- property healthStatus
-
withHealthStatus
public UserExperienceAnalyticsDeviceScores 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 status of the device. 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
-
getManufacturer
public Optional<String> getManufacturer()
“The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo . Supports: $select, $OrderBy. Read-only.”- Returns:
- property manufacturer
-
withManufacturer
public UserExperienceAnalyticsDeviceScores 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.“The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo . Supports: $select, $OrderBy. Read-only.”
- Parameters:
manufacturer- new value ofmanufacturerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanufacturerfield changed
-
getModel
public Optional<String> getModel()
“The model name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property model
-
withModel
public UserExperienceAnalyticsDeviceScores 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. Supports: $select, $OrderBy. Read-only.”
- Parameters:
model- new value ofmodelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelfield changed
-
getStartupPerformanceScore
public Optional<Double> getStartupPerformanceScore()
“Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”- Returns:
- property startupPerformanceScore
-
withStartupPerformanceScore
public UserExperienceAnalyticsDeviceScores withStartupPerformanceScore(Double startupPerformanceScore)
Returns an immutable copy ofthiswith just thestartupPerformanceScorefield 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.“Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308”
- Parameters:
startupPerformanceScore- new value ofstartupPerformanceScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartupPerformanceScorefield changed
-
getWorkFromAnywhereScore
public Optional<Double> getWorkFromAnywhereScore()
“Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”- Returns:
- property workFromAnywhereScore
-
withWorkFromAnywhereScore
public UserExperienceAnalyticsDeviceScores withWorkFromAnywhereScore(Double workFromAnywhereScore)
Returns an immutable copy ofthiswith just theworkFromAnywhereScorefield 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.“Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1. 79769313486232E+308 to 1.79769313486232E+308”
- Parameters:
workFromAnywhereScore- new value ofworkFromAnywhereScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theworkFromAnywhereScorefield changed
-
withUnmappedField
public UserExperienceAnalyticsDeviceScores 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 UserExperienceAnalyticsDeviceScores patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsDeviceScores put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-