@Generated(value="org.jsonschema2pojo") public class PodTemplate extends Object implements HasMetadata
Constructor and Description |
---|
PodTemplate()
No args constructor for use in serialization
|
PodTemplate(String apiVersion,
String kind,
ObjectMeta metadata,
PodTemplateSpec template) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
PodTemplateSpec |
getTemplate() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setTemplate(PodTemplateSpec template) |
public PodTemplate()
public PodTemplate(String apiVersion, String kind, ObjectMeta metadata, PodTemplateSpec template)
template
- metadata
- apiVersion
- kind
- public String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
setApiVersion
in interface HasMetadata
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 PodTemplateSpec getTemplate()
public void setTemplate(PodTemplateSpec template)
template
- The templateCopyright © 2015–2019 Red Hat. All rights reserved.