MicrosoftGraphShift Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChangeTrackedEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphShift
- com.
- com.
- com.
public final class MicrosoftGraphShift
extends MicrosoftGraphChangeTrackedEntity
Represents a shift.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphShift() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
Microsoft |
draftShift()
Get the draft |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
schedulingGroupId()
Get the scheduling |
|
Microsoft |
sharedShift()
Get the shared |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userId()
Get the user |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
|
Microsoft |
withDraftShift(MicrosoftGraphShiftItem draftShift)
Set the draft |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
|
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
|
Microsoft |
withSchedulingGroupId(String schedulingGroupId)
Set the scheduling |
|
Microsoft |
withSharedShift(MicrosoftGraphShiftItem sharedShift)
Set the shared |
|
Microsoft |
withUserId(String userId)
Set the user |
Methods inherited from MicrosoftGraphChangeTrackedEntity
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphShift
public MicrosoftGraphShift()
Creates an instance of MicrosoftGraphShift class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: shift.
Overrides:
MicrosoftGraphShift.additionalProperties()Returns:
draftShift
public MicrosoftGraphShiftItem draftShift()
Get the draftShift property: shiftItem.
Returns:
fromJson
public static MicrosoftGraphShift fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphShift from the JsonReader.
Parameters:
Returns:
Throws:
schedulingGroupId
public String schedulingGroupId()
Get the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.
Returns:
sharedShift
public MicrosoftGraphShiftItem sharedShift()
Get the sharedShift property: shiftItem.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphShift.toJson(JsonWriter jsonWriter)Parameters:
Throws:
userId
public String userId()
Get the userId property: ID of the user assigned to the shift. Required.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphShift.validate()withAdditionalProperties
public MicrosoftGraphShift withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shift.
Overrides:
MicrosoftGraphShift.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphShift 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:
MicrosoftGraphShift.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withDraftShift
public MicrosoftGraphShift withDraftShift(MicrosoftGraphShiftItem draftShift)
Set the draftShift property: shiftItem.
Parameters:
Returns:
withId
public MicrosoftGraphShift withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphShift.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphShift withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphShift.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphShift 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:
MicrosoftGraphShift.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withSchedulingGroupId
public MicrosoftGraphShift withSchedulingGroupId(String schedulingGroupId)
Set the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.
Parameters:
Returns:
withSharedShift
public MicrosoftGraphShift withSharedShift(MicrosoftGraphShiftItem sharedShift)
Set the sharedShift property: shiftItem.
Parameters:
Returns:
withUserId
public MicrosoftGraphShift withUserId(String userId)
Set the userId property: ID of the user assigned to the shift. Required.
Parameters:
Returns: