Class QuotaUsedSizeAssetsAttachments
java.lang.Object
build.cursed.genapi.forgejo.model.QuotaUsedSizeAssetsAttachments
@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 QuotaUsedSizeAssetsAttachments
extends Object
QuotaUsedSizeAssetsAttachments represents the size-based attachment quota usage of a user
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of QuotaUsedSizeAssetsAttachments given an JSON stringStorage size used for the user's issue & comment attachmentsStorage size used for the user's release attachmentsinthashCode()voidvoidsetReleases(Long releases) toJson()Convert an instance of QuotaUsedSizeAssetsAttachments 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_ISSUES
- See Also:
-
SERIALIZED_NAME_RELEASES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QuotaUsedSizeAssetsAttachments
public QuotaUsedSizeAssetsAttachments()
-
-
Method Details
-
issues
-
getIssues
Storage size used for the user's issue & comment attachments- Returns:
- issues
-
setIssues
-
releases
-
getReleases
Storage size used for the user's release attachments- Returns:
- releases
-
setReleases
-
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 QuotaUsedSizeAssetsAttachments
-
fromJson
Create an instance of QuotaUsedSizeAssetsAttachments given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QuotaUsedSizeAssetsAttachments
- Throws:
IOException- if the JSON string is invalid with respect to QuotaUsedSizeAssetsAttachments
-
toJson
Convert an instance of QuotaUsedSizeAssetsAttachments to an JSON string- Returns:
- JSON string
-