@Generated(value="org.jsonschema2pojo") public class Policy extends Object implements HasMetadata
Constructor and Description |
---|
Policy()
No args constructor for use in serialization
|
Policy(String apiVersion,
String kind,
String lastModified,
ObjectMeta metadata,
List<NamedRole> roles) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
String |
getLastModified() |
ObjectMeta |
getMetadata() |
List<NamedRole> |
getRoles() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setLastModified(String lastModified) |
void |
setMetadata(ObjectMeta metadata) |
void |
setRoles(List<NamedRole> roles) |
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 String getLastModified()
public void setLastModified(String lastModified)
lastModified
- The lastModifiedpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadataCopyright © 2011–2018 Red Hat. All rights reserved.