Bases: BaseModel
A class to represent a server.
Note
The attributes description
, protocolVersion
, tags
, security
, variables
, and bindings
are all optional.
Configurations
If PYDANTIC_V2
is True, the model configuration is set to allow extra attributes. Otherwise, the Config
class is defined with the extra
attribute set to "allow".
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
bindings class-attribute
instance-attribute
bindings: Optional[Union[ServerBinding, Reference]] = None
description class-attribute
instance-attribute
description: Optional[str] = None
model_config class-attribute
instance-attribute
model_config = {'extra': 'allow'}
protocol instance-attribute
protocolVersion class-attribute
instance-attribute
protocolVersion: Optional[str] = None
security class-attribute
instance-attribute
security: Optional[SecurityRequirement] = None
tags: Optional[
List[Union[Tag, TagDict, Dict[str, Any]]]
] = None
variables class-attribute
instance-attribute
variables: Optional[
Dict[str, Union[ServerVariable, Reference]]
] = None