你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphShiftAvailability Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShiftAvailability
- com.
Implements
public final class MicrosoftGraphShiftAvailability
implements JsonSerializable<MicrosoftGraphShiftAvailability>
shiftAvailability.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphShiftAvailability() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
recurrence()
Get the recurrence property: patterned |
List<Microsoft |
timeSlots()
Get the time |
String |
timeZone()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patterned |
Microsoft |
withTimeSlots(List<MicrosoftGraphTimeRange> timeSlots)
Set the time |
Microsoft |
withTimeZone(String timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphShiftAvailability
public MicrosoftGraphShiftAvailability()
Creates an instance of MicrosoftGraphShiftAvailability class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: shiftAvailability.
Returns:
fromJson
public static MicrosoftGraphShiftAvailability fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphShiftAvailability from the JsonReader.
Parameters:
Returns:
Throws:
recurrence
public MicrosoftGraphPatternedRecurrence recurrence()
Get the recurrence property: patternedRecurrence.
Returns:
timeSlots
public List
Get the timeSlots property: The time slot(s) preferred by the user.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Specifies the time zone for the indicated time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphShiftAvailability withAdditionalProperties(Map
Set the additionalProperties property: shiftAvailability.
Parameters:
Returns:
withRecurrence
public MicrosoftGraphShiftAvailability withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.
Parameters:
Returns:
withTimeSlots
public MicrosoftGraphShiftAvailability withTimeSlots(List
Set the timeSlots property: The time slot(s) preferred by the user.
Parameters:
Returns:
withTimeZone
public MicrosoftGraphShiftAvailability withTimeZone(String timeZone)
Set the timeZone property: Specifies the time zone for the indicated time.
Parameters:
Returns: