public class DeviceManagementCachedReportConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementCachedReportConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
expirationDateTime |
protected String |
filter |
protected OffsetDateTime |
lastRefreshDateTime |
protected List<String> |
orderBy |
protected String |
orderByNextLink |
protected String |
reportName |
protected List<String> |
select |
protected String |
selectNextLink |
protected DeviceManagementReportStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementCachedReportConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementCachedReportConfiguration.Builder |
builderDeviceManagementCachedReportConfiguration()
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<OffsetDateTime> |
getExpirationDateTime()
“Time that the cached report expires”
|
Optional<String> |
getFilter()
“Filters applied on report creation.”
|
Optional<OffsetDateTime> |
getLastRefreshDateTime()
“Time that the cached report was last refreshed”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getOrderBy()
“Ordering of columns in the report”
|
Optional<String> |
getReportName()
“Name of the report”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSelect()
“Columns selected from the report”
|
Optional<DeviceManagementReportStatus> |
getStatus()
“Status of the cached report”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementCachedReportConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementCachedReportConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementCachedReportConfiguration |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
DeviceManagementCachedReportConfiguration |
withFilter(String filter)
Returns an immutable copy of
this with just the filter field
changed. |
DeviceManagementCachedReportConfiguration |
withLastRefreshDateTime(OffsetDateTime lastRefreshDateTime)
Returns an immutable copy of
this with just the lastRefreshDateTime field changed. |
DeviceManagementCachedReportConfiguration |
withReportName(String reportName)
Returns an immutable copy of
this with just the reportName field
changed. |
DeviceManagementCachedReportConfiguration |
withStatus(DeviceManagementReportStatus status)
Returns an immutable copy of
this with just the status field
changed. |
protected String reportName
protected String filter
protected String selectNextLink
protected String orderByNextLink
protected DeviceManagementReportStatus status
protected OffsetDateTime lastRefreshDateTime
protected OffsetDateTime expirationDateTime
protected DeviceManagementCachedReportConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementCachedReportConfiguration.Builder builderDeviceManagementCachedReportConfiguration()
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 Optional<String> getReportName()
public DeviceManagementCachedReportConfiguration withReportName(String reportName)
this with just the reportName 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.
“Name of the report”
reportName - new value of reportName field (as defined in service metadata)this with just the reportName field changedpublic Optional<String> getFilter()
public DeviceManagementCachedReportConfiguration withFilter(String filter)
this with just the filter 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.
“Filters applied on report creation.”
filter - new value of filter field (as defined in service metadata)this with just the filter field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getSelect()
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy()
public Optional<DeviceManagementReportStatus> getStatus()
public DeviceManagementCachedReportConfiguration withStatus(DeviceManagementReportStatus status)
this with just the status 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.
“Status of the cached report”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<OffsetDateTime> getLastRefreshDateTime()
public DeviceManagementCachedReportConfiguration withLastRefreshDateTime(OffsetDateTime lastRefreshDateTime)
this with just the lastRefreshDateTime 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.
“Time that the cached report was last refreshed”
lastRefreshDateTime - new value of lastRefreshDateTime field (as defined in service metadata)this with just the lastRefreshDateTime field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public DeviceManagementCachedReportConfiguration withExpirationDateTime(OffsetDateTime expirationDateTime)
this with just the expirationDateTime 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.
“Time that the cached report expires”
expirationDateTime - new value of expirationDateTime field (as defined in service metadata)this with just the expirationDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementCachedReportConfiguration patch()
this with changed fields reset.public DeviceManagementCachedReportConfiguration put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.