Class DeliveryOptimizationBandwidthBusinessHoursLimit

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

    public class DeliveryOptimizationBandwidthBusinessHoursLimit
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Bandwidth business hours and percentages type”
    • 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
      • bandwidthBeginBusinessHours

        protected Integer bandwidthBeginBusinessHours
      • bandwidthEndBusinessHours

        protected Integer bandwidthEndBusinessHours
      • bandwidthPercentageDuringBusinessHours

        protected Integer bandwidthPercentageDuringBusinessHours
      • bandwidthPercentageOutsideBusinessHours

        protected Integer bandwidthPercentageOutsideBusinessHours
    • Constructor Detail

      • DeliveryOptimizationBandwidthBusinessHoursLimit

        protected DeliveryOptimizationBandwidthBusinessHoursLimit()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getBandwidthBeginBusinessHours()
        “Specifies the beginning of business hours using a 24-hour clock (0-23). Valid values 0 to 23”
        Returns:
        property bandwidthBeginBusinessHours
      • withBandwidthBeginBusinessHours

        public DeliveryOptimizationBandwidthBusinessHoursLimit withBandwidthBeginBusinessHours​(Integer bandwidthBeginBusinessHours)
        Returns an immutable copy of this with just the bandwidthBeginBusinessHours 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.

        “Specifies the beginning of business hours using a 24-hour clock (0-23). Valid values 0 to 23”

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

        public Optional<Integer> getBandwidthEndBusinessHours()
        “Specifies the end of business hours using a 24-hour clock (0-23). Valid values 0 to 23”
        Returns:
        property bandwidthEndBusinessHours
      • withBandwidthEndBusinessHours

        public DeliveryOptimizationBandwidthBusinessHoursLimit withBandwidthEndBusinessHours​(Integer bandwidthEndBusinessHours)
        Returns an immutable copy of this with just the bandwidthEndBusinessHours 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.

        “Specifies the end of business hours using a 24-hour clock (0-23). Valid values 0 to 23”

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

        public Optional<Integer> getBandwidthPercentageDuringBusinessHours()
        “Specifies the percentage of bandwidth to limit during business hours (0-100). Valid values 0 to 100”
        Returns:
        property bandwidthPercentageDuringBusinessHours
      • withBandwidthPercentageDuringBusinessHours

        public DeliveryOptimizationBandwidthBusinessHoursLimit withBandwidthPercentageDuringBusinessHours​(Integer bandwidthPercentageDuringBusinessHours)
        Returns an immutable copy of this with just the bandwidthPercentageDuringBusinessHours 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.

        “Specifies the percentage of bandwidth to limit during business hours (0-100). Valid values 0 to 100”

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

        public Optional<Integer> getBandwidthPercentageOutsideBusinessHours()
        “Specifies the percentage of bandwidth to limit outsidse business hours (0-100). Valid values 0 to 100”
        Returns:
        property bandwidthPercentageOutsideBusinessHours
      • withBandwidthPercentageOutsideBusinessHours

        public DeliveryOptimizationBandwidthBusinessHoursLimit withBandwidthPercentageOutsideBusinessHours​(Integer bandwidthPercentageOutsideBusinessHours)
        Returns an immutable copy of this with just the bandwidthPercentageOutsideBusinessHours 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.

        “Specifies the percentage of bandwidth to limit outsidse business hours (0-100). Valid values 0 to 100”

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