Package com.boldsign.model
Class CustomFieldMessage
- java.lang.Object
-
- com.boldsign.model.CustomFieldMessage
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class CustomFieldMessage extends Object
CustomFieldMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomFieldMessage.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CUSTOM_FIELD_IDstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description CustomFieldMessage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()CustomFieldMessagecustomFieldId(String customFieldId)booleanequals(Object o)static CustomFieldMessagefromJson(String jsonString)Create an instance of CustomFieldMessage given an JSON stringStringgetCustomFieldId()Get customFieldIdStringgetMessage()Get messageinthashCode()CustomFieldMessagemessage(String message)voidsetCustomFieldId(String customFieldId)voidsetMessage(String message)StringtoJson()Convert an instance of CustomFieldMessage to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CUSTOM_FIELD_ID
public static final String SERIALIZED_NAME_CUSTOM_FIELD_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
customFieldId
public CustomFieldMessage customFieldId(String customFieldId)
-
getCustomFieldId
@Nullable public String getCustomFieldId()
Get customFieldId- Returns:
- customFieldId
-
setCustomFieldId
public void setCustomFieldId(String customFieldId)
-
message
public CustomFieldMessage message(String message)
-
setMessage
public void setMessage(String message)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CustomFieldMessage
-
fromJson
public static CustomFieldMessage fromJson(String jsonString) throws IOException
Create an instance of CustomFieldMessage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomFieldMessage
- Throws:
IOException- if the JSON string is invalid with respect to CustomFieldMessage
-
toJson
public String toJson()
Convert an instance of CustomFieldMessage to an JSON string- Returns:
- JSON string
-
-