kubernetes_asyncio.client.models.v1_webhook_conversion module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_webhook_conversion.V1WebhookConversion(client_config=None, conversion_review_versions=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'client_config': 'clientConfig', 'conversion_review_versions': 'conversionReviewVersions'}
- property client_config
Gets the client_config of this V1WebhookConversion. # noqa: E501
- Returns:
The client_config of this V1WebhookConversion. # noqa: E501
- Return type:
- property conversion_review_versions
Gets the conversion_review_versions of this V1WebhookConversion. # noqa: E501
conversionReviewVersions is an ordered list of preferred ConversionReview versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. # noqa: E501
- Returns:
The conversion_review_versions of this V1WebhookConversion. # noqa: E501
- Return type:
list[str]
- openapi_types = {'client_config': 'ApiextensionsV1WebhookClientConfig', 'conversion_review_versions': 'list[str]'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model