Class SchedulingGroup

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SchedulingGroup extends ChangeTrackedEntity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • SchedulingGroup

      public SchedulingGroup()
      Instantiates a new SchedulingGroup and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SchedulingGroup createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a SchedulingGroup
    • getCode

      @Nullable public String getCode()
      Gets the code property value. The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name for the schedulingGroup. Required.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class ChangeTrackedEntity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsActive

      @Nullable public Boolean getIsActive()
      Gets the isActive property value. Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.
      Returns:
      a Boolean
    • getUserIds

      @Nullable public List<String> getUserIds()
      Gets the userIds property value. The list of user IDs that are a member of the schedulingGroup. Required.
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class ChangeTrackedEntity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCode

      public void setCode(@Nullable String value)
      Sets the code property value. The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters.
      Parameters:
      value - Value to set for the code property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name for the schedulingGroup. Required.
      Parameters:
      value - Value to set for the displayName property.
    • setIsActive

      public void setIsActive(@Nullable Boolean value)
      Sets the isActive property value. Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.
      Parameters:
      value - Value to set for the isActive property.
    • setUserIds

      public void setUserIds(@Nullable List<String> value)
      Sets the userIds property value. The list of user IDs that are a member of the schedulingGroup. Required.
      Parameters:
      value - Value to set for the userIds property.