@Generated(value="org.jsonschema2pojo") public class PolicyList extends Object implements KubernetesResource, KubernetesResourceList
Modifier and Type | Class and Description |
---|---|
static class |
PolicyList.ApiVersion |
Constructor and Description |
---|
PolicyList()
No args constructor for use in serialization
|
PolicyList(PolicyList.ApiVersion apiVersion,
List<Policy> items,
String kind,
ListMeta metadata) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
PolicyList.ApiVersion |
getApiVersion()
(Required)
|
List<Policy> |
getItems()
list of policies
|
String |
getKind()
(Required)
|
ListMeta |
getMetadata() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(PolicyList.ApiVersion apiVersion)
(Required)
|
void |
setItems(List<Policy> items)
list of policies
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ListMeta metadata) |
public PolicyList()
public PolicyList(PolicyList.ApiVersion apiVersion, List<Policy> items, String kind, ListMeta metadata)
metadata
- apiVersion
- kind
- items
- public PolicyList.ApiVersion getApiVersion()
public void setApiVersion(PolicyList.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic List<Policy> getItems()
getItems
in interface KubernetesResourceList
public String getKind()
public void setKind(String kind)
kind
- The kindpublic ListMeta getMetadata()
getMetadata
in interface KubernetesResourceList
public void setMetadata(ListMeta metadata)
metadata
- The metadataCopyright © 2011–2015 Red Hat. All rights reserved.