Package software.xdev.brevo.model
Class GetAttributesAttributesInner
java.lang.Object
software.xdev.brevo.model.GetAttributesAttributesInner
GetAttributesAttributesInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCategory of the attributestatic enumType of the attribute -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEnumerationItem(GetAttributesAttributesInnerEnumerationInner enumerationItem) addMultiCategoryOptionsItem(String multiCategoryOptionsItem) calculatedValue(String calculatedValue) enumeration(List<GetAttributesAttributesInnerEnumerationInner> enumeration) booleanCalculated value formulaCategory of the attributeParameter only available for \"category\" type attributes.Parameter only available for \"multiple-choice\" type attributes.getName()Name of the attributegetType()Type of the attributeinthashCode()multiCategoryOptions(List<String> multiCategoryOptions) voidsetCalculatedValue(String calculatedValue) voidvoidsetEnumeration(List<GetAttributesAttributesInnerEnumerationInner> enumeration) voidsetMultiCategoryOptions(List<String> multiCategoryOptions) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_ENUMERATION
- See Also:
-
JSON_PROPERTY_CALCULATED_VALUE
- See Also:
-
JSON_PROPERTY_MULTI_CATEGORY_OPTIONS
- See Also:
-
-
Constructor Details
-
GetAttributesAttributesInner
public GetAttributesAttributesInner()
-
-
Method Details
-
name
-
getName
Name of the attribute- Returns:
- name
-
setName
-
category
public GetAttributesAttributesInner category(@Nonnull GetAttributesAttributesInner.CategoryEnum category) -
getCategory
Category of the attribute- Returns:
- category
-
setCategory
-
type
-
getType
Type of the attribute- Returns:
- type
-
setType
-
enumeration
public GetAttributesAttributesInner enumeration(@Nullable List<GetAttributesAttributesInnerEnumerationInner> enumeration) -
addEnumerationItem
public GetAttributesAttributesInner addEnumerationItem(GetAttributesAttributesInnerEnumerationInner enumerationItem) -
getEnumeration
Parameter only available for \"category\" type attributes.- Returns:
- enumeration
-
setEnumeration
public void setEnumeration(@Nullable List<GetAttributesAttributesInnerEnumerationInner> enumeration) -
calculatedValue
-
getCalculatedValue
Calculated value formula- Returns:
- calculatedValue
-
setCalculatedValue
-
multiCategoryOptions
public GetAttributesAttributesInner multiCategoryOptions(@Nullable List<String> multiCategoryOptions) -
addMultiCategoryOptionsItem
-
getMultiCategoryOptions
Parameter only available for \"multiple-choice\" type attributes.- Returns:
- multiCategoryOptions
-
setMultiCategoryOptions
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-