Package org.openapitools.client.model
Class StripePlan
- java.lang.Object
-
- org.openapitools.client.model.StripePlan
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class StripePlan extends Object
StripePlan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStripePlan.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AMOUNTstatic StringSERIALIZED_NAME_CHUNK_COUNTstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DATASET_COUNTstatic StringSERIALIZED_NAME_FILE_STORAGEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_MESSAGE_COUNTstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_STRIPE_IDstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_USER_COUNT
-
Constructor Summary
Constructors Constructor Description StripePlan()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StripePlanamount(Long amount)StripePlanchunkCount(Integer chunkCount)StripePlancreatedAt(OffsetDateTime createdAt)StripePlandatasetCount(Integer datasetCount)booleanequals(Object o)StripePlanfileStorage(Long fileStorage)static StripePlanfromJson(String jsonString)Create an instance of StripePlan given an JSON string@NotNull LonggetAmount()Get amount@NotNull IntegergetChunkCount()Get chunkCount@NotNull @Valid OffsetDateTimegetCreatedAt()Get createdAt@NotNull IntegergetDatasetCount()Get datasetCount@NotNull LonggetFileStorage()Get fileStorage@NotNull @Valid UUIDgetId()Get id@NotNull IntegergetMessageCount()Get messageCount@NotNull StringgetName()Get name@NotNull StringgetStripeId()Get stripeId@NotNull @Valid OffsetDateTimegetUpdatedAt()Get updatedAt@NotNull IntegergetUserCount()Get userCountinthashCode()StripePlanid(UUID id)StripePlanmessageCount(Integer messageCount)StripePlanname(String name)voidsetAmount(Long amount)voidsetChunkCount(Integer chunkCount)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDatasetCount(Integer datasetCount)voidsetFileStorage(Long fileStorage)voidsetId(UUID id)voidsetMessageCount(Integer messageCount)voidsetName(String name)voidsetStripeId(String stripeId)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetUserCount(Integer userCount)StripePlanstripeId(String stripeId)StringtoJson()Convert an instance of StripePlan to an JSON stringStringtoString()StripePlanupdatedAt(OffsetDateTime updatedAt)StripePlanuserCount(Integer userCount)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_AMOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHUNK_COUNT
public static final String SERIALIZED_NAME_CHUNK_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATASET_COUNT
public static final String SERIALIZED_NAME_DATASET_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_STORAGE
public static final String SERIALIZED_NAME_FILE_STORAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE_COUNT
public static final String SERIALIZED_NAME_MESSAGE_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STRIPE_ID
public static final String SERIALIZED_NAME_STRIPE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_COUNT
public static final String SERIALIZED_NAME_USER_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
amount
public StripePlan amount(Long amount)
-
setAmount
public void setAmount(Long amount)
-
chunkCount
public StripePlan chunkCount(Integer chunkCount)
-
getChunkCount
@Nonnull @NotNull public @NotNull Integer getChunkCount()
Get chunkCount- Returns:
- chunkCount
-
setChunkCount
public void setChunkCount(Integer chunkCount)
-
createdAt
public StripePlan createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
datasetCount
public StripePlan datasetCount(Integer datasetCount)
-
getDatasetCount
@Nonnull @NotNull public @NotNull Integer getDatasetCount()
Get datasetCount- Returns:
- datasetCount
-
setDatasetCount
public void setDatasetCount(Integer datasetCount)
-
fileStorage
public StripePlan fileStorage(Long fileStorage)
-
getFileStorage
@Nonnull @NotNull public @NotNull Long getFileStorage()
Get fileStorage- Returns:
- fileStorage
-
setFileStorage
public void setFileStorage(Long fileStorage)
-
id
public StripePlan id(UUID id)
-
setId
public void setId(UUID id)
-
messageCount
public StripePlan messageCount(Integer messageCount)
-
getMessageCount
@Nonnull @NotNull public @NotNull Integer getMessageCount()
Get messageCount- Returns:
- messageCount
-
setMessageCount
public void setMessageCount(Integer messageCount)
-
name
public StripePlan name(String name)
-
setName
public void setName(String name)
-
stripeId
public StripePlan stripeId(String stripeId)
-
setStripeId
public void setStripeId(String stripeId)
-
updatedAt
public StripePlan updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getUpdatedAt()
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
userCount
public StripePlan userCount(Integer userCount)
-
getUserCount
@Nonnull @NotNull public @NotNull Integer getUserCount()
Get userCount- Returns:
- userCount
-
setUserCount
public void setUserCount(Integer userCount)
-
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 StripePlan
-
fromJson
public static StripePlan fromJson(String jsonString) throws IOException
Create an instance of StripePlan given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StripePlan
- Throws:
IOException- if the JSON string is invalid with respect to StripePlan
-
toJson
public String toJson()
Convert an instance of StripePlan to an JSON string- Returns:
- JSON string
-
-