@Generated(value="org.jsonschema2pojo") public class Job extends Object implements HasMetadata
Constructor and Description |
---|
Job()
No args constructor for use in serialization
|
Job(String apiVersion,
String kind,
ObjectMeta metadata,
JobSpec spec,
JobStatus status) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
JobSpec |
getSpec() |
JobStatus |
getStatus() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setSpec(JobSpec spec) |
void |
setStatus(JobStatus status) |
public Job()
public Job(String apiVersion, String kind, ObjectMeta metadata, JobSpec spec, JobStatus status)
metadata
- apiVersion
- kind
- spec
- status
- public String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
apiVersion
- The apiVersionpublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic JobSpec getSpec()
public void setSpec(JobSpec spec)
spec
- The specpublic JobStatus getStatus()
public void setStatus(JobStatus status)
status
- The statusCopyright © 2011–2017 Red Hat. All rights reserved.