Package odata.msgraph.client.beta.entity
Class DeviceManagementCachedReportConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementCachedReportConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementCachedReportConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity representing the configuration of a cached report”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementCachedReportConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimeexpirationDateTimeprotected Stringfilterprotected OffsetDateTimelastRefreshDateTimeprotected Stringmetadataprotected List<String>orderByprotected StringorderByNextLinkprotected StringreportNameprotected List<String>selectprotected StringselectNextLinkprotected DeviceManagementReportStatusstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementCachedReportConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementCachedReportConfiguration.BuilderbuilderDeviceManagementCachedReportConfiguration()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.ChangedFieldsgetChangedFields()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”Optional<String>getMetadata()“Caller-managed metadata associated with the report”com.github.davidmoten.odata.client.CollectionPage<String>getOrderBy()“Ordering of columns in the report”com.github.davidmoten.odata.client.CollectionPage<String>getOrderBy(com.github.davidmoten.odata.client.HttpRequestOptions options)“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”com.github.davidmoten.odata.client.CollectionPage<String>getSelect(com.github.davidmoten.odata.client.HttpRequestOptions options)“Columns selected from the report”Optional<DeviceManagementReportStatus>getStatus()“Status of the cached report”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementCachedReportConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementCachedReportConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementCachedReportConfigurationwithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.DeviceManagementCachedReportConfigurationwithFilter(String filter)Returns an immutable copy ofthiswith just thefilterfield changed.DeviceManagementCachedReportConfigurationwithLastRefreshDateTime(OffsetDateTime lastRefreshDateTime)Returns an immutable copy ofthiswith just thelastRefreshDateTimefield changed.DeviceManagementCachedReportConfigurationwithMetadata(String metadata)Returns an immutable copy ofthiswith just themetadatafield changed.DeviceManagementCachedReportConfigurationwithOrderBy(List<String> orderBy)Returns an immutable copy ofthiswith just theorderByfield changed.DeviceManagementCachedReportConfigurationwithReportName(String reportName)Returns an immutable copy ofthiswith just thereportNamefield changed.DeviceManagementCachedReportConfigurationwithSelect(List<String> select)Returns an immutable copy ofthiswith just theselectfield changed.DeviceManagementCachedReportConfigurationwithStatus(DeviceManagementReportStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.DeviceManagementCachedReportConfigurationwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
filter
protected String filter
-
lastRefreshDateTime
protected OffsetDateTime lastRefreshDateTime
-
metadata
protected String metadata
-
orderByNextLink
protected String orderByNextLink
-
reportName
protected String reportName
-
selectNextLink
protected String selectNextLink
-
status
protected DeviceManagementReportStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementCachedReportConfiguration
public static DeviceManagementCachedReportConfiguration.Builder builderDeviceManagementCachedReportConfiguration()
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
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“Time that the cached report expires”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public DeviceManagementCachedReportConfiguration withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy ofthiswith just theexpirationDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time that the cached report expires”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getFilter
public Optional<String> getFilter()
“Filters applied on report creation.”- Returns:
- property filter
-
withFilter
public DeviceManagementCachedReportConfiguration withFilter(String filter)
Returns an immutable copy ofthiswith just thefilterfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Filters applied on report creation.”
- Parameters:
filter- new value offilterfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefilterfield changed
-
getLastRefreshDateTime
public Optional<OffsetDateTime> getLastRefreshDateTime()
“Time that the cached report was last refreshed”- Returns:
- property lastRefreshDateTime
-
withLastRefreshDateTime
public DeviceManagementCachedReportConfiguration withLastRefreshDateTime(OffsetDateTime lastRefreshDateTime)
Returns an immutable copy ofthiswith just thelastRefreshDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time that the cached report was last refreshed”
- Parameters:
lastRefreshDateTime- new value oflastRefreshDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastRefreshDateTimefield changed
-
getMetadata
public Optional<String> getMetadata()
“Caller-managed metadata associated with the report”- Returns:
- property metadata
-
withMetadata
public DeviceManagementCachedReportConfiguration withMetadata(String metadata)
Returns an immutable copy ofthiswith just themetadatafield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Caller-managed metadata associated with the report”
- Parameters:
metadata- new value ofmetadatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themetadatafield changed
-
getOrderBy
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy()
“Ordering of columns in the report”- Returns:
- property orderBy
-
withOrderBy
public DeviceManagementCachedReportConfiguration withOrderBy(List<String> orderBy)
Returns an immutable copy ofthiswith just theorderByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Ordering of columns in the report”
- Parameters:
orderBy- new value oforderByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theorderByfield changed
-
getOrderBy
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Ordering of columns in the report”- Parameters:
options- specify connect and read timeouts- Returns:
- property orderBy
-
getReportName
public Optional<String> getReportName()
“Name of the report”- Returns:
- property reportName
-
withReportName
public DeviceManagementCachedReportConfiguration withReportName(String reportName)
Returns an immutable copy ofthiswith just thereportNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Name of the report”
- Parameters:
reportName- new value ofreportNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereportNamefield changed
-
getSelect
public com.github.davidmoten.odata.client.CollectionPage<String> getSelect()
“Columns selected from the report”- Returns:
- property select
-
withSelect
public DeviceManagementCachedReportConfiguration withSelect(List<String> select)
Returns an immutable copy ofthiswith just theselectfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Columns selected from the report”
- Parameters:
select- new value ofselectfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theselectfield changed
-
getSelect
public com.github.davidmoten.odata.client.CollectionPage<String> getSelect(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Columns selected from the report”- Parameters:
options- specify connect and read timeouts- Returns:
- property select
-
getStatus
public Optional<DeviceManagementReportStatus> getStatus()
“Status of the cached report”- Returns:
- property status
-
withStatus
public DeviceManagementCachedReportConfiguration withStatus(DeviceManagementReportStatus status)
Returns an immutable copy ofthiswith just thestatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Status of the cached report”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
withUnmappedField
public DeviceManagementCachedReportConfiguration 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 DeviceManagementCachedReportConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementCachedReportConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-