Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.08 KB

File metadata and controls

29 lines (22 loc) · 1.08 KB

V1JobTemplateSpec

JobTemplateSpec describes the data a Job should have when created from a template

Properties

Name Type Description Notes
metadata V1ObjectMeta [optional]
spec V1JobSpec [optional]

Example

from kubernetes.client.models.v1_job_template_spec import V1JobTemplateSpec

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

# convert the object into a dict
v1_job_template_spec_dict = v1_job_template_spec_instance.to_dict()
# create an instance of V1JobTemplateSpec from a dict
v1_job_template_spec_from_dict = V1JobTemplateSpec.from_dict(v1_job_template_spec_dict)

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