public class ManagedDeviceMobileAppConfigurationDeviceStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedDeviceMobileAppConfigurationDeviceStatus.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
complianceGracePeriodExpirationDateTime |
protected String |
deviceDisplayName |
protected String |
deviceModel |
protected OffsetDateTime |
lastReportedDateTime |
protected Integer |
platform |
protected ComplianceStatus |
status |
protected String |
userName |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedDeviceMobileAppConfigurationDeviceStatus() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedDeviceMobileAppConfigurationDeviceStatus.Builder |
builderManagedDeviceMobileAppConfigurationDeviceStatus()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getComplianceGracePeriodExpirationDateTime()
“The DateTime when device compliance grace period expires”
|
Optional<String> |
getDeviceDisplayName()
“Device name of the DevicePolicyStatus.”
|
Optional<String> |
getDeviceModel()
“The device model that is being reported”
|
Optional<OffsetDateTime> |
getLastReportedDateTime()
“Last modified date time of the policy report.”
|
Optional<Integer> |
getPlatform()
“Platform of the device that is being reported”
|
Optional<ComplianceStatus> |
getStatus()
“Compliance status of the policy report.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserName()
“The User Name that is being reported”
|
Optional<String> |
getUserPrincipalName()
“UserPrincipalName.”
|
String |
odataTypeName() |
ManagedDeviceMobileAppConfigurationDeviceStatus |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedDeviceMobileAppConfigurationDeviceStatus |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Returns an immutable copy of
this with just the complianceGracePeriodExpirationDateTime field changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withDeviceModel(String deviceModel)
Returns an immutable copy of
this with just the deviceModel
field changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withPlatform(Integer platform)
Returns an immutable copy of
this with just the platform field
changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withStatus(ComplianceStatus status)
Returns an immutable copy of
this with just the status field
changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
ManagedDeviceMobileAppConfigurationDeviceStatus |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected String deviceDisplayName
protected String userName
protected String deviceModel
protected Integer platform
protected OffsetDateTime complianceGracePeriodExpirationDateTime
protected ComplianceStatus status
protected OffsetDateTime lastReportedDateTime
protected String userPrincipalName
protected ManagedDeviceMobileAppConfigurationDeviceStatus()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ManagedDeviceMobileAppConfigurationDeviceStatus.Builder builderManagedDeviceMobileAppConfigurationDeviceStatus()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDeviceDisplayName()
public ManagedDeviceMobileAppConfigurationDeviceStatus withDeviceDisplayName(String deviceDisplayName)
this with just the deviceDisplayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Device name of the DevicePolicyStatus.”
deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)this with just the deviceDisplayName field changedpublic Optional<String> getUserName()
public ManagedDeviceMobileAppConfigurationDeviceStatus withUserName(String userName)
this with just the userName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The User Name that is being reported”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<String> getDeviceModel()
public ManagedDeviceMobileAppConfigurationDeviceStatus withDeviceModel(String deviceModel)
this with just the deviceModel
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The device model that is being reported”
deviceModel - new value of deviceModel field (as defined in service metadata)this with just the deviceModel field changedpublic Optional<Integer> getPlatform()
public ManagedDeviceMobileAppConfigurationDeviceStatus withPlatform(Integer platform)
this with just the platform field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Platform of the device that is being reported”
platform - new value of platform field (as defined in service metadata)this with just the platform field changedpublic Optional<OffsetDateTime> getComplianceGracePeriodExpirationDateTime()
public ManagedDeviceMobileAppConfigurationDeviceStatus withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
this with just the complianceGracePeriodExpirationDateTime field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“The DateTime when device compliance grace period expires”
complianceGracePeriodExpirationDateTime - new value of complianceGracePeriodExpirationDateTime field (as defined in service metadata)this with just the complianceGracePeriodExpirationDateTime field changedpublic Optional<ComplianceStatus> getStatus()
public ManagedDeviceMobileAppConfigurationDeviceStatus withStatus(ComplianceStatus status)
this with just the status field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Compliance status of the policy report.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<OffsetDateTime> getLastReportedDateTime()
public ManagedDeviceMobileAppConfigurationDeviceStatus withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
this with just the lastReportedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Last modified date time of the policy report.”
lastReportedDateTime - new value of lastReportedDateTime field (as defined in service metadata)this with just the lastReportedDateTime field changedpublic Optional<String> getUserPrincipalName()
public ManagedDeviceMobileAppConfigurationDeviceStatus withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“UserPrincipalName.”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedDeviceMobileAppConfigurationDeviceStatus patch()
this with changed fields reset.public ManagedDeviceMobileAppConfigurationDeviceStatus put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.