Microsoft365PublishResult Class

  • java.lang.Object
    • com.azure.ai.agents.models.Microsoft365PublishResult

Implements

public final class Microsoft365PublishResult
implements JsonSerializable<Microsoft365PublishResult>

Response from publishing an agent to Microsoft 365 / Microsoft Teams.

Method Summary

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

Reads an instance of Microsoft365PublishResult from the JsonReader.

String getTeamsAppId()

Get the teamsAppId property: The Microsoft Teams app id of the published app.

String getTitleId()

Get the titleId property: The Microsoft 365 title id of the published app.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static Microsoft365PublishResult fromJson(JsonReader jsonReader)

Reads an instance of Microsoft365PublishResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getTeamsAppId

public String getTeamsAppId()

Get the teamsAppId property: The Microsoft Teams app id of the published app.

Returns:

the teamsAppId value.

getTitleId

public String getTitleId()

Get the titleId property: The Microsoft 365 title id of the published app.

Returns:

the titleId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to