Class QuotaUsedSize
java.lang.Object
build.cursed.genapi.forgejo.model.QuotaUsedSize
@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 QuotaUsedSize
extends Object
QuotaUsedSize represents the size-based quota usage of a user
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassets(QuotaUsedSizeAssets assets) booleanstatic QuotaUsedSizeCreate an instance of QuotaUsedSize given an JSON stringGet assetsgetGit()Get gitgetRepos()Get reposgit(QuotaUsedSizeGit git) inthashCode()repos(QuotaUsedSizeRepos repos) voidsetAssets(QuotaUsedSizeAssets assets) voidsetGit(QuotaUsedSizeGit git) voidsetRepos(QuotaUsedSizeRepos repos) toJson()Convert an instance of QuotaUsedSize to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ASSETS
- See Also:
-
SERIALIZED_NAME_GIT
- See Also:
-
SERIALIZED_NAME_REPOS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QuotaUsedSize
public QuotaUsedSize()
-
-
Method Details
-
assets
-
getAssets
Get assets- Returns:
- assets
-
setAssets
-
git
-
getGit
Get git- Returns:
- git
-
setGit
-
repos
-
getRepos
Get repos- Returns:
- repos
-
setRepos
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 QuotaUsedSize
-
fromJson
Create an instance of QuotaUsedSize given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QuotaUsedSize
- Throws:
IOException- if the JSON string is invalid with respect to QuotaUsedSize
-
toJson
Convert an instance of QuotaUsedSize to an JSON string- Returns:
- JSON string
-