Package io.sendon.model
Class SendMessageRequestDto
- java.lang.Object
-
- io.sendon.model.SendMessageRequestDto
-
@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 SendMessageRequestDto extends Object
SendMessageRequestDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendMessageRequestDto.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTACTSstatic StringSERIALIZED_NAME_FROMstatic StringSERIALIZED_NAME_IMAGESstatic StringSERIALIZED_NAME_IS_ADstatic StringSERIALIZED_NAME_IS_TESTINGstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_RESERVATIONstatic StringSERIALIZED_NAME_TITLEstatic StringSERIALIZED_NAME_TOstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_USER_PARAMETERS
-
Constructor Summary
Constructors Constructor Description SendMessageRequestDto()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_FROM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_TO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMAGES
public static final String SERIALIZED_NAME_IMAGES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_PARAMETERS
public static final String SERIALIZED_NAME_USER_PARAMETERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_TESTING
public static final String SERIALIZED_NAME_IS_TESTING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTACTS
public static final String SERIALIZED_NAME_CONTACTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESERVATION
public static final String SERIALIZED_NAME_RESERVATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_AD
public static final String SERIALIZED_NAME_IS_AD
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public SendMessageRequestDto type(SmsMessageType type)
-
getType
@Nonnull public SmsMessageType getType()
Get type- Returns:
- type
-
setType
public void setType(SmsMessageType type)
-
from
public SendMessageRequestDto from(String from)
-
setFrom
public void setFrom(String from)
-
to
public SendMessageRequestDto to(List<SendMessageRequestDtoToInner> to)
-
addToItem
public SendMessageRequestDto addToItem(SendMessageRequestDtoToInner toItem)
-
getTo
@Nonnull public List<SendMessageRequestDtoToInner> getTo()
(SMS/LMS/MMS) 수신 번호- Returns:
- to
-
setTo
public void setTo(List<SendMessageRequestDtoToInner> to)
-
title
public SendMessageRequestDto title(String title)
-
setTitle
public void setTitle(String title)
-
message
public SendMessageRequestDto message(String message)
-
setMessage
public void setMessage(String message)
-
images
public SendMessageRequestDto images(List<String> images)
-
addImagesItem
public SendMessageRequestDto addImagesItem(String imagesItem)
-
userParameters
public SendMessageRequestDto userParameters(UserParameters userParameters)
-
getUserParameters
@Nullable public UserParameters getUserParameters()
(SMS/LMS/MMS) 사용자 정의 매개변수- Returns:
- userParameters
-
setUserParameters
public void setUserParameters(UserParameters userParameters)
-
isTesting
public SendMessageRequestDto isTesting(Boolean isTesting)
-
setIsTesting
public void setIsTesting(Boolean isTesting)
-
contacts
public SendMessageRequestDto contacts(List<Contact> contacts)
-
addContactsItem
public SendMessageRequestDto addContactsItem(Contact contactsItem)
-
reservation
public SendMessageRequestDto reservation(Reservation reservation)
-
getReservation
@Nullable public Reservation getReservation()
(SMS/LMS/MMS) 예약 발송- Returns:
- reservation
-
setReservation
public void setReservation(Reservation reservation)
-
isAd
public SendMessageRequestDto isAd(Boolean isAd)
-
setIsAd
public void setIsAd(Boolean isAd)
-
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 SendMessageRequestDto
-
fromJson
public static SendMessageRequestDto fromJson(String jsonString) throws IOException
Create an instance of SendMessageRequestDto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SendMessageRequestDto
- Throws:
IOException- if the JSON string is invalid with respect to SendMessageRequestDto
-
toJson
public String toJson()
Convert an instance of SendMessageRequestDto to an JSON string- Returns:
- JSON string
-
-