Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Team
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the allChannels property value.Gets the channels property value.Gets the classification property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the firstChannelName property value.Gets the funSettings property value.getGroup()
Gets the group property value.Gets the guestSettings property value.Gets the incomingChannels property value.Gets the installedApps property value.Gets the internalId property value.Gets the isArchived property value.Gets the members property value.Gets the memberSettings property value.Gets the messagingSettings property value.Gets the operations property value.Gets the permissionGrants property value.getPhoto()
Gets the photo property value.Gets the primaryChannel property value.Gets the schedule property value.Gets the specialization property value.Gets the summary property value.getTags()
Gets the tags property value.Gets the template property value.Gets the tenantId property value.Gets the visibility property value.Gets the webUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAllChannels
(List<Channel> value) Sets the allChannels property value.void
setChannels
(List<Channel> value) Sets the channels property value.void
setClassification
(String value) Sets the classification property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setFirstChannelName
(String value) Sets the firstChannelName property value.void
setFunSettings
(TeamFunSettings value) Sets the funSettings property value.void
Sets the group property value.void
Sets the guestSettings property value.void
setIncomingChannels
(List<Channel> value) Sets the incomingChannels property value.void
setInstalledApps
(List<TeamsAppInstallation> value) Sets the installedApps property value.void
setInternalId
(String value) Sets the internalId property value.void
setIsArchived
(Boolean value) Sets the isArchived property value.void
setMembers
(List<ConversationMember> value) Sets the members property value.void
Sets the memberSettings property value.void
Sets the messagingSettings property value.void
setOperations
(List<TeamsAsyncOperation> value) Sets the operations property value.void
Sets the permissionGrants property value.void
setPhoto
(ProfilePhoto value) Sets the photo property value.void
setPrimaryChannel
(Channel value) Sets the primaryChannel property value.void
setSchedule
(Schedule value) Sets the schedule property value.void
Sets the specialization property value.void
setSummary
(TeamSummary value) Sets the summary property value.void
setTags
(List<TeamworkTag> value) Sets the tags property value.void
setTemplate
(TeamsTemplate value) Sets the template property value.void
setTenantId
(String value) Sets the tenantId property value.void
setVisibility
(TeamVisibilityType value) Sets the visibility property value.void
Sets the webUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Team
public Team()Instantiates a newTeam
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
Gets the allChannels property value. List of channels either hosted in or shared with the team (incoming channels). -
getChannels
Gets the channels property value. The collection of channels and messages associated with the team. -
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
Gets the createdDateTime property value. Timestamp at which the team was created.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. An optional description for the team. Maximum length: 1,024 characters.- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFirstChannelName
Gets the firstChannelName property value. The name of the first channel in the team. This is an optional property, only used during team creation and isn't returned in methods to get and list teams.- Returns:
- a
String
-
getFunSettings
Gets the funSettings property value. Settings to configure use of Giphy, memes, and stickers in the team.- Returns:
- a
TeamFunSettings
-
getGroup
Gets the group property value. The group property- Returns:
- a
Group
-
getGuestSettings
Gets the guestSettings property value. Settings to configure whether guests can create, update, or delete channels in the team.- Returns:
- a
TeamGuestSettings
-
getIncomingChannels
Gets the incomingChannels property value. List of channels shared with the team. -
getInstalledApps
Gets the installedApps property value. The apps installed in this team.- Returns:
- a
List<TeamsAppInstallation>
-
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
Gets the isArchived property value. Whether this team is in read-only mode.- Returns:
- a
Boolean
-
getMembers
Gets the members property value. Members and owners of the team.- Returns:
- a
List<ConversationMember>
-
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
Gets the messagingSettings property value. Settings to configure messaging and mentions in the team.- Returns:
- a
TeamMessagingSettings
-
getOperations
Gets the operations property value. The async operations that ran or are running on this team.- Returns:
- a
List<TeamsAsyncOperation>
-
getPermissionGrants
Gets the permissionGrants property value. A collection of permissions granted to apps to access the team.- Returns:
- a
List<ResourceSpecificPermissionGrant>
-
getPhoto
Gets the photo property value. The profile photo for the team.- Returns:
- a
ProfilePhoto
-
getPrimaryChannel
Gets the primaryChannel property value. The general channel for the team.- Returns:
- a
Channel
-
getSchedule
Gets the schedule property value. The schedule of shifts for this team.- Returns:
- a
Schedule
-
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
Gets the summary property value. Contains summary information about the team, including number of owners, members, and guests.- Returns:
- a
TeamSummary
-
getTags
Gets the tags property value. The tags associated with the team.- Returns:
- a
List<TeamworkTag>
-
getTemplate
Gets the template property value. The template this team was created from. See available templates.- Returns:
- a
TeamsTemplate
-
getTenantId
Gets the tenantId property value. The ID of the Microsoft Entra tenant.- Returns:
- a
String
-
getVisibility
Gets the visibility property value. The visibility of the group and team. Defaults to Public.- Returns:
- a
TeamVisibilityType
-
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 -
setAllChannels
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
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
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
Sets the createdDateTime property value. Timestamp at which the team was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
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
Sets the displayName property value. The name of the team.- Parameters:
value
- Value to set for the displayName property.
-
setFirstChannelName
Sets the firstChannelName property value. The name of the first channel in the team. This is an optional property, only used during team creation and isn't returned in methods to get and list teams.- Parameters:
value
- Value to set for the firstChannelName property.
-
setFunSettings
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
Sets the group property value. The group property- Parameters:
value
- Value to set for the group property.
-
setGuestSettings
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
Sets the incomingChannels property value. List of channels shared with the team.- Parameters:
value
- Value to set for the incomingChannels property.
-
setInstalledApps
Sets the installedApps property value. The apps installed in this team.- Parameters:
value
- Value to set for the installedApps property.
-
setInternalId
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
Sets the isArchived property value. Whether this team is in read-only mode.- Parameters:
value
- Value to set for the isArchived property.
-
setMembers
Sets the members property value. Members and owners of the team.- Parameters:
value
- Value to set for the members property.
-
setMemberSettings
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
Sets the messagingSettings property value. Settings to configure messaging and mentions in the team.- Parameters:
value
- Value to set for the messagingSettings property.
-
setOperations
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
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
Sets the photo property value. The profile photo for the team.- Parameters:
value
- Value to set for the photo property.
-
setPrimaryChannel
Sets the primaryChannel property value. The general channel for the team.- Parameters:
value
- Value to set for the primaryChannel property.
-
setSchedule
Sets the schedule property value. The schedule of shifts for this team.- Parameters:
value
- Value to set for the schedule property.
-
setSpecialization
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
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
Sets the tags property value. The tags associated with the team.- Parameters:
value
- Value to set for the tags property.
-
setTemplate
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
Sets the tenantId property value. The ID of the Microsoft Entra tenant.- Parameters:
value
- Value to set for the tenantId property.
-
setVisibility
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
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.
-