Class MicrosoftTeamsAppIdentifier

java.lang.Object
com.azure.messaging.eventgrid.systemevents.MicrosoftTeamsAppIdentifier
All Implemented Interfaces:
com.azure.json.JsonSerializable<MicrosoftTeamsAppIdentifier>

public final class MicrosoftTeamsAppIdentifier extends Object implements com.azure.json.JsonSerializable<MicrosoftTeamsAppIdentifier>
A Microsoft Teams application.
  • Method Details

    • getAppId

      public String getAppId()
      Get the appId property: The Id of the Microsoft Teams application.
      Returns:
      the appId value.
    • 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 com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MicrosoftTeamsAppIdentifier>
      Throws:
      IOException
    • fromJson

      public static MicrosoftTeamsAppIdentifier fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the MicrosoftTeamsAppIdentifier.