Package odata.msgraph.client.entity
Class IosUpdateConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.IosUpdateConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosUpdateConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“IOS Update Configuration, allows you to configure time window within week to install iOS updates”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosUpdateConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LocalTimeactiveHoursEndprotected LocalTimeactiveHoursStartprotected List<DayOfWeek>scheduledInstallDaysprotected StringscheduledInstallDaysNextLinkprotected IntegerutcTimeOffsetInMinutes-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
assignments, createdDateTime, description, deviceSettingStateSummaries, deviceStatuses, deviceStatusOverview, displayName, lastModifiedDateTime, userStatuses, userStatusOverview, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosUpdateConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosUpdateConfiguration.BuilderbuilderIosUpdateConfiguration()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUtcTimeOffsetInMinutes()“UTC Time Offset indicated in minutes”StringodataTypeName()IosUpdateConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosUpdateConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosUpdateConfigurationwithActiveHoursEnd(LocalTime activeHoursEnd)Returns an immutable copy ofthiswith just theactiveHoursEndfield changed.IosUpdateConfigurationwithActiveHoursStart(LocalTime activeHoursStart)Returns an immutable copy ofthiswith just theactiveHoursStartfield changed.IosUpdateConfigurationwithScheduledInstallDays(List<DayOfWeek> scheduledInstallDays)Returns an immutable copy ofthiswith just thescheduledInstallDaysfield changed.IosUpdateConfigurationwithUnmappedField(String name, Object value)IosUpdateConfigurationwithUtcTimeOffsetInMinutes(Integer utcTimeOffsetInMinutes)Returns an immutable copy ofthiswith just theutcTimeOffsetInMinutesfield changed.-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getOmaSettingPlainTextValue, getUserStatuses, getUserStatusOverview, getVersion, withAssignments, withCreatedDateTime, withDescription, withDeviceSettingStateSummaries, withDeviceStatuses, withDeviceStatusOverview, withDisplayName, withLastModifiedDateTime, withUserStatuses, withUserStatusOverview, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderIosUpdateConfiguration
public static IosUpdateConfiguration.Builder builderIosUpdateConfiguration()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getActiveHoursEnd
public Optional<LocalTime> getActiveHoursEnd()
“Active Hours End (active hours mean the time window when updates install should not happen)”- Returns:
- property activeHoursEnd
-
withActiveHoursEnd
public IosUpdateConfiguration withActiveHoursEnd(LocalTime activeHoursEnd)
Returns an immutable copy ofthiswith just theactiveHoursEndfield 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.“Active Hours End (active hours mean the time window when updates install should not happen)”
- Parameters:
activeHoursEnd- new value ofactiveHoursEndfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveHoursEndfield changed
-
getActiveHoursStart
public Optional<LocalTime> getActiveHoursStart()
“Active Hours Start (active hours mean the time window when updates install should not happen)”- Returns:
- property activeHoursStart
-
withActiveHoursStart
public IosUpdateConfiguration withActiveHoursStart(LocalTime activeHoursStart)
Returns an immutable copy ofthiswith just theactiveHoursStartfield 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.“Active Hours Start (active hours mean the time window when updates install should not happen)”
- Parameters:
activeHoursStart- new value ofactiveHoursStartfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveHoursStartfield changed
-
getScheduledInstallDays
public com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getScheduledInstallDays()
“Days in week for which active hours are configured. This collection can contain a maximum of 7 elements.”- Returns:
- property scheduledInstallDays
-
withScheduledInstallDays
public IosUpdateConfiguration withScheduledInstallDays(List<DayOfWeek> scheduledInstallDays)
Returns an immutable copy ofthiswith just thescheduledInstallDaysfield 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.“Days in week for which active hours are configured. This collection can contain a maximum of 7 elements.”
- Parameters:
scheduledInstallDays- new value ofscheduledInstallDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduledInstallDaysfield changed
-
getScheduledInstallDays
public com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getScheduledInstallDays(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Days in week for which active hours are configured. This collection can contain a maximum of 7 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property scheduledInstallDays
-
getUtcTimeOffsetInMinutes
public Optional<Integer> getUtcTimeOffsetInMinutes()
“UTC Time Offset indicated in minutes”- Returns:
- property utcTimeOffsetInMinutes
-
withUtcTimeOffsetInMinutes
public IosUpdateConfiguration withUtcTimeOffsetInMinutes(Integer utcTimeOffsetInMinutes)
Returns an immutable copy ofthiswith just theutcTimeOffsetInMinutesfield 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.“UTC Time Offset indicated in minutes”
- Parameters:
utcTimeOffsetInMinutes- new value ofutcTimeOffsetInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theutcTimeOffsetInMinutesfield changed
-
withUnmappedField
public IosUpdateConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public IosUpdateConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public IosUpdateConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-