public class IosUpdateDeviceStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosUpdateDeviceStatus.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
complianceGracePeriodExpirationDateTime |
protected String |
deviceDisplayName |
protected String |
deviceId |
protected String |
deviceModel |
protected IosUpdatesInstallStatus |
installStatus |
protected OffsetDateTime |
lastReportedDateTime |
protected String |
osVersion |
protected Integer |
platform |
protected ComplianceStatus |
status |
protected String |
userId |
protected String |
userName |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
IosUpdateDeviceStatus() |
| Modifier and Type | Method and Description |
|---|---|
static IosUpdateDeviceStatus.Builder |
builderIosUpdateDeviceStatus()
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> |
getDeviceId()
“The device id that is being reported.”
|
Optional<String> |
getDeviceModel()
“The device model that is being reported”
|
Optional<IosUpdatesInstallStatus> |
getInstallStatus()
“The installation status of the policy report.”
|
Optional<OffsetDateTime> |
getLastReportedDateTime()
“Last modified date time of the policy report.”
|
Optional<String> |
getOsVersion()
“The device version that is being reported.”
|
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> |
getUserId()
“The User id that is being reported.”
|
Optional<String> |
getUserName()
“The User Name that is being reported”
|
Optional<String> |
getUserPrincipalName()
“UserPrincipalName.”
|
String |
odataTypeName() |
IosUpdateDeviceStatus |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
IosUpdateDeviceStatus |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
IosUpdateDeviceStatus |
withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Returns an immutable copy of
this with just the complianceGracePeriodExpirationDateTime field changed. |
IosUpdateDeviceStatus |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
IosUpdateDeviceStatus |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
IosUpdateDeviceStatus |
withDeviceModel(String deviceModel)
Returns an immutable copy of
this with just the deviceModel
field changed. |
IosUpdateDeviceStatus |
withInstallStatus(IosUpdatesInstallStatus installStatus)
Returns an immutable copy of
this with just the installStatus
field changed. |
IosUpdateDeviceStatus |
withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy of
this with just the lastReportedDateTime field changed. |
IosUpdateDeviceStatus |
withOsVersion(String osVersion)
Returns an immutable copy of
this with just the osVersion field
changed. |
IosUpdateDeviceStatus |
withPlatform(Integer platform)
Returns an immutable copy of
this with just the platform field
changed. |
IosUpdateDeviceStatus |
withStatus(ComplianceStatus status)
Returns an immutable copy of
this with just the status field
changed. |
IosUpdateDeviceStatus |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
IosUpdateDeviceStatus |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
IosUpdateDeviceStatus |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected IosUpdatesInstallStatus installStatus
protected String osVersion
protected String deviceId
protected String userId
protected String deviceDisplayName
protected String userName
protected String deviceModel
protected Integer platform
protected OffsetDateTime complianceGracePeriodExpirationDateTime
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 IosUpdateDeviceStatus.Builder builderIosUpdateDeviceStatus()
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<IosUpdatesInstallStatus> getInstallStatus()
public IosUpdateDeviceStatus withInstallStatus(IosUpdatesInstallStatus installStatus)
this with just the installStatus
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 installation status of the policy report.”
installStatus - new value of installStatus field (as defined in service metadata)this with just the installStatus field changedpublic Optional<String> getOsVersion()
public IosUpdateDeviceStatus withOsVersion(String osVersion)
this with just the osVersion 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 version that is being reported.”
osVersion - new value of osVersion field (as defined in service metadata)this with just the osVersion field changedpublic Optional<String> getDeviceId()
public IosUpdateDeviceStatus withDeviceId(String deviceId)
this with just the deviceId 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 id that is being reported.”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic Optional<String> getUserId()
public IosUpdateDeviceStatus withUserId(String userId)
this with just the userId 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 id that is being reported.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getDeviceDisplayName()
public IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus 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 IosUpdateDeviceStatus patch()
this with changed fields reset.public IosUpdateDeviceStatus put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.