GafaelfawrIngressScopesBase#
- pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressScopesBase#
Base class for specifying the required scopes.
Required scopes can be specified in one of two ways: a list of scopes that must all be present, or a list of scopes where any one of those scopes must be present. This base class represents the common interface with the rest of Gafaelfawr.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "GafaelfawrIngressScopesBase", "description": "Base class for specifying the required scopes.\n\nRequired scopes can be specified in one of two ways: a list of scopes that\nmust all be present, or a list of scopes where any one of those scopes\nmust be present. This base class represents the common interface with the\nrest of Gafaelfawr.", "type": "object", "properties": {}, "additionalProperties": false }
- model_dump(**kwargs)#
Export the model as a dictionary.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.
- model_dump_json(**kwargs)#
Export the model as JSON.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.