Package io.sendon.model
Class GetBlocklistResponse
- java.lang.Object
-
- io.sendon.model.GetBlocklistResponse
-
@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 GetBlocklistResponse extends Object
GetBlocklistResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetBlocklistResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BLOCKLISTstatic StringSERIALIZED_NAME_CURSORstatic StringSERIALIZED_NAME_TOTAL_COUNT
-
Constructor Summary
Constructors Constructor Description GetBlocklistResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetBlocklistResponseaddBlocklistItem(BlocklistDto blocklistItem)GetBlocklistResponseblocklist(List<BlocklistDto> blocklist)GetBlocklistResponsecursor(BigDecimal cursor)booleanequals(Object o)static GetBlocklistResponsefromJson(String jsonString)Create an instance of GetBlocklistResponse given an JSON stringList<BlocklistDto>getBlocklist()수신거부 목록BigDecimalgetCursor()CursorBigDecimalgetTotalCount()전체 수신거부 수inthashCode()voidsetBlocklist(List<BlocklistDto> blocklist)voidsetCursor(BigDecimal cursor)voidsetTotalCount(BigDecimal totalCount)StringtoJson()Convert an instance of GetBlocklistResponse to an JSON stringStringtoString()GetBlocklistResponsetotalCount(BigDecimal totalCount)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CURSOR
public static final String SERIALIZED_NAME_CURSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCKLIST
public static final String SERIALIZED_NAME_BLOCKLIST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_COUNT
public static final String SERIALIZED_NAME_TOTAL_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
cursor
public GetBlocklistResponse cursor(BigDecimal cursor)
-
getCursor
@Nullable public BigDecimal getCursor()
Cursor- Returns:
- cursor
-
setCursor
public void setCursor(BigDecimal cursor)
-
blocklist
public GetBlocklistResponse blocklist(List<BlocklistDto> blocklist)
-
addBlocklistItem
public GetBlocklistResponse addBlocklistItem(BlocklistDto blocklistItem)
-
getBlocklist
@Nonnull public List<BlocklistDto> getBlocklist()
수신거부 목록- Returns:
- blocklist
-
setBlocklist
public void setBlocklist(List<BlocklistDto> blocklist)
-
totalCount
public GetBlocklistResponse totalCount(BigDecimal totalCount)
-
getTotalCount
@Nonnull public BigDecimal getTotalCount()
전체 수신거부 수- Returns:
- totalCount
-
setTotalCount
public void setTotalCount(BigDecimal totalCount)
-
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 GetBlocklistResponse
-
fromJson
public static GetBlocklistResponse fromJson(String jsonString) throws IOException
Create an instance of GetBlocklistResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetBlocklistResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetBlocklistResponse
-
toJson
public String toJson()
Convert an instance of GetBlocklistResponse to an JSON string- Returns:
- JSON string
-
-