public class ActivateAPIKeyModel
extends java.lang.Object
Constructor and Description |
---|
ActivateAPIKeyModel() |
Modifier and Type | Method and Description |
---|---|
java.util.List<APIKeyApprovalModel> |
getApiKeyApprovalModel()
Gets the API key approval models.
|
java.util.List<java.lang.String> |
getApproverGroupIds()
Gets the ids of all the approver groups.
|
java.lang.String |
getDesignTimePolicyId()
Gets the design time policy id.
|
java.lang.String |
getExpirationInterval()
Gets the expiration interval for the API key.
|
Operation |
getPrivilegeServiceOperation()
Gets the privilege service operation type.
|
java.lang.String |
getRuntimePolicyID()
Gets the runtime policy id.
|
boolean |
isActivateKeyPolicyAvaliable()
Checks whether the policy to activate the API key is available or not.
|
boolean |
isAll()
Checks to see if approval is required from everyone in the approver group.
|
boolean |
isAny()
Checks if approval is required from anyone in the approval group.
|
boolean |
isApprovalRequired()
Checks if approval is required for the API key.
|
void |
setActivateKeyPolicyAvaliable(boolean isActivateKeyPolicyAvaliable)
Sets whether there should be a policy for activating the API key.
|
void |
setAll(boolean isAll)
Sets whether approval is required from everyone in the group.
|
void |
setAny(boolean isAny)
Sets if anyone in the group can approve an API key request.
|
void |
setApiKeyApprovalModel(java.util.List<APIKeyApprovalModel> apiKeyApprovalModel)
Sets the API key approval models.
|
void |
setApprovalRequired(boolean isApprovalRequired)
Sets whether approval for API key is required or not.
|
void |
setApproverGroupIds(java.util.List<java.lang.String> approverGroupIds)
Sets the ids the groups who can approve an API key request.
|
void |
setDesignTimePolicyId(java.lang.String designTimePolicyId)
Sets the design time policy id.
|
void |
setExpirationInterval(java.lang.String expirationInterval)
Sets the API key expiration interval.
|
void |
setPrivilegeServiceOperation(Operation privilegeServiceOperation)
Sets the privilege service operation type.
|
void |
setRuntimePolicyID(java.lang.String runtimePolicyID)
Sets the runtime policy id.
|
public Operation getPrivilegeServiceOperation()
Operation
type.public void setPrivilegeServiceOperation(Operation privilegeServiceOperation)
privilegeServiceOperation
- The privilege service Operation
type to setpublic java.lang.String getExpirationInterval()
public void setExpirationInterval(java.lang.String expirationInterval)
expirationInterval
- The expiration interval to setpublic boolean isApprovalRequired()
public void setApprovalRequired(boolean isApprovalRequired)
isApprovalRequired
- If true, approval will be requiredpublic java.util.List<APIKeyApprovalModel> getApiKeyApprovalModel()
List
of APIKeyApprovalModel
spublic void setApiKeyApprovalModel(java.util.List<APIKeyApprovalModel> apiKeyApprovalModel)
apiKeyApprovalModel
- The List
of APIKeyApprovalModel
s to setpublic boolean isActivateKeyPolicyAvaliable()
public void setActivateKeyPolicyAvaliable(boolean isActivateKeyPolicyAvaliable)
isActivateKeyPolicyAvaliable
- If true, the policy should be used.public java.lang.String getDesignTimePolicyId()
public void setDesignTimePolicyId(java.lang.String designTimePolicyId)
designTimePolicyId
- The design time policy id to setpublic java.lang.String getRuntimePolicyID()
public void setRuntimePolicyID(java.lang.String runtimePolicyID)
runtimePolicyID
- The runtime policy id to setpublic boolean isAny()
public void setAny(boolean isAny)
isAny
- If true, anyone in the group can approvepublic boolean isAll()
public void setAll(boolean isAll)
isAll
- If true, everyone in the group should approve.public java.util.List<java.lang.String> getApproverGroupIds()
List
of approver group ids.public void setApproverGroupIds(java.util.List<java.lang.String> approverGroupIds)
approverGroupIds
- The List
of approver group ids to set.