Class Team

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Team
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • Team

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

    • createFromDiscriminatorValue

      @Nonnull public static Team 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 Team
    • getAllChannels

      @Nullable public List<Channel> getAllChannels()
      Gets the allChannels property value. List of channels either hosted in or shared with the team (incoming channels).
      Returns:
      a List<Channel>
    • getChannels

      @Nullable public List<Channel> getChannels()
      Gets the channels property value. The collection of channels and messages associated with the team.
      Returns:
      a List<Channel>
    • getClassification

      @Nullable public String getClassification()
      Gets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory.
      Returns:
      a String
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Timestamp at which the team was created.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. An optional description for the team. Maximum length: 1,024 characters.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the team.
      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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFirstChannelName

      @Nullable public String getFirstChannelName()
      Gets the firstChannelName property value. The firstChannelName property
      Returns:
      a String
    • getFunSettings

      @Nullable public TeamFunSettings getFunSettings()
      Gets the funSettings property value. Settings to configure use of Giphy, memes, and stickers in the team.
      Returns:
      a TeamFunSettings
    • getGroup

      @Nullable public Group getGroup()
      Gets the group property value. The group property
      Returns:
      a Group
    • getGuestSettings

      @Nullable public TeamGuestSettings getGuestSettings()
      Gets the guestSettings property value. Settings to configure whether guests can create, update, or delete channels in the team.
      Returns:
      a TeamGuestSettings
    • getIncomingChannels

      @Nullable public List<Channel> getIncomingChannels()
      Gets the incomingChannels property value. List of channels shared with the team.
      Returns:
      a List<Channel>
    • getInstalledApps

      @Nullable public List<TeamsAppInstallation> getInstalledApps()
      Gets the installedApps property value. The apps installed in this team.
      Returns:
      a List<TeamsAppInstallation>
    • getInternalId

      @Nullable public String getInternalId()
      Gets the internalId property value. A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API.
      Returns:
      a String
    • getIsArchived

      @Nullable public Boolean getIsArchived()
      Gets the isArchived property value. Whether this team is in read-only mode.
      Returns:
      a Boolean
    • getMembers

      @Nullable public List<ConversationMember> getMembers()
      Gets the members property value. Members and owners of the team.
      Returns:
      a List<ConversationMember>
    • getMemberSettings

      @Nullable public TeamMemberSettings getMemberSettings()
      Gets the memberSettings property value. Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team.
      Returns:
      a TeamMemberSettings
    • getMessagingSettings

      @Nullable public TeamMessagingSettings getMessagingSettings()
      Gets the messagingSettings property value. Settings to configure messaging and mentions in the team.
      Returns:
      a TeamMessagingSettings
    • getOperations

      @Nullable public List<TeamsAsyncOperation> getOperations()
      Gets the operations property value. The async operations that ran or are running on this team.
      Returns:
      a List<TeamsAsyncOperation>
    • getPermissionGrants

      @Nullable public List<ResourceSpecificPermissionGrant> getPermissionGrants()
      Gets the permissionGrants property value. A collection of permissions granted to apps to access the team.
      Returns:
      a List<ResourceSpecificPermissionGrant>
    • getPhoto

      @Nullable public ProfilePhoto getPhoto()
      Gets the photo property value. The profile photo for the team.
      Returns:
      a ProfilePhoto
    • getPrimaryChannel

      @Nullable public Channel getPrimaryChannel()
      Gets the primaryChannel property value. The general channel for the team.
      Returns:
      a Channel
    • getSchedule

      @Nullable public Schedule getSchedule()
      Gets the schedule property value. The schedule of shifts for this team.
      Returns:
      a Schedule
    • getSpecialization

      @Nullable public TeamSpecialization getSpecialization()
      Gets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case.
      Returns:
      a TeamSpecialization
    • getSummary

      @Nullable public TeamSummary getSummary()
      Gets the summary property value. Contains summary information about the team, including number of owners, members, and guests.
      Returns:
      a TeamSummary
    • getTags

      @Nullable public List<TeamworkTag> getTags()
      Gets the tags property value. The tags associated with the team.
      Returns:
      a List<TeamworkTag>
    • getTemplate

      @Nullable public TeamsTemplate getTemplate()
      Gets the template property value. The template this team was created from. See available templates.
      Returns:
      a TeamsTemplate
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. The ID of the Microsoft Entra tenant.
      Returns:
      a String
    • getVisibility

      @Nullable public TeamVisibilityType getVisibility()
      Gets the visibility property value. The visibility of the group and team. Defaults to Public.
      Returns:
      a TeamVisibilityType
    • getWebUrl

      @Nullable public String getWebUrl()
      Gets the webUrl property value. A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.
      Returns:
      a 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAllChannels

      public void setAllChannels(@Nullable List<Channel> value)
      Sets the allChannels property value. List of channels either hosted in or shared with the team (incoming channels).
      Parameters:
      value - Value to set for the allChannels property.
    • setChannels

      public void setChannels(@Nullable List<Channel> value)
      Sets the channels property value. The collection of channels and messages associated with the team.
      Parameters:
      value - Value to set for the channels property.
    • setClassification

      public void setClassification(@Nullable String value)
      Sets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory.
      Parameters:
      value - Value to set for the classification property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Timestamp at which the team was created.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. An optional description for the team. Maximum length: 1,024 characters.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the team.
      Parameters:
      value - Value to set for the displayName property.
    • setFirstChannelName

      public void setFirstChannelName(@Nullable String value)
      Sets the firstChannelName property value. The firstChannelName property
      Parameters:
      value - Value to set for the firstChannelName property.
    • setFunSettings

      public void setFunSettings(@Nullable TeamFunSettings value)
      Sets the funSettings property value. Settings to configure use of Giphy, memes, and stickers in the team.
      Parameters:
      value - Value to set for the funSettings property.
    • setGroup

      public void setGroup(@Nullable Group value)
      Sets the group property value. The group property
      Parameters:
      value - Value to set for the group property.
    • setGuestSettings

      public void setGuestSettings(@Nullable TeamGuestSettings value)
      Sets the guestSettings property value. Settings to configure whether guests can create, update, or delete channels in the team.
      Parameters:
      value - Value to set for the guestSettings property.
    • setIncomingChannels

      public void setIncomingChannels(@Nullable List<Channel> value)
      Sets the incomingChannels property value. List of channels shared with the team.
      Parameters:
      value - Value to set for the incomingChannels property.
    • setInstalledApps

      public void setInstalledApps(@Nullable List<TeamsAppInstallation> value)
      Sets the installedApps property value. The apps installed in this team.
      Parameters:
      value - Value to set for the installedApps property.
    • setInternalId

      public void setInternalId(@Nullable String value)
      Sets the internalId property value. A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API.
      Parameters:
      value - Value to set for the internalId property.
    • setIsArchived

      public void setIsArchived(@Nullable Boolean value)
      Sets the isArchived property value. Whether this team is in read-only mode.
      Parameters:
      value - Value to set for the isArchived property.
    • setMembers

      public void setMembers(@Nullable List<ConversationMember> value)
      Sets the members property value. Members and owners of the team.
      Parameters:
      value - Value to set for the members property.
    • setMemberSettings

      public void setMemberSettings(@Nullable TeamMemberSettings value)
      Sets the memberSettings property value. Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team.
      Parameters:
      value - Value to set for the memberSettings property.
    • setMessagingSettings

      public void setMessagingSettings(@Nullable TeamMessagingSettings value)
      Sets the messagingSettings property value. Settings to configure messaging and mentions in the team.
      Parameters:
      value - Value to set for the messagingSettings property.
    • setOperations

      public void setOperations(@Nullable List<TeamsAsyncOperation> value)
      Sets the operations property value. The async operations that ran or are running on this team.
      Parameters:
      value - Value to set for the operations property.
    • setPermissionGrants

      public void setPermissionGrants(@Nullable List<ResourceSpecificPermissionGrant> value)
      Sets the permissionGrants property value. A collection of permissions granted to apps to access the team.
      Parameters:
      value - Value to set for the permissionGrants property.
    • setPhoto

      public void setPhoto(@Nullable ProfilePhoto value)
      Sets the photo property value. The profile photo for the team.
      Parameters:
      value - Value to set for the photo property.
    • setPrimaryChannel

      public void setPrimaryChannel(@Nullable Channel value)
      Sets the primaryChannel property value. The general channel for the team.
      Parameters:
      value - Value to set for the primaryChannel property.
    • setSchedule

      public void setSchedule(@Nullable Schedule value)
      Sets the schedule property value. The schedule of shifts for this team.
      Parameters:
      value - Value to set for the schedule property.
    • setSpecialization

      public void setSpecialization(@Nullable TeamSpecialization value)
      Sets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case.
      Parameters:
      value - Value to set for the specialization property.
    • setSummary

      public void setSummary(@Nullable TeamSummary value)
      Sets the summary property value. Contains summary information about the team, including number of owners, members, and guests.
      Parameters:
      value - Value to set for the summary property.
    • setTags

      public void setTags(@Nullable List<TeamworkTag> value)
      Sets the tags property value. The tags associated with the team.
      Parameters:
      value - Value to set for the tags property.
    • setTemplate

      public void setTemplate(@Nullable TeamsTemplate value)
      Sets the template property value. The template this team was created from. See available templates.
      Parameters:
      value - Value to set for the template property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. The ID of the Microsoft Entra tenant.
      Parameters:
      value - Value to set for the tenantId property.
    • setVisibility

      public void setVisibility(@Nullable TeamVisibilityType value)
      Sets the visibility property value. The visibility of the group and team. Defaults to Public.
      Parameters:
      value - Value to set for the visibility property.
    • setWebUrl

      public void setWebUrl(@Nullable String value)
      Sets the webUrl property value. A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.
      Parameters:
      value - Value to set for the webUrl property.