Class MicrosoftGraphScheduleChangeRequest
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScheduleChangeRequest
- Direct Known Subclasses:
MicrosoftGraphOfferShiftRequest,MicrosoftGraphOpenShiftChangeRequest,MicrosoftGraphTimeOffRequest
scheduleChangeRequest.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphScheduleChangeRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: scheduleChangeRequest.Get the assignedTo property: scheduleChangeRequestActor.Get the managerActionDateTime property: The managerActionDateTime property.Get the managerActionMessage property: The managerActionMessage property.Get the managerUserId property: The managerUserId property.Get the senderDateTime property: The senderDateTime property.Get the senderMessage property: The senderMessage property.Get the senderUserId property: The senderUserId property.state()Get the state property: scheduleChangeState.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleChangeRequest.Set the assignedTo property: scheduleChangeRequestActor.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.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.withManagerActionDateTime(OffsetDateTime managerActionDateTime) Set the managerActionDateTime property: The managerActionDateTime property.withManagerActionMessage(String managerActionMessage) Set the managerActionMessage property: The managerActionMessage property.withManagerUserId(String managerUserId) Set the managerUserId property: The managerUserId property.withSenderDateTime(OffsetDateTime senderDateTime) Set the senderDateTime property: The senderDateTime property.withSenderMessage(String senderMessage) Set the senderMessage property: The senderMessage property.withSenderUserId(String senderUserId) Set the senderUserId property: The senderUserId property.Set the state property: scheduleChangeState.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
-
MicrosoftGraphScheduleChangeRequest
public MicrosoftGraphScheduleChangeRequest()Creates an instance of MicrosoftGraphScheduleChangeRequest class.
-
-
Method Details
-
assignedTo
Get the assignedTo property: scheduleChangeRequestActor.- Returns:
- the assignedTo value.
-
withAssignedTo
public MicrosoftGraphScheduleChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo) Set the assignedTo property: scheduleChangeRequestActor.- Parameters:
assignedTo- the assignedTo value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
managerActionDateTime
Get the managerActionDateTime property: The managerActionDateTime property.- Returns:
- the managerActionDateTime value.
-
withManagerActionDateTime
public MicrosoftGraphScheduleChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime) Set the managerActionDateTime property: The managerActionDateTime property.- Parameters:
managerActionDateTime- the managerActionDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
managerActionMessage
Get the managerActionMessage property: The managerActionMessage property.- Returns:
- the managerActionMessage value.
-
withManagerActionMessage
Set the managerActionMessage property: The managerActionMessage property.- Parameters:
managerActionMessage- the managerActionMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
managerUserId
Get the managerUserId property: The managerUserId property.- Returns:
- the managerUserId value.
-
withManagerUserId
Set the managerUserId property: The managerUserId property.- Parameters:
managerUserId- the managerUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderDateTime
Get the senderDateTime property: The senderDateTime property.- Returns:
- the senderDateTime value.
-
withSenderDateTime
Set the senderDateTime property: The senderDateTime property.- Parameters:
senderDateTime- the senderDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderMessage
Get the senderMessage property: The senderMessage property.- Returns:
- the senderMessage value.
-
withSenderMessage
Set the senderMessage property: The senderMessage property.- Parameters:
senderMessage- the senderMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderUserId
Get the senderUserId property: The senderUserId property.- Returns:
- the senderUserId value.
-
withSenderUserId
Set the senderUserId property: The senderUserId property.- Parameters:
senderUserId- the senderUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
state
Get the state property: scheduleChangeState.- Returns:
- the state value.
-
withState
Set the state property: scheduleChangeState.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
additionalProperties
Get the additionalProperties property: scheduleChangeRequest.- Overrides:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScheduleChangeRequest withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scheduleChangeRequest.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest 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
public MicrosoftGraphScheduleChangeRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphChangeTrackedEntity- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedDateTime
public MicrosoftGraphScheduleChangeRequest 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:
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.
-