public class DeviceManagementExportJob extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementExportJob.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
expirationDateTime |
protected String |
filter |
protected DeviceManagementReportFileFormat |
format |
protected String |
reportName |
protected OffsetDateTime |
requestDateTime |
protected List<String> |
select |
protected String |
selectNextLink |
protected String |
snapshotId |
protected DeviceManagementReportStatus |
status |
protected String |
url |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementExportJob() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementExportJob.Builder |
builderDeviceManagementExportJob()
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 exported report expires”
|
Optional<String> |
getFilter()
“Filters applied on the report”
|
Optional<DeviceManagementReportFileFormat> |
getFormat()
“Format of the exported report”
|
Optional<String> |
getReportName()
“Name of the report”
|
Optional<OffsetDateTime> |
getRequestDateTime()
“Time that the exported report was requested”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getSelect()
“Columns selected from the report”
|
Optional<String> |
getSnapshotId()
“A snapshot is an identifiable subset of the dataset represented by the
ReportName.
|
Optional<DeviceManagementReportStatus> |
getStatus()
“Status of the export job”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUrl()
“Temporary location of the exported report”
|
String |
odataTypeName() |
DeviceManagementExportJob |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementExportJob |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementExportJob |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
DeviceManagementExportJob |
withFilter(String filter)
Returns an immutable copy of
this with just the filter field
changed. |
DeviceManagementExportJob |
withFormat(DeviceManagementReportFileFormat format)
Returns an immutable copy of
this with just the format field
changed. |
DeviceManagementExportJob |
withReportName(String reportName)
Returns an immutable copy of
this with just the reportName field
changed. |
DeviceManagementExportJob |
withRequestDateTime(OffsetDateTime requestDateTime)
Returns an immutable copy of
this with just the requestDateTime
field changed. |
DeviceManagementExportJob |
withSnapshotId(String snapshotId)
Returns an immutable copy of
this with just the snapshotId field
changed. |
DeviceManagementExportJob |
withStatus(DeviceManagementReportStatus status)
Returns an immutable copy of
this with just the status field
changed. |
DeviceManagementExportJob |
withUrl(String url)
Returns an immutable copy of
this with just the url field
changed. |
protected String reportName
protected String filter
protected String selectNextLink
protected DeviceManagementReportFileFormat format
protected String snapshotId
protected DeviceManagementReportStatus status
protected String url
protected OffsetDateTime requestDateTime
protected OffsetDateTime expirationDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementExportJob.Builder builderDeviceManagementExportJob()
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 DeviceManagementExportJob 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 DeviceManagementExportJob 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 the report”
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 Optional<DeviceManagementReportFileFormat> getFormat()
public DeviceManagementExportJob withFormat(DeviceManagementReportFileFormat format)
this with just the format 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.
“Format of the exported report”
format - new value of format field (as defined in service metadata)this with just the format field changedpublic Optional<String> getSnapshotId()
public DeviceManagementExportJob withSnapshotId(String snapshotId)
this with just the snapshotId 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.
“A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.”
snapshotId - new value of snapshotId field (as defined in service metadata)this with just the snapshotId field changedpublic Optional<DeviceManagementReportStatus> getStatus()
public DeviceManagementExportJob 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 export job”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getUrl()
public DeviceManagementExportJob withUrl(String url)
this with just the url 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.
“Temporary location of the exported report”
url - new value of url field (as defined in service metadata)this with just the url field changedpublic Optional<OffsetDateTime> getRequestDateTime()
public DeviceManagementExportJob withRequestDateTime(OffsetDateTime requestDateTime)
this with just the requestDateTime
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 exported report was requested”
requestDateTime - new value of requestDateTime field (as defined in service metadata)this with just the requestDateTime field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public DeviceManagementExportJob 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 exported 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 DeviceManagementExportJob patch()
this with changed fields reset.public DeviceManagementExportJob put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.