RunStepMessageCreationReference Class

  • java.lang.Object
    • com.azure.ai.agents.persistent.models.RunStepMessageCreationReference

Implements

public final class RunStepMessageCreationReference
implements JsonSerializable<RunStepMessageCreationReference>

The details of a message created as a part of a run step.

Method Summary

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

Reads an instance of RunStepMessageCreationReference from the JsonReader.

String getMessageId()

Get the messageId property: The ID of the message created by this run step.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static RunStepMessageCreationReference fromJson(JsonReader jsonReader)

Reads an instance of RunStepMessageCreationReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getMessageId

public String getMessageId()

Get the messageId property: The ID of the message created by this run step.

Returns:

the messageId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to