TypedLocalObjectReference allows to reference typed object inside the same namespace.
| Name | Type | Description | Notes |
|---|---|---|---|
| api_group | str | APIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain. | [optional] |
| kind | str | Kind is the type of resource being referenced. It must be a path segment name. | |
| name | str | Name is the name of resource being referenced. It must be a path segment name. |
from kubernetes.client.models.v1alpha2_typed_local_object_reference import V1alpha2TypedLocalObjectReference
# TODO update the JSON string below
json = "{}"
# create an instance of V1alpha2TypedLocalObjectReference from a JSON string
v1alpha2_typed_local_object_reference_instance = V1alpha2TypedLocalObjectReference.from_json(json)
# print the JSON string representation of the object
print(V1alpha2TypedLocalObjectReference.to_json())
# convert the object into a dict
v1alpha2_typed_local_object_reference_dict = v1alpha2_typed_local_object_reference_instance.to_dict()
# create an instance of V1alpha2TypedLocalObjectReference from a dict
v1alpha2_typed_local_object_reference_from_dict = V1alpha2TypedLocalObjectReference.from_dict(v1alpha2_typed_local_object_reference_dict)