Package com.microsoft.graph.models
Class Teamwork
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Teamwork
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Teamwork
extends Entity
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 Teamwork
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deletedChats property value.Gets the deletedTeams property value.The deserialization information for the current modelGets the isTeamsEnabled property value.Gets the region property value.Gets the teamsAppSettings property value.Gets the workforceIntegrations property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDeletedChats
(List<DeletedChat> value) Sets the deletedChats property value.void
setDeletedTeams
(List<DeletedTeam> value) Sets the deletedTeams property value.void
setIsTeamsEnabled
(Boolean value) Sets the isTeamsEnabled property value.void
Sets the region property value.void
Sets the teamsAppSettings property value.void
Sets the workforceIntegrations property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Teamwork
public Teamwork()Instantiates a newTeamwork
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Teamwork 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
Teamwork
-
getDeletedChats
Gets the deletedChats property value. A collection of deleted chats.- Returns:
- a
List<DeletedChat>
-
getDeletedTeams
Gets the deletedTeams property value. The deleted team.- Returns:
- a
List<DeletedTeam>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsTeamsEnabled
Gets the isTeamsEnabled property value. Indicates whether Microsoft Teams is enabled for the organization.- Returns:
- a
Boolean
-
getRegion
Gets the region property value. Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.- Returns:
- a
String
-
getTeamsAppSettings
Gets the teamsAppSettings property value. Represents tenant-wide settings for all Teams apps in the tenant.- Returns:
- a
TeamsAppSettings
-
getWorkforceIntegrations
Gets the workforceIntegrations property value. The workforceIntegrations property- Returns:
- a
List<WorkforceIntegration>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDeletedChats
Sets the deletedChats property value. A collection of deleted chats.- Parameters:
value
- Value to set for the deletedChats property.
-
setDeletedTeams
Sets the deletedTeams property value. The deleted team.- Parameters:
value
- Value to set for the deletedTeams property.
-
setIsTeamsEnabled
Sets the isTeamsEnabled property value. Indicates whether Microsoft Teams is enabled for the organization.- Parameters:
value
- Value to set for the isTeamsEnabled property.
-
setRegion
Sets the region property value. Represents the region of the organization or the tenant. The region value can be any region supported by the Teams payload. The possible values are: Americas, Europe and MiddleEast, Asia Pacific, UAE, Australia, Brazil, Canada, Switzerland, Germany, France, India, Japan, South Korea, Norway, Singapore, United Kingdom, South Africa, Sweden, Qatar, Poland, Italy, Israel, Spain, Mexico, USGov Community Cloud, USGov Community Cloud High, USGov Department of Defense, and China.- Parameters:
value
- Value to set for the region property.
-
setTeamsAppSettings
Sets the teamsAppSettings property value. Represents tenant-wide settings for all Teams apps in the tenant.- Parameters:
value
- Value to set for the teamsAppSettings property.
-
setWorkforceIntegrations
Sets the workforceIntegrations property value. The workforceIntegrations property- Parameters:
value
- Value to set for the workforceIntegrations property.
-