Class UserExperienceAnalyticsAppHealthDevicePerformance
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsAppHealthDevicePerformance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsAppHealthDevicePerformance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics device performance entity contains device performance details.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsAppHealthDevicePerformance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerappCrashCountprotected IntegerappHangCountprotected IntegercrashedAppCountprotected DoubledeviceAppHealthScoreprotected StringdeviceDisplayNameprotected StringdeviceIdprotected StringdeviceManufacturerprotected StringdeviceModelprotected UserExperienceAnalyticsHealthStatehealthStatusprotected IntegermeanTimeToFailureInMinutesprotected OffsetDateTimeprocessedDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsAppHealthDevicePerformance()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsAppHealthDevicePerformance.BuilderbuilderUserExperienceAnalyticsAppHealthDevicePerformance()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getAppCrashCount()“The number of application crashes for the device.Optional<Integer>getAppHangCount()“The number of application hangs for the device.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getCrashedAppCount()“The number of distinct application crashes for the device.Optional<Double>getDeviceAppHealthScore()“The application health score of the device.Optional<String>getDeviceDisplayName()“The name of the device.Optional<String>getDeviceId()“The Intune device id of the device.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 device.Optional<Integer>getMeanTimeToFailureInMinutes()“The mean time to failure for the application in minutes.Optional<OffsetDateTime>getProcessedDateTime()“The date and time when the statistics were last computed.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsAppHealthDevicePerformancepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsAppHealthDevicePerformanceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsAppHealthDevicePerformancewithAppCrashCount(Integer appCrashCount)Returns an immutable copy ofthiswith just theappCrashCountfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithAppHangCount(Integer appHangCount)Returns an immutable copy ofthiswith just theappHangCountfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithCrashedAppCount(Integer crashedAppCount)Returns an immutable copy ofthiswith just thecrashedAppCountfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithDeviceAppHealthScore(Double deviceAppHealthScore)Returns an immutable copy ofthiswith just thedeviceAppHealthScorefield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithDeviceDisplayName(String deviceDisplayName)Returns an immutable copy ofthiswith just thedeviceDisplayNamefield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithDeviceManufacturer(String deviceManufacturer)Returns an immutable copy ofthiswith just thedeviceManufacturerfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithDeviceModel(String deviceModel)Returns an immutable copy ofthiswith just thedeviceModelfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithHealthStatus(UserExperienceAnalyticsHealthState healthStatus)Returns an immutable copy ofthiswith just thehealthStatusfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithMeanTimeToFailureInMinutes(Integer meanTimeToFailureInMinutes)Returns an immutable copy ofthiswith just themeanTimeToFailureInMinutesfield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithProcessedDateTime(OffsetDateTime processedDateTime)Returns an immutable copy ofthiswith just theprocessedDateTimefield changed.UserExperienceAnalyticsAppHealthDevicePerformancewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
appCrashCount
protected Integer appCrashCount
-
appHangCount
protected Integer appHangCount
-
crashedAppCount
protected Integer crashedAppCount
-
deviceAppHealthScore
protected Double deviceAppHealthScore
-
deviceDisplayName
protected String deviceDisplayName
-
deviceId
protected String deviceId
-
deviceManufacturer
protected String deviceManufacturer
-
deviceModel
protected String deviceModel
-
healthStatus
protected UserExperienceAnalyticsHealthState healthStatus
-
meanTimeToFailureInMinutes
protected Integer meanTimeToFailureInMinutes
-
processedDateTime
protected OffsetDateTime processedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsAppHealthDevicePerformance
public static UserExperienceAnalyticsAppHealthDevicePerformance.Builder builderUserExperienceAnalyticsAppHealthDevicePerformance()
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
-
getAppCrashCount
public Optional<Integer> getAppCrashCount()
“The number of application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”- Returns:
- property appCrashCount
-
withAppCrashCount
public UserExperienceAnalyticsAppHealthDevicePerformance withAppCrashCount(Integer appCrashCount)
Returns an immutable copy ofthiswith just theappCrashCountfield 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 application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
- Parameters:
appCrashCount- new value ofappCrashCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappCrashCountfield changed
-
getAppHangCount
public Optional<Integer> getAppHangCount()
“The number of application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”- Returns:
- property appHangCount
-
withAppHangCount
public UserExperienceAnalyticsAppHealthDevicePerformance withAppHangCount(Integer appHangCount)
Returns an immutable copy ofthiswith just theappHangCountfield 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 application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
- Parameters:
appHangCount- new value ofappHangCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappHangCountfield changed
-
getCrashedAppCount
public Optional<Integer> getCrashedAppCount()
“The number of distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”- Returns:
- property crashedAppCount
-
withCrashedAppCount
public UserExperienceAnalyticsAppHealthDevicePerformance withCrashedAppCount(Integer crashedAppCount)
Returns an immutable copy ofthiswith just thecrashedAppCountfield 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 distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647”
- Parameters:
crashedAppCount- new value ofcrashedAppCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecrashedAppCountfield changed
-
getDeviceAppHealthScore
public Optional<Double> getDeviceAppHealthScore()
“The application health score of the device. Valid values 0 to 100. Supports: $ filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”- Returns:
- property deviceAppHealthScore
-
withDeviceAppHealthScore
public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceAppHealthScore(Double deviceAppHealthScore)
Returns an immutable copy ofthiswith just thedeviceAppHealthScorefield 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. Valid values 0 to 100. Supports: $ filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1. 79769313486232E+308”
- Parameters:
deviceAppHealthScore- new value ofdeviceAppHealthScorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceAppHealthScorefield changed
-
getDeviceDisplayName
public Optional<String> getDeviceDisplayName()
“The name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceDisplayName
-
withDeviceDisplayName
public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy ofthiswith just thedeviceDisplayNamefield 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:
deviceDisplayName- new value ofdeviceDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceDisplayNamefield changed
-
getDeviceId
public Optional<String> getDeviceId()
“The Intune device id of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceId
-
withDeviceId
public UserExperienceAnalyticsAppHealthDevicePerformance withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield 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 Intune device id of the device. Supports: $select, $OrderBy. Read-only.”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
getDeviceManufacturer
public Optional<String> getDeviceManufacturer()
“The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceManufacturer
-
withDeviceManufacturer
public UserExperienceAnalyticsAppHealthDevicePerformance 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 UserExperienceAnalyticsAppHealthDevicePerformance 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 device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. Unknown by default. Supports: $filter, $select, $OrderBy. Read-only.”- Returns:
- property healthStatus
-
withHealthStatus
public UserExperienceAnalyticsAppHealthDevicePerformance 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 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
-
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 UserExperienceAnalyticsAppHealthDevicePerformance 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
-
getProcessedDateTime
public Optional<OffsetDateTime> getProcessedDateTime()
“The date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: '2022-01-01T00:00:00Z'. Returned by default. Read-only.”- Returns:
- property processedDateTime
-
withProcessedDateTime
public UserExperienceAnalyticsAppHealthDevicePerformance withProcessedDateTime(OffsetDateTime processedDateTime)
Returns an immutable copy ofthiswith just theprocessedDateTimefield 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 date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: '2022-01-01T00:00:00Z'. Returned by default. Read-only.”
- Parameters:
processedDateTime- new value ofprocessedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprocessedDateTimefield changed
-
withUnmappedField
public UserExperienceAnalyticsAppHealthDevicePerformance 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 UserExperienceAnalyticsAppHealthDevicePerformance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsAppHealthDevicePerformance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-