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:
Applies to
Azure SDK for Java