Package io.sendon.model
Class MessagePricing
- java.lang.Object
-
- io.sendon.model.MessagePricing
-
@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 MessagePricing extends Object
MessagePricing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessagePricing.CustomTypeAdapterFactorystatic classMessagePricing.MessageTypeEnum메시지 종류
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MESSAGE_TYPEstatic StringSERIALIZED_NAME_PRICING
-
Constructor Summary
Constructors Constructor Description MessagePricing()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static MessagePricingfromJson(String jsonString)Create an instance of MessagePricing given an JSON stringMessagePricing.MessageTypeEnumgetMessageType()메시지 종류BigDecimalgetPricing()메시지 단가inthashCode()MessagePricingmessageType(MessagePricing.MessageTypeEnum messageType)MessagePricingpricing(BigDecimal pricing)voidsetMessageType(MessagePricing.MessageTypeEnum messageType)voidsetPricing(BigDecimal pricing)StringtoJson()Convert an instance of MessagePricing 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_MESSAGE_TYPE
public static final String SERIALIZED_NAME_MESSAGE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRICING
public static final String SERIALIZED_NAME_PRICING
- See Also:
- Constant Field Values
-
-
Method Detail
-
messageType
public MessagePricing messageType(MessagePricing.MessageTypeEnum messageType)
-
getMessageType
@Nonnull public MessagePricing.MessageTypeEnum getMessageType()
메시지 종류- Returns:
- messageType
-
setMessageType
public void setMessageType(MessagePricing.MessageTypeEnum messageType)
-
pricing
public MessagePricing pricing(BigDecimal pricing)
-
getPricing
@Nonnull public BigDecimal getPricing()
메시지 단가- Returns:
- pricing
-
setPricing
public void setPricing(BigDecimal pricing)
-
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 MessagePricing
-
fromJson
public static MessagePricing fromJson(String jsonString) throws IOException
Create an instance of MessagePricing given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MessagePricing
- Throws:
IOException- if the JSON string is invalid with respect to MessagePricing
-
toJson
public String toJson()
Convert an instance of MessagePricing to an JSON string- Returns:
- JSON string
-
-