PodTemplateSpec describes the data a pod should have when created from a template
| Name | Type | Description | Notes |
|---|---|---|---|
| metadata | V1ObjectMeta | [optional] | |
| spec | V1PodSpec | [optional] |
from kubernetes.client.models.v1_pod_template_spec import V1PodTemplateSpec
# TODO update the JSON string below
json = "{}"
# create an instance of V1PodTemplateSpec from a JSON string
v1_pod_template_spec_instance = V1PodTemplateSpec.from_json(json)
# print the JSON string representation of the object
print(V1PodTemplateSpec.to_json())
# convert the object into a dict
v1_pod_template_spec_dict = v1_pod_template_spec_instance.to_dict()
# create an instance of V1PodTemplateSpec from a dict
v1_pod_template_spec_from_dict = V1PodTemplateSpec.from_dict(v1_pod_template_spec_dict)