TeamInfo Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.TeamInfo

public class TeamInfo

Describes a team.

Constructor Summary

Constructor Description
TeamInfo()

A new empty instance of TeamInfo.

TeamInfo(String withId)

A new instance of TeamInfo with ID.

TeamInfo(String withId, String withName, String withAadGroupId)

A new instance of TeamInfo.

Method Summary

Modifier and Type Method and Description
java.lang.String getAadGroupId()

Get Azure Active Directory (AAD) Group Id for the team.

java.lang.String getId()

Get unique identifier representing a team.

java.lang.String getName()

Get the name of the team.

void setAadGroupId(String withAadGroupId)

Set Azure Active Directory (AAD) Group Id for the team.

void setId(String withId)

Set unique identifier representing a team.

void setName(String withName)

Set the name of the team.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TeamInfo

public TeamInfo()

A new empty instance of TeamInfo.

TeamInfo

public TeamInfo(String withId)

A new instance of TeamInfo with ID.

Parameters:

withId - The id of the team.

TeamInfo

public TeamInfo(String withId, String withName, String withAadGroupId)

A new instance of TeamInfo.

Parameters:

withId - unique identifier representing a team.
withName - Set the name of the team.
withAadGroupId - Azure Active Directory (AAD) Group Id for the team

Method Details

getAadGroupId

public String getAadGroupId()

Get Azure Active Directory (AAD) Group Id for the team.

Returns:

Azure Active Directory (AAD) Group Id for the team.

getId

public String getId()

Get unique identifier representing a team.

Returns:

Unique identifier representing a team.

getName

public String getName()

Get the name of the team.

Returns:

get the name of the team.

setAadGroupId

public void setAadGroupId(String withAadGroupId)

Set Azure Active Directory (AAD) Group Id for the team.

Parameters:

withAadGroupId - Azure Active Directory (AAD) Group Id for the team

setId

public void setId(String withId)

Set unique identifier representing a team.

Parameters:

withId - unique identifier representing a team.

setName

public void setName(String withName)

Set the name of the team.

Parameters:

withName - name of the team.

Applies to