Class MicrosoftGraphRecurrenceRange
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphRecurrenceRange
recurrenceRange.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphRecurrenceRange class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: recurrenceRange.endDate()Get the endDate property: The date to stop applying the recurrence pattern.Get the numberOfOccurrences property: The number of times to repeat the event.Get the recurrenceTimeZone property: Time zone for the startDate and endDate properties.Get the startDate property: The date to start applying the recurrence pattern.type()Get the type property: recurrenceRangeType.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: recurrenceRange.withEndDate(LocalDate endDate) Set the endDate property: The date to stop applying the recurrence pattern.withNumberOfOccurrences(Integer numberOfOccurrences) Set the numberOfOccurrences property: The number of times to repeat the event.withRecurrenceTimeZone(String recurrenceTimeZone) Set the recurrenceTimeZone property: Time zone for the startDate and endDate properties.withStartDate(LocalDate startDate) Set the startDate property: The date to start applying the recurrence pattern.Set the type property: recurrenceRangeType.
-
Constructor Details
-
MicrosoftGraphRecurrenceRange
public MicrosoftGraphRecurrenceRange()Creates an instance of MicrosoftGraphRecurrenceRange class.
-
-
Method Details
-
endDate
Get the endDate property: The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate.- Returns:
- the endDate value.
-
withEndDate
Set the endDate property: The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate.- Parameters:
endDate- the endDate value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
numberOfOccurrences
Get the numberOfOccurrences property: The number of times to repeat the event. Required and must be positive if type is numbered.- Returns:
- the numberOfOccurrences value.
-
withNumberOfOccurrences
Set the numberOfOccurrences property: The number of times to repeat the event. Required and must be positive if type is numbered.- Parameters:
numberOfOccurrences- the numberOfOccurrences value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
recurrenceTimeZone
Get the recurrenceTimeZone property: Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used.- Returns:
- the recurrenceTimeZone value.
-
withRecurrenceTimeZone
Set the recurrenceTimeZone property: Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used.- Parameters:
recurrenceTimeZone- the recurrenceTimeZone value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
startDate
Get the startDate property: The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required.- Returns:
- the startDate value.
-
withStartDate
Set the startDate property: The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required.- Parameters:
startDate- the startDate value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
type
Get the type property: recurrenceRangeType.- Returns:
- the type value.
-
withType
Set the type property: recurrenceRangeType.- Parameters:
type- the type value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
additionalProperties
Get the additionalProperties property: recurrenceRange.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphRecurrenceRange withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: recurrenceRange.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-