Package io.sendon.model
Class CreateBlocklistRequestDto
- java.lang.Object
-
- io.sendon.model.CreateBlocklistRequestDto
-
@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 CreateBlocklistRequestDto extends Object
CreateBlocklistRequestDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateBlocklistRequestDto.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PHONE_NUMBER
-
Constructor Summary
Constructors Constructor Description CreateBlocklistRequestDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CreateBlocklistRequestDtofromJson(String jsonString)Create an instance of CreateBlocklistRequestDto given an JSON stringStringgetPhoneNumber()추가할 수신거부 전화번호inthashCode()CreateBlocklistRequestDtophoneNumber(String phoneNumber)voidsetPhoneNumber(String phoneNumber)StringtoJson()Convert an instance of CreateBlocklistRequestDto to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
phoneNumber
public CreateBlocklistRequestDto phoneNumber(String phoneNumber)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
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 CreateBlocklistRequestDto
-
fromJson
public static CreateBlocklistRequestDto fromJson(String jsonString) throws IOException
Create an instance of CreateBlocklistRequestDto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateBlocklistRequestDto
- Throws:
IOException- if the JSON string is invalid with respect to CreateBlocklistRequestDto
-
toJson
public String toJson()
Convert an instance of CreateBlocklistRequestDto to an JSON string- Returns:
- JSON string
-
-