kubernetes.client.models.v1_delete_options module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: release-1.36 Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class kubernetes.client.models.v1_delete_options.V1DeleteOptions(*, api_version: Annotated[str, Strict(strict=True)] | None = None, dry_run: List[Annotated[str, Strict(strict=True)]] | None = None, grace_period_seconds: Annotated[int, Strict(strict=True)] | None = None, ignore_store_read_error_with_cluster_breaking_potential: Annotated[bool, Strict(strict=True)] | None = None, kind: Annotated[str, Strict(strict=True)] | None = None, orphan_dependents: Annotated[bool, Strict(strict=True)] | None = None, preconditions: V1Preconditions | None = None, propagation_policy: Annotated[str, Strict(strict=True)] | None = None)¶
Bases:
BaseModelDeleteOptions may be provided when deleting an API object.
- Attributes:
- openapi_types (dict): The key is attribute name
and the value is attribute type.
- attribute_map (dict): The key is attribute name
and the value is json key in definition.
- api_version: StrictStr | None¶
- attribute_map: ClassVar[Dict[str, str]] = {'api_version': 'apiVersion', 'dry_run': 'dryRun', 'grace_period_seconds': 'gracePeriodSeconds', 'ignore_store_read_error_with_cluster_breaking_potential': 'ignoreStoreReadErrorWithClusterBreakingPotential', 'kind': 'kind', 'orphan_dependents': 'orphanDependents', 'preconditions': 'preconditions', 'propagation_policy': 'propagationPolicy'}¶
- dry_run: List[StrictStr] | None¶
- classmethod from_dict(obj: Dict[str, Any] | None) Self | None¶
Create an instance of V1DeleteOptions from a dict
- classmethod from_json(json_str: str) Self | None¶
Create an instance of V1DeleteOptions from a JSON string
- grace_period_seconds: StrictInt | None¶
- ignore_store_read_error_with_cluster_breaking_potential: StrictBool | None¶
- kind: StrictStr | None¶
- model_config = {'extra': 'forbid', 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- openapi_types: ClassVar[Dict[str, str]] = {'api_version': 'str', 'dry_run': 'List[str]', 'grace_period_seconds': 'int', 'ignore_store_read_error_with_cluster_breaking_potential': 'bool', 'kind': 'str', 'orphan_dependents': 'bool', 'preconditions': 'V1Preconditions', 'propagation_policy': 'str'}¶
- orphan_dependents: StrictBool | None¶
- preconditions: V1Preconditions | None¶
- propagation_policy: StrictStr | None¶
- to_dict(serialize: bool = False) Dict[str, Any]¶
Return all declared model fields using public or wire names.
- to_json() str¶
Returns the JSON representation of the model using alias
- to_str() str¶
Returns the string representation of the model