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
  • Constructor Details

    • Teamwork

      public Teamwork()
      Instantiates a new Teamwork 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

      @Nullable public List<DeletedChat> getDeletedChats()
      Gets the deletedChats property value. A collection of deleted chats.
      Returns:
      a List<DeletedChat>
    • getDeletedTeams

      @Nullable public List<DeletedTeam> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsTeamsEnabled

      @Nullable public Boolean getIsTeamsEnabled()
      Gets the isTeamsEnabled property value. Indicates whether Microsoft Teams is enabled for the organization.
      Returns:
      a Boolean
    • getRegion

      @Nullable public String 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

      @Nullable public TeamsAppSettings getTeamsAppSettings()
      Gets the teamsAppSettings property value. Represents tenant-wide settings for all Teams apps in the tenant.
      Returns:
      a TeamsAppSettings
    • getWorkforceIntegrations

      @Nullable public List<WorkforceIntegration> 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeletedChats

      public void setDeletedChats(@Nullable List<DeletedChat> value)
      Sets the deletedChats property value. A collection of deleted chats.
      Parameters:
      value - Value to set for the deletedChats property.
    • setDeletedTeams

      public void setDeletedTeams(@Nullable List<DeletedTeam> value)
      Sets the deletedTeams property value. The deleted team.
      Parameters:
      value - Value to set for the deletedTeams property.
    • setIsTeamsEnabled

      public void setIsTeamsEnabled(@Nullable Boolean value)
      Sets the isTeamsEnabled property value. Indicates whether Microsoft Teams is enabled for the organization.
      Parameters:
      value - Value to set for the isTeamsEnabled property.
    • setRegion

      public void setRegion(@Nullable String value)
      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

      public void setTeamsAppSettings(@Nullable TeamsAppSettings value)
      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

      public void setWorkforceIntegrations(@Nullable List<WorkforceIntegration> value)
      Sets the workforceIntegrations property value. The workforceIntegrations property
      Parameters:
      value - Value to set for the workforceIntegrations property.