Class AndroidDeviceOwnerSystemUpdateFreezePeriod

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

    public class AndroidDeviceOwnerSystemUpdateFreezePeriod
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents one item in the list of freeze periods for Android Device Owner system updates”
    • 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
      • endMonth

        protected Integer endMonth
      • startDay

        protected Integer startDay
      • startMonth

        protected Integer startMonth
    • Constructor Detail

      • AndroidDeviceOwnerSystemUpdateFreezePeriod

        protected AndroidDeviceOwnerSystemUpdateFreezePeriod()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getEndDay()
        “The day of the end date of the freeze period. Valid values 1 to 31”
        Returns:
        property endDay
      • withEndDay

        public AndroidDeviceOwnerSystemUpdateFreezePeriod withEndDay​(Integer endDay)
        Returns an immutable copy of this with just the endDay 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 day of the end date of the freeze period. Valid values 1 to 31”

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

        public Optional<Integer> getEndMonth()
        “The month of the end date of the freeze period. Valid values 1 to 12”
        Returns:
        property endMonth
      • withEndMonth

        public AndroidDeviceOwnerSystemUpdateFreezePeriod withEndMonth​(Integer endMonth)
        Returns an immutable copy of this with just the endMonth 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 month of the end date of the freeze period. Valid values 1 to 12”

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

        public Optional<Integer> getStartDay()
        “The day of the start date of the freeze period. Valid values 1 to 31”
        Returns:
        property startDay
      • withStartDay

        public AndroidDeviceOwnerSystemUpdateFreezePeriod withStartDay​(Integer startDay)
        Returns an immutable copy of this with just the startDay 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 day of the start date of the freeze period. Valid values 1 to 31”

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

        public Optional<Integer> getStartMonth()
        “The month of the start date of the freeze period. Valid values 1 to 12”
        Returns:
        property startMonth
      • withStartMonth

        public AndroidDeviceOwnerSystemUpdateFreezePeriod withStartMonth​(Integer startMonth)
        Returns an immutable copy of this with just the startMonth 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 month of the start date of the freeze period. Valid values 1 to 12”

        Parameters:
        startMonth - new value of startMonth field (as defined in service metadata)
        Returns:
        immutable copy of this with just the startMonth 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