Package odata.msgraph.client.beta.entity
Class DeviceManagementReportSchedule
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementReportSchedule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementReportSchedule extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity representing a schedule for which reports are delivered”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementReportSchedule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>emailsprotected StringemailsNextLinkprotected OffsetDateTimeendDateTimeprotected Stringfilterprotected DeviceManagementReportFileFormatformatprotected List<String>orderByprotected StringorderByNextLinkprotected DeviceManagementScheduledReportRecurrencerecurrenceprotected StringreportNameprotected StringreportScheduleNameprotected List<String>selectprotected StringselectNextLinkprotected OffsetDateTimestartDateTimeprotected Stringsubjectprotected StringuserId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementReportSchedule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementReportSchedule.BuilderbuilderDeviceManagementReportSchedule()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()com.github.davidmoten.odata.client.CollectionPage<String>getEmails()“Emails to which the scheduled reports are delivered”com.github.davidmoten.odata.client.CollectionPage<String>getEmails(com.github.davidmoten.odata.client.HttpRequestOptions options)“Emails to which the scheduled reports are delivered”Optional<OffsetDateTime>getEndDateTime()“Time that the delivery of the scheduled reports ends”Optional<String>getFilter()“Filters applied on the report”Optional<DeviceManagementReportFileFormat>getFormat()“Format of the scheduled 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<DeviceManagementScheduledReportRecurrence>getRecurrence()“Frequency of scheduled report delivery”Optional<String>getReportName()“Name of the report”Optional<String>getReportScheduleName()“Name of the schedule”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<OffsetDateTime>getStartDateTime()“Time that the delivery of the scheduled reports starts”Optional<String>getSubject()“Subject of the scheduled reports that are delivered”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“The Id of the User who created the report”StringodataTypeName()DeviceManagementReportSchedulepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementReportScheduleput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementReportSchedulewithEmails(List<String> emails)Returns an immutable copy ofthiswith just theemailsfield changed.DeviceManagementReportSchedulewithEndDateTime(OffsetDateTime endDateTime)Returns an immutable copy ofthiswith just theendDateTimefield changed.DeviceManagementReportSchedulewithFilter(String filter)Returns an immutable copy ofthiswith just thefilterfield changed.DeviceManagementReportSchedulewithFormat(DeviceManagementReportFileFormat format)Returns an immutable copy ofthiswith just theformatfield changed.DeviceManagementReportSchedulewithOrderBy(List<String> orderBy)Returns an immutable copy ofthiswith just theorderByfield changed.DeviceManagementReportSchedulewithRecurrence(DeviceManagementScheduledReportRecurrence recurrence)Returns an immutable copy ofthiswith just therecurrencefield changed.DeviceManagementReportSchedulewithReportName(String reportName)Returns an immutable copy ofthiswith just thereportNamefield changed.DeviceManagementReportSchedulewithReportScheduleName(String reportScheduleName)Returns an immutable copy ofthiswith just thereportScheduleNamefield changed.DeviceManagementReportSchedulewithSelect(List<String> select)Returns an immutable copy ofthiswith just theselectfield changed.DeviceManagementReportSchedulewithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.DeviceManagementReportSchedulewithSubject(String subject)Returns an immutable copy ofthiswith just thesubjectfield changed.DeviceManagementReportSchedulewithUnmappedField(String name, String value)DeviceManagementReportSchedulewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.
-
-
-
Field Detail
-
emailsNextLink
protected String emailsNextLink
-
endDateTime
protected OffsetDateTime endDateTime
-
filter
protected String filter
-
format
protected DeviceManagementReportFileFormat format
-
orderByNextLink
protected String orderByNextLink
-
recurrence
protected DeviceManagementScheduledReportRecurrence recurrence
-
reportName
protected String reportName
-
reportScheduleName
protected String reportScheduleName
-
selectNextLink
protected String selectNextLink
-
startDateTime
protected OffsetDateTime startDateTime
-
subject
protected String subject
-
userId
protected String userId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementReportSchedule
public static DeviceManagementReportSchedule.Builder builderDeviceManagementReportSchedule()
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
-
getEmails
public com.github.davidmoten.odata.client.CollectionPage<String> getEmails()
“Emails to which the scheduled reports are delivered”- Returns:
- property emails
-
withEmails
public DeviceManagementReportSchedule withEmails(List<String> emails)
Returns an immutable copy ofthiswith just theemailsfield 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.“Emails to which the scheduled reports are delivered”
- Parameters:
emails- new value ofemailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theemailsfield changed
-
getEmails
public com.github.davidmoten.odata.client.CollectionPage<String> getEmails(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Emails to which the scheduled reports are delivered”- Parameters:
options- specify connect and read timeouts- Returns:
- property emails
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
“Time that the delivery of the scheduled reports ends”- Returns:
- property endDateTime
-
withEndDateTime
public DeviceManagementReportSchedule withEndDateTime(OffsetDateTime endDateTime)
Returns an immutable copy ofthiswith just theendDateTimefield 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 delivery of the scheduled reports ends”
- Parameters:
endDateTime- new value ofendDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendDateTimefield changed
-
getFilter
public Optional<String> getFilter()
“Filters applied on the report”- Returns:
- property filter
-
withFilter
public DeviceManagementReportSchedule 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 the report”
- Parameters:
filter- new value offilterfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefilterfield changed
-
getFormat
public Optional<DeviceManagementReportFileFormat> getFormat()
“Format of the scheduled report”- Returns:
- property format
-
withFormat
public DeviceManagementReportSchedule withFormat(DeviceManagementReportFileFormat format)
Returns an immutable copy ofthiswith just theformatfield 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.“Format of the scheduled report”
- Parameters:
format- new value offormatfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theformatfield changed
-
getOrderBy
public com.github.davidmoten.odata.client.CollectionPage<String> getOrderBy()
“Ordering of columns in the report”- Returns:
- property orderBy
-
withOrderBy
public DeviceManagementReportSchedule 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
-
getRecurrence
public Optional<DeviceManagementScheduledReportRecurrence> getRecurrence()
“Frequency of scheduled report delivery”- Returns:
- property recurrence
-
withRecurrence
public DeviceManagementReportSchedule withRecurrence(DeviceManagementScheduledReportRecurrence recurrence)
Returns an immutable copy ofthiswith just therecurrencefield 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.“Frequency of scheduled report delivery”
- Parameters:
recurrence- new value ofrecurrencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecurrencefield changed
-
getReportName
public Optional<String> getReportName()
“Name of the report”- Returns:
- property reportName
-
withReportName
public DeviceManagementReportSchedule 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
-
getReportScheduleName
public Optional<String> getReportScheduleName()
“Name of the schedule”- Returns:
- property reportScheduleName
-
withReportScheduleName
public DeviceManagementReportSchedule withReportScheduleName(String reportScheduleName)
Returns an immutable copy ofthiswith just thereportScheduleNamefield 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 schedule”
- Parameters:
reportScheduleName- new value ofreportScheduleNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereportScheduleNamefield changed
-
getSelect
public com.github.davidmoten.odata.client.CollectionPage<String> getSelect()
“Columns selected from the report”- Returns:
- property select
-
withSelect
public DeviceManagementReportSchedule 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
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“Time that the delivery of the scheduled reports starts”- Returns:
- property startDateTime
-
withStartDateTime
public DeviceManagementReportSchedule withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy ofthiswith just thestartDateTimefield 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 delivery of the scheduled reports starts”
- Parameters:
startDateTime- new value ofstartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartDateTimefield changed
-
getSubject
public Optional<String> getSubject()
“Subject of the scheduled reports that are delivered”- Returns:
- property subject
-
withSubject
public DeviceManagementReportSchedule withSubject(String subject)
Returns an immutable copy ofthiswith just thesubjectfield 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.“Subject of the scheduled reports that are delivered”
- Parameters:
subject- new value ofsubjectfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectfield changed
-
getUserId
public Optional<String> getUserId()
“The Id of the User who created the report”- Returns:
- property userId
-
withUserId
public DeviceManagementReportSchedule withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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.“The Id of the User who created the report”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUnmappedField
public DeviceManagementReportSchedule 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 DeviceManagementReportSchedule patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementReportSchedule put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-