Class CustomUpdateTimeWindow

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

    public class CustomUpdateTimeWindow
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Custom update time window”
    • 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
    • Constructor Detail

      • CustomUpdateTimeWindow

        protected CustomUpdateTimeWindow()
    • Method Detail

      • odataTypeName

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

        public Optional<DayOfWeek> getEndDay()
        “End day of the time window”
        Returns:
        property endDay
      • withEndDay

        public CustomUpdateTimeWindow withEndDay​(DayOfWeek 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.

        “End day of the time window”

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

        public Optional<LocalTime> getEndTime()
        “End time of the time window”
        Returns:
        property endTime
      • withEndTime

        public CustomUpdateTimeWindow withEndTime​(LocalTime endTime)
        Returns an immutable copy of this with just the endTime 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.

        “End time of the time window”

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

        public Optional<DayOfWeek> getStartDay()
        “Start day of the time window”
        Returns:
        property startDay
      • withStartDay

        public CustomUpdateTimeWindow withStartDay​(DayOfWeek 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.

        “Start day of the time window”

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

        public Optional<LocalTime> getStartTime()
        “Start time of the time window”
        Returns:
        property startTime
      • withStartTime

        public CustomUpdateTimeWindow withStartTime​(LocalTime startTime)
        Returns an immutable copy of this with just the startTime 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.

        “Start time of the time window”

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