Package software.xdev.brevo.model
Class CrmAttributesPostRequest
java.lang.Object
software.xdev.brevo.model.CrmAttributesPostRequest
CrmAttributesPostRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of attribute (must be one of the defined enums)static enumThe type of object the attribute belongs to (prefilled with `companies` or `deal`, mandatory) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionsLabelsItem(String optionsLabelsItem) attributeType(CrmAttributesPostRequest.AttributeTypeEnum attributeType) description(String description) booleanThe type of attribute (must be one of the defined enums)A description of the attributegetLabel()The label for the attribute (max 50 characters, cannot be empty)The type of object the attribute belongs to (prefilled with `companies` or `deal`, mandatory)Options for multi-choice or single-select attributesinthashCode()objectType(CrmAttributesPostRequest.ObjectTypeEnum objectType) optionsLabels(List<String> optionsLabels) voidsetAttributeType(CrmAttributesPostRequest.AttributeTypeEnum attributeType) voidsetDescription(String description) voidvoidsetObjectType(CrmAttributesPostRequest.ObjectTypeEnum objectType) voidsetOptionsLabels(List<String> optionsLabels) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_ATTRIBUTE_TYPE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_OPTIONS_LABELS
- See Also:
-
JSON_PROPERTY_OBJECT_TYPE
- See Also:
-
-
Constructor Details
-
CrmAttributesPostRequest
public CrmAttributesPostRequest()
-
-
Method Details
-
label
-
getLabel
The label for the attribute (max 50 characters, cannot be empty)- Returns:
- label
-
setLabel
-
attributeType
public CrmAttributesPostRequest attributeType(@Nonnull CrmAttributesPostRequest.AttributeTypeEnum attributeType) -
getAttributeType
The type of attribute (must be one of the defined enums)- Returns:
- attributeType
-
setAttributeType
-
description
-
getDescription
A description of the attribute- Returns:
- description
-
setDescription
-
optionsLabels
-
addOptionsLabelsItem
-
getOptionsLabels
Options for multi-choice or single-select attributes- Returns:
- optionsLabels
-
setOptionsLabels
-
objectType
public CrmAttributesPostRequest objectType(@Nonnull CrmAttributesPostRequest.ObjectTypeEnum objectType) -
getObjectType
The type of object the attribute belongs to (prefilled with `companies` or `deal`, mandatory)- Returns:
- objectType
-
setObjectType
-
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
-