Class DeliveryOptimizationBandwidthBusinessHoursLimit
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryOptimizationBandwidthBusinessHoursLimit.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerbandwidthBeginBusinessHoursprotected IntegerbandwidthEndBusinessHoursprotected IntegerbandwidthPercentageDuringBusinessHoursprotected IntegerbandwidthPercentageOutsideBusinessHoursprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeliveryOptimizationBandwidthBusinessHoursLimit()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryOptimizationBandwidthBusinessHoursLimit.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getBandwidthBeginBusinessHours()“Specifies the beginning of business hours using a 24-hour clock (0-23).Optional<Integer>getBandwidthEndBusinessHours()“Specifies the end of business hours using a 24-hour clock (0-23).Optional<Integer>getBandwidthPercentageDuringBusinessHours()“Specifies the percentage of bandwidth to limit during business hours (0-100).Optional<Integer>getBandwidthPercentageOutsideBusinessHours()“Specifies the percentage of bandwidth to limit outsidse business hours (0-100).com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeliveryOptimizationBandwidthBusinessHoursLimitwithBandwidthBeginBusinessHours(Integer bandwidthBeginBusinessHours)Returns an immutable copy ofthiswith just thebandwidthBeginBusinessHoursfield changed.DeliveryOptimizationBandwidthBusinessHoursLimitwithBandwidthEndBusinessHours(Integer bandwidthEndBusinessHours)Returns an immutable copy ofthiswith just thebandwidthEndBusinessHoursfield changed.DeliveryOptimizationBandwidthBusinessHoursLimitwithBandwidthPercentageDuringBusinessHours(Integer bandwidthPercentageDuringBusinessHours)Returns an immutable copy ofthiswith just thebandwidthPercentageDuringBusinessHoursfield changed.DeliveryOptimizationBandwidthBusinessHoursLimitwithBandwidthPercentageOutsideBusinessHours(Integer bandwidthPercentageOutsideBusinessHours)Returns an immutable copy ofthiswith just thebandwidthPercentageOutsideBusinessHoursfield changed.DeliveryOptimizationBandwidthBusinessHoursLimitwithUnmappedField(String name, String value)
-
-
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just thebandwidthBeginBusinessHoursfield 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.“Specifies the beginning of business hours using a 24-hour clock (0-23). Valid values 0 to 23”
- Parameters:
bandwidthBeginBusinessHours- new value ofbandwidthBeginBusinessHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthBeginBusinessHoursfield 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 ofthiswith just thebandwidthEndBusinessHoursfield 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.“Specifies the end of business hours using a 24-hour clock (0-23). Valid values 0 to 23”
- Parameters:
bandwidthEndBusinessHours- new value ofbandwidthEndBusinessHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthEndBusinessHoursfield 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 ofthiswith just thebandwidthPercentageDuringBusinessHoursfield 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.“Specifies the percentage of bandwidth to limit during business hours (0-100). Valid values 0 to 100”
- Parameters:
bandwidthPercentageDuringBusinessHours- new value ofbandwidthPercentageDuringBusinessHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthPercentageDuringBusinessHoursfield 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 ofthiswith just thebandwidthPercentageOutsideBusinessHoursfield 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.“Specifies the percentage of bandwidth to limit outsidse business hours (0-100). Valid values 0 to 100”
- Parameters:
bandwidthPercentageOutsideBusinessHours- new value ofbandwidthPercentageOutsideBusinessHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthPercentageOutsideBusinessHoursfield changed
-
withUnmappedField
public DeliveryOptimizationBandwidthBusinessHoursLimit withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeliveryOptimizationBandwidthBusinessHoursLimit.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
-
-