Package io.sendon.model
Class CostGetResponse
- java.lang.Object
-
- io.sendon.model.CostGetResponse
-
@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 CostGetResponse extends Object
CostGetResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCostGetResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COST_DISPLAY_NAMEstatic StringSERIALIZED_NAME_COST_IDstatic StringSERIALIZED_NAME_COST_NAMEstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DAYS_VALIDstatic StringSERIALIZED_NAME_END_DATEstatic StringSERIALIZED_NAME_PRICINGSstatic StringSERIALIZED_NAME_START_DATEstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description CostGetResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_COST_NAME
public static final String SERIALIZED_NAME_COST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COST_DISPLAY_NAME
public static final String SERIALIZED_NAME_COST_DISPLAY_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DAYS_VALID
public static final String SERIALIZED_NAME_DAYS_VALID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRICINGS
public static final String SERIALIZED_NAME_PRICINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COST_ID
public static final String SERIALIZED_NAME_COST_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_DATE
public static final String SERIALIZED_NAME_START_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_END_DATE
public static final String SERIALIZED_NAME_END_DATE
- 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
-
costName
public CostGetResponse costName(String costName)
-
setCostName
public void setCostName(String costName)
-
costDisplayName
public CostGetResponse costDisplayName(String costDisplayName)
-
setCostDisplayName
public void setCostDisplayName(String costDisplayName)
-
daysValid
public CostGetResponse daysValid(BigDecimal daysValid)
-
getDaysValid
@Nonnull public BigDecimal getDaysValid()
단가 유효기간(일 단위)- Returns:
- daysValid
-
setDaysValid
public void setDaysValid(BigDecimal daysValid)
-
pricings
public CostGetResponse pricings(List<MessagePricing> pricings)
-
addPricingsItem
public CostGetResponse addPricingsItem(MessagePricing pricingsItem)
-
getPricings
@Nonnull public List<MessagePricing> getPricings()
메시지 단가 리스트- Returns:
- pricings
-
setPricings
public void setPricings(List<MessagePricing> pricings)
-
costId
public CostGetResponse costId(BigDecimal costId)
-
getCostId
@Nonnull public BigDecimal getCostId()
단가 ID- Returns:
- costId
-
setCostId
public void setCostId(BigDecimal costId)
-
startDate
public CostGetResponse startDate(OffsetDateTime startDate)
-
getStartDate
@Nullable public OffsetDateTime getStartDate()
단가 적용 시작일자- Returns:
- startDate
-
setStartDate
public void setStartDate(OffsetDateTime startDate)
-
endDate
public CostGetResponse endDate(OffsetDateTime endDate)
-
getEndDate
@Nullable public OffsetDateTime getEndDate()
단가 적용 완료일자- Returns:
- endDate
-
setEndDate
public void setEndDate(OffsetDateTime endDate)
-
createdAt
public CostGetResponse createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
생성 일자- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public CostGetResponse 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 CostGetResponse
-
fromJson
public static CostGetResponse fromJson(String jsonString) throws IOException
Create an instance of CostGetResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CostGetResponse
- Throws:
IOException- if the JSON string is invalid with respect to CostGetResponse
-
toJson
public String toJson()
Convert an instance of CostGetResponse to an JSON string- Returns:
- JSON string
-
-