public class ManagedDeviceMobileAppConfigurationUserStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedDeviceMobileAppConfigurationUserStatus.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
devicesCount |
protected OffsetDateTime |
lastReportedDateTime |
protected ComplianceStatus |
status |
protected String |
userDisplayName |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedDeviceMobileAppConfigurationUserStatus() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedDeviceMobileAppConfigurationUserStatus.Builder |
builderManagedDeviceMobileAppConfigurationUserStatus()
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<Integer> |
getDevicesCount()
“Devices count for that user.”
|
Optional<OffsetDateTime> |
getLastReportedDateTime()
“Last modified date time of the policy report.”
|
Optional<ComplianceStatus> |
getStatus()
“Compliance status of the policy report.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserDisplayName()
“User name of the DevicePolicyStatus.”
|
Optional<String> |
getUserPrincipalName()
“UserPrincipalName.”
|
String |
odataTypeName() |
ManagedDeviceMobileAppConfigurationUserStatus |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedDeviceMobileAppConfigurationUserStatus |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedDeviceMobileAppConfigurationUserStatus |
withDevicesCount(Integer devicesCount)
Returns an immutable copy of
this with just the devicesCount
field changed. |
ManagedDeviceMobileAppConfigurationUserStatus |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
ManagedDeviceMobileAppConfigurationUserStatus |
withStatus(ComplianceStatus status)
Returns an immutable copy of
this with just the status field
changed. |
ManagedDeviceMobileAppConfigurationUserStatus |
withUserDisplayName(String userDisplayName)
Returns an immutable copy of
this with just the userDisplayName
field changed. |
ManagedDeviceMobileAppConfigurationUserStatus |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected String userDisplayName
protected Integer devicesCount
protected ComplianceStatus status
protected OffsetDateTime lastReportedDateTime
protected String userPrincipalName
protected ManagedDeviceMobileAppConfigurationUserStatus()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ManagedDeviceMobileAppConfigurationUserStatus.Builder builderManagedDeviceMobileAppConfigurationUserStatus()
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> getUserDisplayName()
public ManagedDeviceMobileAppConfigurationUserStatus withUserDisplayName(String userDisplayName)
this with just the userDisplayName
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.
“User name of the DevicePolicyStatus.”
userDisplayName - new value of userDisplayName field (as defined in service metadata)this with just the userDisplayName field changedpublic Optional<Integer> getDevicesCount()
public ManagedDeviceMobileAppConfigurationUserStatus withDevicesCount(Integer devicesCount)
this with just the devicesCount
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.
“Devices count for that user.”
devicesCount - new value of devicesCount field (as defined in service metadata)this with just the devicesCount field changedpublic Optional<ComplianceStatus> getStatus()
public ManagedDeviceMobileAppConfigurationUserStatus 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 ManagedDeviceMobileAppConfigurationUserStatus 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 ManagedDeviceMobileAppConfigurationUserStatus 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 ManagedDeviceMobileAppConfigurationUserStatus patch()
this with changed fields reset.public ManagedDeviceMobileAppConfigurationUserStatus put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.