public class SiteUsageStorage extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SiteUsageStorage.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected LocalDate |
reportDate |
protected String |
reportPeriod |
protected LocalDate |
reportRefreshDate |
protected String |
siteType |
protected Long |
storageUsedInBytes |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SiteUsageStorage() |
| Modifier and Type | Method and Description |
|---|---|
static SiteUsageStorage.Builder |
builderSiteUsageStorage()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<LocalDate> |
getReportDate() |
Optional<String> |
getReportPeriod() |
Optional<LocalDate> |
getReportRefreshDate() |
Optional<String> |
getSiteType() |
Optional<Long> |
getStorageUsedInBytes() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SiteUsageStorage |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SiteUsageStorage |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SiteUsageStorage |
withReportDate(LocalDate reportDate) |
SiteUsageStorage |
withReportPeriod(String reportPeriod) |
SiteUsageStorage |
withReportRefreshDate(LocalDate reportRefreshDate) |
SiteUsageStorage |
withSiteType(String siteType) |
SiteUsageStorage |
withStorageUsedInBytes(Long storageUsedInBytes) |
protected LocalDate reportRefreshDate
protected String siteType
protected Long storageUsedInBytes
protected LocalDate reportDate
protected String reportPeriod
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SiteUsageStorage.Builder builderSiteUsageStorage()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic SiteUsageStorage withReportRefreshDate(LocalDate reportRefreshDate)
public SiteUsageStorage withSiteType(String siteType)
public SiteUsageStorage withStorageUsedInBytes(Long storageUsedInBytes)
public SiteUsageStorage withReportDate(LocalDate reportDate)
public SiteUsageStorage withReportPeriod(String reportPeriod)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SiteUsageStorage patch()
this with changed fields reset.public SiteUsageStorage put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.