Class MicrosoftGraphShift
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShift
shift.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: shift.Get the draftShift property: shiftItem.Get the schedulingGroupId property: ID of the scheduling group the shift is part of.Get the sharedShift property: shiftItem.userId()Get the userId property: ID of the user assigned to the shift.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shift.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.withDraftShift(MicrosoftGraphShiftItem draftShift) Set the draftShift property: shiftItem.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.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.withSchedulingGroupId(String schedulingGroupId) Set the schedulingGroupId property: ID of the scheduling group the shift is part of.withSharedShift(MicrosoftGraphShiftItem sharedShift) Set the sharedShift property: shiftItem.withUserId(String userId) Set the userId property: ID of the user assigned to the shift.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphShift
public MicrosoftGraphShift()Creates an instance of MicrosoftGraphShift class.
-
-
Method Details
-
draftShift
Get the draftShift property: shiftItem.- Returns:
- the draftShift value.
-
withDraftShift
Set the draftShift property: shiftItem.- Parameters:
draftShift- the draftShift value to set.- Returns:
- the MicrosoftGraphShift object itself.
-
schedulingGroupId
Get the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.- Returns:
- the schedulingGroupId value.
-
withSchedulingGroupId
Set the schedulingGroupId property: ID of the scheduling group the shift is part of. Required.- Parameters:
schedulingGroupId- the schedulingGroupId value to set.- Returns:
- the MicrosoftGraphShift object itself.
-
userId
Get the userId property: ID of the user assigned to the shift. Required.- Returns:
- the userId value.
-
withUserId
Set the userId property: ID of the user assigned to the shift. Required.- Parameters:
userId- the userId value to set.- Returns:
- the MicrosoftGraphShift object itself.
-
additionalProperties
Get the additionalProperties property: shift.- Overrides:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: shift.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShift object itself.
-
withCreatedDateTime
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:
withCreatedDateTimein classMicrosoftGraphChangeTrackedEntity- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphChangeTrackedEntity- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedDateTime
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:
withLastModifiedDateTimein classMicrosoftGraphChangeTrackedEntity- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphChangeTrackedEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphChangeTrackedEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-