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
public class MicrosoftGraphScheduleChangeRequest extends MicrosoftGraphChangeTrackedEntity
scheduleChangeRequest.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScheduleChangeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: scheduleChangeRequest.MicrosoftGraphScheduleChangeRequestActorassignedTo()Get the assignedTo property: The assignedTo property.OffsetDateTimemanagerActionDateTime()Get the managerActionDateTime property: The managerActionDateTime property.StringmanagerActionMessage()Get the managerActionMessage property: The managerActionMessage property.StringmanagerUserId()Get the managerUserId property: The managerUserId property.OffsetDateTimesenderDateTime()Get the senderDateTime property: The senderDateTime property.StringsenderMessage()Get the senderMessage property: The senderMessage property.StringsenderUserId()Get the senderUserId property: The senderUserId property.MicrosoftGraphScheduleChangeStatestate()Get the state property: The state property.voidvalidate()Validates the instance.MicrosoftGraphScheduleChangeRequestwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: scheduleChangeRequest.MicrosoftGraphScheduleChangeRequestwithAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)Set the assignedTo property: The assignedTo property.MicrosoftGraphScheduleChangeRequestwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphScheduleChangeRequestwithId(String id)Set the id property: Read-only.MicrosoftGraphScheduleChangeRequestwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphScheduleChangeRequestwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphScheduleChangeRequestwithManagerActionDateTime(OffsetDateTime managerActionDateTime)Set the managerActionDateTime property: The managerActionDateTime property.MicrosoftGraphScheduleChangeRequestwithManagerActionMessage(String managerActionMessage)Set the managerActionMessage property: The managerActionMessage property.MicrosoftGraphScheduleChangeRequestwithManagerUserId(String managerUserId)Set the managerUserId property: The managerUserId property.MicrosoftGraphScheduleChangeRequestwithSenderDateTime(OffsetDateTime senderDateTime)Set the senderDateTime property: The senderDateTime property.MicrosoftGraphScheduleChangeRequestwithSenderMessage(String senderMessage)Set the senderMessage property: The senderMessage property.MicrosoftGraphScheduleChangeRequestwithSenderUserId(String senderUserId)Set the senderUserId property: The senderUserId property.MicrosoftGraphScheduleChangeRequestwithState(MicrosoftGraphScheduleChangeState state)Set the state property: The state property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
assignedTo
public MicrosoftGraphScheduleChangeRequestActor assignedTo()
Get the assignedTo property: The assignedTo property.- Returns:
- the assignedTo value.
-
withAssignedTo
public MicrosoftGraphScheduleChangeRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assignedTo property: The assignedTo property.- Parameters:
assignedTo- the assignedTo value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
managerActionDateTime
public OffsetDateTime 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
public String managerActionMessage()
Get the managerActionMessage property: The managerActionMessage property.- Returns:
- the managerActionMessage value.
-
withManagerActionMessage
public MicrosoftGraphScheduleChangeRequest withManagerActionMessage(String managerActionMessage)
Set the managerActionMessage property: The managerActionMessage property.- Parameters:
managerActionMessage- the managerActionMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
managerUserId
public String managerUserId()
Get the managerUserId property: The managerUserId property.- Returns:
- the managerUserId value.
-
withManagerUserId
public MicrosoftGraphScheduleChangeRequest withManagerUserId(String managerUserId)
Set the managerUserId property: The managerUserId property.- Parameters:
managerUserId- the managerUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderDateTime
public OffsetDateTime senderDateTime()
Get the senderDateTime property: The senderDateTime property.- Returns:
- the senderDateTime value.
-
withSenderDateTime
public MicrosoftGraphScheduleChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)
Set the senderDateTime property: The senderDateTime property.- Parameters:
senderDateTime- the senderDateTime value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderMessage
public String senderMessage()
Get the senderMessage property: The senderMessage property.- Returns:
- the senderMessage value.
-
withSenderMessage
public MicrosoftGraphScheduleChangeRequest withSenderMessage(String senderMessage)
Set the senderMessage property: The senderMessage property.- Parameters:
senderMessage- the senderMessage value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
senderUserId
public String senderUserId()
Get the senderUserId property: The senderUserId property.- Returns:
- the senderUserId value.
-
withSenderUserId
public MicrosoftGraphScheduleChangeRequest withSenderUserId(String senderUserId)
Set the senderUserId property: The senderUserId property.- Parameters:
senderUserId- the senderUserId value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
state
public MicrosoftGraphScheduleChangeState state()
Get the state property: The state property.- Returns:
- the state value.
-
withState
public MicrosoftGraphScheduleChangeRequest withState(MicrosoftGraphScheduleChangeState state)
Set the state property: The state property.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphScheduleChangeRequest object itself.
-
additionalProperties
public Map<String,Object> 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
public MicrosoftGraphScheduleChangeRequest 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:
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
public MicrosoftGraphScheduleChangeRequest withId(String id)
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.
-
-