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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • dayOfMonth

      @SerializedName(value="dayOfMonth", alternate="DayOfMonth") @Expose @Nullable public Integer dayOfMonth
      The 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> daysOfWeek
      The 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 firstDayOfWeek
      The 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

      @SerializedName(value="index", alternate="Index") @Expose @Nullable public WeekIndex 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

      @SerializedName(value="interval", alternate="Interval") @Expose @Nullable public Integer 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

      @SerializedName(value="month", alternate="Month") @Expose @Nullable public Integer month
      The Month. The month in which the event occurs. This is a number from 1 to 12.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public RecurrencePatternType 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:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to