Class OpenApiConnectionSecurityScheme
java.lang.Object
com.azure.ai.agents.persistent.models.OpenApiConnectionSecurityScheme
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OpenApiConnectionSecurityScheme>
public final class OpenApiConnectionSecurityScheme
extends Object
implements com.azure.json.JsonSerializable<OpenApiConnectionSecurityScheme>
Security scheme for OpenApi managed_identity authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionOpenApiConnectionSecurityScheme(String connectionId) Creates an instance of OpenApiConnectionSecurityScheme class. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OpenApiConnectionSecurityScheme
Creates an instance of OpenApiConnectionSecurityScheme class.- Parameters:
connectionId- the connectionId value to set.
-
-
Method Details
-
getConnectionId
Get the connectionId property: Connection id for Connection auth type.- Returns:
- the connectionId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OpenApiConnectionSecurityScheme>- Throws:
IOException
-
fromJson
public static OpenApiConnectionSecurityScheme fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OpenApiConnectionSecurityScheme from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OpenApiConnectionSecurityScheme 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 OpenApiConnectionSecurityScheme.
-