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

MicrosoftGraphUserScopeTeamsAppInstallation Class

public final class MicrosoftGraphUserScopeTeamsAppInstallation
extends MicrosoftGraphTeamsAppInstallation

userScopeTeamsAppInstallation.

Constructor Summary

Constructor Description
MicrosoftGraphUserScopeTeamsAppInstallation()

Creates an instance of MicrosoftGraphUserScopeTeamsAppInstallation class.

Method Summary

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

Get the additionalProperties property: userScopeTeamsAppInstallation.

MicrosoftGraphChat chat()

Get the chat property: chat.

static MicrosoftGraphUserScopeTeamsAppInstallation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphUserScopeTeamsAppInstallation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphUserScopeTeamsAppInstallation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: userScopeTeamsAppInstallation.

MicrosoftGraphUserScopeTeamsAppInstallation withChat(MicrosoftGraphChat chat)

Set the chat property: chat.

MicrosoftGraphUserScopeTeamsAppInstallation withId(String id)

Set the id property: Read-only.

MicrosoftGraphUserScopeTeamsAppInstallation withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

MicrosoftGraphUserScopeTeamsAppInstallation withTeamsAppDefinition(MicrosoftGraphTeamsAppDefinition teamsAppDefinition)

Set the teamsAppDefinition property: teamsAppDefinition.

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphTeamsAppInstallation

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphUserScopeTeamsAppInstallation

public MicrosoftGraphUserScopeTeamsAppInstallation()

Creates an instance of MicrosoftGraphUserScopeTeamsAppInstallation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: userScopeTeamsAppInstallation.

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.additionalProperties()

Returns:

the additionalProperties value.

chat

public MicrosoftGraphChat chat()

Get the chat property: chat.

Returns:

the chat value.

fromJson

public static MicrosoftGraphUserScopeTeamsAppInstallation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphUserScopeTeamsAppInstallation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.validate()

withAdditionalProperties

public MicrosoftGraphUserScopeTeamsAppInstallation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: userScopeTeamsAppInstallation.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphUserScopeTeamsAppInstallation object itself.

withChat

public MicrosoftGraphUserScopeTeamsAppInstallation withChat(MicrosoftGraphChat chat)

Set the chat property: chat.

Parameters:

chat - the chat value to set.

Returns:

the MicrosoftGraphUserScopeTeamsAppInstallation object itself.

withId

public MicrosoftGraphUserScopeTeamsAppInstallation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.withId(String id)

Parameters:

id

withTeamsApp

public MicrosoftGraphUserScopeTeamsAppInstallation withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Parameters:

teamsApp

withTeamsAppDefinition

public MicrosoftGraphUserScopeTeamsAppInstallation withTeamsAppDefinition(MicrosoftGraphTeamsAppDefinition teamsAppDefinition)

Set the teamsAppDefinition property: teamsAppDefinition.

Overrides:

MicrosoftGraphUserScopeTeamsAppInstallation.withTeamsAppDefinition(MicrosoftGraphTeamsAppDefinition teamsAppDefinition)

Parameters:

teamsAppDefinition

Applies to