@Generated(value="org.jsonschema2pojo") public class PolicyRule extends Object
Constructor and Description |
---|
PolicyRule()
No args constructor for use in serialization
|
PolicyRule(HasMetadata attributeRestrictions,
List<String> nonResourceURLs,
List<String> resourceNames,
List<String> resources,
List<String> verbs) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
HasMetadata |
getAttributeRestrictions() |
List<String> |
getNonResourceURLs()
set of partial urls that a user should have access to.
|
List<String> |
getResourceNames()
optional white list of names that the rule applies to.
|
List<String> |
getResources()
list of resources this rule applies to.
|
List<String> |
getVerbs()
list of verbs that apply to ALL the resourceKinds and attributeRestrictions contained in this rule.
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setAttributeRestrictions(HasMetadata attributeRestrictions) |
void |
setNonResourceURLs(List<String> nonResourceURLs)
set of partial urls that a user should have access to.
|
void |
setResourceNames(List<String> resourceNames)
optional white list of names that the rule applies to.
|
void |
setResources(List<String> resources)
list of resources this rule applies to.
|
void |
setVerbs(List<String> verbs)
list of verbs that apply to ALL the resourceKinds and attributeRestrictions contained in this rule.
|
public HasMetadata getAttributeRestrictions()
public void setAttributeRestrictions(HasMetadata attributeRestrictions)
attributeRestrictions
- The attributeRestrictionspublic List<String> getNonResourceURLs()
public void setNonResourceURLs(List<String> nonResourceURLs)
nonResourceURLs
- The nonResourceURLspublic List<String> getResourceNames()
public void setResourceNames(List<String> resourceNames)
resourceNames
- The resourceNamespublic List<String> getResources()
public void setResources(List<String> resources)
resources
- The resourcespublic List<String> getVerbs()
public void setVerbs(List<String> verbs)
verbs
- The verbsCopyright © 2011–2015 Red Hat. All rights reserved.