Class Repository
java.lang.Object
build.cursed.genapi.forgejo.model.Repository
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class Repository
extends Object
Repository represents a repository
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumObjectFormatName of the underlying git repository -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTopicsItem(String topicsItem) allowFastForwardOnlyMerge(Boolean allowFastForwardOnlyMerge) allowMergeCommits(Boolean allowMergeCommits) allowRebase(Boolean allowRebase) allowRebaseExplicit(Boolean allowRebaseExplicit) allowRebaseUpdate(Boolean allowRebaseUpdate) allowSquashMerge(Boolean allowSquashMerge) archivedAt(OffsetDateTime archivedAt) createdAt(OffsetDateTime createdAt) defaultAllowMaintainerEdit(Boolean defaultAllowMaintainerEdit) defaultBranch(String defaultBranch) defaultDeleteBranchAfterMerge(Boolean defaultDeleteBranchAfterMerge) defaultMergeStyle(String defaultMergeStyle) defaultUpdateStyle(String defaultUpdateStyle) description(String description) booleanexternalTracker(ExternalTracker externalTracker) externalWiki(ExternalWiki externalWiki) forksCount(Long forksCount) static RepositoryCreate an instance of Repository given an JSON stringGet allowFastForwardOnlyMergeGet allowMergeCommitsGet allowRebaseGet allowRebaseExplicitGet allowRebaseUpdateGet allowSquashMergeGet archivedGet archivedAtGet avatarUrlGet cloneUrlGet createdAtGet defaultAllowMaintainerEditGet defaultBranchGet defaultDeleteBranchAfterMergeGet defaultMergeStyleGet defaultUpdateStyleGet descriptiongetEmpty()Get emptyGet externalTrackerGet externalWikigetFork()Get forkGet forksCountGet fullNameGet globallyEditableWikiGet hasActionsGet hasIssuesGet hasPackagesGet hasProjectsGet hasPullRequestsGet hasReleasesis the wiki enabledhave wiki pages ever been createdGet htmlUrlgetId()Get idGet ignoreWhitespaceConflictsGet internalGet internalTrackerGet languageGet languagesUrlgetLink()Get linkGet mirrorGet mirrorIntervalGet mirrorUpdatedgetName()Get nameObjectFormatName of the underlying git repositoryGet openIssuesCountGet openPrCounterGet originalUrlgetOwner()Get ownerGet parentGet permissionsGet _privateGet releaseCounterGet repoTransfergetSize()Get sizeGet sshUrlGet starsCountGet templateGet topicsGet updatedAtgetUrl()Get urlGet watchersCountGet websiteGet wikiBranchGet wikiCloneUrlGet wikiSshUrlgloballyEditableWiki(Boolean globallyEditableWiki) hasActions(Boolean hasActions) inthashCode()hasPackages(Boolean hasPackages) hasProjects(Boolean hasProjects) hasPullRequests(Boolean hasPullRequests) hasReleases(Boolean hasReleases) hasWikiContents(Boolean hasWikiContents) ignoreWhitespaceConflicts(Boolean ignoreWhitespaceConflicts) internalTracker(InternalTracker internalTracker) languagesUrl(String languagesUrl) mirrorInterval(String mirrorInterval) mirrorUpdated(OffsetDateTime mirrorUpdated) objectFormatName(Repository.ObjectFormatNameEnum objectFormatName) openIssuesCount(Long openIssuesCount) openPrCounter(Long openPrCounter) originalUrl(String originalUrl) parent(Repository parent) permissions(Permission permissions) releaseCounter(Long releaseCounter) repoTransfer(RepoTransfer repoTransfer) voidsetAllowFastForwardOnlyMerge(Boolean allowFastForwardOnlyMerge) voidsetAllowMergeCommits(Boolean allowMergeCommits) voidsetAllowRebase(Boolean allowRebase) voidsetAllowRebaseExplicit(Boolean allowRebaseExplicit) voidsetAllowRebaseUpdate(Boolean allowRebaseUpdate) voidsetAllowSquashMerge(Boolean allowSquashMerge) voidsetArchived(Boolean archived) voidsetArchivedAt(OffsetDateTime archivedAt) voidsetAvatarUrl(String avatarUrl) voidsetCloneUrl(String cloneUrl) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDefaultAllowMaintainerEdit(Boolean defaultAllowMaintainerEdit) voidsetDefaultBranch(String defaultBranch) voidsetDefaultDeleteBranchAfterMerge(Boolean defaultDeleteBranchAfterMerge) voidsetDefaultMergeStyle(String defaultMergeStyle) voidsetDefaultUpdateStyle(String defaultUpdateStyle) voidsetDescription(String description) voidvoidsetExternalTracker(ExternalTracker externalTracker) voidsetExternalWiki(ExternalWiki externalWiki) voidvoidsetForksCount(Long forksCount) voidsetFullName(String fullName) voidsetGloballyEditableWiki(Boolean globallyEditableWiki) voidsetHasActions(Boolean hasActions) voidsetHasIssues(Boolean hasIssues) voidsetHasPackages(Boolean hasPackages) voidsetHasProjects(Boolean hasProjects) voidsetHasPullRequests(Boolean hasPullRequests) voidsetHasReleases(Boolean hasReleases) voidsetHasWiki(Boolean hasWiki) voidsetHasWikiContents(Boolean hasWikiContents) voidsetHtmlUrl(String htmlUrl) voidvoidsetIgnoreWhitespaceConflicts(Boolean ignoreWhitespaceConflicts) voidsetInternal(Boolean internal) voidsetInternalTracker(InternalTracker internalTracker) voidsetLanguage(String language) voidsetLanguagesUrl(String languagesUrl) voidvoidvoidsetMirrorInterval(String mirrorInterval) voidsetMirrorUpdated(OffsetDateTime mirrorUpdated) voidvoidsetObjectFormatName(Repository.ObjectFormatNameEnum objectFormatName) voidsetOpenIssuesCount(Long openIssuesCount) voidsetOpenPrCounter(Long openPrCounter) voidsetOriginalUrl(String originalUrl) voidvoidsetParent(Repository parent) voidsetPermissions(Permission permissions) voidsetPrivate(Boolean _private) voidsetReleaseCounter(Long releaseCounter) voidsetRepoTransfer(RepoTransfer repoTransfer) voidvoidvoidsetStarsCount(Long starsCount) voidsetTemplate(Boolean template) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidvoidsetWatchersCount(Long watchersCount) voidsetWebsite(String website) voidsetWikiBranch(String wikiBranch) voidsetWikiCloneUrl(String wikiCloneUrl) voidsetWikiSshUrl(String wikiSshUrl) starsCount(Long starsCount) toJson()Convert an instance of Repository to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwatchersCount(Long watchersCount) wikiBranch(String wikiBranch) wikiCloneUrl(String wikiCloneUrl) wikiSshUrl(String wikiSshUrl)
-
Field Details
-
SERIALIZED_NAME_ALLOW_FAST_FORWARD_ONLY_MERGE
- See Also:
-
SERIALIZED_NAME_ALLOW_MERGE_COMMITS
- See Also:
-
SERIALIZED_NAME_ALLOW_REBASE
- See Also:
-
SERIALIZED_NAME_ALLOW_REBASE_EXPLICIT
- See Also:
-
SERIALIZED_NAME_ALLOW_REBASE_UPDATE
- See Also:
-
SERIALIZED_NAME_ALLOW_SQUASH_MERGE
- See Also:
-
SERIALIZED_NAME_ARCHIVED
- See Also:
-
SERIALIZED_NAME_ARCHIVED_AT
- See Also:
-
SERIALIZED_NAME_AVATAR_URL
- See Also:
-
SERIALIZED_NAME_CLONE_URL
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DEFAULT_ALLOW_MAINTAINER_EDIT
- See Also:
-
SERIALIZED_NAME_DEFAULT_BRANCH
- See Also:
-
SERIALIZED_NAME_DEFAULT_DELETE_BRANCH_AFTER_MERGE
- See Also:
-
SERIALIZED_NAME_DEFAULT_MERGE_STYLE
- See Also:
-
SERIALIZED_NAME_DEFAULT_UPDATE_STYLE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_EMPTY
- See Also:
-
SERIALIZED_NAME_EXTERNAL_TRACKER
- See Also:
-
SERIALIZED_NAME_EXTERNAL_WIKI
- See Also:
-
SERIALIZED_NAME_FORK
- See Also:
-
SERIALIZED_NAME_FORKS_COUNT
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_GLOBALLY_EDITABLE_WIKI
- See Also:
-
SERIALIZED_NAME_HAS_ACTIONS
- See Also:
-
SERIALIZED_NAME_HAS_ISSUES
- See Also:
-
SERIALIZED_NAME_HAS_PACKAGES
- See Also:
-
SERIALIZED_NAME_HAS_PROJECTS
- See Also:
-
SERIALIZED_NAME_HAS_PULL_REQUESTS
- See Also:
-
SERIALIZED_NAME_HAS_RELEASES
- See Also:
-
SERIALIZED_NAME_HAS_WIKI
- See Also:
-
SERIALIZED_NAME_HAS_WIKI_CONTENTS
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IGNORE_WHITESPACE_CONFLICTS
- See Also:
-
SERIALIZED_NAME_INTERNAL
- See Also:
-
SERIALIZED_NAME_INTERNAL_TRACKER
- See Also:
-
SERIALIZED_NAME_LANGUAGE
- See Also:
-
SERIALIZED_NAME_LANGUAGES_URL
- See Also:
-
SERIALIZED_NAME_LINK
- See Also:
-
SERIALIZED_NAME_MIRROR
- See Also:
-
SERIALIZED_NAME_MIRROR_INTERVAL
- See Also:
-
SERIALIZED_NAME_MIRROR_UPDATED
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OBJECT_FORMAT_NAME
- See Also:
-
SERIALIZED_NAME_OPEN_ISSUES_COUNT
- See Also:
-
SERIALIZED_NAME_OPEN_PR_COUNTER
- See Also:
-
SERIALIZED_NAME_ORIGINAL_URL
- See Also:
-
SERIALIZED_NAME_OWNER
- See Also:
-
SERIALIZED_NAME_PARENT
- See Also:
-
SERIALIZED_NAME_PERMISSIONS
- See Also:
-
SERIALIZED_NAME_PRIVATE
- See Also:
-
SERIALIZED_NAME_RELEASE_COUNTER
- See Also:
-
SERIALIZED_NAME_REPO_TRANSFER
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_SSH_URL
- See Also:
-
SERIALIZED_NAME_STARS_COUNT
- See Also:
-
SERIALIZED_NAME_TEMPLATE
- See Also:
-
SERIALIZED_NAME_TOPICS
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_WATCHERS_COUNT
- See Also:
-
SERIALIZED_NAME_WEBSITE
- See Also:
-
SERIALIZED_NAME_WIKI_BRANCH
- See Also:
-
SERIALIZED_NAME_WIKI_CLONE_URL
- See Also:
-
SERIALIZED_NAME_WIKI_SSH_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Repository
public Repository()
-
-
Method Details
-
allowFastForwardOnlyMerge
-
getAllowFastForwardOnlyMerge
Get allowFastForwardOnlyMerge- Returns:
- allowFastForwardOnlyMerge
-
setAllowFastForwardOnlyMerge
-
allowMergeCommits
-
getAllowMergeCommits
Get allowMergeCommits- Returns:
- allowMergeCommits
-
setAllowMergeCommits
-
allowRebase
-
getAllowRebase
Get allowRebase- Returns:
- allowRebase
-
setAllowRebase
-
allowRebaseExplicit
-
getAllowRebaseExplicit
Get allowRebaseExplicit- Returns:
- allowRebaseExplicit
-
setAllowRebaseExplicit
-
allowRebaseUpdate
-
getAllowRebaseUpdate
Get allowRebaseUpdate- Returns:
- allowRebaseUpdate
-
setAllowRebaseUpdate
-
allowSquashMerge
-
getAllowSquashMerge
Get allowSquashMerge- Returns:
- allowSquashMerge
-
setAllowSquashMerge
-
archived
-
getArchived
Get archived- Returns:
- archived
-
setArchived
-
archivedAt
-
getArchivedAt
Get archivedAt- Returns:
- archivedAt
-
setArchivedAt
-
avatarUrl
-
getAvatarUrl
Get avatarUrl- Returns:
- avatarUrl
-
setAvatarUrl
-
cloneUrl
-
getCloneUrl
Get cloneUrl- Returns:
- cloneUrl
-
setCloneUrl
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
defaultAllowMaintainerEdit
-
getDefaultAllowMaintainerEdit
Get defaultAllowMaintainerEdit- Returns:
- defaultAllowMaintainerEdit
-
setDefaultAllowMaintainerEdit
-
defaultBranch
-
getDefaultBranch
Get defaultBranch- Returns:
- defaultBranch
-
setDefaultBranch
-
defaultDeleteBranchAfterMerge
-
getDefaultDeleteBranchAfterMerge
Get defaultDeleteBranchAfterMerge- Returns:
- defaultDeleteBranchAfterMerge
-
setDefaultDeleteBranchAfterMerge
-
defaultMergeStyle
-
getDefaultMergeStyle
Get defaultMergeStyle- Returns:
- defaultMergeStyle
-
setDefaultMergeStyle
-
defaultUpdateStyle
-
getDefaultUpdateStyle
Get defaultUpdateStyle- Returns:
- defaultUpdateStyle
-
setDefaultUpdateStyle
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
empty
-
getEmpty
Get empty- Returns:
- empty
-
setEmpty
-
externalTracker
-
getExternalTracker
Get externalTracker- Returns:
- externalTracker
-
setExternalTracker
-
externalWiki
-
getExternalWiki
Get externalWiki- Returns:
- externalWiki
-
setExternalWiki
-
fork
-
getFork
Get fork- Returns:
- fork
-
setFork
-
forksCount
-
getForksCount
Get forksCount- Returns:
- forksCount
-
setForksCount
-
fullName
-
getFullName
Get fullName- Returns:
- fullName
-
setFullName
-
globallyEditableWiki
-
getGloballyEditableWiki
Get globallyEditableWiki- Returns:
- globallyEditableWiki
-
setGloballyEditableWiki
-
hasActions
-
getHasActions
Get hasActions- Returns:
- hasActions
-
setHasActions
-
hasIssues
-
getHasIssues
Get hasIssues- Returns:
- hasIssues
-
setHasIssues
-
hasPackages
-
getHasPackages
Get hasPackages- Returns:
- hasPackages
-
setHasPackages
-
hasProjects
-
getHasProjects
Get hasProjects- Returns:
- hasProjects
-
setHasProjects
-
hasPullRequests
-
getHasPullRequests
Get hasPullRequests- Returns:
- hasPullRequests
-
setHasPullRequests
-
hasReleases
-
getHasReleases
Get hasReleases- Returns:
- hasReleases
-
setHasReleases
-
hasWiki
-
getHasWiki
is the wiki enabled- Returns:
- hasWiki
-
setHasWiki
-
hasWikiContents
-
getHasWikiContents
have wiki pages ever been created- Returns:
- hasWikiContents
-
setHasWikiContents
-
htmlUrl
-
getHtmlUrl
Get htmlUrl- Returns:
- htmlUrl
-
setHtmlUrl
-
id
-
getId
Get id- Returns:
- id
-
setId
-
ignoreWhitespaceConflicts
-
getIgnoreWhitespaceConflicts
Get ignoreWhitespaceConflicts- Returns:
- ignoreWhitespaceConflicts
-
setIgnoreWhitespaceConflicts
-
internal
-
getInternal
Get internal- Returns:
- internal
-
setInternal
-
internalTracker
-
getInternalTracker
Get internalTracker- Returns:
- internalTracker
-
setInternalTracker
-
language
-
getLanguage
Get language- Returns:
- language
-
setLanguage
-
languagesUrl
-
getLanguagesUrl
Get languagesUrl- Returns:
- languagesUrl
-
setLanguagesUrl
-
link
-
getLink
Get link- Returns:
- link
-
setLink
-
mirror
-
getMirror
Get mirror- Returns:
- mirror
-
setMirror
-
mirrorInterval
-
getMirrorInterval
Get mirrorInterval- Returns:
- mirrorInterval
-
setMirrorInterval
-
mirrorUpdated
-
getMirrorUpdated
Get mirrorUpdated- Returns:
- mirrorUpdated
-
setMirrorUpdated
-
name
-
getName
Get name- Returns:
- name
-
setName
-
objectFormatName
-
getObjectFormatName
ObjectFormatName of the underlying git repository- Returns:
- objectFormatName
-
setObjectFormatName
-
openIssuesCount
-
getOpenIssuesCount
Get openIssuesCount- Returns:
- openIssuesCount
-
setOpenIssuesCount
-
openPrCounter
-
getOpenPrCounter
Get openPrCounter- Returns:
- openPrCounter
-
setOpenPrCounter
-
originalUrl
-
getOriginalUrl
Get originalUrl- Returns:
- originalUrl
-
setOriginalUrl
-
owner
-
getOwner
Get owner- Returns:
- owner
-
setOwner
-
parent
-
getParent
Get parent- Returns:
- parent
-
setParent
-
permissions
-
getPermissions
Get permissions- Returns:
- permissions
-
setPermissions
-
_private
-
getPrivate
Get _private- Returns:
- _private
-
setPrivate
-
releaseCounter
-
getReleaseCounter
Get releaseCounter- Returns:
- releaseCounter
-
setReleaseCounter
-
repoTransfer
-
getRepoTransfer
Get repoTransfer- Returns:
- repoTransfer
-
setRepoTransfer
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
sshUrl
-
getSshUrl
Get sshUrl- Returns:
- sshUrl
-
setSshUrl
-
starsCount
-
getStarsCount
Get starsCount- Returns:
- starsCount
-
setStarsCount
-
template
-
getTemplate
Get template- Returns:
- template
-
setTemplate
-
topics
-
addTopicsItem
-
getTopics
Get topics- Returns:
- topics
-
setTopics
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
watchersCount
-
getWatchersCount
Get watchersCount- Returns:
- watchersCount
-
setWatchersCount
-
website
-
getWebsite
Get website- Returns:
- website
-
setWebsite
-
wikiBranch
-
getWikiBranch
Get wikiBranch- Returns:
- wikiBranch
-
setWikiBranch
-
wikiCloneUrl
-
getWikiCloneUrl
Get wikiCloneUrl- Returns:
- wikiCloneUrl
-
setWikiCloneUrl
-
wikiSshUrl
-
getWikiSshUrl
Get wikiSshUrl- Returns:
- wikiSshUrl
-
setWikiSshUrl
-
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 Repository
-
fromJson
Create an instance of Repository given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Repository
- Throws:
IOException- if the JSON string is invalid with respect to Repository
-
toJson
Convert an instance of Repository to an JSON string- Returns:
- JSON string
-