ConnectionBody

Connection Serializer for requests body.

Properties

NameTypeDescriptionNotes
conn_typestr
connection_idstr
descriptionstr[optional]
extrastr[optional]
hoststr[optional]
loginstr[optional]
passwordstr[optional]
portint[optional]
var_schemastr[optional]

Example

from airflow_client.client.models.connection_body import ConnectionBody

# TODO update the JSON string below
json = "{}"
# create an instance of ConnectionBody from a JSON string
connection_body_instance = ConnectionBody.from_json(json)
# print the JSON string representation of the object
print(ConnectionBody.to_json())

# convert the object into a dict
connection_body_dict = connection_body_instance.to_dict()
# create an instance of ConnectionBody from a dict
connection_body_from_dict = ConnectionBody.from_dict(connection_body_dict)

[Back to Model list] [Back to API list] [Back to README]