public class IosUpdateConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosUpdateConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected LocalTime |
activeHoursEnd |
protected LocalTime |
activeHoursStart |
protected List<CustomUpdateTimeWindow> |
customUpdateTimeWindows |
protected String |
customUpdateTimeWindowsNextLink |
protected String |
desiredOsVersion |
protected Integer |
enforcedSoftwareUpdateDelayInDays |
protected Boolean |
isEnabled |
protected List<DayOfWeek> |
scheduledInstallDays |
protected String |
scheduledInstallDaysNextLink |
protected IosSoftwareUpdateScheduleType |
updateScheduleType |
protected Integer |
utcTimeOffsetInMinutes |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
IosUpdateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static IosUpdateConfiguration.Builder |
builderIosUpdateConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<LocalTime> |
getActiveHoursEnd()
“Active Hours End (active hours mean the time window when updates install should
not happen)”
|
Optional<LocalTime> |
getActiveHoursStart()
“Active Hours Start (active hours mean the time window when updates install
should not happen)”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.CollectionPage<CustomUpdateTimeWindow> |
getCustomUpdateTimeWindows()
“If update schedule type is set to use time window scheduling, custom time
windows when updates will be scheduled.
|
com.github.davidmoten.odata.client.CollectionPage<CustomUpdateTimeWindow> |
getCustomUpdateTimeWindows(com.github.davidmoten.odata.client.HttpRequestOptions options)
“If update schedule type is set to use time window scheduling, custom time
windows when updates will be scheduled.
|
Optional<String> |
getDesiredOsVersion()
“If left unspecified, devices will update to the latest version of the OS.”
|
Optional<Integer> |
getEnforcedSoftwareUpdateDelayInDays()
“Days before software updates are visible to iOS devices ranging from 0 to 90
inclusive”
|
Optional<Boolean> |
getIsEnabled()
“Is setting enabled in UI”
|
com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> |
getScheduledInstallDays()
“Days in week for which active hours are configured.
|
com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> |
getScheduledInstallDays(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Days in week for which active hours are configured.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<IosSoftwareUpdateScheduleType> |
getUpdateScheduleType()
“Update schedule type”
|
Optional<Integer> |
getUtcTimeOffsetInMinutes()
“UTC Time Offset indicated in minutes”
|
String |
odataTypeName() |
IosUpdateConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
IosUpdateConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
IosUpdateConfiguration |
withActiveHoursEnd(LocalTime activeHoursEnd)
Returns an immutable copy of
this with just the activeHoursEnd
field changed. |
IosUpdateConfiguration |
withActiveHoursStart(LocalTime activeHoursStart)
Returns an immutable copy of
this with just the activeHoursStart
field changed. |
IosUpdateConfiguration |
withDesiredOsVersion(String desiredOsVersion)
Returns an immutable copy of
this with just the desiredOsVersion
field changed. |
IosUpdateConfiguration |
withEnforcedSoftwareUpdateDelayInDays(Integer enforcedSoftwareUpdateDelayInDays)
Returns an immutable copy of
this with just the enforcedSoftwareUpdateDelayInDays field changed. |
IosUpdateConfiguration |
withIsEnabled(Boolean isEnabled)
Returns an immutable copy of
this with just the isEnabled field
changed. |
IosUpdateConfiguration |
withUpdateScheduleType(IosSoftwareUpdateScheduleType updateScheduleType)
Returns an immutable copy of
this with just the updateScheduleType field changed. |
IosUpdateConfiguration |
withUtcTimeOffsetInMinutes(Integer utcTimeOffsetInMinutes)
Returns an immutable copy of
this with just the utcTimeOffsetInMinutes field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected Boolean isEnabled
protected LocalTime activeHoursStart
protected LocalTime activeHoursEnd
protected String desiredOsVersion
protected String scheduledInstallDaysNextLink
protected Integer utcTimeOffsetInMinutes
protected Integer enforcedSoftwareUpdateDelayInDays
protected IosSoftwareUpdateScheduleType updateScheduleType
protected List<CustomUpdateTimeWindow> customUpdateTimeWindows
protected String customUpdateTimeWindowsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static IosUpdateConfiguration.Builder builderIosUpdateConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<Boolean> getIsEnabled()
public IosUpdateConfiguration withIsEnabled(Boolean isEnabled)
this with just the isEnabled 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.
“Is setting enabled in UI”
isEnabled - new value of isEnabled field (as defined in service metadata)this with just the isEnabled field changedpublic Optional<LocalTime> getActiveHoursStart()
public IosUpdateConfiguration withActiveHoursStart(LocalTime activeHoursStart)
this with just the activeHoursStart
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.
“Active Hours Start (active hours mean the time window when updates install should not happen)”
activeHoursStart - new value of activeHoursStart field (as defined in service metadata)this with just the activeHoursStart field changedpublic Optional<LocalTime> getActiveHoursEnd()
public IosUpdateConfiguration withActiveHoursEnd(LocalTime activeHoursEnd)
this with just the activeHoursEnd
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.
“Active Hours End (active hours mean the time window when updates install should not happen)”
activeHoursEnd - new value of activeHoursEnd field (as defined in service metadata)this with just the activeHoursEnd field changedpublic Optional<String> getDesiredOsVersion()
public IosUpdateConfiguration withDesiredOsVersion(String desiredOsVersion)
this with just the desiredOsVersion
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.
“If left unspecified, devices will update to the latest version of the OS.”
desiredOsVersion - new value of desiredOsVersion field (as defined in service metadata)this with just the desiredOsVersion field changedpublic com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getScheduledInstallDays()
public com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getScheduledInstallDays(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Integer> getUtcTimeOffsetInMinutes()
public IosUpdateConfiguration withUtcTimeOffsetInMinutes(Integer utcTimeOffsetInMinutes)
this with just the utcTimeOffsetInMinutes 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.
“UTC Time Offset indicated in minutes”
utcTimeOffsetInMinutes - new value of utcTimeOffsetInMinutes field (as defined in service metadata)this with just the utcTimeOffsetInMinutes field changedpublic Optional<Integer> getEnforcedSoftwareUpdateDelayInDays()
public IosUpdateConfiguration withEnforcedSoftwareUpdateDelayInDays(Integer enforcedSoftwareUpdateDelayInDays)
this with just the enforcedSoftwareUpdateDelayInDays 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.
“Days before software updates are visible to iOS devices ranging from 0 to 90 inclusive”
enforcedSoftwareUpdateDelayInDays - new value of enforcedSoftwareUpdateDelayInDays field (as defined in service metadata)this with just the enforcedSoftwareUpdateDelayInDays field changedpublic Optional<IosSoftwareUpdateScheduleType> getUpdateScheduleType()
public IosUpdateConfiguration withUpdateScheduleType(IosSoftwareUpdateScheduleType updateScheduleType)
this with just the updateScheduleType 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.
“Update schedule type”
updateScheduleType - new value of updateScheduleType field (as defined in service metadata)this with just the updateScheduleType field changedpublic com.github.davidmoten.odata.client.CollectionPage<CustomUpdateTimeWindow> getCustomUpdateTimeWindows()
public com.github.davidmoten.odata.client.CollectionPage<CustomUpdateTimeWindow> getCustomUpdateTimeWindows(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic IosUpdateConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic IosUpdateConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.