@Generated(value="org.jsonschema2pojo") public class Build extends Object implements HasMetadata
Modifier and Type | Class and Description |
---|---|
static class |
Build.ApiVersion |
Constructor and Description |
---|
Build()
No args constructor for use in serialization
|
Build(Build.ApiVersion apiVersion,
String kind,
ObjectMeta metadata,
BuildSpec spec,
BuildStatus status) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Build.ApiVersion |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
BuildSpec |
getSpec() |
BuildStatus |
getStatus() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(Build.ApiVersion apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setSpec(BuildSpec spec) |
void |
setStatus(BuildStatus status) |
public Build()
public Build(Build.ApiVersion apiVersion, String kind, ObjectMeta metadata, BuildSpec spec, BuildStatus status)
spec
- apiVersion
- status
- kind
- metadata
- public Build.ApiVersion getApiVersion()
public void setApiVersion(Build.ApiVersion 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 BuildSpec getSpec()
public void setSpec(BuildSpec spec)
spec
- The specpublic BuildStatus getStatus()
public void setStatus(BuildStatus status)
status
- The statusCopyright © 2011–2015 Red Hat. All rights reserved.