Class MicrosoftGraphShiftPreferences
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftPreferences
shiftPreferences.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphShiftPreferences class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: shiftPreferences.Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftPreferences.withAvailability(List<MicrosoftGraphShiftAvailability> availability) Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern.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.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
-
MicrosoftGraphShiftPreferences
public MicrosoftGraphShiftPreferences()Creates an instance of MicrosoftGraphShiftPreferences class.
-
-
Method Details
-
availability
Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern.- Returns:
- the availability value.
-
withAvailability
public MicrosoftGraphShiftPreferences withAvailability(List<MicrosoftGraphShiftAvailability> availability) Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern.- Parameters:
availability- the availability value to set.- Returns:
- the MicrosoftGraphShiftPreferences object itself.
-
additionalProperties
Get the additionalProperties property: shiftPreferences.- Overrides:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShiftPreferences withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftPreferences.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShiftPreferences 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.
-