public class DeviceConfigurationUserStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceConfigurationUserStatus.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 |
DeviceConfigurationUserStatus() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceConfigurationUserStatus.Builder |
builderDeviceConfigurationUserStatus()
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() |
DeviceConfigurationUserStatus |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceConfigurationUserStatus |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceConfigurationUserStatus |
withDevicesCount(Integer devicesCount)
Returns an immutable copy of
this with just the devicesCount
field changed. |
DeviceConfigurationUserStatus |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
DeviceConfigurationUserStatus |
withStatus(ComplianceStatus status)
Returns an immutable copy of
this with just the status field
changed. |
DeviceConfigurationUserStatus |
withUserDisplayName(String userDisplayName)
Returns an immutable copy of
this with just the userDisplayName
field changed. |
DeviceConfigurationUserStatus |
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
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceConfigurationUserStatus.Builder builderDeviceConfigurationUserStatus()
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 DeviceConfigurationUserStatus 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 DeviceConfigurationUserStatus 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 DeviceConfigurationUserStatus 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 DeviceConfigurationUserStatus 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 DeviceConfigurationUserStatus 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 DeviceConfigurationUserStatus patch()
this with changed fields reset.public DeviceConfigurationUserStatus put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.