Package odata.msgraph.client.beta.entity
Class WindowsAutopilotSettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsAutopilotSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsAutopilotSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The windowsAutopilotSettings resource represents a Windows Autopilot Account to sync data with Windows device data sync service.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsAutopilotSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimelastManualSyncTriggerDateTimeprotected OffsetDateTimelastSyncDateTimeprotected WindowsAutopilotSyncStatussyncStatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsAutopilotSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsAutopilotSettings.BuilderbuilderWindowsAutopilotSettings()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsAutopilotSettingspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsAutopilotSettingsput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsync()StringtoString()WindowsAutopilotSettingswithLastManualSyncTriggerDateTime(OffsetDateTime lastManualSyncTriggerDateTime)Returns an immutable copy ofthiswith just thelastManualSyncTriggerDateTimefield changed.WindowsAutopilotSettingswithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed.WindowsAutopilotSettingswithSyncStatus(WindowsAutopilotSyncStatus syncStatus)Returns an immutable copy ofthiswith just thesyncStatusfield changed.WindowsAutopilotSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
lastManualSyncTriggerDateTime
protected OffsetDateTime lastManualSyncTriggerDateTime
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
syncStatus
protected WindowsAutopilotSyncStatus syncStatus
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsAutopilotSettings
public static WindowsAutopilotSettings.Builder builderWindowsAutopilotSettings()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getLastManualSyncTriggerDateTime
public Optional<OffsetDateTime> getLastManualSyncTriggerDateTime()
“Last data sync date time with DDS service.”- Returns:
- property lastManualSyncTriggerDateTime
-
withLastManualSyncTriggerDateTime
public WindowsAutopilotSettings withLastManualSyncTriggerDateTime(OffsetDateTime lastManualSyncTriggerDateTime)
Returns an immutable copy ofthiswith just thelastManualSyncTriggerDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Last data sync date time with DDS service.”
- Parameters:
lastManualSyncTriggerDateTime- new value oflastManualSyncTriggerDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastManualSyncTriggerDateTimefield changed
-
getLastSyncDateTime
public Optional<OffsetDateTime> getLastSyncDateTime()
“Last data sync date time with DDS service.”- Returns:
- property lastSyncDateTime
-
withLastSyncDateTime
public WindowsAutopilotSettings withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Last data sync date time with DDS service.”
- Parameters:
lastSyncDateTime- new value oflastSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncDateTimefield changed
-
getSyncStatus
public Optional<WindowsAutopilotSyncStatus> getSyncStatus()
“Indicates the status of sync with Device data sync (DDS) service.”- Returns:
- property syncStatus
-
withSyncStatus
public WindowsAutopilotSettings withSyncStatus(WindowsAutopilotSyncStatus syncStatus)
Returns an immutable copy ofthiswith just thesyncStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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.”
- Parameters:
syncStatus- new value ofsyncStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesyncStatusfield changed
-
withUnmappedField
public WindowsAutopilotSettings withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsAutopilotSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsAutopilotSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
sync
public com.github.davidmoten.odata.client.ActionRequestNoReturn sync()
-
-