Class 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
    • Constructor Detail

      • StripePlan

        public StripePlan()
    • Method Detail

      • getAmount

        @Nonnull
        @NotNull
        public @NotNull Long getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Long amount)
      • getChunkCount

        @Nonnull
        @NotNull
        public @NotNull Integer getChunkCount()
        Get chunkCount
        Returns:
        chunkCount
      • setChunkCount

        public void setChunkCount​(Integer chunkCount)
      • getCreatedAt

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid OffsetDateTime getCreatedAt()
        Get createdAt
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • getDatasetCount

        @Nonnull
        @NotNull
        public @NotNull Integer getDatasetCount()
        Get datasetCount
        Returns:
        datasetCount
      • setDatasetCount

        public void setDatasetCount​(Integer datasetCount)
      • getFileStorage

        @Nonnull
        @NotNull
        public @NotNull Long getFileStorage()
        Get fileStorage
        Returns:
        fileStorage
      • setFileStorage

        public void setFileStorage​(Long fileStorage)
      • getId

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid UUID getId()
        Get id
        Returns:
        id
      • setId

        public void setId​(UUID id)
      • getMessageCount

        @Nonnull
        @NotNull
        public @NotNull Integer getMessageCount()
        Get messageCount
        Returns:
        messageCount
      • setMessageCount

        public void setMessageCount​(Integer messageCount)
      • getName

        @Nonnull
        @NotNull
        public @NotNull String getName()
        Get name
        Returns:
        name
      • setName

        public void setName​(String name)
      • getStripeId

        @Nonnull
        @NotNull
        public @NotNull String getStripeId()
        Get stripeId
        Returns:
        stripeId
      • setStripeId

        public void setStripeId​(String stripeId)
      • getUpdatedAt

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid OffsetDateTime getUpdatedAt()
        Get updatedAt
        Returns:
        updatedAt
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
      • getUserCount

        @Nonnull
        @NotNull
        public @NotNull Integer getUserCount()
        Get userCount
        Returns:
        userCount
      • setUserCount

        public void setUserCount​(Integer userCount)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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