Class DeliveryOptimizationMaxCacheSizeAbsolute
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSize
-
- odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSizeAbsolute
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeliveryOptimizationMaxCacheSizeAbsolute extends DeliveryOptimizationMaxCacheSize implements com.github.davidmoten.odata.client.ODataType
“Delivery Optimization max cache size absolute type.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeliveryOptimizationMaxCacheSizeAbsolute.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LongmaximumCacheSizeInGigabytes-
Fields inherited from class odata.msgraph.client.beta.complex.DeliveryOptimizationMaxCacheSize
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeliveryOptimizationMaxCacheSizeAbsolute()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryOptimizationMaxCacheSizeAbsolute.BuilderbuilderDeliveryOptimizationMaxCacheSizeAbsolute()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Long>getMaximumCacheSizeInGigabytes()“The value 0 (zero) means "unlimited" cache.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeliveryOptimizationMaxCacheSizeAbsolutewithMaximumCacheSizeInGigabytes(Long maximumCacheSizeInGigabytes)Returns an immutable copy ofthiswith just themaximumCacheSizeInGigabytesfield changed.DeliveryOptimizationMaxCacheSizeAbsolutewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
maximumCacheSizeInGigabytes
protected Long maximumCacheSizeInGigabytes
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeliveryOptimizationMaxCacheSize
-
getMaximumCacheSizeInGigabytes
public Optional<Long> getMaximumCacheSizeInGigabytes()
“The value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295”- Returns:
- property maximumCacheSizeInGigabytes
-
withMaximumCacheSizeInGigabytes
public DeliveryOptimizationMaxCacheSizeAbsolute withMaximumCacheSizeInGigabytes(Long maximumCacheSizeInGigabytes)
Returns an immutable copy ofthiswith just themaximumCacheSizeInGigabytesfield 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.“The value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295”
- Parameters:
maximumCacheSizeInGigabytes- new value ofmaximumCacheSizeInGigabytesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumCacheSizeInGigabytesfield changed
-
withUnmappedField
public DeliveryOptimizationMaxCacheSizeAbsolute withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeliveryOptimizationMaxCacheSize
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeliveryOptimizationMaxCacheSize
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeliveryOptimizationMaxCacheSize
-
builderDeliveryOptimizationMaxCacheSizeAbsolute
public static DeliveryOptimizationMaxCacheSizeAbsolute.Builder builderDeliveryOptimizationMaxCacheSizeAbsolute()
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 classDeliveryOptimizationMaxCacheSize
-
-