AcsMicrosoftTeamsAppIdentifier Class

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

Implements

public final class AcsMicrosoftTeamsAppIdentifier
implements JsonSerializable<AcsMicrosoftTeamsAppIdentifier>

A Microsoft Teams application.

Constructor Summary

Constructor Description
AcsMicrosoftTeamsAppIdentifier()

Creates an instance of MicrosoftTeamsAppIdentifier class.

Method Summary

Modifier and Type Method and Description
static AcsMicrosoftTeamsAppIdentifier 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.

AcsMicrosoftTeamsAppIdentifier setAppId(String appId)

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

AcsMicrosoftTeamsAppIdentifier setCloud(CommunicationCloudEnvironmentModel cloud)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AcsMicrosoftTeamsAppIdentifier

public AcsMicrosoftTeamsAppIdentifier()

Creates an instance of MicrosoftTeamsAppIdentifier class.

Method Details

fromJson

public static AcsMicrosoftTeamsAppIdentifier 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.

setAppId

public AcsMicrosoftTeamsAppIdentifier setAppId(String appId)

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

Parameters:

appId - the appId value to set.

Returns:

the MicrosoftTeamsAppIdentifier object itself.

setCloud

public AcsMicrosoftTeamsAppIdentifier setCloud(CommunicationCloudEnvironmentModel cloud)

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

Parameters:

cloud - the cloud value to set.

Returns:

the MicrosoftTeamsAppIdentifier object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to