Class MicrosoftGraphTimeOffReason
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTimeOffReason
timeOffReason.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTimeOffReason class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: timeOffReason.Get the displayName property: The name of the timeOffReason.iconType()Get the iconType property: timeOffReasonIconType.isActive()Get the isActive property: Indicates whether the timeOffReason can be used when creating new entities or updating existing ones.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: timeOffReason.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.withDisplayName(String displayName) Set the displayName property: The name of the timeOffReason.Set the iconType property: timeOffReasonIconType.Set the id property: Read-only.withIsActive(Boolean isActive) Set the isActive property: Indicates whether the timeOffReason can be used when creating new entities or updating existing ones.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.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
-
MicrosoftGraphTimeOffReason
public MicrosoftGraphTimeOffReason()Creates an instance of MicrosoftGraphTimeOffReason class.
-
-
Method Details
-
displayName
Get the displayName property: The name of the timeOffReason. Required.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the timeOffReason. Required.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphTimeOffReason object itself.
-
iconType
Get the iconType property: timeOffReasonIconType.- Returns:
- the iconType value.
-
withIconType
Set the iconType property: timeOffReasonIconType.- Parameters:
iconType- the iconType value to set.- Returns:
- the MicrosoftGraphTimeOffReason object itself.
-
isActive
Get the isActive property: Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required.- Returns:
- the isActive value.
-
withIsActive
Set the isActive property: Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required.- Parameters:
isActive- the isActive value to set.- Returns:
- the MicrosoftGraphTimeOffReason object itself.
-
additionalProperties
Get the additionalProperties property: timeOffReason.- Overrides:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTimeOffReason withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: timeOffReason.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTimeOffReason 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.
-