Class AnnotatedTag
java.lang.Object
build.cursed.genapi.forgejo.model.AnnotatedTag
@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 AnnotatedTag
extends Object
AnnotatedTag represents an annotated tag
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_object(AnnotatedTagObject _object) archiveDownloadCount(TagArchiveDownloadCount archiveDownloadCount) booleanstatic AnnotatedTagCreate an instance of AnnotatedTag given an JSON stringGet archiveDownloadCountGet messageGet _objectgetSha()Get shagetTag()Get tagGet taggergetUrl()Get urlGet verificationinthashCode()voidsetArchiveDownloadCount(TagArchiveDownloadCount archiveDownloadCount) voidsetMessage(String message) voidsetObject(AnnotatedTagObject _object) voidvoidvoidsetTagger(CommitUser tagger) voidvoidsetVerification(PayloadCommitVerification verification) tagger(CommitUser tagger) toJson()Convert an instance of AnnotatedTag to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundverification(PayloadCommitVerification verification)
-
Field Details
-
SERIALIZED_NAME_ARCHIVE_DOWNLOAD_COUNT
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_SHA
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_TAGGER
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_VERIFICATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnnotatedTag
public AnnotatedTag()
-
-
Method Details
-
archiveDownloadCount
-
getArchiveDownloadCount
Get archiveDownloadCount- Returns:
- archiveDownloadCount
-
setArchiveDownloadCount
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
_object
-
getObject
Get _object- Returns:
- _object
-
setObject
-
sha
-
getSha
Get sha- Returns:
- sha
-
setSha
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
tagger
-
getTagger
Get tagger- Returns:
- tagger
-
setTagger
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
verification
-
getVerification
Get verification- Returns:
- verification
-
setVerification
-
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 AnnotatedTag
-
fromJson
Create an instance of AnnotatedTag given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnnotatedTag
- Throws:
IOException- if the JSON string is invalid with respect to AnnotatedTag
-
toJson
Convert an instance of AnnotatedTag to an JSON string- Returns:
- JSON string
-