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