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