MicrosoftGraphTeamInner Class

public final class MicrosoftGraphTeamInner
extends MicrosoftGraphEntity

team.

Constructor Summary

Constructor Description
MicrosoftGraphTeamInner()

Creates an instance of MicrosoftGraphTeamInner class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: team.

List<MicrosoftGraphChannel> channels()

Get the channels property: The collection of channels & messages associated with the team.

String classification()

Get the classification property: An optional label.

String description()

Get the description property: An optional description for the team.

String displayName()

Get the displayName property: The name of the team.

static MicrosoftGraphTeamInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamInner from the JsonReader.

MicrosoftGraphTeamFunSettings funSettings()

Get the funSettings property: teamFunSettings.

MicrosoftGraphGroupInner group()

Get the group property: Represents an Azure Active Directory object.

MicrosoftGraphTeamGuestSettings guestSettings()

Get the guestSettings property: teamGuestSettings.

List<MicrosoftGraphTeamsAppInstallation> installedApps()

Get the installedApps property: The apps installed in this team.

String internalId()

Get the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.

Boolean isArchived()

Get the isArchived property: Whether this team is in read-only mode.

MicrosoftGraphTeamMemberSettings memberSettings()

Get the memberSettings property: teamMemberSettings.

List<MicrosoftGraphConversationMember> members()

Get the members property: Members and owners of the team.

MicrosoftGraphTeamMessagingSettings messagingSettings()

Get the messagingSettings property: teamMessagingSettings.

List<MicrosoftGraphTeamsAsyncOperation> operations()

Get the operations property: The async operations that ran or are running on this team.

MicrosoftGraphChannel primaryChannel()

Get the primaryChannel property: channel.

MicrosoftGraphSchedule schedule()

Get the schedule property: schedule.

MicrosoftGraphTeamSpecialization specialization()

Get the specialization property: teamSpecialization.

MicrosoftGraphTeamsTemplate template()

Get the template property: teamsTemplate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamVisibilityType visibility()

Get the visibility property: teamVisibilityType.

String webUrl()

Get the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client.

MicrosoftGraphTeamInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: team.

MicrosoftGraphTeamInner withChannels(List<MicrosoftGraphChannel> channels)

Set the channels property: The collection of channels & messages associated with the team.

MicrosoftGraphTeamInner withClassification(String classification)

Set the classification property: An optional label.

MicrosoftGraphTeamInner withDescription(String description)

Set the description property: An optional description for the team.

MicrosoftGraphTeamInner withDisplayName(String displayName)

Set the displayName property: The name of the team.

MicrosoftGraphTeamInner withFunSettings(MicrosoftGraphTeamFunSettings funSettings)

Set the funSettings property: teamFunSettings.

MicrosoftGraphTeamInner withGroup(MicrosoftGraphGroupInner group)

Set the group property: Represents an Azure Active Directory object.

MicrosoftGraphTeamInner withGuestSettings(MicrosoftGraphTeamGuestSettings guestSettings)

Set the guestSettings property: teamGuestSettings.

MicrosoftGraphTeamInner withId(String id)

Set the id property: Read-only.

MicrosoftGraphTeamInner withInstalledApps(List<MicrosoftGraphTeamsAppInstallation> installedApps)

Set the installedApps property: The apps installed in this team.

MicrosoftGraphTeamInner withInternalId(String internalId)

Set the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.

MicrosoftGraphTeamInner withIsArchived(Boolean isArchived)

Set the isArchived property: Whether this team is in read-only mode.

MicrosoftGraphTeamInner withMemberSettings(MicrosoftGraphTeamMemberSettings memberSettings)

Set the memberSettings property: teamMemberSettings.

MicrosoftGraphTeamInner withMembers(List<MicrosoftGraphConversationMember> members)

Set the members property: Members and owners of the team.

MicrosoftGraphTeamInner withMessagingSettings(MicrosoftGraphTeamMessagingSettings messagingSettings)

Set the messagingSettings property: teamMessagingSettings.

MicrosoftGraphTeamInner withOperations(List<MicrosoftGraphTeamsAsyncOperation> operations)

Set the operations property: The async operations that ran or are running on this team.

MicrosoftGraphTeamInner withPrimaryChannel(MicrosoftGraphChannel primaryChannel)

Set the primaryChannel property: channel.

MicrosoftGraphTeamInner withSchedule(MicrosoftGraphSchedule schedule)

Set the schedule property: schedule.

MicrosoftGraphTeamInner withSpecialization(MicrosoftGraphTeamSpecialization specialization)

Set the specialization property: teamSpecialization.

MicrosoftGraphTeamInner withTemplate(MicrosoftGraphTeamsTemplate template)

Set the template property: teamsTemplate.

MicrosoftGraphTeamInner withVisibility(MicrosoftGraphTeamVisibilityType visibility)

Set the visibility property: teamVisibilityType.

MicrosoftGraphTeamInner withWebUrl(String webUrl)

Set the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamInner

public MicrosoftGraphTeamInner()

Creates an instance of MicrosoftGraphTeamInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: team.

Overrides:

MicrosoftGraphTeamInner.additionalProperties()

Returns:

the additionalProperties value.

channels

public List channels()

Get the channels property: The collection of channels & messages associated with the team.

Returns:

the channels value.

classification

public String classification()

Get the classification property: An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.

Returns:

the classification value.

description

public String description()

Get the description property: An optional description for the team.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The name of the team.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphTeamInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTeamInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphTeamInner.

funSettings

public MicrosoftGraphTeamFunSettings funSettings()

Get the funSettings property: teamFunSettings.

Returns:

the funSettings value.

group

public MicrosoftGraphGroupInner group()

Get the group property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Returns:

the group value.

guestSettings

public MicrosoftGraphTeamGuestSettings guestSettings()

Get the guestSettings property: teamGuestSettings.

Returns:

the guestSettings value.

installedApps

public List installedApps()

Get the installedApps property: The apps installed in this team.

Returns:

the installedApps value.

internalId

public String internalId()

Get the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.

Returns:

the internalId value.

isArchived

public Boolean isArchived()

Get the isArchived property: Whether this team is in read-only mode.

Returns:

the isArchived value.

memberSettings

public MicrosoftGraphTeamMemberSettings memberSettings()

Get the memberSettings property: teamMemberSettings.

Returns:

the memberSettings value.

members

public List members()

Get the members property: Members and owners of the team.

Returns:

the members value.

messagingSettings

public MicrosoftGraphTeamMessagingSettings messagingSettings()

Get the messagingSettings property: teamMessagingSettings.

Returns:

the messagingSettings value.

operations

public List operations()

Get the operations property: The async operations that ran or are running on this team.

Returns:

the operations value.

primaryChannel

public MicrosoftGraphChannel primaryChannel()

Get the primaryChannel property: channel.

Returns:

the primaryChannel value.

schedule

public MicrosoftGraphSchedule schedule()

Get the schedule property: schedule.

Returns:

the schedule value.

specialization

public MicrosoftGraphTeamSpecialization specialization()

Get the specialization property: teamSpecialization.

Returns:

the specialization value.

template

public MicrosoftGraphTeamsTemplate template()

Get the template property: teamsTemplate.

Returns:

the template value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTeamInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTeamInner.validate()

visibility

public MicrosoftGraphTeamVisibilityType visibility()

Get the visibility property: teamVisibilityType.

Returns:

the visibility value.

webUrl

public String webUrl()

Get the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get 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:

the webUrl value.

withAdditionalProperties

public MicrosoftGraphTeamInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: team.

Overrides:

MicrosoftGraphTeamInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withChannels

public MicrosoftGraphTeamInner withChannels(List channels)

Set the channels property: The collection of channels & messages associated with the team.

Parameters:

channels - the channels value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withClassification

public MicrosoftGraphTeamInner withClassification(String classification)

Set the classification property: An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.

Parameters:

classification - the classification value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withDescription

public MicrosoftGraphTeamInner withDescription(String description)

Set the description property: An optional description for the team.

Parameters:

description - the description value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withDisplayName

public MicrosoftGraphTeamInner withDisplayName(String displayName)

Set the displayName property: The name of the team.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withFunSettings

public MicrosoftGraphTeamInner withFunSettings(MicrosoftGraphTeamFunSettings funSettings)

Set the funSettings property: teamFunSettings.

Parameters:

funSettings - the funSettings value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withGroup

public MicrosoftGraphTeamInner withGroup(MicrosoftGraphGroupInner group)

Set the group property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Parameters:

group - the group value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withGuestSettings

public MicrosoftGraphTeamInner withGuestSettings(MicrosoftGraphTeamGuestSettings guestSettings)

Set the guestSettings property: teamGuestSettings.

Parameters:

guestSettings - the guestSettings value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withId

public MicrosoftGraphTeamInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTeamInner.withId(String id)

Parameters:

id

withInstalledApps

public MicrosoftGraphTeamInner withInstalledApps(List installedApps)

Set the installedApps property: The apps installed in this team.

Parameters:

installedApps - the installedApps value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withInternalId

public MicrosoftGraphTeamInner withInternalId(String internalId)

Set the internalId property: A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.

Parameters:

internalId - the internalId value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withIsArchived

public MicrosoftGraphTeamInner withIsArchived(Boolean isArchived)

Set the isArchived property: Whether this team is in read-only mode.

Parameters:

isArchived - the isArchived value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withMemberSettings

public MicrosoftGraphTeamInner withMemberSettings(MicrosoftGraphTeamMemberSettings memberSettings)

Set the memberSettings property: teamMemberSettings.

Parameters:

memberSettings - the memberSettings value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withMembers

public MicrosoftGraphTeamInner withMembers(List members)

Set the members property: Members and owners of the team.

Parameters:

members - the members value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withMessagingSettings

public MicrosoftGraphTeamInner withMessagingSettings(MicrosoftGraphTeamMessagingSettings messagingSettings)

Set the messagingSettings property: teamMessagingSettings.

Parameters:

messagingSettings - the messagingSettings value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withOperations

public MicrosoftGraphTeamInner withOperations(List operations)

Set the operations property: The async operations that ran or are running on this team.

Parameters:

operations - the operations value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withPrimaryChannel

public MicrosoftGraphTeamInner withPrimaryChannel(MicrosoftGraphChannel primaryChannel)

Set the primaryChannel property: channel.

Parameters:

primaryChannel - the primaryChannel value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withSchedule

public MicrosoftGraphTeamInner withSchedule(MicrosoftGraphSchedule schedule)

Set the schedule property: schedule.

Parameters:

schedule - the schedule value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withSpecialization

public MicrosoftGraphTeamInner withSpecialization(MicrosoftGraphTeamSpecialization specialization)

Set the specialization property: teamSpecialization.

Parameters:

specialization - the specialization value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withTemplate

public MicrosoftGraphTeamInner withTemplate(MicrosoftGraphTeamsTemplate template)

Set the template property: teamsTemplate.

Parameters:

template - the template value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withVisibility

public MicrosoftGraphTeamInner withVisibility(MicrosoftGraphTeamVisibilityType visibility)

Set the visibility property: teamVisibilityType.

Parameters:

visibility - the visibility value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

withWebUrl

public MicrosoftGraphTeamInner withWebUrl(String webUrl)

Set the webUrl property: A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get 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:

webUrl - the webUrl value to set.

Returns:

the MicrosoftGraphTeamInner object itself.

Applies to