Share via


MicrosoftTeamsAppIdentifier Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsAppIdentifier

Implements

public final class MicrosoftTeamsAppIdentifier
implements JsonSerializable<MicrosoftTeamsAppIdentifier>

A Microsoft Teams application.

Method Summary

Modifier and Type Method and Description
static MicrosoftTeamsAppIdentifier fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftTeamsAppIdentifier from the JsonReader.

String getAppId()

Get the appId property: The Id of the Microsoft Teams application.

CommunicationCloudEnvironmentModel getCloud()

Get the cloud property: The cloud that the Microsoft Teams application belongs to.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static MicrosoftTeamsAppIdentifier fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftTeamsAppIdentifier from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAppId

public String getAppId()

Get the appId property: The Id of the Microsoft Teams application.

Returns:

the appId value.

getCloud

public CommunicationCloudEnvironmentModel getCloud()

Get the cloud property: The cloud that the Microsoft Teams application belongs to. By default 'public' if missing.

Returns:

the cloud value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to