Package io.sendon.model
Class RegisterChannel406Response
- java.lang.Object
-
- io.sendon.model.RegisterChannel406Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]", comments="Generator version: 7.7.0") public class RegisterChannel406Response extends Object
RegisterChannel406Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegisterChannel406Response.CodeEnumGets or Sets codestatic classRegisterChannel406Response.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description RegisterChannel406Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterChannel406Responsecode(RegisterChannel406Response.CodeEnum code)booleanequals(Object o)static RegisterChannel406ResponsefromJson(String jsonString)Create an instance of RegisterChannel406Response given an JSON stringRegisterChannel406Response.CodeEnumgetCode()Get codeStringgetMessage()Get messageinthashCode()RegisterChannel406Responsemessage(String message)voidsetCode(RegisterChannel406Response.CodeEnum code)voidsetMessage(String message)StringtoJson()Convert an instance of RegisterChannel406Response 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_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public RegisterChannel406Response code(RegisterChannel406Response.CodeEnum code)
-
getCode
@Nonnull public RegisterChannel406Response.CodeEnum getCode()
Get code- Returns:
- code
-
setCode
public void setCode(RegisterChannel406Response.CodeEnum code)
-
message
public RegisterChannel406Response message(String message)
-
setMessage
public void setMessage(String message)
-
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 RegisterChannel406Response
-
fromJson
public static RegisterChannel406Response fromJson(String jsonString) throws IOException
Create an instance of RegisterChannel406Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RegisterChannel406Response
- Throws:
IOException- if the JSON string is invalid with respect to RegisterChannel406Response
-
toJson
public String toJson()
Convert an instance of RegisterChannel406Response to an JSON string- Returns:
- JSON string
-
-