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