Package io.sendon.model
Class BlocklistDto
- java.lang.Object
-
- io.sendon.model.BlocklistDto
-
@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 BlocklistDto extends Object
BlocklistDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlocklistDto.BlockTypeEnum수신거부 유형static classBlocklistDto.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BLOCK_DOMAINstatic StringSERIALIZED_NAME_BLOCK_IDstatic StringSERIALIZED_NAME_BLOCK_TYPEstatic StringSERIALIZED_NAME_CHANNEL_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_PHONE_NUMBERstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description BlocklistDto()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHANNEL_ID
public static final String SERIALIZED_NAME_CHANNEL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE_NUMBER
public static final String SERIALIZED_NAME_PHONE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCK_ID
public static final String SERIALIZED_NAME_BLOCK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCK_TYPE
public static final String SERIALIZED_NAME_BLOCK_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCK_DOMAIN
public static final String SERIALIZED_NAME_BLOCK_DOMAIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
userId
public BlocklistDto userId(BigDecimal userId)
-
getUserId
@Nonnull public BigDecimal getUserId()
사용자 ID- Returns:
- userId
-
setUserId
public void setUserId(BigDecimal userId)
-
channelId
public BlocklistDto channelId(BigDecimal channelId)
-
getChannelId
@Nonnull public BigDecimal getChannelId()
채널 ID- Returns:
- channelId
-
setChannelId
public void setChannelId(BigDecimal channelId)
-
phoneNumber
public BlocklistDto phoneNumber(String phoneNumber)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
blockId
public BlocklistDto blockId(BigDecimal blockId)
-
getBlockId
@Nonnull public BigDecimal getBlockId()
수신거부 ID- Returns:
- blockId
-
setBlockId
public void setBlockId(BigDecimal blockId)
-
blockType
public BlocklistDto blockType(BlocklistDto.BlockTypeEnum blockType)
-
getBlockType
@Nonnull public BlocklistDto.BlockTypeEnum getBlockType()
수신거부 유형- Returns:
- blockType
-
setBlockType
public void setBlockType(BlocklistDto.BlockTypeEnum blockType)
-
blockDomain
public BlocklistDto blockDomain(String blockDomain)
-
setBlockDomain
public void setBlockDomain(String blockDomain)
-
createdAt
public BlocklistDto createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nonnull public OffsetDateTime getCreatedAt()
수신거부 생성일- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public BlocklistDto updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nonnull public OffsetDateTime getUpdatedAt()
수신거부 수정일- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
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 BlocklistDto
-
fromJson
public static BlocklistDto fromJson(String jsonString) throws IOException
Create an instance of BlocklistDto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BlocklistDto
- Throws:
IOException- if the JSON string is invalid with respect to BlocklistDto
-
toJson
public String toJson()
Convert an instance of BlocklistDto to an JSON string- Returns:
- JSON string
-
-