Package odata.msgraph.client.beta.entity
Class OneDriveUsageAccountDetail
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OneDriveUsageAccountDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OneDriveUsageAccountDetail extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOneDriveUsageAccountDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LongactiveFileCountprotected LongfileCountprotected BooleanisDeletedprotected LocalDatelastActivityDateprotected StringownerDisplayNameprotected StringownerPrincipalNameprotected StringreportPeriodprotected LocalDatereportRefreshDateprotected StringsiteUrlprotected LongstorageAllocatedInBytesprotected LongstorageUsedInBytes-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOneDriveUsageAccountDetail()
-
Method Summary
-
-
-
Field Detail
-
activeFileCount
protected Long activeFileCount
-
fileCount
protected Long fileCount
-
isDeleted
protected Boolean isDeleted
-
lastActivityDate
protected LocalDate lastActivityDate
-
ownerDisplayName
protected String ownerDisplayName
-
ownerPrincipalName
protected String ownerPrincipalName
-
reportPeriod
protected String reportPeriod
-
reportRefreshDate
protected LocalDate reportRefreshDate
-
siteUrl
protected String siteUrl
-
storageAllocatedInBytes
protected Long storageAllocatedInBytes
-
storageUsedInBytes
protected Long storageUsedInBytes
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderOneDriveUsageAccountDetail
public static OneDriveUsageAccountDetail.Builder builderOneDriveUsageAccountDetail()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withActiveFileCount
public OneDriveUsageAccountDetail withActiveFileCount(Long activeFileCount)
-
withFileCount
public OneDriveUsageAccountDetail withFileCount(Long fileCount)
-
withIsDeleted
public OneDriveUsageAccountDetail withIsDeleted(Boolean isDeleted)
-
withLastActivityDate
public OneDriveUsageAccountDetail withLastActivityDate(LocalDate lastActivityDate)
-
withOwnerDisplayName
public OneDriveUsageAccountDetail withOwnerDisplayName(String ownerDisplayName)
-
withOwnerPrincipalName
public OneDriveUsageAccountDetail withOwnerPrincipalName(String ownerPrincipalName)
-
withReportPeriod
public OneDriveUsageAccountDetail withReportPeriod(String reportPeriod)
-
withReportRefreshDate
public OneDriveUsageAccountDetail withReportRefreshDate(LocalDate reportRefreshDate)
-
withSiteUrl
public OneDriveUsageAccountDetail withSiteUrl(String siteUrl)
-
withStorageAllocatedInBytes
public OneDriveUsageAccountDetail withStorageAllocatedInBytes(Long storageAllocatedInBytes)
-
withStorageUsedInBytes
public OneDriveUsageAccountDetail withStorageUsedInBytes(Long storageUsedInBytes)
-
withUnmappedField
public OneDriveUsageAccountDetail withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public OneDriveUsageAccountDetail patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OneDriveUsageAccountDetail put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-