Package software.xdev.brevo.model
Class ContactErrorModel
java.lang.Object
software.xdev.brevo.model.ContactErrorModel
ContactErrorModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumError code displayed in case of a failure -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Error code displayed in case of a failureReadable message associated to the failureAdditional information about the errorinthashCode()voidvoidsetMessage(String message) voidsetMetadata(Object metadata) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
ContactErrorModel
public ContactErrorModel()
-
-
Method Details
-
code
-
getCode
Error code displayed in case of a failure- Returns:
- code
-
setCode
-
message
-
getMessage
Readable message associated to the failure- Returns:
- message
-
setMessage
-
metadata
-
getMetadata
Additional information about the error- Returns:
- metadata
-
setMetadata
-
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
-