Package io.sendon.model
Class FreePointDetails
- java.lang.Object
-
- io.sendon.model.FreePointDetails
-
@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 FreePointDetails extends Object
FreePointDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFreePointDetails.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_EXPIRED_ATstatic StringSERIALIZED_NAME_POINT_IDstatic StringSERIALIZED_NAME_POINTSstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description FreePointDetails()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_POINTS
public static final String SERIALIZED_NAME_POINTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POINT_ID
public static final String SERIALIZED_NAME_POINT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRED_AT
public static final String SERIALIZED_NAME_EXPIRED_AT
- 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
-
points
public FreePointDetails points(BigDecimal points)
-
getPoints
@Nonnull public BigDecimal getPoints()
포인트 금액- Returns:
- points
-
setPoints
public void setPoints(BigDecimal points)
-
pointId
public FreePointDetails pointId(BigDecimal pointId)
-
getPointId
@Nonnull public BigDecimal getPointId()
포인트 ID- Returns:
- pointId
-
setPointId
public void setPointId(BigDecimal pointId)
-
userId
public FreePointDetails userId(BigDecimal userId)
-
getUserId
@Nonnull public BigDecimal getUserId()
사용자 ID- Returns:
- userId
-
setUserId
public void setUserId(BigDecimal userId)
-
expiredAt
public FreePointDetails expiredAt(OffsetDateTime expiredAt)
-
getExpiredAt
@Nullable public OffsetDateTime getExpiredAt()
소멸 일자- Returns:
- expiredAt
-
setExpiredAt
public void setExpiredAt(OffsetDateTime expiredAt)
-
createdAt
public FreePointDetails createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
생성 일자- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public FreePointDetails updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable 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 FreePointDetails
-
fromJson
public static FreePointDetails fromJson(String jsonString) throws IOException
Create an instance of FreePointDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FreePointDetails
- Throws:
IOException- if the JSON string is invalid with respect to FreePointDetails
-
toJson
public String toJson()
Convert an instance of FreePointDetails to an JSON string- Returns:
- JSON string
-
-