Class MicrosoftGraphShiftActivity
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftActivity
shiftActivity.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphShiftActivity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: shiftActivity.code()Get the code property: Customer defined code for the shiftActivity.Get the displayName property: The name of the shiftActivity.Get the endDateTime property: The end date and time for the shiftActivity.isPaid()Get the isPaid property: Indicates whether the microsoft.graph.user should be paid for the activity during their shift.Get the startDateTime property: The start date and time for the shiftActivity.theme()Get the theme property: scheduleEntityTheme.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftActivity.Set the code property: Customer defined code for the shiftActivity.withDisplayName(String displayName) Set the displayName property: The name of the shiftActivity.withEndDateTime(OffsetDateTime endDateTime) Set the endDateTime property: The end date and time for the shiftActivity.withIsPaid(Boolean isPaid) Set the isPaid property: Indicates whether the microsoft.graph.user should be paid for the activity during their shift.withStartDateTime(OffsetDateTime startDateTime) Set the startDateTime property: The start date and time for the shiftActivity.Set the theme property: scheduleEntityTheme.
-
Constructor Details
-
MicrosoftGraphShiftActivity
public MicrosoftGraphShiftActivity()Creates an instance of MicrosoftGraphShiftActivity class.
-
-
Method Details
-
code
Get the code property: Customer defined code for the shiftActivity. Required.- Returns:
- the code value.
-
withCode
Set the code property: Customer defined code for the shiftActivity. Required.- Parameters:
code- the code value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
displayName
Get the displayName property: The name of the shiftActivity. Required.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the shiftActivity. Required.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
endDateTime
Get the endDateTime property: The end date and time for the shiftActivity. 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'. Required.- Returns:
- the endDateTime value.
-
withEndDateTime
Set the endDateTime property: The end date and time for the shiftActivity. 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'. Required.- Parameters:
endDateTime- the endDateTime value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
isPaid
Get the isPaid property: Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required.- Returns:
- the isPaid value.
-
withIsPaid
Set the isPaid property: Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required.- Parameters:
isPaid- the isPaid value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
startDateTime
Get the startDateTime property: The start date and time for the shiftActivity. 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'. Required.- Returns:
- the startDateTime value.
-
withStartDateTime
Set the startDateTime property: The start date and time for the shiftActivity. 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'. Required.- Parameters:
startDateTime- the startDateTime value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
theme
Get the theme property: scheduleEntityTheme.- Returns:
- the theme value.
-
withTheme
Set the theme property: scheduleEntityTheme.- Parameters:
theme- the theme value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
additionalProperties
Get the additionalProperties property: shiftActivity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphShiftActivity withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: shiftActivity.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphShiftActivity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-