Package com.microsoft.graph.models
Class RecurrencePattern
java.lang.Object
com.microsoft.graph.models.RecurrencePattern
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class RecurrencePattern
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Recurrence Pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Day Of Month.The Days Of Week.The First Day Of Week.The Index.The Interval.The Month.the OData type of the object as returned by the serviceThe Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
dayOfMonth
@SerializedName(value="dayOfMonth", alternate="DayOfMonth") @Expose @Nullable public Integer dayOfMonthThe Day Of Month. The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly. -
daysOfWeek
@SerializedName(value="daysOfWeek", alternate="DaysOfWeek") @Expose @Nullable public List<DayOfWeek> daysOfWeekThe Days Of Week. A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. -
firstDayOfWeek
@SerializedName(value="firstDayOfWeek", alternate="FirstDayOfWeek") @Expose @Nullable public DayOfWeek firstDayOfWeekThe First Day Of Week. The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. -
index
The Index. Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. -
interval
The Interval. The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. -
month
The Month. The month in which the event occurs. This is a number from 1 to 12. -
type
The Type. The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property.
-
-
Constructor Details
-
RecurrencePattern
public RecurrencePattern()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-