Module structs

Module structs 

Source

Structs§

APIError
APIError is an api error with a message
APIForbiddenError
APIInternalServerError
APIInvalidTopicsError
APINotFound
APIRepoArchivedError
APIUnauthorizedError
APIValidationError
APPersonFollowItem
AccessToken
AccessTokenListHeaders
ActionRun
ActionRun represents an action run
ActionRunJob
ActionRunJob represents a job of a run
ActionTask
ActionTask represents a ActionTask
ActionTaskResponse
ActionTaskResponse returns a ActionTask
ActionVariable
ActionVariable return value of the query API
Activity
ActivityFeedsListHeaders
ActivityPub
ActivityPub type
AddCollaboratorOption
AddCollaboratorOption options when adding a user as a collaborator of a repository
AddTimeOption
AddTimeOption options for adding time to an issue
AdminDeleteUserQuery
AdminSearchEmailsQuery
AdminSearchRunJobsQuery
AdminSearchUsersQuery
AdminUnadoptedListQuery
AnnotatedTag
AnnotatedTag represents an annotated tag
AnnotatedTagObject
AnnotatedTagObject contains meta information of the tag object
Attachment
Attachment a generic attachment
BlockedUser
BlockedUserListHeaders
Branch
Branch represents a repository branch
BranchListHeaders
BranchProtection
BranchProtection represents a branch protection for a repository
ChangeFileOperation
ChangeFileOperation for creating, updating or deleting a file
ChangeFilesOptions
ChangeFilesOptions options for creating, updating or deleting multiple files
ChangedFile
ChangedFile store information about files affected by the pull request
ChangedFileListHeaders
CombinedStatus
CombinedStatus holds the combined state of several statuses for a single commit
CombinedStatusHeaders
Comment
Comment represents a comment on a commit or issue
CommentListHeaders
Commit
CommitAffectedFiles
CommitAffectedFiles store information about files affected by the commit
CommitDateOptions
CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE
CommitListHeaders
CommitMeta
CommitStats
CommitStats is statistics for a RepoCommit
CommitStatus
CommitStatus holds a single status of a single Commit
CommitStatusListHeaders
CommitUser
Compare
ContentsResponse
ContentsResponse contains information about a repo’s entry’s (dir, file, symlink, submodule) metadata and content
CreateAccessTokenOption
CreateAccessTokenOption options when create access token
CreateBranchProtectionOption
CreateBranchProtectionOption options for creating a branch protection
CreateBranchRepoOption
CreateBranchRepoOption options when creating a branch in a repository
CreateEmailOption
CreateEmailOption options when creating email addresses
CreateFileOptions
CreateFileOptions options for creating files
CreateForkOption
CreateForkOption options for creating a fork
CreateGPGKeyOption
CreateGPGKeyOption options create user GPG key
CreateHookOption
CreateHookOption options when create a hook
CreateHookOptionConfig
CreateHookOptionConfig has all config options in it
CreateIssueCommentOption
CreateIssueCommentOption options for creating a comment on an issue
CreateIssueOption
CreateIssueOption options to create one issue
CreateKeyOption
CreateKeyOption options when creating a key
CreateLabelOption
CreateLabelOption options for creating a label
CreateMilestoneOption
CreateMilestoneOption options for creating a milestone
CreateOAuth2ApplicationOptions
CreateOAuth2ApplicationOptions holds options to create an oauth2 application
CreateOrUpdateSecretOption
CreateOrUpdateSecretOption options when creating or updating secret
CreateOrgOption
CreateOrgOption options for creating an organization
CreatePullRequestOption
CreatePullRequestOption options when creating a pull request
CreatePullReviewComment
CreatePullReviewComment represent a review comment for creation api
CreatePullReviewOptions
CreatePullReviewOptions are options to create a pull review
CreatePushMirrorOption
CreateQuotaGroupOptions
CreateQutaGroupOptions represents the options for creating a quota group
CreateQuotaRuleOptions
CreateQuotaRuleOptions represents the options for creating a quota rule
CreateReleaseOption
CreateReleaseOption options when creating a release
CreateRepoOption
CreateRepoOption options when creating repository
CreateStatusOption
CreateStatusOption holds the information needed to create a new CommitStatus for a Commit
CreateTagOption
CreateTagOption options when creating a tag
CreateTagProtectionOption
CreateTagProtectionOption options for creating a tag protection
CreateTeamOption
CreateTeamOption options for creating a team
CreateUserOption
CreateUserOption create user options
CreateVariableOption
CreateVariableOption the option when creating variable
CreateWikiPageOptions
CreateWikiPageOptions form for creating wiki
Cron
Cron represents a Cron task
CronListHeaders
DeleteEmailOption
DeleteEmailOption options when deleting email addresses
DeleteFileOptions
DeleteFileOptions options for deleting files (used for other File structs below)
DeleteLabelsOption
DeleteLabelOption options for deleting a label
DeployKey
DeployKey a deploy key
DeployKeyListHeaders
DismissPullReviewOptions
DismissPullReviewOptions are options to dismiss a pull review
DispatchWorkflowOption
DispatchWorkflowOption options when dispatching a workflow
DispatchWorkflowRun
DispatchWorkflowRun represents a workflow run
EditAttachmentOptions
EditAttachmentOptions options for editing attachments
EditBranchProtectionOption
EditBranchProtectionOption options for editing a branch protection
EditDeadlineOption
EditDeadlineOption options for creating a deadline
EditGitHookOption
EditGitHookOption options when modifying one Git hook
EditHookOption
EditHookOption options when modify one hook
EditIssueCommentOption
EditIssueCommentOption options for editing a comment
EditIssueOption
EditIssueOption options for editing an issue
EditLabelOption
EditLabelOption options for editing a label
EditMilestoneOption
EditMilestoneOption options for editing a milestone
EditOrgOption
EditOrgOption options for editing an organization
EditPullRequestOption
EditPullRequestOption options when modify pull request
EditQuotaRuleOptions
EditQuotaRuleOptions represents the options for editing a quota rule
EditReactionOption
EditReactionOption contain the reaction type
EditReleaseOption
EditReleaseOption options when editing a release
EditRepoOption
EditRepoOption options when editing a repository’s properties
EditTagProtectionOption
EditTagProtectionOption options for editing a tag protection
EditTeamOption
EditTeamOption options for editing a team
EditUserOption
EditUserOption edit user options
Email
Email an email address belonging to a user
ExternalTracker
ExternalTracker represents settings for external tracker
ExternalWiki
ExternalWiki represents setting for external wiki
FileCommitResponse
FileDeleteResponse
FileDeleteResponse contains information about a repo’s file that was deleted
FileLinksResponse
FileLinksResponse contains the links for a repo’s file
FileResponse
FileResponse contains information about a repo’s file
FilesResponse
FilesResponse contains information about multiple files from a repo
ForgeLike
ForgeLike activity data type
GPGKey
GPGKey a user GPG key to sign commit and tag in repository
GPGKeyEmail
GPGKeyEmail an email attached to a GPGKey
GeneralAPISettings
GeneralAPISettings contains global api settings exposed by it
GeneralAttachmentSettings
GeneralAttachmentSettings contains global Attachment settings exposed by API
GeneralRepoSettings
GeneralRepoSettings contains global repository settings exposed by API
GeneralUISettings
GeneralUISettings contains global ui settings exposed by API
GenerateRepoOption
GenerateRepoOption options when creating repository using a template
GetBlobsQuery
GetTreeQuery
GitBlob
GitBlob represents a git blob
GitEntry
GitEntry represents a git tree
GitHook
GitHook represents a Git repository hook
GitHookListHeaders
GitObject
GitTreeResponse
GitTreeResponse returns a git tree
GitignoreTemplateInfo
GitignoreTemplateInfo name and text of a gitignore template
GpgKeyListHeaders
Hook
Hook a hook is a web hook when one repository changed
HookListHeaders
Identity
Identity for a person’s identity like an author or committer
InternalTracker
InternalTracker represents settings for internal tracker
Issue
Issue represents an issue in a repository
IssueConfig
IssueConfigContactLink
IssueConfigValidation
IssueCreateIssueAttachmentQuery
IssueCreateIssueCommentAttachmentQuery
IssueDeadline
IssueDeadline represents an issue deadline
IssueFormField
IssueFormField represents a form field
IssueGetCommentsAndTimelineQuery
IssueGetCommentsQuery
IssueGetMilestonesListQuery
IssueGetRepoCommentsQuery
IssueLabelsOption
IssueLabelsOption a collection of labels
IssueListHeaders
IssueListIssuesQuery
IssueListLabelsQuery
IssueMeta
IssueMeta basic issue information
IssueSearchIssuesQuery
IssueTemplate
IssueTemplate represents an issue template for a repository
IssueTrackedTimesQuery
Label
Label a label to an issue or a pr
LabelListHeaders
LabelTemplate
LabelTemplate info of a Label template
LicenseTemplateInfo
LicensesInfo contains information about a License
LicensesTemplateListEntry
LicensesListEntry is used for the API
ListActionRunResponse
ListActionRunResponse return a list of ActionRun
ListActionRunsQuery
ListPackagesQuery
MarkdownOption
MarkdownOption markdown options
MarkupOption
MarkupOption markup options
MergePullRequestOption
MergePullRequestForm form for merging Pull Request
MigrateRepoOptions
MigrateRepoOptions options for migrating repository’s
Milestone
Milestone milestone is a collection of issues on one repository
MilestoneListHeaders
NewIssuePinsAllowed
NewIssuePinsAllowed represents an API response that says if new Issue Pins are allowed
NodeInfo
NodeInfo contains standardized way of exposing metadata about a server running one of the distributed social networks
NodeInfoServices
NodeInfoServices contains the third party sites this server can connect to via their application API
NodeInfoSoftware
NodeInfoSoftware contains Metadata about server software in use
NodeInfoUsage
NodeInfoUsage contains usage statistics for this server
NodeInfoUsageUsers
NodeInfoUsageUsers contains statistics about the users of this server
Note
Note contains information related to a git note
NoteOptions
NotificationCount
NotificationCount number of unread notifications
NotificationSubject
NotificationSubject contains the notification subject (Issue/Pull/Commit)
NotificationThread
NotificationThread expose Notification on API
NotificationThreadListHeaders
NotifyGetListQuery
NotifyGetRepoListQuery
NotifyReadListQuery
NotifyReadRepoListQuery
NotifyReadThreadQuery
OAuth2Application
OAuth2ApplicationListHeaders
OAuthToken
OrgCheckQuotaQuery
OrgListActivityFeedsQuery
OrgListLabelsQuery
OrgListTeamActivityFeedsQuery
OrgSearchRunJobsQuery
Organization
Organization represents an organization
OrganizationListHeaders
OrganizationPermissions
OrganizationPermissions list different users permissions on an organization
PRBranchInfo
PRBranchInfo information about a branch
Package
Package represents a package
PackageFile
PackageFile represents a package file
PackageFileListHeaders
PackageListHeaders
PayloadCommit
PayloadCommit represents a commit
PayloadCommitVerification
PayloadCommitVerification represents the GPG verification of a commit
PayloadUser
PayloadUser represents the author or committer of a commit
Permission
Permission represents a set of permissions
PublicKey
PublicKey publickey is a user key to push code to repository
PublicKeyListHeaders
PullRequest
PullRequest represents a pull request
PullRequestListHeaders
PullRequestMeta
PullRequestMeta PR info if an issue is a PR
PullReview
PullReview represents a pull request review
PullReviewComment
PullReviewComment represents a comment on a pull request review
PullReviewListHeaders
PullReviewRequestOptions
PullReviewRequestOptions are options to add or remove pull review requests
PushMirror
PushMirror represents information of a push mirror
PushMirrorListHeaders
QuotaExceededHeaders
QuotaGroup
QuotaGroup represents a quota group
QuotaGroupListHeaders
QuotaInfo
QuotaInfo represents information about a user’s quota
QuotaRuleInfo
QuotaRuleInfo contains information about a quota rule
QuotaRuleInfoListHeaders
QuotaUsed
QuotaUsed represents the quota usage of a user
QuotaUsedArtifact
QuotaUsedArtifact represents an artifact counting towards a user’s quota
QuotaUsedArtifactListHeaders
QuotaUsedAttachment
QuotaUsedAttachment represents an attachment counting towards a user’s quota
QuotaUsedAttachmentContainedIn
Context for the attachment: URLs to the containing object
QuotaUsedAttachmentListHeaders
QuotaUsedPackage
QuotaUsedPackage represents a package counting towards a user’s quota
QuotaUsedPackageListHeaders
QuotaUsedSize
QuotaUsedSize represents the size-based quota usage of a user
QuotaUsedSizeAssets
QuotaUsedSizeAssets represents the size-based asset usage of a user
QuotaUsedSizeAssetsAttachments
QuotaUsedSizeAssetsAttachments represents the size-based attachment quota usage of a user
QuotaUsedSizeAssetsPackages
QuotaUsedSizeAssetsPackages represents the size-based package quota usage of a user
QuotaUsedSizeGit
QuotaUsedSizeGit represents the size-based git (lfs) quota usage of a user
QuotaUsedSizeRepos
QuotaUsedSizeRepos represents the size-based repository quota usage of a user
Reaction
Reaction contain one reaction
ReactionListHeaders
Reference
RegistrationToken
RegistrationToken is a string used to register a runner with a server
Release
Release represents a repository release
ReleaseListHeaders
RenameOrgOption
RenameOrgOption options when renaming an organization
RenameUserOption
RenameUserOption options when renaming a user
ReplaceFlagsOption
ReplaceFlagsOption options when replacing the flags of a repository
RepoCollaboratorPermission
RepoCollaboratorPermission to get repository permission for a collaborator
RepoCommit
RepoCreateReleaseAttachmentQuery
RepoDownloadPullDiffOrPatchQuery
RepoGetAllCommitsQuery
RepoGetContentsListQuery
RepoGetContentsQuery
RepoGetEditorConfigQuery
RepoGetNoteQuery
RepoGetPullRequestCommitsQuery
RepoGetPullRequestFilesQuery
RepoGetRawFileOrLfsQuery
RepoGetRawFileQuery
RepoGetSingleCommitQuery
RepoListActivityFeedsQuery
RepoListKeysQuery
RepoListPullRequestsQuery
RepoListReleasesQuery
RepoListStatusesByRefQuery
RepoListStatusesQuery
RepoSearchQuery
RepoSearchRunJobsQuery
RepoTestHookQuery
RepoTopicOptions
RepoTopicOptions a collection of repo topic names
RepoTrackedTimesQuery
RepoTransfer
RepoTransfer represents a pending repo transfer
RepoUpdatePullRequestQuery
Repository
Repository represents a repository
RepositoryListHeaders
RepositoryMeta
RepositoryMeta basic repository information
SearchResults
SearchResults results of a successful search
Secret
Secret represents a secret
SecretListHeaders
ServerVersion
ServerVersion wraps the version of the server
SetUserQuotaGroupsOptions
SetUserQuotaGroupsOptions represents the quota groups of a user
StopWatch
StopWatch represent a running stopwatch
StopWatchListHeaders
SubmitPullReviewOptions
SubmitPullReviewOptions are options to submit a pending pull review
SyncForkInfo
SyncForkInfo information about syncing a fork
Tag
Tag represents a repository tag
TagArchiveDownloadCount
TagArchiveDownloadCount counts how many times a archive was downloaded
TagListHeaders
TagProtection
TagProtection represents a tag protection
Team
Team represents a team in an organization
TeamListHeaders
TeamSearchQuery
TeamSearchResults
TimelineComment
TimelineComment represents a timeline comment (comment of any type) on a commit or issue
TimelineListHeaders
TopicName
TopicName a list of repo topic names
TopicResponse
TopicResponse for returning topics
TopicSearchQuery
TopicSearchResults
TrackedTime
TrackedTime worked time for an issue / pr
TrackedTimeListHeaders
TransferRepoOption
TransferRepoOption options when transfer a repository’s ownership
UpdateBranchRepoOption
UpdateBranchRepoOption options when updating a branch in a repository
UpdateFileOptions
UpdateFileOptions options for updating files
UpdateRepoAvatarOption
UpdateRepoAvatarUserOption options when updating the repo avatar
UpdateUserAvatarOption
UpdateUserAvatarUserOption options when updating the user avatar
UpdateVariableOption
UpdateVariableOption the option when updating variable
User
User represents a user
UserCheckQuotaQuery
UserCurrentListKeysQuery
UserCurrentListReposQuery
UserCurrentTrackedTimesQuery
UserHeatmapData
UserHeatmapData represents the data needed to create a heatmap
UserListActivityFeedsQuery
UserListHeaders
UserListKeysQuery
UserSearchQuery
UserSearchResults
UserSearchRunJobsQuery
UserSettings
UserSettings represents user settings
UserSettingsOptions
UserSettingsOptions represents options to change user settings
VariableListHeaders
VerifyGPGKeyOption
VerifyGPGKeyOption options verifies user GPG key
WatchInfo
WatchInfo represents an API watch status of one repository
WikiCommit
WikiCommit page commit/revision
WikiCommitList
WikiCommitList commit/revision list
WikiCommitListHeaders
WikiPage
WikiPage a wiki page
WikiPageListHeaders
WikiPageMetaData
WikiPageMetaData wiki page meta information

Enums§

ActivityOpType
the type of action
AddCollaboratorOptionPermission
AdminSearchUsersQuerySort
AttachmentType
ChangeFileOperationOperation
indicates what to do with the file
CommitStatusState
CommitStatusState holds the state of a CommitStatus
CreateHookOptionType
CreateMilestoneOptionState
CreateOrgOptionVisibility
possible values are public (default), limited or private
CreateQuotaRuleOptionsSubjects
CreateRepoOptionTrustModel
TrustModel of the repository
CreateTeamOptionPermission
DefaultMergeStyle
EditOrgOptionVisibility
possible values are public, limited or private
EditTeamOptionPermission
IssueFormFieldType
IssueListIssuesQuerySort
IssueListIssuesQueryState
IssueListIssuesQueryType
IssueListLabelsQuerySort
IssueSearchIssuesQuerySort
IssueSearchIssuesQueryState
IssueSearchIssuesQueryType
ListActionRunsQueryStatus
ListPackagesQueryType
MergePullRequestOptionDo
MigrateRepoOptionsService
NotifyGetListQuerySubjectType
NotifyGetRepoListQuerySubjectType
NotifySubjectType
NotifySubjectType represent type of notification subject
OAuthTokenRequest
A Request for a new OAuth2 access token
ObjectFormatName
ObjectFormatName of the underlying git repository
OrgListLabelsQuerySort
RepoGetPullRequestFilesQueryWhitespace
RepoListPullRequestsQuerySort
RepoListPullRequestsQueryState
RepoListStatusesByRefQuerySort
RepoListStatusesByRefQueryState
RepoListStatusesQuerySort
RepoListStatusesQueryState
RepoSearchQueryOrder
RepoSearchQuerySort
RepoUpdatePullRequestQueryStyle
StateType
StateType issue state type
TeamPermission
UserCurrentListReposQueryOrderBy
UserSearchQuerySort