Class MicrosoftGraphShiftPreferencesInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChangeTrackedEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftPreferencesInner
-
public final class MicrosoftGraphShiftPreferencesInner extends MicrosoftGraphChangeTrackedEntity
shiftPreferences.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphShiftPreferencesInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: shiftPreferences.List<MicrosoftGraphShiftAvailability>
availability()
Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern.void
validate()
Validates the instance.MicrosoftGraphShiftPreferencesInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shiftPreferences.MicrosoftGraphShiftPreferencesInner
withAvailability(List<MicrosoftGraphShiftAvailability> availability)
Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern.MicrosoftGraphShiftPreferencesInner
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.MicrosoftGraphShiftPreferencesInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphShiftPreferencesInner
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.MicrosoftGraphShiftPreferencesInner
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, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
availability
public List<MicrosoftGraphShiftAvailability> availability()
Get the availability property: Availability of the user to be scheduled for work and its recurrence pattern.- Returns:
- the availability value.
-
withAvailability
public MicrosoftGraphShiftPreferencesInner 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 MicrosoftGraphShiftPreferencesInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: shiftPreferences.- Overrides:
additionalProperties
in classMicrosoftGraphChangeTrackedEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShiftPreferencesInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shiftPreferences.- Overrides:
withAdditionalProperties
in classMicrosoftGraphChangeTrackedEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShiftPreferencesInner object itself.
-
withCreatedDateTime
public MicrosoftGraphShiftPreferencesInner 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:
withCreatedDateTime
in classMicrosoftGraphChangeTrackedEntity
- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedBy
public MicrosoftGraphShiftPreferencesInner withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedBy
in classMicrosoftGraphChangeTrackedEntity
- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withLastModifiedDateTime
public MicrosoftGraphShiftPreferencesInner 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:
withLastModifiedDateTime
in classMicrosoftGraphChangeTrackedEntity
- Parameters:
lastModifiedDateTime
- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphChangeTrackedEntity object itself.
-
withId
public MicrosoftGraphShiftPreferencesInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphChangeTrackedEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphChangeTrackedEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-