你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphTeamsTab Class

public final class MicrosoftGraphTeamsTab
extends MicrosoftGraphEntity

teamsTab.

Constructor Summary

Constructor Description
MicrosoftGraphTeamsTab()

Creates an instance of MicrosoftGraphTeamsTab class.

Method Summary

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

Get the additionalProperties property: teamsTab.

MicrosoftGraphTeamsTabConfiguration configuration()

Get the configuration property: teamsTabConfiguration.

String displayName()

Get the displayName property: Name of the tab.

static MicrosoftGraphTeamsTab fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTab from the JsonReader.

MicrosoftGraphTeamsApp teamsApp()

Get the teamsApp property: teamsApp.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String webUrl()

Get the webUrl property: Deep link URL of the tab instance.

MicrosoftGraphTeamsTab withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamsTab.

MicrosoftGraphTeamsTab withConfiguration(MicrosoftGraphTeamsTabConfiguration configuration)

Set the configuration property: teamsTabConfiguration.

MicrosoftGraphTeamsTab withDisplayName(String displayName)

Set the displayName property: Name of the tab.

MicrosoftGraphTeamsTab withId(String id)

Set the id property: Read-only.

MicrosoftGraphTeamsTab withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

MicrosoftGraphTeamsTab withWebUrl(String webUrl)

Set the webUrl property: Deep link URL of the tab instance.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamsTab

public MicrosoftGraphTeamsTab()

Creates an instance of MicrosoftGraphTeamsTab class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamsTab.

Overrides:

MicrosoftGraphTeamsTab.additionalProperties()

Returns:

the additionalProperties value.

configuration

public MicrosoftGraphTeamsTabConfiguration configuration()

Get the configuration property: teamsTabConfiguration.

Returns:

the configuration value.

displayName

public String displayName()

Get the displayName property: Name of the tab.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphTeamsTab fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTab from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTeamsTab 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 MicrosoftGraphTeamsTab.

teamsApp

public MicrosoftGraphTeamsApp teamsApp()

Get the teamsApp property: teamsApp.

Returns:

the teamsApp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTeamsTab.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTeamsTab.validate()

webUrl

public String webUrl()

Get the webUrl property: Deep link URL of the tab instance. Read only.

Returns:

the webUrl value.

withAdditionalProperties

public MicrosoftGraphTeamsTab withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamsTab.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamsTab object itself.

withConfiguration

public MicrosoftGraphTeamsTab withConfiguration(MicrosoftGraphTeamsTabConfiguration configuration)

Set the configuration property: teamsTabConfiguration.

Parameters:

configuration - the configuration value to set.

Returns:

the MicrosoftGraphTeamsTab object itself.

withDisplayName

public MicrosoftGraphTeamsTab withDisplayName(String displayName)

Set the displayName property: Name of the tab.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphTeamsTab object itself.

withId

public MicrosoftGraphTeamsTab withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTeamsTab.withId(String id)

Parameters:

id

withTeamsApp

public MicrosoftGraphTeamsTab withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

Parameters:

teamsApp - the teamsApp value to set.

Returns:

the MicrosoftGraphTeamsTab object itself.

withWebUrl

public MicrosoftGraphTeamsTab withWebUrl(String webUrl)

Set the webUrl property: Deep link URL of the tab instance. Read only.

Parameters:

webUrl - the webUrl value to set.

Returns:

the MicrosoftGraphTeamsTab object itself.

Applies to