Package com.boldsign.model
Class TemplateShareErrorResponse
- java.lang.Object
-
- com.boldsign.model.TemplateShareErrorResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateShareErrorResponse extends Object
TemplateShareErrorResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateShareErrorResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERRORstatic StringSERIALIZED_NAME_ERROR_TYPEstatic StringSERIALIZED_NAME_TEAMSstatic StringSERIALIZED_NAME_TEMPLATE_ID
-
Constructor Summary
Constructors Constructor Description TemplateShareErrorResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateShareErrorResponseaddTeamsItem(String teamsItem)Map<String,Object>createFormData()booleanequals(Object o)TemplateShareErrorResponseerror(String error)TemplateShareErrorResponseerrorType(String errorType)static TemplateShareErrorResponsefromJson(String jsonString)Create an instance of TemplateShareErrorResponse given an JSON stringStringgetError()Get errorStringgetErrorType()Get errorTypeList<String>getTeams()Get teamsStringgetTemplateId()Get templateIdinthashCode()voidsetError(String error)voidsetErrorType(String errorType)voidsetTeams(List<String> teams)voidsetTemplateId(String templateId)TemplateShareErrorResponseteams(List<String> teams)TemplateShareErrorResponsetemplateId(String templateId)StringtoJson()Convert an instance of TemplateShareErrorResponse 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_TEAMS
public static final String SERIALIZED_NAME_TEAMS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPLATE_ID
public static final String SERIALIZED_NAME_TEMPLATE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_TYPE
public static final String SERIALIZED_NAME_ERROR_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
teams
public TemplateShareErrorResponse teams(List<String> teams)
-
addTeamsItem
public TemplateShareErrorResponse addTeamsItem(String teamsItem)
-
templateId
public TemplateShareErrorResponse templateId(String templateId)
-
setTemplateId
public void setTemplateId(String templateId)
-
errorType
public TemplateShareErrorResponse errorType(String errorType)
-
setErrorType
public void setErrorType(String errorType)
-
error
public TemplateShareErrorResponse error(String error)
-
setError
public void setError(String error)
-
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 TemplateShareErrorResponse
-
fromJson
public static TemplateShareErrorResponse fromJson(String jsonString) throws IOException
Create an instance of TemplateShareErrorResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateShareErrorResponse
- Throws:
IOException- if the JSON string is invalid with respect to TemplateShareErrorResponse
-
toJson
public String toJson()
Convert an instance of TemplateShareErrorResponse to an JSON string- Returns:
- JSON string
-
-