Package io.sendon.model
Class SendAlimTalkRequestSchemaFallback
- java.lang.Object
-
- io.sendon.model.SendAlimTalkRequestSchemaFallback
-
@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 SendAlimTalkRequestSchemaFallback extends Object
대체 발송 정보 (미입력시 대체문자 발송 안함) 1. 대체문자 사용 안함 (기본값) { fallbackType: 'NONE' } 2. 템플릿에 설정된 대체문자 사용 (알림톡만 가능) { fallbackType: 'TEMPLATE' } 3. 직접 대체문자 설정하기 { fallbackType: 'CUSTOM', custom: { type: 'SMS' | 'LMS' | 'MMS', // 대체문자 유형 senderNumber: '발신번호', message: '대체문자 내용', isAd: true | false, title: '제목 (LMS/MMS인 경우 선택)', images: ['이미지URL'] // MMS에서 필수 } }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendAlimTalkRequestSchemaFallback.CustomTypeAdapterFactorystatic classSendAlimTalkRequestSchemaFallback.FallbackTypeEnum대체문자 사용 옵션 - NONE: 대체문자 사용하지 않음 (기본값) - TEMPLATE: 템플릿에 설정된 대체문자 사용 (알림톡만 가능) - CUSTOM: 직접 설정한 대체문자 사용
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CUSTOMstatic StringSERIALIZED_NAME_FALLBACK_TYPE
-
Constructor Summary
Constructors Constructor Description SendAlimTalkRequestSchemaFallback()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SendAlimTalkRequestSchemaFallbackcustom(SendAlimTalkRequestSchemaFallbackCustom custom)booleanequals(Object o)SendAlimTalkRequestSchemaFallbackfallbackType(SendAlimTalkRequestSchemaFallback.FallbackTypeEnum fallbackType)static SendAlimTalkRequestSchemaFallbackfromJson(String jsonString)Create an instance of SendAlimTalkRequestSchemaFallback given an JSON stringSendAlimTalkRequestSchemaFallbackCustomgetCustom()Get customSendAlimTalkRequestSchemaFallback.FallbackTypeEnumgetFallbackType()대체문자 사용 옵션 - NONE: 대체문자 사용하지 않음 (기본값) - TEMPLATE: 템플릿에 설정된 대체문자 사용 (알림톡만 가능) - CUSTOM: 직접 설정한 대체문자 사용inthashCode()voidsetCustom(SendAlimTalkRequestSchemaFallbackCustom custom)voidsetFallbackType(SendAlimTalkRequestSchemaFallback.FallbackTypeEnum fallbackType)StringtoJson()Convert an instance of SendAlimTalkRequestSchemaFallback 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_FALLBACK_TYPE
public static final String SERIALIZED_NAME_FALLBACK_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUSTOM
public static final String SERIALIZED_NAME_CUSTOM
- See Also:
- Constant Field Values
-
-
Method Detail
-
fallbackType
public SendAlimTalkRequestSchemaFallback fallbackType(SendAlimTalkRequestSchemaFallback.FallbackTypeEnum fallbackType)
-
getFallbackType
@Nullable public SendAlimTalkRequestSchemaFallback.FallbackTypeEnum getFallbackType()
대체문자 사용 옵션 - NONE: 대체문자 사용하지 않음 (기본값) - TEMPLATE: 템플릿에 설정된 대체문자 사용 (알림톡만 가능) - CUSTOM: 직접 설정한 대체문자 사용- Returns:
- fallbackType
-
setFallbackType
public void setFallbackType(SendAlimTalkRequestSchemaFallback.FallbackTypeEnum fallbackType)
-
custom
public SendAlimTalkRequestSchemaFallback custom(SendAlimTalkRequestSchemaFallbackCustom custom)
-
getCustom
@Nullable public SendAlimTalkRequestSchemaFallbackCustom getCustom()
Get custom- Returns:
- custom
-
setCustom
public void setCustom(SendAlimTalkRequestSchemaFallbackCustom custom)
-
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 SendAlimTalkRequestSchemaFallback
-
fromJson
public static SendAlimTalkRequestSchemaFallback fromJson(String jsonString) throws IOException
Create an instance of SendAlimTalkRequestSchemaFallback given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SendAlimTalkRequestSchemaFallback
- Throws:
IOException- if the JSON string is invalid with respect to SendAlimTalkRequestSchemaFallback
-
toJson
public String toJson()
Convert an instance of SendAlimTalkRequestSchemaFallback to an JSON string- Returns:
- JSON string
-
-