你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphRecurrenceRange Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphRecurrenceRange

Implements

public final class MicrosoftGraphRecurrenceRange
implements JsonSerializable<MicrosoftGraphRecurrenceRange>

recurrenceRange.

Constructor Summary

Constructor Description
MicrosoftGraphRecurrenceRange()

Creates an instance of MicrosoftGraphRecurrenceRange class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: recurrenceRange.

LocalDate endDate()

Get the endDate property: The date to stop applying the recurrence pattern.

static MicrosoftGraphRecurrenceRange fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecurrenceRange from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
MicrosoftGraphRecurrenceRangeType type()

Get the type property: recurrenceRangeType.

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: recurrenceRangeType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphRecurrenceRange

public MicrosoftGraphRecurrenceRange()

Creates an instance of MicrosoftGraphRecurrenceRange class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: recurrenceRange.

Returns:

the additionalProperties value.

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.

fromJson

public static MicrosoftGraphRecurrenceRange fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphRecurrenceRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphRecurrenceRange if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphRecurrenceRange.

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.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public MicrosoftGraphRecurrenceRangeType type()

Get the type property: recurrenceRangeType.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphRecurrenceRange withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: recurrenceRange.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphRecurrenceRange object itself.

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.

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.

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.

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.

withType

public MicrosoftGraphRecurrenceRange withType(MicrosoftGraphRecurrenceRangeType type)

Set the type property: recurrenceRangeType.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphRecurrenceRange object itself.

Applies to