Class Tag
java.lang.Object
build.cursed.genapi.forgejo.model.Tag
@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 Tag
extends Object
Tag represents a repository tag
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveDownloadCount(TagArchiveDownloadCount archiveDownloadCount) commit(CommitMeta commit) booleanstatic TagCreate an instance of Tag given an JSON stringGet archiveDownloadCountGet commitgetId()Get idGet messagegetName()Get nameGet tarballUrlGet zipballUrlinthashCode()voidsetArchiveDownloadCount(TagArchiveDownloadCount archiveDownloadCount) voidsetCommit(CommitMeta commit) voidvoidsetMessage(String message) voidvoidsetTarballUrl(String tarballUrl) voidsetZipballUrl(String zipballUrl) tarballUrl(String tarballUrl) toJson()Convert an instance of Tag to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundzipballUrl(String zipballUrl)
-
Field Details
-
SERIALIZED_NAME_ARCHIVE_DOWNLOAD_COUNT
- See Also:
-
SERIALIZED_NAME_COMMIT
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TARBALL_URL
- See Also:
-
SERIALIZED_NAME_ZIPBALL_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
archiveDownloadCount
-
getArchiveDownloadCount
Get archiveDownloadCount- Returns:
- archiveDownloadCount
-
setArchiveDownloadCount
-
commit
-
getCommit
Get commit- Returns:
- commit
-
setCommit
-
id
-
getId
Get id- Returns:
- id
-
setId
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
name
-
getName
Get name- Returns:
- name
-
setName
-
tarballUrl
-
getTarballUrl
Get tarballUrl- Returns:
- tarballUrl
-
setTarballUrl
-
zipballUrl
-
getZipballUrl
Get zipballUrl- Returns:
- zipballUrl
-
setZipballUrl
-
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 Tag
-
fromJson
Create an instance of Tag given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Tag
- Throws:
IOException- if the JSON string is invalid with respect to Tag
-
toJson
Convert an instance of Tag to an JSON string- Returns:
- JSON string
-