Class MicrosoftGraphTimeOff
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeOff
timeOff.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: timeOff.Get the draftTimeOff property: timeOffItem.Get the sharedTimeOff property: timeOffItem.userId()Get the userId property: ID of the user assigned to the timeOff.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: timeOff.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.withDraftTimeOff(MicrosoftGraphTimeOffItem draftTimeOff) Set the draftTimeOff property: timeOffItem.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.withSharedTimeOff(MicrosoftGraphTimeOffItem sharedTimeOff) Set the sharedTimeOff property: timeOffItem.withUserId(String userId) Set the userId property: ID of the user assigned to the timeOff.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
-
MicrosoftGraphTimeOff
public MicrosoftGraphTimeOff()Creates an instance of MicrosoftGraphTimeOff class.
-
-
Method Details
-
draftTimeOff
Get the draftTimeOff property: timeOffItem.- Returns:
- the draftTimeOff value.
-
withDraftTimeOff
Set the draftTimeOff property: timeOffItem.- Parameters:
draftTimeOff- the draftTimeOff value to set.- Returns:
- the MicrosoftGraphTimeOff object itself.
-
userId
Get the userId property: ID of the user assigned to the timeOff. Required.- Returns:
- the userId value.
-
withUserId
Set the userId property: ID of the user assigned to the timeOff. Required.- Parameters:
userId- the userId value to set.- Returns:
- the MicrosoftGraphTimeOff object itself.
-
additionalProperties
Get the additionalProperties property: timeOff.- Overrides:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: timeOff.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTimeOff 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.
-