@Generated(value="org.jsonschema2pojo") public class OpenshiftClusterRole extends Object implements HasMetadata
Constructor and Description |
---|
OpenshiftClusterRole()
No args constructor for use in serialization
|
OpenshiftClusterRole(AggregationRule aggregationRule,
String apiVersion,
String kind,
ObjectMeta metadata,
List<PolicyRule> rules) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
AggregationRule |
getAggregationRule() |
String |
getApiVersion()
(Required)
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
List<PolicyRule> |
getRules() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAggregationRule(AggregationRule aggregationRule) |
void |
setApiVersion(String apiVersion)
(Required)
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
void |
setRules(List<PolicyRule> rules) |
public OpenshiftClusterRole()
public OpenshiftClusterRole(AggregationRule aggregationRule, String apiVersion, String kind, ObjectMeta metadata, List<PolicyRule> rules)
metadata
- aggregationRule
- apiVersion
- kind
- rules
- public AggregationRule getAggregationRule()
public void setAggregationRule(AggregationRule aggregationRule)
aggregationRule
- The aggregationRulepublic 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 List<PolicyRule> getRules()
public void setRules(List<PolicyRule> rules)
rules
- The rulesCopyright © 2015–2019 Red Hat. All rights reserved.