Class QuotaUsedAttachmentContainedIn
java.lang.Object
build.cursed.genapi.forgejo.model.QuotaUsedAttachmentContainedIn
@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 QuotaUsedAttachmentContainedIn
extends Object
Context for the attachment: URLs to the containing object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of QuotaUsedAttachmentContainedIn given an JSON stringAPI URL for the object that contains this attachmentHTML URL for the object that contains this attachmentinthashCode()voidvoidsetHtmlUrl(String htmlUrl) toJson()Convert an instance of QuotaUsedAttachmentContainedIn 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_API_URL
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QuotaUsedAttachmentContainedIn
public QuotaUsedAttachmentContainedIn()
-
-
Method Details
-
apiUrl
-
getApiUrl
API URL for the object that contains this attachment- Returns:
- apiUrl
-
setApiUrl
-
htmlUrl
-
getHtmlUrl
HTML URL for the object that contains this attachment- Returns:
- htmlUrl
-
setHtmlUrl
-
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 QuotaUsedAttachmentContainedIn
-
fromJson
Create an instance of QuotaUsedAttachmentContainedIn given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QuotaUsedAttachmentContainedIn
- Throws:
IOException- if the JSON string is invalid with respect to QuotaUsedAttachmentContainedIn
-
toJson
Convert an instance of QuotaUsedAttachmentContainedIn to an JSON string- Returns:
- JSON string
-