ObjectFieldSelector selects an APIVersioned field of an object.
| Name | Type | Description | Notes |
|---|---|---|---|
| api_version | str | Version of the schema the FieldPath is written in terms of, defaults to "v1". | [optional] |
| field_path | str | Path of the field to select in the specified API version. |
from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector
# TODO update the JSON string below
json = "{}"
# create an instance of V1ObjectFieldSelector from a JSON string
v1_object_field_selector_instance = V1ObjectFieldSelector.from_json(json)
# print the JSON string representation of the object
print(V1ObjectFieldSelector.to_json())
# convert the object into a dict
v1_object_field_selector_dict = v1_object_field_selector_instance.to_dict()
# create an instance of V1ObjectFieldSelector from a dict
v1_object_field_selector_from_dict = V1ObjectFieldSelector.from_dict(v1_object_field_selector_dict)