public class WindowsUpdateState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsUpdateState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceDisplayName |
protected String |
deviceId |
protected String |
featureUpdateVersion |
protected OffsetDateTime |
lastScanDateTime |
protected OffsetDateTime |
lastSyncDateTime |
protected String |
qualityUpdateVersion |
protected WindowsUpdateStatus |
status |
protected String |
userId |
protected String |
userPrincipalName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsUpdateState() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsUpdateState.Builder |
builderWindowsUpdateState()
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<String> |
getDeviceDisplayName()
“Device display name.”
|
Optional<String> |
getDeviceId()
“The id of the device.”
|
Optional<String> |
getFeatureUpdateVersion()
“The current feature update version of the device.”
|
Optional<OffsetDateTime> |
getLastScanDateTime()
“The date time that the Windows Update Agent did a successful scan.”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“Last date time that the device sync with with Microsoft Intune.”
|
Optional<String> |
getQualityUpdateVersion()
“The Quality Update Version of the device.”
|
Optional<WindowsUpdateStatus> |
getStatus()
“Windows udpate status.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“The id of the user.”
|
Optional<String> |
getUserPrincipalName()
“User principal name.”
|
String |
odataTypeName() |
WindowsUpdateState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsUpdateState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsUpdateState |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
WindowsUpdateState |
withDeviceId(String deviceId)
Returns an immutable copy of
this with just the deviceId field
changed. |
WindowsUpdateState |
withFeatureUpdateVersion(String featureUpdateVersion)
Returns an immutable copy of
this with just the featureUpdateVersion field changed. |
WindowsUpdateState |
withLastScanDateTime(OffsetDateTime lastScanDateTime)
Returns an immutable copy of
this with just the lastScanDateTime
field changed. |
WindowsUpdateState |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
WindowsUpdateState |
withQualityUpdateVersion(String qualityUpdateVersion)
Returns an immutable copy of
this with just the qualityUpdateVersion field changed. |
WindowsUpdateState |
withStatus(WindowsUpdateStatus status)
Returns an immutable copy of
this with just the status field
changed. |
WindowsUpdateState |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
WindowsUpdateState |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected String deviceId
protected String userId
protected String deviceDisplayName
protected String userPrincipalName
protected WindowsUpdateStatus status
protected String qualityUpdateVersion
protected String featureUpdateVersion
protected OffsetDateTime lastScanDateTime
protected OffsetDateTime lastSyncDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsUpdateState.Builder builderWindowsUpdateState()
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> getDeviceId()
public WindowsUpdateState 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 id of the device.”
deviceId - new value of deviceId field (as defined in service metadata)this with just the deviceId field changedpublic WindowsUpdateState 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 id of the user.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic Optional<String> getDeviceDisplayName()
public WindowsUpdateState 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 display name.”
deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)this with just the deviceDisplayName field changedpublic Optional<String> getUserPrincipalName()
public WindowsUpdateState 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.
“User principal name.”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<WindowsUpdateStatus> getStatus()
public WindowsUpdateState withStatus(WindowsUpdateStatus 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.
“Windows udpate status.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getQualityUpdateVersion()
public WindowsUpdateState withQualityUpdateVersion(String qualityUpdateVersion)
this with just the qualityUpdateVersion 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 Quality Update Version of the device.”
qualityUpdateVersion - new value of qualityUpdateVersion field (as defined in service metadata)this with just the qualityUpdateVersion field changedpublic Optional<String> getFeatureUpdateVersion()
public WindowsUpdateState withFeatureUpdateVersion(String featureUpdateVersion)
this with just the featureUpdateVersion 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 current feature update version of the device.”
featureUpdateVersion - new value of featureUpdateVersion field (as defined in service metadata)this with just the featureUpdateVersion field changedpublic Optional<OffsetDateTime> getLastScanDateTime()
public WindowsUpdateState withLastScanDateTime(OffsetDateTime lastScanDateTime)
this with just the lastScanDateTime
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 date time that the Windows Update Agent did a successful scan.”
lastScanDateTime - new value of lastScanDateTime field (as defined in service metadata)this with just the lastScanDateTime field changedpublic Optional<OffsetDateTime> getLastSyncDateTime()
public WindowsUpdateState withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
this with just the lastSyncDateTime
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 date time that the device sync with with Microsoft Intune.”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsUpdateState patch()
this with changed fields reset.public WindowsUpdateState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.