public class DeliveryOptimizationBandwidthPercentage extends DeliveryOptimizationBandwidth implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryOptimizationBandwidthPercentage.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
maximumBackgroundBandwidthPercentage |
protected Integer |
maximumForegroundBandwidthPercentage |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeliveryOptimizationBandwidthPercentage() |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryOptimizationBandwidthPercentage.Builder |
builderDeliveryOptimizationBandwidthPercentage()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getMaximumBackgroundBandwidthPercentage()
“The default value 0 (zero) means that Delivery Optimization dynamically adjusts
to use the available bandwidth for background downloads.
|
Optional<Integer> |
getMaximumForegroundBandwidthPercentage()
“The default value 0 (zero) means that Delivery Optimization dynamically adjusts
to use the available bandwidth for foreground downloads.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeliveryOptimizationBandwidthPercentage |
withMaximumBackgroundBandwidthPercentage(Integer maximumBackgroundBandwidthPercentage)
Returns an immutable copy of
this with just the maximumBackgroundBandwidthPercentage field changed. |
DeliveryOptimizationBandwidthPercentage |
withMaximumForegroundBandwidthPercentage(Integer maximumForegroundBandwidthPercentage)
Returns an immutable copy of
this with just the maximumForegroundBandwidthPercentage field changed. |
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer maximumBackgroundBandwidthPercentage
protected Integer maximumForegroundBandwidthPercentage
protected DeliveryOptimizationBandwidthPercentage()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeliveryOptimizationBandwidthpublic Optional<Integer> getMaximumBackgroundBandwidthPercentage()
public DeliveryOptimizationBandwidthPercentage withMaximumBackgroundBandwidthPercentage(Integer maximumBackgroundBandwidthPercentage)
this with just the maximumBackgroundBandwidthPercentage 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 default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for background downloads. Valid values 0 to 100”
maximumBackgroundBandwidthPercentage - new value of maximumBackgroundBandwidthPercentage field (as defined in service metadata)this with just the maximumBackgroundBandwidthPercentage field changedpublic Optional<Integer> getMaximumForegroundBandwidthPercentage()
public DeliveryOptimizationBandwidthPercentage withMaximumForegroundBandwidthPercentage(Integer maximumForegroundBandwidthPercentage)
this with just the maximumForegroundBandwidthPercentage 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 default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. Valid values 0 to 100”
maximumForegroundBandwidthPercentage - new value of maximumForegroundBandwidthPercentage field (as defined in service metadata)this with just the maximumForegroundBandwidthPercentage field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeliveryOptimizationBandwidthpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeliveryOptimizationBandwidthpublic static DeliveryOptimizationBandwidthPercentage.Builder builderDeliveryOptimizationBandwidthPercentage()
public String toString()
toString in class DeliveryOptimizationBandwidthCopyright © 2018–2020. All rights reserved.