Class QuotaUsedSizeRepos

java.lang.Object
build.cursed.genapi.forgejo.model.QuotaUsedSizeRepos

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]", comments="Generator version: 7.21.0") public class QuotaUsedSizeRepos extends Object
QuotaUsedSizeRepos represents the size-based repository quota usage of a user
  • Field Details

  • Constructor Details

    • QuotaUsedSizeRepos

      public QuotaUsedSizeRepos()
  • Method Details

    • _private

      public QuotaUsedSizeRepos _private(@Nullable Long _private)
    • getPrivate

      @Nullable public Long getPrivate()
      Storage size of the user's private repositories
      Returns:
      _private
    • setPrivate

      public void setPrivate(@Nullable Long _private)
    • _public

      public QuotaUsedSizeRepos _public(@Nullable Long _public)
    • getPublic

      @Nullable public Long getPublic()
      Storage size of the user's public repositories
      Returns:
      _public
    • setPublic

      public void setPublic(@Nullable Long _public)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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 QuotaUsedSizeRepos
    • fromJson

      public static QuotaUsedSizeRepos fromJson(String jsonString) throws IOException
      Create an instance of QuotaUsedSizeRepos given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of QuotaUsedSizeRepos
      Throws:
      IOException - if the JSON string is invalid with respect to QuotaUsedSizeRepos
    • toJson

      public String toJson()
      Convert an instance of QuotaUsedSizeRepos to an JSON string
      Returns:
      JSON string