Package odata.msgraph.client.entity
Class UserExperienceAnalyticsBaseline
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsBaseline
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsBaseline extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The user experience analytics baseline entity contains baseline values against which to compare the user experience analytics scores.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserExperienceAnalyticsBaseline.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected BooleanisBuiltIn-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsBaseline()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsBaseline.BuilderbuilderUserExperienceAnalyticsBaseline()Returns a builder which is used to create a new instance of this class (given that this class is immutable).UserExperienceAnalyticsCategoryRequestgetAppHealthMetrics()“The scores and insights for the application health metrics.”UserExperienceAnalyticsCategoryRequestgetBatteryHealthMetrics()“The scores and insights for the battery health metrics.”UserExperienceAnalyticsCategoryRequestgetBestPracticesMetrics()“The scores and insights for the best practices metrics.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The date the custom baseline was created.UserExperienceAnalyticsCategoryRequestgetDeviceBootPerformanceMetrics()“The scores and insights for the device boot performance metrics.”Optional<String>getDisplayName()“The name of the baseline.”Optional<Boolean>getIsBuiltIn()“When TRUE, indicates the current baseline is the commercial median baseline.UserExperienceAnalyticsCategoryRequestgetRebootAnalyticsMetrics()“The scores and insights for the reboot analytics metrics.”UserExperienceAnalyticsCategoryRequestgetResourcePerformanceMetrics()“The scores and insights for the resource performance metrics.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()UserExperienceAnalyticsCategoryRequestgetWorkFromAnywhereMetrics()“The scores and insights for the work from anywhere metrics.”StringodataTypeName()UserExperienceAnalyticsBaselinepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsBaselineput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsBaselinewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.UserExperienceAnalyticsBaselinewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.UserExperienceAnalyticsBaselinewithIsBuiltIn(Boolean isBuiltIn)Returns an immutable copy ofthiswith just theisBuiltInfield changed.UserExperienceAnalyticsBaselinewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
isBuiltIn
protected Boolean isBuiltIn
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsBaseline
public static UserExperienceAnalyticsBaseline.Builder builderUserExperienceAnalyticsBaseline()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The date the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: '2014-01- 01T00:00:00Z'. Returned by default.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public UserExperienceAnalyticsBaseline withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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 the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: '2014-01- 01T00:00:00Z'. Returned by default.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The name of the baseline.”- Returns:
- property displayName
-
withDisplayName
public UserExperienceAnalyticsBaseline withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 baseline.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getIsBuiltIn
public Optional<Boolean> getIsBuiltIn()
“When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.”- Returns:
- property isBuiltIn
-
withIsBuiltIn
public UserExperienceAnalyticsBaseline withIsBuiltIn(Boolean isBuiltIn)
Returns an immutable copy ofthiswith just theisBuiltInfield 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.“When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.”
- Parameters:
isBuiltIn- new value ofisBuiltInfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisBuiltInfield changed
-
withUnmappedField
public UserExperienceAnalyticsBaseline withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getAppHealthMetrics
public UserExperienceAnalyticsCategoryRequest getAppHealthMetrics()
“The scores and insights for the application health metrics.”- Returns:
- navigational property appHealthMetrics
-
getBatteryHealthMetrics
public UserExperienceAnalyticsCategoryRequest getBatteryHealthMetrics()
“The scores and insights for the battery health metrics.”- Returns:
- navigational property batteryHealthMetrics
-
getBestPracticesMetrics
public UserExperienceAnalyticsCategoryRequest getBestPracticesMetrics()
“The scores and insights for the best practices metrics.”- Returns:
- navigational property bestPracticesMetrics
-
getDeviceBootPerformanceMetrics
public UserExperienceAnalyticsCategoryRequest getDeviceBootPerformanceMetrics()
“The scores and insights for the device boot performance metrics.”- Returns:
- navigational property deviceBootPerformanceMetrics
-
getRebootAnalyticsMetrics
public UserExperienceAnalyticsCategoryRequest getRebootAnalyticsMetrics()
“The scores and insights for the reboot analytics metrics.”- Returns:
- navigational property rebootAnalyticsMetrics
-
getResourcePerformanceMetrics
public UserExperienceAnalyticsCategoryRequest getResourcePerformanceMetrics()
“The scores and insights for the resource performance metrics.”- Returns:
- navigational property resourcePerformanceMetrics
-
getWorkFromAnywhereMetrics
public UserExperienceAnalyticsCategoryRequest getWorkFromAnywhereMetrics()
“The scores and insights for the work from anywhere metrics.”- Returns:
- navigational property workFromAnywhereMetrics
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UserExperienceAnalyticsBaseline patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsBaseline put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-