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.voidvalidate()Validates the instance.MicrosoftGraphShiftPreferencesInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: shiftPreferences.MicrosoftGraphShiftPreferencesInnerwithAvailability(List<MicrosoftGraphShiftAvailability> availability)Set the availability property: Availability of the user to be scheduled for work and its recurrence pattern.MicrosoftGraphShiftPreferencesInnerwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphShiftPreferencesInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphShiftPreferencesInnerwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphShiftPreferencesInnerwithLastModifiedDateTime(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:
additionalPropertiesin classMicrosoftGraphChangeTrackedEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShiftPreferencesInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: shiftPreferences.- Overrides:
withAdditionalPropertiesin 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:
withCreatedDateTimein 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:
withLastModifiedByin 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:
withLastModifiedDateTimein 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:
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.
-
-