Package com.microsoft.graph.models
Class SchedulingGroup
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulingGroupcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetCode()Gets the code property value.Gets the displayName property value.The deserialization information for the current modelGets the isActive property value.Gets the userIds property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the code property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetIsActive(Boolean value) Sets the isActive property value.voidsetUserIds(List<String> value) Sets the userIds property value.Methods inherited from class com.microsoft.graph.models.ChangeTrackedEntity
getCreatedBy, getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setCreatedDateTime, setLastModifiedBy, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SchedulingGroup
public SchedulingGroup()Instantiates a newSchedulingGroupand 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
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classChangeTrackedEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the userIds property value. The list of user IDs that are a member of the schedulingGroup. Required. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classChangeTrackedEntity- Parameters:
writer- Serialization writer to use to serialize this model
-
setCode
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
Sets the displayName property value. The display name for the schedulingGroup. Required.- Parameters:
value- Value to set for the displayName property.
-
setIsActive
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
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.
-