Package io.sendon.model
Class RegisterChannelRequestSchema
- java.lang.Object
-
- io.sendon.model.RegisterChannelRequestSchema
-
@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 RegisterChannelRequestSchema extends Object
발신 프로필 등록 요청 데이터
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegisterChannelRequestSchema.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CATEGORY_CODEstatic StringSERIALIZED_NAME_CHANNEL_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_PHONE_NUMBERstatic StringSERIALIZED_NAME_TOKEN
-
Constructor Summary
Constructors Constructor Description RegisterChannelRequestSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterChannelRequestSchemacategoryCode(String categoryCode)RegisterChannelRequestSchemachannelId(String channelId)booleanequals(Object o)static RegisterChannelRequestSchemafromJson(String jsonString)Create an instance of RegisterChannelRequestSchema given an JSON stringStringgetCategoryCode()카테고리 코드 (기본값: 01800030001)StringgetChannelId()카카오톡 채널 IDStringgetId()등록 ID (선택사항)StringgetPhoneNumber()전화번호StringgetToken()인증 토큰inthashCode()RegisterChannelRequestSchemaid(String id)RegisterChannelRequestSchemaphoneNumber(String phoneNumber)voidsetCategoryCode(String categoryCode)voidsetChannelId(String channelId)voidsetId(String id)voidsetPhoneNumber(String phoneNumber)voidsetToken(String token)StringtoJson()Convert an instance of RegisterChannelRequestSchema to an JSON stringRegisterChannelRequestSchematoken(String token)StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN
public static final String SERIALIZED_NAME_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE_NUMBER
public static final String SERIALIZED_NAME_PHONE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHANNEL_ID
public static final String SERIALIZED_NAME_CHANNEL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CATEGORY_CODE
public static final String SERIALIZED_NAME_CATEGORY_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public RegisterChannelRequestSchema id(String id)
-
setId
public void setId(String id)
-
token
public RegisterChannelRequestSchema token(String token)
-
setToken
public void setToken(String token)
-
phoneNumber
public RegisterChannelRequestSchema phoneNumber(String phoneNumber)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
channelId
public RegisterChannelRequestSchema channelId(String channelId)
-
setChannelId
public void setChannelId(String channelId)
-
categoryCode
public RegisterChannelRequestSchema categoryCode(String categoryCode)
-
getCategoryCode
@Nullable public String getCategoryCode()
카테고리 코드 (기본값: 01800030001)- Returns:
- categoryCode
-
setCategoryCode
public void setCategoryCode(String categoryCode)
-
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 RegisterChannelRequestSchema
-
fromJson
public static RegisterChannelRequestSchema fromJson(String jsonString) throws IOException
Create an instance of RegisterChannelRequestSchema given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RegisterChannelRequestSchema
- Throws:
IOException- if the JSON string is invalid with respect to RegisterChannelRequestSchema
-
toJson
public String toJson()
Convert an instance of RegisterChannelRequestSchema to an JSON string- Returns:
- JSON string
-
-