public class WindowsAutopilotSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsAutopilotSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
lastManualSyncTriggerDateTime |
protected OffsetDateTime |
lastSyncDateTime |
protected WindowsAutopilotSyncStatus |
syncStatus |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsAutopilotSettings() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsAutopilotSettings.Builder |
builderWindowsAutopilotSettings()
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> |
getLastManualSyncTriggerDateTime()
“Last data sync date time with DDS service.”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“Last data sync date time with DDS service.”
|
Optional<WindowsAutopilotSyncStatus> |
getSyncStatus()
“Indicates the status of sync with Device data sync (DDS) service.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsAutopilotSettings |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsAutopilotSettings |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
sync() |
String |
toString() |
WindowsAutopilotSettings |
withLastManualSyncTriggerDateTime(OffsetDateTime lastManualSyncTriggerDateTime)
Returns an immutable copy of
this with just the lastManualSyncTriggerDateTime field changed. |
WindowsAutopilotSettings |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
WindowsAutopilotSettings |
withSyncStatus(WindowsAutopilotSyncStatus syncStatus)
Returns an immutable copy of
this with just the syncStatus field
changed. |
protected OffsetDateTime lastSyncDateTime
protected OffsetDateTime lastManualSyncTriggerDateTime
protected WindowsAutopilotSyncStatus syncStatus
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsAutopilotSettings.Builder builderWindowsAutopilotSettings()
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<OffsetDateTime> getLastSyncDateTime()
public WindowsAutopilotSettings 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 data sync date time with DDS service.”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic Optional<OffsetDateTime> getLastManualSyncTriggerDateTime()
public WindowsAutopilotSettings withLastManualSyncTriggerDateTime(OffsetDateTime lastManualSyncTriggerDateTime)
this with just the lastManualSyncTriggerDateTime 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 data sync date time with DDS service.”
lastManualSyncTriggerDateTime - new value of lastManualSyncTriggerDateTime field (as defined in service metadata)this with just the lastManualSyncTriggerDateTime field changedpublic Optional<WindowsAutopilotSyncStatus> getSyncStatus()
public WindowsAutopilotSettings withSyncStatus(WindowsAutopilotSyncStatus syncStatus)
this with just the syncStatus 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.
“Indicates the status of sync with Device data sync (DDS) service.”
syncStatus - new value of syncStatus field (as defined in service metadata)this with just the syncStatus field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsAutopilotSettings patch()
this with changed fields reset.public WindowsAutopilotSettings put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn sync()
Copyright © 2018–2020. All rights reserved.