次の方法で共有


RunStepDetails Class

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

Implements

public class RunStepDetails
implements JsonSerializable<RunStepDetails>

An abstract representation of the details for a run step.

Constructor Summary

Modifier Constructor Description
protected RunStepDetails()

Creates an instance of RunStepDetails class.

Method Summary

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

Reads an instance of RunStepDetails from the JsonReader.

RunStepType getType()

Get the type property: The object type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

RunStepDetails

protected RunStepDetails()

Creates an instance of RunStepDetails class.

Method Details

fromJson

public static RunStepDetails fromJson(JsonReader jsonReader)

Reads an instance of RunStepDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getType

public RunStepType getType()

Get the type property: The object type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to