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

MicrosoftGraphTeamsTabConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsTabConfiguration

Implements

public final class MicrosoftGraphTeamsTabConfiguration
implements JsonSerializable<MicrosoftGraphTeamsTabConfiguration>

teamsTabConfiguration.

Constructor Summary

Constructor Description
MicrosoftGraphTeamsTabConfiguration()

Creates an instance of MicrosoftGraphTeamsTabConfiguration class.

Method Summary

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

Get the additionalProperties property: teamsTabConfiguration.

String contentUrl()

Get the contentUrl property: Url used for rendering tab contents in Teams.

String entityId()

Get the entityId property: Identifier for the entity hosted by the tab provider.

static MicrosoftGraphTeamsTabConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTabConfiguration from the JsonReader.

String removeUrl()

Get the removeUrl property: Url called by Teams client when a Tab is removed using the Teams Client.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String websiteUrl()

Get the websiteUrl property: Url for showing tab contents outside of Teams.

MicrosoftGraphTeamsTabConfiguration withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamsTabConfiguration.

MicrosoftGraphTeamsTabConfiguration withContentUrl(String contentUrl)

Set the contentUrl property: Url used for rendering tab contents in Teams.

MicrosoftGraphTeamsTabConfiguration withEntityId(String entityId)

Set the entityId property: Identifier for the entity hosted by the tab provider.

MicrosoftGraphTeamsTabConfiguration withRemoveUrl(String removeUrl)

Set the removeUrl property: Url called by Teams client when a Tab is removed using the Teams Client.

MicrosoftGraphTeamsTabConfiguration withWebsiteUrl(String websiteUrl)

Set the websiteUrl property: Url for showing tab contents outside of Teams.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamsTabConfiguration

public MicrosoftGraphTeamsTabConfiguration()

Creates an instance of MicrosoftGraphTeamsTabConfiguration class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamsTabConfiguration.

Returns:

the additionalProperties value.

contentUrl

public String contentUrl()

Get the contentUrl property: Url used for rendering tab contents in Teams. Required.

Returns:

the contentUrl value.

entityId

public String entityId()

Get the entityId property: Identifier for the entity hosted by the tab provider.

Returns:

the entityId value.

fromJson

public static MicrosoftGraphTeamsTabConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTabConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

removeUrl

public String removeUrl()

Get the removeUrl property: Url called by Teams client when a Tab is removed using the Teams Client.

Returns:

the removeUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

websiteUrl

public String websiteUrl()

Get the websiteUrl property: Url for showing tab contents outside of Teams.

Returns:

the websiteUrl value.

withAdditionalProperties

public MicrosoftGraphTeamsTabConfiguration withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamsTabConfiguration.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamsTabConfiguration object itself.

withContentUrl

public MicrosoftGraphTeamsTabConfiguration withContentUrl(String contentUrl)

Set the contentUrl property: Url used for rendering tab contents in Teams. Required.

Parameters:

contentUrl - the contentUrl value to set.

Returns:

the MicrosoftGraphTeamsTabConfiguration object itself.

withEntityId

public MicrosoftGraphTeamsTabConfiguration withEntityId(String entityId)

Set the entityId property: Identifier for the entity hosted by the tab provider.

Parameters:

entityId - the entityId value to set.

Returns:

the MicrosoftGraphTeamsTabConfiguration object itself.

withRemoveUrl

public MicrosoftGraphTeamsTabConfiguration withRemoveUrl(String removeUrl)

Set the removeUrl property: Url called by Teams client when a Tab is removed using the Teams Client.

Parameters:

removeUrl - the removeUrl value to set.

Returns:

the MicrosoftGraphTeamsTabConfiguration object itself.

withWebsiteUrl

public MicrosoftGraphTeamsTabConfiguration withWebsiteUrl(String websiteUrl)

Set the websiteUrl property: Url for showing tab contents outside of Teams.

Parameters:

websiteUrl - the websiteUrl value to set.

Returns:

the MicrosoftGraphTeamsTabConfiguration object itself.

Applies to