Package com.exoscale.sdk.model
Class IamServicePolicy
- java.lang.Object
-
- com.exoscale.sdk.model.IamServicePolicy
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class IamServicePolicy extends Object
IamServicePolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IamServicePolicy.TypeEnum
Gets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_RULES
static String
JSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description IamServicePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamServicePolicy
addRulesItem(IamServicePolicyRule rulesItem)
boolean
equals(Object o)
Return true if this iam-service-policy object is equal to o.List<IamServicePolicyRule>
getRules()
Get rulesIamServicePolicy.TypeEnum
getType()
Get typeint
hashCode()
IamServicePolicy
rules(List<IamServicePolicyRule> rules)
void
setRules(List<IamServicePolicyRule> rules)
void
setType(IamServicePolicy.TypeEnum type)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.IamServicePolicy
type(IamServicePolicy.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RULES
public static final String JSON_PROPERTY_RULES
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public IamServicePolicy type(IamServicePolicy.TypeEnum type)
-
getType
@Nullable public IamServicePolicy.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(IamServicePolicy.TypeEnum type)
-
rules
public IamServicePolicy rules(List<IamServicePolicyRule> rules)
-
addRulesItem
public IamServicePolicy addRulesItem(IamServicePolicyRule rulesItem)
-
getRules
@Nullable public List<IamServicePolicyRule> getRules()
Get rules- Returns:
- rules
-
setRules
public void setRules(List<IamServicePolicyRule> rules)
-
equals
public boolean equals(Object o)
Return true if this iam-service-policy object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-