你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphShiftPreferences Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChangeTrackedEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShiftPreferences
- com.
- com.
- com.
public final class MicrosoftGraphShiftPreferences
extends MicrosoftGraphChangeTrackedEntity
shiftPreferences.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphShiftPreferences() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
availability()
Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAvailability(List<MicrosoftGraphShiftAvailability> availability)
Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern. |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Methods inherited from MicrosoftGraphChangeTrackedEntity
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphShiftPreferences
public MicrosoftGraphShiftPreferences()
Creates an instance of MicrosoftGraphShiftPreferences class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: shiftPreferences.
Overrides:
MicrosoftGraphShiftPreferences.additionalProperties()Returns:
availability
public List
Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern.
Returns:
fromJson
public static MicrosoftGraphShiftPreferences fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphShiftPreferences from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphShiftPreferences.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphShiftPreferences.validate()withAdditionalProperties
public MicrosoftGraphShiftPreferences withAdditionalProperties(Map
Set the additionalProperties property: shiftPreferences.
Overrides:
MicrosoftGraphShiftPreferences.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAvailability
public MicrosoftGraphShiftPreferences withAvailability(List
Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphShiftPreferences withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphShiftPreferences.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withId
public MicrosoftGraphShiftPreferences withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphShiftPreferences.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphShiftPreferences withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphShiftPreferences.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphShiftPreferences withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphShiftPreferences.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters: