Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.07 KB

File metadata and controls

29 lines (22 loc) · 1.07 KB

V1Preconditions

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

Properties

Name Type Description Notes
resource_version str Specifies the target ResourceVersion [optional]
uid str Specifies the target UID. [optional]

Example

from kubernetes.client.models.v1_preconditions import V1Preconditions

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

# convert the object into a dict
v1_preconditions_dict = v1_preconditions_instance.to_dict()
# create an instance of V1Preconditions from a dict
v1_preconditions_from_dict = V1Preconditions.from_dict(v1_preconditions_dict)

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