Package odata.msgraph.client.complex
Class Quota
- java.lang.Object
-
- odata.msgraph.client.complex.Quota
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Quota extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuota.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Longdeletedprotected StringodataTypeprotected Longremainingprotected Stringstateprotected StoragePlanInformationstoragePlanInformationprotected Longtotalprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Longused
-
Constructor Summary
Constructors Modifier Constructor Description protectedQuota()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Quota.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Long>getDeleted()Optional<Long>getRemaining()Optional<String>getState()Optional<StoragePlanInformation>getStoragePlanInformation()Optional<Long>getTotal()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Long>getUsed()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()QuotawithDeleted(Long deleted)QuotawithRemaining(Long remaining)QuotawithState(String state)QuotawithStoragePlanInformation(StoragePlanInformation storagePlanInformation)QuotawithTotal(Long total)QuotawithUnmappedField(String name, Object value)QuotawithUsed(Long used)
-
-
-
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
-
deleted
protected Long deleted
-
remaining
protected Long remaining
-
state
protected String state
-
storagePlanInformation
protected StoragePlanInformation storagePlanInformation
-
total
protected Long total
-
used
protected Long used
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getStoragePlanInformation
public Optional<StoragePlanInformation> getStoragePlanInformation()
-
withStoragePlanInformation
public Quota withStoragePlanInformation(StoragePlanInformation storagePlanInformation)
-
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 Quota.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
-
-