Class MicrosoftGraphShiftActivity

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphShiftActivity

public final class MicrosoftGraphShiftActivity extends Object
shiftActivity.
  • Constructor Details

    • MicrosoftGraphShiftActivity

      public MicrosoftGraphShiftActivity()
      Creates an instance of MicrosoftGraphShiftActivity class.
  • Method Details

    • code

      public String code()
      Get the code property: Customer defined code for the shiftActivity. Required.
      Returns:
      the code value.
    • withCode

      public MicrosoftGraphShiftActivity withCode(String code)
      Set the code property: Customer defined code for the shiftActivity. Required.
      Parameters:
      code - the code value to set.
      Returns:
      the MicrosoftGraphShiftActivity object itself.
    • displayName

      public String displayName()
      Get the displayName property: The name of the shiftActivity. Required.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphShiftActivity withDisplayName(String displayName)
      Set the displayName property: The name of the shiftActivity. Required.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphShiftActivity object itself.
    • endDateTime

      public OffsetDateTime 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

      public MicrosoftGraphShiftActivity withEndDateTime(OffsetDateTime endDateTime)
      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

      public Boolean 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

      public MicrosoftGraphShiftActivity withIsPaid(Boolean isPaid)
      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

      public OffsetDateTime 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

      public MicrosoftGraphShiftActivity withStartDateTime(OffsetDateTime startDateTime)
      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

      public Map<String,Object> 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.