Class DeliveryOptimizationBandwidthHoursWithPercentage
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationBandwidth
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationBandwidthHoursWithPercentage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeliveryOptimizationBandwidthHoursWithPercentage extends DeliveryOptimizationBandwidth implements com.github.davidmoten.odata.client.ODataType
“Bandwidth limit as a percentage with business hours.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryOptimizationBandwidthHoursWithPercentage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeliveryOptimizationBandwidthBusinessHoursLimitbandwidthBackgroundPercentageHoursprotected DeliveryOptimizationBandwidthBusinessHoursLimitbandwidthForegroundPercentageHours-
Fields inherited from class odata.msgraph.client.beta.complex.DeliveryOptimizationBandwidth
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeliveryOptimizationBandwidthHoursWithPercentage()
-
Method Summary
-
-
-
Field Detail
-
bandwidthBackgroundPercentageHours
protected DeliveryOptimizationBandwidthBusinessHoursLimit bandwidthBackgroundPercentageHours
-
bandwidthForegroundPercentageHours
protected DeliveryOptimizationBandwidthBusinessHoursLimit bandwidthForegroundPercentageHours
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeliveryOptimizationBandwidth
-
getBandwidthBackgroundPercentageHours
public Optional<DeliveryOptimizationBandwidthBusinessHoursLimit> getBandwidthBackgroundPercentageHours()
“Background download percentage hours.”- Returns:
- property bandwidthBackgroundPercentageHours
-
withBandwidthBackgroundPercentageHours
public DeliveryOptimizationBandwidthHoursWithPercentage withBandwidthBackgroundPercentageHours(DeliveryOptimizationBandwidthBusinessHoursLimit bandwidthBackgroundPercentageHours)
Returns an immutable copy ofthiswith just thebandwidthBackgroundPercentageHoursfield 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.“Background download percentage hours.”
- Parameters:
bandwidthBackgroundPercentageHours- new value ofbandwidthBackgroundPercentageHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthBackgroundPercentageHoursfield changed
-
getBandwidthForegroundPercentageHours
public Optional<DeliveryOptimizationBandwidthBusinessHoursLimit> getBandwidthForegroundPercentageHours()
“Foreground download percentage hours.”- Returns:
- property bandwidthForegroundPercentageHours
-
withBandwidthForegroundPercentageHours
public DeliveryOptimizationBandwidthHoursWithPercentage withBandwidthForegroundPercentageHours(DeliveryOptimizationBandwidthBusinessHoursLimit bandwidthForegroundPercentageHours)
Returns an immutable copy ofthiswith just thebandwidthForegroundPercentageHoursfield 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.“Foreground download percentage hours.”
- Parameters:
bandwidthForegroundPercentageHours- new value ofbandwidthForegroundPercentageHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebandwidthForegroundPercentageHoursfield changed
-
withUnmappedField
public DeliveryOptimizationBandwidthHoursWithPercentage withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeliveryOptimizationBandwidth
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeliveryOptimizationBandwidth
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeliveryOptimizationBandwidth
-
builderDeliveryOptimizationBandwidthHoursWithPercentage
public static DeliveryOptimizationBandwidthHoursWithPercentage.Builder builderDeliveryOptimizationBandwidthHoursWithPercentage()
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
-
toString
public String toString()
- Overrides:
toStringin classDeliveryOptimizationBandwidth
-
-