Request body for POST /connections
| Name | Type | Description | Notes |
|---|---|---|---|
| config | Dict[str, object] | Connection configuration object. Fields vary by source type (host, port, database, etc.). | |
| name | str | ||
| secret_id | str | Optional reference to a secret by ID (e.g., "secr_abc123"). If provided, this secret will be used for authentication. Mutually exclusive with `secret_name`. | [optional] |
| secret_name | str | Optional reference to a secret by name. If provided, this secret will be used for authentication. Mutually exclusive with `secret_id`. | [optional] |
| source_type | str |
from hotdata.models.create_connection_request import CreateConnectionRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateConnectionRequest from a JSON string
create_connection_request_instance = CreateConnectionRequest.from_json(json)
# print the JSON string representation of the object
print(CreateConnectionRequest.to_json())
# convert the object into a dict
create_connection_request_dict = create_connection_request_instance.to_dict()
# create an instance of CreateConnectionRequest from a dict
create_connection_request_from_dict = CreateConnectionRequest.from_dict(create_connection_request_dict)