Class UserExperienceAnalyticsAppHealthDevicePerformanceDetails
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.UserExperienceAnalyticsAppHealthDevicePerformanceDetails
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserExperienceAnalyticsAppHealthDevicePerformanceDetails 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 classUserExperienceAnalyticsAppHealthDevicePerformanceDetails.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappDisplayNameprotected StringappPublisherprotected StringappVersionprotected StringdeviceDisplayNameprotected StringdeviceIdprotected OffsetDateTimeeventDateTimeprotected StringeventType-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserExperienceAnalyticsAppHealthDevicePerformanceDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExperienceAnalyticsAppHealthDevicePerformanceDetails.BuilderbuilderUserExperienceAnalyticsAppHealthDevicePerformanceDetails()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppDisplayName()“The friendly name of the application for which the event occurred.Optional<String>getAppPublisher()“The publisher of the application.Optional<String>getAppVersion()“The version of the application.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceDisplayName()“The name of the device.Optional<String>getDeviceId()“The Intune device id of the device.Optional<OffsetDateTime>getEventDateTime()“The time the event occurred.Optional<String>getEventType()“The type of the event.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()UserExperienceAnalyticsAppHealthDevicePerformanceDetailspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserExperienceAnalyticsAppHealthDevicePerformanceDetailsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithAppDisplayName(String appDisplayName)Returns an immutable copy ofthiswith just theappDisplayNamefield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithAppPublisher(String appPublisher)Returns an immutable copy ofthiswith just theappPublisherfield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithAppVersion(String appVersion)Returns an immutable copy ofthiswith just theappVersionfield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithDeviceDisplayName(String deviceDisplayName)Returns an immutable copy ofthiswith just thedeviceDisplayNamefield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithEventDateTime(OffsetDateTime eventDateTime)Returns an immutable copy ofthiswith just theeventDateTimefield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithEventType(String eventType)Returns an immutable copy ofthiswith just theeventTypefield changed.UserExperienceAnalyticsAppHealthDevicePerformanceDetailswithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
appDisplayName
protected String appDisplayName
-
appPublisher
protected String appPublisher
-
appVersion
protected String appVersion
-
deviceDisplayName
protected String deviceDisplayName
-
deviceId
protected String deviceId
-
eventDateTime
protected OffsetDateTime eventDateTime
-
eventType
protected String eventType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserExperienceAnalyticsAppHealthDevicePerformanceDetails
public static UserExperienceAnalyticsAppHealthDevicePerformanceDetails.Builder builderUserExperienceAnalyticsAppHealthDevicePerformanceDetails()
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
-
getAppDisplayName
public Optional<String> getAppDisplayName()
“The friendly name of the application for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.”- Returns:
- property appDisplayName
-
withAppDisplayName
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails withAppDisplayName(String appDisplayName)
Returns an immutable copy ofthiswith just theappDisplayNamefield 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 friendly name of the application for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.”
- Parameters:
appDisplayName- new value ofappDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappDisplayNamefield changed
-
getAppPublisher
public Optional<String> getAppPublisher()
“The publisher of the application. Supports: $select, $OrderBy. Read-only.”- Returns:
- property appPublisher
-
withAppPublisher
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails withAppPublisher(String appPublisher)
Returns an immutable copy ofthiswith just theappPublisherfield 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 publisher of the application. Supports: $select, $OrderBy. Read-only.”
- Parameters:
appPublisher- new value ofappPublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappPublisherfield changed
-
getAppVersion
public Optional<String> getAppVersion()
“The version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only.”- Returns:
- property appVersion
-
withAppVersion
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails withAppVersion(String appVersion)
Returns an immutable copy ofthiswith just theappVersionfield 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 version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only.”
- Parameters:
appVersion- new value ofappVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappVersionfield changed
-
getDeviceDisplayName
public Optional<String> getDeviceDisplayName()
“The name of the device. Supports: $select, $OrderBy. Read-only.”- Returns:
- property deviceDisplayName
-
withDeviceDisplayName
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails 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 UserExperienceAnalyticsAppHealthDevicePerformanceDetails 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
-
getEventDateTime
public Optional<OffsetDateTime> getEventDateTime()
“The time the event occurred. 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 eventDateTime
-
withEventDateTime
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails withEventDateTime(OffsetDateTime eventDateTime)
Returns an immutable copy ofthiswith just theeventDateTimefield 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 time the event occurred. 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:
eventDateTime- new value ofeventDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeventDateTimefield changed
-
getEventType
public Optional<String> getEventType()
“The type of the event. Supports: $select, $OrderBy. Read-only.”- Returns:
- property eventType
-
withEventType
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails withEventType(String eventType)
Returns an immutable copy ofthiswith just theeventTypefield 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 type of the event. Supports: $select, $OrderBy. Read-only.”
- Parameters:
eventType- new value ofeventTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeventTypefield changed
-
withUnmappedField
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails 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 UserExperienceAnalyticsAppHealthDevicePerformanceDetails patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserExperienceAnalyticsAppHealthDevicePerformanceDetails put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-