Class MicrosoftGraphRecurrenceRange
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphRecurrenceRange
-
public final class MicrosoftGraphRecurrenceRange extends Object
recurrenceRange.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphRecurrenceRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: recurrenceRange.LocalDate
endDate()
Get the endDate property: The date to stop applying the recurrence pattern.Integer
numberOfOccurrences()
Get the numberOfOccurrences property: The number of times to repeat the event.String
recurrenceTimeZone()
Get the recurrenceTimeZone property: Time zone for the startDate and endDate properties.LocalDate
startDate()
Get the startDate property: The date to start applying the recurrence pattern.MicrosoftGraphRecurrenceRangeType
type()
Get the type property: The type property.void
validate()
Validates the instance.MicrosoftGraphRecurrenceRange
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: recurrenceRange.MicrosoftGraphRecurrenceRange
withEndDate(LocalDate endDate)
Set the endDate property: The date to stop applying the recurrence pattern.MicrosoftGraphRecurrenceRange
withNumberOfOccurrences(Integer numberOfOccurrences)
Set the numberOfOccurrences property: The number of times to repeat the event.MicrosoftGraphRecurrenceRange
withRecurrenceTimeZone(String recurrenceTimeZone)
Set the recurrenceTimeZone property: Time zone for the startDate and endDate properties.MicrosoftGraphRecurrenceRange
withStartDate(LocalDate startDate)
Set the startDate property: The date to start applying the recurrence pattern.MicrosoftGraphRecurrenceRange
withType(MicrosoftGraphRecurrenceRangeType type)
Set the type property: The type property.
-
-
-
Method Detail
-
endDate
public LocalDate 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
public MicrosoftGraphRecurrenceRange withEndDate(LocalDate endDate)
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
public Integer 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
public MicrosoftGraphRecurrenceRange withNumberOfOccurrences(Integer numberOfOccurrences)
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
public String 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
public MicrosoftGraphRecurrenceRange withRecurrenceTimeZone(String recurrenceTimeZone)
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
public LocalDate 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
public MicrosoftGraphRecurrenceRange withStartDate(LocalDate startDate)
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
public MicrosoftGraphRecurrenceRangeType type()
Get the type property: The type property.- Returns:
- the type value.
-
withType
public MicrosoftGraphRecurrenceRange withType(MicrosoftGraphRecurrenceRangeType type)
Set the type property: The type property.- Parameters:
type
- the type value to set.- Returns:
- the MicrosoftGraphRecurrenceRange object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-