Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.27 KB

File metadata and controls

31 lines (24 loc) · 1.27 KB

V1ParentReference

ParentReference describes a reference to a parent object.

Properties

Name Type Description Notes
group str Group is the group of the object being referenced. [optional]
name str Name is the name of the object being referenced.
namespace str Namespace is the namespace of the object being referenced. [optional]
resource str Resource is the resource of the object being referenced.

Example

from kubernetes.client.models.v1_parent_reference import V1ParentReference

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

# convert the object into a dict
v1_parent_reference_dict = v1_parent_reference_instance.to_dict()
# create an instance of V1ParentReference from a dict
v1_parent_reference_from_dict = V1ParentReference.from_dict(v1_parent_reference_dict)

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