Class OperationPolicySpecAttributeDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.OperationPolicySpecAttributeDTO
OperationPolicySpecAttributeDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedValues(List<String> allowedValues) defaultValue(String defaultValue) description(String description) displayName(String displayName) booleanIf the attribute type is enum, this array should contain all the possible values for the enum.Default value for the attributeDescription of the attibuteDisplay name of the attibutegetName()Name of the attibutegetType()Type of the attibuteUI validation regex for the attibuteinthashCode()Is this attibute mandetory for the policyvoidsetAllowedValues(List<String> allowedValues) voidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidsetDisplayName(String displayName) voidvoidsetRequired(Boolean required) voidvoidsetValidationRegex(String validationRegex) toString()validationRegex(String validationRegex)
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_VALIDATION_REGEX
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_REQUIRED
- See Also:
-
SERIALIZED_NAME_DEFAULT_VALUE
- See Also:
-
SERIALIZED_NAME_ALLOWED_VALUES
- See Also:
-
-
Constructor Details
-
OperationPolicySpecAttributeDTO
public OperationPolicySpecAttributeDTO()
-
-
Method Details
-
name
-
getName
Name of the attibute- Returns:
- name
-
setName
-
displayName
-
getDisplayName
Display name of the attibute- Returns:
- displayName
-
setDisplayName
-
description
-
getDescription
Description of the attibute- Returns:
- description
-
setDescription
-
validationRegex
-
getValidationRegex
UI validation regex for the attibute- Returns:
- validationRegex
-
setValidationRegex
-
type
-
getType
Type of the attibute- Returns:
- type
-
setType
-
required
-
isRequired
Is this attibute mandetory for the policy- Returns:
- required
-
setRequired
-
defaultValue
-
getDefaultValue
Default value for the attribute- Returns:
- defaultValue
-
setDefaultValue
-
allowedValues
-
getAllowedValues
If the attribute type is enum, this array should contain all the possible values for the enum.- Returns:
- allowedValues
-
setAllowedValues
-
equals
-
hashCode
public int hashCode() -
toString
-