Class WindowsKioskForceUpdateSchedule

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class WindowsKioskForceUpdateSchedule
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Windows 10 force update schedule for Kiosk devices.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • dayofMonth

        protected Integer dayofMonth
      • runImmediatelyIfAfterStartDateTime

        protected Boolean runImmediatelyIfAfterStartDateTime
    • Constructor Detail

      • WindowsKioskForceUpdateSchedule

        protected WindowsKioskForceUpdateSchedule()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDayofMonth

        public Optional<Integer> getDayofMonth()
        “Day of month. Valid values 1 to 31”
        Returns:
        property dayofMonth
      • withDayofMonth

        public WindowsKioskForceUpdateSchedule withDayofMonth​(Integer dayofMonth)
        Returns an immutable copy of this with just the dayofMonth 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.

        “Day of month. Valid values 1 to 31”

        Parameters:
        dayofMonth - new value of dayofMonth field (as defined in service metadata)
        Returns:
        immutable copy of this with just the dayofMonth field changed
      • getDayofWeek

        public Optional<DayOfWeek> getDayofWeek()
        “Day of week.”
        Returns:
        property dayofWeek
      • withDayofWeek

        public WindowsKioskForceUpdateSchedule withDayofWeek​(DayOfWeek dayofWeek)
        Returns an immutable copy of this with just the dayofWeek 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.

        “Day of week.”

        Parameters:
        dayofWeek - new value of dayofWeek field (as defined in service metadata)
        Returns:
        immutable copy of this with just the dayofWeek field changed
      • withRecurrence

        public WindowsKioskForceUpdateSchedule withRecurrence​(Windows10AppsUpdateRecurrence recurrence)
        Returns an immutable copy of this with just the recurrence 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.

        “Recurrence schedule.”

        Parameters:
        recurrence - new value of recurrence field (as defined in service metadata)
        Returns:
        immutable copy of this with just the recurrence field changed
      • getRunImmediatelyIfAfterStartDateTime

        public Optional<Boolean> getRunImmediatelyIfAfterStartDateTime()
        “If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”
        Returns:
        property runImmediatelyIfAfterStartDateTime
      • withRunImmediatelyIfAfterStartDateTime

        public WindowsKioskForceUpdateSchedule withRunImmediatelyIfAfterStartDateTime​(Boolean runImmediatelyIfAfterStartDateTime)
        Returns an immutable copy of this with just the runImmediatelyIfAfterStartDateTime 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 true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”

        Parameters:
        runImmediatelyIfAfterStartDateTime - new value of runImmediatelyIfAfterStartDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the runImmediatelyIfAfterStartDateTime field changed
      • getStartDateTime

        public Optional<OffsetDateTime> getStartDateTime()
        “The start time for the force restart.”
        Returns:
        property startDateTime
      • withStartDateTime

        public WindowsKioskForceUpdateSchedule withStartDateTime​(OffsetDateTime startDateTime)
        Returns an immutable copy of this with just the startDateTime 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 start time for the force restart.”

        Parameters:
        startDateTime - new value of startDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startDateTime field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static WindowsKioskForceUpdateSchedule.Builder builder()
        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