Package com.twitter.clientlib.model
Class InvalidRequestProblemAllOfErrors
- java.lang.Object
-
- com.twitter.clientlib.model.InvalidRequestProblemAllOfErrors
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class InvalidRequestProblemAllOfErrors extends Object
InvalidRequestProblemAllOfErrors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidRequestProblemAllOfErrors.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_PARAMETERS
-
Constructor Summary
Constructors Constructor Description InvalidRequestProblemAllOfErrors()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static InvalidRequestProblemAllOfErrorsfromJson(String jsonString)Create an instance of InvalidRequestProblemAllOfErrors given an JSON stringStringgetMessage()Get messageMap<String,List<String>>getParameters()Get parametersinthashCode()InvalidRequestProblemAllOfErrorsmessage(String message)InvalidRequestProblemAllOfErrorsparameters(Map<String,List<String>> parameters)InvalidRequestProblemAllOfErrorsputParametersItem(String key, List<String> parametersItem)voidsetMessage(String message)voidsetParameters(Map<String,List<String>> parameters)StringtoJson()Convert an instance of InvalidRequestProblemAllOfErrors to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARAMETERS
public static final String SERIALIZED_NAME_PARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
message
public InvalidRequestProblemAllOfErrors message(String message)
-
setMessage
public void setMessage(String message)
-
parameters
public InvalidRequestProblemAllOfErrors parameters(Map<String,List<String>> parameters)
-
putParametersItem
public InvalidRequestProblemAllOfErrors putParametersItem(String key, List<String> parametersItem)
-
getParameters
@Nullable public Map<String,List<String>> getParameters()
Get parameters- Returns:
- parameters
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to InvalidRequestProblemAllOfErrors
-
fromJson
public static InvalidRequestProblemAllOfErrors fromJson(String jsonString) throws IOException
Create an instance of InvalidRequestProblemAllOfErrors given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InvalidRequestProblemAllOfErrors
- Throws:
IOException- if the JSON string is invalid with respect to InvalidRequestProblemAllOfErrors
-
toJson
public String toJson()
Convert an instance of InvalidRequestProblemAllOfErrors to an JSON string- Returns:
- JSON string
-
-