Package odata.msgraph.client.beta.entity
Class UserExperienceAnalyticsBaseline
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.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.beta.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 user experience analytics app health metrics.”UserExperienceAnalyticsCategoryRequestgetBatteryHealthMetrics()“The user experience analytics battery health metrics.”UserExperienceAnalyticsCategoryRequestgetBestPracticesMetrics()“The user experience analytics best practices metrics.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The date the custom baseline was created.”UserExperienceAnalyticsCategoryRequestgetDeviceBootPerformanceMetrics()“The user experience analytics device boot performance metrics.”Optional<String>getDisplayName()“The name of the user experience analytics baseline.”Optional<Boolean>getIsBuiltIn()“Signifies if the current baseline is the commercial median baseline or a custom baseline.”UserExperienceAnalyticsCategoryRequestgetRebootAnalyticsMetrics()“The user experience analytics reboot analytics metrics.”UserExperienceAnalyticsCategoryRequestgetResourcePerformanceMetrics()“The user experience analytics resource performance metrics.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()UserExperienceAnalyticsCategoryRequestgetWorkFromAnywhereMetrics()“The user experience analytics 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, String 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.”- 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.”
- 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 user experience analytics 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 user experience analytics baseline.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getIsBuiltIn
public Optional<Boolean> getIsBuiltIn()
“Signifies if the current baseline is the commercial median baseline or a custom baseline.”- 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.“Signifies if the current baseline is the commercial median baseline or a custom baseline.”
- Parameters:
isBuiltIn- new value ofisBuiltInfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisBuiltInfield changed
-
withUnmappedField
public UserExperienceAnalyticsBaseline withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAppHealthMetrics
public UserExperienceAnalyticsCategoryRequest getAppHealthMetrics()
“The user experience analytics app health metrics.”- Returns:
- navigational property appHealthMetrics
-
getBatteryHealthMetrics
public UserExperienceAnalyticsCategoryRequest getBatteryHealthMetrics()
“The user experience analytics battery health metrics.”- Returns:
- navigational property batteryHealthMetrics
-
getBestPracticesMetrics
public UserExperienceAnalyticsCategoryRequest getBestPracticesMetrics()
“The user experience analytics best practices metrics.”- Returns:
- navigational property bestPracticesMetrics
-
getDeviceBootPerformanceMetrics
public UserExperienceAnalyticsCategoryRequest getDeviceBootPerformanceMetrics()
“The user experience analytics device boot performance metrics.”- Returns:
- navigational property deviceBootPerformanceMetrics
-
getRebootAnalyticsMetrics
public UserExperienceAnalyticsCategoryRequest getRebootAnalyticsMetrics()
“The user experience analytics reboot analytics metrics.”- Returns:
- navigational property rebootAnalyticsMetrics
-
getResourcePerformanceMetrics
public UserExperienceAnalyticsCategoryRequest getResourcePerformanceMetrics()
“The user experience analytics resource performance metrics.”- Returns:
- navigational property resourcePerformanceMetrics
-
getWorkFromAnywhereMetrics
public UserExperienceAnalyticsCategoryRequest getWorkFromAnywhereMetrics()
“The user experience analytics 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).
-
-