Package io.sendon.model
Class PointsListResponseDto
- java.lang.Object
-
- io.sendon.model.PointsListResponseDto
-
@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 PointsListResponseDto extends Object
PointsListResponseDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPointsListResponseDto.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_DATAstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description PointsListResponseDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PointsListResponseDtocode(BigDecimal code)PointsListResponseDtodata(PointsListResponse data)booleanequals(Object o)static PointsListResponseDtofromJson(String jsonString)Create an instance of PointsListResponseDto given an JSON stringBigDecimalgetCode()응답 코드PointsListResponsegetData()포인트 조회 요청에 대한 응답StringgetMessage()응답 메시지inthashCode()PointsListResponseDtomessage(String message)voidsetCode(BigDecimal code)voidsetData(PointsListResponse data)voidsetMessage(String message)StringtoJson()Convert an instance of PointsListResponseDto 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_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public PointsListResponseDto code(BigDecimal code)
-
getCode
@Nonnull public BigDecimal getCode()
응답 코드- Returns:
- code
-
setCode
public void setCode(BigDecimal code)
-
message
public PointsListResponseDto message(String message)
-
setMessage
public void setMessage(String message)
-
data
public PointsListResponseDto data(PointsListResponse data)
-
getData
@Nonnull public PointsListResponse getData()
포인트 조회 요청에 대한 응답- Returns:
- data
-
setData
public void setData(PointsListResponse data)
-
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 PointsListResponseDto
-
fromJson
public static PointsListResponseDto fromJson(String jsonString) throws IOException
Create an instance of PointsListResponseDto given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PointsListResponseDto
- Throws:
IOException- if the JSON string is invalid with respect to PointsListResponseDto
-
toJson
public String toJson()
Convert an instance of PointsListResponseDto to an JSON string- Returns:
- JSON string
-
-