MicrosoftGraphTimeOffRequest Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChangeTrackedEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScheduleChangeRequest - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTimeOffRequest
- com.
- com.
- com.
- com.
public final class MicrosoftGraphTimeOffRequest
extends MicrosoftGraphScheduleChangeRequest
timeOffRequest.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTimeOffRequest() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Offset |
endDateTime()
Get the end |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
startDateTime()
Get the start |
String |
timeOffReasonId()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assigned |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
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 |
withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Set the manager |
Microsoft |
withManagerActionMessage(String managerActionMessage)
Set the manager |
Microsoft |
withManagerUserId(String managerUserId)
Set the manager |
Microsoft |
withSenderDateTime(OffsetDateTime senderDateTime)
Set the sender |
Microsoft |
withSenderMessage(String senderMessage)
Set the sender |
Microsoft |
withSenderUserId(String senderUserId)
Set the sender |
Microsoft |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Microsoft |
withState(MicrosoftGraphScheduleChangeState state)
Set the state property: schedule |
Microsoft |
withTimeOffReasonId(String timeOffReasonId)
Set the time |
Methods inherited from MicrosoftGraphChangeTrackedEntity
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphScheduleChangeRequest
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTimeOffRequest
public MicrosoftGraphTimeOffRequest()
Creates an instance of MicrosoftGraphTimeOffRequest class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: timeOffRequest.
Overrides:
MicrosoftGraphTimeOffRequest.additionalProperties()Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime 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'.
Returns:
fromJson
public static MicrosoftGraphTimeOffRequest fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTimeOffRequest from the JsonReader.
Parameters:
Returns:
Throws:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime 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'.
Returns:
timeOffReasonId
public String timeOffReasonId()
Get the timeOffReasonId property: The reason for the time off.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTimeOffRequest.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTimeOffRequest.validate()withAdditionalProperties
public MicrosoftGraphTimeOffRequest withAdditionalProperties(Map
Set the additionalProperties property: timeOffRequest.
Overrides:
MicrosoftGraphTimeOffRequest.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAssignedTo
public MicrosoftGraphTimeOffRequest withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)
Set the assignedTo property: scheduleChangeRequestActor.
Overrides:
MicrosoftGraphTimeOffRequest.withAssignedTo(MicrosoftGraphScheduleChangeRequestActor assignedTo)Parameters:
withCreatedDateTime
public MicrosoftGraphTimeOffRequest 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:
MicrosoftGraphTimeOffRequest.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withEndDateTime
public MicrosoftGraphTimeOffRequest withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime 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'.
Parameters:
Returns:
withId
public MicrosoftGraphTimeOffRequest withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTimeOffRequest.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphTimeOffRequest withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphTimeOffRequest.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphTimeOffRequest 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:
MicrosoftGraphTimeOffRequest.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withManagerActionDateTime
public MicrosoftGraphTimeOffRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Set the managerActionDateTime property: The managerActionDateTime property.
Overrides:
MicrosoftGraphTimeOffRequest.withManagerActionDateTime(OffsetDateTime managerActionDateTime)Parameters:
withManagerActionMessage
public MicrosoftGraphTimeOffRequest withManagerActionMessage(String managerActionMessage)
Set the managerActionMessage property: The managerActionMessage property.
Overrides:
MicrosoftGraphTimeOffRequest.withManagerActionMessage(String managerActionMessage)Parameters:
withManagerUserId
public MicrosoftGraphTimeOffRequest withManagerUserId(String managerUserId)
Set the managerUserId property: The managerUserId property.
Overrides:
MicrosoftGraphTimeOffRequest.withManagerUserId(String managerUserId)Parameters:
withSenderDateTime
public MicrosoftGraphTimeOffRequest withSenderDateTime(OffsetDateTime senderDateTime)
Set the senderDateTime property: The senderDateTime property.
Overrides:
MicrosoftGraphTimeOffRequest.withSenderDateTime(OffsetDateTime senderDateTime)Parameters:
withSenderMessage
public MicrosoftGraphTimeOffRequest withSenderMessage(String senderMessage)
Set the senderMessage property: The senderMessage property.
Overrides:
MicrosoftGraphTimeOffRequest.withSenderMessage(String senderMessage)Parameters:
withSenderUserId
public MicrosoftGraphTimeOffRequest withSenderUserId(String senderUserId)
Set the senderUserId property: The senderUserId property.
Overrides:
MicrosoftGraphTimeOffRequest.withSenderUserId(String senderUserId)Parameters:
withStartDateTime
public MicrosoftGraphTimeOffRequest withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime 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'.
Parameters:
Returns:
withState
public MicrosoftGraphTimeOffRequest withState(MicrosoftGraphScheduleChangeState state)
Set the state property: scheduleChangeState.
Overrides:
MicrosoftGraphTimeOffRequest.withState(MicrosoftGraphScheduleChangeState state)Parameters:
withTimeOffReasonId
public MicrosoftGraphTimeOffRequest withTimeOffReasonId(String timeOffReasonId)
Set the timeOffReasonId property: The reason for the time off.
Parameters:
Returns:
Applies to
Azure SDK for Java