Class UserExperienceAnalyticsModelScores
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsModelScores
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsModelScores extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics model scores entity consolidates the various Endpoint Analytics scores.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsModelScores.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DoubleappReliabilityScoreprotected DoublebatteryHealthScoreprotected DoubleendpointAnalyticsScoreprotected UserExperienceAnalyticsHealthStatehealthStatusprotected Stringmanufacturerprotected Stringmodelprotected LongmodelDeviceCountprotected DoublestartupPerformanceScoreprotected DoubleworkFromAnywhereScore-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsModelScores()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsModelScores.BuilderbuilderUserExperienceAnalyticsModelScores()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<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<Long>getModelDeviceCount()“Indicates unique devices count of given model in a consolidated report.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()UserExperienceAnalyticsModelScorespatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsModelScoresput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsModelScoreswithAppReliabilityScore(Double appReliabilityScore)Returns an immutable copy ofthiswith just theappReliabilityScorefield changed.UserExperienceAnalyticsModelScoreswithBatteryHealthScore(Double batteryHealthScore)Returns an immutable copy ofthiswith just thebatteryHealthScorefield changed.UserExperienceAnalyticsModelScoreswithEndpointAnalyticsScore(Double endpointAnalyticsScore)Returns an immutable copy ofthiswith just theendpointAnalyticsScorefield changed.UserExperienceAnalyticsModelScoreswithHealthStatus(UserExperienceAnalyticsHealthState healthStatus)Returns an immutable copy ofthiswith just thehealthStatusfield changed.UserExperienceAnalyticsModelScoreswithManufacturer(String manufacturer)Returns an immutable copy ofthiswith just themanufacturerfield changed.UserExperienceAnalyticsModelScoreswithModel(String model)Returns an immutable copy ofthiswith just themodelfield changed.UserExperienceAnalyticsModelScoreswithModelDeviceCount(Long modelDeviceCount)Returns an immutable copy ofthiswith just themodelDeviceCountfield changed.UserExperienceAnalyticsModelScoreswithStartupPerformanceScore(Double startupPerformanceScore)Returns an immutable copy ofthiswith just thestartupPerformanceScorefield changed.UserExperienceAnalyticsModelScoreswithUnmappedField(String name, Object value)UserExperienceAnalyticsModelScoreswithWorkFromAnywhereScore(Double workFromAnywhereScore)Returns an immutable copy ofthiswith just theworkFromAnywhereScorefield changed.
-
-
-
Field Detail
-
appReliabilityScore
protected Double appReliabilityScore
-
batteryHealthScore
protected Double batteryHealthScore
-
endpointAnalyticsScore
protected Double endpointAnalyticsScore
-
healthStatus
protected UserExperienceAnalyticsHealthState healthStatus
-
manufacturer
protected String manufacturer
-
model
protected String model
-
modelDeviceCount
protected Long modelDeviceCount
-
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
-
builderUserExperienceAnalyticsModelScores
public static UserExperienceAnalyticsModelScores.Builder builderUserExperienceAnalyticsModelScores()
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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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
-
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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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
-
getModelDeviceCount
public Optional<Long> getModelDeviceCount()
“Indicates unique devices count of given model in a consolidated report. Supports : $select, $OrderBy. Read-only. Valid values -9.22337203685478E+18 to 9. 22337203685478E+18”- Returns:
- property modelDeviceCount
-
withModelDeviceCount
public UserExperienceAnalyticsModelScores withModelDeviceCount(Long modelDeviceCount)
Returns an immutable copy ofthiswith just themodelDeviceCountfield 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 unique devices count of given model in a consolidated report. Supports : $select, $OrderBy. Read-only. Valid values -9.22337203685478E+18 to 9. 22337203685478E+18”
- Parameters:
modelDeviceCount- new value ofmodelDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodelDeviceCountfield 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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores 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 UserExperienceAnalyticsModelScores patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsModelScores put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-