AgentEndpointAuthorizationScheme Class

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

Implements

public class AgentEndpointAuthorizationScheme
implements JsonSerializable<AgentEndpointAuthorizationScheme>

The AgentEndpointAuthorizationScheme model.

Constructor Summary

Constructor Description
AgentEndpointAuthorizationScheme()

Creates an instance of AgentEndpointAuthorizationScheme class.

Method Summary

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

Reads an instance of AgentEndpointAuthorizationScheme from the JsonReader.

AgentEndpointAuthorizationSchemeType getType()

Get the type property: The type property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AgentEndpointAuthorizationScheme

public AgentEndpointAuthorizationScheme()

Creates an instance of AgentEndpointAuthorizationScheme class.

Method Details

fromJson

public static AgentEndpointAuthorizationScheme fromJson(JsonReader jsonReader)

Reads an instance of AgentEndpointAuthorizationScheme from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getType

public AgentEndpointAuthorizationSchemeType getType()

Get the type property: The type property.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to