Documentation
¶
Overview ¶
Package schema is Go data structures corresponding to the GitHub GraphQL schema.
It is generated by generate.go.
Index ¶
- type AbortQueuedMigrationsInput
- type AbortQueuedMigrationsPayload
- type AcceptEnterpriseAdministratorInvitationInput
- type AcceptEnterpriseAdministratorInvitationPayload
- type AcceptTopicSuggestionInput
- type AcceptTopicSuggestionPayload
- type Actor
- type ActorLocation
- type ActorType
- type Actor_Interface
- type AddAssigneesToAssignableInput
- type AddAssigneesToAssignablePayload
- type AddCommentInput
- type AddCommentPayload
- type AddDiscussionCommentInput
- type AddDiscussionCommentPayload
- type AddDiscussionPollVoteInput
- type AddDiscussionPollVotePayload
- type AddEnterpriseSupportEntitlementInput
- type AddEnterpriseSupportEntitlementPayload
- type AddLabelsToLabelableInput
- type AddLabelsToLabelablePayload
- type AddProjectCardInput
- type AddProjectCardPayload
- type AddProjectColumnInput
- type AddProjectColumnPayload
- type AddProjectDraftIssueInput
- type AddProjectDraftIssuePayload
- type AddProjectNextItemInput
- type AddProjectNextItemPayload
- type AddProjectV2DraftIssueInput
- type AddProjectV2DraftIssuePayload
- type AddProjectV2ItemByIdInput
- type AddProjectV2ItemByIdPayload
- type AddPullRequestReviewCommentInput
- type AddPullRequestReviewCommentPayload
- type AddPullRequestReviewInput
- type AddPullRequestReviewPayload
- type AddPullRequestReviewThreadInput
- type AddPullRequestReviewThreadPayload
- type AddReactionInput
- type AddReactionPayload
- type AddStarInput
- type AddStarPayload
- type AddUpvoteInput
- type AddUpvotePayload
- type AddVerifiableDomainInput
- type AddVerifiableDomainPayload
- type AddedToProjectEvent
- func (x *AddedToProjectEvent) GetActor() Actor
- func (x *AddedToProjectEvent) GetCreatedAt() DateTime
- func (x *AddedToProjectEvent) GetDatabaseId() int
- func (x *AddedToProjectEvent) GetId() ID
- func (x *AddedToProjectEvent) GetProject() *Project
- func (x *AddedToProjectEvent) GetProjectCard() *ProjectCard
- func (x *AddedToProjectEvent) GetProjectColumnName() string
- type App
- func (x *App) GetCreatedAt() DateTime
- func (x *App) GetDatabaseId() int
- func (x *App) GetDescription() string
- func (x *App) GetId() ID
- func (x *App) GetIpAllowListEntries() *IpAllowListEntryConnection
- func (x *App) GetLogoBackgroundColor() string
- func (x *App) GetLogoUrl() URI
- func (x *App) GetName() string
- func (x *App) GetSlug() string
- func (x *App) GetUpdatedAt() DateTime
- func (x *App) GetUrl() URI
- type ApproveDeploymentsInput
- type ApproveDeploymentsPayload
- type ApproveVerifiableDomainInput
- type ApproveVerifiableDomainPayload
- type ArchiveRepositoryInput
- type ArchiveRepositoryPayload
- type Assignable
- type Assignable_Interface
- type AssignedEvent
- type Assignee
- type Assignee_Interface
- type AuditEntry
- type AuditEntryActor
- type AuditEntryActor_Interface
- type AuditEntry_Interface
- type AuditLogOrder
- type AuditLogOrderField
- type AutoMergeDisabledEvent
- func (x *AutoMergeDisabledEvent) GetActor() Actor
- func (x *AutoMergeDisabledEvent) GetCreatedAt() DateTime
- func (x *AutoMergeDisabledEvent) GetDisabler() *User
- func (x *AutoMergeDisabledEvent) GetId() ID
- func (x *AutoMergeDisabledEvent) GetPullRequest() *PullRequest
- func (x *AutoMergeDisabledEvent) GetReason() string
- func (x *AutoMergeDisabledEvent) GetReasonCode() string
- type AutoMergeEnabledEvent
- type AutoMergeRequest
- func (x *AutoMergeRequest) GetAuthorEmail() string
- func (x *AutoMergeRequest) GetCommitBody() string
- func (x *AutoMergeRequest) GetCommitHeadline() string
- func (x *AutoMergeRequest) GetEnabledAt() DateTime
- func (x *AutoMergeRequest) GetEnabledBy() Actor
- func (x *AutoMergeRequest) GetMergeMethod() PullRequestMergeMethod
- func (x *AutoMergeRequest) GetPullRequest() *PullRequest
- type AutoRebaseEnabledEvent
- type AutoSquashEnabledEvent
- type AutomaticBaseChangeFailedEvent
- func (x *AutomaticBaseChangeFailedEvent) GetActor() Actor
- func (x *AutomaticBaseChangeFailedEvent) GetCreatedAt() DateTime
- func (x *AutomaticBaseChangeFailedEvent) GetId() ID
- func (x *AutomaticBaseChangeFailedEvent) GetNewBase() string
- func (x *AutomaticBaseChangeFailedEvent) GetOldBase() string
- func (x *AutomaticBaseChangeFailedEvent) GetPullRequest() *PullRequest
- type AutomaticBaseChangeSucceededEvent
- func (x *AutomaticBaseChangeSucceededEvent) GetActor() Actor
- func (x *AutomaticBaseChangeSucceededEvent) GetCreatedAt() DateTime
- func (x *AutomaticBaseChangeSucceededEvent) GetId() ID
- func (x *AutomaticBaseChangeSucceededEvent) GetNewBase() string
- func (x *AutomaticBaseChangeSucceededEvent) GetOldBase() string
- func (x *AutomaticBaseChangeSucceededEvent) GetPullRequest() *PullRequest
- type Base64String
- type BaseRefChangedEvent
- func (x *BaseRefChangedEvent) GetActor() Actor
- func (x *BaseRefChangedEvent) GetCreatedAt() DateTime
- func (x *BaseRefChangedEvent) GetCurrentRefName() string
- func (x *BaseRefChangedEvent) GetDatabaseId() int
- func (x *BaseRefChangedEvent) GetId() ID
- func (x *BaseRefChangedEvent) GetPreviousRefName() string
- func (x *BaseRefChangedEvent) GetPullRequest() *PullRequest
- type BaseRefDeletedEvent
- type BaseRefForcePushedEvent
- func (x *BaseRefForcePushedEvent) GetActor() Actor
- func (x *BaseRefForcePushedEvent) GetAfterCommit() *Commit
- func (x *BaseRefForcePushedEvent) GetBeforeCommit() *Commit
- func (x *BaseRefForcePushedEvent) GetCreatedAt() DateTime
- func (x *BaseRefForcePushedEvent) GetId() ID
- func (x *BaseRefForcePushedEvent) GetPullRequest() *PullRequest
- func (x *BaseRefForcePushedEvent) GetRef() *Ref
- type Blame
- type BlameRange
- type Blob
- func (x *Blob) GetAbbreviatedOid() string
- func (x *Blob) GetByteSize() int
- func (x *Blob) GetCommitResourcePath() URI
- func (x *Blob) GetCommitUrl() URI
- func (x *Blob) GetId() ID
- func (x *Blob) GetIsBinary() bool
- func (x *Blob) GetIsTruncated() bool
- func (x *Blob) GetOid() GitObjectID
- func (x *Blob) GetRepository() *Repository
- func (x *Blob) GetText() string
- type Boolean
- type Bot
- type BranchActorAllowanceActor
- type BranchActorAllowanceActor_Interface
- type BranchProtectionRule
- func (x *BranchProtectionRule) GetAllowsDeletions() bool
- func (x *BranchProtectionRule) GetAllowsForcePushes() bool
- func (x *BranchProtectionRule) GetBlocksCreations() bool
- func (x *BranchProtectionRule) GetBranchProtectionRuleConflicts() *BranchProtectionRuleConflictConnection
- func (x *BranchProtectionRule) GetBypassForcePushAllowances() *BypassForcePushAllowanceConnection
- func (x *BranchProtectionRule) GetBypassPullRequestAllowances() *BypassPullRequestAllowanceConnection
- func (x *BranchProtectionRule) GetCreator() Actor
- func (x *BranchProtectionRule) GetDatabaseId() int
- func (x *BranchProtectionRule) GetDismissesStaleReviews() bool
- func (x *BranchProtectionRule) GetId() ID
- func (x *BranchProtectionRule) GetIsAdminEnforced() bool
- func (x *BranchProtectionRule) GetMatchingRefs() *RefConnection
- func (x *BranchProtectionRule) GetPattern() string
- func (x *BranchProtectionRule) GetPushAllowances() *PushAllowanceConnection
- func (x *BranchProtectionRule) GetRepository() *Repository
- func (x *BranchProtectionRule) GetRequiredApprovingReviewCount() int
- func (x *BranchProtectionRule) GetRequiredStatusCheckContexts() []string
- func (x *BranchProtectionRule) GetRequiredStatusChecks() []*RequiredStatusCheckDescription
- func (x *BranchProtectionRule) GetRequiresApprovingReviews() bool
- func (x *BranchProtectionRule) GetRequiresCodeOwnerReviews() bool
- func (x *BranchProtectionRule) GetRequiresCommitSignatures() bool
- func (x *BranchProtectionRule) GetRequiresConversationResolution() bool
- func (x *BranchProtectionRule) GetRequiresLinearHistory() bool
- func (x *BranchProtectionRule) GetRequiresStatusChecks() bool
- func (x *BranchProtectionRule) GetRequiresStrictStatusChecks() bool
- func (x *BranchProtectionRule) GetRestrictsPushes() bool
- func (x *BranchProtectionRule) GetRestrictsReviewDismissals() bool
- func (x *BranchProtectionRule) GetReviewDismissalAllowances() *ReviewDismissalAllowanceConnection
- type BranchProtectionRuleConflict
- type BranchProtectionRuleConflictConnection
- func (x *BranchProtectionRuleConflictConnection) GetEdges() []*BranchProtectionRuleConflictEdge
- func (x *BranchProtectionRuleConflictConnection) GetNodes() []*BranchProtectionRuleConflict
- func (x *BranchProtectionRuleConflictConnection) GetPageInfo() *PageInfo
- func (x *BranchProtectionRuleConflictConnection) GetTotalCount() int
- type BranchProtectionRuleConflictEdge
- type BranchProtectionRuleConnection
- type BranchProtectionRuleEdge
- type BypassForcePushAllowance
- type BypassForcePushAllowanceConnection
- func (x *BypassForcePushAllowanceConnection) GetEdges() []*BypassForcePushAllowanceEdge
- func (x *BypassForcePushAllowanceConnection) GetNodes() []*BypassForcePushAllowance
- func (x *BypassForcePushAllowanceConnection) GetPageInfo() *PageInfo
- func (x *BypassForcePushAllowanceConnection) GetTotalCount() int
- type BypassForcePushAllowanceEdge
- type BypassPullRequestAllowance
- type BypassPullRequestAllowanceConnection
- func (x *BypassPullRequestAllowanceConnection) GetEdges() []*BypassPullRequestAllowanceEdge
- func (x *BypassPullRequestAllowanceConnection) GetNodes() []*BypassPullRequestAllowance
- func (x *BypassPullRequestAllowanceConnection) GetPageInfo() *PageInfo
- func (x *BypassPullRequestAllowanceConnection) GetTotalCount() int
- type BypassPullRequestAllowanceEdge
- type CVSS
- type CWE
- type CWEConnection
- type CWEEdge
- type CancelEnterpriseAdminInvitationInput
- type CancelEnterpriseAdminInvitationPayload
- type CancelSponsorshipInput
- type CancelSponsorshipPayload
- type ChangeUserStatusInput
- type ChangeUserStatusPayload
- type CheckAnnotation
- func (x *CheckAnnotation) GetAnnotationLevel() CheckAnnotationLevel
- func (x *CheckAnnotation) GetBlobUrl() URI
- func (x *CheckAnnotation) GetDatabaseId() int
- func (x *CheckAnnotation) GetLocation() *CheckAnnotationSpan
- func (x *CheckAnnotation) GetMessage() string
- func (x *CheckAnnotation) GetPath() string
- func (x *CheckAnnotation) GetRawDetails() string
- func (x *CheckAnnotation) GetTitle() string
- type CheckAnnotationConnection
- type CheckAnnotationData
- type CheckAnnotationEdge
- type CheckAnnotationLevel
- type CheckAnnotationPosition
- type CheckAnnotationRange
- type CheckAnnotationSpan
- type CheckConclusionState
- type CheckRun
- func (x *CheckRun) GetAnnotations() *CheckAnnotationConnection
- func (x *CheckRun) GetCheckSuite() *CheckSuite
- func (x *CheckRun) GetCompletedAt() DateTime
- func (x *CheckRun) GetConclusion() CheckConclusionState
- func (x *CheckRun) GetDatabaseId() int
- func (x *CheckRun) GetDeployment() *Deployment
- func (x *CheckRun) GetDetailsUrl() URI
- func (x *CheckRun) GetExternalId() string
- func (x *CheckRun) GetId() ID
- func (x *CheckRun) GetIsRequired() bool
- func (x *CheckRun) GetName() string
- func (x *CheckRun) GetPendingDeploymentRequest() *DeploymentRequest
- func (x *CheckRun) GetPermalink() URI
- func (x *CheckRun) GetRepository() *Repository
- func (x *CheckRun) GetResourcePath() URI
- func (x *CheckRun) GetStartedAt() DateTime
- func (x *CheckRun) GetStatus() CheckStatusState
- func (x *CheckRun) GetSteps() *CheckStepConnection
- func (x *CheckRun) GetSummary() string
- func (x *CheckRun) GetText() string
- func (x *CheckRun) GetTitle() string
- func (x *CheckRun) GetUrl() URI
- type CheckRunAction
- type CheckRunConnection
- type CheckRunEdge
- type CheckRunFilter
- type CheckRunOutput
- type CheckRunOutputImage
- type CheckRunType
- type CheckStatusState
- type CheckStep
- func (x *CheckStep) GetCompletedAt() DateTime
- func (x *CheckStep) GetConclusion() CheckConclusionState
- func (x *CheckStep) GetExternalId() string
- func (x *CheckStep) GetName() string
- func (x *CheckStep) GetNumber() int
- func (x *CheckStep) GetSecondsToCompletion() int
- func (x *CheckStep) GetStartedAt() DateTime
- func (x *CheckStep) GetStatus() CheckStatusState
- type CheckStepConnection
- type CheckStepEdge
- type CheckSuite
- func (x *CheckSuite) GetApp() *App
- func (x *CheckSuite) GetBranch() *Ref
- func (x *CheckSuite) GetCheckRuns() *CheckRunConnection
- func (x *CheckSuite) GetCommit() *Commit
- func (x *CheckSuite) GetConclusion() CheckConclusionState
- func (x *CheckSuite) GetCreatedAt() DateTime
- func (x *CheckSuite) GetCreator() *User
- func (x *CheckSuite) GetDatabaseId() int
- func (x *CheckSuite) GetId() ID
- func (x *CheckSuite) GetMatchingPullRequests() *PullRequestConnection
- func (x *CheckSuite) GetPush() *Push
- func (x *CheckSuite) GetRepository() *Repository
- func (x *CheckSuite) GetResourcePath() URI
- func (x *CheckSuite) GetStatus() CheckStatusState
- func (x *CheckSuite) GetUpdatedAt() DateTime
- func (x *CheckSuite) GetUrl() URI
- func (x *CheckSuite) GetWorkflowRun() *WorkflowRun
- type CheckSuiteAutoTriggerPreference
- type CheckSuiteConnection
- type CheckSuiteEdge
- type CheckSuiteFilter
- type ClearLabelsFromLabelableInput
- type ClearLabelsFromLabelablePayload
- type CloneProjectInput
- type CloneProjectPayload
- type CloneTemplateRepositoryInput
- type CloneTemplateRepositoryPayload
- type Closable
- type Closable_Interface
- type CloseIssueInput
- type CloseIssuePayload
- type ClosePullRequestInput
- type ClosePullRequestPayload
- type ClosedEvent
- func (x *ClosedEvent) GetActor() Actor
- func (x *ClosedEvent) GetClosable() Closable
- func (x *ClosedEvent) GetCloser() Closer
- func (x *ClosedEvent) GetCreatedAt() DateTime
- func (x *ClosedEvent) GetId() ID
- func (x *ClosedEvent) GetResourcePath() URI
- func (x *ClosedEvent) GetStateReason() IssueStateReason
- func (x *ClosedEvent) GetUrl() URI
- type Closer
- type Closer_Interface
- type CodeOfConduct
- type CollaboratorAffiliation
- type Comment
- type CommentAuthorAssociation
- type CommentCannotUpdateReason
- type CommentDeletedEvent
- type Comment_Interface
- type Commit
- func (x *Commit) GetAbbreviatedOid() string
- func (x *Commit) GetAdditions() int
- func (x *Commit) GetAssociatedPullRequests() *PullRequestConnection
- func (x *Commit) GetAuthor() *GitActor
- func (x *Commit) GetAuthoredByCommitter() bool
- func (x *Commit) GetAuthoredDate() DateTime
- func (x *Commit) GetAuthors() *GitActorConnection
- func (x *Commit) GetBlame() *Blame
- func (x *Commit) GetChangedFiles() int
- func (x *Commit) GetCheckSuites() *CheckSuiteConnection
- func (x *Commit) GetComments() *CommitCommentConnection
- func (x *Commit) GetCommitResourcePath() URI
- func (x *Commit) GetCommitUrl() URI
- func (x *Commit) GetCommittedDate() DateTime
- func (x *Commit) GetCommittedViaWeb() bool
- func (x *Commit) GetCommitter() *GitActor
- func (x *Commit) GetDeletions() int
- func (x *Commit) GetDeployments() *DeploymentConnection
- func (x *Commit) GetFile() *TreeEntry
- func (x *Commit) GetHistory() *CommitHistoryConnection
- func (x *Commit) GetId() ID
- func (x *Commit) GetMessage() string
- func (x *Commit) GetMessageBody() string
- func (x *Commit) GetMessageBodyHTML() template.HTML
- func (x *Commit) GetMessageHeadline() string
- func (x *Commit) GetMessageHeadlineHTML() template.HTML
- func (x *Commit) GetOid() GitObjectID
- func (x *Commit) GetOnBehalfOf() *Organization
- func (x *Commit) GetParents() *CommitConnection
- func (x *Commit) GetPushedDate() DateTime
- func (x *Commit) GetRepository() *Repository
- func (x *Commit) GetResourcePath() URI
- func (x *Commit) GetSignature() GitSignature
- func (x *Commit) GetStatus() *Status
- func (x *Commit) GetStatusCheckRollup() *StatusCheckRollup
- func (x *Commit) GetSubmodules() *SubmoduleConnection
- func (x *Commit) GetTarballUrl() URI
- func (x *Commit) GetTree() *Tree
- func (x *Commit) GetTreeResourcePath() URI
- func (x *Commit) GetTreeUrl() URI
- func (x *Commit) GetUrl() URI
- func (x *Commit) GetViewerCanSubscribe() bool
- func (x *Commit) GetViewerSubscription() SubscriptionState
- func (x *Commit) GetZipballUrl() URI
- type CommitAuthor
- type CommitComment
- func (x *CommitComment) GetAuthor() Actor
- func (x *CommitComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *CommitComment) GetBody() string
- func (x *CommitComment) GetBodyHTML() template.HTML
- func (x *CommitComment) GetBodyText() string
- func (x *CommitComment) GetCommit() *Commit
- func (x *CommitComment) GetCreatedAt() DateTime
- func (x *CommitComment) GetCreatedViaEmail() bool
- func (x *CommitComment) GetDatabaseId() int
- func (x *CommitComment) GetEditor() Actor
- func (x *CommitComment) GetId() ID
- func (x *CommitComment) GetIncludesCreatedEdit() bool
- func (x *CommitComment) GetIsMinimized() bool
- func (x *CommitComment) GetLastEditedAt() DateTime
- func (x *CommitComment) GetMinimizedReason() string
- func (x *CommitComment) GetPath() string
- func (x *CommitComment) GetPosition() int
- func (x *CommitComment) GetPublishedAt() DateTime
- func (x *CommitComment) GetReactionGroups() []*ReactionGroup
- func (x *CommitComment) GetReactions() *ReactionConnection
- func (x *CommitComment) GetRepository() *Repository
- func (x *CommitComment) GetResourcePath() URI
- func (x *CommitComment) GetUpdatedAt() DateTime
- func (x *CommitComment) GetUrl() URI
- func (x *CommitComment) GetUserContentEdits() *UserContentEditConnection
- func (x *CommitComment) GetViewerCanDelete() bool
- func (x *CommitComment) GetViewerCanMinimize() bool
- func (x *CommitComment) GetViewerCanReact() bool
- func (x *CommitComment) GetViewerCanUpdate() bool
- func (x *CommitComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *CommitComment) GetViewerDidAuthor() bool
- type CommitCommentConnection
- type CommitCommentEdge
- type CommitCommentThread
- func (x *CommitCommentThread) GetComments() *CommitCommentConnection
- func (x *CommitCommentThread) GetCommit() *Commit
- func (x *CommitCommentThread) GetId() ID
- func (x *CommitCommentThread) GetPath() string
- func (x *CommitCommentThread) GetPosition() int
- func (x *CommitCommentThread) GetRepository() *Repository
- type CommitConnection
- type CommitContributionOrder
- type CommitContributionOrderField
- type CommitContributionsByRepository
- type CommitEdge
- type CommitHistoryConnection
- type CommitMessage
- type CommittableBranch
- type ConnectedEvent
- type Contribution
- type ContributionCalendar
- func (x *ContributionCalendar) GetColors() []string
- func (x *ContributionCalendar) GetIsHalloween() bool
- func (x *ContributionCalendar) GetMonths() []*ContributionCalendarMonth
- func (x *ContributionCalendar) GetTotalContributions() int
- func (x *ContributionCalendar) GetWeeks() []*ContributionCalendarWeek
- type ContributionCalendarDay
- type ContributionCalendarMonth
- type ContributionCalendarWeek
- type ContributionLevel
- type ContributionOrder
- type Contribution_Interface
- type ContributionsCollection
- func (x *ContributionsCollection) GetCommitContributionsByRepository() []*CommitContributionsByRepository
- func (x *ContributionsCollection) GetContributionCalendar() *ContributionCalendar
- func (x *ContributionsCollection) GetContributionYears() []int
- func (x *ContributionsCollection) GetDoesEndInCurrentMonth() bool
- func (x *ContributionsCollection) GetEarliestRestrictedContributionDate() Date
- func (x *ContributionsCollection) GetEndedAt() DateTime
- func (x *ContributionsCollection) GetFirstIssueContribution() CreatedIssueOrRestrictedContribution
- func (x *ContributionsCollection) GetFirstPullRequestContribution() CreatedPullRequestOrRestrictedContribution
- func (x *ContributionsCollection) GetFirstRepositoryContribution() CreatedRepositoryOrRestrictedContribution
- func (x *ContributionsCollection) GetHasActivityInThePast() bool
- func (x *ContributionsCollection) GetHasAnyContributions() bool
- func (x *ContributionsCollection) GetHasAnyRestrictedContributions() bool
- func (x *ContributionsCollection) GetIsSingleDay() bool
- func (x *ContributionsCollection) GetIssueContributions() *CreatedIssueContributionConnection
- func (x *ContributionsCollection) GetIssueContributionsByRepository() []*IssueContributionsByRepository
- func (x *ContributionsCollection) GetJoinedGitHubContribution() *JoinedGitHubContribution
- func (x *ContributionsCollection) GetLatestRestrictedContributionDate() Date
- func (x *ContributionsCollection) GetMostRecentCollectionWithActivity() *ContributionsCollection
- func (x *ContributionsCollection) GetMostRecentCollectionWithoutActivity() *ContributionsCollection
- func (x *ContributionsCollection) GetPopularIssueContribution() *CreatedIssueContribution
- func (x *ContributionsCollection) GetPopularPullRequestContribution() *CreatedPullRequestContribution
- func (x *ContributionsCollection) GetPullRequestContributions() *CreatedPullRequestContributionConnection
- func (x *ContributionsCollection) GetPullRequestContributionsByRepository() []*PullRequestContributionsByRepository
- func (x *ContributionsCollection) GetPullRequestReviewContributions() *CreatedPullRequestReviewContributionConnection
- func (x *ContributionsCollection) GetPullRequestReviewContributionsByRepository() []*PullRequestReviewContributionsByRepository
- func (x *ContributionsCollection) GetRepositoryContributions() *CreatedRepositoryContributionConnection
- func (x *ContributionsCollection) GetRestrictedContributionsCount() int
- func (x *ContributionsCollection) GetStartedAt() DateTime
- func (x *ContributionsCollection) GetTotalCommitContributions() int
- func (x *ContributionsCollection) GetTotalIssueContributions() int
- func (x *ContributionsCollection) GetTotalPullRequestContributions() int
- func (x *ContributionsCollection) GetTotalPullRequestReviewContributions() int
- func (x *ContributionsCollection) GetTotalRepositoriesWithContributedCommits() int
- func (x *ContributionsCollection) GetTotalRepositoriesWithContributedIssues() int
- func (x *ContributionsCollection) GetTotalRepositoriesWithContributedPullRequestReviews() int
- func (x *ContributionsCollection) GetTotalRepositoriesWithContributedPullRequests() int
- func (x *ContributionsCollection) GetTotalRepositoryContributions() int
- func (x *ContributionsCollection) GetUser() *User
- type ConvertProjectCardNoteToIssueInput
- type ConvertProjectCardNoteToIssuePayload
- type ConvertPullRequestToDraftInput
- type ConvertPullRequestToDraftPayload
- type ConvertToDraftEvent
- type ConvertedNoteToIssueEvent
- func (x *ConvertedNoteToIssueEvent) GetActor() Actor
- func (x *ConvertedNoteToIssueEvent) GetCreatedAt() DateTime
- func (x *ConvertedNoteToIssueEvent) GetDatabaseId() int
- func (x *ConvertedNoteToIssueEvent) GetId() ID
- func (x *ConvertedNoteToIssueEvent) GetProject() *Project
- func (x *ConvertedNoteToIssueEvent) GetProjectCard() *ProjectCard
- func (x *ConvertedNoteToIssueEvent) GetProjectColumnName() string
- type ConvertedToDiscussionEvent
- type CreateBranchProtectionRuleInput
- type CreateBranchProtectionRulePayload
- type CreateCheckRunInput
- type CreateCheckRunPayload
- type CreateCheckSuiteInput
- type CreateCheckSuitePayload
- type CreateCommitOnBranchInput
- type CreateCommitOnBranchPayload
- type CreateDiscussionInput
- type CreateDiscussionPayload
- type CreateEnterpriseOrganizationInput
- type CreateEnterpriseOrganizationPayload
- type CreateEnvironmentInput
- type CreateEnvironmentPayload
- type CreateIpAllowListEntryInput
- type CreateIpAllowListEntryPayload
- type CreateIssueInput
- type CreateIssuePayload
- type CreateMigrationSourceInput
- type CreateMigrationSourcePayload
- type CreateProjectInput
- type CreateProjectPayload
- type CreateProjectV2Input
- type CreateProjectV2Payload
- type CreatePullRequestInput
- type CreatePullRequestPayload
- type CreateRefInput
- type CreateRefPayload
- type CreateRepositoryInput
- type CreateRepositoryPayload
- type CreateSponsorsTierInput
- type CreateSponsorsTierPayload
- type CreateSponsorshipInput
- type CreateSponsorshipPayload
- type CreateTeamDiscussionCommentInput
- type CreateTeamDiscussionCommentPayload
- type CreateTeamDiscussionInput
- type CreateTeamDiscussionPayload
- type CreatedCommitContribution
- func (x *CreatedCommitContribution) GetCommitCount() int
- func (x *CreatedCommitContribution) GetIsRestricted() bool
- func (x *CreatedCommitContribution) GetOccurredAt() DateTime
- func (x *CreatedCommitContribution) GetRepository() *Repository
- func (x *CreatedCommitContribution) GetResourcePath() URI
- func (x *CreatedCommitContribution) GetUrl() URI
- func (x *CreatedCommitContribution) GetUser() *User
- type CreatedCommitContributionConnection
- func (x *CreatedCommitContributionConnection) GetEdges() []*CreatedCommitContributionEdge
- func (x *CreatedCommitContributionConnection) GetNodes() []*CreatedCommitContribution
- func (x *CreatedCommitContributionConnection) GetPageInfo() *PageInfo
- func (x *CreatedCommitContributionConnection) GetTotalCount() int
- type CreatedCommitContributionEdge
- type CreatedIssueContribution
- func (x *CreatedIssueContribution) GetIsRestricted() bool
- func (x *CreatedIssueContribution) GetIssue() *Issue
- func (x *CreatedIssueContribution) GetOccurredAt() DateTime
- func (x *CreatedIssueContribution) GetResourcePath() URI
- func (x *CreatedIssueContribution) GetUrl() URI
- func (x *CreatedIssueContribution) GetUser() *User
- type CreatedIssueContributionConnection
- func (x *CreatedIssueContributionConnection) GetEdges() []*CreatedIssueContributionEdge
- func (x *CreatedIssueContributionConnection) GetNodes() []*CreatedIssueContribution
- func (x *CreatedIssueContributionConnection) GetPageInfo() *PageInfo
- func (x *CreatedIssueContributionConnection) GetTotalCount() int
- type CreatedIssueContributionEdge
- type CreatedIssueOrRestrictedContribution
- type CreatedIssueOrRestrictedContribution_Interface
- type CreatedPullRequestContribution
- func (x *CreatedPullRequestContribution) GetIsRestricted() bool
- func (x *CreatedPullRequestContribution) GetOccurredAt() DateTime
- func (x *CreatedPullRequestContribution) GetPullRequest() *PullRequest
- func (x *CreatedPullRequestContribution) GetResourcePath() URI
- func (x *CreatedPullRequestContribution) GetUrl() URI
- func (x *CreatedPullRequestContribution) GetUser() *User
- type CreatedPullRequestContributionConnection
- func (x *CreatedPullRequestContributionConnection) GetEdges() []*CreatedPullRequestContributionEdge
- func (x *CreatedPullRequestContributionConnection) GetNodes() []*CreatedPullRequestContribution
- func (x *CreatedPullRequestContributionConnection) GetPageInfo() *PageInfo
- func (x *CreatedPullRequestContributionConnection) GetTotalCount() int
- type CreatedPullRequestContributionEdge
- type CreatedPullRequestOrRestrictedContribution
- type CreatedPullRequestOrRestrictedContribution_Interface
- type CreatedPullRequestReviewContribution
- func (x *CreatedPullRequestReviewContribution) GetIsRestricted() bool
- func (x *CreatedPullRequestReviewContribution) GetOccurredAt() DateTime
- func (x *CreatedPullRequestReviewContribution) GetPullRequest() *PullRequest
- func (x *CreatedPullRequestReviewContribution) GetPullRequestReview() *PullRequestReview
- func (x *CreatedPullRequestReviewContribution) GetRepository() *Repository
- func (x *CreatedPullRequestReviewContribution) GetResourcePath() URI
- func (x *CreatedPullRequestReviewContribution) GetUrl() URI
- func (x *CreatedPullRequestReviewContribution) GetUser() *User
- type CreatedPullRequestReviewContributionConnection
- func (x *CreatedPullRequestReviewContributionConnection) GetEdges() []*CreatedPullRequestReviewContributionEdge
- func (x *CreatedPullRequestReviewContributionConnection) GetNodes() []*CreatedPullRequestReviewContribution
- func (x *CreatedPullRequestReviewContributionConnection) GetPageInfo() *PageInfo
- func (x *CreatedPullRequestReviewContributionConnection) GetTotalCount() int
- type CreatedPullRequestReviewContributionEdge
- type CreatedRepositoryContribution
- func (x *CreatedRepositoryContribution) GetIsRestricted() bool
- func (x *CreatedRepositoryContribution) GetOccurredAt() DateTime
- func (x *CreatedRepositoryContribution) GetRepository() *Repository
- func (x *CreatedRepositoryContribution) GetResourcePath() URI
- func (x *CreatedRepositoryContribution) GetUrl() URI
- func (x *CreatedRepositoryContribution) GetUser() *User
- type CreatedRepositoryContributionConnection
- func (x *CreatedRepositoryContributionConnection) GetEdges() []*CreatedRepositoryContributionEdge
- func (x *CreatedRepositoryContributionConnection) GetNodes() []*CreatedRepositoryContribution
- func (x *CreatedRepositoryContributionConnection) GetPageInfo() *PageInfo
- func (x *CreatedRepositoryContributionConnection) GetTotalCount() int
- type CreatedRepositoryContributionEdge
- type CreatedRepositoryOrRestrictedContribution
- type CreatedRepositoryOrRestrictedContribution_Interface
- type CrossReferencedEvent
- func (x *CrossReferencedEvent) GetActor() Actor
- func (x *CrossReferencedEvent) GetCreatedAt() DateTime
- func (x *CrossReferencedEvent) GetId() ID
- func (x *CrossReferencedEvent) GetIsCrossRepository() bool
- func (x *CrossReferencedEvent) GetReferencedAt() DateTime
- func (x *CrossReferencedEvent) GetResourcePath() URI
- func (x *CrossReferencedEvent) GetSource() ReferencedSubject
- func (x *CrossReferencedEvent) GetTarget() ReferencedSubject
- func (x *CrossReferencedEvent) GetUrl() URI
- func (x *CrossReferencedEvent) GetWillCloseTarget() bool
- type Date
- type DateTime
- type DeclineTopicSuggestionInput
- type DeclineTopicSuggestionPayload
- type DefaultRepositoryPermissionField
- type Deletable
- type Deletable_Interface
- type DeleteBranchProtectionRuleInput
- type DeleteBranchProtectionRulePayload
- type DeleteDeploymentInput
- type DeleteDeploymentPayload
- type DeleteDiscussionCommentInput
- type DeleteDiscussionCommentPayload
- type DeleteDiscussionInput
- type DeleteDiscussionPayload
- type DeleteEnvironmentInput
- type DeleteEnvironmentPayload
- type DeleteIpAllowListEntryInput
- type DeleteIpAllowListEntryPayload
- type DeleteIssueCommentInput
- type DeleteIssueCommentPayload
- type DeleteIssueInput
- type DeleteIssuePayload
- type DeleteProjectCardInput
- type DeleteProjectCardPayload
- type DeleteProjectColumnInput
- type DeleteProjectColumnPayload
- type DeleteProjectInput
- type DeleteProjectNextItemInput
- type DeleteProjectNextItemPayload
- type DeleteProjectPayload
- type DeleteProjectV2ItemInput
- type DeleteProjectV2ItemPayload
- type DeletePullRequestReviewCommentInput
- type DeletePullRequestReviewCommentPayload
- type DeletePullRequestReviewInput
- type DeletePullRequestReviewPayload
- type DeleteRefInput
- type DeleteRefPayload
- type DeleteTeamDiscussionCommentInput
- type DeleteTeamDiscussionCommentPayload
- type DeleteTeamDiscussionInput
- type DeleteTeamDiscussionPayload
- type DeleteVerifiableDomainInput
- type DeleteVerifiableDomainPayload
- type DemilestonedEvent
- type DependabotUpdate
- type DependabotUpdateError
- type DependencyGraphEcosystem
- type DeployKey
- type DeployKeyConnection
- type DeployKeyEdge
- type DeployedEvent
- func (x *DeployedEvent) GetActor() Actor
- func (x *DeployedEvent) GetCreatedAt() DateTime
- func (x *DeployedEvent) GetDatabaseId() int
- func (x *DeployedEvent) GetDeployment() *Deployment
- func (x *DeployedEvent) GetId() ID
- func (x *DeployedEvent) GetPullRequest() *PullRequest
- func (x *DeployedEvent) GetRef() *Ref
- type Deployment
- func (x *Deployment) GetCommit() *Commit
- func (x *Deployment) GetCommitOid() string
- func (x *Deployment) GetCreatedAt() DateTime
- func (x *Deployment) GetCreator() Actor
- func (x *Deployment) GetDatabaseId() int
- func (x *Deployment) GetDescription() string
- func (x *Deployment) GetEnvironment() string
- func (x *Deployment) GetId() ID
- func (x *Deployment) GetLatestEnvironment() string
- func (x *Deployment) GetLatestStatus() *DeploymentStatus
- func (x *Deployment) GetOriginalEnvironment() string
- func (x *Deployment) GetPayload() string
- func (x *Deployment) GetRef() *Ref
- func (x *Deployment) GetRepository() *Repository
- func (x *Deployment) GetState() DeploymentState
- func (x *Deployment) GetStatuses() *DeploymentStatusConnection
- func (x *Deployment) GetTask() string
- func (x *Deployment) GetUpdatedAt() DateTime
- type DeploymentConnection
- type DeploymentEdge
- type DeploymentEnvironmentChangedEvent
- func (x *DeploymentEnvironmentChangedEvent) GetActor() Actor
- func (x *DeploymentEnvironmentChangedEvent) GetCreatedAt() DateTime
- func (x *DeploymentEnvironmentChangedEvent) GetDeploymentStatus() *DeploymentStatus
- func (x *DeploymentEnvironmentChangedEvent) GetId() ID
- func (x *DeploymentEnvironmentChangedEvent) GetPullRequest() *PullRequest
- type DeploymentOrder
- type DeploymentOrderField
- type DeploymentProtectionRule
- type DeploymentProtectionRuleConnection
- func (x *DeploymentProtectionRuleConnection) GetEdges() []*DeploymentProtectionRuleEdge
- func (x *DeploymentProtectionRuleConnection) GetNodes() []*DeploymentProtectionRule
- func (x *DeploymentProtectionRuleConnection) GetPageInfo() *PageInfo
- func (x *DeploymentProtectionRuleConnection) GetTotalCount() int
- type DeploymentProtectionRuleEdge
- type DeploymentProtectionRuleType
- type DeploymentRequest
- type DeploymentRequestConnection
- type DeploymentRequestEdge
- type DeploymentReview
- func (x *DeploymentReview) GetComment() string
- func (x *DeploymentReview) GetDatabaseId() int
- func (x *DeploymentReview) GetEnvironments() *EnvironmentConnection
- func (x *DeploymentReview) GetId() ID
- func (x *DeploymentReview) GetState() DeploymentReviewState
- func (x *DeploymentReview) GetUser() *User
- type DeploymentReviewConnection
- type DeploymentReviewEdge
- type DeploymentReviewState
- type DeploymentReviewer
- type DeploymentReviewerConnection
- type DeploymentReviewerEdge
- type DeploymentReviewer_Interface
- type DeploymentState
- type DeploymentStatus
- func (x *DeploymentStatus) GetCreatedAt() DateTime
- func (x *DeploymentStatus) GetCreator() Actor
- func (x *DeploymentStatus) GetDeployment() *Deployment
- func (x *DeploymentStatus) GetDescription() string
- func (x *DeploymentStatus) GetEnvironmentUrl() URI
- func (x *DeploymentStatus) GetId() ID
- func (x *DeploymentStatus) GetLogUrl() URI
- func (x *DeploymentStatus) GetState() DeploymentStatusState
- func (x *DeploymentStatus) GetUpdatedAt() DateTime
- type DeploymentStatusConnection
- type DeploymentStatusEdge
- type DeploymentStatusState
- type DiffSide
- type DisablePullRequestAutoMergeInput
- type DisablePullRequestAutoMergePayload
- type DisconnectedEvent
- func (x *DisconnectedEvent) GetActor() Actor
- func (x *DisconnectedEvent) GetCreatedAt() DateTime
- func (x *DisconnectedEvent) GetId() ID
- func (x *DisconnectedEvent) GetIsCrossRepository() bool
- func (x *DisconnectedEvent) GetSource() ReferencedSubject
- func (x *DisconnectedEvent) GetSubject() ReferencedSubject
- type Discussion
- func (x *Discussion) GetActiveLockReason() LockReason
- func (x *Discussion) GetAnswer() *DiscussionComment
- func (x *Discussion) GetAnswerChosenAt() DateTime
- func (x *Discussion) GetAnswerChosenBy() Actor
- func (x *Discussion) GetAuthor() Actor
- func (x *Discussion) GetAuthorAssociation() CommentAuthorAssociation
- func (x *Discussion) GetBody() string
- func (x *Discussion) GetBodyHTML() template.HTML
- func (x *Discussion) GetBodyText() string
- func (x *Discussion) GetCategory() *DiscussionCategory
- func (x *Discussion) GetComments() *DiscussionCommentConnection
- func (x *Discussion) GetCreatedAt() DateTime
- func (x *Discussion) GetCreatedViaEmail() bool
- func (x *Discussion) GetDatabaseId() int
- func (x *Discussion) GetEditor() Actor
- func (x *Discussion) GetId() ID
- func (x *Discussion) GetIncludesCreatedEdit() bool
- func (x *Discussion) GetLabels() *LabelConnection
- func (x *Discussion) GetLastEditedAt() DateTime
- func (x *Discussion) GetLocked() bool
- func (x *Discussion) GetNumber() int
- func (x *Discussion) GetPoll() *DiscussionPoll
- func (x *Discussion) GetPublishedAt() DateTime
- func (x *Discussion) GetReactionGroups() []*ReactionGroup
- func (x *Discussion) GetReactions() *ReactionConnection
- func (x *Discussion) GetRepository() *Repository
- func (x *Discussion) GetResourcePath() URI
- func (x *Discussion) GetTitle() string
- func (x *Discussion) GetUpdatedAt() DateTime
- func (x *Discussion) GetUpvoteCount() int
- func (x *Discussion) GetUrl() URI
- func (x *Discussion) GetUserContentEdits() *UserContentEditConnection
- func (x *Discussion) GetViewerCanDelete() bool
- func (x *Discussion) GetViewerCanReact() bool
- func (x *Discussion) GetViewerCanSubscribe() bool
- func (x *Discussion) GetViewerCanUpdate() bool
- func (x *Discussion) GetViewerCanUpvote() bool
- func (x *Discussion) GetViewerDidAuthor() bool
- func (x *Discussion) GetViewerHasUpvoted() bool
- func (x *Discussion) GetViewerSubscription() SubscriptionState
- type DiscussionCategory
- func (x *DiscussionCategory) GetCreatedAt() DateTime
- func (x *DiscussionCategory) GetDescription() string
- func (x *DiscussionCategory) GetEmoji() string
- func (x *DiscussionCategory) GetEmojiHTML() template.HTML
- func (x *DiscussionCategory) GetId() ID
- func (x *DiscussionCategory) GetIsAnswerable() bool
- func (x *DiscussionCategory) GetName() string
- func (x *DiscussionCategory) GetRepository() *Repository
- func (x *DiscussionCategory) GetUpdatedAt() DateTime
- type DiscussionCategoryConnection
- type DiscussionCategoryEdge
- type DiscussionComment
- func (x *DiscussionComment) GetAuthor() Actor
- func (x *DiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *DiscussionComment) GetBody() string
- func (x *DiscussionComment) GetBodyHTML() template.HTML
- func (x *DiscussionComment) GetBodyText() string
- func (x *DiscussionComment) GetCreatedAt() DateTime
- func (x *DiscussionComment) GetCreatedViaEmail() bool
- func (x *DiscussionComment) GetDatabaseId() int
- func (x *DiscussionComment) GetDeletedAt() DateTime
- func (x *DiscussionComment) GetDiscussion() *Discussion
- func (x *DiscussionComment) GetEditor() Actor
- func (x *DiscussionComment) GetId() ID
- func (x *DiscussionComment) GetIncludesCreatedEdit() bool
- func (x *DiscussionComment) GetIsAnswer() bool
- func (x *DiscussionComment) GetIsMinimized() bool
- func (x *DiscussionComment) GetLastEditedAt() DateTime
- func (x *DiscussionComment) GetMinimizedReason() string
- func (x *DiscussionComment) GetPublishedAt() DateTime
- func (x *DiscussionComment) GetReactionGroups() []*ReactionGroup
- func (x *DiscussionComment) GetReactions() *ReactionConnection
- func (x *DiscussionComment) GetReplies() *DiscussionCommentConnection
- func (x *DiscussionComment) GetReplyTo() *DiscussionComment
- func (x *DiscussionComment) GetResourcePath() URI
- func (x *DiscussionComment) GetUpdatedAt() DateTime
- func (x *DiscussionComment) GetUpvoteCount() int
- func (x *DiscussionComment) GetUrl() URI
- func (x *DiscussionComment) GetUserContentEdits() *UserContentEditConnection
- func (x *DiscussionComment) GetViewerCanDelete() bool
- func (x *DiscussionComment) GetViewerCanMarkAsAnswer() bool
- func (x *DiscussionComment) GetViewerCanMinimize() bool
- func (x *DiscussionComment) GetViewerCanReact() bool
- func (x *DiscussionComment) GetViewerCanUnmarkAsAnswer() bool
- func (x *DiscussionComment) GetViewerCanUpdate() bool
- func (x *DiscussionComment) GetViewerCanUpvote() bool
- func (x *DiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *DiscussionComment) GetViewerDidAuthor() bool
- func (x *DiscussionComment) GetViewerHasUpvoted() bool
- type DiscussionCommentConnection
- type DiscussionCommentEdge
- type DiscussionConnection
- type DiscussionEdge
- type DiscussionOrder
- type DiscussionOrderField
- type DiscussionPoll
- func (x *DiscussionPoll) GetDiscussion() *Discussion
- func (x *DiscussionPoll) GetId() ID
- func (x *DiscussionPoll) GetOptions() *DiscussionPollOptionConnection
- func (x *DiscussionPoll) GetQuestion() string
- func (x *DiscussionPoll) GetTotalVoteCount() int
- func (x *DiscussionPoll) GetViewerCanVote() bool
- func (x *DiscussionPoll) GetViewerHasVoted() bool
- type DiscussionPollOption
- type DiscussionPollOptionConnection
- type DiscussionPollOptionEdge
- type DiscussionPollOptionOrder
- type DiscussionPollOptionOrderField
- type DismissPullRequestReviewInput
- type DismissPullRequestReviewPayload
- type DismissReason
- type DismissRepositoryVulnerabilityAlertInput
- type DismissRepositoryVulnerabilityAlertPayload
- type DraftIssue
- func (x *DraftIssue) GetAssignees() *UserConnection
- func (x *DraftIssue) GetBody() string
- func (x *DraftIssue) GetBodyHTML() template.HTML
- func (x *DraftIssue) GetBodyText() string
- func (x *DraftIssue) GetCreatedAt() DateTime
- func (x *DraftIssue) GetCreator() Actor
- func (x *DraftIssue) GetId() ID
- func (x *DraftIssue) GetProject() *ProjectNext
- func (x *DraftIssue) GetProjectItem() *ProjectNextItem
- func (x *DraftIssue) GetProjectV2Items() *ProjectV2ItemConnection
- func (x *DraftIssue) GetProjectsV2() *ProjectV2Connection
- func (x *DraftIssue) GetTitle() string
- func (x *DraftIssue) GetUpdatedAt() DateTime
- type DraftPullRequestReviewComment
- type DraftPullRequestReviewThread
- type EnablePullRequestAutoMergeInput
- type EnablePullRequestAutoMergePayload
- type Enterprise
- func (x *Enterprise) GetAvatarUrl() URI
- func (x *Enterprise) GetBillingInfo() *EnterpriseBillingInfo
- func (x *Enterprise) GetCreatedAt() DateTime
- func (x *Enterprise) GetDatabaseId() int
- func (x *Enterprise) GetDescription() string
- func (x *Enterprise) GetDescriptionHTML() template.HTML
- func (x *Enterprise) GetId() ID
- func (x *Enterprise) GetLocation() string
- func (x *Enterprise) GetMembers() *EnterpriseMemberConnection
- func (x *Enterprise) GetName() string
- func (x *Enterprise) GetOrganizations() *OrganizationConnection
- func (x *Enterprise) GetOwnerInfo() *EnterpriseOwnerInfo
- func (x *Enterprise) GetResourcePath() URI
- func (x *Enterprise) GetSlug() string
- func (x *Enterprise) GetUrl() URI
- func (x *Enterprise) GetViewerIsAdmin() bool
- func (x *Enterprise) GetWebsiteUrl() URI
- type EnterpriseAdministratorConnection
- type EnterpriseAdministratorEdge
- type EnterpriseAdministratorInvitation
- func (x *EnterpriseAdministratorInvitation) GetCreatedAt() DateTime
- func (x *EnterpriseAdministratorInvitation) GetEmail() string
- func (x *EnterpriseAdministratorInvitation) GetEnterprise() *Enterprise
- func (x *EnterpriseAdministratorInvitation) GetId() ID
- func (x *EnterpriseAdministratorInvitation) GetInvitee() *User
- func (x *EnterpriseAdministratorInvitation) GetInviter() *User
- func (x *EnterpriseAdministratorInvitation) GetRole() EnterpriseAdministratorRole
- type EnterpriseAdministratorInvitationConnection
- func (x *EnterpriseAdministratorInvitationConnection) GetEdges() []*EnterpriseAdministratorInvitationEdge
- func (x *EnterpriseAdministratorInvitationConnection) GetNodes() []*EnterpriseAdministratorInvitation
- func (x *EnterpriseAdministratorInvitationConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseAdministratorInvitationConnection) GetTotalCount() int
- type EnterpriseAdministratorInvitationEdge
- type EnterpriseAdministratorInvitationOrder
- type EnterpriseAdministratorInvitationOrderField
- type EnterpriseAdministratorRole
- type EnterpriseAuditEntryData
- type EnterpriseAuditEntryData_Interface
- type EnterpriseBillingInfo
- func (x *EnterpriseBillingInfo) GetAllLicensableUsersCount() int
- func (x *EnterpriseBillingInfo) GetAssetPacks() int
- func (x *EnterpriseBillingInfo) GetBandwidthQuota() float64
- func (x *EnterpriseBillingInfo) GetBandwidthUsage() float64
- func (x *EnterpriseBillingInfo) GetBandwidthUsagePercentage() int
- func (x *EnterpriseBillingInfo) GetStorageQuota() float64
- func (x *EnterpriseBillingInfo) GetStorageUsage() float64
- func (x *EnterpriseBillingInfo) GetStorageUsagePercentage() int
- func (x *EnterpriseBillingInfo) GetTotalAvailableLicenses() int
- func (x *EnterpriseBillingInfo) GetTotalLicenses() int
- type EnterpriseDefaultRepositoryPermissionSettingValue
- type EnterpriseEnabledDisabledSettingValue
- type EnterpriseEnabledSettingValue
- type EnterpriseIdentityProvider
- func (x *EnterpriseIdentityProvider) GetDigestMethod() SamlDigestAlgorithm
- func (x *EnterpriseIdentityProvider) GetEnterprise() *Enterprise
- func (x *EnterpriseIdentityProvider) GetExternalIdentities() *ExternalIdentityConnection
- func (x *EnterpriseIdentityProvider) GetId() ID
- func (x *EnterpriseIdentityProvider) GetIdpCertificate() X509Certificate
- func (x *EnterpriseIdentityProvider) GetIssuer() string
- func (x *EnterpriseIdentityProvider) GetRecoveryCodes() []string
- func (x *EnterpriseIdentityProvider) GetSignatureMethod() SamlSignatureAlgorithm
- func (x *EnterpriseIdentityProvider) GetSsoUrl() URI
- type EnterpriseMember
- type EnterpriseMemberConnection
- type EnterpriseMemberEdge
- type EnterpriseMemberOrder
- type EnterpriseMemberOrderField
- type EnterpriseMember_Interface
- type EnterpriseMembersCanCreateRepositoriesSettingValue
- type EnterpriseMembersCanMakePurchasesSettingValue
- type EnterpriseOrganizationMembershipConnection
- func (x *EnterpriseOrganizationMembershipConnection) GetEdges() []*EnterpriseOrganizationMembershipEdge
- func (x *EnterpriseOrganizationMembershipConnection) GetNodes() []*Organization
- func (x *EnterpriseOrganizationMembershipConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseOrganizationMembershipConnection) GetTotalCount() int
- type EnterpriseOrganizationMembershipEdge
- type EnterpriseOutsideCollaboratorConnection
- func (x *EnterpriseOutsideCollaboratorConnection) GetEdges() []*EnterpriseOutsideCollaboratorEdge
- func (x *EnterpriseOutsideCollaboratorConnection) GetNodes() []*User
- func (x *EnterpriseOutsideCollaboratorConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseOutsideCollaboratorConnection) GetTotalCount() int
- type EnterpriseOutsideCollaboratorEdge
- type EnterpriseOwnerInfo
- func (x *EnterpriseOwnerInfo) GetAdmins() *EnterpriseAdministratorConnection
- func (x *EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabled() *UserConnection
- func (x *EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabledExist() bool
- func (x *EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSetting() EnterpriseDefaultRepositoryPermissionSettingValue
- func (x *EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetDomains() *VerifiableDomainConnection
- func (x *EnterpriseOwnerInfo) GetEnterpriseServerInstallations() *EnterpriseServerInstallationConnection
- func (x *EnterpriseOwnerInfo) GetIpAllowListEnabledSetting() IpAllowListEnabledSettingValue
- func (x *EnterpriseOwnerInfo) GetIpAllowListEntries() *IpAllowListEntryConnection
- func (x *EnterpriseOwnerInfo) GetIpAllowListForInstalledAppsEnabledSetting() IpAllowListForInstalledAppsEnabledSettingValue
- func (x *EnterpriseOwnerInfo) GetIsUpdatingDefaultRepositoryPermission() bool
- func (x *EnterpriseOwnerInfo) GetIsUpdatingTwoFactorRequirement() bool
- func (x *EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanCreateInternalRepositoriesSetting() bool
- func (x *EnterpriseOwnerInfo) GetMembersCanCreatePrivateRepositoriesSetting() bool
- func (x *EnterpriseOwnerInfo) GetMembersCanCreatePublicRepositoriesSetting() bool
- func (x *EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSetting() EnterpriseMembersCanCreateRepositoriesSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanMakePurchasesSetting() EnterpriseMembersCanMakePurchasesSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetNotificationDeliveryRestrictionEnabledSetting() NotificationRestrictionSettingValue
- func (x *EnterpriseOwnerInfo) GetOidcProvider() *OIDCProvider
- func (x *EnterpriseOwnerInfo) GetOrganizationProjectsSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetOrganizationProjectsSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetOutsideCollaborators() *EnterpriseOutsideCollaboratorConnection
- func (x *EnterpriseOwnerInfo) GetPendingAdminInvitations() *EnterpriseAdministratorInvitationConnection
- func (x *EnterpriseOwnerInfo) GetPendingCollaboratorInvitations() *RepositoryInvitationConnection
- func (x *EnterpriseOwnerInfo) GetPendingMemberInvitations() *EnterprisePendingMemberInvitationConnection
- func (x *EnterpriseOwnerInfo) GetRepositoryProjectsSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetRepositoryProjectsSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetSamlIdentityProvider() *EnterpriseIdentityProvider
- func (x *EnterpriseOwnerInfo) GetSamlIdentityProviderSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetSupportEntitlements() *EnterpriseMemberConnection
- func (x *EnterpriseOwnerInfo) GetTeamDiscussionsSetting() EnterpriseEnabledDisabledSettingValue
- func (x *EnterpriseOwnerInfo) GetTeamDiscussionsSettingOrganizations() *OrganizationConnection
- func (x *EnterpriseOwnerInfo) GetTwoFactorRequiredSetting() EnterpriseEnabledSettingValue
- func (x *EnterpriseOwnerInfo) GetTwoFactorRequiredSettingOrganizations() *OrganizationConnection
- type EnterprisePendingMemberInvitationConnection
- func (x *EnterprisePendingMemberInvitationConnection) GetEdges() []*EnterprisePendingMemberInvitationEdge
- func (x *EnterprisePendingMemberInvitationConnection) GetNodes() []*OrganizationInvitation
- func (x *EnterprisePendingMemberInvitationConnection) GetPageInfo() *PageInfo
- func (x *EnterprisePendingMemberInvitationConnection) GetTotalCount() int
- func (x *EnterprisePendingMemberInvitationConnection) GetTotalUniqueUserCount() int
- type EnterprisePendingMemberInvitationEdge
- type EnterpriseRepositoryInfo
- type EnterpriseRepositoryInfoConnection
- func (x *EnterpriseRepositoryInfoConnection) GetEdges() []*EnterpriseRepositoryInfoEdge
- func (x *EnterpriseRepositoryInfoConnection) GetNodes() []*EnterpriseRepositoryInfo
- func (x *EnterpriseRepositoryInfoConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseRepositoryInfoConnection) GetTotalCount() int
- type EnterpriseRepositoryInfoEdge
- type EnterpriseServerInstallation
- func (x *EnterpriseServerInstallation) GetCreatedAt() DateTime
- func (x *EnterpriseServerInstallation) GetCustomerName() string
- func (x *EnterpriseServerInstallation) GetHostName() string
- func (x *EnterpriseServerInstallation) GetId() ID
- func (x *EnterpriseServerInstallation) GetIsConnected() bool
- func (x *EnterpriseServerInstallation) GetUpdatedAt() DateTime
- func (x *EnterpriseServerInstallation) GetUserAccounts() *EnterpriseServerUserAccountConnection
- func (x *EnterpriseServerInstallation) GetUserAccountsUploads() *EnterpriseServerUserAccountsUploadConnection
- type EnterpriseServerInstallationConnection
- func (x *EnterpriseServerInstallationConnection) GetEdges() []*EnterpriseServerInstallationEdge
- func (x *EnterpriseServerInstallationConnection) GetNodes() []*EnterpriseServerInstallation
- func (x *EnterpriseServerInstallationConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseServerInstallationConnection) GetTotalCount() int
- type EnterpriseServerInstallationEdge
- type EnterpriseServerInstallationOrder
- type EnterpriseServerInstallationOrderField
- type EnterpriseServerUserAccount
- func (x *EnterpriseServerUserAccount) GetCreatedAt() DateTime
- func (x *EnterpriseServerUserAccount) GetEmails() *EnterpriseServerUserAccountEmailConnection
- func (x *EnterpriseServerUserAccount) GetEnterpriseServerInstallation() *EnterpriseServerInstallation
- func (x *EnterpriseServerUserAccount) GetId() ID
- func (x *EnterpriseServerUserAccount) GetIsSiteAdmin() bool
- func (x *EnterpriseServerUserAccount) GetLogin() string
- func (x *EnterpriseServerUserAccount) GetProfileName() string
- func (x *EnterpriseServerUserAccount) GetRemoteCreatedAt() DateTime
- func (x *EnterpriseServerUserAccount) GetRemoteUserId() int
- func (x *EnterpriseServerUserAccount) GetUpdatedAt() DateTime
- type EnterpriseServerUserAccountConnection
- func (x *EnterpriseServerUserAccountConnection) GetEdges() []*EnterpriseServerUserAccountEdge
- func (x *EnterpriseServerUserAccountConnection) GetNodes() []*EnterpriseServerUserAccount
- func (x *EnterpriseServerUserAccountConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseServerUserAccountConnection) GetTotalCount() int
- type EnterpriseServerUserAccountEdge
- type EnterpriseServerUserAccountEmail
- func (x *EnterpriseServerUserAccountEmail) GetCreatedAt() DateTime
- func (x *EnterpriseServerUserAccountEmail) GetEmail() string
- func (x *EnterpriseServerUserAccountEmail) GetId() ID
- func (x *EnterpriseServerUserAccountEmail) GetIsPrimary() bool
- func (x *EnterpriseServerUserAccountEmail) GetUpdatedAt() DateTime
- func (x *EnterpriseServerUserAccountEmail) GetUserAccount() *EnterpriseServerUserAccount
- type EnterpriseServerUserAccountEmailConnection
- func (x *EnterpriseServerUserAccountEmailConnection) GetEdges() []*EnterpriseServerUserAccountEmailEdge
- func (x *EnterpriseServerUserAccountEmailConnection) GetNodes() []*EnterpriseServerUserAccountEmail
- func (x *EnterpriseServerUserAccountEmailConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseServerUserAccountEmailConnection) GetTotalCount() int
- type EnterpriseServerUserAccountEmailEdge
- type EnterpriseServerUserAccountEmailOrder
- type EnterpriseServerUserAccountEmailOrderField
- type EnterpriseServerUserAccountOrder
- type EnterpriseServerUserAccountOrderField
- type EnterpriseServerUserAccountsUpload
- func (x *EnterpriseServerUserAccountsUpload) GetCreatedAt() DateTime
- func (x *EnterpriseServerUserAccountsUpload) GetEnterprise() *Enterprise
- func (x *EnterpriseServerUserAccountsUpload) GetEnterpriseServerInstallation() *EnterpriseServerInstallation
- func (x *EnterpriseServerUserAccountsUpload) GetId() ID
- func (x *EnterpriseServerUserAccountsUpload) GetName() string
- func (x *EnterpriseServerUserAccountsUpload) GetSyncState() EnterpriseServerUserAccountsUploadSyncState
- func (x *EnterpriseServerUserAccountsUpload) GetUpdatedAt() DateTime
- type EnterpriseServerUserAccountsUploadConnection
- func (x *EnterpriseServerUserAccountsUploadConnection) GetEdges() []*EnterpriseServerUserAccountsUploadEdge
- func (x *EnterpriseServerUserAccountsUploadConnection) GetNodes() []*EnterpriseServerUserAccountsUpload
- func (x *EnterpriseServerUserAccountsUploadConnection) GetPageInfo() *PageInfo
- func (x *EnterpriseServerUserAccountsUploadConnection) GetTotalCount() int
- type EnterpriseServerUserAccountsUploadEdge
- type EnterpriseServerUserAccountsUploadOrder
- type EnterpriseServerUserAccountsUploadOrderField
- type EnterpriseServerUserAccountsUploadSyncState
- type EnterpriseUserAccount
- func (x *EnterpriseUserAccount) GetAvatarUrl() URI
- func (x *EnterpriseUserAccount) GetCreatedAt() DateTime
- func (x *EnterpriseUserAccount) GetEnterprise() *Enterprise
- func (x *EnterpriseUserAccount) GetId() ID
- func (x *EnterpriseUserAccount) GetLogin() string
- func (x *EnterpriseUserAccount) GetName() string
- func (x *EnterpriseUserAccount) GetOrganizations() *EnterpriseOrganizationMembershipConnection
- func (x *EnterpriseUserAccount) GetResourcePath() URI
- func (x *EnterpriseUserAccount) GetUpdatedAt() DateTime
- func (x *EnterpriseUserAccount) GetUrl() URI
- func (x *EnterpriseUserAccount) GetUser() *User
- type EnterpriseUserAccountMembershipRole
- type EnterpriseUserDeployment
- type Environment
- type EnvironmentConnection
- type EnvironmentEdge
- type ExternalIdentity
- func (x *ExternalIdentity) GetGuid() string
- func (x *ExternalIdentity) GetId() ID
- func (x *ExternalIdentity) GetOrganizationInvitation() *OrganizationInvitation
- func (x *ExternalIdentity) GetSamlIdentity() *ExternalIdentitySamlAttributes
- func (x *ExternalIdentity) GetScimIdentity() *ExternalIdentityScimAttributes
- func (x *ExternalIdentity) GetUser() *User
- type ExternalIdentityAttribute
- type ExternalIdentityConnection
- type ExternalIdentityEdge
- type ExternalIdentitySamlAttributes
- func (x *ExternalIdentitySamlAttributes) GetAttributes() []*ExternalIdentityAttribute
- func (x *ExternalIdentitySamlAttributes) GetEmails() []*UserEmailMetadata
- func (x *ExternalIdentitySamlAttributes) GetFamilyName() string
- func (x *ExternalIdentitySamlAttributes) GetGivenName() string
- func (x *ExternalIdentitySamlAttributes) GetGroups() []string
- func (x *ExternalIdentitySamlAttributes) GetNameId() string
- func (x *ExternalIdentitySamlAttributes) GetUsername() string
- type ExternalIdentityScimAttributes
- func (x *ExternalIdentityScimAttributes) GetEmails() []*UserEmailMetadata
- func (x *ExternalIdentityScimAttributes) GetFamilyName() string
- func (x *ExternalIdentityScimAttributes) GetGivenName() string
- func (x *ExternalIdentityScimAttributes) GetGroups() []string
- func (x *ExternalIdentityScimAttributes) GetUsername() string
- type FileAddition
- type FileChanges
- type FileDeletion
- type FileViewedState
- type Float
- type FollowOrganizationInput
- type FollowOrganizationPayload
- type FollowUserInput
- type FollowUserPayload
- type FollowerConnection
- type FollowingConnection
- type FundingLink
- type FundingPlatform
- type GenericHovercardContext
- type Gist
- func (x *Gist) GetComments() *GistCommentConnection
- func (x *Gist) GetCreatedAt() DateTime
- func (x *Gist) GetDescription() string
- func (x *Gist) GetFiles() []*GistFile
- func (x *Gist) GetForks() *GistConnection
- func (x *Gist) GetId() ID
- func (x *Gist) GetIsFork() bool
- func (x *Gist) GetIsPublic() bool
- func (x *Gist) GetName() string
- func (x *Gist) GetOwner() RepositoryOwner
- func (x *Gist) GetPushedAt() DateTime
- func (x *Gist) GetResourcePath() URI
- func (x *Gist) GetStargazerCount() int
- func (x *Gist) GetStargazers() *StargazerConnection
- func (x *Gist) GetUpdatedAt() DateTime
- func (x *Gist) GetUrl() URI
- func (x *Gist) GetViewerHasStarred() bool
- type GistComment
- func (x *GistComment) GetAuthor() Actor
- func (x *GistComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *GistComment) GetBody() string
- func (x *GistComment) GetBodyHTML() template.HTML
- func (x *GistComment) GetBodyText() string
- func (x *GistComment) GetCreatedAt() DateTime
- func (x *GistComment) GetCreatedViaEmail() bool
- func (x *GistComment) GetDatabaseId() int
- func (x *GistComment) GetEditor() Actor
- func (x *GistComment) GetGist() *Gist
- func (x *GistComment) GetId() ID
- func (x *GistComment) GetIncludesCreatedEdit() bool
- func (x *GistComment) GetIsMinimized() bool
- func (x *GistComment) GetLastEditedAt() DateTime
- func (x *GistComment) GetMinimizedReason() string
- func (x *GistComment) GetPublishedAt() DateTime
- func (x *GistComment) GetUpdatedAt() DateTime
- func (x *GistComment) GetUserContentEdits() *UserContentEditConnection
- func (x *GistComment) GetViewerCanDelete() bool
- func (x *GistComment) GetViewerCanMinimize() bool
- func (x *GistComment) GetViewerCanUpdate() bool
- func (x *GistComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *GistComment) GetViewerDidAuthor() bool
- type GistCommentConnection
- type GistCommentEdge
- type GistConnection
- type GistEdge
- type GistFile
- func (x *GistFile) GetEncodedName() string
- func (x *GistFile) GetEncoding() string
- func (x *GistFile) GetExtension() string
- func (x *GistFile) GetIsImage() bool
- func (x *GistFile) GetIsTruncated() bool
- func (x *GistFile) GetLanguage() *Language
- func (x *GistFile) GetName() string
- func (x *GistFile) GetSize() int
- func (x *GistFile) GetText() string
- type GistOrder
- type GistOrderField
- type GistPrivacy
- type GitActor
- type GitActorConnection
- type GitActorEdge
- type GitHubMetadata
- func (x *GitHubMetadata) GetGitHubServicesSha() GitObjectID
- func (x *GitHubMetadata) GetGitIpAddresses() []string
- func (x *GitHubMetadata) GetHookIpAddresses() []string
- func (x *GitHubMetadata) GetImporterIpAddresses() []string
- func (x *GitHubMetadata) GetIsPasswordAuthenticationVerifiable() bool
- func (x *GitHubMetadata) GetPagesIpAddresses() []string
- type GitObject
- type GitObjectID
- type GitObject_Interface
- type GitSSHRemote
- type GitSignature
- type GitSignatureState
- type GitSignature_Interface
- type GitTimestamp
- type GpgSignature
- func (x *GpgSignature) GetEmail() string
- func (x *GpgSignature) GetIsValid() bool
- func (x *GpgSignature) GetKeyId() string
- func (x *GpgSignature) GetPayload() string
- func (x *GpgSignature) GetSignature() string
- func (x *GpgSignature) GetSigner() *User
- func (x *GpgSignature) GetState() GitSignatureState
- func (x *GpgSignature) GetWasSignedByGitHub() bool
- type GrantEnterpriseOrganizationsMigratorRoleInput
- type GrantEnterpriseOrganizationsMigratorRolePayload
- type GrantMigratorRoleInput
- type GrantMigratorRolePayload
- type HTML
- type HeadRefDeletedEvent
- func (x *HeadRefDeletedEvent) GetActor() Actor
- func (x *HeadRefDeletedEvent) GetCreatedAt() DateTime
- func (x *HeadRefDeletedEvent) GetHeadRef() *Ref
- func (x *HeadRefDeletedEvent) GetHeadRefName() string
- func (x *HeadRefDeletedEvent) GetId() ID
- func (x *HeadRefDeletedEvent) GetPullRequest() *PullRequest
- type HeadRefForcePushedEvent
- func (x *HeadRefForcePushedEvent) GetActor() Actor
- func (x *HeadRefForcePushedEvent) GetAfterCommit() *Commit
- func (x *HeadRefForcePushedEvent) GetBeforeCommit() *Commit
- func (x *HeadRefForcePushedEvent) GetCreatedAt() DateTime
- func (x *HeadRefForcePushedEvent) GetId() ID
- func (x *HeadRefForcePushedEvent) GetPullRequest() *PullRequest
- func (x *HeadRefForcePushedEvent) GetRef() *Ref
- type HeadRefRestoredEvent
- type Hovercard
- type HovercardContext
- type HovercardContext_Interface
- type ID
- type IdentityProviderConfigurationState
- type Int
- type InviteEnterpriseAdminInput
- type InviteEnterpriseAdminPayload
- type IpAllowListEnabledSettingValue
- type IpAllowListEntry
- func (x *IpAllowListEntry) GetAllowListValue() string
- func (x *IpAllowListEntry) GetCreatedAt() DateTime
- func (x *IpAllowListEntry) GetId() ID
- func (x *IpAllowListEntry) GetIsActive() bool
- func (x *IpAllowListEntry) GetName() string
- func (x *IpAllowListEntry) GetOwner() IpAllowListOwner
- func (x *IpAllowListEntry) GetUpdatedAt() DateTime
- type IpAllowListEntryConnection
- type IpAllowListEntryEdge
- type IpAllowListEntryOrder
- type IpAllowListEntryOrderField
- type IpAllowListForInstalledAppsEnabledSettingValue
- type IpAllowListOwner
- type IpAllowListOwner_Interface
- type Issue
- func (x *Issue) GetActiveLockReason() LockReason
- func (x *Issue) GetAssignees() *UserConnection
- func (x *Issue) GetAuthor() Actor
- func (x *Issue) GetAuthorAssociation() CommentAuthorAssociation
- func (x *Issue) GetBody() string
- func (x *Issue) GetBodyHTML() template.HTML
- func (x *Issue) GetBodyResourcePath() URI
- func (x *Issue) GetBodyText() string
- func (x *Issue) GetBodyUrl() URI
- func (x *Issue) GetClosed() bool
- func (x *Issue) GetClosedAt() DateTime
- func (x *Issue) GetComments() *IssueCommentConnection
- func (x *Issue) GetCreatedAt() DateTime
- func (x *Issue) GetCreatedViaEmail() bool
- func (x *Issue) GetDatabaseId() int
- func (x *Issue) GetEditor() Actor
- func (x *Issue) GetHovercard() *Hovercard
- func (x *Issue) GetId() ID
- func (x *Issue) GetIncludesCreatedEdit() bool
- func (x *Issue) GetIsPinned() bool
- func (x *Issue) GetIsReadByViewer() bool
- func (x *Issue) GetLabels() *LabelConnection
- func (x *Issue) GetLastEditedAt() DateTime
- func (x *Issue) GetLocked() bool
- func (x *Issue) GetMilestone() *Milestone
- func (x *Issue) GetNumber() int
- func (x *Issue) GetParticipants() *UserConnection
- func (x *Issue) GetProjectCards() *ProjectCardConnection
- func (x *Issue) GetProjectItems() *ProjectV2ItemConnection
- func (x *Issue) GetProjectNext() *ProjectNext
- func (x *Issue) GetProjectNextItems() *ProjectNextItemConnection
- func (x *Issue) GetProjectV2() *ProjectV2
- func (x *Issue) GetProjectsNext() *ProjectNextConnection
- func (x *Issue) GetProjectsV2() *ProjectV2Connection
- func (x *Issue) GetPublishedAt() DateTime
- func (x *Issue) GetReactionGroups() []*ReactionGroup
- func (x *Issue) GetReactions() *ReactionConnection
- func (x *Issue) GetRepository() *Repository
- func (x *Issue) GetResourcePath() URI
- func (x *Issue) GetState() IssueState
- func (x *Issue) GetStateReason() IssueStateReason
- func (x *Issue) GetTimeline() *IssueTimelineConnection
- func (x *Issue) GetTimelineItems() *IssueTimelineItemsConnection
- func (x *Issue) GetTitle() string
- func (x *Issue) GetTitleHTML() string
- func (x *Issue) GetTrackedInIssues() *IssueConnection
- func (x *Issue) GetTrackedIssues() *IssueConnection
- func (x *Issue) GetTrackedIssuesCount() int
- func (x *Issue) GetUpdatedAt() DateTime
- func (x *Issue) GetUrl() URI
- func (x *Issue) GetUserContentEdits() *UserContentEditConnection
- func (x *Issue) GetViewerCanReact() bool
- func (x *Issue) GetViewerCanSubscribe() bool
- func (x *Issue) GetViewerCanUpdate() bool
- func (x *Issue) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *Issue) GetViewerDidAuthor() bool
- func (x *Issue) GetViewerSubscription() SubscriptionState
- type IssueClosedStateReason
- type IssueComment
- func (x *IssueComment) GetAuthor() Actor
- func (x *IssueComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *IssueComment) GetBody() string
- func (x *IssueComment) GetBodyHTML() template.HTML
- func (x *IssueComment) GetBodyText() string
- func (x *IssueComment) GetCreatedAt() DateTime
- func (x *IssueComment) GetCreatedViaEmail() bool
- func (x *IssueComment) GetDatabaseId() int
- func (x *IssueComment) GetEditor() Actor
- func (x *IssueComment) GetId() ID
- func (x *IssueComment) GetIncludesCreatedEdit() bool
- func (x *IssueComment) GetIsMinimized() bool
- func (x *IssueComment) GetIssue() *Issue
- func (x *IssueComment) GetLastEditedAt() DateTime
- func (x *IssueComment) GetMinimizedReason() string
- func (x *IssueComment) GetPublishedAt() DateTime
- func (x *IssueComment) GetPullRequest() *PullRequest
- func (x *IssueComment) GetReactionGroups() []*ReactionGroup
- func (x *IssueComment) GetReactions() *ReactionConnection
- func (x *IssueComment) GetRepository() *Repository
- func (x *IssueComment) GetResourcePath() URI
- func (x *IssueComment) GetUpdatedAt() DateTime
- func (x *IssueComment) GetUrl() URI
- func (x *IssueComment) GetUserContentEdits() *UserContentEditConnection
- func (x *IssueComment) GetViewerCanDelete() bool
- func (x *IssueComment) GetViewerCanMinimize() bool
- func (x *IssueComment) GetViewerCanReact() bool
- func (x *IssueComment) GetViewerCanUpdate() bool
- func (x *IssueComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *IssueComment) GetViewerDidAuthor() bool
- type IssueCommentConnection
- type IssueCommentEdge
- type IssueCommentOrder
- type IssueCommentOrderField
- type IssueConnection
- type IssueContributionsByRepository
- type IssueEdge
- type IssueFilters
- type IssueOrPullRequest
- type IssueOrPullRequest_Interface
- type IssueOrder
- type IssueOrderField
- type IssueState
- type IssueStateReason
- type IssueTemplate
- type IssueTimelineConnection
- type IssueTimelineItem
- type IssueTimelineItemEdge
- type IssueTimelineItem_Interface
- type IssueTimelineItems
- type IssueTimelineItemsConnection
- func (x *IssueTimelineItemsConnection) GetEdges() []*IssueTimelineItemsEdge
- func (x *IssueTimelineItemsConnection) GetFilteredCount() int
- func (x *IssueTimelineItemsConnection) GetNodes() []IssueTimelineItems
- func (x *IssueTimelineItemsConnection) GetPageCount() int
- func (x *IssueTimelineItemsConnection) GetPageInfo() *PageInfo
- func (x *IssueTimelineItemsConnection) GetTotalCount() int
- func (x *IssueTimelineItemsConnection) GetUpdatedAt() DateTime
- type IssueTimelineItemsEdge
- type IssueTimelineItemsItemType
- type IssueTimelineItems_Interface
- type JoinedGitHubContribution
- type Label
- func (x *Label) GetColor() string
- func (x *Label) GetCreatedAt() DateTime
- func (x *Label) GetDescription() string
- func (x *Label) GetId() ID
- func (x *Label) GetIsDefault() bool
- func (x *Label) GetIssues() *IssueConnection
- func (x *Label) GetName() string
- func (x *Label) GetPullRequests() *PullRequestConnection
- func (x *Label) GetRepository() *Repository
- func (x *Label) GetResourcePath() URI
- func (x *Label) GetUpdatedAt() DateTime
- func (x *Label) GetUrl() URI
- type LabelConnection
- type LabelEdge
- type LabelOrder
- type LabelOrderField
- type Labelable
- type Labelable_Interface
- type LabeledEvent
- type Language
- type LanguageConnection
- type LanguageEdge
- type LanguageOrder
- type LanguageOrderField
- type License
- func (x *License) GetBody() string
- func (x *License) GetConditions() []*LicenseRule
- func (x *License) GetDescription() string
- func (x *License) GetFeatured() bool
- func (x *License) GetHidden() bool
- func (x *License) GetId() ID
- func (x *License) GetImplementation() string
- func (x *License) GetKey() string
- func (x *License) GetLimitations() []*LicenseRule
- func (x *License) GetName() string
- func (x *License) GetNickname() string
- func (x *License) GetPermissions() []*LicenseRule
- func (x *License) GetPseudoLicense() bool
- func (x *License) GetSpdxId() string
- func (x *License) GetUrl() URI
- type LicenseRule
- type LinkRepositoryToProjectInput
- type LinkRepositoryToProjectPayload
- type LockLockableInput
- type LockLockablePayload
- type LockReason
- type Lockable
- type Lockable_Interface
- type LockedEvent
- type Mannequin
- func (x *Mannequin) GetAvatarUrl() URI
- func (x *Mannequin) GetClaimant() *User
- func (x *Mannequin) GetCreatedAt() DateTime
- func (x *Mannequin) GetDatabaseId() int
- func (x *Mannequin) GetEmail() string
- func (x *Mannequin) GetId() ID
- func (x *Mannequin) GetLogin() string
- func (x *Mannequin) GetResourcePath() URI
- func (x *Mannequin) GetUpdatedAt() DateTime
- func (x *Mannequin) GetUrl() URI
- type MarkDiscussionCommentAsAnswerInput
- type MarkDiscussionCommentAsAnswerPayload
- type MarkFileAsViewedInput
- type MarkFileAsViewedPayload
- type MarkPullRequestReadyForReviewInput
- type MarkPullRequestReadyForReviewPayload
- type MarkedAsDuplicateEvent
- func (x *MarkedAsDuplicateEvent) GetActor() Actor
- func (x *MarkedAsDuplicateEvent) GetCanonical() IssueOrPullRequest
- func (x *MarkedAsDuplicateEvent) GetCreatedAt() DateTime
- func (x *MarkedAsDuplicateEvent) GetDuplicate() IssueOrPullRequest
- func (x *MarkedAsDuplicateEvent) GetId() ID
- func (x *MarkedAsDuplicateEvent) GetIsCrossRepository() bool
- type MarketplaceCategory
- func (x *MarketplaceCategory) GetDescription() string
- func (x *MarketplaceCategory) GetHowItWorks() string
- func (x *MarketplaceCategory) GetId() ID
- func (x *MarketplaceCategory) GetName() string
- func (x *MarketplaceCategory) GetPrimaryListingCount() int
- func (x *MarketplaceCategory) GetResourcePath() URI
- func (x *MarketplaceCategory) GetSecondaryListingCount() int
- func (x *MarketplaceCategory) GetSlug() string
- func (x *MarketplaceCategory) GetUrl() URI
- type MarketplaceListing
- func (x *MarketplaceListing) GetApp() *App
- func (x *MarketplaceListing) GetCompanyUrl() URI
- func (x *MarketplaceListing) GetConfigurationResourcePath() URI
- func (x *MarketplaceListing) GetConfigurationUrl() URI
- func (x *MarketplaceListing) GetDocumentationUrl() URI
- func (x *MarketplaceListing) GetExtendedDescription() string
- func (x *MarketplaceListing) GetExtendedDescriptionHTML() template.HTML
- func (x *MarketplaceListing) GetFullDescription() string
- func (x *MarketplaceListing) GetFullDescriptionHTML() template.HTML
- func (x *MarketplaceListing) GetHasPublishedFreeTrialPlans() bool
- func (x *MarketplaceListing) GetHasTermsOfService() bool
- func (x *MarketplaceListing) GetHasVerifiedOwner() bool
- func (x *MarketplaceListing) GetHowItWorks() string
- func (x *MarketplaceListing) GetHowItWorksHTML() template.HTML
- func (x *MarketplaceListing) GetId() ID
- func (x *MarketplaceListing) GetInstallationUrl() URI
- func (x *MarketplaceListing) GetInstalledForViewer() bool
- func (x *MarketplaceListing) GetIsArchived() bool
- func (x *MarketplaceListing) GetIsDraft() bool
- func (x *MarketplaceListing) GetIsPaid() bool
- func (x *MarketplaceListing) GetIsPublic() bool
- func (x *MarketplaceListing) GetIsRejected() bool
- func (x *MarketplaceListing) GetIsUnverified() bool
- func (x *MarketplaceListing) GetIsUnverifiedPending() bool
- func (x *MarketplaceListing) GetIsVerificationPendingFromDraft() bool
- func (x *MarketplaceListing) GetIsVerificationPendingFromUnverified() bool
- func (x *MarketplaceListing) GetIsVerified() bool
- func (x *MarketplaceListing) GetLogoBackgroundColor() string
- func (x *MarketplaceListing) GetLogoUrl() URI
- func (x *MarketplaceListing) GetName() string
- func (x *MarketplaceListing) GetNormalizedShortDescription() string
- func (x *MarketplaceListing) GetPricingUrl() URI
- func (x *MarketplaceListing) GetPrimaryCategory() *MarketplaceCategory
- func (x *MarketplaceListing) GetPrivacyPolicyUrl() URI
- func (x *MarketplaceListing) GetResourcePath() URI
- func (x *MarketplaceListing) GetScreenshotUrls() []string
- func (x *MarketplaceListing) GetSecondaryCategory() *MarketplaceCategory
- func (x *MarketplaceListing) GetShortDescription() string
- func (x *MarketplaceListing) GetSlug() string
- func (x *MarketplaceListing) GetStatusUrl() URI
- func (x *MarketplaceListing) GetSupportEmail() string
- func (x *MarketplaceListing) GetSupportUrl() URI
- func (x *MarketplaceListing) GetTermsOfServiceUrl() URI
- func (x *MarketplaceListing) GetUrl() URI
- func (x *MarketplaceListing) GetViewerCanAddPlans() bool
- func (x *MarketplaceListing) GetViewerCanApprove() bool
- func (x *MarketplaceListing) GetViewerCanDelist() bool
- func (x *MarketplaceListing) GetViewerCanEdit() bool
- func (x *MarketplaceListing) GetViewerCanEditCategories() bool
- func (x *MarketplaceListing) GetViewerCanEditPlans() bool
- func (x *MarketplaceListing) GetViewerCanRedraft() bool
- func (x *MarketplaceListing) GetViewerCanReject() bool
- func (x *MarketplaceListing) GetViewerCanRequestApproval() bool
- func (x *MarketplaceListing) GetViewerHasPurchased() bool
- func (x *MarketplaceListing) GetViewerHasPurchasedForAllOrganizations() bool
- func (x *MarketplaceListing) GetViewerIsListingAdmin() bool
- type MarketplaceListingConnection
- type MarketplaceListingEdge
- type MemberStatusable
- type MemberStatusable_Interface
- type MembersCanDeleteReposClearAuditEntry
- func (x *MembersCanDeleteReposClearAuditEntry) GetAction() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetActor() AuditEntryActor
- func (x *MembersCanDeleteReposClearAuditEntry) GetActorIp() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetActorLocation() *ActorLocation
- func (x *MembersCanDeleteReposClearAuditEntry) GetActorLogin() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetActorResourcePath() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetActorUrl() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseUrl() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetId() ID
- func (x *MembersCanDeleteReposClearAuditEntry) GetOperationType() OperationType
- func (x *MembersCanDeleteReposClearAuditEntry) GetOrganization() *Organization
- func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationName() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationUrl() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetUser() *User
- func (x *MembersCanDeleteReposClearAuditEntry) GetUserLogin() string
- func (x *MembersCanDeleteReposClearAuditEntry) GetUserResourcePath() URI
- func (x *MembersCanDeleteReposClearAuditEntry) GetUserUrl() URI
- type MembersCanDeleteReposDisableAuditEntry
- func (x *MembersCanDeleteReposDisableAuditEntry) GetAction() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActor() AuditEntryActor
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActorIp() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActorLocation() *ActorLocation
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActorLogin() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetActorUrl() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseUrl() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetId() ID
- func (x *MembersCanDeleteReposDisableAuditEntry) GetOperationType() OperationType
- func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganization() *Organization
- func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationName() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationUrl() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetUser() *User
- func (x *MembersCanDeleteReposDisableAuditEntry) GetUserLogin() string
- func (x *MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath() URI
- func (x *MembersCanDeleteReposDisableAuditEntry) GetUserUrl() URI
- type MembersCanDeleteReposEnableAuditEntry
- func (x *MembersCanDeleteReposEnableAuditEntry) GetAction() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActor() AuditEntryActor
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActorIp() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActorLocation() *ActorLocation
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActorLogin() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetActorUrl() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseUrl() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetId() ID
- func (x *MembersCanDeleteReposEnableAuditEntry) GetOperationType() OperationType
- func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganization() *Organization
- func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationName() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationUrl() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetUser() *User
- func (x *MembersCanDeleteReposEnableAuditEntry) GetUserLogin() string
- func (x *MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath() URI
- func (x *MembersCanDeleteReposEnableAuditEntry) GetUserUrl() URI
- type MentionedEvent
- type MergeBranchInput
- type MergeBranchPayload
- type MergePullRequestInput
- type MergePullRequestPayload
- type MergeableState
- type MergedEvent
- func (x *MergedEvent) GetActor() Actor
- func (x *MergedEvent) GetCommit() *Commit
- func (x *MergedEvent) GetCreatedAt() DateTime
- func (x *MergedEvent) GetId() ID
- func (x *MergedEvent) GetMergeRef() *Ref
- func (x *MergedEvent) GetMergeRefName() string
- func (x *MergedEvent) GetPullRequest() *PullRequest
- func (x *MergedEvent) GetResourcePath() URI
- func (x *MergedEvent) GetUrl() URI
- type Migration
- type MigrationSource
- type MigrationSourceType
- type MigrationState
- type Migration_Interface
- type Milestone
- func (x *Milestone) GetClosed() bool
- func (x *Milestone) GetClosedAt() DateTime
- func (x *Milestone) GetCreatedAt() DateTime
- func (x *Milestone) GetCreator() Actor
- func (x *Milestone) GetDescription() string
- func (x *Milestone) GetDueOn() DateTime
- func (x *Milestone) GetId() ID
- func (x *Milestone) GetIssues() *IssueConnection
- func (x *Milestone) GetNumber() int
- func (x *Milestone) GetProgressPercentage() float64
- func (x *Milestone) GetPullRequests() *PullRequestConnection
- func (x *Milestone) GetRepository() *Repository
- func (x *Milestone) GetResourcePath() URI
- func (x *Milestone) GetState() MilestoneState
- func (x *Milestone) GetTitle() string
- func (x *Milestone) GetUpdatedAt() DateTime
- func (x *Milestone) GetUrl() URI
- type MilestoneConnection
- type MilestoneEdge
- type MilestoneItem
- type MilestoneItem_Interface
- type MilestoneOrder
- type MilestoneOrderField
- type MilestoneState
- type MilestonedEvent
- type Minimizable
- type Minimizable_Interface
- type MinimizeCommentInput
- type MinimizeCommentPayload
- type MoveProjectCardInput
- type MoveProjectCardPayload
- type MoveProjectColumnInput
- type MoveProjectColumnPayload
- type MovedColumnsInProjectEvent
- func (x *MovedColumnsInProjectEvent) GetActor() Actor
- func (x *MovedColumnsInProjectEvent) GetCreatedAt() DateTime
- func (x *MovedColumnsInProjectEvent) GetDatabaseId() int
- func (x *MovedColumnsInProjectEvent) GetId() ID
- func (x *MovedColumnsInProjectEvent) GetPreviousProjectColumnName() string
- func (x *MovedColumnsInProjectEvent) GetProject() *Project
- func (x *MovedColumnsInProjectEvent) GetProjectCard() *ProjectCard
- func (x *MovedColumnsInProjectEvent) GetProjectColumnName() string
- type Mutation
- func (x *Mutation) GetAbortQueuedMigrations() *AbortQueuedMigrationsPayload
- func (x *Mutation) GetAcceptEnterpriseAdministratorInvitation() *AcceptEnterpriseAdministratorInvitationPayload
- func (x *Mutation) GetAcceptTopicSuggestion() *AcceptTopicSuggestionPayload
- func (x *Mutation) GetAddAssigneesToAssignable() *AddAssigneesToAssignablePayload
- func (x *Mutation) GetAddComment() *AddCommentPayload
- func (x *Mutation) GetAddDiscussionComment() *AddDiscussionCommentPayload
- func (x *Mutation) GetAddDiscussionPollVote() *AddDiscussionPollVotePayload
- func (x *Mutation) GetAddEnterpriseSupportEntitlement() *AddEnterpriseSupportEntitlementPayload
- func (x *Mutation) GetAddLabelsToLabelable() *AddLabelsToLabelablePayload
- func (x *Mutation) GetAddProjectCard() *AddProjectCardPayload
- func (x *Mutation) GetAddProjectColumn() *AddProjectColumnPayload
- func (x *Mutation) GetAddProjectDraftIssue() *AddProjectDraftIssuePayload
- func (x *Mutation) GetAddProjectNextItem() *AddProjectNextItemPayload
- func (x *Mutation) GetAddProjectV2DraftIssue() *AddProjectV2DraftIssuePayload
- func (x *Mutation) GetAddProjectV2ItemById() *AddProjectV2ItemByIdPayload
- func (x *Mutation) GetAddPullRequestReview() *AddPullRequestReviewPayload
- func (x *Mutation) GetAddPullRequestReviewComment() *AddPullRequestReviewCommentPayload
- func (x *Mutation) GetAddPullRequestReviewThread() *AddPullRequestReviewThreadPayload
- func (x *Mutation) GetAddReaction() *AddReactionPayload
- func (x *Mutation) GetAddStar() *AddStarPayload
- func (x *Mutation) GetAddUpvote() *AddUpvotePayload
- func (x *Mutation) GetAddVerifiableDomain() *AddVerifiableDomainPayload
- func (x *Mutation) GetApproveDeployments() *ApproveDeploymentsPayload
- func (x *Mutation) GetApproveVerifiableDomain() *ApproveVerifiableDomainPayload
- func (x *Mutation) GetArchiveRepository() *ArchiveRepositoryPayload
- func (x *Mutation) GetCancelEnterpriseAdminInvitation() *CancelEnterpriseAdminInvitationPayload
- func (x *Mutation) GetCancelSponsorship() *CancelSponsorshipPayload
- func (x *Mutation) GetChangeUserStatus() *ChangeUserStatusPayload
- func (x *Mutation) GetClearLabelsFromLabelable() *ClearLabelsFromLabelablePayload
- func (x *Mutation) GetCloneProject() *CloneProjectPayload
- func (x *Mutation) GetCloneTemplateRepository() *CloneTemplateRepositoryPayload
- func (x *Mutation) GetCloseIssue() *CloseIssuePayload
- func (x *Mutation) GetClosePullRequest() *ClosePullRequestPayload
- func (x *Mutation) GetConvertProjectCardNoteToIssue() *ConvertProjectCardNoteToIssuePayload
- func (x *Mutation) GetConvertPullRequestToDraft() *ConvertPullRequestToDraftPayload
- func (x *Mutation) GetCreateBranchProtectionRule() *CreateBranchProtectionRulePayload
- func (x *Mutation) GetCreateCheckRun() *CreateCheckRunPayload
- func (x *Mutation) GetCreateCheckSuite() *CreateCheckSuitePayload
- func (x *Mutation) GetCreateCommitOnBranch() *CreateCommitOnBranchPayload
- func (x *Mutation) GetCreateDiscussion() *CreateDiscussionPayload
- func (x *Mutation) GetCreateEnterpriseOrganization() *CreateEnterpriseOrganizationPayload
- func (x *Mutation) GetCreateEnvironment() *CreateEnvironmentPayload
- func (x *Mutation) GetCreateIpAllowListEntry() *CreateIpAllowListEntryPayload
- func (x *Mutation) GetCreateIssue() *CreateIssuePayload
- func (x *Mutation) GetCreateMigrationSource() *CreateMigrationSourcePayload
- func (x *Mutation) GetCreateProject() *CreateProjectPayload
- func (x *Mutation) GetCreateProjectV2() *CreateProjectV2Payload
- func (x *Mutation) GetCreatePullRequest() *CreatePullRequestPayload
- func (x *Mutation) GetCreateRef() *CreateRefPayload
- func (x *Mutation) GetCreateRepository() *CreateRepositoryPayload
- func (x *Mutation) GetCreateSponsorsTier() *CreateSponsorsTierPayload
- func (x *Mutation) GetCreateSponsorship() *CreateSponsorshipPayload
- func (x *Mutation) GetCreateTeamDiscussion() *CreateTeamDiscussionPayload
- func (x *Mutation) GetCreateTeamDiscussionComment() *CreateTeamDiscussionCommentPayload
- func (x *Mutation) GetDeclineTopicSuggestion() *DeclineTopicSuggestionPayload
- func (x *Mutation) GetDeleteBranchProtectionRule() *DeleteBranchProtectionRulePayload
- func (x *Mutation) GetDeleteDeployment() *DeleteDeploymentPayload
- func (x *Mutation) GetDeleteDiscussion() *DeleteDiscussionPayload
- func (x *Mutation) GetDeleteDiscussionComment() *DeleteDiscussionCommentPayload
- func (x *Mutation) GetDeleteEnvironment() *DeleteEnvironmentPayload
- func (x *Mutation) GetDeleteIpAllowListEntry() *DeleteIpAllowListEntryPayload
- func (x *Mutation) GetDeleteIssue() *DeleteIssuePayload
- func (x *Mutation) GetDeleteIssueComment() *DeleteIssueCommentPayload
- func (x *Mutation) GetDeleteProject() *DeleteProjectPayload
- func (x *Mutation) GetDeleteProjectCard() *DeleteProjectCardPayload
- func (x *Mutation) GetDeleteProjectColumn() *DeleteProjectColumnPayload
- func (x *Mutation) GetDeleteProjectNextItem() *DeleteProjectNextItemPayload
- func (x *Mutation) GetDeleteProjectV2Item() *DeleteProjectV2ItemPayload
- func (x *Mutation) GetDeletePullRequestReview() *DeletePullRequestReviewPayload
- func (x *Mutation) GetDeletePullRequestReviewComment() *DeletePullRequestReviewCommentPayload
- func (x *Mutation) GetDeleteRef() *DeleteRefPayload
- func (x *Mutation) GetDeleteTeamDiscussion() *DeleteTeamDiscussionPayload
- func (x *Mutation) GetDeleteTeamDiscussionComment() *DeleteTeamDiscussionCommentPayload
- func (x *Mutation) GetDeleteVerifiableDomain() *DeleteVerifiableDomainPayload
- func (x *Mutation) GetDisablePullRequestAutoMerge() *DisablePullRequestAutoMergePayload
- func (x *Mutation) GetDismissPullRequestReview() *DismissPullRequestReviewPayload
- func (x *Mutation) GetDismissRepositoryVulnerabilityAlert() *DismissRepositoryVulnerabilityAlertPayload
- func (x *Mutation) GetEnablePullRequestAutoMerge() *EnablePullRequestAutoMergePayload
- func (x *Mutation) GetFollowOrganization() *FollowOrganizationPayload
- func (x *Mutation) GetFollowUser() *FollowUserPayload
- func (x *Mutation) GetGrantEnterpriseOrganizationsMigratorRole() *GrantEnterpriseOrganizationsMigratorRolePayload
- func (x *Mutation) GetGrantMigratorRole() *GrantMigratorRolePayload
- func (x *Mutation) GetInviteEnterpriseAdmin() *InviteEnterpriseAdminPayload
- func (x *Mutation) GetLinkRepositoryToProject() *LinkRepositoryToProjectPayload
- func (x *Mutation) GetLockLockable() *LockLockablePayload
- func (x *Mutation) GetMarkDiscussionCommentAsAnswer() *MarkDiscussionCommentAsAnswerPayload
- func (x *Mutation) GetMarkFileAsViewed() *MarkFileAsViewedPayload
- func (x *Mutation) GetMarkPullRequestReadyForReview() *MarkPullRequestReadyForReviewPayload
- func (x *Mutation) GetMergeBranch() *MergeBranchPayload
- func (x *Mutation) GetMergePullRequest() *MergePullRequestPayload
- func (x *Mutation) GetMinimizeComment() *MinimizeCommentPayload
- func (x *Mutation) GetMoveProjectCard() *MoveProjectCardPayload
- func (x *Mutation) GetMoveProjectColumn() *MoveProjectColumnPayload
- func (x *Mutation) GetPinIssue() *PinIssuePayload
- func (x *Mutation) GetRegenerateEnterpriseIdentityProviderRecoveryCodes() *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload
- func (x *Mutation) GetRegenerateVerifiableDomainToken() *RegenerateVerifiableDomainTokenPayload
- func (x *Mutation) GetRejectDeployments() *RejectDeploymentsPayload
- func (x *Mutation) GetRemoveAssigneesFromAssignable() *RemoveAssigneesFromAssignablePayload
- func (x *Mutation) GetRemoveEnterpriseAdmin() *RemoveEnterpriseAdminPayload
- func (x *Mutation) GetRemoveEnterpriseIdentityProvider() *RemoveEnterpriseIdentityProviderPayload
- func (x *Mutation) GetRemoveEnterpriseOrganization() *RemoveEnterpriseOrganizationPayload
- func (x *Mutation) GetRemoveEnterpriseSupportEntitlement() *RemoveEnterpriseSupportEntitlementPayload
- func (x *Mutation) GetRemoveLabelsFromLabelable() *RemoveLabelsFromLabelablePayload
- func (x *Mutation) GetRemoveOutsideCollaborator() *RemoveOutsideCollaboratorPayload
- func (x *Mutation) GetRemoveReaction() *RemoveReactionPayload
- func (x *Mutation) GetRemoveStar() *RemoveStarPayload
- func (x *Mutation) GetRemoveUpvote() *RemoveUpvotePayload
- func (x *Mutation) GetReopenIssue() *ReopenIssuePayload
- func (x *Mutation) GetReopenPullRequest() *ReopenPullRequestPayload
- func (x *Mutation) GetRequestReviews() *RequestReviewsPayload
- func (x *Mutation) GetRerequestCheckSuite() *RerequestCheckSuitePayload
- func (x *Mutation) GetResolveReviewThread() *ResolveReviewThreadPayload
- func (x *Mutation) GetRevokeEnterpriseOrganizationsMigratorRole() *RevokeEnterpriseOrganizationsMigratorRolePayload
- func (x *Mutation) GetRevokeMigratorRole() *RevokeMigratorRolePayload
- func (x *Mutation) GetSetEnterpriseIdentityProvider() *SetEnterpriseIdentityProviderPayload
- func (x *Mutation) GetSetOrganizationInteractionLimit() *SetOrganizationInteractionLimitPayload
- func (x *Mutation) GetSetRepositoryInteractionLimit() *SetRepositoryInteractionLimitPayload
- func (x *Mutation) GetSetUserInteractionLimit() *SetUserInteractionLimitPayload
- func (x *Mutation) GetStartRepositoryMigration() *StartRepositoryMigrationPayload
- func (x *Mutation) GetSubmitPullRequestReview() *SubmitPullRequestReviewPayload
- func (x *Mutation) GetTransferIssue() *TransferIssuePayload
- func (x *Mutation) GetUnarchiveRepository() *UnarchiveRepositoryPayload
- func (x *Mutation) GetUnfollowOrganization() *UnfollowOrganizationPayload
- func (x *Mutation) GetUnfollowUser() *UnfollowUserPayload
- func (x *Mutation) GetUnlinkRepositoryFromProject() *UnlinkRepositoryFromProjectPayload
- func (x *Mutation) GetUnlockLockable() *UnlockLockablePayload
- func (x *Mutation) GetUnmarkDiscussionCommentAsAnswer() *UnmarkDiscussionCommentAsAnswerPayload
- func (x *Mutation) GetUnmarkFileAsViewed() *UnmarkFileAsViewedPayload
- func (x *Mutation) GetUnmarkIssueAsDuplicate() *UnmarkIssueAsDuplicatePayload
- func (x *Mutation) GetUnminimizeComment() *UnminimizeCommentPayload
- func (x *Mutation) GetUnpinIssue() *UnpinIssuePayload
- func (x *Mutation) GetUnresolveReviewThread() *UnresolveReviewThreadPayload
- func (x *Mutation) GetUpdateBranchProtectionRule() *UpdateBranchProtectionRulePayload
- func (x *Mutation) GetUpdateCheckRun() *UpdateCheckRunPayload
- func (x *Mutation) GetUpdateCheckSuitePreferences() *UpdateCheckSuitePreferencesPayload
- func (x *Mutation) GetUpdateDiscussion() *UpdateDiscussionPayload
- func (x *Mutation) GetUpdateDiscussionComment() *UpdateDiscussionCommentPayload
- func (x *Mutation) GetUpdateEnterpriseAdministratorRole() *UpdateEnterpriseAdministratorRolePayload
- func (x *Mutation) GetUpdateEnterpriseAllowPrivateRepositoryForkingSetting() *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
- func (x *Mutation) GetUpdateEnterpriseDefaultRepositoryPermissionSetting() *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting() *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanCreateRepositoriesSetting() *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanDeleteIssuesSetting() *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanDeleteRepositoriesSetting() *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanInviteCollaboratorsSetting() *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanMakePurchasesSetting() *UpdateEnterpriseMembersCanMakePurchasesSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanUpdateProtectedBranchesSetting() *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload
- func (x *Mutation) GetUpdateEnterpriseMembersCanViewDependencyInsightsSetting() *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload
- func (x *Mutation) GetUpdateEnterpriseOrganizationProjectsSetting() *UpdateEnterpriseOrganizationProjectsSettingPayload
- func (x *Mutation) GetUpdateEnterpriseOwnerOrganizationRole() *UpdateEnterpriseOwnerOrganizationRolePayload
- func (x *Mutation) GetUpdateEnterpriseProfile() *UpdateEnterpriseProfilePayload
- func (x *Mutation) GetUpdateEnterpriseRepositoryProjectsSetting() *UpdateEnterpriseRepositoryProjectsSettingPayload
- func (x *Mutation) GetUpdateEnterpriseTeamDiscussionsSetting() *UpdateEnterpriseTeamDiscussionsSettingPayload
- func (x *Mutation) GetUpdateEnterpriseTwoFactorAuthenticationRequiredSetting() *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload
- func (x *Mutation) GetUpdateEnvironment() *UpdateEnvironmentPayload
- func (x *Mutation) GetUpdateIpAllowListEnabledSetting() *UpdateIpAllowListEnabledSettingPayload
- func (x *Mutation) GetUpdateIpAllowListEntry() *UpdateIpAllowListEntryPayload
- func (x *Mutation) GetUpdateIpAllowListForInstalledAppsEnabledSetting() *UpdateIpAllowListForInstalledAppsEnabledSettingPayload
- func (x *Mutation) GetUpdateIssue() *UpdateIssuePayload
- func (x *Mutation) GetUpdateIssueComment() *UpdateIssueCommentPayload
- func (x *Mutation) GetUpdateNotificationRestrictionSetting() *UpdateNotificationRestrictionSettingPayload
- func (x *Mutation) GetUpdateOrganizationAllowPrivateRepositoryForkingSetting() *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
- func (x *Mutation) GetUpdateProject() *UpdateProjectPayload
- func (x *Mutation) GetUpdateProjectCard() *UpdateProjectCardPayload
- func (x *Mutation) GetUpdateProjectColumn() *UpdateProjectColumnPayload
- func (x *Mutation) GetUpdateProjectDraftIssue() *UpdateProjectDraftIssuePayload
- func (x *Mutation) GetUpdateProjectNext() *UpdateProjectNextPayload
- func (x *Mutation) GetUpdateProjectNextItemField() *UpdateProjectNextItemFieldPayload
- func (x *Mutation) GetUpdateProjectV2() *UpdateProjectV2Payload
- func (x *Mutation) GetUpdateProjectV2DraftIssue() *UpdateProjectV2DraftIssuePayload
- func (x *Mutation) GetUpdateProjectV2ItemFieldValue() *UpdateProjectV2ItemFieldValuePayload
- func (x *Mutation) GetUpdateProjectV2ItemPosition() *UpdateProjectV2ItemPositionPayload
- func (x *Mutation) GetUpdatePullRequest() *UpdatePullRequestPayload
- func (x *Mutation) GetUpdatePullRequestBranch() *UpdatePullRequestBranchPayload
- func (x *Mutation) GetUpdatePullRequestReview() *UpdatePullRequestReviewPayload
- func (x *Mutation) GetUpdatePullRequestReviewComment() *UpdatePullRequestReviewCommentPayload
- func (x *Mutation) GetUpdateRef() *UpdateRefPayload
- func (x *Mutation) GetUpdateRepository() *UpdateRepositoryPayload
- func (x *Mutation) GetUpdateSponsorshipPreferences() *UpdateSponsorshipPreferencesPayload
- func (x *Mutation) GetUpdateSubscription() *UpdateSubscriptionPayload
- func (x *Mutation) GetUpdateTeamDiscussion() *UpdateTeamDiscussionPayload
- func (x *Mutation) GetUpdateTeamDiscussionComment() *UpdateTeamDiscussionCommentPayload
- func (x *Mutation) GetUpdateTeamsRepository() *UpdateTeamsRepositoryPayload
- func (x *Mutation) GetUpdateTopics() *UpdateTopicsPayload
- func (x *Mutation) GetVerifyVerifiableDomain() *VerifyVerifiableDomainPayload
- type Node
- type Node_Interface
- type NotificationRestrictionSettingValue
- type OIDCProvider
- type OIDCProviderType
- type OauthApplicationAuditEntryData
- type OauthApplicationAuditEntryData_Interface
- type OauthApplicationCreateAuditEntry
- func (x *OauthApplicationCreateAuditEntry) GetAction() string
- func (x *OauthApplicationCreateAuditEntry) GetActor() AuditEntryActor
- func (x *OauthApplicationCreateAuditEntry) GetActorIp() string
- func (x *OauthApplicationCreateAuditEntry) GetActorLocation() *ActorLocation
- func (x *OauthApplicationCreateAuditEntry) GetActorLogin() string
- func (x *OauthApplicationCreateAuditEntry) GetActorResourcePath() URI
- func (x *OauthApplicationCreateAuditEntry) GetActorUrl() URI
- func (x *OauthApplicationCreateAuditEntry) GetApplicationUrl() URI
- func (x *OauthApplicationCreateAuditEntry) GetCallbackUrl() URI
- func (x *OauthApplicationCreateAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OauthApplicationCreateAuditEntry) GetId() ID
- func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationName() string
- func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath() URI
- func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationUrl() URI
- func (x *OauthApplicationCreateAuditEntry) GetOperationType() OperationType
- func (x *OauthApplicationCreateAuditEntry) GetOrganization() *Organization
- func (x *OauthApplicationCreateAuditEntry) GetOrganizationName() string
- func (x *OauthApplicationCreateAuditEntry) GetOrganizationResourcePath() URI
- func (x *OauthApplicationCreateAuditEntry) GetOrganizationUrl() URI
- func (x *OauthApplicationCreateAuditEntry) GetRateLimit() int
- func (x *OauthApplicationCreateAuditEntry) GetState() OauthApplicationCreateAuditEntryState
- func (x *OauthApplicationCreateAuditEntry) GetUser() *User
- func (x *OauthApplicationCreateAuditEntry) GetUserLogin() string
- func (x *OauthApplicationCreateAuditEntry) GetUserResourcePath() URI
- func (x *OauthApplicationCreateAuditEntry) GetUserUrl() URI
- type OauthApplicationCreateAuditEntryState
- type OperationType
- type OrderDirection
- type OrgAddBillingManagerAuditEntry
- func (x *OrgAddBillingManagerAuditEntry) GetAction() string
- func (x *OrgAddBillingManagerAuditEntry) GetActor() AuditEntryActor
- func (x *OrgAddBillingManagerAuditEntry) GetActorIp() string
- func (x *OrgAddBillingManagerAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgAddBillingManagerAuditEntry) GetActorLogin() string
- func (x *OrgAddBillingManagerAuditEntry) GetActorResourcePath() URI
- func (x *OrgAddBillingManagerAuditEntry) GetActorUrl() URI
- func (x *OrgAddBillingManagerAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgAddBillingManagerAuditEntry) GetId() ID
- func (x *OrgAddBillingManagerAuditEntry) GetInvitationEmail() string
- func (x *OrgAddBillingManagerAuditEntry) GetOperationType() OperationType
- func (x *OrgAddBillingManagerAuditEntry) GetOrganization() *Organization
- func (x *OrgAddBillingManagerAuditEntry) GetOrganizationName() string
- func (x *OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgAddBillingManagerAuditEntry) GetOrganizationUrl() URI
- func (x *OrgAddBillingManagerAuditEntry) GetUser() *User
- func (x *OrgAddBillingManagerAuditEntry) GetUserLogin() string
- func (x *OrgAddBillingManagerAuditEntry) GetUserResourcePath() URI
- func (x *OrgAddBillingManagerAuditEntry) GetUserUrl() URI
- type OrgAddMemberAuditEntry
- func (x *OrgAddMemberAuditEntry) GetAction() string
- func (x *OrgAddMemberAuditEntry) GetActor() AuditEntryActor
- func (x *OrgAddMemberAuditEntry) GetActorIp() string
- func (x *OrgAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgAddMemberAuditEntry) GetActorLogin() string
- func (x *OrgAddMemberAuditEntry) GetActorResourcePath() URI
- func (x *OrgAddMemberAuditEntry) GetActorUrl() URI
- func (x *OrgAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgAddMemberAuditEntry) GetId() ID
- func (x *OrgAddMemberAuditEntry) GetOperationType() OperationType
- func (x *OrgAddMemberAuditEntry) GetOrganization() *Organization
- func (x *OrgAddMemberAuditEntry) GetOrganizationName() string
- func (x *OrgAddMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgAddMemberAuditEntry) GetOrganizationUrl() URI
- func (x *OrgAddMemberAuditEntry) GetPermission() OrgAddMemberAuditEntryPermission
- func (x *OrgAddMemberAuditEntry) GetUser() *User
- func (x *OrgAddMemberAuditEntry) GetUserLogin() string
- func (x *OrgAddMemberAuditEntry) GetUserResourcePath() URI
- func (x *OrgAddMemberAuditEntry) GetUserUrl() URI
- type OrgAddMemberAuditEntryPermission
- type OrgBlockUserAuditEntry
- func (x *OrgBlockUserAuditEntry) GetAction() string
- func (x *OrgBlockUserAuditEntry) GetActor() AuditEntryActor
- func (x *OrgBlockUserAuditEntry) GetActorIp() string
- func (x *OrgBlockUserAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgBlockUserAuditEntry) GetActorLogin() string
- func (x *OrgBlockUserAuditEntry) GetActorResourcePath() URI
- func (x *OrgBlockUserAuditEntry) GetActorUrl() URI
- func (x *OrgBlockUserAuditEntry) GetBlockedUser() *User
- func (x *OrgBlockUserAuditEntry) GetBlockedUserName() string
- func (x *OrgBlockUserAuditEntry) GetBlockedUserResourcePath() URI
- func (x *OrgBlockUserAuditEntry) GetBlockedUserUrl() URI
- func (x *OrgBlockUserAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgBlockUserAuditEntry) GetId() ID
- func (x *OrgBlockUserAuditEntry) GetOperationType() OperationType
- func (x *OrgBlockUserAuditEntry) GetOrganization() *Organization
- func (x *OrgBlockUserAuditEntry) GetOrganizationName() string
- func (x *OrgBlockUserAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgBlockUserAuditEntry) GetOrganizationUrl() URI
- func (x *OrgBlockUserAuditEntry) GetUser() *User
- func (x *OrgBlockUserAuditEntry) GetUserLogin() string
- func (x *OrgBlockUserAuditEntry) GetUserResourcePath() URI
- func (x *OrgBlockUserAuditEntry) GetUserUrl() URI
- type OrgConfigDisableCollaboratorsOnlyAuditEntry
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp() string
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() string
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetId() ID
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() string
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
- type OrgConfigEnableCollaboratorsOnlyAuditEntry
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp() string
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() string
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetId() ID
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() string
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
- type OrgCreateAuditEntry
- func (x *OrgCreateAuditEntry) GetAction() string
- func (x *OrgCreateAuditEntry) GetActor() AuditEntryActor
- func (x *OrgCreateAuditEntry) GetActorIp() string
- func (x *OrgCreateAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgCreateAuditEntry) GetActorLogin() string
- func (x *OrgCreateAuditEntry) GetActorResourcePath() URI
- func (x *OrgCreateAuditEntry) GetActorUrl() URI
- func (x *OrgCreateAuditEntry) GetBillingPlan() OrgCreateAuditEntryBillingPlan
- func (x *OrgCreateAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgCreateAuditEntry) GetId() ID
- func (x *OrgCreateAuditEntry) GetOperationType() OperationType
- func (x *OrgCreateAuditEntry) GetOrganization() *Organization
- func (x *OrgCreateAuditEntry) GetOrganizationName() string
- func (x *OrgCreateAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgCreateAuditEntry) GetOrganizationUrl() URI
- func (x *OrgCreateAuditEntry) GetUser() *User
- func (x *OrgCreateAuditEntry) GetUserLogin() string
- func (x *OrgCreateAuditEntry) GetUserResourcePath() URI
- func (x *OrgCreateAuditEntry) GetUserUrl() URI
- type OrgCreateAuditEntryBillingPlan
- type OrgDisableOauthAppRestrictionsAuditEntry
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetAction() string
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorIp() string
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin() string
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath() URI
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorUrl() URI
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetId() ID
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType() OperationType
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName() string
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationUrl() URI
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUser() *User
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin() string
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath() URI
- func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserUrl() URI
- type OrgDisableSamlAuditEntry
- func (x *OrgDisableSamlAuditEntry) GetAction() string
- func (x *OrgDisableSamlAuditEntry) GetActor() AuditEntryActor
- func (x *OrgDisableSamlAuditEntry) GetActorIp() string
- func (x *OrgDisableSamlAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgDisableSamlAuditEntry) GetActorLogin() string
- func (x *OrgDisableSamlAuditEntry) GetActorResourcePath() URI
- func (x *OrgDisableSamlAuditEntry) GetActorUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgDisableSamlAuditEntry) GetDigestMethodUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetId() ID
- func (x *OrgDisableSamlAuditEntry) GetIssuerUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetOperationType() OperationType
- func (x *OrgDisableSamlAuditEntry) GetOrganization() *Organization
- func (x *OrgDisableSamlAuditEntry) GetOrganizationName() string
- func (x *OrgDisableSamlAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgDisableSamlAuditEntry) GetOrganizationUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetSignatureMethodUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetSingleSignOnUrl() URI
- func (x *OrgDisableSamlAuditEntry) GetUser() *User
- func (x *OrgDisableSamlAuditEntry) GetUserLogin() string
- func (x *OrgDisableSamlAuditEntry) GetUserResourcePath() URI
- func (x *OrgDisableSamlAuditEntry) GetUserUrl() URI
- type OrgDisableTwoFactorRequirementAuditEntry
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetAction() string
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorIp() string
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin() string
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath() URI
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorUrl() URI
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetId() ID
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOperationType() OperationType
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName() string
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationUrl() URI
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUser() *User
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin() string
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath() URI
- func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserUrl() URI
- type OrgEnableOauthAppRestrictionsAuditEntry
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetAction() string
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorIp() string
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin() string
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath() URI
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorUrl() URI
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetId() ID
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType() OperationType
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName() string
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationUrl() URI
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUser() *User
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin() string
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath() URI
- func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserUrl() URI
- type OrgEnableSamlAuditEntry
- func (x *OrgEnableSamlAuditEntry) GetAction() string
- func (x *OrgEnableSamlAuditEntry) GetActor() AuditEntryActor
- func (x *OrgEnableSamlAuditEntry) GetActorIp() string
- func (x *OrgEnableSamlAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgEnableSamlAuditEntry) GetActorLogin() string
- func (x *OrgEnableSamlAuditEntry) GetActorResourcePath() URI
- func (x *OrgEnableSamlAuditEntry) GetActorUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgEnableSamlAuditEntry) GetDigestMethodUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetId() ID
- func (x *OrgEnableSamlAuditEntry) GetIssuerUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetOperationType() OperationType
- func (x *OrgEnableSamlAuditEntry) GetOrganization() *Organization
- func (x *OrgEnableSamlAuditEntry) GetOrganizationName() string
- func (x *OrgEnableSamlAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgEnableSamlAuditEntry) GetOrganizationUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetSignatureMethodUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetSingleSignOnUrl() URI
- func (x *OrgEnableSamlAuditEntry) GetUser() *User
- func (x *OrgEnableSamlAuditEntry) GetUserLogin() string
- func (x *OrgEnableSamlAuditEntry) GetUserResourcePath() URI
- func (x *OrgEnableSamlAuditEntry) GetUserUrl() URI
- type OrgEnableTwoFactorRequirementAuditEntry
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetAction() string
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorIp() string
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin() string
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath() URI
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorUrl() URI
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetId() ID
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOperationType() OperationType
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName() string
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationUrl() URI
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUser() *User
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin() string
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath() URI
- func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserUrl() URI
- type OrgEnterpriseOwnerOrder
- type OrgEnterpriseOwnerOrderField
- type OrgInviteMemberAuditEntry
- func (x *OrgInviteMemberAuditEntry) GetAction() string
- func (x *OrgInviteMemberAuditEntry) GetActor() AuditEntryActor
- func (x *OrgInviteMemberAuditEntry) GetActorIp() string
- func (x *OrgInviteMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgInviteMemberAuditEntry) GetActorLogin() string
- func (x *OrgInviteMemberAuditEntry) GetActorResourcePath() URI
- func (x *OrgInviteMemberAuditEntry) GetActorUrl() URI
- func (x *OrgInviteMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgInviteMemberAuditEntry) GetEmail() string
- func (x *OrgInviteMemberAuditEntry) GetId() ID
- func (x *OrgInviteMemberAuditEntry) GetOperationType() OperationType
- func (x *OrgInviteMemberAuditEntry) GetOrganization() *Organization
- func (x *OrgInviteMemberAuditEntry) GetOrganizationInvitation() *OrganizationInvitation
- func (x *OrgInviteMemberAuditEntry) GetOrganizationName() string
- func (x *OrgInviteMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgInviteMemberAuditEntry) GetOrganizationUrl() URI
- func (x *OrgInviteMemberAuditEntry) GetUser() *User
- func (x *OrgInviteMemberAuditEntry) GetUserLogin() string
- func (x *OrgInviteMemberAuditEntry) GetUserResourcePath() URI
- func (x *OrgInviteMemberAuditEntry) GetUserUrl() URI
- type OrgInviteToBusinessAuditEntry
- func (x *OrgInviteToBusinessAuditEntry) GetAction() string
- func (x *OrgInviteToBusinessAuditEntry) GetActor() AuditEntryActor
- func (x *OrgInviteToBusinessAuditEntry) GetActorIp() string
- func (x *OrgInviteToBusinessAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgInviteToBusinessAuditEntry) GetActorLogin() string
- func (x *OrgInviteToBusinessAuditEntry) GetActorResourcePath() URI
- func (x *OrgInviteToBusinessAuditEntry) GetActorUrl() URI
- func (x *OrgInviteToBusinessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath() URI
- func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseSlug() string
- func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseUrl() URI
- func (x *OrgInviteToBusinessAuditEntry) GetId() ID
- func (x *OrgInviteToBusinessAuditEntry) GetOperationType() OperationType
- func (x *OrgInviteToBusinessAuditEntry) GetOrganization() *Organization
- func (x *OrgInviteToBusinessAuditEntry) GetOrganizationName() string
- func (x *OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgInviteToBusinessAuditEntry) GetOrganizationUrl() URI
- func (x *OrgInviteToBusinessAuditEntry) GetUser() *User
- func (x *OrgInviteToBusinessAuditEntry) GetUserLogin() string
- func (x *OrgInviteToBusinessAuditEntry) GetUserResourcePath() URI
- func (x *OrgInviteToBusinessAuditEntry) GetUserUrl() URI
- type OrgOauthAppAccessApprovedAuditEntry
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetAction() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActor() AuditEntryActor
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorIp() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorLogin() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorUrl() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetId() ID
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationUrl() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOperationType() OperationType
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganization() *Organization
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationUrl() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetUser() *User
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserLogin() string
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath() URI
- func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserUrl() URI
- type OrgOauthAppAccessDeniedAuditEntry
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetAction() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActor() AuditEntryActor
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorIp() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorLogin() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorUrl() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetId() ID
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationUrl() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOperationType() OperationType
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganization() *Organization
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationUrl() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetUser() *User
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserLogin() string
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath() URI
- func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserUrl() URI
- type OrgOauthAppAccessRequestedAuditEntry
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetAction() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActor() AuditEntryActor
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorIp() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorLogin() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorUrl() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetId() ID
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationUrl() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOperationType() OperationType
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganization() *Organization
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationUrl() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetUser() *User
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserLogin() string
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath() URI
- func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserUrl() URI
- type OrgRemoveBillingManagerAuditEntry
- func (x *OrgRemoveBillingManagerAuditEntry) GetAction() string
- func (x *OrgRemoveBillingManagerAuditEntry) GetActor() AuditEntryActor
- func (x *OrgRemoveBillingManagerAuditEntry) GetActorIp() string
- func (x *OrgRemoveBillingManagerAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgRemoveBillingManagerAuditEntry) GetActorLogin() string
- func (x *OrgRemoveBillingManagerAuditEntry) GetActorResourcePath() URI
- func (x *OrgRemoveBillingManagerAuditEntry) GetActorUrl() URI
- func (x *OrgRemoveBillingManagerAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgRemoveBillingManagerAuditEntry) GetId() ID
- func (x *OrgRemoveBillingManagerAuditEntry) GetOperationType() OperationType
- func (x *OrgRemoveBillingManagerAuditEntry) GetOrganization() *Organization
- func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationName() string
- func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationUrl() URI
- func (x *OrgRemoveBillingManagerAuditEntry) GetReason() OrgRemoveBillingManagerAuditEntryReason
- func (x *OrgRemoveBillingManagerAuditEntry) GetUser() *User
- func (x *OrgRemoveBillingManagerAuditEntry) GetUserLogin() string
- func (x *OrgRemoveBillingManagerAuditEntry) GetUserResourcePath() URI
- func (x *OrgRemoveBillingManagerAuditEntry) GetUserUrl() URI
- type OrgRemoveBillingManagerAuditEntryReason
- type OrgRemoveMemberAuditEntry
- func (x *OrgRemoveMemberAuditEntry) GetAction() string
- func (x *OrgRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (x *OrgRemoveMemberAuditEntry) GetActorIp() string
- func (x *OrgRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgRemoveMemberAuditEntry) GetActorLogin() string
- func (x *OrgRemoveMemberAuditEntry) GetActorResourcePath() URI
- func (x *OrgRemoveMemberAuditEntry) GetActorUrl() URI
- func (x *OrgRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgRemoveMemberAuditEntry) GetId() ID
- func (x *OrgRemoveMemberAuditEntry) GetMembershipTypes() []OrgRemoveMemberAuditEntryMembershipType
- func (x *OrgRemoveMemberAuditEntry) GetOperationType() OperationType
- func (x *OrgRemoveMemberAuditEntry) GetOrganization() *Organization
- func (x *OrgRemoveMemberAuditEntry) GetOrganizationName() string
- func (x *OrgRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgRemoveMemberAuditEntry) GetOrganizationUrl() URI
- func (x *OrgRemoveMemberAuditEntry) GetReason() OrgRemoveMemberAuditEntryReason
- func (x *OrgRemoveMemberAuditEntry) GetUser() *User
- func (x *OrgRemoveMemberAuditEntry) GetUserLogin() string
- func (x *OrgRemoveMemberAuditEntry) GetUserResourcePath() URI
- func (x *OrgRemoveMemberAuditEntry) GetUserUrl() URI
- type OrgRemoveMemberAuditEntryMembershipType
- type OrgRemoveMemberAuditEntryReason
- type OrgRemoveOutsideCollaboratorAuditEntry
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetAction() string
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActor() AuditEntryActor
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorIp() string
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin() string
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath() URI
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorUrl() URI
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetId() ID
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetMembershipTypes() []OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType() OperationType
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization() *Organization
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName() string
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationUrl() URI
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetReason() OrgRemoveOutsideCollaboratorAuditEntryReason
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUser() *User
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin() string
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath() URI
- func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserUrl() URI
- type OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- type OrgRemoveOutsideCollaboratorAuditEntryReason
- type OrgRestoreMemberAuditEntry
- func (x *OrgRestoreMemberAuditEntry) GetAction() string
- func (x *OrgRestoreMemberAuditEntry) GetActor() AuditEntryActor
- func (x *OrgRestoreMemberAuditEntry) GetActorIp() string
- func (x *OrgRestoreMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgRestoreMemberAuditEntry) GetActorLogin() string
- func (x *OrgRestoreMemberAuditEntry) GetActorResourcePath() URI
- func (x *OrgRestoreMemberAuditEntry) GetActorUrl() URI
- func (x *OrgRestoreMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgRestoreMemberAuditEntry) GetId() ID
- func (x *OrgRestoreMemberAuditEntry) GetOperationType() OperationType
- func (x *OrgRestoreMemberAuditEntry) GetOrganization() *Organization
- func (x *OrgRestoreMemberAuditEntry) GetOrganizationName() string
- func (x *OrgRestoreMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgRestoreMemberAuditEntry) GetOrganizationUrl() URI
- func (x *OrgRestoreMemberAuditEntry) GetRestoredCustomEmailRoutingsCount() int
- func (x *OrgRestoreMemberAuditEntry) GetRestoredIssueAssignmentsCount() int
- func (x *OrgRestoreMemberAuditEntry) GetRestoredMemberships() []OrgRestoreMemberAuditEntryMembership
- func (x *OrgRestoreMemberAuditEntry) GetRestoredMembershipsCount() int
- func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoriesCount() int
- func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoryStarsCount() int
- func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoryWatchesCount() int
- func (x *OrgRestoreMemberAuditEntry) GetUser() *User
- func (x *OrgRestoreMemberAuditEntry) GetUserLogin() string
- func (x *OrgRestoreMemberAuditEntry) GetUserResourcePath() URI
- func (x *OrgRestoreMemberAuditEntry) GetUserUrl() URI
- type OrgRestoreMemberAuditEntryMembership
- type OrgRestoreMemberAuditEntryMembership_Interface
- type OrgRestoreMemberMembershipOrganizationAuditEntryData
- func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization() *Organization
- func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName() string
- func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath() URI
- func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationUrl() URI
- type OrgRestoreMemberMembershipRepositoryAuditEntryData
- func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository() *Repository
- func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName() string
- func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath() URI
- func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryUrl() URI
- type OrgRestoreMemberMembershipTeamAuditEntryData
- type OrgUnblockUserAuditEntry
- func (x *OrgUnblockUserAuditEntry) GetAction() string
- func (x *OrgUnblockUserAuditEntry) GetActor() AuditEntryActor
- func (x *OrgUnblockUserAuditEntry) GetActorIp() string
- func (x *OrgUnblockUserAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgUnblockUserAuditEntry) GetActorLogin() string
- func (x *OrgUnblockUserAuditEntry) GetActorResourcePath() URI
- func (x *OrgUnblockUserAuditEntry) GetActorUrl() URI
- func (x *OrgUnblockUserAuditEntry) GetBlockedUser() *User
- func (x *OrgUnblockUserAuditEntry) GetBlockedUserName() string
- func (x *OrgUnblockUserAuditEntry) GetBlockedUserResourcePath() URI
- func (x *OrgUnblockUserAuditEntry) GetBlockedUserUrl() URI
- func (x *OrgUnblockUserAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgUnblockUserAuditEntry) GetId() ID
- func (x *OrgUnblockUserAuditEntry) GetOperationType() OperationType
- func (x *OrgUnblockUserAuditEntry) GetOrganization() *Organization
- func (x *OrgUnblockUserAuditEntry) GetOrganizationName() string
- func (x *OrgUnblockUserAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgUnblockUserAuditEntry) GetOrganizationUrl() URI
- func (x *OrgUnblockUserAuditEntry) GetUser() *User
- func (x *OrgUnblockUserAuditEntry) GetUserLogin() string
- func (x *OrgUnblockUserAuditEntry) GetUserResourcePath() URI
- func (x *OrgUnblockUserAuditEntry) GetUserUrl() URI
- type OrgUpdateDefaultRepositoryPermissionAuditEntry
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction() string
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor() AuditEntryActor
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIp() string
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin() string
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath() URI
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorUrl() URI
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetId() ID
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType() OperationType
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization() *Organization
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName() string
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationUrl() URI
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermission() OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermissionWas() OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser() *User
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin() string
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath() URI
- func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserUrl() URI
- type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- type OrgUpdateMemberAuditEntry
- func (x *OrgUpdateMemberAuditEntry) GetAction() string
- func (x *OrgUpdateMemberAuditEntry) GetActor() AuditEntryActor
- func (x *OrgUpdateMemberAuditEntry) GetActorIp() string
- func (x *OrgUpdateMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgUpdateMemberAuditEntry) GetActorLogin() string
- func (x *OrgUpdateMemberAuditEntry) GetActorResourcePath() URI
- func (x *OrgUpdateMemberAuditEntry) GetActorUrl() URI
- func (x *OrgUpdateMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgUpdateMemberAuditEntry) GetId() ID
- func (x *OrgUpdateMemberAuditEntry) GetOperationType() OperationType
- func (x *OrgUpdateMemberAuditEntry) GetOrganization() *Organization
- func (x *OrgUpdateMemberAuditEntry) GetOrganizationName() string
- func (x *OrgUpdateMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgUpdateMemberAuditEntry) GetOrganizationUrl() URI
- func (x *OrgUpdateMemberAuditEntry) GetPermission() OrgUpdateMemberAuditEntryPermission
- func (x *OrgUpdateMemberAuditEntry) GetPermissionWas() OrgUpdateMemberAuditEntryPermission
- func (x *OrgUpdateMemberAuditEntry) GetUser() *User
- func (x *OrgUpdateMemberAuditEntry) GetUserLogin() string
- func (x *OrgUpdateMemberAuditEntry) GetUserResourcePath() URI
- func (x *OrgUpdateMemberAuditEntry) GetUserUrl() URI
- type OrgUpdateMemberAuditEntryPermission
- type OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction() string
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor() AuditEntryActor
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIp() string
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin() string
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorUrl() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCanCreateRepositories() bool
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetId() ID
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType() OperationType
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization() *Organization
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName() string
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationUrl() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser() *User
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin() string
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserUrl() URI
- func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetVisibility() OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction() string
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor() AuditEntryActor
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIp() string
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin() string
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath() URI
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorUrl() URI
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCanInviteOutsideCollaboratorsToRepositories() bool
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetId() ID
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType() OperationType
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization() *Organization
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName() string
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath() URI
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationUrl() URI
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser() *User
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin() string
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath() URI
- func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserUrl() URI
- type Organization
- func (x *Organization) GetAnyPinnableItems() bool
- func (x *Organization) GetAuditLog() *OrganizationAuditEntryConnection
- func (x *Organization) GetAvatarUrl() URI
- func (x *Organization) GetCreatedAt() DateTime
- func (x *Organization) GetDatabaseId() int
- func (x *Organization) GetDescription() string
- func (x *Organization) GetDescriptionHTML() string
- func (x *Organization) GetDomains() *VerifiableDomainConnection
- func (x *Organization) GetEmail() string
- func (x *Organization) GetEnterpriseOwners() *OrganizationEnterpriseOwnerConnection
- func (x *Organization) GetEstimatedNextSponsorsPayoutInCents() int
- func (x *Organization) GetHasSponsorsListing() bool
- func (x *Organization) GetId() ID
- func (x *Organization) GetInteractionAbility() *RepositoryInteractionAbility
- func (x *Organization) GetIpAllowListEnabledSetting() IpAllowListEnabledSettingValue
- func (x *Organization) GetIpAllowListEntries() *IpAllowListEntryConnection
- func (x *Organization) GetIpAllowListForInstalledAppsEnabledSetting() IpAllowListForInstalledAppsEnabledSettingValue
- func (x *Organization) GetIsSponsoredBy() bool
- func (x *Organization) GetIsSponsoringViewer() bool
- func (x *Organization) GetIsVerified() bool
- func (x *Organization) GetItemShowcase() *ProfileItemShowcase
- func (x *Organization) GetLocation() string
- func (x *Organization) GetLogin() string
- func (x *Organization) GetMemberStatuses() *UserStatusConnection
- func (x *Organization) GetMembersCanForkPrivateRepositories() bool
- func (x *Organization) GetMembersWithRole() *OrganizationMemberConnection
- func (x *Organization) GetMonthlyEstimatedSponsorsIncomeInCents() int
- func (x *Organization) GetName() string
- func (x *Organization) GetNewTeamResourcePath() URI
- func (x *Organization) GetNewTeamUrl() URI
- func (x *Organization) GetNotificationDeliveryRestrictionEnabledSetting() NotificationRestrictionSettingValue
- func (x *Organization) GetOrganizationBillingEmail() string
- func (x *Organization) GetPackages() *PackageConnection
- func (x *Organization) GetPendingMembers() *UserConnection
- func (x *Organization) GetPinnableItems() *PinnableItemConnection
- func (x *Organization) GetPinnedItems() *PinnableItemConnection
- func (x *Organization) GetPinnedItemsRemaining() int
- func (x *Organization) GetProject() *Project
- func (x *Organization) GetProjectNext() *ProjectNext
- func (x *Organization) GetProjectV2() *ProjectV2
- func (x *Organization) GetProjects() *ProjectConnection
- func (x *Organization) GetProjectsNext() *ProjectNextConnection
- func (x *Organization) GetProjectsResourcePath() URI
- func (x *Organization) GetProjectsUrl() URI
- func (x *Organization) GetProjectsV2() *ProjectV2Connection
- func (x *Organization) GetRecentProjects() *ProjectV2Connection
- func (x *Organization) GetRepositories() *RepositoryConnection
- func (x *Organization) GetRepository() *Repository
- func (x *Organization) GetRepositoryDiscussionComments() *DiscussionCommentConnection
- func (x *Organization) GetRepositoryDiscussions() *DiscussionConnection
- func (x *Organization) GetRepositoryMigrations() *RepositoryMigrationConnection
- func (x *Organization) GetRequiresTwoFactorAuthentication() bool
- func (x *Organization) GetResourcePath() URI
- func (x *Organization) GetSamlIdentityProvider() *OrganizationIdentityProvider
- func (x *Organization) GetSponsoring() *SponsorConnection
- func (x *Organization) GetSponsors() *SponsorConnection
- func (x *Organization) GetSponsorsActivities() *SponsorsActivityConnection
- func (x *Organization) GetSponsorsListing() *SponsorsListing
- func (x *Organization) GetSponsorshipForViewerAsSponsor() *Sponsorship
- func (x *Organization) GetSponsorshipForViewerAsSponsorable() *Sponsorship
- func (x *Organization) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
- func (x *Organization) GetSponsorshipsAsMaintainer() *SponsorshipConnection
- func (x *Organization) GetSponsorshipsAsSponsor() *SponsorshipConnection
- func (x *Organization) GetTeam() *Team
- func (x *Organization) GetTeams() *TeamConnection
- func (x *Organization) GetTeamsResourcePath() URI
- func (x *Organization) GetTeamsUrl() URI
- func (x *Organization) GetTwitterUsername() string
- func (x *Organization) GetUpdatedAt() DateTime
- func (x *Organization) GetUrl() URI
- func (x *Organization) GetViewerCanAdminister() bool
- func (x *Organization) GetViewerCanChangePinnedItems() bool
- func (x *Organization) GetViewerCanCreateProjects() bool
- func (x *Organization) GetViewerCanCreateRepositories() bool
- func (x *Organization) GetViewerCanCreateTeams() bool
- func (x *Organization) GetViewerCanSponsor() bool
- func (x *Organization) GetViewerIsAMember() bool
- func (x *Organization) GetViewerIsFollowing() bool
- func (x *Organization) GetViewerIsSponsoring() bool
- func (x *Organization) GetWebsiteUrl() URI
- type OrganizationAuditEntry
- type OrganizationAuditEntryConnection
- type OrganizationAuditEntryData
- type OrganizationAuditEntryData_Interface
- type OrganizationAuditEntryEdge
- type OrganizationAuditEntry_Interface
- type OrganizationConnection
- type OrganizationEdge
- type OrganizationEnterpriseOwnerConnection
- func (x *OrganizationEnterpriseOwnerConnection) GetEdges() []*OrganizationEnterpriseOwnerEdge
- func (x *OrganizationEnterpriseOwnerConnection) GetNodes() []*User
- func (x *OrganizationEnterpriseOwnerConnection) GetPageInfo() *PageInfo
- func (x *OrganizationEnterpriseOwnerConnection) GetTotalCount() int
- type OrganizationEnterpriseOwnerEdge
- type OrganizationIdentityProvider
- func (x *OrganizationIdentityProvider) GetDigestMethod() URI
- func (x *OrganizationIdentityProvider) GetExternalIdentities() *ExternalIdentityConnection
- func (x *OrganizationIdentityProvider) GetId() ID
- func (x *OrganizationIdentityProvider) GetIdpCertificate() X509Certificate
- func (x *OrganizationIdentityProvider) GetIssuer() string
- func (x *OrganizationIdentityProvider) GetOrganization() *Organization
- func (x *OrganizationIdentityProvider) GetSignatureMethod() URI
- func (x *OrganizationIdentityProvider) GetSsoUrl() URI
- type OrganizationInvitation
- func (x *OrganizationInvitation) GetCreatedAt() DateTime
- func (x *OrganizationInvitation) GetEmail() string
- func (x *OrganizationInvitation) GetId() ID
- func (x *OrganizationInvitation) GetInvitationType() OrganizationInvitationType
- func (x *OrganizationInvitation) GetInvitee() *User
- func (x *OrganizationInvitation) GetInviter() *User
- func (x *OrganizationInvitation) GetOrganization() *Organization
- func (x *OrganizationInvitation) GetRole() OrganizationInvitationRole
- type OrganizationInvitationConnection
- type OrganizationInvitationEdge
- type OrganizationInvitationRole
- type OrganizationInvitationType
- type OrganizationMemberConnection
- type OrganizationMemberEdge
- type OrganizationMemberRole
- type OrganizationMembersCanCreateRepositoriesSettingValue
- type OrganizationOrUser
- type OrganizationOrUser_Interface
- type OrganizationOrder
- type OrganizationOrderField
- type OrganizationTeamsHovercardContext
- func (x *OrganizationTeamsHovercardContext) GetMessage() string
- func (x *OrganizationTeamsHovercardContext) GetOcticon() string
- func (x *OrganizationTeamsHovercardContext) GetRelevantTeams() *TeamConnection
- func (x *OrganizationTeamsHovercardContext) GetTeamsResourcePath() URI
- func (x *OrganizationTeamsHovercardContext) GetTeamsUrl() URI
- func (x *OrganizationTeamsHovercardContext) GetTotalTeamCount() int
- type OrganizationsHovercardContext
- type Package
- func (x *Package) GetId() ID
- func (x *Package) GetLatestVersion() *PackageVersion
- func (x *Package) GetName() string
- func (x *Package) GetPackageType() PackageType
- func (x *Package) GetRepository() *Repository
- func (x *Package) GetStatistics() *PackageStatistics
- func (x *Package) GetVersion() *PackageVersion
- func (x *Package) GetVersions() *PackageVersionConnection
- type PackageConnection
- type PackageEdge
- type PackageFile
- func (x *PackageFile) GetId() ID
- func (x *PackageFile) GetMd5() string
- func (x *PackageFile) GetName() string
- func (x *PackageFile) GetPackageVersion() *PackageVersion
- func (x *PackageFile) GetSha1() string
- func (x *PackageFile) GetSha256() string
- func (x *PackageFile) GetSize() int
- func (x *PackageFile) GetUpdatedAt() DateTime
- func (x *PackageFile) GetUrl() URI
- type PackageFileConnection
- type PackageFileEdge
- type PackageFileOrder
- type PackageFileOrderField
- type PackageOrder
- type PackageOrderField
- type PackageOwner
- type PackageOwner_Interface
- type PackageStatistics
- type PackageTag
- type PackageType
- type PackageVersion
- func (x *PackageVersion) GetFiles() *PackageFileConnection
- func (x *PackageVersion) GetId() ID
- func (x *PackageVersion) GetPackage() *Package
- func (x *PackageVersion) GetPlatform() string
- func (x *PackageVersion) GetPreRelease() bool
- func (x *PackageVersion) GetReadme() string
- func (x *PackageVersion) GetRelease() *Release
- func (x *PackageVersion) GetStatistics() *PackageVersionStatistics
- func (x *PackageVersion) GetSummary() string
- func (x *PackageVersion) GetVersion() string
- type PackageVersionConnection
- type PackageVersionEdge
- type PackageVersionOrder
- type PackageVersionOrderField
- type PackageVersionStatistics
- type PageInfo
- type PatchStatus
- type PermissionGranter
- type PermissionGranter_Interface
- type PermissionSource
- type PinIssueInput
- type PinIssuePayload
- type PinnableItem
- type PinnableItemConnection
- type PinnableItemEdge
- type PinnableItemType
- type PinnableItem_Interface
- type PinnedDiscussion
- func (x *PinnedDiscussion) GetCreatedAt() DateTime
- func (x *PinnedDiscussion) GetDatabaseId() int
- func (x *PinnedDiscussion) GetDiscussion() *Discussion
- func (x *PinnedDiscussion) GetGradientStopColors() []string
- func (x *PinnedDiscussion) GetId() ID
- func (x *PinnedDiscussion) GetPattern() PinnedDiscussionPattern
- func (x *PinnedDiscussion) GetPinnedBy() Actor
- func (x *PinnedDiscussion) GetPreconfiguredGradient() PinnedDiscussionGradient
- func (x *PinnedDiscussion) GetRepository() *Repository
- func (x *PinnedDiscussion) GetUpdatedAt() DateTime
- type PinnedDiscussionConnection
- type PinnedDiscussionEdge
- type PinnedDiscussionGradient
- type PinnedDiscussionPattern
- type PinnedEvent
- type PinnedIssue
- type PinnedIssueConnection
- type PinnedIssueEdge
- type PreciseDateTime
- type PrivateRepositoryForkingDisableAuditEntry
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetAction() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActor() AuditEntryActor
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorIp() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorLocation() *ActorLocation
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorLogin() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorUrl() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseUrl() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetId() ID
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetOperationType() OperationType
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganization() *Organization
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationUrl() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepository() *Repository
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryUrl() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetUser() *User
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserLogin() string
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath() URI
- func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserUrl() URI
- type PrivateRepositoryForkingEnableAuditEntry
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetAction() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActor() AuditEntryActor
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorIp() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorLocation() *ActorLocation
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorLogin() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorUrl() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseUrl() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetId() ID
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetOperationType() OperationType
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganization() *Organization
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationUrl() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepository() *Repository
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryUrl() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetUser() *User
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserLogin() string
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath() URI
- func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserUrl() URI
- type ProfileItemShowcase
- type ProfileOwner
- type ProfileOwner_Interface
- type Project
- func (x *Project) GetBody() string
- func (x *Project) GetBodyHTML() template.HTML
- func (x *Project) GetClosed() bool
- func (x *Project) GetClosedAt() DateTime
- func (x *Project) GetColumns() *ProjectColumnConnection
- func (x *Project) GetCreatedAt() DateTime
- func (x *Project) GetCreator() Actor
- func (x *Project) GetDatabaseId() int
- func (x *Project) GetId() ID
- func (x *Project) GetName() string
- func (x *Project) GetNumber() int
- func (x *Project) GetOwner() ProjectOwner
- func (x *Project) GetPendingCards() *ProjectCardConnection
- func (x *Project) GetProgress() *ProjectProgress
- func (x *Project) GetResourcePath() URI
- func (x *Project) GetState() ProjectState
- func (x *Project) GetUpdatedAt() DateTime
- func (x *Project) GetUrl() URI
- func (x *Project) GetViewerCanUpdate() bool
- type ProjectCard
- func (x *ProjectCard) GetColumn() *ProjectColumn
- func (x *ProjectCard) GetContent() ProjectCardItem
- func (x *ProjectCard) GetCreatedAt() DateTime
- func (x *ProjectCard) GetCreator() Actor
- func (x *ProjectCard) GetDatabaseId() int
- func (x *ProjectCard) GetId() ID
- func (x *ProjectCard) GetIsArchived() bool
- func (x *ProjectCard) GetNote() string
- func (x *ProjectCard) GetProject() *Project
- func (x *ProjectCard) GetResourcePath() URI
- func (x *ProjectCard) GetState() ProjectCardState
- func (x *ProjectCard) GetUpdatedAt() DateTime
- func (x *ProjectCard) GetUrl() URI
- type ProjectCardArchivedState
- type ProjectCardConnection
- type ProjectCardEdge
- type ProjectCardItem
- type ProjectCardItem_Interface
- type ProjectCardState
- type ProjectColumn
- func (x *ProjectColumn) GetCards() *ProjectCardConnection
- func (x *ProjectColumn) GetCreatedAt() DateTime
- func (x *ProjectColumn) GetDatabaseId() int
- func (x *ProjectColumn) GetId() ID
- func (x *ProjectColumn) GetName() string
- func (x *ProjectColumn) GetProject() *Project
- func (x *ProjectColumn) GetPurpose() ProjectColumnPurpose
- func (x *ProjectColumn) GetResourcePath() URI
- func (x *ProjectColumn) GetUpdatedAt() DateTime
- func (x *ProjectColumn) GetUrl() URI
- type ProjectColumnConnection
- type ProjectColumnEdge
- type ProjectColumnPurpose
- type ProjectConnection
- type ProjectEdge
- type ProjectItemType
- type ProjectNext
- func (x *ProjectNext) GetClosed() bool
- func (x *ProjectNext) GetClosedAt() DateTime
- func (x *ProjectNext) GetCreatedAt() DateTime
- func (x *ProjectNext) GetCreator() Actor
- func (x *ProjectNext) GetDatabaseId() int
- func (x *ProjectNext) GetDescription() string
- func (x *ProjectNext) GetFields() *ProjectNextFieldConnection
- func (x *ProjectNext) GetId() ID
- func (x *ProjectNext) GetItems() *ProjectNextItemConnection
- func (x *ProjectNext) GetNumber() int
- func (x *ProjectNext) GetOwner() ProjectNextOwner
- func (x *ProjectNext) GetPublic() bool
- func (x *ProjectNext) GetRepositories() *RepositoryConnection
- func (x *ProjectNext) GetResourcePath() URI
- func (x *ProjectNext) GetShortDescription() string
- func (x *ProjectNext) GetTitle() string
- func (x *ProjectNext) GetUpdatedAt() DateTime
- func (x *ProjectNext) GetUrl() URI
- func (x *ProjectNext) GetViewerCanUpdate() bool
- func (x *ProjectNext) GetViews() *ProjectViewConnection
- type ProjectNextConnection
- type ProjectNextEdge
- type ProjectNextField
- func (x *ProjectNextField) GetCreatedAt() DateTime
- func (x *ProjectNextField) GetDataType() ProjectNextFieldType
- func (x *ProjectNextField) GetDatabaseId() int
- func (x *ProjectNextField) GetId() ID
- func (x *ProjectNextField) GetName() string
- func (x *ProjectNextField) GetProject() *ProjectNext
- func (x *ProjectNextField) GetSettings() string
- func (x *ProjectNextField) GetUpdatedAt() DateTime
- type ProjectNextFieldCommon
- type ProjectNextFieldCommon_Interface
- type ProjectNextFieldConnection
- type ProjectNextFieldEdge
- type ProjectNextFieldType
- type ProjectNextItem
- func (x *ProjectNextItem) GetContent() ProjectNextItemContent
- func (x *ProjectNextItem) GetCreatedAt() DateTime
- func (x *ProjectNextItem) GetCreator() Actor
- func (x *ProjectNextItem) GetDatabaseId() int
- func (x *ProjectNextItem) GetFieldValues() *ProjectNextItemFieldValueConnection
- func (x *ProjectNextItem) GetId() ID
- func (x *ProjectNextItem) GetIsArchived() bool
- func (x *ProjectNextItem) GetProject() *ProjectNext
- func (x *ProjectNextItem) GetTitle() string
- func (x *ProjectNextItem) GetType() ProjectItemType
- func (x *ProjectNextItem) GetUpdatedAt() DateTime
- type ProjectNextItemConnection
- type ProjectNextItemContent
- type ProjectNextItemContent_Interface
- type ProjectNextItemEdge
- type ProjectNextItemFieldValue
- func (x *ProjectNextItemFieldValue) GetCreatedAt() DateTime
- func (x *ProjectNextItemFieldValue) GetCreator() Actor
- func (x *ProjectNextItemFieldValue) GetDatabaseId() int
- func (x *ProjectNextItemFieldValue) GetId() ID
- func (x *ProjectNextItemFieldValue) GetProjectField() *ProjectNextField
- func (x *ProjectNextItemFieldValue) GetProjectItem() *ProjectNextItem
- func (x *ProjectNextItemFieldValue) GetUpdatedAt() DateTime
- func (x *ProjectNextItemFieldValue) GetValue() string
- type ProjectNextItemFieldValueConnection
- func (x *ProjectNextItemFieldValueConnection) GetEdges() []*ProjectNextItemFieldValueEdge
- func (x *ProjectNextItemFieldValueConnection) GetNodes() []*ProjectNextItemFieldValue
- func (x *ProjectNextItemFieldValueConnection) GetPageInfo() *PageInfo
- func (x *ProjectNextItemFieldValueConnection) GetTotalCount() int
- type ProjectNextItemFieldValueEdge
- type ProjectNextOrderField
- type ProjectNextOwner
- type ProjectNextOwner_Interface
- type ProjectOrder
- type ProjectOrderField
- type ProjectOwner
- type ProjectOwner_Interface
- type ProjectProgress
- func (x *ProjectProgress) GetDoneCount() int
- func (x *ProjectProgress) GetDonePercentage() float64
- func (x *ProjectProgress) GetEnabled() bool
- func (x *ProjectProgress) GetInProgressCount() int
- func (x *ProjectProgress) GetInProgressPercentage() float64
- func (x *ProjectProgress) GetTodoCount() int
- func (x *ProjectProgress) GetTodoPercentage() float64
- type ProjectState
- type ProjectTemplate
- type ProjectV2
- func (x *ProjectV2) GetClosed() bool
- func (x *ProjectV2) GetClosedAt() DateTime
- func (x *ProjectV2) GetCreatedAt() DateTime
- func (x *ProjectV2) GetCreator() Actor
- func (x *ProjectV2) GetDatabaseId() int
- func (x *ProjectV2) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2) GetFields() *ProjectV2FieldConfigurationConnection
- func (x *ProjectV2) GetId() ID
- func (x *ProjectV2) GetItems() *ProjectV2ItemConnection
- func (x *ProjectV2) GetNumber() int
- func (x *ProjectV2) GetOwner() ProjectV2Owner
- func (x *ProjectV2) GetPublic() bool
- func (x *ProjectV2) GetReadme() string
- func (x *ProjectV2) GetRepositories() *RepositoryConnection
- func (x *ProjectV2) GetResourcePath() URI
- func (x *ProjectV2) GetShortDescription() string
- func (x *ProjectV2) GetTitle() string
- func (x *ProjectV2) GetUpdatedAt() DateTime
- func (x *ProjectV2) GetUrl() URI
- func (x *ProjectV2) GetViewerCanUpdate() bool
- func (x *ProjectV2) GetViews() *ProjectV2ViewConnection
- type ProjectV2Connection
- type ProjectV2Edge
- type ProjectV2Field
- func (x *ProjectV2Field) GetCreatedAt() DateTime
- func (x *ProjectV2Field) GetDataType() ProjectV2FieldType
- func (x *ProjectV2Field) GetDatabaseId() int
- func (x *ProjectV2Field) GetId() ID
- func (x *ProjectV2Field) GetName() string
- func (x *ProjectV2Field) GetProject() *ProjectV2
- func (x *ProjectV2Field) GetUpdatedAt() DateTime
- type ProjectV2FieldCommon
- type ProjectV2FieldCommon_Interface
- type ProjectV2FieldConfiguration
- type ProjectV2FieldConfigurationConnection
- func (x *ProjectV2FieldConfigurationConnection) GetEdges() []*ProjectV2FieldConfigurationEdge
- func (x *ProjectV2FieldConfigurationConnection) GetNodes() []ProjectV2FieldConfiguration
- func (x *ProjectV2FieldConfigurationConnection) GetPageInfo() *PageInfo
- func (x *ProjectV2FieldConfigurationConnection) GetTotalCount() int
- type ProjectV2FieldConfigurationEdge
- type ProjectV2FieldConfiguration_Interface
- type ProjectV2FieldConnection
- type ProjectV2FieldEdge
- type ProjectV2FieldOrder
- type ProjectV2FieldOrderField
- type ProjectV2FieldType
- type ProjectV2FieldValue
- type ProjectV2Item
- func (x *ProjectV2Item) GetContent() ProjectV2ItemContent
- func (x *ProjectV2Item) GetCreatedAt() DateTime
- func (x *ProjectV2Item) GetCreator() Actor
- func (x *ProjectV2Item) GetDatabaseId() int
- func (x *ProjectV2Item) GetFieldValueByName() ProjectV2ItemFieldValue
- func (x *ProjectV2Item) GetFieldValues() *ProjectV2ItemFieldValueConnection
- func (x *ProjectV2Item) GetId() ID
- func (x *ProjectV2Item) GetIsArchived() bool
- func (x *ProjectV2Item) GetProject() *ProjectV2
- func (x *ProjectV2Item) GetType() ProjectV2ItemType
- func (x *ProjectV2Item) GetUpdatedAt() DateTime
- type ProjectV2ItemConnection
- type ProjectV2ItemContent
- type ProjectV2ItemContent_Interface
- type ProjectV2ItemEdge
- type ProjectV2ItemFieldDateValue
- func (x *ProjectV2ItemFieldDateValue) GetCreatedAt() DateTime
- func (x *ProjectV2ItemFieldDateValue) GetCreator() Actor
- func (x *ProjectV2ItemFieldDateValue) GetDatabaseId() int
- func (x *ProjectV2ItemFieldDateValue) GetDate() Date
- func (x *ProjectV2ItemFieldDateValue) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2ItemFieldDateValue) GetId() ID
- func (x *ProjectV2ItemFieldDateValue) GetItem() *ProjectV2Item
- func (x *ProjectV2ItemFieldDateValue) GetUpdatedAt() DateTime
- type ProjectV2ItemFieldIterationValue
- func (x *ProjectV2ItemFieldIterationValue) GetCreatedAt() DateTime
- func (x *ProjectV2ItemFieldIterationValue) GetCreator() Actor
- func (x *ProjectV2ItemFieldIterationValue) GetDatabaseId() int
- func (x *ProjectV2ItemFieldIterationValue) GetDuration() int
- func (x *ProjectV2ItemFieldIterationValue) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2ItemFieldIterationValue) GetId() ID
- func (x *ProjectV2ItemFieldIterationValue) GetItem() *ProjectV2Item
- func (x *ProjectV2ItemFieldIterationValue) GetIterationId() string
- func (x *ProjectV2ItemFieldIterationValue) GetStartDate() Date
- func (x *ProjectV2ItemFieldIterationValue) GetTitle() string
- func (x *ProjectV2ItemFieldIterationValue) GetTitleHTML() string
- func (x *ProjectV2ItemFieldIterationValue) GetUpdatedAt() DateTime
- type ProjectV2ItemFieldLabelValue
- type ProjectV2ItemFieldMilestoneValue
- type ProjectV2ItemFieldNumberValue
- func (x *ProjectV2ItemFieldNumberValue) GetCreatedAt() DateTime
- func (x *ProjectV2ItemFieldNumberValue) GetCreator() Actor
- func (x *ProjectV2ItemFieldNumberValue) GetDatabaseId() int
- func (x *ProjectV2ItemFieldNumberValue) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2ItemFieldNumberValue) GetId() ID
- func (x *ProjectV2ItemFieldNumberValue) GetItem() *ProjectV2Item
- func (x *ProjectV2ItemFieldNumberValue) GetNumber() float64
- func (x *ProjectV2ItemFieldNumberValue) GetUpdatedAt() DateTime
- type ProjectV2ItemFieldPullRequestValue
- type ProjectV2ItemFieldRepositoryValue
- type ProjectV2ItemFieldReviewerValue
- type ProjectV2ItemFieldSingleSelectValue
- func (x *ProjectV2ItemFieldSingleSelectValue) GetCreatedAt() DateTime
- func (x *ProjectV2ItemFieldSingleSelectValue) GetCreator() Actor
- func (x *ProjectV2ItemFieldSingleSelectValue) GetDatabaseId() int
- func (x *ProjectV2ItemFieldSingleSelectValue) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2ItemFieldSingleSelectValue) GetId() ID
- func (x *ProjectV2ItemFieldSingleSelectValue) GetItem() *ProjectV2Item
- func (x *ProjectV2ItemFieldSingleSelectValue) GetName() string
- func (x *ProjectV2ItemFieldSingleSelectValue) GetNameHTML() string
- func (x *ProjectV2ItemFieldSingleSelectValue) GetOptionId() string
- func (x *ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt() DateTime
- type ProjectV2ItemFieldTextValue
- func (x *ProjectV2ItemFieldTextValue) GetCreatedAt() DateTime
- func (x *ProjectV2ItemFieldTextValue) GetCreator() Actor
- func (x *ProjectV2ItemFieldTextValue) GetDatabaseId() int
- func (x *ProjectV2ItemFieldTextValue) GetField() ProjectV2FieldConfiguration
- func (x *ProjectV2ItemFieldTextValue) GetId() ID
- func (x *ProjectV2ItemFieldTextValue) GetItem() *ProjectV2Item
- func (x *ProjectV2ItemFieldTextValue) GetText() string
- func (x *ProjectV2ItemFieldTextValue) GetUpdatedAt() DateTime
- type ProjectV2ItemFieldUserValue
- type ProjectV2ItemFieldValue
- type ProjectV2ItemFieldValueCommon
- type ProjectV2ItemFieldValueCommon_Interface
- type ProjectV2ItemFieldValueConnection
- type ProjectV2ItemFieldValueEdge
- type ProjectV2ItemFieldValueOrder
- type ProjectV2ItemFieldValueOrderField
- type ProjectV2ItemFieldValue_Interface
- type ProjectV2ItemOrder
- type ProjectV2ItemOrderField
- type ProjectV2ItemType
- type ProjectV2IterationField
- func (x *ProjectV2IterationField) GetConfiguration() *ProjectV2IterationFieldConfiguration
- func (x *ProjectV2IterationField) GetCreatedAt() DateTime
- func (x *ProjectV2IterationField) GetDataType() ProjectV2FieldType
- func (x *ProjectV2IterationField) GetDatabaseId() int
- func (x *ProjectV2IterationField) GetId() ID
- func (x *ProjectV2IterationField) GetName() string
- func (x *ProjectV2IterationField) GetProject() *ProjectV2
- func (x *ProjectV2IterationField) GetUpdatedAt() DateTime
- type ProjectV2IterationFieldConfiguration
- func (x *ProjectV2IterationFieldConfiguration) GetCompletedIterations() []*ProjectV2IterationFieldIteration
- func (x *ProjectV2IterationFieldConfiguration) GetDuration() int
- func (x *ProjectV2IterationFieldConfiguration) GetIterations() []*ProjectV2IterationFieldIteration
- func (x *ProjectV2IterationFieldConfiguration) GetStartDay() int
- type ProjectV2IterationFieldIteration
- func (x *ProjectV2IterationFieldIteration) GetDuration() int
- func (x *ProjectV2IterationFieldIteration) GetId() string
- func (x *ProjectV2IterationFieldIteration) GetStartDate() Date
- func (x *ProjectV2IterationFieldIteration) GetTitle() string
- func (x *ProjectV2IterationFieldIteration) GetTitleHTML() string
- type ProjectV2Order
- type ProjectV2OrderField
- type ProjectV2Owner
- type ProjectV2Owner_Interface
- type ProjectV2Recent
- type ProjectV2Recent_Interface
- type ProjectV2SingleSelectField
- func (x *ProjectV2SingleSelectField) GetCreatedAt() DateTime
- func (x *ProjectV2SingleSelectField) GetDataType() ProjectV2FieldType
- func (x *ProjectV2SingleSelectField) GetDatabaseId() int
- func (x *ProjectV2SingleSelectField) GetId() ID
- func (x *ProjectV2SingleSelectField) GetName() string
- func (x *ProjectV2SingleSelectField) GetOptions() []*ProjectV2SingleSelectFieldOption
- func (x *ProjectV2SingleSelectField) GetProject() *ProjectV2
- func (x *ProjectV2SingleSelectField) GetUpdatedAt() DateTime
- type ProjectV2SingleSelectFieldOption
- type ProjectV2SortBy
- type ProjectV2SortByConnection
- type ProjectV2SortByEdge
- type ProjectV2View
- func (x *ProjectV2View) GetCreatedAt() DateTime
- func (x *ProjectV2View) GetDatabaseId() int
- func (x *ProjectV2View) GetFilter() string
- func (x *ProjectV2View) GetGroupBy() *ProjectV2FieldConnection
- func (x *ProjectV2View) GetId() ID
- func (x *ProjectV2View) GetLayout() ProjectV2ViewLayout
- func (x *ProjectV2View) GetName() string
- func (x *ProjectV2View) GetNumber() int
- func (x *ProjectV2View) GetProject() *ProjectV2
- func (x *ProjectV2View) GetSortBy() *ProjectV2SortByConnection
- func (x *ProjectV2View) GetUpdatedAt() DateTime
- func (x *ProjectV2View) GetVerticalGroupBy() *ProjectV2FieldConnection
- func (x *ProjectV2View) GetVisibleFields() *ProjectV2FieldConnection
- type ProjectV2ViewConnection
- type ProjectV2ViewEdge
- type ProjectV2ViewLayout
- type ProjectV2ViewOrder
- type ProjectV2ViewOrderField
- type ProjectView
- func (x *ProjectView) GetCreatedAt() DateTime
- func (x *ProjectView) GetDatabaseId() int
- func (x *ProjectView) GetFilter() string
- func (x *ProjectView) GetGroupBy() []int
- func (x *ProjectView) GetId() ID
- func (x *ProjectView) GetLayout() ProjectViewLayout
- func (x *ProjectView) GetName() string
- func (x *ProjectView) GetNumber() int
- func (x *ProjectView) GetProject() *ProjectNext
- func (x *ProjectView) GetSortBy() []*SortBy
- func (x *ProjectView) GetUpdatedAt() DateTime
- func (x *ProjectView) GetVerticalGroupBy() []int
- func (x *ProjectView) GetVisibleFields() []int
- type ProjectViewConnection
- type ProjectViewEdge
- type ProjectViewLayout
- type PublicKey
- type PublicKeyConnection
- type PublicKeyEdge
- type PullRequest
- func (x *PullRequest) GetActiveLockReason() LockReason
- func (x *PullRequest) GetAdditions() int
- func (x *PullRequest) GetAssignees() *UserConnection
- func (x *PullRequest) GetAuthor() Actor
- func (x *PullRequest) GetAuthorAssociation() CommentAuthorAssociation
- func (x *PullRequest) GetAutoMergeRequest() *AutoMergeRequest
- func (x *PullRequest) GetBaseRef() *Ref
- func (x *PullRequest) GetBaseRefName() string
- func (x *PullRequest) GetBaseRefOid() GitObjectID
- func (x *PullRequest) GetBaseRepository() *Repository
- func (x *PullRequest) GetBody() string
- func (x *PullRequest) GetBodyHTML() template.HTML
- func (x *PullRequest) GetBodyText() string
- func (x *PullRequest) GetChangedFiles() int
- func (x *PullRequest) GetChecksResourcePath() URI
- func (x *PullRequest) GetChecksUrl() URI
- func (x *PullRequest) GetClosed() bool
- func (x *PullRequest) GetClosedAt() DateTime
- func (x *PullRequest) GetClosingIssuesReferences() *IssueConnection
- func (x *PullRequest) GetComments() *IssueCommentConnection
- func (x *PullRequest) GetCommits() *PullRequestCommitConnection
- func (x *PullRequest) GetCreatedAt() DateTime
- func (x *PullRequest) GetCreatedViaEmail() bool
- func (x *PullRequest) GetDatabaseId() int
- func (x *PullRequest) GetDeletions() int
- func (x *PullRequest) GetEditor() Actor
- func (x *PullRequest) GetFiles() *PullRequestChangedFileConnection
- func (x *PullRequest) GetHeadRef() *Ref
- func (x *PullRequest) GetHeadRefName() string
- func (x *PullRequest) GetHeadRefOid() GitObjectID
- func (x *PullRequest) GetHeadRepository() *Repository
- func (x *PullRequest) GetHeadRepositoryOwner() RepositoryOwner
- func (x *PullRequest) GetHovercard() *Hovercard
- func (x *PullRequest) GetId() ID
- func (x *PullRequest) GetIncludesCreatedEdit() bool
- func (x *PullRequest) GetIsCrossRepository() bool
- func (x *PullRequest) GetIsDraft() bool
- func (x *PullRequest) GetIsReadByViewer() bool
- func (x *PullRequest) GetLabels() *LabelConnection
- func (x *PullRequest) GetLastEditedAt() DateTime
- func (x *PullRequest) GetLatestOpinionatedReviews() *PullRequestReviewConnection
- func (x *PullRequest) GetLatestReviews() *PullRequestReviewConnection
- func (x *PullRequest) GetLocked() bool
- func (x *PullRequest) GetMaintainerCanModify() bool
- func (x *PullRequest) GetMergeCommit() *Commit
- func (x *PullRequest) GetMergeable() MergeableState
- func (x *PullRequest) GetMerged() bool
- func (x *PullRequest) GetMergedAt() DateTime
- func (x *PullRequest) GetMergedBy() Actor
- func (x *PullRequest) GetMilestone() *Milestone
- func (x *PullRequest) GetNumber() int
- func (x *PullRequest) GetParticipants() *UserConnection
- func (x *PullRequest) GetPermalink() URI
- func (x *PullRequest) GetPotentialMergeCommit() *Commit
- func (x *PullRequest) GetProjectCards() *ProjectCardConnection
- func (x *PullRequest) GetProjectItems() *ProjectV2ItemConnection
- func (x *PullRequest) GetProjectNext() *ProjectNext
- func (x *PullRequest) GetProjectNextItems() *ProjectNextItemConnection
- func (x *PullRequest) GetProjectV2() *ProjectV2
- func (x *PullRequest) GetProjectsNext() *ProjectNextConnection
- func (x *PullRequest) GetProjectsV2() *ProjectV2Connection
- func (x *PullRequest) GetPublishedAt() DateTime
- func (x *PullRequest) GetReactionGroups() []*ReactionGroup
- func (x *PullRequest) GetReactions() *ReactionConnection
- func (x *PullRequest) GetRepository() *Repository
- func (x *PullRequest) GetResourcePath() URI
- func (x *PullRequest) GetRevertResourcePath() URI
- func (x *PullRequest) GetRevertUrl() URI
- func (x *PullRequest) GetReviewDecision() PullRequestReviewDecision
- func (x *PullRequest) GetReviewRequests() *ReviewRequestConnection
- func (x *PullRequest) GetReviewThreads() *PullRequestReviewThreadConnection
- func (x *PullRequest) GetReviews() *PullRequestReviewConnection
- func (x *PullRequest) GetState() PullRequestState
- func (x *PullRequest) GetSuggestedReviewers() []*SuggestedReviewer
- func (x *PullRequest) GetTimeline() *PullRequestTimelineConnection
- func (x *PullRequest) GetTimelineItems() *PullRequestTimelineItemsConnection
- func (x *PullRequest) GetTitle() string
- func (x *PullRequest) GetTitleHTML() template.HTML
- func (x *PullRequest) GetUpdatedAt() DateTime
- func (x *PullRequest) GetUrl() URI
- func (x *PullRequest) GetUserContentEdits() *UserContentEditConnection
- func (x *PullRequest) GetViewerCanApplySuggestion() bool
- func (x *PullRequest) GetViewerCanDeleteHeadRef() bool
- func (x *PullRequest) GetViewerCanDisableAutoMerge() bool
- func (x *PullRequest) GetViewerCanEditFiles() bool
- func (x *PullRequest) GetViewerCanEnableAutoMerge() bool
- func (x *PullRequest) GetViewerCanMergeAsAdmin() bool
- func (x *PullRequest) GetViewerCanReact() bool
- func (x *PullRequest) GetViewerCanSubscribe() bool
- func (x *PullRequest) GetViewerCanUpdate() bool
- func (x *PullRequest) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *PullRequest) GetViewerDidAuthor() bool
- func (x *PullRequest) GetViewerLatestReview() *PullRequestReview
- func (x *PullRequest) GetViewerLatestReviewRequest() *ReviewRequest
- func (x *PullRequest) GetViewerMergeBodyText() string
- func (x *PullRequest) GetViewerMergeHeadlineText() string
- func (x *PullRequest) GetViewerSubscription() SubscriptionState
- type PullRequestChangedFile
- type PullRequestChangedFileConnection
- type PullRequestChangedFileEdge
- type PullRequestCommit
- type PullRequestCommitCommentThread
- func (x *PullRequestCommitCommentThread) GetComments() *CommitCommentConnection
- func (x *PullRequestCommitCommentThread) GetCommit() *Commit
- func (x *PullRequestCommitCommentThread) GetId() ID
- func (x *PullRequestCommitCommentThread) GetPath() string
- func (x *PullRequestCommitCommentThread) GetPosition() int
- func (x *PullRequestCommitCommentThread) GetPullRequest() *PullRequest
- func (x *PullRequestCommitCommentThread) GetRepository() *Repository
- type PullRequestCommitConnection
- type PullRequestCommitEdge
- type PullRequestConnection
- type PullRequestContributionsByRepository
- type PullRequestEdge
- type PullRequestMergeMethod
- type PullRequestOrder
- type PullRequestOrderField
- type PullRequestReview
- func (x *PullRequestReview) GetAuthor() Actor
- func (x *PullRequestReview) GetAuthorAssociation() CommentAuthorAssociation
- func (x *PullRequestReview) GetAuthorCanPushToRepository() bool
- func (x *PullRequestReview) GetBody() string
- func (x *PullRequestReview) GetBodyHTML() template.HTML
- func (x *PullRequestReview) GetBodyText() string
- func (x *PullRequestReview) GetComments() *PullRequestReviewCommentConnection
- func (x *PullRequestReview) GetCommit() *Commit
- func (x *PullRequestReview) GetCreatedAt() DateTime
- func (x *PullRequestReview) GetCreatedViaEmail() bool
- func (x *PullRequestReview) GetDatabaseId() int
- func (x *PullRequestReview) GetEditor() Actor
- func (x *PullRequestReview) GetId() ID
- func (x *PullRequestReview) GetIncludesCreatedEdit() bool
- func (x *PullRequestReview) GetLastEditedAt() DateTime
- func (x *PullRequestReview) GetOnBehalfOf() *TeamConnection
- func (x *PullRequestReview) GetPublishedAt() DateTime
- func (x *PullRequestReview) GetPullRequest() *PullRequest
- func (x *PullRequestReview) GetReactionGroups() []*ReactionGroup
- func (x *PullRequestReview) GetReactions() *ReactionConnection
- func (x *PullRequestReview) GetRepository() *Repository
- func (x *PullRequestReview) GetResourcePath() URI
- func (x *PullRequestReview) GetState() PullRequestReviewState
- func (x *PullRequestReview) GetSubmittedAt() DateTime
- func (x *PullRequestReview) GetUpdatedAt() DateTime
- func (x *PullRequestReview) GetUrl() URI
- func (x *PullRequestReview) GetUserContentEdits() *UserContentEditConnection
- func (x *PullRequestReview) GetViewerCanDelete() bool
- func (x *PullRequestReview) GetViewerCanReact() bool
- func (x *PullRequestReview) GetViewerCanUpdate() bool
- func (x *PullRequestReview) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *PullRequestReview) GetViewerDidAuthor() bool
- type PullRequestReviewComment
- func (x *PullRequestReviewComment) GetAuthor() Actor
- func (x *PullRequestReviewComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *PullRequestReviewComment) GetBody() string
- func (x *PullRequestReviewComment) GetBodyHTML() template.HTML
- func (x *PullRequestReviewComment) GetBodyText() string
- func (x *PullRequestReviewComment) GetCommit() *Commit
- func (x *PullRequestReviewComment) GetCreatedAt() DateTime
- func (x *PullRequestReviewComment) GetCreatedViaEmail() bool
- func (x *PullRequestReviewComment) GetDatabaseId() int
- func (x *PullRequestReviewComment) GetDiffHunk() string
- func (x *PullRequestReviewComment) GetDraftedAt() DateTime
- func (x *PullRequestReviewComment) GetEditor() Actor
- func (x *PullRequestReviewComment) GetId() ID
- func (x *PullRequestReviewComment) GetIncludesCreatedEdit() bool
- func (x *PullRequestReviewComment) GetIsMinimized() bool
- func (x *PullRequestReviewComment) GetLastEditedAt() DateTime
- func (x *PullRequestReviewComment) GetMinimizedReason() string
- func (x *PullRequestReviewComment) GetOriginalCommit() *Commit
- func (x *PullRequestReviewComment) GetOriginalPosition() int
- func (x *PullRequestReviewComment) GetOutdated() bool
- func (x *PullRequestReviewComment) GetPath() string
- func (x *PullRequestReviewComment) GetPosition() int
- func (x *PullRequestReviewComment) GetPublishedAt() DateTime
- func (x *PullRequestReviewComment) GetPullRequest() *PullRequest
- func (x *PullRequestReviewComment) GetPullRequestReview() *PullRequestReview
- func (x *PullRequestReviewComment) GetReactionGroups() []*ReactionGroup
- func (x *PullRequestReviewComment) GetReactions() *ReactionConnection
- func (x *PullRequestReviewComment) GetReplyTo() *PullRequestReviewComment
- func (x *PullRequestReviewComment) GetRepository() *Repository
- func (x *PullRequestReviewComment) GetResourcePath() URI
- func (x *PullRequestReviewComment) GetState() PullRequestReviewCommentState
- func (x *PullRequestReviewComment) GetUpdatedAt() DateTime
- func (x *PullRequestReviewComment) GetUrl() URI
- func (x *PullRequestReviewComment) GetUserContentEdits() *UserContentEditConnection
- func (x *PullRequestReviewComment) GetViewerCanDelete() bool
- func (x *PullRequestReviewComment) GetViewerCanMinimize() bool
- func (x *PullRequestReviewComment) GetViewerCanReact() bool
- func (x *PullRequestReviewComment) GetViewerCanUpdate() bool
- func (x *PullRequestReviewComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *PullRequestReviewComment) GetViewerDidAuthor() bool
- type PullRequestReviewCommentConnection
- func (x *PullRequestReviewCommentConnection) GetEdges() []*PullRequestReviewCommentEdge
- func (x *PullRequestReviewCommentConnection) GetNodes() []*PullRequestReviewComment
- func (x *PullRequestReviewCommentConnection) GetPageInfo() *PageInfo
- func (x *PullRequestReviewCommentConnection) GetTotalCount() int
- type PullRequestReviewCommentEdge
- type PullRequestReviewCommentState
- type PullRequestReviewConnection
- type PullRequestReviewContributionsByRepository
- type PullRequestReviewDecision
- type PullRequestReviewEdge
- type PullRequestReviewEvent
- type PullRequestReviewState
- type PullRequestReviewThread
- func (x *PullRequestReviewThread) GetComments() *PullRequestReviewCommentConnection
- func (x *PullRequestReviewThread) GetDiffSide() DiffSide
- func (x *PullRequestReviewThread) GetId() ID
- func (x *PullRequestReviewThread) GetIsCollapsed() bool
- func (x *PullRequestReviewThread) GetIsOutdated() bool
- func (x *PullRequestReviewThread) GetIsResolved() bool
- func (x *PullRequestReviewThread) GetLine() int
- func (x *PullRequestReviewThread) GetOriginalLine() int
- func (x *PullRequestReviewThread) GetOriginalStartLine() int
- func (x *PullRequestReviewThread) GetPath() string
- func (x *PullRequestReviewThread) GetPullRequest() *PullRequest
- func (x *PullRequestReviewThread) GetRepository() *Repository
- func (x *PullRequestReviewThread) GetResolvedBy() *User
- func (x *PullRequestReviewThread) GetStartDiffSide() DiffSide
- func (x *PullRequestReviewThread) GetStartLine() int
- func (x *PullRequestReviewThread) GetViewerCanReply() bool
- func (x *PullRequestReviewThread) GetViewerCanResolve() bool
- func (x *PullRequestReviewThread) GetViewerCanUnresolve() bool
- type PullRequestReviewThreadConnection
- type PullRequestReviewThreadEdge
- type PullRequestRevisionMarker
- type PullRequestState
- type PullRequestTemplate
- type PullRequestThread
- func (x *PullRequestThread) GetComments() *PullRequestReviewCommentConnection
- func (x *PullRequestThread) GetId() ID
- func (x *PullRequestThread) GetIsCollapsed() bool
- func (x *PullRequestThread) GetIsOutdated() bool
- func (x *PullRequestThread) GetIsResolved() bool
- func (x *PullRequestThread) GetPullRequest() *PullRequest
- func (x *PullRequestThread) GetRepository() *Repository
- func (x *PullRequestThread) GetResolvedBy() *User
- func (x *PullRequestThread) GetViewerCanReply() bool
- func (x *PullRequestThread) GetViewerCanResolve() bool
- func (x *PullRequestThread) GetViewerCanUnresolve() bool
- type PullRequestTimelineConnection
- type PullRequestTimelineItem
- type PullRequestTimelineItemEdge
- type PullRequestTimelineItem_Interface
- type PullRequestTimelineItems
- type PullRequestTimelineItemsConnection
- func (x *PullRequestTimelineItemsConnection) GetEdges() []*PullRequestTimelineItemsEdge
- func (x *PullRequestTimelineItemsConnection) GetFilteredCount() int
- func (x *PullRequestTimelineItemsConnection) GetNodes() []PullRequestTimelineItems
- func (x *PullRequestTimelineItemsConnection) GetPageCount() int
- func (x *PullRequestTimelineItemsConnection) GetPageInfo() *PageInfo
- func (x *PullRequestTimelineItemsConnection) GetTotalCount() int
- func (x *PullRequestTimelineItemsConnection) GetUpdatedAt() DateTime
- type PullRequestTimelineItemsEdge
- type PullRequestTimelineItemsItemType
- type PullRequestTimelineItems_Interface
- type PullRequestUpdateState
- type Push
- type PushAllowance
- type PushAllowanceActor
- type PushAllowanceActor_Interface
- type PushAllowanceConnection
- type PushAllowanceEdge
- type Query
- func (x *Query) GetCodeOfConduct() *CodeOfConduct
- func (x *Query) GetCodesOfConduct() []*CodeOfConduct
- func (x *Query) GetEnterprise() *Enterprise
- func (x *Query) GetEnterpriseAdministratorInvitation() *EnterpriseAdministratorInvitation
- func (x *Query) GetEnterpriseAdministratorInvitationByToken() *EnterpriseAdministratorInvitation
- func (x *Query) GetLicense() *License
- func (x *Query) GetLicenses() []*License
- func (x *Query) GetMarketplaceCategories() []*MarketplaceCategory
- func (x *Query) GetMarketplaceCategory() *MarketplaceCategory
- func (x *Query) GetMarketplaceListing() *MarketplaceListing
- func (x *Query) GetMarketplaceListings() *MarketplaceListingConnection
- func (x *Query) GetMeta() *GitHubMetadata
- func (x *Query) GetNode() Node
- func (x *Query) GetNodes() []Node
- func (x *Query) GetOrganization() *Organization
- func (x *Query) GetRateLimit() *RateLimit
- func (x *Query) GetRelay() *Query
- func (x *Query) GetRepository() *Repository
- func (x *Query) GetRepositoryOwner() RepositoryOwner
- func (x *Query) GetResource() UniformResourceLocatable
- func (x *Query) GetSearch() *SearchResultItemConnection
- func (x *Query) GetSecurityAdvisories() *SecurityAdvisoryConnection
- func (x *Query) GetSecurityAdvisory() *SecurityAdvisory
- func (x *Query) GetSecurityVulnerabilities() *SecurityVulnerabilityConnection
- func (x *Query) GetSponsorables() *SponsorableItemConnection
- func (x *Query) GetTopic() *Topic
- func (x *Query) GetUser() *User
- func (x *Query) GetViewer() *User
- type RateLimit
- type Reactable
- type Reactable_Interface
- type ReactingUserConnection
- type ReactingUserEdge
- type Reaction
- type ReactionConnection
- type ReactionContent
- type ReactionEdge
- type ReactionGroup
- func (x *ReactionGroup) GetContent() ReactionContent
- func (x *ReactionGroup) GetCreatedAt() DateTime
- func (x *ReactionGroup) GetReactors() *ReactorConnection
- func (x *ReactionGroup) GetSubject() Reactable
- func (x *ReactionGroup) GetUsers() *ReactingUserConnection
- func (x *ReactionGroup) GetViewerHasReacted() bool
- type ReactionOrder
- type ReactionOrderField
- type Reactor
- type ReactorConnection
- type ReactorEdge
- type Reactor_Interface
- type ReadyForReviewEvent
- type Ref
- func (x *Ref) GetAssociatedPullRequests() *PullRequestConnection
- func (x *Ref) GetBranchProtectionRule() *BranchProtectionRule
- func (x *Ref) GetId() ID
- func (x *Ref) GetName() string
- func (x *Ref) GetPrefix() string
- func (x *Ref) GetRefUpdateRule() *RefUpdateRule
- func (x *Ref) GetRepository() *Repository
- func (x *Ref) GetTarget() GitObject
- type RefConnection
- type RefEdge
- type RefOrder
- type RefOrderField
- type RefUpdateRule
- func (x *RefUpdateRule) GetAllowsDeletions() bool
- func (x *RefUpdateRule) GetAllowsForcePushes() bool
- func (x *RefUpdateRule) GetBlocksCreations() bool
- func (x *RefUpdateRule) GetPattern() string
- func (x *RefUpdateRule) GetRequiredApprovingReviewCount() int
- func (x *RefUpdateRule) GetRequiredStatusCheckContexts() []string
- func (x *RefUpdateRule) GetRequiresCodeOwnerReviews() bool
- func (x *RefUpdateRule) GetRequiresConversationResolution() bool
- func (x *RefUpdateRule) GetRequiresLinearHistory() bool
- func (x *RefUpdateRule) GetRequiresSignatures() bool
- func (x *RefUpdateRule) GetViewerAllowedToDismissReviews() bool
- func (x *RefUpdateRule) GetViewerCanPush() bool
- type ReferencedEvent
- func (x *ReferencedEvent) GetActor() Actor
- func (x *ReferencedEvent) GetCommit() *Commit
- func (x *ReferencedEvent) GetCommitRepository() *Repository
- func (x *ReferencedEvent) GetCreatedAt() DateTime
- func (x *ReferencedEvent) GetId() ID
- func (x *ReferencedEvent) GetIsCrossRepository() bool
- func (x *ReferencedEvent) GetIsDirectReference() bool
- func (x *ReferencedEvent) GetSubject() ReferencedSubject
- type ReferencedSubject
- type ReferencedSubject_Interface
- type RegenerateEnterpriseIdentityProviderRecoveryCodesInput
- type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload
- type RegenerateVerifiableDomainTokenInput
- type RegenerateVerifiableDomainTokenPayload
- type RejectDeploymentsInput
- type RejectDeploymentsPayload
- type Release
- func (x *Release) GetAuthor() *User
- func (x *Release) GetCreatedAt() DateTime
- func (x *Release) GetDatabaseId() int
- func (x *Release) GetDescription() string
- func (x *Release) GetDescriptionHTML() template.HTML
- func (x *Release) GetId() ID
- func (x *Release) GetIsDraft() bool
- func (x *Release) GetIsLatest() bool
- func (x *Release) GetIsPrerelease() bool
- func (x *Release) GetMentions() *UserConnection
- func (x *Release) GetName() string
- func (x *Release) GetPublishedAt() DateTime
- func (x *Release) GetReactionGroups() []*ReactionGroup
- func (x *Release) GetReactions() *ReactionConnection
- func (x *Release) GetReleaseAssets() *ReleaseAssetConnection
- func (x *Release) GetRepository() *Repository
- func (x *Release) GetResourcePath() URI
- func (x *Release) GetShortDescriptionHTML() template.HTML
- func (x *Release) GetTag() *Ref
- func (x *Release) GetTagCommit() *Commit
- func (x *Release) GetTagName() string
- func (x *Release) GetUpdatedAt() DateTime
- func (x *Release) GetUrl() URI
- func (x *Release) GetViewerCanReact() bool
- type ReleaseAsset
- func (x *ReleaseAsset) GetContentType() string
- func (x *ReleaseAsset) GetCreatedAt() DateTime
- func (x *ReleaseAsset) GetDownloadCount() int
- func (x *ReleaseAsset) GetDownloadUrl() URI
- func (x *ReleaseAsset) GetId() ID
- func (x *ReleaseAsset) GetName() string
- func (x *ReleaseAsset) GetRelease() *Release
- func (x *ReleaseAsset) GetSize() int
- func (x *ReleaseAsset) GetUpdatedAt() DateTime
- func (x *ReleaseAsset) GetUploadedBy() *User
- func (x *ReleaseAsset) GetUrl() URI
- type ReleaseAssetConnection
- type ReleaseAssetEdge
- type ReleaseConnection
- type ReleaseEdge
- type ReleaseOrder
- type ReleaseOrderField
- type RemoveAssigneesFromAssignableInput
- type RemoveAssigneesFromAssignablePayload
- type RemoveEnterpriseAdminInput
- type RemoveEnterpriseAdminPayload
- func (x *RemoveEnterpriseAdminPayload) GetAdmin() *User
- func (x *RemoveEnterpriseAdminPayload) GetClientMutationId() string
- func (x *RemoveEnterpriseAdminPayload) GetEnterprise() *Enterprise
- func (x *RemoveEnterpriseAdminPayload) GetMessage() string
- func (x *RemoveEnterpriseAdminPayload) GetViewer() *User
- type RemoveEnterpriseIdentityProviderInput
- type RemoveEnterpriseIdentityProviderPayload
- type RemoveEnterpriseOrganizationInput
- type RemoveEnterpriseOrganizationPayload
- type RemoveEnterpriseSupportEntitlementInput
- type RemoveEnterpriseSupportEntitlementPayload
- type RemoveLabelsFromLabelableInput
- type RemoveLabelsFromLabelablePayload
- type RemoveOutsideCollaboratorInput
- type RemoveOutsideCollaboratorPayload
- type RemoveReactionInput
- type RemoveReactionPayload
- type RemoveStarInput
- type RemoveStarPayload
- type RemoveUpvoteInput
- type RemoveUpvotePayload
- type RemovedFromProjectEvent
- func (x *RemovedFromProjectEvent) GetActor() Actor
- func (x *RemovedFromProjectEvent) GetCreatedAt() DateTime
- func (x *RemovedFromProjectEvent) GetDatabaseId() int
- func (x *RemovedFromProjectEvent) GetId() ID
- func (x *RemovedFromProjectEvent) GetProject() *Project
- func (x *RemovedFromProjectEvent) GetProjectColumnName() string
- type RenamedTitleEvent
- func (x *RenamedTitleEvent) GetActor() Actor
- func (x *RenamedTitleEvent) GetCreatedAt() DateTime
- func (x *RenamedTitleEvent) GetCurrentTitle() string
- func (x *RenamedTitleEvent) GetId() ID
- func (x *RenamedTitleEvent) GetPreviousTitle() string
- func (x *RenamedTitleEvent) GetSubject() RenamedTitleSubject
- type RenamedTitleSubject
- type RenamedTitleSubject_Interface
- type ReopenIssueInput
- type ReopenIssuePayload
- type ReopenPullRequestInput
- type ReopenPullRequestPayload
- type ReopenedEvent
- type RepoAccessAuditEntry
- func (x *RepoAccessAuditEntry) GetAction() string
- func (x *RepoAccessAuditEntry) GetActor() AuditEntryActor
- func (x *RepoAccessAuditEntry) GetActorIp() string
- func (x *RepoAccessAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoAccessAuditEntry) GetActorLogin() string
- func (x *RepoAccessAuditEntry) GetActorResourcePath() URI
- func (x *RepoAccessAuditEntry) GetActorUrl() URI
- func (x *RepoAccessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoAccessAuditEntry) GetId() ID
- func (x *RepoAccessAuditEntry) GetOperationType() OperationType
- func (x *RepoAccessAuditEntry) GetOrganization() *Organization
- func (x *RepoAccessAuditEntry) GetOrganizationName() string
- func (x *RepoAccessAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoAccessAuditEntry) GetOrganizationUrl() URI
- func (x *RepoAccessAuditEntry) GetRepository() *Repository
- func (x *RepoAccessAuditEntry) GetRepositoryName() string
- func (x *RepoAccessAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoAccessAuditEntry) GetRepositoryUrl() URI
- func (x *RepoAccessAuditEntry) GetUser() *User
- func (x *RepoAccessAuditEntry) GetUserLogin() string
- func (x *RepoAccessAuditEntry) GetUserResourcePath() URI
- func (x *RepoAccessAuditEntry) GetUserUrl() URI
- func (x *RepoAccessAuditEntry) GetVisibility() RepoAccessAuditEntryVisibility
- type RepoAccessAuditEntryVisibility
- type RepoAddMemberAuditEntry
- func (x *RepoAddMemberAuditEntry) GetAction() string
- func (x *RepoAddMemberAuditEntry) GetActor() AuditEntryActor
- func (x *RepoAddMemberAuditEntry) GetActorIp() string
- func (x *RepoAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoAddMemberAuditEntry) GetActorLogin() string
- func (x *RepoAddMemberAuditEntry) GetActorResourcePath() URI
- func (x *RepoAddMemberAuditEntry) GetActorUrl() URI
- func (x *RepoAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoAddMemberAuditEntry) GetId() ID
- func (x *RepoAddMemberAuditEntry) GetOperationType() OperationType
- func (x *RepoAddMemberAuditEntry) GetOrganization() *Organization
- func (x *RepoAddMemberAuditEntry) GetOrganizationName() string
- func (x *RepoAddMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoAddMemberAuditEntry) GetOrganizationUrl() URI
- func (x *RepoAddMemberAuditEntry) GetRepository() *Repository
- func (x *RepoAddMemberAuditEntry) GetRepositoryName() string
- func (x *RepoAddMemberAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoAddMemberAuditEntry) GetRepositoryUrl() URI
- func (x *RepoAddMemberAuditEntry) GetUser() *User
- func (x *RepoAddMemberAuditEntry) GetUserLogin() string
- func (x *RepoAddMemberAuditEntry) GetUserResourcePath() URI
- func (x *RepoAddMemberAuditEntry) GetUserUrl() URI
- func (x *RepoAddMemberAuditEntry) GetVisibility() RepoAddMemberAuditEntryVisibility
- type RepoAddMemberAuditEntryVisibility
- type RepoAddTopicAuditEntry
- func (x *RepoAddTopicAuditEntry) GetAction() string
- func (x *RepoAddTopicAuditEntry) GetActor() AuditEntryActor
- func (x *RepoAddTopicAuditEntry) GetActorIp() string
- func (x *RepoAddTopicAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoAddTopicAuditEntry) GetActorLogin() string
- func (x *RepoAddTopicAuditEntry) GetActorResourcePath() URI
- func (x *RepoAddTopicAuditEntry) GetActorUrl() URI
- func (x *RepoAddTopicAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoAddTopicAuditEntry) GetId() ID
- func (x *RepoAddTopicAuditEntry) GetOperationType() OperationType
- func (x *RepoAddTopicAuditEntry) GetOrganization() *Organization
- func (x *RepoAddTopicAuditEntry) GetOrganizationName() string
- func (x *RepoAddTopicAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoAddTopicAuditEntry) GetOrganizationUrl() URI
- func (x *RepoAddTopicAuditEntry) GetRepository() *Repository
- func (x *RepoAddTopicAuditEntry) GetRepositoryName() string
- func (x *RepoAddTopicAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoAddTopicAuditEntry) GetRepositoryUrl() URI
- func (x *RepoAddTopicAuditEntry) GetTopic() *Topic
- func (x *RepoAddTopicAuditEntry) GetTopicName() string
- func (x *RepoAddTopicAuditEntry) GetUser() *User
- func (x *RepoAddTopicAuditEntry) GetUserLogin() string
- func (x *RepoAddTopicAuditEntry) GetUserResourcePath() URI
- func (x *RepoAddTopicAuditEntry) GetUserUrl() URI
- type RepoArchivedAuditEntry
- func (x *RepoArchivedAuditEntry) GetAction() string
- func (x *RepoArchivedAuditEntry) GetActor() AuditEntryActor
- func (x *RepoArchivedAuditEntry) GetActorIp() string
- func (x *RepoArchivedAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoArchivedAuditEntry) GetActorLogin() string
- func (x *RepoArchivedAuditEntry) GetActorResourcePath() URI
- func (x *RepoArchivedAuditEntry) GetActorUrl() URI
- func (x *RepoArchivedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoArchivedAuditEntry) GetId() ID
- func (x *RepoArchivedAuditEntry) GetOperationType() OperationType
- func (x *RepoArchivedAuditEntry) GetOrganization() *Organization
- func (x *RepoArchivedAuditEntry) GetOrganizationName() string
- func (x *RepoArchivedAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoArchivedAuditEntry) GetOrganizationUrl() URI
- func (x *RepoArchivedAuditEntry) GetRepository() *Repository
- func (x *RepoArchivedAuditEntry) GetRepositoryName() string
- func (x *RepoArchivedAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoArchivedAuditEntry) GetRepositoryUrl() URI
- func (x *RepoArchivedAuditEntry) GetUser() *User
- func (x *RepoArchivedAuditEntry) GetUserLogin() string
- func (x *RepoArchivedAuditEntry) GetUserResourcePath() URI
- func (x *RepoArchivedAuditEntry) GetUserUrl() URI
- func (x *RepoArchivedAuditEntry) GetVisibility() RepoArchivedAuditEntryVisibility
- type RepoArchivedAuditEntryVisibility
- type RepoChangeMergeSettingAuditEntry
- func (x *RepoChangeMergeSettingAuditEntry) GetAction() string
- func (x *RepoChangeMergeSettingAuditEntry) GetActor() AuditEntryActor
- func (x *RepoChangeMergeSettingAuditEntry) GetActorIp() string
- func (x *RepoChangeMergeSettingAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoChangeMergeSettingAuditEntry) GetActorLogin() string
- func (x *RepoChangeMergeSettingAuditEntry) GetActorResourcePath() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetActorUrl() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoChangeMergeSettingAuditEntry) GetId() ID
- func (x *RepoChangeMergeSettingAuditEntry) GetIsEnabled() bool
- func (x *RepoChangeMergeSettingAuditEntry) GetMergeType() RepoChangeMergeSettingAuditEntryMergeType
- func (x *RepoChangeMergeSettingAuditEntry) GetOperationType() OperationType
- func (x *RepoChangeMergeSettingAuditEntry) GetOrganization() *Organization
- func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationName() string
- func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationUrl() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetRepository() *Repository
- func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryName() string
- func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryUrl() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetUser() *User
- func (x *RepoChangeMergeSettingAuditEntry) GetUserLogin() string
- func (x *RepoChangeMergeSettingAuditEntry) GetUserResourcePath() URI
- func (x *RepoChangeMergeSettingAuditEntry) GetUserUrl() URI
- type RepoChangeMergeSettingAuditEntryMergeType
- type RepoConfigDisableAnonymousGitAccessAuditEntry
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIp() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorUrl() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetId() ID
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser() *User
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin() string
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserUrl() URI
- type RepoConfigDisableCollaboratorsOnlyAuditEntry
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetId() ID
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() string
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
- type RepoConfigDisableContributorsOnlyAuditEntry
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetAction() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorIp() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorUrl() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetId() ID
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepository() *Repository
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUser() *User
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin() string
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserUrl() URI
- type RepoConfigDisableSockpuppetDisallowedAuditEntry
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIp() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorUrl() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetId() ID
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser() *User
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin() string
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserUrl() URI
- type RepoConfigEnableAnonymousGitAccessAuditEntry
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIp() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorUrl() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetId() ID
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser() *User
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin() string
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserUrl() URI
- type RepoConfigEnableCollaboratorsOnlyAuditEntry
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetId() ID
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() string
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
- type RepoConfigEnableContributorsOnlyAuditEntry
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetAction() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorIp() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorUrl() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetId() ID
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepository() *Repository
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUser() *User
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin() string
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserUrl() URI
- type RepoConfigEnableSockpuppetDisallowedAuditEntry
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIp() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorUrl() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetId() ID
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser() *User
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin() string
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserUrl() URI
- type RepoConfigLockAnonymousGitAccessAuditEntry
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetAction() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIp() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorUrl() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetId() ID
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUser() *User
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin() string
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserUrl() URI
- type RepoConfigUnlockAnonymousGitAccessAuditEntry
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIp() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorUrl() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetId() ID
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType() OperationType
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser() *User
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin() string
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
- func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserUrl() URI
- type RepoCreateAuditEntry
- func (x *RepoCreateAuditEntry) GetAction() string
- func (x *RepoCreateAuditEntry) GetActor() AuditEntryActor
- func (x *RepoCreateAuditEntry) GetActorIp() string
- func (x *RepoCreateAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoCreateAuditEntry) GetActorLogin() string
- func (x *RepoCreateAuditEntry) GetActorResourcePath() URI
- func (x *RepoCreateAuditEntry) GetActorUrl() URI
- func (x *RepoCreateAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoCreateAuditEntry) GetForkParentName() string
- func (x *RepoCreateAuditEntry) GetForkSourceName() string
- func (x *RepoCreateAuditEntry) GetId() ID
- func (x *RepoCreateAuditEntry) GetOperationType() OperationType
- func (x *RepoCreateAuditEntry) GetOrganization() *Organization
- func (x *RepoCreateAuditEntry) GetOrganizationName() string
- func (x *RepoCreateAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoCreateAuditEntry) GetOrganizationUrl() URI
- func (x *RepoCreateAuditEntry) GetRepository() *Repository
- func (x *RepoCreateAuditEntry) GetRepositoryName() string
- func (x *RepoCreateAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoCreateAuditEntry) GetRepositoryUrl() URI
- func (x *RepoCreateAuditEntry) GetUser() *User
- func (x *RepoCreateAuditEntry) GetUserLogin() string
- func (x *RepoCreateAuditEntry) GetUserResourcePath() URI
- func (x *RepoCreateAuditEntry) GetUserUrl() URI
- func (x *RepoCreateAuditEntry) GetVisibility() RepoCreateAuditEntryVisibility
- type RepoCreateAuditEntryVisibility
- type RepoDestroyAuditEntry
- func (x *RepoDestroyAuditEntry) GetAction() string
- func (x *RepoDestroyAuditEntry) GetActor() AuditEntryActor
- func (x *RepoDestroyAuditEntry) GetActorIp() string
- func (x *RepoDestroyAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoDestroyAuditEntry) GetActorLogin() string
- func (x *RepoDestroyAuditEntry) GetActorResourcePath() URI
- func (x *RepoDestroyAuditEntry) GetActorUrl() URI
- func (x *RepoDestroyAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoDestroyAuditEntry) GetId() ID
- func (x *RepoDestroyAuditEntry) GetOperationType() OperationType
- func (x *RepoDestroyAuditEntry) GetOrganization() *Organization
- func (x *RepoDestroyAuditEntry) GetOrganizationName() string
- func (x *RepoDestroyAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoDestroyAuditEntry) GetOrganizationUrl() URI
- func (x *RepoDestroyAuditEntry) GetRepository() *Repository
- func (x *RepoDestroyAuditEntry) GetRepositoryName() string
- func (x *RepoDestroyAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoDestroyAuditEntry) GetRepositoryUrl() URI
- func (x *RepoDestroyAuditEntry) GetUser() *User
- func (x *RepoDestroyAuditEntry) GetUserLogin() string
- func (x *RepoDestroyAuditEntry) GetUserResourcePath() URI
- func (x *RepoDestroyAuditEntry) GetUserUrl() URI
- func (x *RepoDestroyAuditEntry) GetVisibility() RepoDestroyAuditEntryVisibility
- type RepoDestroyAuditEntryVisibility
- type RepoRemoveMemberAuditEntry
- func (x *RepoRemoveMemberAuditEntry) GetAction() string
- func (x *RepoRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (x *RepoRemoveMemberAuditEntry) GetActorIp() string
- func (x *RepoRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoRemoveMemberAuditEntry) GetActorLogin() string
- func (x *RepoRemoveMemberAuditEntry) GetActorResourcePath() URI
- func (x *RepoRemoveMemberAuditEntry) GetActorUrl() URI
- func (x *RepoRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoRemoveMemberAuditEntry) GetId() ID
- func (x *RepoRemoveMemberAuditEntry) GetOperationType() OperationType
- func (x *RepoRemoveMemberAuditEntry) GetOrganization() *Organization
- func (x *RepoRemoveMemberAuditEntry) GetOrganizationName() string
- func (x *RepoRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoRemoveMemberAuditEntry) GetOrganizationUrl() URI
- func (x *RepoRemoveMemberAuditEntry) GetRepository() *Repository
- func (x *RepoRemoveMemberAuditEntry) GetRepositoryName() string
- func (x *RepoRemoveMemberAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoRemoveMemberAuditEntry) GetRepositoryUrl() URI
- func (x *RepoRemoveMemberAuditEntry) GetUser() *User
- func (x *RepoRemoveMemberAuditEntry) GetUserLogin() string
- func (x *RepoRemoveMemberAuditEntry) GetUserResourcePath() URI
- func (x *RepoRemoveMemberAuditEntry) GetUserUrl() URI
- func (x *RepoRemoveMemberAuditEntry) GetVisibility() RepoRemoveMemberAuditEntryVisibility
- type RepoRemoveMemberAuditEntryVisibility
- type RepoRemoveTopicAuditEntry
- func (x *RepoRemoveTopicAuditEntry) GetAction() string
- func (x *RepoRemoveTopicAuditEntry) GetActor() AuditEntryActor
- func (x *RepoRemoveTopicAuditEntry) GetActorIp() string
- func (x *RepoRemoveTopicAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepoRemoveTopicAuditEntry) GetActorLogin() string
- func (x *RepoRemoveTopicAuditEntry) GetActorResourcePath() URI
- func (x *RepoRemoveTopicAuditEntry) GetActorUrl() URI
- func (x *RepoRemoveTopicAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepoRemoveTopicAuditEntry) GetId() ID
- func (x *RepoRemoveTopicAuditEntry) GetOperationType() OperationType
- func (x *RepoRemoveTopicAuditEntry) GetOrganization() *Organization
- func (x *RepoRemoveTopicAuditEntry) GetOrganizationName() string
- func (x *RepoRemoveTopicAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepoRemoveTopicAuditEntry) GetOrganizationUrl() URI
- func (x *RepoRemoveTopicAuditEntry) GetRepository() *Repository
- func (x *RepoRemoveTopicAuditEntry) GetRepositoryName() string
- func (x *RepoRemoveTopicAuditEntry) GetRepositoryResourcePath() URI
- func (x *RepoRemoveTopicAuditEntry) GetRepositoryUrl() URI
- func (x *RepoRemoveTopicAuditEntry) GetTopic() *Topic
- func (x *RepoRemoveTopicAuditEntry) GetTopicName() string
- func (x *RepoRemoveTopicAuditEntry) GetUser() *User
- func (x *RepoRemoveTopicAuditEntry) GetUserLogin() string
- func (x *RepoRemoveTopicAuditEntry) GetUserResourcePath() URI
- func (x *RepoRemoveTopicAuditEntry) GetUserUrl() URI
- type ReportedContentClassifiers
- type Repository
- func (x *Repository) GetAllowUpdateBranch() bool
- func (x *Repository) GetAssignableUsers() *UserConnection
- func (x *Repository) GetAutoMergeAllowed() bool
- func (x *Repository) GetBranchProtectionRules() *BranchProtectionRuleConnection
- func (x *Repository) GetCodeOfConduct() *CodeOfConduct
- func (x *Repository) GetCodeowners() *RepositoryCodeowners
- func (x *Repository) GetCollaborators() *RepositoryCollaboratorConnection
- func (x *Repository) GetCommitComments() *CommitCommentConnection
- func (x *Repository) GetContactLinks() []*RepositoryContactLink
- func (x *Repository) GetCreatedAt() DateTime
- func (x *Repository) GetDatabaseId() int
- func (x *Repository) GetDefaultBranchRef() *Ref
- func (x *Repository) GetDeleteBranchOnMerge() bool
- func (x *Repository) GetDeployKeys() *DeployKeyConnection
- func (x *Repository) GetDeployments() *DeploymentConnection
- func (x *Repository) GetDescription() string
- func (x *Repository) GetDescriptionHTML() template.HTML
- func (x *Repository) GetDiscussion() *Discussion
- func (x *Repository) GetDiscussionCategories() *DiscussionCategoryConnection
- func (x *Repository) GetDiscussions() *DiscussionConnection
- func (x *Repository) GetDiskUsage() int
- func (x *Repository) GetEnvironment() *Environment
- func (x *Repository) GetEnvironments() *EnvironmentConnection
- func (x *Repository) GetForkCount() int
- func (x *Repository) GetForkingAllowed() bool
- func (x *Repository) GetForks() *RepositoryConnection
- func (x *Repository) GetFundingLinks() []*FundingLink
- func (x *Repository) GetHasIssuesEnabled() bool
- func (x *Repository) GetHasProjectsEnabled() bool
- func (x *Repository) GetHasWikiEnabled() bool
- func (x *Repository) GetHomepageUrl() URI
- func (x *Repository) GetId() ID
- func (x *Repository) GetInteractionAbility() *RepositoryInteractionAbility
- func (x *Repository) GetIsArchived() bool
- func (x *Repository) GetIsBlankIssuesEnabled() bool
- func (x *Repository) GetIsDisabled() bool
- func (x *Repository) GetIsEmpty() bool
- func (x *Repository) GetIsFork() bool
- func (x *Repository) GetIsInOrganization() bool
- func (x *Repository) GetIsLocked() bool
- func (x *Repository) GetIsMirror() bool
- func (x *Repository) GetIsPrivate() bool
- func (x *Repository) GetIsSecurityPolicyEnabled() bool
- func (x *Repository) GetIsTemplate() bool
- func (x *Repository) GetIsUserConfigurationRepository() bool
- func (x *Repository) GetIssue() *Issue
- func (x *Repository) GetIssueOrPullRequest() IssueOrPullRequest
- func (x *Repository) GetIssueTemplates() []*IssueTemplate
- func (x *Repository) GetIssues() *IssueConnection
- func (x *Repository) GetLabel() *Label
- func (x *Repository) GetLabels() *LabelConnection
- func (x *Repository) GetLanguages() *LanguageConnection
- func (x *Repository) GetLatestRelease() *Release
- func (x *Repository) GetLicenseInfo() *License
- func (x *Repository) GetLockReason() RepositoryLockReason
- func (x *Repository) GetMentionableUsers() *UserConnection
- func (x *Repository) GetMergeCommitAllowed() bool
- func (x *Repository) GetMilestone() *Milestone
- func (x *Repository) GetMilestones() *MilestoneConnection
- func (x *Repository) GetMirrorUrl() URI
- func (x *Repository) GetName() string
- func (x *Repository) GetNameWithOwner() string
- func (x *Repository) GetObject() GitObject
- func (x *Repository) GetOpenGraphImageUrl() URI
- func (x *Repository) GetOwner() RepositoryOwner
- func (x *Repository) GetPackages() *PackageConnection
- func (x *Repository) GetParent() *Repository
- func (x *Repository) GetPinnedDiscussions() *PinnedDiscussionConnection
- func (x *Repository) GetPinnedIssues() *PinnedIssueConnection
- func (x *Repository) GetPrimaryLanguage() *Language
- func (x *Repository) GetProject() *Project
- func (x *Repository) GetProjectNext() *ProjectNext
- func (x *Repository) GetProjectV2() *ProjectV2
- func (x *Repository) GetProjects() *ProjectConnection
- func (x *Repository) GetProjectsNext() *ProjectNextConnection
- func (x *Repository) GetProjectsResourcePath() URI
- func (x *Repository) GetProjectsUrl() URI
- func (x *Repository) GetProjectsV2() *ProjectV2Connection
- func (x *Repository) GetPullRequest() *PullRequest
- func (x *Repository) GetPullRequestTemplates() []*PullRequestTemplate
- func (x *Repository) GetPullRequests() *PullRequestConnection
- func (x *Repository) GetPushedAt() DateTime
- func (x *Repository) GetRebaseMergeAllowed() bool
- func (x *Repository) GetRecentProjects() *ProjectV2Connection
- func (x *Repository) GetRef() *Ref
- func (x *Repository) GetRefs() *RefConnection
- func (x *Repository) GetRelease() *Release
- func (x *Repository) GetReleases() *ReleaseConnection
- func (x *Repository) GetRepositoryTopics() *RepositoryTopicConnection
- func (x *Repository) GetResourcePath() URI
- func (x *Repository) GetSecurityPolicyUrl() URI
- func (x *Repository) GetShortDescriptionHTML() template.HTML
- func (x *Repository) GetSquashMergeAllowed() bool
- func (x *Repository) GetSquashPrTitleUsedAsDefault() bool
- func (x *Repository) GetSshUrl() GitSSHRemote
- func (x *Repository) GetStargazerCount() int
- func (x *Repository) GetStargazers() *StargazerConnection
- func (x *Repository) GetSubmodules() *SubmoduleConnection
- func (x *Repository) GetTempCloneToken() string
- func (x *Repository) GetTemplateRepository() *Repository
- func (x *Repository) GetUpdatedAt() DateTime
- func (x *Repository) GetUrl() URI
- func (x *Repository) GetUsesCustomOpenGraphImage() bool
- func (x *Repository) GetViewerCanAdminister() bool
- func (x *Repository) GetViewerCanCreateProjects() bool
- func (x *Repository) GetViewerCanSubscribe() bool
- func (x *Repository) GetViewerCanUpdateTopics() bool
- func (x *Repository) GetViewerDefaultCommitEmail() string
- func (x *Repository) GetViewerDefaultMergeMethod() PullRequestMergeMethod
- func (x *Repository) GetViewerHasStarred() bool
- func (x *Repository) GetViewerPermission() RepositoryPermission
- func (x *Repository) GetViewerPossibleCommitEmails() []string
- func (x *Repository) GetViewerSubscription() SubscriptionState
- func (x *Repository) GetVisibility() RepositoryVisibility
- func (x *Repository) GetVulnerabilityAlerts() *RepositoryVulnerabilityAlertConnection
- func (x *Repository) GetWatchers() *UserConnection
- type RepositoryAffiliation
- type RepositoryAuditEntryData
- type RepositoryAuditEntryData_Interface
- type RepositoryCodeowners
- type RepositoryCodeownersError
- func (x *RepositoryCodeownersError) GetColumn() int
- func (x *RepositoryCodeownersError) GetKind() string
- func (x *RepositoryCodeownersError) GetLine() int
- func (x *RepositoryCodeownersError) GetMessage() string
- func (x *RepositoryCodeownersError) GetPath() string
- func (x *RepositoryCodeownersError) GetSource() string
- func (x *RepositoryCodeownersError) GetSuggestion() string
- type RepositoryCollaboratorConnection
- type RepositoryCollaboratorEdge
- type RepositoryConnection
- type RepositoryContactLink
- type RepositoryContributionType
- type RepositoryDiscussionAuthor
- type RepositoryDiscussionAuthor_Interface
- type RepositoryDiscussionCommentAuthor
- type RepositoryDiscussionCommentAuthor_Interface
- type RepositoryEdge
- type RepositoryInfo
- type RepositoryInfo_Interface
- type RepositoryInteractionAbility
- type RepositoryInteractionLimit
- type RepositoryInteractionLimitExpiry
- type RepositoryInteractionLimitOrigin
- type RepositoryInvitation
- func (x *RepositoryInvitation) GetEmail() string
- func (x *RepositoryInvitation) GetId() ID
- func (x *RepositoryInvitation) GetInvitee() *User
- func (x *RepositoryInvitation) GetInviter() *User
- func (x *RepositoryInvitation) GetPermalink() URI
- func (x *RepositoryInvitation) GetPermission() RepositoryPermission
- func (x *RepositoryInvitation) GetRepository() RepositoryInfo
- type RepositoryInvitationConnection
- type RepositoryInvitationEdge
- type RepositoryInvitationOrder
- type RepositoryInvitationOrderField
- type RepositoryLockReason
- type RepositoryMigration
- func (x *RepositoryMigration) GetContinueOnError() bool
- func (x *RepositoryMigration) GetCreatedAt() DateTime
- func (x *RepositoryMigration) GetFailureReason() string
- func (x *RepositoryMigration) GetId() ID
- func (x *RepositoryMigration) GetMigrationLogUrl() URI
- func (x *RepositoryMigration) GetMigrationSource() *MigrationSource
- func (x *RepositoryMigration) GetRepositoryName() string
- func (x *RepositoryMigration) GetSourceUrl() URI
- func (x *RepositoryMigration) GetState() MigrationState
- type RepositoryMigrationConnection
- type RepositoryMigrationEdge
- type RepositoryMigrationOrder
- type RepositoryMigrationOrderDirection
- type RepositoryMigrationOrderField
- type RepositoryNode
- type RepositoryNode_Interface
- type RepositoryOrder
- type RepositoryOrderField
- type RepositoryOwner
- type RepositoryOwner_Interface
- type RepositoryPermission
- type RepositoryPrivacy
- type RepositoryTopic
- type RepositoryTopicConnection
- type RepositoryTopicEdge
- type RepositoryVisibility
- type RepositoryVisibilityChangeDisableAuditEntry
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetAction() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActor() AuditEntryActor
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorIp() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorUrl() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseUrl() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetId() ID
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOperationType() OperationType
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganization() *Organization
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationUrl() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUser() *User
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin() string
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath() URI
- func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserUrl() URI
- type RepositoryVisibilityChangeEnableAuditEntry
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetAction() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActor() AuditEntryActor
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorIp() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation() *ActorLocation
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorUrl() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseUrl() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetId() ID
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOperationType() OperationType
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganization() *Organization
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationUrl() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUser() *User
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin() string
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath() URI
- func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserUrl() URI
- type RepositoryVulnerabilityAlert
- func (x *RepositoryVulnerabilityAlert) GetCreatedAt() DateTime
- func (x *RepositoryVulnerabilityAlert) GetDependabotUpdate() *DependabotUpdate
- func (x *RepositoryVulnerabilityAlert) GetDependencyScope() RepositoryVulnerabilityAlertDependencyScope
- func (x *RepositoryVulnerabilityAlert) GetDismissReason() string
- func (x *RepositoryVulnerabilityAlert) GetDismissedAt() DateTime
- func (x *RepositoryVulnerabilityAlert) GetDismisser() *User
- func (x *RepositoryVulnerabilityAlert) GetFixReason() string
- func (x *RepositoryVulnerabilityAlert) GetFixedAt() DateTime
- func (x *RepositoryVulnerabilityAlert) GetId() ID
- func (x *RepositoryVulnerabilityAlert) GetNumber() int
- func (x *RepositoryVulnerabilityAlert) GetRepository() *Repository
- func (x *RepositoryVulnerabilityAlert) GetSecurityAdvisory() *SecurityAdvisory
- func (x *RepositoryVulnerabilityAlert) GetSecurityVulnerability() *SecurityVulnerability
- func (x *RepositoryVulnerabilityAlert) GetState() RepositoryVulnerabilityAlertState
- func (x *RepositoryVulnerabilityAlert) GetVulnerableManifestFilename() string
- func (x *RepositoryVulnerabilityAlert) GetVulnerableManifestPath() string
- func (x *RepositoryVulnerabilityAlert) GetVulnerableRequirements() string
- type RepositoryVulnerabilityAlertConnection
- func (x *RepositoryVulnerabilityAlertConnection) GetEdges() []*RepositoryVulnerabilityAlertEdge
- func (x *RepositoryVulnerabilityAlertConnection) GetNodes() []*RepositoryVulnerabilityAlert
- func (x *RepositoryVulnerabilityAlertConnection) GetPageInfo() *PageInfo
- func (x *RepositoryVulnerabilityAlertConnection) GetTotalCount() int
- type RepositoryVulnerabilityAlertDependencyScope
- type RepositoryVulnerabilityAlertEdge
- type RepositoryVulnerabilityAlertState
- type RequestReviewsInput
- type RequestReviewsPayload
- type RequestableCheckStatusState
- type RequestedReviewer
- type RequestedReviewerConnection
- type RequestedReviewerEdge
- type RequestedReviewer_Interface
- type RequirableByPullRequest
- type RequirableByPullRequest_Interface
- type RequiredStatusCheckDescription
- type RequiredStatusCheckInput
- type RerequestCheckSuiteInput
- type RerequestCheckSuitePayload
- type ResolveReviewThreadInput
- type ResolveReviewThreadPayload
- type RestrictedContribution
- type ReviewDismissalAllowance
- type ReviewDismissalAllowanceActor
- type ReviewDismissalAllowanceActor_Interface
- type ReviewDismissalAllowanceConnection
- func (x *ReviewDismissalAllowanceConnection) GetEdges() []*ReviewDismissalAllowanceEdge
- func (x *ReviewDismissalAllowanceConnection) GetNodes() []*ReviewDismissalAllowance
- func (x *ReviewDismissalAllowanceConnection) GetPageInfo() *PageInfo
- func (x *ReviewDismissalAllowanceConnection) GetTotalCount() int
- type ReviewDismissalAllowanceEdge
- type ReviewDismissedEvent
- func (x *ReviewDismissedEvent) GetActor() Actor
- func (x *ReviewDismissedEvent) GetCreatedAt() DateTime
- func (x *ReviewDismissedEvent) GetDatabaseId() int
- func (x *ReviewDismissedEvent) GetDismissalMessage() string
- func (x *ReviewDismissedEvent) GetDismissalMessageHTML() string
- func (x *ReviewDismissedEvent) GetId() ID
- func (x *ReviewDismissedEvent) GetPreviousReviewState() PullRequestReviewState
- func (x *ReviewDismissedEvent) GetPullRequest() *PullRequest
- func (x *ReviewDismissedEvent) GetPullRequestCommit() *PullRequestCommit
- func (x *ReviewDismissedEvent) GetResourcePath() URI
- func (x *ReviewDismissedEvent) GetReview() *PullRequestReview
- func (x *ReviewDismissedEvent) GetUrl() URI
- type ReviewRequest
- type ReviewRequestConnection
- type ReviewRequestEdge
- type ReviewRequestRemovedEvent
- func (x *ReviewRequestRemovedEvent) GetActor() Actor
- func (x *ReviewRequestRemovedEvent) GetCreatedAt() DateTime
- func (x *ReviewRequestRemovedEvent) GetId() ID
- func (x *ReviewRequestRemovedEvent) GetPullRequest() *PullRequest
- func (x *ReviewRequestRemovedEvent) GetRequestedReviewer() RequestedReviewer
- type ReviewRequestedEvent
- type ReviewStatusHovercardContext
- type RevokeEnterpriseOrganizationsMigratorRoleInput
- type RevokeEnterpriseOrganizationsMigratorRolePayload
- type RevokeMigratorRoleInput
- type RevokeMigratorRolePayload
- type RoleInOrganization
- type SamlDigestAlgorithm
- type SamlSignatureAlgorithm
- type SavedReply
- type SavedReplyConnection
- type SavedReplyEdge
- type SavedReplyOrder
- type SavedReplyOrderField
- type SearchResultItem
- type SearchResultItemConnection
- func (x *SearchResultItemConnection) GetCodeCount() int
- func (x *SearchResultItemConnection) GetDiscussionCount() int
- func (x *SearchResultItemConnection) GetEdges() []*SearchResultItemEdge
- func (x *SearchResultItemConnection) GetIssueCount() int
- func (x *SearchResultItemConnection) GetNodes() []SearchResultItem
- func (x *SearchResultItemConnection) GetPageInfo() *PageInfo
- func (x *SearchResultItemConnection) GetRepositoryCount() int
- func (x *SearchResultItemConnection) GetUserCount() int
- func (x *SearchResultItemConnection) GetWikiCount() int
- type SearchResultItemEdge
- type SearchResultItem_Interface
- type SearchType
- type SecurityAdvisory
- func (x *SecurityAdvisory) GetClassification() SecurityAdvisoryClassification
- func (x *SecurityAdvisory) GetCvss() *CVSS
- func (x *SecurityAdvisory) GetCwes() *CWEConnection
- func (x *SecurityAdvisory) GetDatabaseId() int
- func (x *SecurityAdvisory) GetDescription() string
- func (x *SecurityAdvisory) GetGhsaId() string
- func (x *SecurityAdvisory) GetId() ID
- func (x *SecurityAdvisory) GetIdentifiers() []*SecurityAdvisoryIdentifier
- func (x *SecurityAdvisory) GetNotificationsPermalink() URI
- func (x *SecurityAdvisory) GetOrigin() string
- func (x *SecurityAdvisory) GetPermalink() URI
- func (x *SecurityAdvisory) GetPublishedAt() DateTime
- func (x *SecurityAdvisory) GetReferences() []*SecurityAdvisoryReference
- func (x *SecurityAdvisory) GetSeverity() SecurityAdvisorySeverity
- func (x *SecurityAdvisory) GetSummary() string
- func (x *SecurityAdvisory) GetUpdatedAt() DateTime
- func (x *SecurityAdvisory) GetVulnerabilities() *SecurityVulnerabilityConnection
- func (x *SecurityAdvisory) GetWithdrawnAt() DateTime
- type SecurityAdvisoryClassification
- type SecurityAdvisoryConnection
- type SecurityAdvisoryEcosystem
- type SecurityAdvisoryEdge
- type SecurityAdvisoryIdentifier
- type SecurityAdvisoryIdentifierFilter
- type SecurityAdvisoryIdentifierType
- type SecurityAdvisoryOrder
- type SecurityAdvisoryOrderField
- type SecurityAdvisoryPackage
- type SecurityAdvisoryPackageVersion
- type SecurityAdvisoryReference
- type SecurityAdvisorySeverity
- type SecurityVulnerability
- func (x *SecurityVulnerability) GetAdvisory() *SecurityAdvisory
- func (x *SecurityVulnerability) GetFirstPatchedVersion() *SecurityAdvisoryPackageVersion
- func (x *SecurityVulnerability) GetPackage() *SecurityAdvisoryPackage
- func (x *SecurityVulnerability) GetSeverity() SecurityAdvisorySeverity
- func (x *SecurityVulnerability) GetUpdatedAt() DateTime
- func (x *SecurityVulnerability) GetVulnerableVersionRange() string
- type SecurityVulnerabilityConnection
- type SecurityVulnerabilityEdge
- type SecurityVulnerabilityOrder
- type SecurityVulnerabilityOrderField
- type SetEnterpriseIdentityProviderInput
- type SetEnterpriseIdentityProviderPayload
- type SetOrganizationInteractionLimitInput
- type SetOrganizationInteractionLimitPayload
- type SetRepositoryInteractionLimitInput
- type SetRepositoryInteractionLimitPayload
- type SetUserInteractionLimitInput
- type SetUserInteractionLimitPayload
- type SmimeSignature
- func (x *SmimeSignature) GetEmail() string
- func (x *SmimeSignature) GetIsValid() bool
- func (x *SmimeSignature) GetPayload() string
- func (x *SmimeSignature) GetSignature() string
- func (x *SmimeSignature) GetSigner() *User
- func (x *SmimeSignature) GetState() GitSignatureState
- func (x *SmimeSignature) GetWasSignedByGitHub() bool
- type SortBy
- type Sponsor
- type SponsorConnection
- type SponsorEdge
- type SponsorOrder
- type SponsorOrderField
- type Sponsor_Interface
- type Sponsorable
- type SponsorableItem
- type SponsorableItemConnection
- type SponsorableItemEdge
- type SponsorableItem_Interface
- type SponsorableOrder
- type SponsorableOrderField
- type Sponsorable_Interface
- type SponsorsActivity
- func (x *SponsorsActivity) GetAction() SponsorsActivityAction
- func (x *SponsorsActivity) GetId() ID
- func (x *SponsorsActivity) GetPreviousSponsorsTier() *SponsorsTier
- func (x *SponsorsActivity) GetSponsor() Sponsor
- func (x *SponsorsActivity) GetSponsorable() Sponsorable
- func (x *SponsorsActivity) GetSponsorsTier() *SponsorsTier
- func (x *SponsorsActivity) GetTimestamp() DateTime
- type SponsorsActivityAction
- type SponsorsActivityConnection
- type SponsorsActivityEdge
- type SponsorsActivityOrder
- type SponsorsActivityOrderField
- type SponsorsActivityPeriod
- type SponsorsGoal
- type SponsorsGoalKind
- type SponsorsListing
- func (x *SponsorsListing) GetActiveGoal() *SponsorsGoal
- func (x *SponsorsListing) GetCreatedAt() DateTime
- func (x *SponsorsListing) GetFullDescription() string
- func (x *SponsorsListing) GetFullDescriptionHTML() template.HTML
- func (x *SponsorsListing) GetId() ID
- func (x *SponsorsListing) GetIsPublic() bool
- func (x *SponsorsListing) GetName() string
- func (x *SponsorsListing) GetNextPayoutDate() Date
- func (x *SponsorsListing) GetShortDescription() string
- func (x *SponsorsListing) GetSlug() string
- func (x *SponsorsListing) GetSponsorable() Sponsorable
- func (x *SponsorsListing) GetTiers() *SponsorsTierConnection
- type SponsorsTier
- func (x *SponsorsTier) GetAdminInfo() *SponsorsTierAdminInfo
- func (x *SponsorsTier) GetClosestLesserValueTier() *SponsorsTier
- func (x *SponsorsTier) GetCreatedAt() DateTime
- func (x *SponsorsTier) GetDescription() string
- func (x *SponsorsTier) GetDescriptionHTML() template.HTML
- func (x *SponsorsTier) GetId() ID
- func (x *SponsorsTier) GetIsCustomAmount() bool
- func (x *SponsorsTier) GetIsOneTime() bool
- func (x *SponsorsTier) GetMonthlyPriceInCents() int
- func (x *SponsorsTier) GetMonthlyPriceInDollars() int
- func (x *SponsorsTier) GetName() string
- func (x *SponsorsTier) GetSponsorsListing() *SponsorsListing
- func (x *SponsorsTier) GetUpdatedAt() DateTime
- type SponsorsTierAdminInfo
- type SponsorsTierConnection
- type SponsorsTierEdge
- type SponsorsTierOrder
- type SponsorsTierOrderField
- type Sponsorship
- func (x *Sponsorship) GetCreatedAt() DateTime
- func (x *Sponsorship) GetId() ID
- func (x *Sponsorship) GetIsOneTimePayment() bool
- func (x *Sponsorship) GetIsSponsorOptedIntoEmail() bool
- func (x *Sponsorship) GetMaintainer() *User
- func (x *Sponsorship) GetPrivacyLevel() SponsorshipPrivacy
- func (x *Sponsorship) GetSponsor() *User
- func (x *Sponsorship) GetSponsorEntity() Sponsor
- func (x *Sponsorship) GetSponsorable() Sponsorable
- func (x *Sponsorship) GetTier() *SponsorsTier
- func (x *Sponsorship) GetTierSelectedAt() DateTime
- type SponsorshipConnection
- func (x *SponsorshipConnection) GetEdges() []*SponsorshipEdge
- func (x *SponsorshipConnection) GetNodes() []*Sponsorship
- func (x *SponsorshipConnection) GetPageInfo() *PageInfo
- func (x *SponsorshipConnection) GetTotalCount() int
- func (x *SponsorshipConnection) GetTotalRecurringMonthlyPriceInCents() int
- func (x *SponsorshipConnection) GetTotalRecurringMonthlyPriceInDollars() int
- type SponsorshipEdge
- type SponsorshipNewsletter
- func (x *SponsorshipNewsletter) GetBody() string
- func (x *SponsorshipNewsletter) GetCreatedAt() DateTime
- func (x *SponsorshipNewsletter) GetId() ID
- func (x *SponsorshipNewsletter) GetIsPublished() bool
- func (x *SponsorshipNewsletter) GetSponsorable() Sponsorable
- func (x *SponsorshipNewsletter) GetSubject() string
- func (x *SponsorshipNewsletter) GetUpdatedAt() DateTime
- type SponsorshipNewsletterConnection
- type SponsorshipNewsletterEdge
- type SponsorshipNewsletterOrder
- type SponsorshipNewsletterOrderField
- type SponsorshipOrder
- type SponsorshipOrderField
- type SponsorshipPrivacy
- type StarOrder
- type StarOrderField
- type StargazerConnection
- type StargazerEdge
- type Starrable
- type Starrable_Interface
- type StarredRepositoryConnection
- func (x *StarredRepositoryConnection) GetEdges() []*StarredRepositoryEdge
- func (x *StarredRepositoryConnection) GetIsOverLimit() bool
- func (x *StarredRepositoryConnection) GetNodes() []*Repository
- func (x *StarredRepositoryConnection) GetPageInfo() *PageInfo
- func (x *StarredRepositoryConnection) GetTotalCount() int
- type StarredRepositoryEdge
- type StartRepositoryMigrationInput
- type StartRepositoryMigrationPayload
- type Status
- type StatusCheckRollup
- type StatusCheckRollupContext
- type StatusCheckRollupContextConnection
- func (x *StatusCheckRollupContextConnection) GetEdges() []*StatusCheckRollupContextEdge
- func (x *StatusCheckRollupContextConnection) GetNodes() []StatusCheckRollupContext
- func (x *StatusCheckRollupContextConnection) GetPageInfo() *PageInfo
- func (x *StatusCheckRollupContextConnection) GetTotalCount() int
- type StatusCheckRollupContextEdge
- type StatusCheckRollupContext_Interface
- type StatusContext
- func (x *StatusContext) GetAvatarUrl() URI
- func (x *StatusContext) GetCommit() *Commit
- func (x *StatusContext) GetContext() string
- func (x *StatusContext) GetCreatedAt() DateTime
- func (x *StatusContext) GetCreator() Actor
- func (x *StatusContext) GetDescription() string
- func (x *StatusContext) GetId() ID
- func (x *StatusContext) GetIsRequired() bool
- func (x *StatusContext) GetState() StatusState
- func (x *StatusContext) GetTargetUrl() URI
- type StatusState
- type String
- type SubmitPullRequestReviewInput
- type SubmitPullRequestReviewPayload
- type Submodule
- type SubmoduleConnection
- type SubmoduleEdge
- type Subscribable
- type Subscribable_Interface
- type SubscribedEvent
- type SubscriptionState
- type SuggestedReviewer
- type Tag
- func (x *Tag) GetAbbreviatedOid() string
- func (x *Tag) GetCommitResourcePath() URI
- func (x *Tag) GetCommitUrl() URI
- func (x *Tag) GetId() ID
- func (x *Tag) GetMessage() string
- func (x *Tag) GetName() string
- func (x *Tag) GetOid() GitObjectID
- func (x *Tag) GetRepository() *Repository
- func (x *Tag) GetTagger() *GitActor
- func (x *Tag) GetTarget() GitObject
- type Team
- func (x *Team) GetAncestors() *TeamConnection
- func (x *Team) GetAvatarUrl() URI
- func (x *Team) GetChildTeams() *TeamConnection
- func (x *Team) GetCombinedSlug() string
- func (x *Team) GetCreatedAt() DateTime
- func (x *Team) GetDatabaseId() int
- func (x *Team) GetDescription() string
- func (x *Team) GetDiscussion() *TeamDiscussion
- func (x *Team) GetDiscussions() *TeamDiscussionConnection
- func (x *Team) GetDiscussionsResourcePath() URI
- func (x *Team) GetDiscussionsUrl() URI
- func (x *Team) GetEditTeamResourcePath() URI
- func (x *Team) GetEditTeamUrl() URI
- func (x *Team) GetId() ID
- func (x *Team) GetInvitations() *OrganizationInvitationConnection
- func (x *Team) GetMemberStatuses() *UserStatusConnection
- func (x *Team) GetMembers() *TeamMemberConnection
- func (x *Team) GetMembersResourcePath() URI
- func (x *Team) GetMembersUrl() URI
- func (x *Team) GetName() string
- func (x *Team) GetNewTeamResourcePath() URI
- func (x *Team) GetNewTeamUrl() URI
- func (x *Team) GetOrganization() *Organization
- func (x *Team) GetParentTeam() *Team
- func (x *Team) GetPrivacy() TeamPrivacy
- func (x *Team) GetRepositories() *TeamRepositoryConnection
- func (x *Team) GetRepositoriesResourcePath() URI
- func (x *Team) GetRepositoriesUrl() URI
- func (x *Team) GetResourcePath() URI
- func (x *Team) GetSlug() string
- func (x *Team) GetTeamsResourcePath() URI
- func (x *Team) GetTeamsUrl() URI
- func (x *Team) GetUpdatedAt() DateTime
- func (x *Team) GetUrl() URI
- func (x *Team) GetViewerCanAdminister() bool
- func (x *Team) GetViewerCanSubscribe() bool
- func (x *Team) GetViewerSubscription() SubscriptionState
- type TeamAddMemberAuditEntry
- func (x *TeamAddMemberAuditEntry) GetAction() string
- func (x *TeamAddMemberAuditEntry) GetActor() AuditEntryActor
- func (x *TeamAddMemberAuditEntry) GetActorIp() string
- func (x *TeamAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *TeamAddMemberAuditEntry) GetActorLogin() string
- func (x *TeamAddMemberAuditEntry) GetActorResourcePath() URI
- func (x *TeamAddMemberAuditEntry) GetActorUrl() URI
- func (x *TeamAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *TeamAddMemberAuditEntry) GetId() ID
- func (x *TeamAddMemberAuditEntry) GetIsLdapMapped() bool
- func (x *TeamAddMemberAuditEntry) GetOperationType() OperationType
- func (x *TeamAddMemberAuditEntry) GetOrganization() *Organization
- func (x *TeamAddMemberAuditEntry) GetOrganizationName() string
- func (x *TeamAddMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *TeamAddMemberAuditEntry) GetOrganizationUrl() URI
- func (x *TeamAddMemberAuditEntry) GetTeam() *Team
- func (x *TeamAddMemberAuditEntry) GetTeamName() string
- func (x *TeamAddMemberAuditEntry) GetTeamResourcePath() URI
- func (x *TeamAddMemberAuditEntry) GetTeamUrl() URI
- func (x *TeamAddMemberAuditEntry) GetUser() *User
- func (x *TeamAddMemberAuditEntry) GetUserLogin() string
- func (x *TeamAddMemberAuditEntry) GetUserResourcePath() URI
- func (x *TeamAddMemberAuditEntry) GetUserUrl() URI
- type TeamAddRepositoryAuditEntry
- func (x *TeamAddRepositoryAuditEntry) GetAction() string
- func (x *TeamAddRepositoryAuditEntry) GetActor() AuditEntryActor
- func (x *TeamAddRepositoryAuditEntry) GetActorIp() string
- func (x *TeamAddRepositoryAuditEntry) GetActorLocation() *ActorLocation
- func (x *TeamAddRepositoryAuditEntry) GetActorLogin() string
- func (x *TeamAddRepositoryAuditEntry) GetActorResourcePath() URI
- func (x *TeamAddRepositoryAuditEntry) GetActorUrl() URI
- func (x *TeamAddRepositoryAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *TeamAddRepositoryAuditEntry) GetId() ID
- func (x *TeamAddRepositoryAuditEntry) GetIsLdapMapped() bool
- func (x *TeamAddRepositoryAuditEntry) GetOperationType() OperationType
- func (x *TeamAddRepositoryAuditEntry) GetOrganization() *Organization
- func (x *TeamAddRepositoryAuditEntry) GetOrganizationName() string
- func (x *TeamAddRepositoryAuditEntry) GetOrganizationResourcePath() URI
- func (x *TeamAddRepositoryAuditEntry) GetOrganizationUrl() URI
- func (x *TeamAddRepositoryAuditEntry) GetRepository() *Repository
- func (x *TeamAddRepositoryAuditEntry) GetRepositoryName() string
- func (x *TeamAddRepositoryAuditEntry) GetRepositoryResourcePath() URI
- func (x *TeamAddRepositoryAuditEntry) GetRepositoryUrl() URI
- func (x *TeamAddRepositoryAuditEntry) GetTeam() *Team
- func (x *TeamAddRepositoryAuditEntry) GetTeamName() string
- func (x *TeamAddRepositoryAuditEntry) GetTeamResourcePath() URI
- func (x *TeamAddRepositoryAuditEntry) GetTeamUrl() URI
- func (x *TeamAddRepositoryAuditEntry) GetUser() *User
- func (x *TeamAddRepositoryAuditEntry) GetUserLogin() string
- func (x *TeamAddRepositoryAuditEntry) GetUserResourcePath() URI
- func (x *TeamAddRepositoryAuditEntry) GetUserUrl() URI
- type TeamAuditEntryData
- type TeamAuditEntryData_Interface
- type TeamChangeParentTeamAuditEntry
- func (x *TeamChangeParentTeamAuditEntry) GetAction() string
- func (x *TeamChangeParentTeamAuditEntry) GetActor() AuditEntryActor
- func (x *TeamChangeParentTeamAuditEntry) GetActorIp() string
- func (x *TeamChangeParentTeamAuditEntry) GetActorLocation() *ActorLocation
- func (x *TeamChangeParentTeamAuditEntry) GetActorLogin() string
- func (x *TeamChangeParentTeamAuditEntry) GetActorResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetActorUrl() URI
- func (x *TeamChangeParentTeamAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *TeamChangeParentTeamAuditEntry) GetId() ID
- func (x *TeamChangeParentTeamAuditEntry) GetIsLdapMapped() bool
- func (x *TeamChangeParentTeamAuditEntry) GetOperationType() OperationType
- func (x *TeamChangeParentTeamAuditEntry) GetOrganization() *Organization
- func (x *TeamChangeParentTeamAuditEntry) GetOrganizationName() string
- func (x *TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetOrganizationUrl() URI
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeam() *Team
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamName() string
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamNameWas() string
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamUrl() URI
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWas() *Team
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWasResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWasUrl() URI
- func (x *TeamChangeParentTeamAuditEntry) GetTeam() *Team
- func (x *TeamChangeParentTeamAuditEntry) GetTeamName() string
- func (x *TeamChangeParentTeamAuditEntry) GetTeamResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetTeamUrl() URI
- func (x *TeamChangeParentTeamAuditEntry) GetUser() *User
- func (x *TeamChangeParentTeamAuditEntry) GetUserLogin() string
- func (x *TeamChangeParentTeamAuditEntry) GetUserResourcePath() URI
- func (x *TeamChangeParentTeamAuditEntry) GetUserUrl() URI
- type TeamConnection
- type TeamDiscussion
- func (x *TeamDiscussion) GetAuthor() Actor
- func (x *TeamDiscussion) GetAuthorAssociation() CommentAuthorAssociation
- func (x *TeamDiscussion) GetBody() string
- func (x *TeamDiscussion) GetBodyHTML() template.HTML
- func (x *TeamDiscussion) GetBodyText() string
- func (x *TeamDiscussion) GetBodyVersion() string
- func (x *TeamDiscussion) GetComments() *TeamDiscussionCommentConnection
- func (x *TeamDiscussion) GetCommentsResourcePath() URI
- func (x *TeamDiscussion) GetCommentsUrl() URI
- func (x *TeamDiscussion) GetCreatedAt() DateTime
- func (x *TeamDiscussion) GetCreatedViaEmail() bool
- func (x *TeamDiscussion) GetDatabaseId() int
- func (x *TeamDiscussion) GetEditor() Actor
- func (x *TeamDiscussion) GetId() ID
- func (x *TeamDiscussion) GetIncludesCreatedEdit() bool
- func (x *TeamDiscussion) GetIsPinned() bool
- func (x *TeamDiscussion) GetIsPrivate() bool
- func (x *TeamDiscussion) GetLastEditedAt() DateTime
- func (x *TeamDiscussion) GetNumber() int
- func (x *TeamDiscussion) GetPublishedAt() DateTime
- func (x *TeamDiscussion) GetReactionGroups() []*ReactionGroup
- func (x *TeamDiscussion) GetReactions() *ReactionConnection
- func (x *TeamDiscussion) GetResourcePath() URI
- func (x *TeamDiscussion) GetTeam() *Team
- func (x *TeamDiscussion) GetTitle() string
- func (x *TeamDiscussion) GetUpdatedAt() DateTime
- func (x *TeamDiscussion) GetUrl() URI
- func (x *TeamDiscussion) GetUserContentEdits() *UserContentEditConnection
- func (x *TeamDiscussion) GetViewerCanDelete() bool
- func (x *TeamDiscussion) GetViewerCanPin() bool
- func (x *TeamDiscussion) GetViewerCanReact() bool
- func (x *TeamDiscussion) GetViewerCanSubscribe() bool
- func (x *TeamDiscussion) GetViewerCanUpdate() bool
- func (x *TeamDiscussion) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *TeamDiscussion) GetViewerDidAuthor() bool
- func (x *TeamDiscussion) GetViewerSubscription() SubscriptionState
- type TeamDiscussionComment
- func (x *TeamDiscussionComment) GetAuthor() Actor
- func (x *TeamDiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
- func (x *TeamDiscussionComment) GetBody() string
- func (x *TeamDiscussionComment) GetBodyHTML() template.HTML
- func (x *TeamDiscussionComment) GetBodyText() string
- func (x *TeamDiscussionComment) GetBodyVersion() string
- func (x *TeamDiscussionComment) GetCreatedAt() DateTime
- func (x *TeamDiscussionComment) GetCreatedViaEmail() bool
- func (x *TeamDiscussionComment) GetDatabaseId() int
- func (x *TeamDiscussionComment) GetDiscussion() *TeamDiscussion
- func (x *TeamDiscussionComment) GetEditor() Actor
- func (x *TeamDiscussionComment) GetId() ID
- func (x *TeamDiscussionComment) GetIncludesCreatedEdit() bool
- func (x *TeamDiscussionComment) GetLastEditedAt() DateTime
- func (x *TeamDiscussionComment) GetNumber() int
- func (x *TeamDiscussionComment) GetPublishedAt() DateTime
- func (x *TeamDiscussionComment) GetReactionGroups() []*ReactionGroup
- func (x *TeamDiscussionComment) GetReactions() *ReactionConnection
- func (x *TeamDiscussionComment) GetResourcePath() URI
- func (x *TeamDiscussionComment) GetUpdatedAt() DateTime
- func (x *TeamDiscussionComment) GetUrl() URI
- func (x *TeamDiscussionComment) GetUserContentEdits() *UserContentEditConnection
- func (x *TeamDiscussionComment) GetViewerCanDelete() bool
- func (x *TeamDiscussionComment) GetViewerCanReact() bool
- func (x *TeamDiscussionComment) GetViewerCanUpdate() bool
- func (x *TeamDiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (x *TeamDiscussionComment) GetViewerDidAuthor() bool
- type TeamDiscussionCommentConnection
- type TeamDiscussionCommentEdge
- type TeamDiscussionCommentOrder
- type TeamDiscussionCommentOrderField
- type TeamDiscussionConnection
- type TeamDiscussionEdge
- type TeamDiscussionOrder
- type TeamDiscussionOrderField
- type TeamEdge
- type TeamMemberConnection
- type TeamMemberEdge
- type TeamMemberOrder
- type TeamMemberOrderField
- type TeamMemberRole
- type TeamMembershipType
- type TeamOrder
- type TeamOrderField
- type TeamPrivacy
- type TeamRemoveMemberAuditEntry
- func (x *TeamRemoveMemberAuditEntry) GetAction() string
- func (x *TeamRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (x *TeamRemoveMemberAuditEntry) GetActorIp() string
- func (x *TeamRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (x *TeamRemoveMemberAuditEntry) GetActorLogin() string
- func (x *TeamRemoveMemberAuditEntry) GetActorResourcePath() URI
- func (x *TeamRemoveMemberAuditEntry) GetActorUrl() URI
- func (x *TeamRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *TeamRemoveMemberAuditEntry) GetId() ID
- func (x *TeamRemoveMemberAuditEntry) GetIsLdapMapped() bool
- func (x *TeamRemoveMemberAuditEntry) GetOperationType() OperationType
- func (x *TeamRemoveMemberAuditEntry) GetOrganization() *Organization
- func (x *TeamRemoveMemberAuditEntry) GetOrganizationName() string
- func (x *TeamRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
- func (x *TeamRemoveMemberAuditEntry) GetOrganizationUrl() URI
- func (x *TeamRemoveMemberAuditEntry) GetTeam() *Team
- func (x *TeamRemoveMemberAuditEntry) GetTeamName() string
- func (x *TeamRemoveMemberAuditEntry) GetTeamResourcePath() URI
- func (x *TeamRemoveMemberAuditEntry) GetTeamUrl() URI
- func (x *TeamRemoveMemberAuditEntry) GetUser() *User
- func (x *TeamRemoveMemberAuditEntry) GetUserLogin() string
- func (x *TeamRemoveMemberAuditEntry) GetUserResourcePath() URI
- func (x *TeamRemoveMemberAuditEntry) GetUserUrl() URI
- type TeamRemoveRepositoryAuditEntry
- func (x *TeamRemoveRepositoryAuditEntry) GetAction() string
- func (x *TeamRemoveRepositoryAuditEntry) GetActor() AuditEntryActor
- func (x *TeamRemoveRepositoryAuditEntry) GetActorIp() string
- func (x *TeamRemoveRepositoryAuditEntry) GetActorLocation() *ActorLocation
- func (x *TeamRemoveRepositoryAuditEntry) GetActorLogin() string
- func (x *TeamRemoveRepositoryAuditEntry) GetActorResourcePath() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetActorUrl() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetCreatedAt() PreciseDateTime
- func (x *TeamRemoveRepositoryAuditEntry) GetId() ID
- func (x *TeamRemoveRepositoryAuditEntry) GetIsLdapMapped() bool
- func (x *TeamRemoveRepositoryAuditEntry) GetOperationType() OperationType
- func (x *TeamRemoveRepositoryAuditEntry) GetOrganization() *Organization
- func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationName() string
- func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationUrl() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetRepository() *Repository
- func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryName() string
- func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryUrl() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetTeam() *Team
- func (x *TeamRemoveRepositoryAuditEntry) GetTeamName() string
- func (x *TeamRemoveRepositoryAuditEntry) GetTeamResourcePath() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetTeamUrl() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetUser() *User
- func (x *TeamRemoveRepositoryAuditEntry) GetUserLogin() string
- func (x *TeamRemoveRepositoryAuditEntry) GetUserResourcePath() URI
- func (x *TeamRemoveRepositoryAuditEntry) GetUserUrl() URI
- type TeamRepositoryConnection
- type TeamRepositoryEdge
- type TeamRepositoryOrder
- type TeamRepositoryOrderField
- type TeamRole
- type TextMatch
- type TextMatchHighlight
- type Topic
- type TopicAuditEntryData
- type TopicAuditEntryData_Interface
- type TopicSuggestionDeclineReason
- type TrackedIssueStates
- type TransferIssueInput
- type TransferIssuePayload
- type TransferredEvent
- type Tree
- type TreeEntry
- func (x *TreeEntry) GetExtension() string
- func (x *TreeEntry) GetIsGenerated() bool
- func (x *TreeEntry) GetLineCount() int
- func (x *TreeEntry) GetMode() int
- func (x *TreeEntry) GetName() string
- func (x *TreeEntry) GetObject() GitObject
- func (x *TreeEntry) GetOid() GitObjectID
- func (x *TreeEntry) GetPath() string
- func (x *TreeEntry) GetRepository() *Repository
- func (x *TreeEntry) GetSize() int
- func (x *TreeEntry) GetSubmodule() *Submodule
- func (x *TreeEntry) GetType() string
- type URI
- type UnarchiveRepositoryInput
- type UnarchiveRepositoryPayload
- type UnassignedEvent
- type UnfollowOrganizationInput
- type UnfollowOrganizationPayload
- type UnfollowUserInput
- type UnfollowUserPayload
- type UniformResourceLocatable
- type UniformResourceLocatable_Interface
- type UnknownSignature
- func (x *UnknownSignature) GetEmail() string
- func (x *UnknownSignature) GetIsValid() bool
- func (x *UnknownSignature) GetPayload() string
- func (x *UnknownSignature) GetSignature() string
- func (x *UnknownSignature) GetSigner() *User
- func (x *UnknownSignature) GetState() GitSignatureState
- func (x *UnknownSignature) GetWasSignedByGitHub() bool
- type UnlabeledEvent
- type UnlinkRepositoryFromProjectInput
- type UnlinkRepositoryFromProjectPayload
- type UnlockLockableInput
- type UnlockLockablePayload
- type UnlockedEvent
- type UnmarkDiscussionCommentAsAnswerInput
- type UnmarkDiscussionCommentAsAnswerPayload
- type UnmarkFileAsViewedInput
- type UnmarkFileAsViewedPayload
- type UnmarkIssueAsDuplicateInput
- type UnmarkIssueAsDuplicatePayload
- type UnmarkedAsDuplicateEvent
- func (x *UnmarkedAsDuplicateEvent) GetActor() Actor
- func (x *UnmarkedAsDuplicateEvent) GetCanonical() IssueOrPullRequest
- func (x *UnmarkedAsDuplicateEvent) GetCreatedAt() DateTime
- func (x *UnmarkedAsDuplicateEvent) GetDuplicate() IssueOrPullRequest
- func (x *UnmarkedAsDuplicateEvent) GetId() ID
- func (x *UnmarkedAsDuplicateEvent) GetIsCrossRepository() bool
- type UnminimizeCommentInput
- type UnminimizeCommentPayload
- type UnpinIssueInput
- type UnpinIssuePayload
- type UnpinnedEvent
- type UnresolveReviewThreadInput
- type UnresolveReviewThreadPayload
- type UnsubscribedEvent
- type Updatable
- type UpdatableComment
- type UpdatableComment_Interface
- type Updatable_Interface
- type UpdateBranchProtectionRuleInput
- type UpdateBranchProtectionRulePayload
- type UpdateCheckRunInput
- type UpdateCheckRunPayload
- type UpdateCheckSuitePreferencesInput
- type UpdateCheckSuitePreferencesPayload
- type UpdateDiscussionCommentInput
- type UpdateDiscussionCommentPayload
- type UpdateDiscussionInput
- type UpdateDiscussionPayload
- type UpdateEnterpriseAdministratorRoleInput
- type UpdateEnterpriseAdministratorRolePayload
- type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput
- type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
- type UpdateEnterpriseDefaultRepositoryPermissionSettingInput
- type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload
- type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput
- type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload
- func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetClientMutationId() string
- func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetEnterprise() *Enterprise
- func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetMessage() string
- type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput
- type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload
- type UpdateEnterpriseMembersCanDeleteIssuesSettingInput
- type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload
- type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput
- type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload
- type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput
- type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload
- type UpdateEnterpriseMembersCanMakePurchasesSettingInput
- type UpdateEnterpriseMembersCanMakePurchasesSettingPayload
- type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput
- type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload
- type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput
- type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload
- type UpdateEnterpriseOrganizationProjectsSettingInput
- type UpdateEnterpriseOrganizationProjectsSettingPayload
- type UpdateEnterpriseOwnerOrganizationRoleInput
- type UpdateEnterpriseOwnerOrganizationRolePayload
- type UpdateEnterpriseProfileInput
- type UpdateEnterpriseProfilePayload
- type UpdateEnterpriseRepositoryProjectsSettingInput
- type UpdateEnterpriseRepositoryProjectsSettingPayload
- type UpdateEnterpriseTeamDiscussionsSettingInput
- type UpdateEnterpriseTeamDiscussionsSettingPayload
- type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput
- type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload
- type UpdateEnvironmentInput
- type UpdateEnvironmentPayload
- type UpdateIpAllowListEnabledSettingInput
- type UpdateIpAllowListEnabledSettingPayload
- type UpdateIpAllowListEntryInput
- type UpdateIpAllowListEntryPayload
- type UpdateIpAllowListForInstalledAppsEnabledSettingInput
- type UpdateIpAllowListForInstalledAppsEnabledSettingPayload
- type UpdateIssueCommentInput
- type UpdateIssueCommentPayload
- type UpdateIssueInput
- type UpdateIssuePayload
- type UpdateNotificationRestrictionSettingInput
- type UpdateNotificationRestrictionSettingPayload
- type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput
- type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
- type UpdateProjectCardInput
- type UpdateProjectCardPayload
- type UpdateProjectColumnInput
- type UpdateProjectColumnPayload
- type UpdateProjectDraftIssueInput
- type UpdateProjectDraftIssuePayload
- type UpdateProjectInput
- type UpdateProjectNextInput
- type UpdateProjectNextItemFieldInput
- type UpdateProjectNextItemFieldPayload
- type UpdateProjectNextPayload
- type UpdateProjectPayload
- type UpdateProjectV2DraftIssueInput
- type UpdateProjectV2DraftIssuePayload
- type UpdateProjectV2Input
- type UpdateProjectV2ItemFieldValueInput
- type UpdateProjectV2ItemFieldValuePayload
- type UpdateProjectV2ItemPositionInput
- type UpdateProjectV2ItemPositionPayload
- type UpdateProjectV2Payload
- type UpdatePullRequestBranchInput
- type UpdatePullRequestBranchPayload
- type UpdatePullRequestInput
- type UpdatePullRequestPayload
- type UpdatePullRequestReviewCommentInput
- type UpdatePullRequestReviewCommentPayload
- type UpdatePullRequestReviewInput
- type UpdatePullRequestReviewPayload
- type UpdateRefInput
- type UpdateRefPayload
- type UpdateRepositoryInput
- type UpdateRepositoryPayload
- type UpdateSponsorshipPreferencesInput
- type UpdateSponsorshipPreferencesPayload
- type UpdateSubscriptionInput
- type UpdateSubscriptionPayload
- type UpdateTeamDiscussionCommentInput
- type UpdateTeamDiscussionCommentPayload
- type UpdateTeamDiscussionInput
- type UpdateTeamDiscussionPayload
- type UpdateTeamsRepositoryInput
- type UpdateTeamsRepositoryPayload
- type UpdateTopicsInput
- type UpdateTopicsPayload
- type User
- func (x *User) GetAnyPinnableItems() bool
- func (x *User) GetAvatarUrl() URI
- func (x *User) GetBio() string
- func (x *User) GetBioHTML() template.HTML
- func (x *User) GetCanReceiveOrganizationEmailsWhenNotificationsRestricted() bool
- func (x *User) GetCommitComments() *CommitCommentConnection
- func (x *User) GetCompany() string
- func (x *User) GetCompanyHTML() template.HTML
- func (x *User) GetContributionsCollection() *ContributionsCollection
- func (x *User) GetCreatedAt() DateTime
- func (x *User) GetDatabaseId() int
- func (x *User) GetEmail() string
- func (x *User) GetEstimatedNextSponsorsPayoutInCents() int
- func (x *User) GetFollowers() *FollowerConnection
- func (x *User) GetFollowing() *FollowingConnection
- func (x *User) GetGist() *Gist
- func (x *User) GetGistComments() *GistCommentConnection
- func (x *User) GetGists() *GistConnection
- func (x *User) GetHasSponsorsListing() bool
- func (x *User) GetHovercard() *Hovercard
- func (x *User) GetId() ID
- func (x *User) GetInteractionAbility() *RepositoryInteractionAbility
- func (x *User) GetIsBountyHunter() bool
- func (x *User) GetIsCampusExpert() bool
- func (x *User) GetIsDeveloperProgramMember() bool
- func (x *User) GetIsEmployee() bool
- func (x *User) GetIsFollowingViewer() bool
- func (x *User) GetIsGitHubStar() bool
- func (x *User) GetIsHireable() bool
- func (x *User) GetIsSiteAdmin() bool
- func (x *User) GetIsSponsoredBy() bool
- func (x *User) GetIsSponsoringViewer() bool
- func (x *User) GetIsViewer() bool
- func (x *User) GetIssueComments() *IssueCommentConnection
- func (x *User) GetIssues() *IssueConnection
- func (x *User) GetItemShowcase() *ProfileItemShowcase
- func (x *User) GetLocation() string
- func (x *User) GetLogin() string
- func (x *User) GetMonthlyEstimatedSponsorsIncomeInCents() int
- func (x *User) GetName() string
- func (x *User) GetOrganization() *Organization
- func (x *User) GetOrganizationVerifiedDomainEmails() []string
- func (x *User) GetOrganizations() *OrganizationConnection
- func (x *User) GetPackages() *PackageConnection
- func (x *User) GetPinnableItems() *PinnableItemConnection
- func (x *User) GetPinnedItems() *PinnableItemConnection
- func (x *User) GetPinnedItemsRemaining() int
- func (x *User) GetProject() *Project
- func (x *User) GetProjectNext() *ProjectNext
- func (x *User) GetProjectV2() *ProjectV2
- func (x *User) GetProjects() *ProjectConnection
- func (x *User) GetProjectsNext() *ProjectNextConnection
- func (x *User) GetProjectsResourcePath() URI
- func (x *User) GetProjectsUrl() URI
- func (x *User) GetProjectsV2() *ProjectV2Connection
- func (x *User) GetPublicKeys() *PublicKeyConnection
- func (x *User) GetPullRequests() *PullRequestConnection
- func (x *User) GetRecentProjects() *ProjectV2Connection
- func (x *User) GetRepositories() *RepositoryConnection
- func (x *User) GetRepositoriesContributedTo() *RepositoryConnection
- func (x *User) GetRepository() *Repository
- func (x *User) GetRepositoryDiscussionComments() *DiscussionCommentConnection
- func (x *User) GetRepositoryDiscussions() *DiscussionConnection
- func (x *User) GetResourcePath() URI
- func (x *User) GetSavedReplies() *SavedReplyConnection
- func (x *User) GetSponsoring() *SponsorConnection
- func (x *User) GetSponsors() *SponsorConnection
- func (x *User) GetSponsorsActivities() *SponsorsActivityConnection
- func (x *User) GetSponsorsListing() *SponsorsListing
- func (x *User) GetSponsorshipForViewerAsSponsor() *Sponsorship
- func (x *User) GetSponsorshipForViewerAsSponsorable() *Sponsorship
- func (x *User) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
- func (x *User) GetSponsorshipsAsMaintainer() *SponsorshipConnection
- func (x *User) GetSponsorshipsAsSponsor() *SponsorshipConnection
- func (x *User) GetStarredRepositories() *StarredRepositoryConnection
- func (x *User) GetStatus() *UserStatus
- func (x *User) GetTopRepositories() *RepositoryConnection
- func (x *User) GetTwitterUsername() string
- func (x *User) GetUpdatedAt() DateTime
- func (x *User) GetUrl() URI
- func (x *User) GetViewerCanChangePinnedItems() bool
- func (x *User) GetViewerCanCreateProjects() bool
- func (x *User) GetViewerCanFollow() bool
- func (x *User) GetViewerCanSponsor() bool
- func (x *User) GetViewerIsFollowing() bool
- func (x *User) GetViewerIsSponsoring() bool
- func (x *User) GetWatching() *RepositoryConnection
- func (x *User) GetWebsiteUrl() URI
- type UserBlockDuration
- type UserBlockedEvent
- type UserConnection
- type UserContentEdit
- func (x *UserContentEdit) GetCreatedAt() DateTime
- func (x *UserContentEdit) GetDeletedAt() DateTime
- func (x *UserContentEdit) GetDeletedBy() Actor
- func (x *UserContentEdit) GetDiff() string
- func (x *UserContentEdit) GetEditedAt() DateTime
- func (x *UserContentEdit) GetEditor() Actor
- func (x *UserContentEdit) GetId() ID
- func (x *UserContentEdit) GetUpdatedAt() DateTime
- type UserContentEditConnection
- type UserContentEditEdge
- type UserEdge
- type UserEmailMetadata
- type UserStatus
- func (x *UserStatus) GetCreatedAt() DateTime
- func (x *UserStatus) GetEmoji() string
- func (x *UserStatus) GetEmojiHTML() template.HTML
- func (x *UserStatus) GetExpiresAt() DateTime
- func (x *UserStatus) GetId() ID
- func (x *UserStatus) GetIndicatesLimitedAvailability() bool
- func (x *UserStatus) GetMessage() string
- func (x *UserStatus) GetOrganization() *Organization
- func (x *UserStatus) GetUpdatedAt() DateTime
- func (x *UserStatus) GetUser() *User
- type UserStatusConnection
- type UserStatusEdge
- type UserStatusOrder
- type UserStatusOrderField
- type VerifiableDomain
- func (x *VerifiableDomain) GetCreatedAt() DateTime
- func (x *VerifiableDomain) GetDatabaseId() int
- func (x *VerifiableDomain) GetDnsHostName() URI
- func (x *VerifiableDomain) GetDomain() URI
- func (x *VerifiableDomain) GetHasFoundHostName() bool
- func (x *VerifiableDomain) GetHasFoundVerificationToken() bool
- func (x *VerifiableDomain) GetId() ID
- func (x *VerifiableDomain) GetIsApproved() bool
- func (x *VerifiableDomain) GetIsRequiredForPolicyEnforcement() bool
- func (x *VerifiableDomain) GetIsVerified() bool
- func (x *VerifiableDomain) GetOwner() VerifiableDomainOwner
- func (x *VerifiableDomain) GetPunycodeEncodedDomain() URI
- func (x *VerifiableDomain) GetTokenExpirationTime() DateTime
- func (x *VerifiableDomain) GetUpdatedAt() DateTime
- func (x *VerifiableDomain) GetVerificationToken() string
- type VerifiableDomainConnection
- type VerifiableDomainEdge
- type VerifiableDomainOrder
- type VerifiableDomainOrderField
- type VerifiableDomainOwner
- type VerifiableDomainOwner_Interface
- type VerifyVerifiableDomainInput
- type VerifyVerifiableDomainPayload
- type ViewerHovercardContext
- type Votable
- type Votable_Interface
- type Workflow
- type WorkflowRun
- func (x *WorkflowRun) GetCheckSuite() *CheckSuite
- func (x *WorkflowRun) GetCreatedAt() DateTime
- func (x *WorkflowRun) GetDatabaseId() int
- func (x *WorkflowRun) GetDeploymentReviews() *DeploymentReviewConnection
- func (x *WorkflowRun) GetId() ID
- func (x *WorkflowRun) GetPendingDeploymentRequests() *DeploymentRequestConnection
- func (x *WorkflowRun) GetResourcePath() URI
- func (x *WorkflowRun) GetRunNumber() int
- func (x *WorkflowRun) GetUpdatedAt() DateTime
- func (x *WorkflowRun) GetUrl() URI
- func (x *WorkflowRun) GetWorkflow() *Workflow
- type X509Certificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortQueuedMigrationsInput ¶
type AbortQueuedMigrationsInput struct {
// OwnerId: The ID of the organization that is running the migrations.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AbortQueuedMigrationsInput (INPUT_OBJECT): Autogenerated input type of AbortQueuedMigrations.
type AbortQueuedMigrationsPayload ¶
type AbortQueuedMigrationsPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Success: Did the operation succeed?.
Success bool `json:"success,omitempty"`
}
AbortQueuedMigrationsPayload (OBJECT): Autogenerated return type of AbortQueuedMigrations.
func (*AbortQueuedMigrationsPayload) GetClientMutationId ¶
func (x *AbortQueuedMigrationsPayload) GetClientMutationId() string
func (*AbortQueuedMigrationsPayload) GetSuccess ¶
func (x *AbortQueuedMigrationsPayload) GetSuccess() bool
type AcceptEnterpriseAdministratorInvitationInput ¶
type AcceptEnterpriseAdministratorInvitationInput struct {
// InvitationId: The id of the invitation being accepted.
//
// GraphQL type: ID!
InvitationId ID `json:"invitationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AcceptEnterpriseAdministratorInvitationInput (INPUT_OBJECT): Autogenerated input type of AcceptEnterpriseAdministratorInvitation.
type AcceptEnterpriseAdministratorInvitationPayload ¶
type AcceptEnterpriseAdministratorInvitationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Invitation: The invitation that was accepted.
Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
// Message: A message confirming the result of accepting an administrator invitation.
Message string `json:"message,omitempty"`
}
AcceptEnterpriseAdministratorInvitationPayload (OBJECT): Autogenerated return type of AcceptEnterpriseAdministratorInvitation.
func (*AcceptEnterpriseAdministratorInvitationPayload) GetClientMutationId ¶
func (x *AcceptEnterpriseAdministratorInvitationPayload) GetClientMutationId() string
func (*AcceptEnterpriseAdministratorInvitationPayload) GetInvitation ¶
func (x *AcceptEnterpriseAdministratorInvitationPayload) GetInvitation() *EnterpriseAdministratorInvitation
func (*AcceptEnterpriseAdministratorInvitationPayload) GetMessage ¶
func (x *AcceptEnterpriseAdministratorInvitationPayload) GetMessage() string
type AcceptTopicSuggestionInput ¶
type AcceptTopicSuggestionInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The name of the suggested topic.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AcceptTopicSuggestionInput (INPUT_OBJECT): Autogenerated input type of AcceptTopicSuggestion.
type AcceptTopicSuggestionPayload ¶
type AcceptTopicSuggestionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Topic: The accepted topic.
Topic *Topic `json:"topic,omitempty"`
}
AcceptTopicSuggestionPayload (OBJECT): Autogenerated return type of AcceptTopicSuggestion.
func (*AcceptTopicSuggestionPayload) GetClientMutationId ¶
func (x *AcceptTopicSuggestionPayload) GetClientMutationId() string
func (*AcceptTopicSuggestionPayload) GetTopic ¶
func (x *AcceptTopicSuggestionPayload) GetTopic() *Topic
type Actor ¶
type Actor struct {
Interface Actor_Interface
}
func (*Actor) MarshalJSON ¶
func (*Actor) UnmarshalJSON ¶
type ActorLocation ¶
type ActorLocation struct {
// City: City.
City string `json:"city,omitempty"`
// Country: Country name.
Country string `json:"country,omitempty"`
// CountryCode: Country code.
CountryCode string `json:"countryCode,omitempty"`
// Region: Region name.
Region string `json:"region,omitempty"`
// RegionCode: Region or state code.
RegionCode string `json:"regionCode,omitempty"`
}
ActorLocation (OBJECT): Location information for an actor.
func (*ActorLocation) GetCity ¶
func (x *ActorLocation) GetCity() string
func (*ActorLocation) GetCountry ¶
func (x *ActorLocation) GetCountry() string
func (*ActorLocation) GetCountryCode ¶
func (x *ActorLocation) GetCountryCode() string
func (*ActorLocation) GetRegion ¶
func (x *ActorLocation) GetRegion() string
func (*ActorLocation) GetRegionCode ¶
func (x *ActorLocation) GetRegionCode() string
type ActorType ¶
type ActorType string
ActorType (ENUM): The actor's type.
const ActorType_TEAM ActorType = "TEAM"
ActorType_TEAM: Indicates a team actor.
const ActorType_USER ActorType = "USER"
ActorType_USER: Indicates a user actor.
type Actor_Interface ¶
type Actor_Interface interface {
GetAvatarUrl() URI
GetLogin() string
GetResourcePath() URI
GetUrl() URI
// contains filtered or unexported methods
}
Actor (INTERFACE): Represents an object which can take actions on GitHub. Typically a User or Bot. Actor_Interface: Represents an object which can take actions on GitHub. Typically a User or Bot.
Possible types:
- *Bot
- *EnterpriseUserAccount
- *Mannequin
- *Organization
- *User
type AddAssigneesToAssignableInput ¶
type AddAssigneesToAssignableInput struct {
// AssignableId: The id of the assignable object to add assignees to.
//
// GraphQL type: ID!
AssignableId ID `json:"assignableId,omitempty"`
// AssigneeIds: The id of users to add as assignees.
//
// GraphQL type: [ID!]!
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddAssigneesToAssignableInput (INPUT_OBJECT): Autogenerated input type of AddAssigneesToAssignable.
type AddAssigneesToAssignablePayload ¶
type AddAssigneesToAssignablePayload struct {
// Assignable: The item that was assigned.
Assignable Assignable `json:"assignable,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddAssigneesToAssignablePayload (OBJECT): Autogenerated return type of AddAssigneesToAssignable.
func (*AddAssigneesToAssignablePayload) GetAssignable ¶
func (x *AddAssigneesToAssignablePayload) GetAssignable() Assignable
func (*AddAssigneesToAssignablePayload) GetClientMutationId ¶
func (x *AddAssigneesToAssignablePayload) GetClientMutationId() string
type AddCommentInput ¶
type AddCommentInput struct {
// SubjectId: The Node ID of the subject to modify.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// Body: The contents of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddCommentInput (INPUT_OBJECT): Autogenerated input type of AddComment.
type AddCommentPayload ¶
type AddCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// CommentEdge: The edge from the subject's comment connection.
CommentEdge *IssueCommentEdge `json:"commentEdge,omitempty"`
// Subject: The subject.
Subject Node `json:"subject,omitempty"`
// TimelineEdge: The edge from the subject's timeline connection.
TimelineEdge *IssueTimelineItemEdge `json:"timelineEdge,omitempty"`
}
AddCommentPayload (OBJECT): Autogenerated return type of AddComment.
func (*AddCommentPayload) GetClientMutationId ¶
func (x *AddCommentPayload) GetClientMutationId() string
func (*AddCommentPayload) GetCommentEdge ¶
func (x *AddCommentPayload) GetCommentEdge() *IssueCommentEdge
func (*AddCommentPayload) GetSubject ¶
func (x *AddCommentPayload) GetSubject() Node
func (*AddCommentPayload) GetTimelineEdge ¶
func (x *AddCommentPayload) GetTimelineEdge() *IssueTimelineItemEdge
type AddDiscussionCommentInput ¶
type AddDiscussionCommentInput struct {
// DiscussionId: The Node ID of the discussion to comment on.
//
// GraphQL type: ID!
DiscussionId ID `json:"discussionId,omitempty"`
// ReplyToId: The Node ID of the discussion comment within this discussion to reply to.
//
// GraphQL type: ID
ReplyToId ID `json:"replyToId,omitempty"`
// Body: The contents of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of AddDiscussionComment.
type AddDiscussionCommentPayload ¶
type AddDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Comment: The newly created discussion comment.
Comment *DiscussionComment `json:"comment,omitempty"`
}
AddDiscussionCommentPayload (OBJECT): Autogenerated return type of AddDiscussionComment.
func (*AddDiscussionCommentPayload) GetClientMutationId ¶
func (x *AddDiscussionCommentPayload) GetClientMutationId() string
func (*AddDiscussionCommentPayload) GetComment ¶
func (x *AddDiscussionCommentPayload) GetComment() *DiscussionComment
type AddDiscussionPollVoteInput ¶
type AddDiscussionPollVoteInput struct {
// PollOptionId: The Node ID of the discussion poll option to vote for.
//
// GraphQL type: ID!
PollOptionId ID `json:"pollOptionId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddDiscussionPollVoteInput (INPUT_OBJECT): Autogenerated input type of AddDiscussionPollVote.
type AddDiscussionPollVotePayload ¶
type AddDiscussionPollVotePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PollOption: The poll option that a vote was added to.
PollOption *DiscussionPollOption `json:"pollOption,omitempty"`
}
AddDiscussionPollVotePayload (OBJECT): Autogenerated return type of AddDiscussionPollVote.
func (*AddDiscussionPollVotePayload) GetClientMutationId ¶
func (x *AddDiscussionPollVotePayload) GetClientMutationId() string
func (*AddDiscussionPollVotePayload) GetPollOption ¶
func (x *AddDiscussionPollVotePayload) GetPollOption() *DiscussionPollOption
type AddEnterpriseSupportEntitlementInput ¶
type AddEnterpriseSupportEntitlementInput struct {
// EnterpriseId: The ID of the Enterprise which the admin belongs to.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of a member who will receive the support entitlement.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddEnterpriseSupportEntitlementInput (INPUT_OBJECT): Autogenerated input type of AddEnterpriseSupportEntitlement.
type AddEnterpriseSupportEntitlementPayload ¶
type AddEnterpriseSupportEntitlementPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Message: A message confirming the result of adding the support entitlement.
Message string `json:"message,omitempty"`
}
AddEnterpriseSupportEntitlementPayload (OBJECT): Autogenerated return type of AddEnterpriseSupportEntitlement.
func (*AddEnterpriseSupportEntitlementPayload) GetClientMutationId ¶
func (x *AddEnterpriseSupportEntitlementPayload) GetClientMutationId() string
func (*AddEnterpriseSupportEntitlementPayload) GetMessage ¶
func (x *AddEnterpriseSupportEntitlementPayload) GetMessage() string
type AddLabelsToLabelableInput ¶
type AddLabelsToLabelableInput struct {
// LabelableId: The id of the labelable object to add labels to.
//
// GraphQL type: ID!
LabelableId ID `json:"labelableId,omitempty"`
// LabelIds: The ids of the labels to add.
//
// GraphQL type: [ID!]!
LabelIds []ID `json:"labelIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddLabelsToLabelableInput (INPUT_OBJECT): Autogenerated input type of AddLabelsToLabelable.
type AddLabelsToLabelablePayload ¶
type AddLabelsToLabelablePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Labelable: The item that was labeled.
Labelable Labelable `json:"labelable,omitempty"`
}
AddLabelsToLabelablePayload (OBJECT): Autogenerated return type of AddLabelsToLabelable.
func (*AddLabelsToLabelablePayload) GetClientMutationId ¶
func (x *AddLabelsToLabelablePayload) GetClientMutationId() string
func (*AddLabelsToLabelablePayload) GetLabelable ¶
func (x *AddLabelsToLabelablePayload) GetLabelable() Labelable
type AddProjectCardInput ¶
type AddProjectCardInput struct {
// ProjectColumnId: The Node ID of the ProjectColumn.
//
// GraphQL type: ID!
ProjectColumnId ID `json:"projectColumnId,omitempty"`
// ContentId: The content of the card. Must be a member of the ProjectCardItem union.
//
// GraphQL type: ID
ContentId ID `json:"contentId,omitempty"`
// Note: The note on the card.
//
// GraphQL type: String
Note string `json:"note,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectCardInput (INPUT_OBJECT): Autogenerated input type of AddProjectCard.
type AddProjectCardPayload ¶
type AddProjectCardPayload struct {
// CardEdge: The edge from the ProjectColumn's card connection.
CardEdge *ProjectCardEdge `json:"cardEdge,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectColumn: The ProjectColumn.
ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"`
}
AddProjectCardPayload (OBJECT): Autogenerated return type of AddProjectCard.
func (*AddProjectCardPayload) GetCardEdge ¶
func (x *AddProjectCardPayload) GetCardEdge() *ProjectCardEdge
func (*AddProjectCardPayload) GetClientMutationId ¶
func (x *AddProjectCardPayload) GetClientMutationId() string
func (*AddProjectCardPayload) GetProjectColumn ¶
func (x *AddProjectCardPayload) GetProjectColumn() *ProjectColumn
type AddProjectColumnInput ¶
type AddProjectColumnInput struct {
// ProjectId: The Node ID of the project.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// Name: The name of the column.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectColumnInput (INPUT_OBJECT): Autogenerated input type of AddProjectColumn.
type AddProjectColumnPayload ¶
type AddProjectColumnPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ColumnEdge: The edge from the project's column connection.
ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"`
// Project: The project.
Project *Project `json:"project,omitempty"`
}
AddProjectColumnPayload (OBJECT): Autogenerated return type of AddProjectColumn.
func (*AddProjectColumnPayload) GetClientMutationId ¶
func (x *AddProjectColumnPayload) GetClientMutationId() string
func (*AddProjectColumnPayload) GetColumnEdge ¶
func (x *AddProjectColumnPayload) GetColumnEdge() *ProjectColumnEdge
func (*AddProjectColumnPayload) GetProject ¶
func (x *AddProjectColumnPayload) GetProject() *Project
type AddProjectDraftIssueInput ¶
type AddProjectDraftIssueInput struct {
// ProjectId: The ID of the Project to add the draft issue to. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ProjectId ID `json:"projectId,omitempty"`
// Title: The title of the draft issue. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `title` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The body of the draft issue.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `body` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: The IDs of the assignees of the draft issue.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `assigneeIds` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectDraftIssueInput (INPUT_OBJECT): Autogenerated input type of AddProjectDraftIssue.
type AddProjectDraftIssuePayload ¶
type AddProjectDraftIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectNextItem: The draft issue added to the project.
//
// Deprecated: The draft issue added to the project.
ProjectNextItem *ProjectNextItem `json:"projectNextItem,omitempty"`
}
AddProjectDraftIssuePayload (OBJECT): Autogenerated return type of AddProjectDraftIssue.
func (*AddProjectDraftIssuePayload) GetClientMutationId ¶
func (x *AddProjectDraftIssuePayload) GetClientMutationId() string
func (*AddProjectDraftIssuePayload) GetProjectNextItem ¶
func (x *AddProjectDraftIssuePayload) GetProjectNextItem() *ProjectNextItem
type AddProjectNextItemInput ¶
type AddProjectNextItemInput struct {
// ProjectId: The ID of the Project to add the item to. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ProjectId ID `json:"projectId,omitempty"`
// ContentId: The content id of the item (Issue or PullRequest). This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `contentId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ContentId ID `json:"contentId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectNextItemInput (INPUT_OBJECT): Autogenerated input type of AddProjectNextItem.
type AddProjectNextItemPayload ¶
type AddProjectNextItemPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectNextItem: The item added to the project.
//
// Deprecated: The item added to the project.
ProjectNextItem *ProjectNextItem `json:"projectNextItem,omitempty"`
}
AddProjectNextItemPayload (OBJECT): Autogenerated return type of AddProjectNextItem.
func (*AddProjectNextItemPayload) GetClientMutationId ¶
func (x *AddProjectNextItemPayload) GetClientMutationId() string
func (*AddProjectNextItemPayload) GetProjectNextItem ¶
func (x *AddProjectNextItemPayload) GetProjectNextItem() *ProjectNextItem
type AddProjectV2DraftIssueInput ¶
type AddProjectV2DraftIssueInput struct {
// ProjectId: The ID of the Project to add the draft issue to.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// Title: The title of the draft issue.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Body: The body of the draft issue.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: The IDs of the assignees of the draft issue.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectV2DraftIssueInput (INPUT_OBJECT): Autogenerated input type of AddProjectV2DraftIssue.
type AddProjectV2DraftIssuePayload ¶
type AddProjectV2DraftIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectItem: The draft issue added to the project.
ProjectItem *ProjectV2Item `json:"projectItem,omitempty"`
}
AddProjectV2DraftIssuePayload (OBJECT): Autogenerated return type of AddProjectV2DraftIssue.
func (*AddProjectV2DraftIssuePayload) GetClientMutationId ¶
func (x *AddProjectV2DraftIssuePayload) GetClientMutationId() string
func (*AddProjectV2DraftIssuePayload) GetProjectItem ¶
func (x *AddProjectV2DraftIssuePayload) GetProjectItem() *ProjectV2Item
type AddProjectV2ItemByIdInput ¶
type AddProjectV2ItemByIdInput struct {
// ProjectId: The ID of the Project to add the item to.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// ContentId: The id of the Issue or Pull Request to add.
//
// GraphQL type: ID!
ContentId ID `json:"contentId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddProjectV2ItemByIdInput (INPUT_OBJECT): Autogenerated input type of AddProjectV2ItemById.
type AddProjectV2ItemByIdPayload ¶
type AddProjectV2ItemByIdPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Item: The item added to the project.
Item *ProjectV2Item `json:"item,omitempty"`
}
AddProjectV2ItemByIdPayload (OBJECT): Autogenerated return type of AddProjectV2ItemById.
func (*AddProjectV2ItemByIdPayload) GetClientMutationId ¶
func (x *AddProjectV2ItemByIdPayload) GetClientMutationId() string
func (*AddProjectV2ItemByIdPayload) GetItem ¶
func (x *AddProjectV2ItemByIdPayload) GetItem() *ProjectV2Item
type AddPullRequestReviewCommentInput ¶
type AddPullRequestReviewCommentInput struct {
// PullRequestId: The node ID of the pull request reviewing.
//
// GraphQL type: ID
PullRequestId ID `json:"pullRequestId,omitempty"`
// PullRequestReviewId: The Node ID of the review to modify.
//
// GraphQL type: ID
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// CommitOID: The SHA of the commit to comment on.
//
// GraphQL type: GitObjectID
CommitOID GitObjectID `json:"commitOID,omitempty"`
// Body: The text of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// Path: The relative path of the file to comment on.
//
// GraphQL type: String
Path string `json:"path,omitempty"`
// Position: The line index in the diff to comment on.
//
// GraphQL type: Int
Position int `json:"position,omitempty"`
// InReplyTo: The comment id to reply to.
//
// GraphQL type: ID
InReplyTo ID `json:"inReplyTo,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddPullRequestReviewCommentInput (INPUT_OBJECT): Autogenerated input type of AddPullRequestReviewComment.
type AddPullRequestReviewCommentPayload ¶
type AddPullRequestReviewCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Comment: The newly created comment.
Comment *PullRequestReviewComment `json:"comment,omitempty"`
// CommentEdge: The edge from the review's comment connection.
CommentEdge *PullRequestReviewCommentEdge `json:"commentEdge,omitempty"`
}
AddPullRequestReviewCommentPayload (OBJECT): Autogenerated return type of AddPullRequestReviewComment.
func (*AddPullRequestReviewCommentPayload) GetClientMutationId ¶
func (x *AddPullRequestReviewCommentPayload) GetClientMutationId() string
func (*AddPullRequestReviewCommentPayload) GetComment ¶
func (x *AddPullRequestReviewCommentPayload) GetComment() *PullRequestReviewComment
func (*AddPullRequestReviewCommentPayload) GetCommentEdge ¶
func (x *AddPullRequestReviewCommentPayload) GetCommentEdge() *PullRequestReviewCommentEdge
type AddPullRequestReviewInput ¶
type AddPullRequestReviewInput struct {
// PullRequestId: The Node ID of the pull request to modify.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// CommitOID: The commit OID the review pertains to.
//
// GraphQL type: GitObjectID
CommitOID GitObjectID `json:"commitOID,omitempty"`
// Body: The contents of the review body comment.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// Event: The event to perform on the pull request review.
//
// GraphQL type: PullRequestReviewEvent
Event PullRequestReviewEvent `json:"event,omitempty"`
// Comments: The review line comments.
//
// GraphQL type: [DraftPullRequestReviewComment]
Comments []*DraftPullRequestReviewComment `json:"comments,omitempty"`
// Threads: The review line comment threads.
//
// GraphQL type: [DraftPullRequestReviewThread]
Threads []*DraftPullRequestReviewThread `json:"threads,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddPullRequestReviewInput (INPUT_OBJECT): Autogenerated input type of AddPullRequestReview.
type AddPullRequestReviewPayload ¶
type AddPullRequestReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The newly created pull request review.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
// ReviewEdge: The edge from the pull request's review connection.
ReviewEdge *PullRequestReviewEdge `json:"reviewEdge,omitempty"`
}
AddPullRequestReviewPayload (OBJECT): Autogenerated return type of AddPullRequestReview.
func (*AddPullRequestReviewPayload) GetClientMutationId ¶
func (x *AddPullRequestReviewPayload) GetClientMutationId() string
func (*AddPullRequestReviewPayload) GetPullRequestReview ¶
func (x *AddPullRequestReviewPayload) GetPullRequestReview() *PullRequestReview
func (*AddPullRequestReviewPayload) GetReviewEdge ¶
func (x *AddPullRequestReviewPayload) GetReviewEdge() *PullRequestReviewEdge
type AddPullRequestReviewThreadInput ¶
type AddPullRequestReviewThreadInput struct {
// Path: Path to the file being commented on.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// Body: Body of the thread's first comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// PullRequestId: The node ID of the pull request reviewing.
//
// GraphQL type: ID
PullRequestId ID `json:"pullRequestId,omitempty"`
// PullRequestReviewId: The Node ID of the review to modify.
//
// GraphQL type: ID
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// Line: The line of the blob to which the thread refers. The end of the line range for multi-line comments.
//
// GraphQL type: Int!
Line int `json:"line,omitempty"`
// Side: The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.
//
// GraphQL type: DiffSide
Side DiffSide `json:"side,omitempty"`
// StartLine: The first line of the range to which the comment refers.
//
// GraphQL type: Int
StartLine int `json:"startLine,omitempty"`
// StartSide: The side of the diff on which the start line resides.
//
// GraphQL type: DiffSide
StartSide DiffSide `json:"startSide,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddPullRequestReviewThreadInput (INPUT_OBJECT): Autogenerated input type of AddPullRequestReviewThread.
type AddPullRequestReviewThreadPayload ¶
type AddPullRequestReviewThreadPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Thread: The newly created thread.
Thread *PullRequestReviewThread `json:"thread,omitempty"`
}
AddPullRequestReviewThreadPayload (OBJECT): Autogenerated return type of AddPullRequestReviewThread.
func (*AddPullRequestReviewThreadPayload) GetClientMutationId ¶
func (x *AddPullRequestReviewThreadPayload) GetClientMutationId() string
func (*AddPullRequestReviewThreadPayload) GetThread ¶
func (x *AddPullRequestReviewThreadPayload) GetThread() *PullRequestReviewThread
type AddReactionInput ¶
type AddReactionInput struct {
// SubjectId: The Node ID of the subject to modify.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// Content: The name of the emoji to react with.
//
// GraphQL type: ReactionContent!
Content ReactionContent `json:"content,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddReactionInput (INPUT_OBJECT): Autogenerated input type of AddReaction.
type AddReactionPayload ¶
type AddReactionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Reaction: The reaction object.
Reaction *Reaction `json:"reaction,omitempty"`
// Subject: The reactable subject.
Subject Reactable `json:"subject,omitempty"`
}
AddReactionPayload (OBJECT): Autogenerated return type of AddReaction.
func (*AddReactionPayload) GetClientMutationId ¶
func (x *AddReactionPayload) GetClientMutationId() string
func (*AddReactionPayload) GetReaction ¶
func (x *AddReactionPayload) GetReaction() *Reaction
func (*AddReactionPayload) GetSubject ¶
func (x *AddReactionPayload) GetSubject() Reactable
type AddStarInput ¶
type AddStarInput struct {
// StarrableId: The Starrable ID to star.
//
// GraphQL type: ID!
StarrableId ID `json:"starrableId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddStarInput (INPUT_OBJECT): Autogenerated input type of AddStar.
type AddStarPayload ¶
type AddStarPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Starrable: The starrable.
Starrable Starrable `json:"starrable,omitempty"`
}
AddStarPayload (OBJECT): Autogenerated return type of AddStar.
func (*AddStarPayload) GetClientMutationId ¶
func (x *AddStarPayload) GetClientMutationId() string
func (*AddStarPayload) GetStarrable ¶
func (x *AddStarPayload) GetStarrable() Starrable
type AddUpvoteInput ¶
type AddUpvoteInput struct {
// SubjectId: The Node ID of the discussion or comment to upvote.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddUpvoteInput (INPUT_OBJECT): Autogenerated input type of AddUpvote.
type AddUpvotePayload ¶
type AddUpvotePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Subject: The votable subject.
Subject Votable `json:"subject,omitempty"`
}
AddUpvotePayload (OBJECT): Autogenerated return type of AddUpvote.
func (*AddUpvotePayload) GetClientMutationId ¶
func (x *AddUpvotePayload) GetClientMutationId() string
func (*AddUpvotePayload) GetSubject ¶
func (x *AddUpvotePayload) GetSubject() Votable
type AddVerifiableDomainInput ¶
type AddVerifiableDomainInput struct {
// OwnerId: The ID of the owner to add the domain to.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// Domain: The URL of the domain.
//
// GraphQL type: URI!
Domain URI `json:"domain,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
AddVerifiableDomainInput (INPUT_OBJECT): Autogenerated input type of AddVerifiableDomain.
type AddVerifiableDomainPayload ¶
type AddVerifiableDomainPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Domain: The verifiable domain that was added.
Domain *VerifiableDomain `json:"domain,omitempty"`
}
AddVerifiableDomainPayload (OBJECT): Autogenerated return type of AddVerifiableDomain.
func (*AddVerifiableDomainPayload) GetClientMutationId ¶
func (x *AddVerifiableDomainPayload) GetClientMutationId() string
func (*AddVerifiableDomainPayload) GetDomain ¶
func (x *AddVerifiableDomainPayload) GetDomain() *VerifiableDomain
type AddedToProjectEvent ¶
type AddedToProjectEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Project: Project referenced by event.
Project *Project `json:"project,omitempty"`
// ProjectCard: Project card referenced by this project event.
ProjectCard *ProjectCard `json:"projectCard,omitempty"`
// ProjectColumnName: Column name referenced by this project event.
ProjectColumnName string `json:"projectColumnName,omitempty"`
}
AddedToProjectEvent (OBJECT): Represents a 'added_to_project' event on a given issue or pull request.
func (*AddedToProjectEvent) GetActor ¶
func (x *AddedToProjectEvent) GetActor() Actor
func (*AddedToProjectEvent) GetCreatedAt ¶
func (x *AddedToProjectEvent) GetCreatedAt() DateTime
func (*AddedToProjectEvent) GetDatabaseId ¶
func (x *AddedToProjectEvent) GetDatabaseId() int
func (*AddedToProjectEvent) GetId ¶
func (x *AddedToProjectEvent) GetId() ID
func (*AddedToProjectEvent) GetProject ¶
func (x *AddedToProjectEvent) GetProject() *Project
func (*AddedToProjectEvent) GetProjectCard ¶
func (x *AddedToProjectEvent) GetProjectCard() *ProjectCard
func (*AddedToProjectEvent) GetProjectColumnName ¶
func (x *AddedToProjectEvent) GetProjectColumnName() string
type App ¶
type App struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The description of the app.
Description string `json:"description,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IpAllowListEntries: The IP addresses of the app.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy IpAllowListEntryOrder
IpAllowListEntries *IpAllowListEntryConnection `json:"ipAllowListEntries,omitempty"`
// LogoBackgroundColor: The hex color code, without the leading '#', for the logo background.
LogoBackgroundColor string `json:"logoBackgroundColor,omitempty"`
// LogoUrl: A URL pointing to the app's logo.
//
// Query arguments:
// - size Int
LogoUrl URI `json:"logoUrl,omitempty"`
// Name: The name of the app.
Name string `json:"name,omitempty"`
// Slug: A slug based on the name of the app for use in URLs.
Slug string `json:"slug,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The URL to the app's homepage.
Url URI `json:"url,omitempty"`
}
App (OBJECT): A GitHub App.
func (*App) GetCreatedAt ¶
func (*App) GetDatabaseId ¶
func (*App) GetDescription ¶
func (*App) GetIpAllowListEntries ¶
func (x *App) GetIpAllowListEntries() *IpAllowListEntryConnection
func (*App) GetLogoBackgroundColor ¶
func (*App) GetLogoUrl ¶
func (*App) GetUpdatedAt ¶
type ApproveDeploymentsInput ¶
type ApproveDeploymentsInput struct {
// WorkflowRunId: The node ID of the workflow run containing the pending deployments.
//
// GraphQL type: ID!
WorkflowRunId ID `json:"workflowRunId,omitempty"`
// EnvironmentIds: The ids of environments to reject deployments.
//
// GraphQL type: [ID!]!
EnvironmentIds []ID `json:"environmentIds,omitempty"`
// Comment: Optional comment for approving deployments.
//
// GraphQL type: String
Comment string `json:"comment,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ApproveDeploymentsInput (INPUT_OBJECT): Autogenerated input type of ApproveDeployments.
type ApproveDeploymentsPayload ¶
type ApproveDeploymentsPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Deployments: The affected deployments.
Deployments []*Deployment `json:"deployments,omitempty"`
}
ApproveDeploymentsPayload (OBJECT): Autogenerated return type of ApproveDeployments.
func (*ApproveDeploymentsPayload) GetClientMutationId ¶
func (x *ApproveDeploymentsPayload) GetClientMutationId() string
func (*ApproveDeploymentsPayload) GetDeployments ¶
func (x *ApproveDeploymentsPayload) GetDeployments() []*Deployment
type ApproveVerifiableDomainInput ¶
type ApproveVerifiableDomainInput struct {
// Id: The ID of the verifiable domain to approve.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ApproveVerifiableDomainInput (INPUT_OBJECT): Autogenerated input type of ApproveVerifiableDomain.
type ApproveVerifiableDomainPayload ¶
type ApproveVerifiableDomainPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Domain: The verifiable domain that was approved.
Domain *VerifiableDomain `json:"domain,omitempty"`
}
ApproveVerifiableDomainPayload (OBJECT): Autogenerated return type of ApproveVerifiableDomain.
func (*ApproveVerifiableDomainPayload) GetClientMutationId ¶
func (x *ApproveVerifiableDomainPayload) GetClientMutationId() string
func (*ApproveVerifiableDomainPayload) GetDomain ¶
func (x *ApproveVerifiableDomainPayload) GetDomain() *VerifiableDomain
type ArchiveRepositoryInput ¶
type ArchiveRepositoryInput struct {
// RepositoryId: The ID of the repository to mark as archived.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ArchiveRepositoryInput (INPUT_OBJECT): Autogenerated input type of ArchiveRepository.
type ArchiveRepositoryPayload ¶
type ArchiveRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The repository that was marked as archived.
Repository *Repository `json:"repository,omitempty"`
}
ArchiveRepositoryPayload (OBJECT): Autogenerated return type of ArchiveRepository.
func (*ArchiveRepositoryPayload) GetClientMutationId ¶
func (x *ArchiveRepositoryPayload) GetClientMutationId() string
func (*ArchiveRepositoryPayload) GetRepository ¶
func (x *ArchiveRepositoryPayload) GetRepository() *Repository
type Assignable ¶
type Assignable struct {
Interface Assignable_Interface
}
func (*Assignable) MarshalJSON ¶
func (x *Assignable) MarshalJSON() ([]byte, error)
func (*Assignable) UnmarshalJSON ¶
func (x *Assignable) UnmarshalJSON(js []byte) error
type Assignable_Interface ¶
type Assignable_Interface interface {
GetAssignees() *UserConnection
// contains filtered or unexported methods
}
Assignable (INTERFACE): An object that can have users assigned to it. Assignable_Interface: An object that can have users assigned to it.
Possible types:
- *Issue
- *PullRequest
type AssignedEvent ¶
type AssignedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Assignable: Identifies the assignable associated with the event.
Assignable Assignable `json:"assignable,omitempty"`
// Assignee: Identifies the user or mannequin that was assigned.
Assignee Assignee `json:"assignee,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// User: Identifies the user who was assigned.
//
// Deprecated: Identifies the user who was assigned.
User *User `json:"user,omitempty"`
}
AssignedEvent (OBJECT): Represents an 'assigned' event on any assignable object.
func (*AssignedEvent) GetActor ¶
func (x *AssignedEvent) GetActor() Actor
func (*AssignedEvent) GetAssignable ¶
func (x *AssignedEvent) GetAssignable() Assignable
func (*AssignedEvent) GetAssignee ¶
func (x *AssignedEvent) GetAssignee() Assignee
func (*AssignedEvent) GetCreatedAt ¶
func (x *AssignedEvent) GetCreatedAt() DateTime
func (*AssignedEvent) GetId ¶
func (x *AssignedEvent) GetId() ID
func (*AssignedEvent) GetUser ¶
func (x *AssignedEvent) GetUser() *User
type Assignee ¶
type Assignee struct {
Interface Assignee_Interface
}
func (*Assignee) MarshalJSON ¶
func (*Assignee) UnmarshalJSON ¶
type Assignee_Interface ¶
type Assignee_Interface interface {
// contains filtered or unexported methods
}
Assignee (UNION): Types that can be assigned to issues. Assignee_Interface: Types that can be assigned to issues.
Possible types:
- *Bot
- *Mannequin
- *Organization
- *User
type AuditEntry ¶
type AuditEntry struct {
Interface AuditEntry_Interface
}
func (*AuditEntry) MarshalJSON ¶
func (x *AuditEntry) MarshalJSON() ([]byte, error)
func (*AuditEntry) UnmarshalJSON ¶
func (x *AuditEntry) UnmarshalJSON(js []byte) error
type AuditEntryActor ¶
type AuditEntryActor struct {
Interface AuditEntryActor_Interface
}
func (*AuditEntryActor) MarshalJSON ¶
func (x *AuditEntryActor) MarshalJSON() ([]byte, error)
func (*AuditEntryActor) UnmarshalJSON ¶
func (x *AuditEntryActor) UnmarshalJSON(js []byte) error
type AuditEntryActor_Interface ¶
type AuditEntryActor_Interface interface {
// contains filtered or unexported methods
}
AuditEntryActor (UNION): Types that can initiate an audit log event. AuditEntryActor_Interface: Types that can initiate an audit log event.
Possible types:
- *Bot
- *Organization
- *User
type AuditEntry_Interface ¶
type AuditEntry_Interface interface {
GetAction() string
GetActor() AuditEntryActor
GetActorIp() string
GetActorLocation() *ActorLocation
GetActorLogin() string
GetActorResourcePath() URI
GetActorUrl() URI
GetCreatedAt() PreciseDateTime
GetOperationType() OperationType
GetUser() *User
GetUserLogin() string
GetUserResourcePath() URI
GetUserUrl() URI
// contains filtered or unexported methods
}
AuditEntry (INTERFACE): An entry in the audit log. AuditEntry_Interface: An entry in the audit log.
Possible types:
- *MembersCanDeleteReposClearAuditEntry
- *MembersCanDeleteReposDisableAuditEntry
- *MembersCanDeleteReposEnableAuditEntry
- *OauthApplicationCreateAuditEntry
- *OrgAddBillingManagerAuditEntry
- *OrgAddMemberAuditEntry
- *OrgBlockUserAuditEntry
- *OrgConfigDisableCollaboratorsOnlyAuditEntry
- *OrgConfigEnableCollaboratorsOnlyAuditEntry
- *OrgCreateAuditEntry
- *OrgDisableOauthAppRestrictionsAuditEntry
- *OrgDisableSamlAuditEntry
- *OrgDisableTwoFactorRequirementAuditEntry
- *OrgEnableOauthAppRestrictionsAuditEntry
- *OrgEnableSamlAuditEntry
- *OrgEnableTwoFactorRequirementAuditEntry
- *OrgInviteMemberAuditEntry
- *OrgInviteToBusinessAuditEntry
- *OrgOauthAppAccessApprovedAuditEntry
- *OrgOauthAppAccessDeniedAuditEntry
- *OrgOauthAppAccessRequestedAuditEntry
- *OrgRemoveBillingManagerAuditEntry
- *OrgRemoveMemberAuditEntry
- *OrgRemoveOutsideCollaboratorAuditEntry
- *OrgRestoreMemberAuditEntry
- *OrgUnblockUserAuditEntry
- *OrgUpdateDefaultRepositoryPermissionAuditEntry
- *OrgUpdateMemberAuditEntry
- *OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *RepoAccessAuditEntry
- *RepoAddMemberAuditEntry
- *RepoAddTopicAuditEntry
- *RepoArchivedAuditEntry
- *RepoChangeMergeSettingAuditEntry
- *RepoConfigDisableAnonymousGitAccessAuditEntry
- *RepoConfigDisableCollaboratorsOnlyAuditEntry
- *RepoConfigDisableContributorsOnlyAuditEntry
- *RepoConfigDisableSockpuppetDisallowedAuditEntry
- *RepoConfigEnableAnonymousGitAccessAuditEntry
- *RepoConfigEnableCollaboratorsOnlyAuditEntry
- *RepoConfigEnableContributorsOnlyAuditEntry
- *RepoConfigEnableSockpuppetDisallowedAuditEntry
- *RepoConfigLockAnonymousGitAccessAuditEntry
- *RepoConfigUnlockAnonymousGitAccessAuditEntry
- *RepoCreateAuditEntry
- *RepoDestroyAuditEntry
- *RepoRemoveMemberAuditEntry
- *RepoRemoveTopicAuditEntry
- *RepositoryVisibilityChangeDisableAuditEntry
- *RepositoryVisibilityChangeEnableAuditEntry
- *TeamAddMemberAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamChangeParentTeamAuditEntry
- *TeamRemoveMemberAuditEntry
- *TeamRemoveRepositoryAuditEntry
type AuditLogOrder ¶
type AuditLogOrder struct {
// Field: The field to order Audit Logs by.
//
// GraphQL type: AuditLogOrderField
Field AuditLogOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection
Direction OrderDirection `json:"direction,omitempty"`
}
AuditLogOrder (INPUT_OBJECT): Ordering options for Audit Log connections.
type AuditLogOrderField ¶
type AuditLogOrderField string
AuditLogOrderField (ENUM): Properties by which Audit Log connections can be ordered.
const AuditLogOrderField_CREATED_AT AuditLogOrderField = "CREATED_AT"
AuditLogOrderField_CREATED_AT: Order audit log entries by timestamp.
type AutoMergeDisabledEvent ¶
type AutoMergeDisabledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Disabler: The user who disabled auto-merge for this Pull Request.
Disabler *User `json:"disabler,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Reason: The reason auto-merge was disabled.
Reason string `json:"reason,omitempty"`
// ReasonCode: The reason_code relating to why auto-merge was disabled.
ReasonCode string `json:"reasonCode,omitempty"`
}
AutoMergeDisabledEvent (OBJECT): Represents a 'auto_merge_disabled' event on a given pull request.
func (*AutoMergeDisabledEvent) GetActor ¶
func (x *AutoMergeDisabledEvent) GetActor() Actor
func (*AutoMergeDisabledEvent) GetCreatedAt ¶
func (x *AutoMergeDisabledEvent) GetCreatedAt() DateTime
func (*AutoMergeDisabledEvent) GetDisabler ¶
func (x *AutoMergeDisabledEvent) GetDisabler() *User
func (*AutoMergeDisabledEvent) GetId ¶
func (x *AutoMergeDisabledEvent) GetId() ID
func (*AutoMergeDisabledEvent) GetPullRequest ¶
func (x *AutoMergeDisabledEvent) GetPullRequest() *PullRequest
func (*AutoMergeDisabledEvent) GetReason ¶
func (x *AutoMergeDisabledEvent) GetReason() string
func (*AutoMergeDisabledEvent) GetReasonCode ¶
func (x *AutoMergeDisabledEvent) GetReasonCode() string
type AutoMergeEnabledEvent ¶
type AutoMergeEnabledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Enabler: The user who enabled auto-merge for this Pull Request.
Enabler *User `json:"enabler,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutoMergeEnabledEvent (OBJECT): Represents a 'auto_merge_enabled' event on a given pull request.
func (*AutoMergeEnabledEvent) GetActor ¶
func (x *AutoMergeEnabledEvent) GetActor() Actor
func (*AutoMergeEnabledEvent) GetCreatedAt ¶
func (x *AutoMergeEnabledEvent) GetCreatedAt() DateTime
func (*AutoMergeEnabledEvent) GetEnabler ¶
func (x *AutoMergeEnabledEvent) GetEnabler() *User
func (*AutoMergeEnabledEvent) GetId ¶
func (x *AutoMergeEnabledEvent) GetId() ID
func (*AutoMergeEnabledEvent) GetPullRequest ¶
func (x *AutoMergeEnabledEvent) GetPullRequest() *PullRequest
type AutoMergeRequest ¶
type AutoMergeRequest struct {
// AuthorEmail: The email address of the author of this auto-merge request.
AuthorEmail string `json:"authorEmail,omitempty"`
// CommitBody: The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.
CommitBody string `json:"commitBody,omitempty"`
// CommitHeadline: The commit title of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.
CommitHeadline string `json:"commitHeadline,omitempty"`
// EnabledAt: When was this auto-merge request was enabled.
EnabledAt DateTime `json:"enabledAt,omitempty"`
// EnabledBy: The actor who created the auto-merge request.
EnabledBy Actor `json:"enabledBy,omitempty"`
// MergeMethod: The merge method of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.
MergeMethod PullRequestMergeMethod `json:"mergeMethod,omitempty"`
// PullRequest: The pull request that this auto-merge request is set against.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutoMergeRequest (OBJECT): Represents an auto-merge request for a pull request.
func (*AutoMergeRequest) GetAuthorEmail ¶
func (x *AutoMergeRequest) GetAuthorEmail() string
func (*AutoMergeRequest) GetCommitBody ¶
func (x *AutoMergeRequest) GetCommitBody() string
func (*AutoMergeRequest) GetCommitHeadline ¶
func (x *AutoMergeRequest) GetCommitHeadline() string
func (*AutoMergeRequest) GetEnabledAt ¶
func (x *AutoMergeRequest) GetEnabledAt() DateTime
func (*AutoMergeRequest) GetEnabledBy ¶
func (x *AutoMergeRequest) GetEnabledBy() Actor
func (*AutoMergeRequest) GetMergeMethod ¶
func (x *AutoMergeRequest) GetMergeMethod() PullRequestMergeMethod
func (*AutoMergeRequest) GetPullRequest ¶
func (x *AutoMergeRequest) GetPullRequest() *PullRequest
type AutoRebaseEnabledEvent ¶
type AutoRebaseEnabledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Enabler: The user who enabled auto-merge (rebase) for this Pull Request.
Enabler *User `json:"enabler,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutoRebaseEnabledEvent (OBJECT): Represents a 'auto_rebase_enabled' event on a given pull request.
func (*AutoRebaseEnabledEvent) GetActor ¶
func (x *AutoRebaseEnabledEvent) GetActor() Actor
func (*AutoRebaseEnabledEvent) GetCreatedAt ¶
func (x *AutoRebaseEnabledEvent) GetCreatedAt() DateTime
func (*AutoRebaseEnabledEvent) GetEnabler ¶
func (x *AutoRebaseEnabledEvent) GetEnabler() *User
func (*AutoRebaseEnabledEvent) GetId ¶
func (x *AutoRebaseEnabledEvent) GetId() ID
func (*AutoRebaseEnabledEvent) GetPullRequest ¶
func (x *AutoRebaseEnabledEvent) GetPullRequest() *PullRequest
type AutoSquashEnabledEvent ¶
type AutoSquashEnabledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Enabler: The user who enabled auto-merge (squash) for this Pull Request.
Enabler *User `json:"enabler,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutoSquashEnabledEvent (OBJECT): Represents a 'auto_squash_enabled' event on a given pull request.
func (*AutoSquashEnabledEvent) GetActor ¶
func (x *AutoSquashEnabledEvent) GetActor() Actor
func (*AutoSquashEnabledEvent) GetCreatedAt ¶
func (x *AutoSquashEnabledEvent) GetCreatedAt() DateTime
func (*AutoSquashEnabledEvent) GetEnabler ¶
func (x *AutoSquashEnabledEvent) GetEnabler() *User
func (*AutoSquashEnabledEvent) GetId ¶
func (x *AutoSquashEnabledEvent) GetId() ID
func (*AutoSquashEnabledEvent) GetPullRequest ¶
func (x *AutoSquashEnabledEvent) GetPullRequest() *PullRequest
type AutomaticBaseChangeFailedEvent ¶
type AutomaticBaseChangeFailedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// NewBase: The new base for this PR.
NewBase string `json:"newBase,omitempty"`
// OldBase: The old base for this PR.
OldBase string `json:"oldBase,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutomaticBaseChangeFailedEvent (OBJECT): Represents a 'automatic_base_change_failed' event on a given pull request.
func (*AutomaticBaseChangeFailedEvent) GetActor ¶
func (x *AutomaticBaseChangeFailedEvent) GetActor() Actor
func (*AutomaticBaseChangeFailedEvent) GetCreatedAt ¶
func (x *AutomaticBaseChangeFailedEvent) GetCreatedAt() DateTime
func (*AutomaticBaseChangeFailedEvent) GetId ¶
func (x *AutomaticBaseChangeFailedEvent) GetId() ID
func (*AutomaticBaseChangeFailedEvent) GetNewBase ¶
func (x *AutomaticBaseChangeFailedEvent) GetNewBase() string
func (*AutomaticBaseChangeFailedEvent) GetOldBase ¶
func (x *AutomaticBaseChangeFailedEvent) GetOldBase() string
func (*AutomaticBaseChangeFailedEvent) GetPullRequest ¶
func (x *AutomaticBaseChangeFailedEvent) GetPullRequest() *PullRequest
type AutomaticBaseChangeSucceededEvent ¶
type AutomaticBaseChangeSucceededEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// NewBase: The new base for this PR.
NewBase string `json:"newBase,omitempty"`
// OldBase: The old base for this PR.
OldBase string `json:"oldBase,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
AutomaticBaseChangeSucceededEvent (OBJECT): Represents a 'automatic_base_change_succeeded' event on a given pull request.
func (*AutomaticBaseChangeSucceededEvent) GetActor ¶
func (x *AutomaticBaseChangeSucceededEvent) GetActor() Actor
func (*AutomaticBaseChangeSucceededEvent) GetCreatedAt ¶
func (x *AutomaticBaseChangeSucceededEvent) GetCreatedAt() DateTime
func (*AutomaticBaseChangeSucceededEvent) GetId ¶
func (x *AutomaticBaseChangeSucceededEvent) GetId() ID
func (*AutomaticBaseChangeSucceededEvent) GetNewBase ¶
func (x *AutomaticBaseChangeSucceededEvent) GetNewBase() string
func (*AutomaticBaseChangeSucceededEvent) GetOldBase ¶
func (x *AutomaticBaseChangeSucceededEvent) GetOldBase() string
func (*AutomaticBaseChangeSucceededEvent) GetPullRequest ¶
func (x *AutomaticBaseChangeSucceededEvent) GetPullRequest() *PullRequest
type Base64String ¶
type Base64String string
Base64String (SCALAR): A (potentially binary) string encoded using base64.
type BaseRefChangedEvent ¶
type BaseRefChangedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CurrentRefName: Identifies the name of the base ref for the pull request after it was changed.
CurrentRefName string `json:"currentRefName,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PreviousRefName: Identifies the name of the base ref for the pull request before it was changed.
PreviousRefName string `json:"previousRefName,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
BaseRefChangedEvent (OBJECT): Represents a 'base_ref_changed' event on a given issue or pull request.
func (*BaseRefChangedEvent) GetActor ¶
func (x *BaseRefChangedEvent) GetActor() Actor
func (*BaseRefChangedEvent) GetCreatedAt ¶
func (x *BaseRefChangedEvent) GetCreatedAt() DateTime
func (*BaseRefChangedEvent) GetCurrentRefName ¶
func (x *BaseRefChangedEvent) GetCurrentRefName() string
func (*BaseRefChangedEvent) GetDatabaseId ¶
func (x *BaseRefChangedEvent) GetDatabaseId() int
func (*BaseRefChangedEvent) GetId ¶
func (x *BaseRefChangedEvent) GetId() ID
func (*BaseRefChangedEvent) GetPreviousRefName ¶
func (x *BaseRefChangedEvent) GetPreviousRefName() string
func (*BaseRefChangedEvent) GetPullRequest ¶
func (x *BaseRefChangedEvent) GetPullRequest() *PullRequest
type BaseRefDeletedEvent ¶
type BaseRefDeletedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// BaseRefName: Identifies the name of the Ref associated with the `base_ref_deleted` event.
BaseRefName string `json:"baseRefName,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
BaseRefDeletedEvent (OBJECT): Represents a 'base_ref_deleted' event on a given pull request.
func (*BaseRefDeletedEvent) GetActor ¶
func (x *BaseRefDeletedEvent) GetActor() Actor
func (*BaseRefDeletedEvent) GetBaseRefName ¶
func (x *BaseRefDeletedEvent) GetBaseRefName() string
func (*BaseRefDeletedEvent) GetCreatedAt ¶
func (x *BaseRefDeletedEvent) GetCreatedAt() DateTime
func (*BaseRefDeletedEvent) GetId ¶
func (x *BaseRefDeletedEvent) GetId() ID
func (*BaseRefDeletedEvent) GetPullRequest ¶
func (x *BaseRefDeletedEvent) GetPullRequest() *PullRequest
type BaseRefForcePushedEvent ¶
type BaseRefForcePushedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// AfterCommit: Identifies the after commit SHA for the 'base_ref_force_pushed' event.
AfterCommit *Commit `json:"afterCommit,omitempty"`
// BeforeCommit: Identifies the before commit SHA for the 'base_ref_force_pushed' event.
BeforeCommit *Commit `json:"beforeCommit,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Ref: Identifies the fully qualified ref name for the 'base_ref_force_pushed' event.
Ref *Ref `json:"ref,omitempty"`
}
BaseRefForcePushedEvent (OBJECT): Represents a 'base_ref_force_pushed' event on a given pull request.
func (*BaseRefForcePushedEvent) GetActor ¶
func (x *BaseRefForcePushedEvent) GetActor() Actor
func (*BaseRefForcePushedEvent) GetAfterCommit ¶
func (x *BaseRefForcePushedEvent) GetAfterCommit() *Commit
func (*BaseRefForcePushedEvent) GetBeforeCommit ¶
func (x *BaseRefForcePushedEvent) GetBeforeCommit() *Commit
func (*BaseRefForcePushedEvent) GetCreatedAt ¶
func (x *BaseRefForcePushedEvent) GetCreatedAt() DateTime
func (*BaseRefForcePushedEvent) GetId ¶
func (x *BaseRefForcePushedEvent) GetId() ID
func (*BaseRefForcePushedEvent) GetPullRequest ¶
func (x *BaseRefForcePushedEvent) GetPullRequest() *PullRequest
func (*BaseRefForcePushedEvent) GetRef ¶
func (x *BaseRefForcePushedEvent) GetRef() *Ref
type Blame ¶
type Blame struct {
// Ranges: The list of ranges from a Git blame.
Ranges []*BlameRange `json:"ranges,omitempty"`
}
Blame (OBJECT): Represents a Git blame.
func (*Blame) GetRanges ¶
func (x *Blame) GetRanges() []*BlameRange
type BlameRange ¶
type BlameRange struct {
// Age: Identifies the recency of the change, from 1 (new) to 10 (old). This is calculated as a 2-quantile and determines the length of distance between the median age of all the changes in the file and the recency of the current range's change.
Age int `json:"age,omitempty"`
// Commit: Identifies the line author.
Commit *Commit `json:"commit,omitempty"`
// EndingLine: The ending line for the range.
EndingLine int `json:"endingLine,omitempty"`
// StartingLine: The starting line for the range.
StartingLine int `json:"startingLine,omitempty"`
}
BlameRange (OBJECT): Represents a range of information from a Git blame.
func (*BlameRange) GetAge ¶
func (x *BlameRange) GetAge() int
func (*BlameRange) GetCommit ¶
func (x *BlameRange) GetCommit() *Commit
func (*BlameRange) GetEndingLine ¶
func (x *BlameRange) GetEndingLine() int
func (*BlameRange) GetStartingLine ¶
func (x *BlameRange) GetStartingLine() int
type Blob ¶
type Blob struct {
// AbbreviatedOid: An abbreviated version of the Git object ID.
AbbreviatedOid string `json:"abbreviatedOid,omitempty"`
// ByteSize: Byte size of Blob object.
ByteSize int `json:"byteSize,omitempty"`
// CommitResourcePath: The HTTP path for this Git object.
CommitResourcePath URI `json:"commitResourcePath,omitempty"`
// CommitUrl: The HTTP URL for this Git object.
CommitUrl URI `json:"commitUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsBinary: Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.
IsBinary bool `json:"isBinary,omitempty"`
// IsTruncated: Indicates whether the contents is truncated.
IsTruncated bool `json:"isTruncated,omitempty"`
// Oid: The Git object ID.
Oid GitObjectID `json:"oid,omitempty"`
// Repository: The Repository the Git object belongs to.
Repository *Repository `json:"repository,omitempty"`
// Text: UTF8 text data or null if the Blob is binary.
Text string `json:"text,omitempty"`
}
Blob (OBJECT): Represents a Git blob.
func (*Blob) GetAbbreviatedOid ¶
func (*Blob) GetByteSize ¶
func (*Blob) GetCommitResourcePath ¶
func (*Blob) GetCommitUrl ¶
func (*Blob) GetIsBinary ¶
func (*Blob) GetIsTruncated ¶
func (*Blob) GetOid ¶
func (x *Blob) GetOid() GitObjectID
func (*Blob) GetRepository ¶
func (x *Blob) GetRepository() *Repository
type Bot ¶
type Bot struct {
// AvatarUrl: A URL pointing to the GitHub App's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Login: The username of the actor.
Login string `json:"login,omitempty"`
// ResourcePath: The HTTP path for this bot.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this bot.
Url URI `json:"url,omitempty"`
}
Bot (OBJECT): A special type of user which takes actions on behalf of GitHub Apps.
func (*Bot) GetAvatarUrl ¶
func (*Bot) GetCreatedAt ¶
func (*Bot) GetDatabaseId ¶
func (*Bot) GetResourcePath ¶
func (*Bot) GetUpdatedAt ¶
type BranchActorAllowanceActor ¶
type BranchActorAllowanceActor struct {
Interface BranchActorAllowanceActor_Interface
}
func (*BranchActorAllowanceActor) MarshalJSON ¶
func (x *BranchActorAllowanceActor) MarshalJSON() ([]byte, error)
func (*BranchActorAllowanceActor) UnmarshalJSON ¶
func (x *BranchActorAllowanceActor) UnmarshalJSON(js []byte) error
type BranchActorAllowanceActor_Interface ¶
type BranchActorAllowanceActor_Interface interface {
// contains filtered or unexported methods
}
BranchActorAllowanceActor (UNION): Types which can be actors for `BranchActorAllowance` objects. BranchActorAllowanceActor_Interface: Types which can be actors for `BranchActorAllowance` objects.
Possible types:
- *App
- *Team
- *User
type BranchProtectionRule ¶
type BranchProtectionRule struct {
// AllowsDeletions: Can this branch be deleted.
AllowsDeletions bool `json:"allowsDeletions,omitempty"`
// AllowsForcePushes: Are force pushes allowed on this branch.
AllowsForcePushes bool `json:"allowsForcePushes,omitempty"`
// BlocksCreations: Is branch creation a protected operation.
BlocksCreations bool `json:"blocksCreations,omitempty"`
// BranchProtectionRuleConflicts: A list of conflicts matching branches protection rule and other branch protection rules.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
BranchProtectionRuleConflicts *BranchProtectionRuleConflictConnection `json:"branchProtectionRuleConflicts,omitempty"`
// BypassForcePushAllowances: A list of actors able to force push for this branch protection rule.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
BypassForcePushAllowances *BypassForcePushAllowanceConnection `json:"bypassForcePushAllowances,omitempty"`
// BypassPullRequestAllowances: A list of actors able to bypass PRs for this branch protection rule.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
BypassPullRequestAllowances *BypassPullRequestAllowanceConnection `json:"bypassPullRequestAllowances,omitempty"`
// Creator: The actor who created this branch protection rule.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DismissesStaleReviews: Will new commits pushed to matching branches dismiss pull request review approvals.
DismissesStaleReviews bool `json:"dismissesStaleReviews,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsAdminEnforced: Can admins overwrite branch protection.
IsAdminEnforced bool `json:"isAdminEnforced,omitempty"`
// MatchingRefs: Repository refs that are protected by this rule.
//
// Query arguments:
// - query String
// - after String
// - before String
// - first Int
// - last Int
MatchingRefs *RefConnection `json:"matchingRefs,omitempty"`
// Pattern: Identifies the protection rule pattern.
Pattern string `json:"pattern,omitempty"`
// PushAllowances: A list push allowances for this branch protection rule.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PushAllowances *PushAllowanceConnection `json:"pushAllowances,omitempty"`
// Repository: The repository associated with this branch protection rule.
Repository *Repository `json:"repository,omitempty"`
// RequiredApprovingReviewCount: Number of approving reviews required to update matching branches.
RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount,omitempty"`
// RequiredStatusCheckContexts: List of required status check contexts that must pass for commits to be accepted to matching branches.
RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
// RequiredStatusChecks: List of required status checks that must pass for commits to be accepted to matching branches.
RequiredStatusChecks []*RequiredStatusCheckDescription `json:"requiredStatusChecks,omitempty"`
// RequiresApprovingReviews: Are approving reviews required to update matching branches.
RequiresApprovingReviews bool `json:"requiresApprovingReviews,omitempty"`
// RequiresCodeOwnerReviews: Are reviews from code owners required to update matching branches.
RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews,omitempty"`
// RequiresCommitSignatures: Are commits required to be signed.
RequiresCommitSignatures bool `json:"requiresCommitSignatures,omitempty"`
// RequiresConversationResolution: Are conversations required to be resolved before merging.
RequiresConversationResolution bool `json:"requiresConversationResolution,omitempty"`
// RequiresLinearHistory: Are merge commits prohibited from being pushed to this branch.
RequiresLinearHistory bool `json:"requiresLinearHistory,omitempty"`
// RequiresStatusChecks: Are status checks required to update matching branches.
RequiresStatusChecks bool `json:"requiresStatusChecks,omitempty"`
// RequiresStrictStatusChecks: Are branches required to be up to date before merging.
RequiresStrictStatusChecks bool `json:"requiresStrictStatusChecks,omitempty"`
// RestrictsPushes: Is pushing to matching branches restricted.
RestrictsPushes bool `json:"restrictsPushes,omitempty"`
// RestrictsReviewDismissals: Is dismissal of pull request reviews restricted.
RestrictsReviewDismissals bool `json:"restrictsReviewDismissals,omitempty"`
// ReviewDismissalAllowances: A list review dismissal allowances for this branch protection rule.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ReviewDismissalAllowances *ReviewDismissalAllowanceConnection `json:"reviewDismissalAllowances,omitempty"`
}
BranchProtectionRule (OBJECT): A branch protection rule.
func (*BranchProtectionRule) GetAllowsDeletions ¶
func (x *BranchProtectionRule) GetAllowsDeletions() bool
func (*BranchProtectionRule) GetAllowsForcePushes ¶
func (x *BranchProtectionRule) GetAllowsForcePushes() bool
func (*BranchProtectionRule) GetBlocksCreations ¶
func (x *BranchProtectionRule) GetBlocksCreations() bool
func (*BranchProtectionRule) GetBranchProtectionRuleConflicts ¶
func (x *BranchProtectionRule) GetBranchProtectionRuleConflicts() *BranchProtectionRuleConflictConnection
func (*BranchProtectionRule) GetBypassForcePushAllowances ¶
func (x *BranchProtectionRule) GetBypassForcePushAllowances() *BypassForcePushAllowanceConnection
func (*BranchProtectionRule) GetBypassPullRequestAllowances ¶
func (x *BranchProtectionRule) GetBypassPullRequestAllowances() *BypassPullRequestAllowanceConnection
func (*BranchProtectionRule) GetCreator ¶
func (x *BranchProtectionRule) GetCreator() Actor
func (*BranchProtectionRule) GetDatabaseId ¶
func (x *BranchProtectionRule) GetDatabaseId() int
func (*BranchProtectionRule) GetDismissesStaleReviews ¶
func (x *BranchProtectionRule) GetDismissesStaleReviews() bool
func (*BranchProtectionRule) GetId ¶
func (x *BranchProtectionRule) GetId() ID
func (*BranchProtectionRule) GetIsAdminEnforced ¶
func (x *BranchProtectionRule) GetIsAdminEnforced() bool
func (*BranchProtectionRule) GetMatchingRefs ¶
func (x *BranchProtectionRule) GetMatchingRefs() *RefConnection
func (*BranchProtectionRule) GetPattern ¶
func (x *BranchProtectionRule) GetPattern() string
func (*BranchProtectionRule) GetPushAllowances ¶
func (x *BranchProtectionRule) GetPushAllowances() *PushAllowanceConnection
func (*BranchProtectionRule) GetRepository ¶
func (x *BranchProtectionRule) GetRepository() *Repository
func (*BranchProtectionRule) GetRequiredApprovingReviewCount ¶
func (x *BranchProtectionRule) GetRequiredApprovingReviewCount() int
func (*BranchProtectionRule) GetRequiredStatusCheckContexts ¶
func (x *BranchProtectionRule) GetRequiredStatusCheckContexts() []string
func (*BranchProtectionRule) GetRequiredStatusChecks ¶
func (x *BranchProtectionRule) GetRequiredStatusChecks() []*RequiredStatusCheckDescription
func (*BranchProtectionRule) GetRequiresApprovingReviews ¶
func (x *BranchProtectionRule) GetRequiresApprovingReviews() bool
func (*BranchProtectionRule) GetRequiresCodeOwnerReviews ¶
func (x *BranchProtectionRule) GetRequiresCodeOwnerReviews() bool
func (*BranchProtectionRule) GetRequiresCommitSignatures ¶
func (x *BranchProtectionRule) GetRequiresCommitSignatures() bool
func (*BranchProtectionRule) GetRequiresConversationResolution ¶
func (x *BranchProtectionRule) GetRequiresConversationResolution() bool
func (*BranchProtectionRule) GetRequiresLinearHistory ¶
func (x *BranchProtectionRule) GetRequiresLinearHistory() bool
func (*BranchProtectionRule) GetRequiresStatusChecks ¶
func (x *BranchProtectionRule) GetRequiresStatusChecks() bool
func (*BranchProtectionRule) GetRequiresStrictStatusChecks ¶
func (x *BranchProtectionRule) GetRequiresStrictStatusChecks() bool
func (*BranchProtectionRule) GetRestrictsPushes ¶
func (x *BranchProtectionRule) GetRestrictsPushes() bool
func (*BranchProtectionRule) GetRestrictsReviewDismissals ¶
func (x *BranchProtectionRule) GetRestrictsReviewDismissals() bool
func (*BranchProtectionRule) GetReviewDismissalAllowances ¶
func (x *BranchProtectionRule) GetReviewDismissalAllowances() *ReviewDismissalAllowanceConnection
type BranchProtectionRuleConflict ¶
type BranchProtectionRuleConflict struct {
// BranchProtectionRule: Identifies the branch protection rule.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// ConflictingBranchProtectionRule: Identifies the conflicting branch protection rule.
ConflictingBranchProtectionRule *BranchProtectionRule `json:"conflictingBranchProtectionRule,omitempty"`
// Ref: Identifies the branch ref that has conflicting rules.
Ref *Ref `json:"ref,omitempty"`
}
BranchProtectionRuleConflict (OBJECT): A conflict between two branch protection rules.
func (*BranchProtectionRuleConflict) GetBranchProtectionRule ¶
func (x *BranchProtectionRuleConflict) GetBranchProtectionRule() *BranchProtectionRule
func (*BranchProtectionRuleConflict) GetConflictingBranchProtectionRule ¶
func (x *BranchProtectionRuleConflict) GetConflictingBranchProtectionRule() *BranchProtectionRule
func (*BranchProtectionRuleConflict) GetRef ¶
func (x *BranchProtectionRuleConflict) GetRef() *Ref
type BranchProtectionRuleConflictConnection ¶
type BranchProtectionRuleConflictConnection struct {
// Edges: A list of edges.
Edges []*BranchProtectionRuleConflictEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*BranchProtectionRuleConflict `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
BranchProtectionRuleConflictConnection (OBJECT): The connection type for BranchProtectionRuleConflict.
func (*BranchProtectionRuleConflictConnection) GetEdges ¶
func (x *BranchProtectionRuleConflictConnection) GetEdges() []*BranchProtectionRuleConflictEdge
func (*BranchProtectionRuleConflictConnection) GetNodes ¶
func (x *BranchProtectionRuleConflictConnection) GetNodes() []*BranchProtectionRuleConflict
func (*BranchProtectionRuleConflictConnection) GetPageInfo ¶
func (x *BranchProtectionRuleConflictConnection) GetPageInfo() *PageInfo
func (*BranchProtectionRuleConflictConnection) GetTotalCount ¶
func (x *BranchProtectionRuleConflictConnection) GetTotalCount() int
type BranchProtectionRuleConflictEdge ¶
type BranchProtectionRuleConflictEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *BranchProtectionRuleConflict `json:"node,omitempty"`
}
BranchProtectionRuleConflictEdge (OBJECT): An edge in a connection.
func (*BranchProtectionRuleConflictEdge) GetCursor ¶
func (x *BranchProtectionRuleConflictEdge) GetCursor() string
func (*BranchProtectionRuleConflictEdge) GetNode ¶
func (x *BranchProtectionRuleConflictEdge) GetNode() *BranchProtectionRuleConflict
type BranchProtectionRuleConnection ¶
type BranchProtectionRuleConnection struct {
// Edges: A list of edges.
Edges []*BranchProtectionRuleEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*BranchProtectionRule `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
BranchProtectionRuleConnection (OBJECT): The connection type for BranchProtectionRule.
func (*BranchProtectionRuleConnection) GetEdges ¶
func (x *BranchProtectionRuleConnection) GetEdges() []*BranchProtectionRuleEdge
func (*BranchProtectionRuleConnection) GetNodes ¶
func (x *BranchProtectionRuleConnection) GetNodes() []*BranchProtectionRule
func (*BranchProtectionRuleConnection) GetPageInfo ¶
func (x *BranchProtectionRuleConnection) GetPageInfo() *PageInfo
func (*BranchProtectionRuleConnection) GetTotalCount ¶
func (x *BranchProtectionRuleConnection) GetTotalCount() int
type BranchProtectionRuleEdge ¶
type BranchProtectionRuleEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *BranchProtectionRule `json:"node,omitempty"`
}
BranchProtectionRuleEdge (OBJECT): An edge in a connection.
func (*BranchProtectionRuleEdge) GetCursor ¶
func (x *BranchProtectionRuleEdge) GetCursor() string
func (*BranchProtectionRuleEdge) GetNode ¶
func (x *BranchProtectionRuleEdge) GetNode() *BranchProtectionRule
type BypassForcePushAllowance ¶
type BypassForcePushAllowance struct {
// Actor: The actor that can force push.
Actor BranchActorAllowanceActor `json:"actor,omitempty"`
// BranchProtectionRule: Identifies the branch protection rule associated with the allowed user, team, or app.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
BypassForcePushAllowance (OBJECT): A user, team, or app who has the ability to bypass a force push requirement on a protected branch.
func (*BypassForcePushAllowance) GetActor ¶
func (x *BypassForcePushAllowance) GetActor() BranchActorAllowanceActor
func (*BypassForcePushAllowance) GetBranchProtectionRule ¶
func (x *BypassForcePushAllowance) GetBranchProtectionRule() *BranchProtectionRule
func (*BypassForcePushAllowance) GetId ¶
func (x *BypassForcePushAllowance) GetId() ID
type BypassForcePushAllowanceConnection ¶
type BypassForcePushAllowanceConnection struct {
// Edges: A list of edges.
Edges []*BypassForcePushAllowanceEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*BypassForcePushAllowance `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
BypassForcePushAllowanceConnection (OBJECT): The connection type for BypassForcePushAllowance.
func (*BypassForcePushAllowanceConnection) GetEdges ¶
func (x *BypassForcePushAllowanceConnection) GetEdges() []*BypassForcePushAllowanceEdge
func (*BypassForcePushAllowanceConnection) GetNodes ¶
func (x *BypassForcePushAllowanceConnection) GetNodes() []*BypassForcePushAllowance
func (*BypassForcePushAllowanceConnection) GetPageInfo ¶
func (x *BypassForcePushAllowanceConnection) GetPageInfo() *PageInfo
func (*BypassForcePushAllowanceConnection) GetTotalCount ¶
func (x *BypassForcePushAllowanceConnection) GetTotalCount() int
type BypassForcePushAllowanceEdge ¶
type BypassForcePushAllowanceEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *BypassForcePushAllowance `json:"node,omitempty"`
}
BypassForcePushAllowanceEdge (OBJECT): An edge in a connection.
func (*BypassForcePushAllowanceEdge) GetCursor ¶
func (x *BypassForcePushAllowanceEdge) GetCursor() string
func (*BypassForcePushAllowanceEdge) GetNode ¶
func (x *BypassForcePushAllowanceEdge) GetNode() *BypassForcePushAllowance
type BypassPullRequestAllowance ¶
type BypassPullRequestAllowance struct {
// Actor: The actor that can bypass.
Actor BranchActorAllowanceActor `json:"actor,omitempty"`
// BranchProtectionRule: Identifies the branch protection rule associated with the allowed user, team, or app.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
BypassPullRequestAllowance (OBJECT): A user, team, or app who has the ability to bypass a pull request requirement on a protected branch.
func (*BypassPullRequestAllowance) GetActor ¶
func (x *BypassPullRequestAllowance) GetActor() BranchActorAllowanceActor
func (*BypassPullRequestAllowance) GetBranchProtectionRule ¶
func (x *BypassPullRequestAllowance) GetBranchProtectionRule() *BranchProtectionRule
func (*BypassPullRequestAllowance) GetId ¶
func (x *BypassPullRequestAllowance) GetId() ID
type BypassPullRequestAllowanceConnection ¶
type BypassPullRequestAllowanceConnection struct {
// Edges: A list of edges.
Edges []*BypassPullRequestAllowanceEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*BypassPullRequestAllowance `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
BypassPullRequestAllowanceConnection (OBJECT): The connection type for BypassPullRequestAllowance.
func (*BypassPullRequestAllowanceConnection) GetEdges ¶
func (x *BypassPullRequestAllowanceConnection) GetEdges() []*BypassPullRequestAllowanceEdge
func (*BypassPullRequestAllowanceConnection) GetNodes ¶
func (x *BypassPullRequestAllowanceConnection) GetNodes() []*BypassPullRequestAllowance
func (*BypassPullRequestAllowanceConnection) GetPageInfo ¶
func (x *BypassPullRequestAllowanceConnection) GetPageInfo() *PageInfo
func (*BypassPullRequestAllowanceConnection) GetTotalCount ¶
func (x *BypassPullRequestAllowanceConnection) GetTotalCount() int
type BypassPullRequestAllowanceEdge ¶
type BypassPullRequestAllowanceEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *BypassPullRequestAllowance `json:"node,omitempty"`
}
BypassPullRequestAllowanceEdge (OBJECT): An edge in a connection.
func (*BypassPullRequestAllowanceEdge) GetCursor ¶
func (x *BypassPullRequestAllowanceEdge) GetCursor() string
func (*BypassPullRequestAllowanceEdge) GetNode ¶
func (x *BypassPullRequestAllowanceEdge) GetNode() *BypassPullRequestAllowance
type CVSS ¶
type CVSS struct {
// Score: The CVSS score associated with this advisory.
Score float64 `json:"score,omitempty"`
// VectorString: The CVSS vector string associated with this advisory.
VectorString string `json:"vectorString,omitempty"`
}
CVSS (OBJECT): The Common Vulnerability Scoring System.
func (*CVSS) GetVectorString ¶
type CWE ¶
type CWE struct {
// CweId: The id of the CWE.
CweId string `json:"cweId,omitempty"`
// Description: A detailed description of this CWE.
Description string `json:"description,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The name of this CWE.
Name string `json:"name,omitempty"`
}
CWE (OBJECT): A common weakness enumeration.
func (*CWE) GetDescription ¶
type CWEConnection ¶
type CWEConnection struct {
// Edges: A list of edges.
Edges []*CWEEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CWE `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CWEConnection (OBJECT): The connection type for CWE.
func (*CWEConnection) GetEdges ¶
func (x *CWEConnection) GetEdges() []*CWEEdge
func (*CWEConnection) GetNodes ¶
func (x *CWEConnection) GetNodes() []*CWE
func (*CWEConnection) GetPageInfo ¶
func (x *CWEConnection) GetPageInfo() *PageInfo
func (*CWEConnection) GetTotalCount ¶
func (x *CWEConnection) GetTotalCount() int
type CWEEdge ¶
type CWEEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CWE `json:"node,omitempty"`
}
CWEEdge (OBJECT): An edge in a connection.
type CancelEnterpriseAdminInvitationInput ¶
type CancelEnterpriseAdminInvitationInput struct {
// InvitationId: The Node ID of the pending enterprise administrator invitation.
//
// GraphQL type: ID!
InvitationId ID `json:"invitationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CancelEnterpriseAdminInvitationInput (INPUT_OBJECT): Autogenerated input type of CancelEnterpriseAdminInvitation.
type CancelEnterpriseAdminInvitationPayload ¶
type CancelEnterpriseAdminInvitationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Invitation: The invitation that was canceled.
Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
// Message: A message confirming the result of canceling an administrator invitation.
Message string `json:"message,omitempty"`
}
CancelEnterpriseAdminInvitationPayload (OBJECT): Autogenerated return type of CancelEnterpriseAdminInvitation.
func (*CancelEnterpriseAdminInvitationPayload) GetClientMutationId ¶
func (x *CancelEnterpriseAdminInvitationPayload) GetClientMutationId() string
func (*CancelEnterpriseAdminInvitationPayload) GetInvitation ¶
func (x *CancelEnterpriseAdminInvitationPayload) GetInvitation() *EnterpriseAdministratorInvitation
func (*CancelEnterpriseAdminInvitationPayload) GetMessage ¶
func (x *CancelEnterpriseAdminInvitationPayload) GetMessage() string
type CancelSponsorshipInput ¶
type CancelSponsorshipInput struct {
// SponsorId: The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
//
// GraphQL type: ID
SponsorId ID `json:"sponsorId,omitempty"`
// SponsorLogin: The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
//
// GraphQL type: String
SponsorLogin string `json:"sponsorLogin,omitempty"`
// SponsorableId: The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
//
// GraphQL type: ID
SponsorableId ID `json:"sponsorableId,omitempty"`
// SponsorableLogin: The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
//
// GraphQL type: String
SponsorableLogin string `json:"sponsorableLogin,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CancelSponsorshipInput (INPUT_OBJECT): Autogenerated input type of CancelSponsorship.
type CancelSponsorshipPayload ¶
type CancelSponsorshipPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// SponsorsTier: The tier that was being used at the time of cancellation.
SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}
CancelSponsorshipPayload (OBJECT): Autogenerated return type of CancelSponsorship.
func (*CancelSponsorshipPayload) GetClientMutationId ¶
func (x *CancelSponsorshipPayload) GetClientMutationId() string
func (*CancelSponsorshipPayload) GetSponsorsTier ¶
func (x *CancelSponsorshipPayload) GetSponsorsTier() *SponsorsTier
type ChangeUserStatusInput ¶
type ChangeUserStatusInput struct {
// Emoji: The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:.
//
// GraphQL type: String
Emoji string `json:"emoji,omitempty"`
// Message: A short description of your current status.
//
// GraphQL type: String
Message string `json:"message,omitempty"`
// OrganizationId: The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible.
//
// GraphQL type: ID
OrganizationId ID `json:"organizationId,omitempty"`
// LimitedAvailability: Whether this status should indicate you are not fully available on GitHub, e.g., you are away.
//
// GraphQL type: Boolean
LimitedAvailability bool `json:"limitedAvailability,omitempty"`
// ExpiresAt: If set, the user status will not be shown after this date.
//
// GraphQL type: DateTime
ExpiresAt DateTime `json:"expiresAt,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ChangeUserStatusInput (INPUT_OBJECT): Autogenerated input type of ChangeUserStatus.
type ChangeUserStatusPayload ¶
type ChangeUserStatusPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Status: Your updated status.
Status *UserStatus `json:"status,omitempty"`
}
ChangeUserStatusPayload (OBJECT): Autogenerated return type of ChangeUserStatus.
func (*ChangeUserStatusPayload) GetClientMutationId ¶
func (x *ChangeUserStatusPayload) GetClientMutationId() string
func (*ChangeUserStatusPayload) GetStatus ¶
func (x *ChangeUserStatusPayload) GetStatus() *UserStatus
type CheckAnnotation ¶
type CheckAnnotation struct {
// AnnotationLevel: The annotation's severity level.
AnnotationLevel CheckAnnotationLevel `json:"annotationLevel,omitempty"`
// BlobUrl: The path to the file that this annotation was made on.
BlobUrl URI `json:"blobUrl,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Location: The position of this annotation.
Location *CheckAnnotationSpan `json:"location,omitempty"`
// Message: The annotation's message.
Message string `json:"message,omitempty"`
// Path: The path that this annotation was made on.
Path string `json:"path,omitempty"`
// RawDetails: Additional information about the annotation.
RawDetails string `json:"rawDetails,omitempty"`
// Title: The annotation's title.
Title string `json:"title,omitempty"`
}
CheckAnnotation (OBJECT): A single check annotation.
func (*CheckAnnotation) GetAnnotationLevel ¶
func (x *CheckAnnotation) GetAnnotationLevel() CheckAnnotationLevel
func (*CheckAnnotation) GetBlobUrl ¶
func (x *CheckAnnotation) GetBlobUrl() URI
func (*CheckAnnotation) GetDatabaseId ¶
func (x *CheckAnnotation) GetDatabaseId() int
func (*CheckAnnotation) GetLocation ¶
func (x *CheckAnnotation) GetLocation() *CheckAnnotationSpan
func (*CheckAnnotation) GetMessage ¶
func (x *CheckAnnotation) GetMessage() string
func (*CheckAnnotation) GetPath ¶
func (x *CheckAnnotation) GetPath() string
func (*CheckAnnotation) GetRawDetails ¶
func (x *CheckAnnotation) GetRawDetails() string
func (*CheckAnnotation) GetTitle ¶
func (x *CheckAnnotation) GetTitle() string
type CheckAnnotationConnection ¶
type CheckAnnotationConnection struct {
// Edges: A list of edges.
Edges []*CheckAnnotationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CheckAnnotation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CheckAnnotationConnection (OBJECT): The connection type for CheckAnnotation.
func (*CheckAnnotationConnection) GetEdges ¶
func (x *CheckAnnotationConnection) GetEdges() []*CheckAnnotationEdge
func (*CheckAnnotationConnection) GetNodes ¶
func (x *CheckAnnotationConnection) GetNodes() []*CheckAnnotation
func (*CheckAnnotationConnection) GetPageInfo ¶
func (x *CheckAnnotationConnection) GetPageInfo() *PageInfo
func (*CheckAnnotationConnection) GetTotalCount ¶
func (x *CheckAnnotationConnection) GetTotalCount() int
type CheckAnnotationData ¶
type CheckAnnotationData struct {
// Path: The path of the file to add an annotation to.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// Location: The location of the annotation.
//
// GraphQL type: CheckAnnotationRange!
Location *CheckAnnotationRange `json:"location,omitempty"`
// AnnotationLevel: Represents an annotation's information level.
//
// GraphQL type: CheckAnnotationLevel!
AnnotationLevel CheckAnnotationLevel `json:"annotationLevel,omitempty"`
// Message: A short description of the feedback for these lines of code.
//
// GraphQL type: String!
Message string `json:"message,omitempty"`
// Title: The title that represents the annotation.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// RawDetails: Details about this annotation.
//
// GraphQL type: String
RawDetails string `json:"rawDetails,omitempty"`
}
CheckAnnotationData (INPUT_OBJECT): Information from a check run analysis to specific lines of code.
type CheckAnnotationEdge ¶
type CheckAnnotationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CheckAnnotation `json:"node,omitempty"`
}
CheckAnnotationEdge (OBJECT): An edge in a connection.
func (*CheckAnnotationEdge) GetCursor ¶
func (x *CheckAnnotationEdge) GetCursor() string
func (*CheckAnnotationEdge) GetNode ¶
func (x *CheckAnnotationEdge) GetNode() *CheckAnnotation
type CheckAnnotationLevel ¶
type CheckAnnotationLevel string
CheckAnnotationLevel (ENUM): Represents an annotation's information level.
const CheckAnnotationLevel_FAILURE CheckAnnotationLevel = "FAILURE"
CheckAnnotationLevel_FAILURE: An annotation indicating an inescapable error.
const CheckAnnotationLevel_NOTICE CheckAnnotationLevel = "NOTICE"
CheckAnnotationLevel_NOTICE: An annotation indicating some information.
const CheckAnnotationLevel_WARNING CheckAnnotationLevel = "WARNING"
CheckAnnotationLevel_WARNING: An annotation indicating an ignorable error.
type CheckAnnotationPosition ¶
type CheckAnnotationPosition struct {
// Column: Column number (1 indexed).
Column int `json:"column,omitempty"`
// Line: Line number (1 indexed).
Line int `json:"line,omitempty"`
}
CheckAnnotationPosition (OBJECT): A character position in a check annotation.
func (*CheckAnnotationPosition) GetColumn ¶
func (x *CheckAnnotationPosition) GetColumn() int
func (*CheckAnnotationPosition) GetLine ¶
func (x *CheckAnnotationPosition) GetLine() int
type CheckAnnotationRange ¶
type CheckAnnotationRange struct {
// StartLine: The starting line of the range.
//
// GraphQL type: Int!
StartLine int `json:"startLine,omitempty"`
// StartColumn: The starting column of the range.
//
// GraphQL type: Int
StartColumn int `json:"startColumn,omitempty"`
// EndLine: The ending line of the range.
//
// GraphQL type: Int!
EndLine int `json:"endLine,omitempty"`
// EndColumn: The ending column of the range.
//
// GraphQL type: Int
EndColumn int `json:"endColumn,omitempty"`
}
CheckAnnotationRange (INPUT_OBJECT): Information from a check run analysis to specific lines of code.
type CheckAnnotationSpan ¶
type CheckAnnotationSpan struct {
// End: End position (inclusive).
End *CheckAnnotationPosition `json:"end,omitempty"`
// Start: Start position (inclusive).
Start *CheckAnnotationPosition `json:"start,omitempty"`
}
CheckAnnotationSpan (OBJECT): An inclusive pair of positions for a check annotation.
func (*CheckAnnotationSpan) GetEnd ¶
func (x *CheckAnnotationSpan) GetEnd() *CheckAnnotationPosition
func (*CheckAnnotationSpan) GetStart ¶
func (x *CheckAnnotationSpan) GetStart() *CheckAnnotationPosition
type CheckConclusionState ¶
type CheckConclusionState string
CheckConclusionState (ENUM): The possible states for a check suite or run conclusion.
const CheckConclusionState_ACTION_REQUIRED CheckConclusionState = "ACTION_REQUIRED"
CheckConclusionState_ACTION_REQUIRED: The check suite or run requires action.
const CheckConclusionState_CANCELLED CheckConclusionState = "CANCELLED"
CheckConclusionState_CANCELLED: The check suite or run has been cancelled.
const CheckConclusionState_FAILURE CheckConclusionState = "FAILURE"
CheckConclusionState_FAILURE: The check suite or run has failed.
const CheckConclusionState_NEUTRAL CheckConclusionState = "NEUTRAL"
CheckConclusionState_NEUTRAL: The check suite or run was neutral.
const CheckConclusionState_SKIPPED CheckConclusionState = "SKIPPED"
CheckConclusionState_SKIPPED: The check suite or run was skipped.
const CheckConclusionState_STALE CheckConclusionState = "STALE"
CheckConclusionState_STALE: The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion.
const CheckConclusionState_STARTUP_FAILURE CheckConclusionState = "STARTUP_FAILURE"
CheckConclusionState_STARTUP_FAILURE: The check suite or run has failed at startup.
const CheckConclusionState_SUCCESS CheckConclusionState = "SUCCESS"
CheckConclusionState_SUCCESS: The check suite or run has succeeded.
const CheckConclusionState_TIMED_OUT CheckConclusionState = "TIMED_OUT"
CheckConclusionState_TIMED_OUT: The check suite or run has timed out.
type CheckRun ¶
type CheckRun struct {
// Annotations: The check run's annotations.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Annotations *CheckAnnotationConnection `json:"annotations,omitempty"`
// CheckSuite: The check suite that this run is a part of.
CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
// CompletedAt: Identifies the date and time when the check run was completed.
CompletedAt DateTime `json:"completedAt,omitempty"`
// Conclusion: The conclusion of the check run.
Conclusion CheckConclusionState `json:"conclusion,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Deployment: The corresponding deployment for this job, if any.
Deployment *Deployment `json:"deployment,omitempty"`
// DetailsUrl: The URL from which to find full details of the check run on the integrator's site.
DetailsUrl URI `json:"detailsUrl,omitempty"`
// ExternalId: A reference for the check run on the integrator's system.
ExternalId string `json:"externalId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsRequired: Whether this is required to pass before merging for a specific pull request.
//
// Query arguments:
// - pullRequestId ID
// - pullRequestNumber Int
IsRequired bool `json:"isRequired,omitempty"`
// Name: The name of the check for this check run.
Name string `json:"name,omitempty"`
// PendingDeploymentRequest: Information about a pending deployment, if any, in this check run.
PendingDeploymentRequest *DeploymentRequest `json:"pendingDeploymentRequest,omitempty"`
// Permalink: The permalink to the check run summary.
Permalink URI `json:"permalink,omitempty"`
// Repository: The repository associated with this check run.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this check run.
ResourcePath URI `json:"resourcePath,omitempty"`
// StartedAt: Identifies the date and time when the check run was started.
StartedAt DateTime `json:"startedAt,omitempty"`
// Status: The current status of the check run.
Status CheckStatusState `json:"status,omitempty"`
// Steps: The check run's steps.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - number Int
Steps *CheckStepConnection `json:"steps,omitempty"`
// Summary: A string representing the check run's summary.
Summary string `json:"summary,omitempty"`
// Text: A string representing the check run's text.
Text string `json:"text,omitempty"`
// Title: A string representing the check run.
Title string `json:"title,omitempty"`
// Url: The HTTP URL for this check run.
Url URI `json:"url,omitempty"`
}
CheckRun (OBJECT): A check run.
func (*CheckRun) GetAnnotations ¶
func (x *CheckRun) GetAnnotations() *CheckAnnotationConnection
func (*CheckRun) GetCheckSuite ¶
func (x *CheckRun) GetCheckSuite() *CheckSuite
func (*CheckRun) GetCompletedAt ¶
func (*CheckRun) GetConclusion ¶
func (x *CheckRun) GetConclusion() CheckConclusionState
func (*CheckRun) GetDatabaseId ¶
func (*CheckRun) GetDeployment ¶
func (x *CheckRun) GetDeployment() *Deployment
func (*CheckRun) GetDetailsUrl ¶
func (*CheckRun) GetExternalId ¶
func (*CheckRun) GetIsRequired ¶
func (*CheckRun) GetPendingDeploymentRequest ¶
func (x *CheckRun) GetPendingDeploymentRequest() *DeploymentRequest
func (*CheckRun) GetPermalink ¶
func (*CheckRun) GetRepository ¶
func (x *CheckRun) GetRepository() *Repository
func (*CheckRun) GetResourcePath ¶
func (*CheckRun) GetStartedAt ¶
func (*CheckRun) GetStatus ¶
func (x *CheckRun) GetStatus() CheckStatusState
func (*CheckRun) GetSteps ¶
func (x *CheckRun) GetSteps() *CheckStepConnection
func (*CheckRun) GetSummary ¶
type CheckRunAction ¶
type CheckRunAction struct {
// Label: The text to be displayed on a button in the web UI.
//
// GraphQL type: String!
Label string `json:"label,omitempty"`
// Description: A short explanation of what this action would do.
//
// GraphQL type: String!
Description string `json:"description,omitempty"`
// Identifier: A reference for the action on the integrator's system. .
//
// GraphQL type: String!
Identifier string `json:"identifier,omitempty"`
}
CheckRunAction (INPUT_OBJECT): Possible further actions the integrator can perform.
type CheckRunConnection ¶
type CheckRunConnection struct {
// Edges: A list of edges.
Edges []*CheckRunEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CheckRun `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CheckRunConnection (OBJECT): The connection type for CheckRun.
func (*CheckRunConnection) GetEdges ¶
func (x *CheckRunConnection) GetEdges() []*CheckRunEdge
func (*CheckRunConnection) GetNodes ¶
func (x *CheckRunConnection) GetNodes() []*CheckRun
func (*CheckRunConnection) GetPageInfo ¶
func (x *CheckRunConnection) GetPageInfo() *PageInfo
func (*CheckRunConnection) GetTotalCount ¶
func (x *CheckRunConnection) GetTotalCount() int
type CheckRunEdge ¶
type CheckRunEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CheckRun `json:"node,omitempty"`
}
CheckRunEdge (OBJECT): An edge in a connection.
func (*CheckRunEdge) GetCursor ¶
func (x *CheckRunEdge) GetCursor() string
func (*CheckRunEdge) GetNode ¶
func (x *CheckRunEdge) GetNode() *CheckRun
type CheckRunFilter ¶
type CheckRunFilter struct {
// CheckType: Filters the check runs by this type.
//
// GraphQL type: CheckRunType
CheckType CheckRunType `json:"checkType,omitempty"`
// AppId: Filters the check runs created by this application ID.
//
// GraphQL type: Int
AppId int `json:"appId,omitempty"`
// CheckName: Filters the check runs by this name.
//
// GraphQL type: String
CheckName string `json:"checkName,omitempty"`
// Status: Filters the check runs by this status.
//
// GraphQL type: CheckStatusState
Status CheckStatusState `json:"status,omitempty"`
}
CheckRunFilter (INPUT_OBJECT): The filters that are available when fetching check runs.
type CheckRunOutput ¶
type CheckRunOutput struct {
// Title: A title to provide for this check run.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Summary: The summary of the check run (supports Commonmark).
//
// GraphQL type: String!
Summary string `json:"summary,omitempty"`
// Text: The details of the check run (supports Commonmark).
//
// GraphQL type: String
Text string `json:"text,omitempty"`
// Annotations: The annotations that are made as part of the check run.
//
// GraphQL type: [CheckAnnotationData!]
Annotations []*CheckAnnotationData `json:"annotations,omitempty"`
// Images: Images attached to the check run output displayed in the GitHub pull request UI.
//
// GraphQL type: [CheckRunOutputImage!]
Images []*CheckRunOutputImage `json:"images,omitempty"`
}
CheckRunOutput (INPUT_OBJECT): Descriptive details about the check run.
type CheckRunOutputImage ¶
type CheckRunOutputImage struct {
// Alt: The alternative text for the image.
//
// GraphQL type: String!
Alt string `json:"alt,omitempty"`
// ImageUrl: The full URL of the image.
//
// GraphQL type: URI!
ImageUrl URI `json:"imageUrl,omitempty"`
// Caption: A short image description.
//
// GraphQL type: String
Caption string `json:"caption,omitempty"`
}
CheckRunOutputImage (INPUT_OBJECT): Images attached to the check run output displayed in the GitHub pull request UI.
type CheckRunType ¶
type CheckRunType string
CheckRunType (ENUM): The possible types of check runs.
const CheckRunType_ALL CheckRunType = "ALL"
CheckRunType_ALL: Every check run available.
const CheckRunType_LATEST CheckRunType = "LATEST"
CheckRunType_LATEST: The latest check run.
type CheckStatusState ¶
type CheckStatusState string
CheckStatusState (ENUM): The possible states for a check suite or run status.
const CheckStatusState_COMPLETED CheckStatusState = "COMPLETED"
CheckStatusState_COMPLETED: The check suite or run has been completed.
const CheckStatusState_IN_PROGRESS CheckStatusState = "IN_PROGRESS"
CheckStatusState_IN_PROGRESS: The check suite or run is in progress.
const CheckStatusState_PENDING CheckStatusState = "PENDING"
CheckStatusState_PENDING: The check suite or run is in pending state.
const CheckStatusState_QUEUED CheckStatusState = "QUEUED"
CheckStatusState_QUEUED: The check suite or run has been queued.
const CheckStatusState_REQUESTED CheckStatusState = "REQUESTED"
CheckStatusState_REQUESTED: The check suite or run has been requested.
const CheckStatusState_WAITING CheckStatusState = "WAITING"
CheckStatusState_WAITING: The check suite or run is in waiting state.
type CheckStep ¶
type CheckStep struct {
// CompletedAt: Identifies the date and time when the check step was completed.
CompletedAt DateTime `json:"completedAt,omitempty"`
// Conclusion: The conclusion of the check step.
Conclusion CheckConclusionState `json:"conclusion,omitempty"`
// ExternalId: A reference for the check step on the integrator's system.
ExternalId string `json:"externalId,omitempty"`
// Name: The step's name.
Name string `json:"name,omitempty"`
// Number: The index of the step in the list of steps of the parent check run.
Number int `json:"number,omitempty"`
// SecondsToCompletion: Number of seconds to completion.
SecondsToCompletion int `json:"secondsToCompletion,omitempty"`
// StartedAt: Identifies the date and time when the check step was started.
StartedAt DateTime `json:"startedAt,omitempty"`
// Status: The current status of the check step.
Status CheckStatusState `json:"status,omitempty"`
}
CheckStep (OBJECT): A single check step.
func (*CheckStep) GetCompletedAt ¶
func (*CheckStep) GetConclusion ¶
func (x *CheckStep) GetConclusion() CheckConclusionState
func (*CheckStep) GetExternalId ¶
func (*CheckStep) GetSecondsToCompletion ¶
func (*CheckStep) GetStartedAt ¶
func (*CheckStep) GetStatus ¶
func (x *CheckStep) GetStatus() CheckStatusState
type CheckStepConnection ¶
type CheckStepConnection struct {
// Edges: A list of edges.
Edges []*CheckStepEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CheckStep `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CheckStepConnection (OBJECT): The connection type for CheckStep.
func (*CheckStepConnection) GetEdges ¶
func (x *CheckStepConnection) GetEdges() []*CheckStepEdge
func (*CheckStepConnection) GetNodes ¶
func (x *CheckStepConnection) GetNodes() []*CheckStep
func (*CheckStepConnection) GetPageInfo ¶
func (x *CheckStepConnection) GetPageInfo() *PageInfo
func (*CheckStepConnection) GetTotalCount ¶
func (x *CheckStepConnection) GetTotalCount() int
type CheckStepEdge ¶
type CheckStepEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CheckStep `json:"node,omitempty"`
}
CheckStepEdge (OBJECT): An edge in a connection.
func (*CheckStepEdge) GetCursor ¶
func (x *CheckStepEdge) GetCursor() string
func (*CheckStepEdge) GetNode ¶
func (x *CheckStepEdge) GetNode() *CheckStep
type CheckSuite ¶
type CheckSuite struct {
// App: The GitHub App which created this check suite.
App *App `json:"app,omitempty"`
// Branch: The name of the branch for this check suite.
Branch *Ref `json:"branch,omitempty"`
// CheckRuns: The check runs associated with a check suite.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - filterBy CheckRunFilter
CheckRuns *CheckRunConnection `json:"checkRuns,omitempty"`
// Commit: The commit for this check suite.
Commit *Commit `json:"commit,omitempty"`
// Conclusion: The conclusion of this check suite.
Conclusion CheckConclusionState `json:"conclusion,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The user who triggered the check suite.
Creator *User `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MatchingPullRequests: A list of open pull requests matching the check suite.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
MatchingPullRequests *PullRequestConnection `json:"matchingPullRequests,omitempty"`
// Push: The push that triggered this check suite.
Push *Push `json:"push,omitempty"`
// Repository: The repository associated with this check suite.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this check suite.
ResourcePath URI `json:"resourcePath,omitempty"`
// Status: The status of this check suite.
Status CheckStatusState `json:"status,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this check suite.
Url URI `json:"url,omitempty"`
// WorkflowRun: The workflow run associated with this check suite.
WorkflowRun *WorkflowRun `json:"workflowRun,omitempty"`
}
CheckSuite (OBJECT): A check suite.
func (*CheckSuite) GetApp ¶
func (x *CheckSuite) GetApp() *App
func (*CheckSuite) GetBranch ¶
func (x *CheckSuite) GetBranch() *Ref
func (*CheckSuite) GetCheckRuns ¶
func (x *CheckSuite) GetCheckRuns() *CheckRunConnection
func (*CheckSuite) GetCommit ¶
func (x *CheckSuite) GetCommit() *Commit
func (*CheckSuite) GetConclusion ¶
func (x *CheckSuite) GetConclusion() CheckConclusionState
func (*CheckSuite) GetCreatedAt ¶
func (x *CheckSuite) GetCreatedAt() DateTime
func (*CheckSuite) GetCreator ¶
func (x *CheckSuite) GetCreator() *User
func (*CheckSuite) GetDatabaseId ¶
func (x *CheckSuite) GetDatabaseId() int
func (*CheckSuite) GetId ¶
func (x *CheckSuite) GetId() ID
func (*CheckSuite) GetMatchingPullRequests ¶
func (x *CheckSuite) GetMatchingPullRequests() *PullRequestConnection
func (*CheckSuite) GetPush ¶
func (x *CheckSuite) GetPush() *Push
func (*CheckSuite) GetRepository ¶
func (x *CheckSuite) GetRepository() *Repository
func (*CheckSuite) GetResourcePath ¶
func (x *CheckSuite) GetResourcePath() URI
func (*CheckSuite) GetStatus ¶
func (x *CheckSuite) GetStatus() CheckStatusState
func (*CheckSuite) GetUpdatedAt ¶
func (x *CheckSuite) GetUpdatedAt() DateTime
func (*CheckSuite) GetUrl ¶
func (x *CheckSuite) GetUrl() URI
func (*CheckSuite) GetWorkflowRun ¶
func (x *CheckSuite) GetWorkflowRun() *WorkflowRun
type CheckSuiteAutoTriggerPreference ¶
type CheckSuiteAutoTriggerPreference struct {
// AppId: The node ID of the application that owns the check suite.
//
// GraphQL type: ID!
AppId ID `json:"appId,omitempty"`
// Setting: Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository.
//
// GraphQL type: Boolean!
Setting bool `json:"setting,omitempty"`
}
CheckSuiteAutoTriggerPreference (INPUT_OBJECT): The auto-trigger preferences that are available for check suites.
type CheckSuiteConnection ¶
type CheckSuiteConnection struct {
// Edges: A list of edges.
Edges []*CheckSuiteEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CheckSuite `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CheckSuiteConnection (OBJECT): The connection type for CheckSuite.
func (*CheckSuiteConnection) GetEdges ¶
func (x *CheckSuiteConnection) GetEdges() []*CheckSuiteEdge
func (*CheckSuiteConnection) GetNodes ¶
func (x *CheckSuiteConnection) GetNodes() []*CheckSuite
func (*CheckSuiteConnection) GetPageInfo ¶
func (x *CheckSuiteConnection) GetPageInfo() *PageInfo
func (*CheckSuiteConnection) GetTotalCount ¶
func (x *CheckSuiteConnection) GetTotalCount() int
type CheckSuiteEdge ¶
type CheckSuiteEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CheckSuite `json:"node,omitempty"`
}
CheckSuiteEdge (OBJECT): An edge in a connection.
func (*CheckSuiteEdge) GetCursor ¶
func (x *CheckSuiteEdge) GetCursor() string
func (*CheckSuiteEdge) GetNode ¶
func (x *CheckSuiteEdge) GetNode() *CheckSuite
type CheckSuiteFilter ¶
type CheckSuiteFilter struct {
// AppId: Filters the check suites created by this application ID.
//
// GraphQL type: Int
AppId int `json:"appId,omitempty"`
// CheckName: Filters the check suites by this name.
//
// GraphQL type: String
CheckName string `json:"checkName,omitempty"`
}
CheckSuiteFilter (INPUT_OBJECT): The filters that are available when fetching check suites.
type ClearLabelsFromLabelableInput ¶
type ClearLabelsFromLabelableInput struct {
// LabelableId: The id of the labelable object to clear the labels from.
//
// GraphQL type: ID!
LabelableId ID `json:"labelableId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ClearLabelsFromLabelableInput (INPUT_OBJECT): Autogenerated input type of ClearLabelsFromLabelable.
type ClearLabelsFromLabelablePayload ¶
type ClearLabelsFromLabelablePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Labelable: The item that was unlabeled.
Labelable Labelable `json:"labelable,omitempty"`
}
ClearLabelsFromLabelablePayload (OBJECT): Autogenerated return type of ClearLabelsFromLabelable.
func (*ClearLabelsFromLabelablePayload) GetClientMutationId ¶
func (x *ClearLabelsFromLabelablePayload) GetClientMutationId() string
func (*ClearLabelsFromLabelablePayload) GetLabelable ¶
func (x *ClearLabelsFromLabelablePayload) GetLabelable() Labelable
type CloneProjectInput ¶
type CloneProjectInput struct {
// TargetOwnerId: The owner ID to create the project under.
//
// GraphQL type: ID!
TargetOwnerId ID `json:"targetOwnerId,omitempty"`
// SourceId: The source project to clone.
//
// GraphQL type: ID!
SourceId ID `json:"sourceId,omitempty"`
// IncludeWorkflows: Whether or not to clone the source project's workflows.
//
// GraphQL type: Boolean!
IncludeWorkflows bool `json:"includeWorkflows,omitempty"`
// Name: The name of the project.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// Body: The description of the project.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// Public: The visibility of the project, defaults to false (private).
//
// GraphQL type: Boolean
Public bool `json:"public,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CloneProjectInput (INPUT_OBJECT): Autogenerated input type of CloneProject.
type CloneProjectPayload ¶
type CloneProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// JobStatusId: The id of the JobStatus for populating cloned fields.
JobStatusId string `json:"jobStatusId,omitempty"`
// Project: The new cloned project.
Project *Project `json:"project,omitempty"`
}
CloneProjectPayload (OBJECT): Autogenerated return type of CloneProject.
func (*CloneProjectPayload) GetClientMutationId ¶
func (x *CloneProjectPayload) GetClientMutationId() string
func (*CloneProjectPayload) GetJobStatusId ¶
func (x *CloneProjectPayload) GetJobStatusId() string
func (*CloneProjectPayload) GetProject ¶
func (x *CloneProjectPayload) GetProject() *Project
type CloneTemplateRepositoryInput ¶
type CloneTemplateRepositoryInput struct {
// RepositoryId: The Node ID of the template repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The name of the new repository.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// OwnerId: The ID of the owner for the new repository.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// Description: A short description of the new repository.
//
// GraphQL type: String
Description string `json:"description,omitempty"`
// Visibility: Indicates the repository's visibility level.
//
// GraphQL type: RepositoryVisibility!
Visibility RepositoryVisibility `json:"visibility,omitempty"`
// IncludeAllBranches: Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template.
//
// GraphQL type: Boolean
IncludeAllBranches bool `json:"includeAllBranches,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CloneTemplateRepositoryInput (INPUT_OBJECT): Autogenerated input type of CloneTemplateRepository.
type CloneTemplateRepositoryPayload ¶
type CloneTemplateRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The new repository.
Repository *Repository `json:"repository,omitempty"`
}
CloneTemplateRepositoryPayload (OBJECT): Autogenerated return type of CloneTemplateRepository.
func (*CloneTemplateRepositoryPayload) GetClientMutationId ¶
func (x *CloneTemplateRepositoryPayload) GetClientMutationId() string
func (*CloneTemplateRepositoryPayload) GetRepository ¶
func (x *CloneTemplateRepositoryPayload) GetRepository() *Repository
type Closable ¶
type Closable struct {
Interface Closable_Interface
}
func (*Closable) MarshalJSON ¶
func (*Closable) UnmarshalJSON ¶
type Closable_Interface ¶
type Closable_Interface interface {
GetClosed() bool
GetClosedAt() DateTime
// contains filtered or unexported methods
}
Closable (INTERFACE): An object that can be closed. Closable_Interface: An object that can be closed.
Possible types:
- *Issue
- *Milestone
- *Project
- *ProjectNext
- *ProjectV2
- *PullRequest
type CloseIssueInput ¶
type CloseIssueInput struct {
// IssueId: ID of the issue to be closed.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// StateReason: The reason the issue is to be closed.
//
// GraphQL type: IssueClosedStateReason
StateReason IssueClosedStateReason `json:"stateReason,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CloseIssueInput (INPUT_OBJECT): Autogenerated input type of CloseIssue.
type CloseIssuePayload ¶
type CloseIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue that was closed.
Issue *Issue `json:"issue,omitempty"`
}
CloseIssuePayload (OBJECT): Autogenerated return type of CloseIssue.
func (*CloseIssuePayload) GetClientMutationId ¶
func (x *CloseIssuePayload) GetClientMutationId() string
func (*CloseIssuePayload) GetIssue ¶
func (x *CloseIssuePayload) GetIssue() *Issue
type ClosePullRequestInput ¶
type ClosePullRequestInput struct {
// PullRequestId: ID of the pull request to be closed.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ClosePullRequestInput (INPUT_OBJECT): Autogenerated input type of ClosePullRequest.
type ClosePullRequestPayload ¶
type ClosePullRequestPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that was closed.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
ClosePullRequestPayload (OBJECT): Autogenerated return type of ClosePullRequest.
func (*ClosePullRequestPayload) GetClientMutationId ¶
func (x *ClosePullRequestPayload) GetClientMutationId() string
func (*ClosePullRequestPayload) GetPullRequest ¶
func (x *ClosePullRequestPayload) GetPullRequest() *PullRequest
type ClosedEvent ¶
type ClosedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Closable: Object that was closed.
Closable Closable `json:"closable,omitempty"`
// Closer: Object which triggered the creation of this event.
Closer Closer `json:"closer,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// ResourcePath: The HTTP path for this closed event.
ResourcePath URI `json:"resourcePath,omitempty"`
// StateReason: The reason the issue state was changed to closed.
StateReason IssueStateReason `json:"stateReason,omitempty"`
// Url: The HTTP URL for this closed event.
Url URI `json:"url,omitempty"`
}
ClosedEvent (OBJECT): Represents a 'closed' event on any `Closable`.
func (*ClosedEvent) GetActor ¶
func (x *ClosedEvent) GetActor() Actor
func (*ClosedEvent) GetClosable ¶
func (x *ClosedEvent) GetClosable() Closable
func (*ClosedEvent) GetCloser ¶
func (x *ClosedEvent) GetCloser() Closer
func (*ClosedEvent) GetCreatedAt ¶
func (x *ClosedEvent) GetCreatedAt() DateTime
func (*ClosedEvent) GetId ¶
func (x *ClosedEvent) GetId() ID
func (*ClosedEvent) GetResourcePath ¶
func (x *ClosedEvent) GetResourcePath() URI
func (*ClosedEvent) GetStateReason ¶
func (x *ClosedEvent) GetStateReason() IssueStateReason
func (*ClosedEvent) GetUrl ¶
func (x *ClosedEvent) GetUrl() URI
type Closer ¶
type Closer struct {
Interface Closer_Interface
}
func (*Closer) MarshalJSON ¶
func (*Closer) UnmarshalJSON ¶
type Closer_Interface ¶
type Closer_Interface interface {
// contains filtered or unexported methods
}
Closer (UNION): The object which triggered a `ClosedEvent`. Closer_Interface: The object which triggered a `ClosedEvent`.
Possible types:
- *Commit
- *PullRequest
type CodeOfConduct ¶
type CodeOfConduct struct {
// Body: The body of the Code of Conduct.
Body string `json:"body,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Key: The key for the Code of Conduct.
Key string `json:"key,omitempty"`
// Name: The formal name of the Code of Conduct.
Name string `json:"name,omitempty"`
// ResourcePath: The HTTP path for this Code of Conduct.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this Code of Conduct.
Url URI `json:"url,omitempty"`
}
CodeOfConduct (OBJECT): The Code of Conduct for a repository.
func (*CodeOfConduct) GetBody ¶
func (x *CodeOfConduct) GetBody() string
func (*CodeOfConduct) GetId ¶
func (x *CodeOfConduct) GetId() ID
func (*CodeOfConduct) GetKey ¶
func (x *CodeOfConduct) GetKey() string
func (*CodeOfConduct) GetName ¶
func (x *CodeOfConduct) GetName() string
func (*CodeOfConduct) GetResourcePath ¶
func (x *CodeOfConduct) GetResourcePath() URI
func (*CodeOfConduct) GetUrl ¶
func (x *CodeOfConduct) GetUrl() URI
type CollaboratorAffiliation ¶
type CollaboratorAffiliation string
CollaboratorAffiliation (ENUM): Collaborators affiliation level with a subject.
const CollaboratorAffiliation_ALL CollaboratorAffiliation = "ALL"
CollaboratorAffiliation_ALL: All collaborators the authenticated user can see.
const CollaboratorAffiliation_DIRECT CollaboratorAffiliation = "DIRECT"
CollaboratorAffiliation_DIRECT: All collaborators with permissions to an organization-owned subject, regardless of organization membership status.
const CollaboratorAffiliation_OUTSIDE CollaboratorAffiliation = "OUTSIDE"
CollaboratorAffiliation_OUTSIDE: All outside collaborators of an organization-owned subject.
type Comment ¶
type Comment struct {
Interface Comment_Interface
}
func (*Comment) MarshalJSON ¶
func (*Comment) UnmarshalJSON ¶
type CommentAuthorAssociation ¶
type CommentAuthorAssociation string
CommentAuthorAssociation (ENUM): A comment author association with repository.
const CommentAuthorAssociation_COLLABORATOR CommentAuthorAssociation = "COLLABORATOR"
CommentAuthorAssociation_COLLABORATOR: Author has been invited to collaborate on the repository.
const CommentAuthorAssociation_CONTRIBUTOR CommentAuthorAssociation = "CONTRIBUTOR"
CommentAuthorAssociation_CONTRIBUTOR: Author has previously committed to the repository.
const CommentAuthorAssociation_FIRST_TIMER CommentAuthorAssociation = "FIRST_TIMER"
CommentAuthorAssociation_FIRST_TIMER: Author has not previously committed to GitHub.
const CommentAuthorAssociation_FIRST_TIME_CONTRIBUTOR CommentAuthorAssociation = "FIRST_TIME_CONTRIBUTOR"
CommentAuthorAssociation_FIRST_TIME_CONTRIBUTOR: Author has not previously committed to the repository.
const CommentAuthorAssociation_MANNEQUIN CommentAuthorAssociation = "MANNEQUIN"
CommentAuthorAssociation_MANNEQUIN: Author is a placeholder for an unclaimed user.
const CommentAuthorAssociation_MEMBER CommentAuthorAssociation = "MEMBER"
CommentAuthorAssociation_MEMBER: Author is a member of the organization that owns the repository.
const CommentAuthorAssociation_NONE CommentAuthorAssociation = "NONE"
CommentAuthorAssociation_NONE: Author has no association with the repository.
const CommentAuthorAssociation_OWNER CommentAuthorAssociation = "OWNER"
CommentAuthorAssociation_OWNER: Author is the owner of the repository.
type CommentCannotUpdateReason ¶
type CommentCannotUpdateReason string
CommentCannotUpdateReason (ENUM): The possible errors that will prevent a user from updating a comment.
const CommentCannotUpdateReason_ARCHIVED CommentCannotUpdateReason = "ARCHIVED"
CommentCannotUpdateReason_ARCHIVED: Unable to create comment because repository is archived.
const CommentCannotUpdateReason_DENIED CommentCannotUpdateReason = "DENIED"
CommentCannotUpdateReason_DENIED: You cannot update this comment.
const CommentCannotUpdateReason_INSUFFICIENT_ACCESS CommentCannotUpdateReason = "INSUFFICIENT_ACCESS"
CommentCannotUpdateReason_INSUFFICIENT_ACCESS: You must be the author or have write access to this repository to update this comment.
const CommentCannotUpdateReason_LOCKED CommentCannotUpdateReason = "LOCKED"
CommentCannotUpdateReason_LOCKED: Unable to create comment because issue is locked.
const CommentCannotUpdateReason_LOGIN_REQUIRED CommentCannotUpdateReason = "LOGIN_REQUIRED"
CommentCannotUpdateReason_LOGIN_REQUIRED: You must be logged in to update this comment.
const CommentCannotUpdateReason_MAINTENANCE CommentCannotUpdateReason = "MAINTENANCE"
CommentCannotUpdateReason_MAINTENANCE: Repository is under maintenance.
const CommentCannotUpdateReason_VERIFIED_EMAIL_REQUIRED CommentCannotUpdateReason = "VERIFIED_EMAIL_REQUIRED"
CommentCannotUpdateReason_VERIFIED_EMAIL_REQUIRED: At least one email address must be verified to update this comment.
type CommentDeletedEvent ¶
type CommentDeletedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DeletedCommentAuthor: The user who authored the deleted comment.
DeletedCommentAuthor Actor `json:"deletedCommentAuthor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
CommentDeletedEvent (OBJECT): Represents a 'comment_deleted' event on a given issue or pull request.
func (*CommentDeletedEvent) GetActor ¶
func (x *CommentDeletedEvent) GetActor() Actor
func (*CommentDeletedEvent) GetCreatedAt ¶
func (x *CommentDeletedEvent) GetCreatedAt() DateTime
func (*CommentDeletedEvent) GetDatabaseId ¶
func (x *CommentDeletedEvent) GetDatabaseId() int
func (*CommentDeletedEvent) GetDeletedCommentAuthor ¶
func (x *CommentDeletedEvent) GetDeletedCommentAuthor() Actor
func (*CommentDeletedEvent) GetId ¶
func (x *CommentDeletedEvent) GetId() ID
type Comment_Interface ¶
type Comment_Interface interface {
GetAuthor() Actor
GetAuthorAssociation() CommentAuthorAssociation
GetBody() string
GetBodyHTML() template.HTML
GetBodyText() string
GetCreatedAt() DateTime
GetCreatedViaEmail() bool
GetEditor() Actor
GetId() ID
GetIncludesCreatedEdit() bool
GetLastEditedAt() DateTime
GetPublishedAt() DateTime
GetUpdatedAt() DateTime
GetUserContentEdits() *UserContentEditConnection
GetViewerDidAuthor() bool
// contains filtered or unexported methods
}
Comment (INTERFACE): Represents a comment. Comment_Interface: Represents a comment.
Possible types:
- *CommitComment
- *Discussion
- *DiscussionComment
- *GistComment
- *Issue
- *IssueComment
- *PullRequest
- *PullRequestReview
- *PullRequestReviewComment
- *TeamDiscussion
- *TeamDiscussionComment
type Commit ¶
type Commit struct {
// AbbreviatedOid: An abbreviated version of the Git object ID.
AbbreviatedOid string `json:"abbreviatedOid,omitempty"`
// Additions: The number of additions in this commit.
Additions int `json:"additions,omitempty"`
// AssociatedPullRequests: The merged Pull Request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open Pull Requests associated with the commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy PullRequestOrder
AssociatedPullRequests *PullRequestConnection `json:"associatedPullRequests,omitempty"`
// Author: Authorship details of the commit.
Author *GitActor `json:"author,omitempty"`
// AuthoredByCommitter: Check if the committer and the author match.
AuthoredByCommitter bool `json:"authoredByCommitter,omitempty"`
// AuthoredDate: The datetime when this commit was authored.
AuthoredDate DateTime `json:"authoredDate,omitempty"`
// Authors: The list of authors for this commit based on the git author and the Co-authored-by
// message trailer. The git author will always be first.
// .
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Authors *GitActorConnection `json:"authors,omitempty"`
// Blame: Fetches `git blame` information.
//
// Query arguments:
// - path String!
Blame *Blame `json:"blame,omitempty"`
// ChangedFiles: The number of changed files in this commit.
ChangedFiles int `json:"changedFiles,omitempty"`
// CheckSuites: The check suites associated with a commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - filterBy CheckSuiteFilter
CheckSuites *CheckSuiteConnection `json:"checkSuites,omitempty"`
// Comments: Comments made on the commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *CommitCommentConnection `json:"comments,omitempty"`
// CommitResourcePath: The HTTP path for this Git object.
CommitResourcePath URI `json:"commitResourcePath,omitempty"`
// CommitUrl: The HTTP URL for this Git object.
CommitUrl URI `json:"commitUrl,omitempty"`
// CommittedDate: The datetime when this commit was committed.
CommittedDate DateTime `json:"committedDate,omitempty"`
// CommittedViaWeb: Check if committed via GitHub web UI.
CommittedViaWeb bool `json:"committedViaWeb,omitempty"`
// Committer: Committer details of the commit.
Committer *GitActor `json:"committer,omitempty"`
// Deletions: The number of deletions in this commit.
Deletions int `json:"deletions,omitempty"`
// Deployments: The deployments associated with a commit.
//
// Query arguments:
// - environments [String!]
// - orderBy DeploymentOrder
// - after String
// - before String
// - first Int
// - last Int
Deployments *DeploymentConnection `json:"deployments,omitempty"`
// File: The tree entry representing the file located at the given path.
//
// Query arguments:
// - path String!
File *TreeEntry `json:"file,omitempty"`
// History: The linear commit history starting from (and including) this commit, in the same order as `git log`.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - path String
// - author CommitAuthor
// - since GitTimestamp
// - until GitTimestamp
History *CommitHistoryConnection `json:"history,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Message: The Git commit message.
Message string `json:"message,omitempty"`
// MessageBody: The Git commit message body.
MessageBody string `json:"messageBody,omitempty"`
// MessageBodyHTML: The commit message body rendered to HTML.
MessageBodyHTML template.HTML `json:"messageBodyHTML,omitempty"`
// MessageHeadline: The Git commit message headline.
MessageHeadline string `json:"messageHeadline,omitempty"`
// MessageHeadlineHTML: The commit message headline rendered to HTML.
MessageHeadlineHTML template.HTML `json:"messageHeadlineHTML,omitempty"`
// Oid: The Git object ID.
Oid GitObjectID `json:"oid,omitempty"`
// OnBehalfOf: The organization this commit was made on behalf of.
OnBehalfOf *Organization `json:"onBehalfOf,omitempty"`
// Parents: The parents of a commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Parents *CommitConnection `json:"parents,omitempty"`
// PushedDate: The datetime when this commit was pushed.
PushedDate DateTime `json:"pushedDate,omitempty"`
// Repository: The Repository this commit belongs to.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this commit.
ResourcePath URI `json:"resourcePath,omitempty"`
// Signature: Commit signing information, if present.
Signature GitSignature `json:"signature,omitempty"`
// Status: Status information for this commit.
Status *Status `json:"status,omitempty"`
// StatusCheckRollup: Check and Status rollup information for this commit.
StatusCheckRollup *StatusCheckRollup `json:"statusCheckRollup,omitempty"`
// Submodules: Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Submodules *SubmoduleConnection `json:"submodules,omitempty"`
// TarballUrl: Returns a URL to download a tarball archive for a repository.
// Note: For private repositories, these links are temporary and expire after five minutes.
TarballUrl URI `json:"tarballUrl,omitempty"`
// Tree: Commit's root Tree.
Tree *Tree `json:"tree,omitempty"`
// TreeResourcePath: The HTTP path for the tree of this commit.
TreeResourcePath URI `json:"treeResourcePath,omitempty"`
// TreeUrl: The HTTP URL for the tree of this commit.
TreeUrl URI `json:"treeUrl,omitempty"`
// Url: The HTTP URL for this commit.
Url URI `json:"url,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
// ZipballUrl: Returns a URL to download a zipball archive for a repository.
// Note: For private repositories, these links are temporary and expire after five minutes.
ZipballUrl URI `json:"zipballUrl,omitempty"`
}
Commit (OBJECT): Represents a Git commit.
func (*Commit) GetAbbreviatedOid ¶
func (*Commit) GetAdditions ¶
func (*Commit) GetAssociatedPullRequests ¶
func (x *Commit) GetAssociatedPullRequests() *PullRequestConnection
func (*Commit) GetAuthoredByCommitter ¶
func (*Commit) GetAuthoredDate ¶
func (*Commit) GetAuthors ¶
func (x *Commit) GetAuthors() *GitActorConnection
func (*Commit) GetChangedFiles ¶
func (*Commit) GetCheckSuites ¶
func (x *Commit) GetCheckSuites() *CheckSuiteConnection
func (*Commit) GetComments ¶
func (x *Commit) GetComments() *CommitCommentConnection
func (*Commit) GetCommitResourcePath ¶
func (*Commit) GetCommitUrl ¶
func (*Commit) GetCommittedDate ¶
func (*Commit) GetCommittedViaWeb ¶
func (*Commit) GetCommitter ¶
func (*Commit) GetDeletions ¶
func (*Commit) GetDeployments ¶
func (x *Commit) GetDeployments() *DeploymentConnection
func (*Commit) GetHistory ¶
func (x *Commit) GetHistory() *CommitHistoryConnection
func (*Commit) GetMessage ¶
func (*Commit) GetMessageBody ¶
func (*Commit) GetMessageBodyHTML ¶
func (*Commit) GetMessageHeadline ¶
func (*Commit) GetMessageHeadlineHTML ¶
func (*Commit) GetOid ¶
func (x *Commit) GetOid() GitObjectID
func (*Commit) GetOnBehalfOf ¶
func (x *Commit) GetOnBehalfOf() *Organization
func (*Commit) GetParents ¶
func (x *Commit) GetParents() *CommitConnection
func (*Commit) GetPushedDate ¶
func (*Commit) GetRepository ¶
func (x *Commit) GetRepository() *Repository
func (*Commit) GetResourcePath ¶
func (*Commit) GetSignature ¶
func (x *Commit) GetSignature() GitSignature
func (*Commit) GetStatusCheckRollup ¶
func (x *Commit) GetStatusCheckRollup() *StatusCheckRollup
func (*Commit) GetSubmodules ¶
func (x *Commit) GetSubmodules() *SubmoduleConnection
func (*Commit) GetTarballUrl ¶
func (*Commit) GetTreeResourcePath ¶
func (*Commit) GetTreeUrl ¶
func (*Commit) GetViewerCanSubscribe ¶
func (*Commit) GetViewerSubscription ¶
func (x *Commit) GetViewerSubscription() SubscriptionState
func (*Commit) GetZipballUrl ¶
type CommitAuthor ¶
type CommitAuthor struct {
// Id: ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails.
//
// GraphQL type: ID
Id ID `json:"id,omitempty"`
// Emails: Email addresses to filter by. Commits authored by any of the specified email addresses will be returned.
//
// GraphQL type: [String!]
Emails []string `json:"emails,omitempty"`
}
CommitAuthor (INPUT_OBJECT): Specifies an author for filtering Git commits.
type CommitComment ¶
type CommitComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: Identifies the comment body.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// Commit: Identifies the commit associated with the comment, if the commit exists.
Commit *Commit `json:"commit,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsMinimized: Returns whether or not a comment has been minimized.
IsMinimized bool `json:"isMinimized,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// MinimizedReason: Returns why the comment was minimized.
MinimizedReason string `json:"minimizedReason,omitempty"`
// Path: Identifies the file path associated with the comment.
Path string `json:"path,omitempty"`
// Position: Identifies the line position associated with the comment.
Position int `json:"position,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path permalink for this commit comment.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL permalink for this commit comment.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanMinimize: Check if the current viewer can minimize this object.
ViewerCanMinimize bool `json:"viewerCanMinimize,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
CommitComment (OBJECT): Represents a comment on a given Commit.
func (*CommitComment) GetAuthor ¶
func (x *CommitComment) GetAuthor() Actor
func (*CommitComment) GetAuthorAssociation ¶
func (x *CommitComment) GetAuthorAssociation() CommentAuthorAssociation
func (*CommitComment) GetBody ¶
func (x *CommitComment) GetBody() string
func (*CommitComment) GetBodyHTML ¶
func (x *CommitComment) GetBodyHTML() template.HTML
func (*CommitComment) GetBodyText ¶
func (x *CommitComment) GetBodyText() string
func (*CommitComment) GetCommit ¶
func (x *CommitComment) GetCommit() *Commit
func (*CommitComment) GetCreatedAt ¶
func (x *CommitComment) GetCreatedAt() DateTime
func (*CommitComment) GetCreatedViaEmail ¶
func (x *CommitComment) GetCreatedViaEmail() bool
func (*CommitComment) GetDatabaseId ¶
func (x *CommitComment) GetDatabaseId() int
func (*CommitComment) GetEditor ¶
func (x *CommitComment) GetEditor() Actor
func (*CommitComment) GetId ¶
func (x *CommitComment) GetId() ID
func (*CommitComment) GetIncludesCreatedEdit ¶
func (x *CommitComment) GetIncludesCreatedEdit() bool
func (*CommitComment) GetIsMinimized ¶
func (x *CommitComment) GetIsMinimized() bool
func (*CommitComment) GetLastEditedAt ¶
func (x *CommitComment) GetLastEditedAt() DateTime
func (*CommitComment) GetMinimizedReason ¶
func (x *CommitComment) GetMinimizedReason() string
func (*CommitComment) GetPath ¶
func (x *CommitComment) GetPath() string
func (*CommitComment) GetPosition ¶
func (x *CommitComment) GetPosition() int
func (*CommitComment) GetPublishedAt ¶
func (x *CommitComment) GetPublishedAt() DateTime
func (*CommitComment) GetReactionGroups ¶
func (x *CommitComment) GetReactionGroups() []*ReactionGroup
func (*CommitComment) GetReactions ¶
func (x *CommitComment) GetReactions() *ReactionConnection
func (*CommitComment) GetRepository ¶
func (x *CommitComment) GetRepository() *Repository
func (*CommitComment) GetResourcePath ¶
func (x *CommitComment) GetResourcePath() URI
func (*CommitComment) GetUpdatedAt ¶
func (x *CommitComment) GetUpdatedAt() DateTime
func (*CommitComment) GetUrl ¶
func (x *CommitComment) GetUrl() URI
func (*CommitComment) GetUserContentEdits ¶
func (x *CommitComment) GetUserContentEdits() *UserContentEditConnection
func (*CommitComment) GetViewerCanDelete ¶
func (x *CommitComment) GetViewerCanDelete() bool
func (*CommitComment) GetViewerCanMinimize ¶
func (x *CommitComment) GetViewerCanMinimize() bool
func (*CommitComment) GetViewerCanReact ¶
func (x *CommitComment) GetViewerCanReact() bool
func (*CommitComment) GetViewerCanUpdate ¶
func (x *CommitComment) GetViewerCanUpdate() bool
func (*CommitComment) GetViewerCannotUpdateReasons ¶
func (x *CommitComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*CommitComment) GetViewerDidAuthor ¶
func (x *CommitComment) GetViewerDidAuthor() bool
type CommitCommentConnection ¶
type CommitCommentConnection struct {
// Edges: A list of edges.
Edges []*CommitCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CommitComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CommitCommentConnection (OBJECT): The connection type for CommitComment.
func (*CommitCommentConnection) GetEdges ¶
func (x *CommitCommentConnection) GetEdges() []*CommitCommentEdge
func (*CommitCommentConnection) GetNodes ¶
func (x *CommitCommentConnection) GetNodes() []*CommitComment
func (*CommitCommentConnection) GetPageInfo ¶
func (x *CommitCommentConnection) GetPageInfo() *PageInfo
func (*CommitCommentConnection) GetTotalCount ¶
func (x *CommitCommentConnection) GetTotalCount() int
type CommitCommentEdge ¶
type CommitCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CommitComment `json:"node,omitempty"`
}
CommitCommentEdge (OBJECT): An edge in a connection.
func (*CommitCommentEdge) GetCursor ¶
func (x *CommitCommentEdge) GetCursor() string
func (*CommitCommentEdge) GetNode ¶
func (x *CommitCommentEdge) GetNode() *CommitComment
type CommitCommentThread ¶
type CommitCommentThread struct {
// Comments: The comments that exist in this thread.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *CommitCommentConnection `json:"comments,omitempty"`
// Commit: The commit the comments were made on.
Commit *Commit `json:"commit,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Path: The file the comments were made on.
Path string `json:"path,omitempty"`
// Position: The position in the diff for the commit that the comment was made on.
Position int `json:"position,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
}
CommitCommentThread (OBJECT): A thread of comments on a commit.
func (*CommitCommentThread) GetComments ¶
func (x *CommitCommentThread) GetComments() *CommitCommentConnection
func (*CommitCommentThread) GetCommit ¶
func (x *CommitCommentThread) GetCommit() *Commit
func (*CommitCommentThread) GetId ¶
func (x *CommitCommentThread) GetId() ID
func (*CommitCommentThread) GetPath ¶
func (x *CommitCommentThread) GetPath() string
func (*CommitCommentThread) GetPosition ¶
func (x *CommitCommentThread) GetPosition() int
func (*CommitCommentThread) GetRepository ¶
func (x *CommitCommentThread) GetRepository() *Repository
type CommitConnection ¶
type CommitConnection struct {
// Edges: A list of edges.
Edges []*CommitEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Commit `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CommitConnection (OBJECT): The connection type for Commit.
func (*CommitConnection) GetEdges ¶
func (x *CommitConnection) GetEdges() []*CommitEdge
func (*CommitConnection) GetNodes ¶
func (x *CommitConnection) GetNodes() []*Commit
func (*CommitConnection) GetPageInfo ¶
func (x *CommitConnection) GetPageInfo() *PageInfo
func (*CommitConnection) GetTotalCount ¶
func (x *CommitConnection) GetTotalCount() int
type CommitContributionOrder ¶
type CommitContributionOrder struct {
// Field: The field by which to order commit contributions.
//
// GraphQL type: CommitContributionOrderField!
Field CommitContributionOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
CommitContributionOrder (INPUT_OBJECT): Ordering options for commit contribution connections.
type CommitContributionOrderField ¶
type CommitContributionOrderField string
CommitContributionOrderField (ENUM): Properties by which commit contribution connections can be ordered.
const CommitContributionOrderField_COMMIT_COUNT CommitContributionOrderField = "COMMIT_COUNT"
CommitContributionOrderField_COMMIT_COUNT: Order commit contributions by how many commits they represent.
const CommitContributionOrderField_OCCURRED_AT CommitContributionOrderField = "OCCURRED_AT"
CommitContributionOrderField_OCCURRED_AT: Order commit contributions by when they were made.
type CommitContributionsByRepository ¶
type CommitContributionsByRepository struct {
// Contributions: The commit contributions, each representing a day.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy CommitContributionOrder
Contributions *CreatedCommitContributionConnection `json:"contributions,omitempty"`
// Repository: The repository in which the commits were made.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for the user's commits to the repository in this time range.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for the user's commits to the repository in this time range.
Url URI `json:"url,omitempty"`
}
CommitContributionsByRepository (OBJECT): This aggregates commits made by a user within one repository.
func (*CommitContributionsByRepository) GetContributions ¶
func (x *CommitContributionsByRepository) GetContributions() *CreatedCommitContributionConnection
func (*CommitContributionsByRepository) GetRepository ¶
func (x *CommitContributionsByRepository) GetRepository() *Repository
func (*CommitContributionsByRepository) GetResourcePath ¶
func (x *CommitContributionsByRepository) GetResourcePath() URI
func (*CommitContributionsByRepository) GetUrl ¶
func (x *CommitContributionsByRepository) GetUrl() URI
type CommitEdge ¶
type CommitEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Commit `json:"node,omitempty"`
}
CommitEdge (OBJECT): An edge in a connection.
func (*CommitEdge) GetCursor ¶
func (x *CommitEdge) GetCursor() string
func (*CommitEdge) GetNode ¶
func (x *CommitEdge) GetNode() *Commit
type CommitHistoryConnection ¶
type CommitHistoryConnection struct {
// Edges: A list of edges.
Edges []*CommitEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Commit `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CommitHistoryConnection (OBJECT): The connection type for Commit.
func (*CommitHistoryConnection) GetEdges ¶
func (x *CommitHistoryConnection) GetEdges() []*CommitEdge
func (*CommitHistoryConnection) GetNodes ¶
func (x *CommitHistoryConnection) GetNodes() []*Commit
func (*CommitHistoryConnection) GetPageInfo ¶
func (x *CommitHistoryConnection) GetPageInfo() *PageInfo
func (*CommitHistoryConnection) GetTotalCount ¶
func (x *CommitHistoryConnection) GetTotalCount() int
type CommitMessage ¶
type CommitMessage struct {
// Headline: The headline of the message.
//
// GraphQL type: String!
Headline string `json:"headline,omitempty"`
// Body: The body of the message.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
}
CommitMessage (INPUT_OBJECT): A message to include with a new commit.
type CommittableBranch ¶
type CommittableBranch struct {
// Id: The Node ID of the Ref to be updated.
//
// GraphQL type: ID
Id ID `json:"id,omitempty"`
// RepositoryNameWithOwner: The nameWithOwner of the repository to commit to.
//
// GraphQL type: String
RepositoryNameWithOwner string `json:"repositoryNameWithOwner,omitempty"`
// BranchName: The unqualified name of the branch to append the commit to.
//
// GraphQL type: String
BranchName string `json:"branchName,omitempty"`
}
CommittableBranch (INPUT_OBJECT): A git ref for a commit to be appended to.
The ref must be a branch, i.e. its fully qualified name must start with `refs/heads/` (although the input is not required to be fully qualified).
The Ref may be specified by its global node ID or by the repository nameWithOwner and branch name.
### Examples
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using nameWithOwner and branch name:
{
"nameWithOwner": "github/graphql-client",
"branchName": "main"
}
.
type ConnectedEvent ¶
type ConnectedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Reference originated in a different repository.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
// Source: Issue or pull request that made the reference.
Source ReferencedSubject `json:"source,omitempty"`
// Subject: Issue or pull request which was connected.
Subject ReferencedSubject `json:"subject,omitempty"`
}
ConnectedEvent (OBJECT): Represents a 'connected' event on a given issue or pull request.
func (*ConnectedEvent) GetActor ¶
func (x *ConnectedEvent) GetActor() Actor
func (*ConnectedEvent) GetCreatedAt ¶
func (x *ConnectedEvent) GetCreatedAt() DateTime
func (*ConnectedEvent) GetId ¶
func (x *ConnectedEvent) GetId() ID
func (*ConnectedEvent) GetIsCrossRepository ¶
func (x *ConnectedEvent) GetIsCrossRepository() bool
func (*ConnectedEvent) GetSource ¶
func (x *ConnectedEvent) GetSource() ReferencedSubject
func (*ConnectedEvent) GetSubject ¶
func (x *ConnectedEvent) GetSubject() ReferencedSubject
type Contribution ¶
type Contribution struct {
Interface Contribution_Interface
}
func (*Contribution) MarshalJSON ¶
func (x *Contribution) MarshalJSON() ([]byte, error)
func (*Contribution) UnmarshalJSON ¶
func (x *Contribution) UnmarshalJSON(js []byte) error
type ContributionCalendar ¶
type ContributionCalendar struct {
// Colors: A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.
Colors []string `json:"colors,omitempty"`
// IsHalloween: Determine if the color set was chosen because it's currently Halloween.
IsHalloween bool `json:"isHalloween,omitempty"`
// Months: A list of the months of contributions in this calendar.
Months []*ContributionCalendarMonth `json:"months,omitempty"`
// TotalContributions: The count of total contributions in the calendar.
TotalContributions int `json:"totalContributions,omitempty"`
// Weeks: A list of the weeks of contributions in this calendar.
Weeks []*ContributionCalendarWeek `json:"weeks,omitempty"`
}
ContributionCalendar (OBJECT): A calendar of contributions made on GitHub by a user.
func (*ContributionCalendar) GetColors ¶
func (x *ContributionCalendar) GetColors() []string
func (*ContributionCalendar) GetIsHalloween ¶
func (x *ContributionCalendar) GetIsHalloween() bool
func (*ContributionCalendar) GetMonths ¶
func (x *ContributionCalendar) GetMonths() []*ContributionCalendarMonth
func (*ContributionCalendar) GetTotalContributions ¶
func (x *ContributionCalendar) GetTotalContributions() int
func (*ContributionCalendar) GetWeeks ¶
func (x *ContributionCalendar) GetWeeks() []*ContributionCalendarWeek
type ContributionCalendarDay ¶
type ContributionCalendarDay struct {
// Color: The hex color code that represents how many contributions were made on this day compared to others in the calendar.
Color string `json:"color,omitempty"`
// ContributionCount: How many contributions were made by the user on this day.
ContributionCount int `json:"contributionCount,omitempty"`
// ContributionLevel: Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar.
ContributionLevel ContributionLevel `json:"contributionLevel,omitempty"`
// Date: The day this square represents.
Date Date `json:"date,omitempty"`
// Weekday: A number representing which day of the week this square represents, e.g., 1 is Monday.
Weekday int `json:"weekday,omitempty"`
}
ContributionCalendarDay (OBJECT): Represents a single day of contributions on GitHub by a user.
func (*ContributionCalendarDay) GetColor ¶
func (x *ContributionCalendarDay) GetColor() string
func (*ContributionCalendarDay) GetContributionCount ¶
func (x *ContributionCalendarDay) GetContributionCount() int
func (*ContributionCalendarDay) GetContributionLevel ¶
func (x *ContributionCalendarDay) GetContributionLevel() ContributionLevel
func (*ContributionCalendarDay) GetDate ¶
func (x *ContributionCalendarDay) GetDate() Date
func (*ContributionCalendarDay) GetWeekday ¶
func (x *ContributionCalendarDay) GetWeekday() int
type ContributionCalendarMonth ¶
type ContributionCalendarMonth struct {
// FirstDay: The date of the first day of this month.
FirstDay Date `json:"firstDay,omitempty"`
// Name: The name of the month.
Name string `json:"name,omitempty"`
// TotalWeeks: How many weeks started in this month.
TotalWeeks int `json:"totalWeeks,omitempty"`
// Year: The year the month occurred in.
Year int `json:"year,omitempty"`
}
ContributionCalendarMonth (OBJECT): A month of contributions in a user's contribution graph.
func (*ContributionCalendarMonth) GetFirstDay ¶
func (x *ContributionCalendarMonth) GetFirstDay() Date
func (*ContributionCalendarMonth) GetName ¶
func (x *ContributionCalendarMonth) GetName() string
func (*ContributionCalendarMonth) GetTotalWeeks ¶
func (x *ContributionCalendarMonth) GetTotalWeeks() int
func (*ContributionCalendarMonth) GetYear ¶
func (x *ContributionCalendarMonth) GetYear() int
type ContributionCalendarWeek ¶
type ContributionCalendarWeek struct {
// ContributionDays: The days of contributions in this week.
ContributionDays []*ContributionCalendarDay `json:"contributionDays,omitempty"`
// FirstDay: The date of the earliest square in this week.
FirstDay Date `json:"firstDay,omitempty"`
}
ContributionCalendarWeek (OBJECT): A week of contributions in a user's contribution graph.
func (*ContributionCalendarWeek) GetContributionDays ¶
func (x *ContributionCalendarWeek) GetContributionDays() []*ContributionCalendarDay
func (*ContributionCalendarWeek) GetFirstDay ¶
func (x *ContributionCalendarWeek) GetFirstDay() Date
type ContributionLevel ¶
type ContributionLevel string
ContributionLevel (ENUM): Varying levels of contributions from none to many.
const ContributionLevel_FIRST_QUARTILE ContributionLevel = "FIRST_QUARTILE"
ContributionLevel_FIRST_QUARTILE: Lowest 25% of days of contributions.
const ContributionLevel_FOURTH_QUARTILE ContributionLevel = "FOURTH_QUARTILE"
ContributionLevel_FOURTH_QUARTILE: Highest 25% of days of contributions. More contributions than the third quartile.
const ContributionLevel_NONE ContributionLevel = "NONE"
ContributionLevel_NONE: No contributions occurred.
const ContributionLevel_SECOND_QUARTILE ContributionLevel = "SECOND_QUARTILE"
ContributionLevel_SECOND_QUARTILE: Second lowest 25% of days of contributions. More contributions than the first quartile.
const ContributionLevel_THIRD_QUARTILE ContributionLevel = "THIRD_QUARTILE"
ContributionLevel_THIRD_QUARTILE: Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile.
type ContributionOrder ¶
type ContributionOrder struct {
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ContributionOrder (INPUT_OBJECT): Ordering options for contribution connections.
type Contribution_Interface ¶
type Contribution_Interface interface {
GetIsRestricted() bool
GetOccurredAt() DateTime
GetResourcePath() URI
GetUrl() URI
GetUser() *User
// contains filtered or unexported methods
}
Contribution (INTERFACE): Represents a contribution a user made on GitHub, such as opening an issue. Contribution_Interface: Represents a contribution a user made on GitHub, such as opening an issue.
Possible types:
- *CreatedCommitContribution
- *CreatedIssueContribution
- *CreatedPullRequestContribution
- *CreatedPullRequestReviewContribution
- *CreatedRepositoryContribution
- *JoinedGitHubContribution
- *RestrictedContribution
type ContributionsCollection ¶
type ContributionsCollection struct {
// CommitContributionsByRepository: Commit contributions made by the user, grouped by repository.
//
// Query arguments:
// - maxRepositories Int
CommitContributionsByRepository []*CommitContributionsByRepository `json:"commitContributionsByRepository,omitempty"`
// ContributionCalendar: A calendar of this user's contributions on GitHub.
ContributionCalendar *ContributionCalendar `json:"contributionCalendar,omitempty"`
// ContributionYears: The years the user has been making contributions with the most recent year first.
ContributionYears []int `json:"contributionYears,omitempty"`
// DoesEndInCurrentMonth: Determine if this collection's time span ends in the current month.
// .
DoesEndInCurrentMonth bool `json:"doesEndInCurrentMonth,omitempty"`
// EarliestRestrictedContributionDate: The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.
EarliestRestrictedContributionDate Date `json:"earliestRestrictedContributionDate,omitempty"`
// EndedAt: The ending date and time of this collection.
EndedAt DateTime `json:"endedAt,omitempty"`
// FirstIssueContribution: The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.
FirstIssueContribution CreatedIssueOrRestrictedContribution `json:"firstIssueContribution,omitempty"`
// FirstPullRequestContribution: The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.
FirstPullRequestContribution CreatedPullRequestOrRestrictedContribution `json:"firstPullRequestContribution,omitempty"`
// FirstRepositoryContribution: The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned.
FirstRepositoryContribution CreatedRepositoryOrRestrictedContribution `json:"firstRepositoryContribution,omitempty"`
// HasActivityInThePast: Does the user have any more activity in the timeline that occurred prior to the collection's time range?.
HasActivityInThePast bool `json:"hasActivityInThePast,omitempty"`
// HasAnyContributions: Determine if there are any contributions in this collection.
HasAnyContributions bool `json:"hasAnyContributions,omitempty"`
// HasAnyRestrictedContributions: Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts.
HasAnyRestrictedContributions bool `json:"hasAnyRestrictedContributions,omitempty"`
// IsSingleDay: Whether or not the collector's time span is all within the same day.
IsSingleDay bool `json:"isSingleDay,omitempty"`
// IssueContributions: A list of issues the user opened.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - excludeFirst Boolean
// - excludePopular Boolean
// - orderBy ContributionOrder
IssueContributions *CreatedIssueContributionConnection `json:"issueContributions,omitempty"`
// IssueContributionsByRepository: Issue contributions made by the user, grouped by repository.
//
// Query arguments:
// - maxRepositories Int
// - excludeFirst Boolean
// - excludePopular Boolean
IssueContributionsByRepository []*IssueContributionsByRepository `json:"issueContributionsByRepository,omitempty"`
// JoinedGitHubContribution: When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false.
JoinedGitHubContribution *JoinedGitHubContribution `json:"joinedGitHubContribution,omitempty"`
// LatestRestrictedContributionDate: The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.
LatestRestrictedContributionDate Date `json:"latestRestrictedContributionDate,omitempty"`
// MostRecentCollectionWithActivity: When this collection's time range does not include any activity from the user, use this
// to get a different collection from an earlier time range that does have activity.
// .
MostRecentCollectionWithActivity *ContributionsCollection `json:"mostRecentCollectionWithActivity,omitempty"`
// MostRecentCollectionWithoutActivity: Returns a different contributions collection from an earlier time range than this one
// that does not have any contributions.
// .
MostRecentCollectionWithoutActivity *ContributionsCollection `json:"mostRecentCollectionWithoutActivity,omitempty"`
// PopularIssueContribution: The issue the user opened on GitHub that received the most comments in the specified
// time frame.
// .
PopularIssueContribution *CreatedIssueContribution `json:"popularIssueContribution,omitempty"`
// PopularPullRequestContribution: The pull request the user opened on GitHub that received the most comments in the
// specified time frame.
// .
PopularPullRequestContribution *CreatedPullRequestContribution `json:"popularPullRequestContribution,omitempty"`
// PullRequestContributions: Pull request contributions made by the user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - excludeFirst Boolean
// - excludePopular Boolean
// - orderBy ContributionOrder
PullRequestContributions *CreatedPullRequestContributionConnection `json:"pullRequestContributions,omitempty"`
// PullRequestContributionsByRepository: Pull request contributions made by the user, grouped by repository.
//
// Query arguments:
// - maxRepositories Int
// - excludeFirst Boolean
// - excludePopular Boolean
PullRequestContributionsByRepository []*PullRequestContributionsByRepository `json:"pullRequestContributionsByRepository,omitempty"`
// PullRequestReviewContributions: Pull request review contributions made by the user. Returns the most recently
// submitted review for each PR reviewed by the user.
// .
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ContributionOrder
PullRequestReviewContributions *CreatedPullRequestReviewContributionConnection `json:"pullRequestReviewContributions,omitempty"`
// PullRequestReviewContributionsByRepository: Pull request review contributions made by the user, grouped by repository.
//
// Query arguments:
// - maxRepositories Int
PullRequestReviewContributionsByRepository []*PullRequestReviewContributionsByRepository `json:"pullRequestReviewContributionsByRepository,omitempty"`
// RepositoryContributions: A list of repositories owned by the user that the user created in this time range.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - excludeFirst Boolean
// - orderBy ContributionOrder
RepositoryContributions *CreatedRepositoryContributionConnection `json:"repositoryContributions,omitempty"`
// RestrictedContributionsCount: A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts.
RestrictedContributionsCount int `json:"restrictedContributionsCount,omitempty"`
// StartedAt: The beginning date and time of this collection.
StartedAt DateTime `json:"startedAt,omitempty"`
// TotalCommitContributions: How many commits were made by the user in this time span.
TotalCommitContributions int `json:"totalCommitContributions,omitempty"`
// TotalIssueContributions: How many issues the user opened.
//
// Query arguments:
// - excludeFirst Boolean
// - excludePopular Boolean
TotalIssueContributions int `json:"totalIssueContributions,omitempty"`
// TotalPullRequestContributions: How many pull requests the user opened.
//
// Query arguments:
// - excludeFirst Boolean
// - excludePopular Boolean
TotalPullRequestContributions int `json:"totalPullRequestContributions,omitempty"`
// TotalPullRequestReviewContributions: How many pull request reviews the user left.
TotalPullRequestReviewContributions int `json:"totalPullRequestReviewContributions,omitempty"`
// TotalRepositoriesWithContributedCommits: How many different repositories the user committed to.
TotalRepositoriesWithContributedCommits int `json:"totalRepositoriesWithContributedCommits,omitempty"`
// TotalRepositoriesWithContributedIssues: How many different repositories the user opened issues in.
//
// Query arguments:
// - excludeFirst Boolean
// - excludePopular Boolean
TotalRepositoriesWithContributedIssues int `json:"totalRepositoriesWithContributedIssues,omitempty"`
// TotalRepositoriesWithContributedPullRequestReviews: How many different repositories the user left pull request reviews in.
TotalRepositoriesWithContributedPullRequestReviews int `json:"totalRepositoriesWithContributedPullRequestReviews,omitempty"`
// TotalRepositoriesWithContributedPullRequests: How many different repositories the user opened pull requests in.
//
// Query arguments:
// - excludeFirst Boolean
// - excludePopular Boolean
TotalRepositoriesWithContributedPullRequests int `json:"totalRepositoriesWithContributedPullRequests,omitempty"`
// TotalRepositoryContributions: How many repositories the user created.
//
// Query arguments:
// - excludeFirst Boolean
TotalRepositoryContributions int `json:"totalRepositoryContributions,omitempty"`
// User: The user who made the contributions in this collection.
User *User `json:"user,omitempty"`
}
ContributionsCollection (OBJECT): A contributions collection aggregates contributions such as opened issues and commits created by a user.
func (*ContributionsCollection) GetCommitContributionsByRepository ¶
func (x *ContributionsCollection) GetCommitContributionsByRepository() []*CommitContributionsByRepository
func (*ContributionsCollection) GetContributionCalendar ¶
func (x *ContributionsCollection) GetContributionCalendar() *ContributionCalendar
func (*ContributionsCollection) GetContributionYears ¶
func (x *ContributionsCollection) GetContributionYears() []int
func (*ContributionsCollection) GetDoesEndInCurrentMonth ¶
func (x *ContributionsCollection) GetDoesEndInCurrentMonth() bool
func (*ContributionsCollection) GetEarliestRestrictedContributionDate ¶
func (x *ContributionsCollection) GetEarliestRestrictedContributionDate() Date
func (*ContributionsCollection) GetEndedAt ¶
func (x *ContributionsCollection) GetEndedAt() DateTime
func (*ContributionsCollection) GetFirstIssueContribution ¶
func (x *ContributionsCollection) GetFirstIssueContribution() CreatedIssueOrRestrictedContribution
func (*ContributionsCollection) GetFirstPullRequestContribution ¶
func (x *ContributionsCollection) GetFirstPullRequestContribution() CreatedPullRequestOrRestrictedContribution
func (*ContributionsCollection) GetFirstRepositoryContribution ¶
func (x *ContributionsCollection) GetFirstRepositoryContribution() CreatedRepositoryOrRestrictedContribution
func (*ContributionsCollection) GetHasActivityInThePast ¶
func (x *ContributionsCollection) GetHasActivityInThePast() bool
func (*ContributionsCollection) GetHasAnyContributions ¶
func (x *ContributionsCollection) GetHasAnyContributions() bool
func (*ContributionsCollection) GetHasAnyRestrictedContributions ¶
func (x *ContributionsCollection) GetHasAnyRestrictedContributions() bool
func (*ContributionsCollection) GetIsSingleDay ¶
func (x *ContributionsCollection) GetIsSingleDay() bool
func (*ContributionsCollection) GetIssueContributions ¶
func (x *ContributionsCollection) GetIssueContributions() *CreatedIssueContributionConnection
func (*ContributionsCollection) GetIssueContributionsByRepository ¶
func (x *ContributionsCollection) GetIssueContributionsByRepository() []*IssueContributionsByRepository
func (*ContributionsCollection) GetJoinedGitHubContribution ¶
func (x *ContributionsCollection) GetJoinedGitHubContribution() *JoinedGitHubContribution
func (*ContributionsCollection) GetLatestRestrictedContributionDate ¶
func (x *ContributionsCollection) GetLatestRestrictedContributionDate() Date
func (*ContributionsCollection) GetMostRecentCollectionWithActivity ¶
func (x *ContributionsCollection) GetMostRecentCollectionWithActivity() *ContributionsCollection
func (*ContributionsCollection) GetMostRecentCollectionWithoutActivity ¶
func (x *ContributionsCollection) GetMostRecentCollectionWithoutActivity() *ContributionsCollection
func (*ContributionsCollection) GetPopularIssueContribution ¶
func (x *ContributionsCollection) GetPopularIssueContribution() *CreatedIssueContribution
func (*ContributionsCollection) GetPopularPullRequestContribution ¶
func (x *ContributionsCollection) GetPopularPullRequestContribution() *CreatedPullRequestContribution
func (*ContributionsCollection) GetPullRequestContributions ¶
func (x *ContributionsCollection) GetPullRequestContributions() *CreatedPullRequestContributionConnection
func (*ContributionsCollection) GetPullRequestContributionsByRepository ¶
func (x *ContributionsCollection) GetPullRequestContributionsByRepository() []*PullRequestContributionsByRepository
func (*ContributionsCollection) GetPullRequestReviewContributions ¶
func (x *ContributionsCollection) GetPullRequestReviewContributions() *CreatedPullRequestReviewContributionConnection
func (*ContributionsCollection) GetPullRequestReviewContributionsByRepository ¶
func (x *ContributionsCollection) GetPullRequestReviewContributionsByRepository() []*PullRequestReviewContributionsByRepository
func (*ContributionsCollection) GetRepositoryContributions ¶
func (x *ContributionsCollection) GetRepositoryContributions() *CreatedRepositoryContributionConnection
func (*ContributionsCollection) GetRestrictedContributionsCount ¶
func (x *ContributionsCollection) GetRestrictedContributionsCount() int
func (*ContributionsCollection) GetStartedAt ¶
func (x *ContributionsCollection) GetStartedAt() DateTime
func (*ContributionsCollection) GetTotalCommitContributions ¶
func (x *ContributionsCollection) GetTotalCommitContributions() int
func (*ContributionsCollection) GetTotalIssueContributions ¶
func (x *ContributionsCollection) GetTotalIssueContributions() int
func (*ContributionsCollection) GetTotalPullRequestContributions ¶
func (x *ContributionsCollection) GetTotalPullRequestContributions() int
func (*ContributionsCollection) GetTotalPullRequestReviewContributions ¶
func (x *ContributionsCollection) GetTotalPullRequestReviewContributions() int
func (*ContributionsCollection) GetTotalRepositoriesWithContributedCommits ¶
func (x *ContributionsCollection) GetTotalRepositoriesWithContributedCommits() int
func (*ContributionsCollection) GetTotalRepositoriesWithContributedIssues ¶
func (x *ContributionsCollection) GetTotalRepositoriesWithContributedIssues() int
func (*ContributionsCollection) GetTotalRepositoriesWithContributedPullRequestReviews ¶
func (x *ContributionsCollection) GetTotalRepositoriesWithContributedPullRequestReviews() int
func (*ContributionsCollection) GetTotalRepositoriesWithContributedPullRequests ¶
func (x *ContributionsCollection) GetTotalRepositoriesWithContributedPullRequests() int
func (*ContributionsCollection) GetTotalRepositoryContributions ¶
func (x *ContributionsCollection) GetTotalRepositoryContributions() int
func (*ContributionsCollection) GetUser ¶
func (x *ContributionsCollection) GetUser() *User
type ConvertProjectCardNoteToIssueInput ¶
type ConvertProjectCardNoteToIssueInput struct {
// ProjectCardId: The ProjectCard ID to convert.
//
// GraphQL type: ID!
ProjectCardId ID `json:"projectCardId,omitempty"`
// RepositoryId: The ID of the repository to create the issue in.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Title: The title of the newly created issue. Defaults to the card's note text.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The body of the newly created issue.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ConvertProjectCardNoteToIssueInput (INPUT_OBJECT): Autogenerated input type of ConvertProjectCardNoteToIssue.
type ConvertProjectCardNoteToIssuePayload ¶
type ConvertProjectCardNoteToIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectCard: The updated ProjectCard.
ProjectCard *ProjectCard `json:"projectCard,omitempty"`
}
ConvertProjectCardNoteToIssuePayload (OBJECT): Autogenerated return type of ConvertProjectCardNoteToIssue.
func (*ConvertProjectCardNoteToIssuePayload) GetClientMutationId ¶
func (x *ConvertProjectCardNoteToIssuePayload) GetClientMutationId() string
func (*ConvertProjectCardNoteToIssuePayload) GetProjectCard ¶
func (x *ConvertProjectCardNoteToIssuePayload) GetProjectCard() *ProjectCard
type ConvertPullRequestToDraftInput ¶
type ConvertPullRequestToDraftInput struct {
// PullRequestId: ID of the pull request to convert to draft.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ConvertPullRequestToDraftInput (INPUT_OBJECT): Autogenerated input type of ConvertPullRequestToDraft.
type ConvertPullRequestToDraftPayload ¶
type ConvertPullRequestToDraftPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that is now a draft.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
ConvertPullRequestToDraftPayload (OBJECT): Autogenerated return type of ConvertPullRequestToDraft.
func (*ConvertPullRequestToDraftPayload) GetClientMutationId ¶
func (x *ConvertPullRequestToDraftPayload) GetClientMutationId() string
func (*ConvertPullRequestToDraftPayload) GetPullRequest ¶
func (x *ConvertPullRequestToDraftPayload) GetPullRequest() *PullRequest
type ConvertToDraftEvent ¶
type ConvertToDraftEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ResourcePath: The HTTP path for this convert to draft event.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this convert to draft event.
Url URI `json:"url,omitempty"`
}
ConvertToDraftEvent (OBJECT): Represents a 'convert_to_draft' event on a given pull request.
func (*ConvertToDraftEvent) GetActor ¶
func (x *ConvertToDraftEvent) GetActor() Actor
func (*ConvertToDraftEvent) GetCreatedAt ¶
func (x *ConvertToDraftEvent) GetCreatedAt() DateTime
func (*ConvertToDraftEvent) GetId ¶
func (x *ConvertToDraftEvent) GetId() ID
func (*ConvertToDraftEvent) GetPullRequest ¶
func (x *ConvertToDraftEvent) GetPullRequest() *PullRequest
func (*ConvertToDraftEvent) GetResourcePath ¶
func (x *ConvertToDraftEvent) GetResourcePath() URI
func (*ConvertToDraftEvent) GetUrl ¶
func (x *ConvertToDraftEvent) GetUrl() URI
type ConvertedNoteToIssueEvent ¶
type ConvertedNoteToIssueEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Project: Project referenced by event.
Project *Project `json:"project,omitempty"`
// ProjectCard: Project card referenced by this project event.
ProjectCard *ProjectCard `json:"projectCard,omitempty"`
// ProjectColumnName: Column name referenced by this project event.
ProjectColumnName string `json:"projectColumnName,omitempty"`
}
ConvertedNoteToIssueEvent (OBJECT): Represents a 'converted_note_to_issue' event on a given issue or pull request.
func (*ConvertedNoteToIssueEvent) GetActor ¶
func (x *ConvertedNoteToIssueEvent) GetActor() Actor
func (*ConvertedNoteToIssueEvent) GetCreatedAt ¶
func (x *ConvertedNoteToIssueEvent) GetCreatedAt() DateTime
func (*ConvertedNoteToIssueEvent) GetDatabaseId ¶
func (x *ConvertedNoteToIssueEvent) GetDatabaseId() int
func (*ConvertedNoteToIssueEvent) GetId ¶
func (x *ConvertedNoteToIssueEvent) GetId() ID
func (*ConvertedNoteToIssueEvent) GetProject ¶
func (x *ConvertedNoteToIssueEvent) GetProject() *Project
func (*ConvertedNoteToIssueEvent) GetProjectCard ¶
func (x *ConvertedNoteToIssueEvent) GetProjectCard() *ProjectCard
func (*ConvertedNoteToIssueEvent) GetProjectColumnName ¶
func (x *ConvertedNoteToIssueEvent) GetProjectColumnName() string
type ConvertedToDiscussionEvent ¶
type ConvertedToDiscussionEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Discussion: The discussion that the issue was converted into.
Discussion *Discussion `json:"discussion,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
ConvertedToDiscussionEvent (OBJECT): Represents a 'converted_to_discussion' event on a given issue.
func (*ConvertedToDiscussionEvent) GetActor ¶
func (x *ConvertedToDiscussionEvent) GetActor() Actor
func (*ConvertedToDiscussionEvent) GetCreatedAt ¶
func (x *ConvertedToDiscussionEvent) GetCreatedAt() DateTime
func (*ConvertedToDiscussionEvent) GetDiscussion ¶
func (x *ConvertedToDiscussionEvent) GetDiscussion() *Discussion
func (*ConvertedToDiscussionEvent) GetId ¶
func (x *ConvertedToDiscussionEvent) GetId() ID
type CreateBranchProtectionRuleInput ¶
type CreateBranchProtectionRuleInput struct {
// RepositoryId: The global relay id of the repository in which a new branch protection rule should be created in.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Pattern: The glob-like pattern used to determine matching branches.
//
// GraphQL type: String!
Pattern string `json:"pattern,omitempty"`
// RequiresApprovingReviews: Are approving reviews required to update matching branches.
//
// GraphQL type: Boolean
RequiresApprovingReviews bool `json:"requiresApprovingReviews,omitempty"`
// RequiredApprovingReviewCount: Number of approving reviews required to update matching branches.
//
// GraphQL type: Int
RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount,omitempty"`
// RequiresCommitSignatures: Are commits required to be signed.
//
// GraphQL type: Boolean
RequiresCommitSignatures bool `json:"requiresCommitSignatures,omitempty"`
// RequiresLinearHistory: Are merge commits prohibited from being pushed to this branch.
//
// GraphQL type: Boolean
RequiresLinearHistory bool `json:"requiresLinearHistory,omitempty"`
// BlocksCreations: Is branch creation a protected operation.
//
// GraphQL type: Boolean
BlocksCreations bool `json:"blocksCreations,omitempty"`
// AllowsForcePushes: Are force pushes allowed on this branch.
//
// GraphQL type: Boolean
AllowsForcePushes bool `json:"allowsForcePushes,omitempty"`
// AllowsDeletions: Can this branch be deleted.
//
// GraphQL type: Boolean
AllowsDeletions bool `json:"allowsDeletions,omitempty"`
// IsAdminEnforced: Can admins overwrite branch protection.
//
// GraphQL type: Boolean
IsAdminEnforced bool `json:"isAdminEnforced,omitempty"`
// RequiresStatusChecks: Are status checks required to update matching branches.
//
// GraphQL type: Boolean
RequiresStatusChecks bool `json:"requiresStatusChecks,omitempty"`
// RequiresStrictStatusChecks: Are branches required to be up to date before merging.
//
// GraphQL type: Boolean
RequiresStrictStatusChecks bool `json:"requiresStrictStatusChecks,omitempty"`
// RequiresCodeOwnerReviews: Are reviews from code owners required to update matching branches.
//
// GraphQL type: Boolean
RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews,omitempty"`
// DismissesStaleReviews: Will new commits pushed to matching branches dismiss pull request review approvals.
//
// GraphQL type: Boolean
DismissesStaleReviews bool `json:"dismissesStaleReviews,omitempty"`
// RestrictsReviewDismissals: Is dismissal of pull request reviews restricted.
//
// GraphQL type: Boolean
RestrictsReviewDismissals bool `json:"restrictsReviewDismissals,omitempty"`
// ReviewDismissalActorIds: A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches.
//
// GraphQL type: [ID!]
ReviewDismissalActorIds []ID `json:"reviewDismissalActorIds,omitempty"`
// BypassPullRequestActorIds: A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches.
//
// GraphQL type: [ID!]
BypassPullRequestActorIds []ID `json:"bypassPullRequestActorIds,omitempty"`
// BypassForcePushActorIds: A list of User, Team, or App IDs allowed to bypass force push targeting matching branches.
//
// GraphQL type: [ID!]
BypassForcePushActorIds []ID `json:"bypassForcePushActorIds,omitempty"`
// RestrictsPushes: Is pushing to matching branches restricted.
//
// GraphQL type: Boolean
RestrictsPushes bool `json:"restrictsPushes,omitempty"`
// PushActorIds: A list of User, Team, or App IDs allowed to push to matching branches.
//
// GraphQL type: [ID!]
PushActorIds []ID `json:"pushActorIds,omitempty"`
// RequiredStatusCheckContexts: List of required status check contexts that must pass for commits to be accepted to matching branches.
//
// GraphQL type: [String!]
RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
// RequiredStatusChecks: The list of required status checks.
//
// GraphQL type: [RequiredStatusCheckInput!]
RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"`
// RequiresConversationResolution: Are conversations required to be resolved before merging.
//
// GraphQL type: Boolean
RequiresConversationResolution bool `json:"requiresConversationResolution,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateBranchProtectionRuleInput (INPUT_OBJECT): Autogenerated input type of CreateBranchProtectionRule.
type CreateBranchProtectionRulePayload ¶
type CreateBranchProtectionRulePayload struct {
// BranchProtectionRule: The newly created BranchProtectionRule.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateBranchProtectionRulePayload (OBJECT): Autogenerated return type of CreateBranchProtectionRule.
func (*CreateBranchProtectionRulePayload) GetBranchProtectionRule ¶
func (x *CreateBranchProtectionRulePayload) GetBranchProtectionRule() *BranchProtectionRule
func (*CreateBranchProtectionRulePayload) GetClientMutationId ¶
func (x *CreateBranchProtectionRulePayload) GetClientMutationId() string
type CreateCheckRunInput ¶
type CreateCheckRunInput struct {
// RepositoryId: The node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The name of the check.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// HeadSha: The SHA of the head commit.
//
// GraphQL type: GitObjectID!
HeadSha GitObjectID `json:"headSha,omitempty"`
// DetailsUrl: The URL of the integrator's site that has the full details of the check.
//
// GraphQL type: URI
DetailsUrl URI `json:"detailsUrl,omitempty"`
// ExternalId: A reference for the run on the integrator's system.
//
// GraphQL type: String
ExternalId string `json:"externalId,omitempty"`
// Status: The current status.
//
// GraphQL type: RequestableCheckStatusState
Status RequestableCheckStatusState `json:"status,omitempty"`
// StartedAt: The time that the check run began.
//
// GraphQL type: DateTime
StartedAt DateTime `json:"startedAt,omitempty"`
// Conclusion: The final conclusion of the check.
//
// GraphQL type: CheckConclusionState
Conclusion CheckConclusionState `json:"conclusion,omitempty"`
// CompletedAt: The time that the check run finished.
//
// GraphQL type: DateTime
CompletedAt DateTime `json:"completedAt,omitempty"`
// Output: Descriptive details about the run.
//
// GraphQL type: CheckRunOutput
Output *CheckRunOutput `json:"output,omitempty"`
// Actions: Possible further actions the integrator can perform, which a user may trigger.
//
// GraphQL type: [CheckRunAction!]
Actions []*CheckRunAction `json:"actions,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateCheckRunInput (INPUT_OBJECT): Autogenerated input type of CreateCheckRun.
type CreateCheckRunPayload ¶
type CreateCheckRunPayload struct {
// CheckRun: The newly created check run.
CheckRun *CheckRun `json:"checkRun,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateCheckRunPayload (OBJECT): Autogenerated return type of CreateCheckRun.
func (*CreateCheckRunPayload) GetCheckRun ¶
func (x *CreateCheckRunPayload) GetCheckRun() *CheckRun
func (*CreateCheckRunPayload) GetClientMutationId ¶
func (x *CreateCheckRunPayload) GetClientMutationId() string
type CreateCheckSuiteInput ¶
type CreateCheckSuiteInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// HeadSha: The SHA of the head commit.
//
// GraphQL type: GitObjectID!
HeadSha GitObjectID `json:"headSha,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateCheckSuiteInput (INPUT_OBJECT): Autogenerated input type of CreateCheckSuite.
type CreateCheckSuitePayload ¶
type CreateCheckSuitePayload struct {
// CheckSuite: The newly created check suite.
CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateCheckSuitePayload (OBJECT): Autogenerated return type of CreateCheckSuite.
func (*CreateCheckSuitePayload) GetCheckSuite ¶
func (x *CreateCheckSuitePayload) GetCheckSuite() *CheckSuite
func (*CreateCheckSuitePayload) GetClientMutationId ¶
func (x *CreateCheckSuitePayload) GetClientMutationId() string
type CreateCommitOnBranchInput ¶
type CreateCommitOnBranchInput struct {
// Branch: The Ref to be updated. Must be a branch.
//
// GraphQL type: CommittableBranch!
Branch *CommittableBranch `json:"branch,omitempty"`
// FileChanges: A description of changes to files in this commit.
//
// GraphQL type: FileChanges
FileChanges *FileChanges `json:"fileChanges,omitempty"`
// Message: The commit message the be included with the commit.
//
// GraphQL type: CommitMessage!
Message *CommitMessage `json:"message,omitempty"`
// ExpectedHeadOid: The git commit oid expected at the head of the branch prior to the commit.
//
// GraphQL type: GitObjectID!
ExpectedHeadOid GitObjectID `json:"expectedHeadOid,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateCommitOnBranchInput (INPUT_OBJECT): Autogenerated input type of CreateCommitOnBranch.
type CreateCommitOnBranchPayload ¶
type CreateCommitOnBranchPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Commit: The new commit.
Commit *Commit `json:"commit,omitempty"`
// Ref: The ref which has been updated to point to the new commit.
Ref *Ref `json:"ref,omitempty"`
}
CreateCommitOnBranchPayload (OBJECT): Autogenerated return type of CreateCommitOnBranch.
func (*CreateCommitOnBranchPayload) GetClientMutationId ¶
func (x *CreateCommitOnBranchPayload) GetClientMutationId() string
func (*CreateCommitOnBranchPayload) GetCommit ¶
func (x *CreateCommitOnBranchPayload) GetCommit() *Commit
func (*CreateCommitOnBranchPayload) GetRef ¶
func (x *CreateCommitOnBranchPayload) GetRef() *Ref
type CreateDiscussionInput ¶
type CreateDiscussionInput struct {
// RepositoryId: The id of the repository on which to create the discussion.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Title: The title of the discussion.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Body: The body of the discussion.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// CategoryId: The id of the discussion category to associate with this discussion.
//
// GraphQL type: ID!
CategoryId ID `json:"categoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateDiscussionInput (INPUT_OBJECT): Autogenerated input type of CreateDiscussion.
type CreateDiscussionPayload ¶
type CreateDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Discussion: The discussion that was just created.
Discussion *Discussion `json:"discussion,omitempty"`
}
CreateDiscussionPayload (OBJECT): Autogenerated return type of CreateDiscussion.
func (*CreateDiscussionPayload) GetClientMutationId ¶
func (x *CreateDiscussionPayload) GetClientMutationId() string
func (*CreateDiscussionPayload) GetDiscussion ¶
func (x *CreateDiscussionPayload) GetDiscussion() *Discussion
type CreateEnterpriseOrganizationInput ¶
type CreateEnterpriseOrganizationInput struct {
// EnterpriseId: The ID of the enterprise owning the new organization.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of the new organization.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ProfileName: The profile name of the new organization.
//
// GraphQL type: String!
ProfileName string `json:"profileName,omitempty"`
// BillingEmail: The email used for sending billing receipts.
//
// GraphQL type: String!
BillingEmail string `json:"billingEmail,omitempty"`
// AdminLogins: The logins for the administrators of the new organization.
//
// GraphQL type: [String!]!
AdminLogins []string `json:"adminLogins,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateEnterpriseOrganizationInput (INPUT_OBJECT): Autogenerated input type of CreateEnterpriseOrganization.
type CreateEnterpriseOrganizationPayload ¶
type CreateEnterpriseOrganizationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise that owns the created organization.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Organization: The organization that was created.
Organization *Organization `json:"organization,omitempty"`
}
CreateEnterpriseOrganizationPayload (OBJECT): Autogenerated return type of CreateEnterpriseOrganization.
func (*CreateEnterpriseOrganizationPayload) GetClientMutationId ¶
func (x *CreateEnterpriseOrganizationPayload) GetClientMutationId() string
func (*CreateEnterpriseOrganizationPayload) GetEnterprise ¶
func (x *CreateEnterpriseOrganizationPayload) GetEnterprise() *Enterprise
func (*CreateEnterpriseOrganizationPayload) GetOrganization ¶
func (x *CreateEnterpriseOrganizationPayload) GetOrganization() *Organization
type CreateEnvironmentInput ¶
type CreateEnvironmentInput struct {
// RepositoryId: The node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The name of the environment.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateEnvironmentInput (INPUT_OBJECT): Autogenerated input type of CreateEnvironment.
type CreateEnvironmentPayload ¶
type CreateEnvironmentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Environment: The new or existing environment.
Environment *Environment `json:"environment,omitempty"`
}
CreateEnvironmentPayload (OBJECT): Autogenerated return type of CreateEnvironment.
func (*CreateEnvironmentPayload) GetClientMutationId ¶
func (x *CreateEnvironmentPayload) GetClientMutationId() string
func (*CreateEnvironmentPayload) GetEnvironment ¶
func (x *CreateEnvironmentPayload) GetEnvironment() *Environment
type CreateIpAllowListEntryInput ¶
type CreateIpAllowListEntryInput struct {
// OwnerId: The ID of the owner for which to create the new IP allow list entry.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// AllowListValue: An IP address or range of addresses in CIDR notation.
//
// GraphQL type: String!
AllowListValue string `json:"allowListValue,omitempty"`
// Name: An optional name for the IP allow list entry.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// IsActive: Whether the IP allow list entry is active when an IP allow list is enabled.
//
// GraphQL type: Boolean!
IsActive bool `json:"isActive,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateIpAllowListEntryInput (INPUT_OBJECT): Autogenerated input type of CreateIpAllowListEntry.
type CreateIpAllowListEntryPayload ¶
type CreateIpAllowListEntryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IpAllowListEntry: The IP allow list entry that was created.
IpAllowListEntry *IpAllowListEntry `json:"ipAllowListEntry,omitempty"`
}
CreateIpAllowListEntryPayload (OBJECT): Autogenerated return type of CreateIpAllowListEntry.
func (*CreateIpAllowListEntryPayload) GetClientMutationId ¶
func (x *CreateIpAllowListEntryPayload) GetClientMutationId() string
func (*CreateIpAllowListEntryPayload) GetIpAllowListEntry ¶
func (x *CreateIpAllowListEntryPayload) GetIpAllowListEntry() *IpAllowListEntry
type CreateIssueInput ¶
type CreateIssueInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Title: The title for the issue.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Body: The body for the issue description.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: The Node ID for the user assignee for this issue.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// MilestoneId: The Node ID of the milestone for this issue.
//
// GraphQL type: ID
MilestoneId ID `json:"milestoneId,omitempty"`
// LabelIds: An array of Node IDs of labels for this issue.
//
// GraphQL type: [ID!]
LabelIds []ID `json:"labelIds,omitempty"`
// ProjectIds: An array of Node IDs for projects associated with this issue.
//
// GraphQL type: [ID!]
ProjectIds []ID `json:"projectIds,omitempty"`
// IssueTemplate: The name of an issue template in the repository, assigns labels and assignees from the template to the issue.
//
// GraphQL type: String
IssueTemplate string `json:"issueTemplate,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateIssueInput (INPUT_OBJECT): Autogenerated input type of CreateIssue.
type CreateIssuePayload ¶
type CreateIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The new issue.
Issue *Issue `json:"issue,omitempty"`
}
CreateIssuePayload (OBJECT): Autogenerated return type of CreateIssue.
func (*CreateIssuePayload) GetClientMutationId ¶
func (x *CreateIssuePayload) GetClientMutationId() string
func (*CreateIssuePayload) GetIssue ¶
func (x *CreateIssuePayload) GetIssue() *Issue
type CreateMigrationSourceInput ¶
type CreateMigrationSourceInput struct {
// Name: The Octoshift migration source name.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// Url: The Octoshift migration source URL.
//
// GraphQL type: String!
Url string `json:"url,omitempty"`
// AccessToken: The Octoshift migration source access token.
//
// GraphQL type: String
AccessToken string `json:"accessToken,omitempty"`
// Type: The Octoshift migration source type.
//
// GraphQL type: MigrationSourceType!
Type MigrationSourceType `json:"type,omitempty"`
// OwnerId: The ID of the organization that will own the Octoshift migration source.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// GithubPat: The GitHub personal access token of the user importing to the target repository.
//
// GraphQL type: String
GithubPat string `json:"githubPat,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateMigrationSourceInput (INPUT_OBJECT): Autogenerated input type of CreateMigrationSource.
type CreateMigrationSourcePayload ¶
type CreateMigrationSourcePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// MigrationSource: The created Octoshift migration source.
MigrationSource *MigrationSource `json:"migrationSource,omitempty"`
}
CreateMigrationSourcePayload (OBJECT): Autogenerated return type of CreateMigrationSource.
func (*CreateMigrationSourcePayload) GetClientMutationId ¶
func (x *CreateMigrationSourcePayload) GetClientMutationId() string
func (*CreateMigrationSourcePayload) GetMigrationSource ¶
func (x *CreateMigrationSourcePayload) GetMigrationSource() *MigrationSource
type CreateProjectInput ¶
type CreateProjectInput struct {
// OwnerId: The owner ID to create the project under.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// Name: The name of project.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// Body: The description of project.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// Template: The name of the GitHub-provided template.
//
// GraphQL type: ProjectTemplate
Template ProjectTemplate `json:"template,omitempty"`
// RepositoryIds: A list of repository IDs to create as linked repositories for the project.
//
// GraphQL type: [ID!]
RepositoryIds []ID `json:"repositoryIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateProjectInput (INPUT_OBJECT): Autogenerated input type of CreateProject.
type CreateProjectPayload ¶
type CreateProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Project: The new project.
Project *Project `json:"project,omitempty"`
}
CreateProjectPayload (OBJECT): Autogenerated return type of CreateProject.
func (*CreateProjectPayload) GetClientMutationId ¶
func (x *CreateProjectPayload) GetClientMutationId() string
func (*CreateProjectPayload) GetProject ¶
func (x *CreateProjectPayload) GetProject() *Project
type CreateProjectV2Input ¶
type CreateProjectV2Input struct {
// OwnerId: The owner ID to create the project under.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// Title: The title of the project.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateProjectV2Input (INPUT_OBJECT): Autogenerated input type of CreateProjectV2.
type CreateProjectV2Payload ¶
type CreateProjectV2Payload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectV2: The new project.
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}
CreateProjectV2Payload (OBJECT): Autogenerated return type of CreateProjectV2.
func (*CreateProjectV2Payload) GetClientMutationId ¶
func (x *CreateProjectV2Payload) GetClientMutationId() string
func (*CreateProjectV2Payload) GetProjectV2 ¶
func (x *CreateProjectV2Payload) GetProjectV2() *ProjectV2
type CreatePullRequestInput ¶
type CreatePullRequestInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// BaseRefName: The name of the branch you want your changes pulled into. This should be an existing branch
// on the current repository. You cannot update the base branch on a pull request to point
// to another repository.
// .
//
// GraphQL type: String!
BaseRefName string `json:"baseRefName,omitempty"`
// HeadRefName: The name of the branch where your changes are implemented. For cross-repository pull requests
// in the same network, namespace `head_ref_name` with a user like this: `username:branch`.
// .
//
// GraphQL type: String!
HeadRefName string `json:"headRefName,omitempty"`
// Title: The title of the pull request.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Body: The contents of the pull request.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// MaintainerCanModify: Indicates whether maintainers can modify the pull request.
//
// GraphQL type: Boolean
MaintainerCanModify bool `json:"maintainerCanModify,omitempty"`
// Draft: Indicates whether this pull request should be a draft.
//
// GraphQL type: Boolean
Draft bool `json:"draft,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreatePullRequestInput (INPUT_OBJECT): Autogenerated input type of CreatePullRequest.
type CreatePullRequestPayload ¶
type CreatePullRequestPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The new pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
CreatePullRequestPayload (OBJECT): Autogenerated return type of CreatePullRequest.
func (*CreatePullRequestPayload) GetClientMutationId ¶
func (x *CreatePullRequestPayload) GetClientMutationId() string
func (*CreatePullRequestPayload) GetPullRequest ¶
func (x *CreatePullRequestPayload) GetPullRequest() *PullRequest
type CreateRefInput ¶
type CreateRefInput struct {
// RepositoryId: The Node ID of the Repository to create the Ref in.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`).
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// Oid: The GitObjectID that the new Ref shall target. Must point to a commit.
//
// GraphQL type: GitObjectID!
Oid GitObjectID `json:"oid,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateRefInput (INPUT_OBJECT): Autogenerated input type of CreateRef.
type CreateRefPayload ¶
type CreateRefPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Ref: The newly created ref.
Ref *Ref `json:"ref,omitempty"`
}
CreateRefPayload (OBJECT): Autogenerated return type of CreateRef.
func (*CreateRefPayload) GetClientMutationId ¶
func (x *CreateRefPayload) GetClientMutationId() string
func (*CreateRefPayload) GetRef ¶
func (x *CreateRefPayload) GetRef() *Ref
type CreateRepositoryInput ¶
type CreateRepositoryInput struct {
// Name: The name of the new repository.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// OwnerId: The ID of the owner for the new repository.
//
// GraphQL type: ID
OwnerId ID `json:"ownerId,omitempty"`
// Description: A short description of the new repository.
//
// GraphQL type: String
Description string `json:"description,omitempty"`
// Visibility: Indicates the repository's visibility level.
//
// GraphQL type: RepositoryVisibility!
Visibility RepositoryVisibility `json:"visibility,omitempty"`
// Template: Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.
//
// GraphQL type: Boolean
Template bool `json:"template,omitempty"`
// HomepageUrl: The URL for a web page about this repository.
//
// GraphQL type: URI
HomepageUrl URI `json:"homepageUrl,omitempty"`
// HasWikiEnabled: Indicates if the repository should have the wiki feature enabled.
//
// GraphQL type: Boolean
HasWikiEnabled bool `json:"hasWikiEnabled,omitempty"`
// HasIssuesEnabled: Indicates if the repository should have the issues feature enabled.
//
// GraphQL type: Boolean
HasIssuesEnabled bool `json:"hasIssuesEnabled,omitempty"`
// TeamId: When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository.
//
// GraphQL type: ID
TeamId ID `json:"teamId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateRepositoryInput (INPUT_OBJECT): Autogenerated input type of CreateRepository.
type CreateRepositoryPayload ¶
type CreateRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The new repository.
Repository *Repository `json:"repository,omitempty"`
}
CreateRepositoryPayload (OBJECT): Autogenerated return type of CreateRepository.
func (*CreateRepositoryPayload) GetClientMutationId ¶
func (x *CreateRepositoryPayload) GetClientMutationId() string
func (*CreateRepositoryPayload) GetRepository ¶
func (x *CreateRepositoryPayload) GetRepository() *Repository
type CreateSponsorsTierInput ¶
type CreateSponsorsTierInput struct {
// SponsorableId: The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given.
//
// GraphQL type: ID
SponsorableId ID `json:"sponsorableId,omitempty"`
// SponsorableLogin: The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given.
//
// GraphQL type: String
SponsorableLogin string `json:"sponsorableLogin,omitempty"`
// Amount: The value of the new tier in US dollars. Valid values: 1-12000.
//
// GraphQL type: Int!
Amount int `json:"amount,omitempty"`
// IsRecurring: Whether sponsorships using this tier should happen monthly/yearly or just once.
//
// GraphQL type: Boolean
IsRecurring bool `json:"isRecurring,omitempty"`
// RepositoryId: Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization.
//
// GraphQL type: ID
RepositoryId ID `json:"repositoryId,omitempty"`
// RepositoryOwnerLogin: Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given.
//
// GraphQL type: String
RepositoryOwnerLogin string `json:"repositoryOwnerLogin,omitempty"`
// RepositoryName: Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given.
//
// GraphQL type: String
RepositoryName string `json:"repositoryName,omitempty"`
// WelcomeMessage: Optional message new sponsors at this tier will receive.
//
// GraphQL type: String
WelcomeMessage string `json:"welcomeMessage,omitempty"`
// Description: A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc.
//
// GraphQL type: String!
Description string `json:"description,omitempty"`
// Publish: Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible.
//
// GraphQL type: Boolean
Publish bool `json:"publish,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateSponsorsTierInput (INPUT_OBJECT): Autogenerated input type of CreateSponsorsTier.
type CreateSponsorsTierPayload ¶
type CreateSponsorsTierPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// SponsorsTier: The new tier.
SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}
CreateSponsorsTierPayload (OBJECT): Autogenerated return type of CreateSponsorsTier.
func (*CreateSponsorsTierPayload) GetClientMutationId ¶
func (x *CreateSponsorsTierPayload) GetClientMutationId() string
func (*CreateSponsorsTierPayload) GetSponsorsTier ¶
func (x *CreateSponsorsTierPayload) GetSponsorsTier() *SponsorsTier
type CreateSponsorshipInput ¶
type CreateSponsorshipInput struct {
// SponsorId: The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
//
// GraphQL type: ID
SponsorId ID `json:"sponsorId,omitempty"`
// SponsorLogin: The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
//
// GraphQL type: String
SponsorLogin string `json:"sponsorLogin,omitempty"`
// SponsorableId: The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
//
// GraphQL type: ID
SponsorableId ID `json:"sponsorableId,omitempty"`
// SponsorableLogin: The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
//
// GraphQL type: String
SponsorableLogin string `json:"sponsorableLogin,omitempty"`
// TierId: The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified.
//
// GraphQL type: ID
TierId ID `json:"tierId,omitempty"`
// Amount: The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000.
//
// GraphQL type: Int
Amount int `json:"amount,omitempty"`
// IsRecurring: Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified.
//
// GraphQL type: Boolean
IsRecurring bool `json:"isRecurring,omitempty"`
// ReceiveEmails: Whether the sponsor should receive email updates from the sponsorable.
//
// GraphQL type: Boolean
ReceiveEmails bool `json:"receiveEmails,omitempty"`
// PrivacyLevel: Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used.
//
// GraphQL type: SponsorshipPrivacy
PrivacyLevel SponsorshipPrivacy `json:"privacyLevel,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateSponsorshipInput (INPUT_OBJECT): Autogenerated input type of CreateSponsorship.
type CreateSponsorshipPayload ¶
type CreateSponsorshipPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Sponsorship: The sponsorship that was started.
Sponsorship *Sponsorship `json:"sponsorship,omitempty"`
}
CreateSponsorshipPayload (OBJECT): Autogenerated return type of CreateSponsorship.
func (*CreateSponsorshipPayload) GetClientMutationId ¶
func (x *CreateSponsorshipPayload) GetClientMutationId() string
func (*CreateSponsorshipPayload) GetSponsorship ¶
func (x *CreateSponsorshipPayload) GetSponsorship() *Sponsorship
type CreateTeamDiscussionCommentInput ¶
type CreateTeamDiscussionCommentInput struct {
// DiscussionId: The ID of the discussion to which the comment belongs.
//
// GraphQL type: ID!
DiscussionId ID `json:"discussionId,omitempty"`
// Body: The content of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateTeamDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of CreateTeamDiscussionComment.
type CreateTeamDiscussionCommentPayload ¶
type CreateTeamDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// TeamDiscussionComment: The new comment.
TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"`
}
CreateTeamDiscussionCommentPayload (OBJECT): Autogenerated return type of CreateTeamDiscussionComment.
func (*CreateTeamDiscussionCommentPayload) GetClientMutationId ¶
func (x *CreateTeamDiscussionCommentPayload) GetClientMutationId() string
func (*CreateTeamDiscussionCommentPayload) GetTeamDiscussionComment ¶
func (x *CreateTeamDiscussionCommentPayload) GetTeamDiscussionComment() *TeamDiscussionComment
type CreateTeamDiscussionInput ¶
type CreateTeamDiscussionInput struct {
// TeamId: The ID of the team to which the discussion belongs.
//
// GraphQL type: ID!
TeamId ID `json:"teamId,omitempty"`
// Title: The title of the discussion.
//
// GraphQL type: String!
Title string `json:"title,omitempty"`
// Body: The content of the discussion.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// Private: If true, restricts the visibility of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion.
//
// GraphQL type: Boolean
Private bool `json:"private,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
CreateTeamDiscussionInput (INPUT_OBJECT): Autogenerated input type of CreateTeamDiscussion.
type CreateTeamDiscussionPayload ¶
type CreateTeamDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// TeamDiscussion: The new discussion.
TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"`
}
CreateTeamDiscussionPayload (OBJECT): Autogenerated return type of CreateTeamDiscussion.
func (*CreateTeamDiscussionPayload) GetClientMutationId ¶
func (x *CreateTeamDiscussionPayload) GetClientMutationId() string
func (*CreateTeamDiscussionPayload) GetTeamDiscussion ¶
func (x *CreateTeamDiscussionPayload) GetTeamDiscussion() *TeamDiscussion
type CreatedCommitContribution ¶
type CreatedCommitContribution struct {
// CommitCount: How many commits were made on this day to this repository by the user.
CommitCount int `json:"commitCount,omitempty"`
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// Repository: The repository the user made a commit in.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
CreatedCommitContribution (OBJECT): Represents the contribution a user made by committing to a repository.
func (*CreatedCommitContribution) GetCommitCount ¶
func (x *CreatedCommitContribution) GetCommitCount() int
func (*CreatedCommitContribution) GetIsRestricted ¶
func (x *CreatedCommitContribution) GetIsRestricted() bool
func (*CreatedCommitContribution) GetOccurredAt ¶
func (x *CreatedCommitContribution) GetOccurredAt() DateTime
func (*CreatedCommitContribution) GetRepository ¶
func (x *CreatedCommitContribution) GetRepository() *Repository
func (*CreatedCommitContribution) GetResourcePath ¶
func (x *CreatedCommitContribution) GetResourcePath() URI
func (*CreatedCommitContribution) GetUrl ¶
func (x *CreatedCommitContribution) GetUrl() URI
func (*CreatedCommitContribution) GetUser ¶
func (x *CreatedCommitContribution) GetUser() *User
type CreatedCommitContributionConnection ¶
type CreatedCommitContributionConnection struct {
// Edges: A list of edges.
Edges []*CreatedCommitContributionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CreatedCommitContribution `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of commits across days and repositories in the connection.
// .
TotalCount int `json:"totalCount,omitempty"`
}
CreatedCommitContributionConnection (OBJECT): The connection type for CreatedCommitContribution.
func (*CreatedCommitContributionConnection) GetEdges ¶
func (x *CreatedCommitContributionConnection) GetEdges() []*CreatedCommitContributionEdge
func (*CreatedCommitContributionConnection) GetNodes ¶
func (x *CreatedCommitContributionConnection) GetNodes() []*CreatedCommitContribution
func (*CreatedCommitContributionConnection) GetPageInfo ¶
func (x *CreatedCommitContributionConnection) GetPageInfo() *PageInfo
func (*CreatedCommitContributionConnection) GetTotalCount ¶
func (x *CreatedCommitContributionConnection) GetTotalCount() int
type CreatedCommitContributionEdge ¶
type CreatedCommitContributionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CreatedCommitContribution `json:"node,omitempty"`
}
CreatedCommitContributionEdge (OBJECT): An edge in a connection.
func (*CreatedCommitContributionEdge) GetCursor ¶
func (x *CreatedCommitContributionEdge) GetCursor() string
func (*CreatedCommitContributionEdge) GetNode ¶
func (x *CreatedCommitContributionEdge) GetNode() *CreatedCommitContribution
type CreatedIssueContribution ¶
type CreatedIssueContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// Issue: The issue that was opened.
Issue *Issue `json:"issue,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
CreatedIssueContribution (OBJECT): Represents the contribution a user made on GitHub by opening an issue.
func (*CreatedIssueContribution) GetIsRestricted ¶
func (x *CreatedIssueContribution) GetIsRestricted() bool
func (*CreatedIssueContribution) GetIssue ¶
func (x *CreatedIssueContribution) GetIssue() *Issue
func (*CreatedIssueContribution) GetOccurredAt ¶
func (x *CreatedIssueContribution) GetOccurredAt() DateTime
func (*CreatedIssueContribution) GetResourcePath ¶
func (x *CreatedIssueContribution) GetResourcePath() URI
func (*CreatedIssueContribution) GetUrl ¶
func (x *CreatedIssueContribution) GetUrl() URI
func (*CreatedIssueContribution) GetUser ¶
func (x *CreatedIssueContribution) GetUser() *User
type CreatedIssueContributionConnection ¶
type CreatedIssueContributionConnection struct {
// Edges: A list of edges.
Edges []*CreatedIssueContributionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CreatedIssueContribution `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CreatedIssueContributionConnection (OBJECT): The connection type for CreatedIssueContribution.
func (*CreatedIssueContributionConnection) GetEdges ¶
func (x *CreatedIssueContributionConnection) GetEdges() []*CreatedIssueContributionEdge
func (*CreatedIssueContributionConnection) GetNodes ¶
func (x *CreatedIssueContributionConnection) GetNodes() []*CreatedIssueContribution
func (*CreatedIssueContributionConnection) GetPageInfo ¶
func (x *CreatedIssueContributionConnection) GetPageInfo() *PageInfo
func (*CreatedIssueContributionConnection) GetTotalCount ¶
func (x *CreatedIssueContributionConnection) GetTotalCount() int
type CreatedIssueContributionEdge ¶
type CreatedIssueContributionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CreatedIssueContribution `json:"node,omitempty"`
}
CreatedIssueContributionEdge (OBJECT): An edge in a connection.
func (*CreatedIssueContributionEdge) GetCursor ¶
func (x *CreatedIssueContributionEdge) GetCursor() string
func (*CreatedIssueContributionEdge) GetNode ¶
func (x *CreatedIssueContributionEdge) GetNode() *CreatedIssueContribution
type CreatedIssueOrRestrictedContribution ¶
type CreatedIssueOrRestrictedContribution struct {
Interface CreatedIssueOrRestrictedContribution_Interface
}
func (*CreatedIssueOrRestrictedContribution) MarshalJSON ¶
func (x *CreatedIssueOrRestrictedContribution) MarshalJSON() ([]byte, error)
func (*CreatedIssueOrRestrictedContribution) UnmarshalJSON ¶
func (x *CreatedIssueOrRestrictedContribution) UnmarshalJSON(js []byte) error
type CreatedIssueOrRestrictedContribution_Interface ¶
type CreatedIssueOrRestrictedContribution_Interface interface {
// contains filtered or unexported methods
}
CreatedIssueOrRestrictedContribution (UNION): Represents either a issue the viewer can access or a restricted contribution. CreatedIssueOrRestrictedContribution_Interface: Represents either a issue the viewer can access or a restricted contribution.
Possible types:
- *CreatedIssueContribution
- *RestrictedContribution
type CreatedPullRequestContribution ¶
type CreatedPullRequestContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// PullRequest: The pull request that was opened.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
CreatedPullRequestContribution (OBJECT): Represents the contribution a user made on GitHub by opening a pull request.
func (*CreatedPullRequestContribution) GetIsRestricted ¶
func (x *CreatedPullRequestContribution) GetIsRestricted() bool
func (*CreatedPullRequestContribution) GetOccurredAt ¶
func (x *CreatedPullRequestContribution) GetOccurredAt() DateTime
func (*CreatedPullRequestContribution) GetPullRequest ¶
func (x *CreatedPullRequestContribution) GetPullRequest() *PullRequest
func (*CreatedPullRequestContribution) GetResourcePath ¶
func (x *CreatedPullRequestContribution) GetResourcePath() URI
func (*CreatedPullRequestContribution) GetUrl ¶
func (x *CreatedPullRequestContribution) GetUrl() URI
func (*CreatedPullRequestContribution) GetUser ¶
func (x *CreatedPullRequestContribution) GetUser() *User
type CreatedPullRequestContributionConnection ¶
type CreatedPullRequestContributionConnection struct {
// Edges: A list of edges.
Edges []*CreatedPullRequestContributionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CreatedPullRequestContribution `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CreatedPullRequestContributionConnection (OBJECT): The connection type for CreatedPullRequestContribution.
func (*CreatedPullRequestContributionConnection) GetEdges ¶
func (x *CreatedPullRequestContributionConnection) GetEdges() []*CreatedPullRequestContributionEdge
func (*CreatedPullRequestContributionConnection) GetNodes ¶
func (x *CreatedPullRequestContributionConnection) GetNodes() []*CreatedPullRequestContribution
func (*CreatedPullRequestContributionConnection) GetPageInfo ¶
func (x *CreatedPullRequestContributionConnection) GetPageInfo() *PageInfo
func (*CreatedPullRequestContributionConnection) GetTotalCount ¶
func (x *CreatedPullRequestContributionConnection) GetTotalCount() int
type CreatedPullRequestContributionEdge ¶
type CreatedPullRequestContributionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CreatedPullRequestContribution `json:"node,omitempty"`
}
CreatedPullRequestContributionEdge (OBJECT): An edge in a connection.
func (*CreatedPullRequestContributionEdge) GetCursor ¶
func (x *CreatedPullRequestContributionEdge) GetCursor() string
func (*CreatedPullRequestContributionEdge) GetNode ¶
func (x *CreatedPullRequestContributionEdge) GetNode() *CreatedPullRequestContribution
type CreatedPullRequestOrRestrictedContribution ¶
type CreatedPullRequestOrRestrictedContribution struct {
Interface CreatedPullRequestOrRestrictedContribution_Interface
}
func (*CreatedPullRequestOrRestrictedContribution) MarshalJSON ¶
func (x *CreatedPullRequestOrRestrictedContribution) MarshalJSON() ([]byte, error)
func (*CreatedPullRequestOrRestrictedContribution) UnmarshalJSON ¶
func (x *CreatedPullRequestOrRestrictedContribution) UnmarshalJSON(js []byte) error
type CreatedPullRequestOrRestrictedContribution_Interface ¶
type CreatedPullRequestOrRestrictedContribution_Interface interface {
// contains filtered or unexported methods
}
CreatedPullRequestOrRestrictedContribution (UNION): Represents either a pull request the viewer can access or a restricted contribution. CreatedPullRequestOrRestrictedContribution_Interface: Represents either a pull request the viewer can access or a restricted contribution.
Possible types:
- *CreatedPullRequestContribution
- *RestrictedContribution
type CreatedPullRequestReviewContribution ¶
type CreatedPullRequestReviewContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// PullRequest: The pull request the user reviewed.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// PullRequestReview: The review the user left on the pull request.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
// Repository: The repository containing the pull request that the user reviewed.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
CreatedPullRequestReviewContribution (OBJECT): Represents the contribution a user made by leaving a review on a pull request.
func (*CreatedPullRequestReviewContribution) GetIsRestricted ¶
func (x *CreatedPullRequestReviewContribution) GetIsRestricted() bool
func (*CreatedPullRequestReviewContribution) GetOccurredAt ¶
func (x *CreatedPullRequestReviewContribution) GetOccurredAt() DateTime
func (*CreatedPullRequestReviewContribution) GetPullRequest ¶
func (x *CreatedPullRequestReviewContribution) GetPullRequest() *PullRequest
func (*CreatedPullRequestReviewContribution) GetPullRequestReview ¶
func (x *CreatedPullRequestReviewContribution) GetPullRequestReview() *PullRequestReview
func (*CreatedPullRequestReviewContribution) GetRepository ¶
func (x *CreatedPullRequestReviewContribution) GetRepository() *Repository
func (*CreatedPullRequestReviewContribution) GetResourcePath ¶
func (x *CreatedPullRequestReviewContribution) GetResourcePath() URI
func (*CreatedPullRequestReviewContribution) GetUrl ¶
func (x *CreatedPullRequestReviewContribution) GetUrl() URI
func (*CreatedPullRequestReviewContribution) GetUser ¶
func (x *CreatedPullRequestReviewContribution) GetUser() *User
type CreatedPullRequestReviewContributionConnection ¶
type CreatedPullRequestReviewContributionConnection struct {
// Edges: A list of edges.
Edges []*CreatedPullRequestReviewContributionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CreatedPullRequestReviewContribution `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CreatedPullRequestReviewContributionConnection (OBJECT): The connection type for CreatedPullRequestReviewContribution.
func (*CreatedPullRequestReviewContributionConnection) GetEdges ¶
func (x *CreatedPullRequestReviewContributionConnection) GetEdges() []*CreatedPullRequestReviewContributionEdge
func (*CreatedPullRequestReviewContributionConnection) GetNodes ¶
func (x *CreatedPullRequestReviewContributionConnection) GetNodes() []*CreatedPullRequestReviewContribution
func (*CreatedPullRequestReviewContributionConnection) GetPageInfo ¶
func (x *CreatedPullRequestReviewContributionConnection) GetPageInfo() *PageInfo
func (*CreatedPullRequestReviewContributionConnection) GetTotalCount ¶
func (x *CreatedPullRequestReviewContributionConnection) GetTotalCount() int
type CreatedPullRequestReviewContributionEdge ¶
type CreatedPullRequestReviewContributionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CreatedPullRequestReviewContribution `json:"node,omitempty"`
}
CreatedPullRequestReviewContributionEdge (OBJECT): An edge in a connection.
func (*CreatedPullRequestReviewContributionEdge) GetCursor ¶
func (x *CreatedPullRequestReviewContributionEdge) GetCursor() string
func (*CreatedPullRequestReviewContributionEdge) GetNode ¶
func (x *CreatedPullRequestReviewContributionEdge) GetNode() *CreatedPullRequestReviewContribution
type CreatedRepositoryContribution ¶
type CreatedRepositoryContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// Repository: The repository that was created.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
CreatedRepositoryContribution (OBJECT): Represents the contribution a user made on GitHub by creating a repository.
func (*CreatedRepositoryContribution) GetIsRestricted ¶
func (x *CreatedRepositoryContribution) GetIsRestricted() bool
func (*CreatedRepositoryContribution) GetOccurredAt ¶
func (x *CreatedRepositoryContribution) GetOccurredAt() DateTime
func (*CreatedRepositoryContribution) GetRepository ¶
func (x *CreatedRepositoryContribution) GetRepository() *Repository
func (*CreatedRepositoryContribution) GetResourcePath ¶
func (x *CreatedRepositoryContribution) GetResourcePath() URI
func (*CreatedRepositoryContribution) GetUrl ¶
func (x *CreatedRepositoryContribution) GetUrl() URI
func (*CreatedRepositoryContribution) GetUser ¶
func (x *CreatedRepositoryContribution) GetUser() *User
type CreatedRepositoryContributionConnection ¶
type CreatedRepositoryContributionConnection struct {
// Edges: A list of edges.
Edges []*CreatedRepositoryContributionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*CreatedRepositoryContribution `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
CreatedRepositoryContributionConnection (OBJECT): The connection type for CreatedRepositoryContribution.
func (*CreatedRepositoryContributionConnection) GetEdges ¶
func (x *CreatedRepositoryContributionConnection) GetEdges() []*CreatedRepositoryContributionEdge
func (*CreatedRepositoryContributionConnection) GetNodes ¶
func (x *CreatedRepositoryContributionConnection) GetNodes() []*CreatedRepositoryContribution
func (*CreatedRepositoryContributionConnection) GetPageInfo ¶
func (x *CreatedRepositoryContributionConnection) GetPageInfo() *PageInfo
func (*CreatedRepositoryContributionConnection) GetTotalCount ¶
func (x *CreatedRepositoryContributionConnection) GetTotalCount() int
type CreatedRepositoryContributionEdge ¶
type CreatedRepositoryContributionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *CreatedRepositoryContribution `json:"node,omitempty"`
}
CreatedRepositoryContributionEdge (OBJECT): An edge in a connection.
func (*CreatedRepositoryContributionEdge) GetCursor ¶
func (x *CreatedRepositoryContributionEdge) GetCursor() string
func (*CreatedRepositoryContributionEdge) GetNode ¶
func (x *CreatedRepositoryContributionEdge) GetNode() *CreatedRepositoryContribution
type CreatedRepositoryOrRestrictedContribution ¶
type CreatedRepositoryOrRestrictedContribution struct {
Interface CreatedRepositoryOrRestrictedContribution_Interface
}
func (*CreatedRepositoryOrRestrictedContribution) MarshalJSON ¶
func (x *CreatedRepositoryOrRestrictedContribution) MarshalJSON() ([]byte, error)
func (*CreatedRepositoryOrRestrictedContribution) UnmarshalJSON ¶
func (x *CreatedRepositoryOrRestrictedContribution) UnmarshalJSON(js []byte) error
type CreatedRepositoryOrRestrictedContribution_Interface ¶
type CreatedRepositoryOrRestrictedContribution_Interface interface {
// contains filtered or unexported methods
}
CreatedRepositoryOrRestrictedContribution (UNION): Represents either a repository the viewer can access or a restricted contribution. CreatedRepositoryOrRestrictedContribution_Interface: Represents either a repository the viewer can access or a restricted contribution.
Possible types:
- *CreatedRepositoryContribution
- *RestrictedContribution
type CrossReferencedEvent ¶
type CrossReferencedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Reference originated in a different repository.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
// ReferencedAt: Identifies when the reference was made.
ReferencedAt DateTime `json:"referencedAt,omitempty"`
// ResourcePath: The HTTP path for this pull request.
ResourcePath URI `json:"resourcePath,omitempty"`
// Source: Issue or pull request that made the reference.
Source ReferencedSubject `json:"source,omitempty"`
// Target: Issue or pull request to which the reference was made.
Target ReferencedSubject `json:"target,omitempty"`
// Url: The HTTP URL for this pull request.
Url URI `json:"url,omitempty"`
// WillCloseTarget: Checks if the target will be closed when the source is merged.
WillCloseTarget bool `json:"willCloseTarget,omitempty"`
}
CrossReferencedEvent (OBJECT): Represents a mention made by one issue or pull request to another.
func (*CrossReferencedEvent) GetActor ¶
func (x *CrossReferencedEvent) GetActor() Actor
func (*CrossReferencedEvent) GetCreatedAt ¶
func (x *CrossReferencedEvent) GetCreatedAt() DateTime
func (*CrossReferencedEvent) GetId ¶
func (x *CrossReferencedEvent) GetId() ID
func (*CrossReferencedEvent) GetIsCrossRepository ¶
func (x *CrossReferencedEvent) GetIsCrossRepository() bool
func (*CrossReferencedEvent) GetReferencedAt ¶
func (x *CrossReferencedEvent) GetReferencedAt() DateTime
func (*CrossReferencedEvent) GetResourcePath ¶
func (x *CrossReferencedEvent) GetResourcePath() URI
func (*CrossReferencedEvent) GetSource ¶
func (x *CrossReferencedEvent) GetSource() ReferencedSubject
func (*CrossReferencedEvent) GetTarget ¶
func (x *CrossReferencedEvent) GetTarget() ReferencedSubject
func (*CrossReferencedEvent) GetUrl ¶
func (x *CrossReferencedEvent) GetUrl() URI
func (*CrossReferencedEvent) GetWillCloseTarget ¶
func (x *CrossReferencedEvent) GetWillCloseTarget() bool
type DeclineTopicSuggestionInput ¶
type DeclineTopicSuggestionInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The name of the suggested topic.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// Reason: The reason why the suggested topic is declined.
//
// GraphQL type: TopicSuggestionDeclineReason!
Reason TopicSuggestionDeclineReason `json:"reason,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeclineTopicSuggestionInput (INPUT_OBJECT): Autogenerated input type of DeclineTopicSuggestion.
type DeclineTopicSuggestionPayload ¶
type DeclineTopicSuggestionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Topic: The declined topic.
Topic *Topic `json:"topic,omitempty"`
}
DeclineTopicSuggestionPayload (OBJECT): Autogenerated return type of DeclineTopicSuggestion.
func (*DeclineTopicSuggestionPayload) GetClientMutationId ¶
func (x *DeclineTopicSuggestionPayload) GetClientMutationId() string
func (*DeclineTopicSuggestionPayload) GetTopic ¶
func (x *DeclineTopicSuggestionPayload) GetTopic() *Topic
type DefaultRepositoryPermissionField ¶
type DefaultRepositoryPermissionField string
DefaultRepositoryPermissionField (ENUM): The possible base permissions for repositories.
const DefaultRepositoryPermissionField_ADMIN DefaultRepositoryPermissionField = "ADMIN"
DefaultRepositoryPermissionField_ADMIN: Can read, write, and administrate repos by default.
const DefaultRepositoryPermissionField_NONE DefaultRepositoryPermissionField = "NONE"
DefaultRepositoryPermissionField_NONE: No access.
const DefaultRepositoryPermissionField_READ DefaultRepositoryPermissionField = "READ"
DefaultRepositoryPermissionField_READ: Can read repos by default.
const DefaultRepositoryPermissionField_WRITE DefaultRepositoryPermissionField = "WRITE"
DefaultRepositoryPermissionField_WRITE: Can read and write repos by default.
type Deletable ¶
type Deletable struct {
Interface Deletable_Interface
}
func (*Deletable) MarshalJSON ¶
func (*Deletable) UnmarshalJSON ¶
type Deletable_Interface ¶
type Deletable_Interface interface {
GetViewerCanDelete() bool
// contains filtered or unexported methods
}
Deletable (INTERFACE): Entities that can be deleted. Deletable_Interface: Entities that can be deleted.
Possible types:
- *CommitComment
- *Discussion
- *DiscussionComment
- *GistComment
- *IssueComment
- *PullRequestReview
- *PullRequestReviewComment
- *TeamDiscussion
- *TeamDiscussionComment
type DeleteBranchProtectionRuleInput ¶
type DeleteBranchProtectionRuleInput struct {
// BranchProtectionRuleId: The global relay id of the branch protection rule to be deleted.
//
// GraphQL type: ID!
BranchProtectionRuleId ID `json:"branchProtectionRuleId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteBranchProtectionRuleInput (INPUT_OBJECT): Autogenerated input type of DeleteBranchProtectionRule.
type DeleteBranchProtectionRulePayload ¶
type DeleteBranchProtectionRulePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteBranchProtectionRulePayload (OBJECT): Autogenerated return type of DeleteBranchProtectionRule.
func (*DeleteBranchProtectionRulePayload) GetClientMutationId ¶
func (x *DeleteBranchProtectionRulePayload) GetClientMutationId() string
type DeleteDeploymentInput ¶
type DeleteDeploymentInput struct {
// Id: The Node ID of the deployment to be deleted.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteDeploymentInput (INPUT_OBJECT): Autogenerated input type of DeleteDeployment.
type DeleteDeploymentPayload ¶
type DeleteDeploymentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteDeploymentPayload (OBJECT): Autogenerated return type of DeleteDeployment.
func (*DeleteDeploymentPayload) GetClientMutationId ¶
func (x *DeleteDeploymentPayload) GetClientMutationId() string
type DeleteDiscussionCommentInput ¶
type DeleteDiscussionCommentInput struct {
// Id: The Node id of the discussion comment to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of DeleteDiscussionComment.
type DeleteDiscussionCommentPayload ¶
type DeleteDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Comment: The discussion comment that was just deleted.
Comment *DiscussionComment `json:"comment,omitempty"`
}
DeleteDiscussionCommentPayload (OBJECT): Autogenerated return type of DeleteDiscussionComment.
func (*DeleteDiscussionCommentPayload) GetClientMutationId ¶
func (x *DeleteDiscussionCommentPayload) GetClientMutationId() string
func (*DeleteDiscussionCommentPayload) GetComment ¶
func (x *DeleteDiscussionCommentPayload) GetComment() *DiscussionComment
type DeleteDiscussionInput ¶
type DeleteDiscussionInput struct {
// Id: The id of the discussion to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteDiscussionInput (INPUT_OBJECT): Autogenerated input type of DeleteDiscussion.
type DeleteDiscussionPayload ¶
type DeleteDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Discussion: The discussion that was just deleted.
Discussion *Discussion `json:"discussion,omitempty"`
}
DeleteDiscussionPayload (OBJECT): Autogenerated return type of DeleteDiscussion.
func (*DeleteDiscussionPayload) GetClientMutationId ¶
func (x *DeleteDiscussionPayload) GetClientMutationId() string
func (*DeleteDiscussionPayload) GetDiscussion ¶
func (x *DeleteDiscussionPayload) GetDiscussion() *Discussion
type DeleteEnvironmentInput ¶
type DeleteEnvironmentInput struct {
// Id: The Node ID of the environment to be deleted.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteEnvironmentInput (INPUT_OBJECT): Autogenerated input type of DeleteEnvironment.
type DeleteEnvironmentPayload ¶
type DeleteEnvironmentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteEnvironmentPayload (OBJECT): Autogenerated return type of DeleteEnvironment.
func (*DeleteEnvironmentPayload) GetClientMutationId ¶
func (x *DeleteEnvironmentPayload) GetClientMutationId() string
type DeleteIpAllowListEntryInput ¶
type DeleteIpAllowListEntryInput struct {
// IpAllowListEntryId: The ID of the IP allow list entry to delete.
//
// GraphQL type: ID!
IpAllowListEntryId ID `json:"ipAllowListEntryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteIpAllowListEntryInput (INPUT_OBJECT): Autogenerated input type of DeleteIpAllowListEntry.
type DeleteIpAllowListEntryPayload ¶
type DeleteIpAllowListEntryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IpAllowListEntry: The IP allow list entry that was deleted.
IpAllowListEntry *IpAllowListEntry `json:"ipAllowListEntry,omitempty"`
}
DeleteIpAllowListEntryPayload (OBJECT): Autogenerated return type of DeleteIpAllowListEntry.
func (*DeleteIpAllowListEntryPayload) GetClientMutationId ¶
func (x *DeleteIpAllowListEntryPayload) GetClientMutationId() string
func (*DeleteIpAllowListEntryPayload) GetIpAllowListEntry ¶
func (x *DeleteIpAllowListEntryPayload) GetIpAllowListEntry() *IpAllowListEntry
type DeleteIssueCommentInput ¶
type DeleteIssueCommentInput struct {
// Id: The ID of the comment to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteIssueCommentInput (INPUT_OBJECT): Autogenerated input type of DeleteIssueComment.
type DeleteIssueCommentPayload ¶
type DeleteIssueCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteIssueCommentPayload (OBJECT): Autogenerated return type of DeleteIssueComment.
func (*DeleteIssueCommentPayload) GetClientMutationId ¶
func (x *DeleteIssueCommentPayload) GetClientMutationId() string
type DeleteIssueInput ¶
type DeleteIssueInput struct {
// IssueId: The ID of the issue to delete.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteIssueInput (INPUT_OBJECT): Autogenerated input type of DeleteIssue.
type DeleteIssuePayload ¶
type DeleteIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The repository the issue belonged to.
Repository *Repository `json:"repository,omitempty"`
}
DeleteIssuePayload (OBJECT): Autogenerated return type of DeleteIssue.
func (*DeleteIssuePayload) GetClientMutationId ¶
func (x *DeleteIssuePayload) GetClientMutationId() string
func (*DeleteIssuePayload) GetRepository ¶
func (x *DeleteIssuePayload) GetRepository() *Repository
type DeleteProjectCardInput ¶
type DeleteProjectCardInput struct {
// CardId: The id of the card to delete.
//
// GraphQL type: ID!
CardId ID `json:"cardId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteProjectCardInput (INPUT_OBJECT): Autogenerated input type of DeleteProjectCard.
type DeleteProjectCardPayload ¶
type DeleteProjectCardPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Column: The column the deleted card was in.
Column *ProjectColumn `json:"column,omitempty"`
// DeletedCardId: The deleted card ID.
DeletedCardId ID `json:"deletedCardId,omitempty"`
}
DeleteProjectCardPayload (OBJECT): Autogenerated return type of DeleteProjectCard.
func (*DeleteProjectCardPayload) GetClientMutationId ¶
func (x *DeleteProjectCardPayload) GetClientMutationId() string
func (*DeleteProjectCardPayload) GetColumn ¶
func (x *DeleteProjectCardPayload) GetColumn() *ProjectColumn
func (*DeleteProjectCardPayload) GetDeletedCardId ¶
func (x *DeleteProjectCardPayload) GetDeletedCardId() ID
type DeleteProjectColumnInput ¶
type DeleteProjectColumnInput struct {
// ColumnId: The id of the column to delete.
//
// GraphQL type: ID!
ColumnId ID `json:"columnId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteProjectColumnInput (INPUT_OBJECT): Autogenerated input type of DeleteProjectColumn.
type DeleteProjectColumnPayload ¶
type DeleteProjectColumnPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// DeletedColumnId: The deleted column ID.
DeletedColumnId ID `json:"deletedColumnId,omitempty"`
// Project: The project the deleted column was in.
Project *Project `json:"project,omitempty"`
}
DeleteProjectColumnPayload (OBJECT): Autogenerated return type of DeleteProjectColumn.
func (*DeleteProjectColumnPayload) GetClientMutationId ¶
func (x *DeleteProjectColumnPayload) GetClientMutationId() string
func (*DeleteProjectColumnPayload) GetDeletedColumnId ¶
func (x *DeleteProjectColumnPayload) GetDeletedColumnId() ID
func (*DeleteProjectColumnPayload) GetProject ¶
func (x *DeleteProjectColumnPayload) GetProject() *Project
type DeleteProjectInput ¶
type DeleteProjectInput struct {
// ProjectId: The Project ID to update.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteProjectInput (INPUT_OBJECT): Autogenerated input type of DeleteProject.
type DeleteProjectNextItemInput ¶
type DeleteProjectNextItemInput struct {
// ProjectId: The ID of the Project from which the item should be removed. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ProjectId ID `json:"projectId,omitempty"`
// ItemId: The ID of the item to be removed. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `itemId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ItemId ID `json:"itemId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteProjectNextItemInput (INPUT_OBJECT): Autogenerated input type of DeleteProjectNextItem.
type DeleteProjectNextItemPayload ¶
type DeleteProjectNextItemPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// DeletedItemId: The ID of the deleted item.
//
// Deprecated: The ID of the deleted item.
DeletedItemId ID `json:"deletedItemId,omitempty"`
}
DeleteProjectNextItemPayload (OBJECT): Autogenerated return type of DeleteProjectNextItem.
func (*DeleteProjectNextItemPayload) GetClientMutationId ¶
func (x *DeleteProjectNextItemPayload) GetClientMutationId() string
func (*DeleteProjectNextItemPayload) GetDeletedItemId ¶
func (x *DeleteProjectNextItemPayload) GetDeletedItemId() ID
type DeleteProjectPayload ¶
type DeleteProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Owner: The repository or organization the project was removed from.
Owner ProjectOwner `json:"owner,omitempty"`
}
DeleteProjectPayload (OBJECT): Autogenerated return type of DeleteProject.
func (*DeleteProjectPayload) GetClientMutationId ¶
func (x *DeleteProjectPayload) GetClientMutationId() string
func (*DeleteProjectPayload) GetOwner ¶
func (x *DeleteProjectPayload) GetOwner() ProjectOwner
type DeleteProjectV2ItemInput ¶
type DeleteProjectV2ItemInput struct {
// ProjectId: The ID of the Project from which the item should be removed.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// ItemId: The ID of the item to be removed.
//
// GraphQL type: ID!
ItemId ID `json:"itemId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteProjectV2ItemInput (INPUT_OBJECT): Autogenerated input type of DeleteProjectV2Item.
type DeleteProjectV2ItemPayload ¶
type DeleteProjectV2ItemPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// DeletedItemId: The ID of the deleted item.
DeletedItemId ID `json:"deletedItemId,omitempty"`
}
DeleteProjectV2ItemPayload (OBJECT): Autogenerated return type of DeleteProjectV2Item.
func (*DeleteProjectV2ItemPayload) GetClientMutationId ¶
func (x *DeleteProjectV2ItemPayload) GetClientMutationId() string
func (*DeleteProjectV2ItemPayload) GetDeletedItemId ¶
func (x *DeleteProjectV2ItemPayload) GetDeletedItemId() ID
type DeletePullRequestReviewCommentInput ¶
type DeletePullRequestReviewCommentInput struct {
// Id: The ID of the comment to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeletePullRequestReviewCommentInput (INPUT_OBJECT): Autogenerated input type of DeletePullRequestReviewComment.
type DeletePullRequestReviewCommentPayload ¶
type DeletePullRequestReviewCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The pull request review the deleted comment belonged to.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}
DeletePullRequestReviewCommentPayload (OBJECT): Autogenerated return type of DeletePullRequestReviewComment.
func (*DeletePullRequestReviewCommentPayload) GetClientMutationId ¶
func (x *DeletePullRequestReviewCommentPayload) GetClientMutationId() string
func (*DeletePullRequestReviewCommentPayload) GetPullRequestReview ¶
func (x *DeletePullRequestReviewCommentPayload) GetPullRequestReview() *PullRequestReview
type DeletePullRequestReviewInput ¶
type DeletePullRequestReviewInput struct {
// PullRequestReviewId: The Node ID of the pull request review to delete.
//
// GraphQL type: ID!
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeletePullRequestReviewInput (INPUT_OBJECT): Autogenerated input type of DeletePullRequestReview.
type DeletePullRequestReviewPayload ¶
type DeletePullRequestReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The deleted pull request review.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}
DeletePullRequestReviewPayload (OBJECT): Autogenerated return type of DeletePullRequestReview.
func (*DeletePullRequestReviewPayload) GetClientMutationId ¶
func (x *DeletePullRequestReviewPayload) GetClientMutationId() string
func (*DeletePullRequestReviewPayload) GetPullRequestReview ¶
func (x *DeletePullRequestReviewPayload) GetPullRequestReview() *PullRequestReview
type DeleteRefInput ¶
type DeleteRefInput struct {
// RefId: The Node ID of the Ref to be deleted.
//
// GraphQL type: ID!
RefId ID `json:"refId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteRefInput (INPUT_OBJECT): Autogenerated input type of DeleteRef.
type DeleteRefPayload ¶
type DeleteRefPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteRefPayload (OBJECT): Autogenerated return type of DeleteRef.
func (*DeleteRefPayload) GetClientMutationId ¶
func (x *DeleteRefPayload) GetClientMutationId() string
type DeleteTeamDiscussionCommentInput ¶
type DeleteTeamDiscussionCommentInput struct {
// Id: The ID of the comment to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteTeamDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of DeleteTeamDiscussionComment.
type DeleteTeamDiscussionCommentPayload ¶
type DeleteTeamDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteTeamDiscussionCommentPayload (OBJECT): Autogenerated return type of DeleteTeamDiscussionComment.
func (*DeleteTeamDiscussionCommentPayload) GetClientMutationId ¶
func (x *DeleteTeamDiscussionCommentPayload) GetClientMutationId() string
type DeleteTeamDiscussionInput ¶
type DeleteTeamDiscussionInput struct {
// Id: The discussion ID to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteTeamDiscussionInput (INPUT_OBJECT): Autogenerated input type of DeleteTeamDiscussion.
type DeleteTeamDiscussionPayload ¶
type DeleteTeamDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteTeamDiscussionPayload (OBJECT): Autogenerated return type of DeleteTeamDiscussion.
func (*DeleteTeamDiscussionPayload) GetClientMutationId ¶
func (x *DeleteTeamDiscussionPayload) GetClientMutationId() string
type DeleteVerifiableDomainInput ¶
type DeleteVerifiableDomainInput struct {
// Id: The ID of the verifiable domain to delete.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DeleteVerifiableDomainInput (INPUT_OBJECT): Autogenerated input type of DeleteVerifiableDomain.
type DeleteVerifiableDomainPayload ¶
type DeleteVerifiableDomainPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Owner: The owning account from which the domain was deleted.
Owner VerifiableDomainOwner `json:"owner,omitempty"`
}
DeleteVerifiableDomainPayload (OBJECT): Autogenerated return type of DeleteVerifiableDomain.
func (*DeleteVerifiableDomainPayload) GetClientMutationId ¶
func (x *DeleteVerifiableDomainPayload) GetClientMutationId() string
func (*DeleteVerifiableDomainPayload) GetOwner ¶
func (x *DeleteVerifiableDomainPayload) GetOwner() VerifiableDomainOwner
type DemilestonedEvent ¶
type DemilestonedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MilestoneTitle: Identifies the milestone title associated with the 'demilestoned' event.
MilestoneTitle string `json:"milestoneTitle,omitempty"`
// Subject: Object referenced by event.
Subject MilestoneItem `json:"subject,omitempty"`
}
DemilestonedEvent (OBJECT): Represents a 'demilestoned' event on a given issue or pull request.
func (*DemilestonedEvent) GetActor ¶
func (x *DemilestonedEvent) GetActor() Actor
func (*DemilestonedEvent) GetCreatedAt ¶
func (x *DemilestonedEvent) GetCreatedAt() DateTime
func (*DemilestonedEvent) GetId ¶
func (x *DemilestonedEvent) GetId() ID
func (*DemilestonedEvent) GetMilestoneTitle ¶
func (x *DemilestonedEvent) GetMilestoneTitle() string
func (*DemilestonedEvent) GetSubject ¶
func (x *DemilestonedEvent) GetSubject() MilestoneItem
type DependabotUpdate ¶
type DependabotUpdate struct {
// Error: The error from a dependency update.
Error *DependabotUpdateError `json:"error,omitempty"`
// PullRequest: The associated pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
}
DependabotUpdate (OBJECT): A Dependabot Update for a dependency in a repository.
func (*DependabotUpdate) GetError ¶
func (x *DependabotUpdate) GetError() *DependabotUpdateError
func (*DependabotUpdate) GetPullRequest ¶
func (x *DependabotUpdate) GetPullRequest() *PullRequest
func (*DependabotUpdate) GetRepository ¶
func (x *DependabotUpdate) GetRepository() *Repository
type DependabotUpdateError ¶
type DependabotUpdateError struct {
// Body: The body of the error.
Body string `json:"body,omitempty"`
// ErrorType: The error code.
ErrorType string `json:"errorType,omitempty"`
// Title: The title of the error.
Title string `json:"title,omitempty"`
}
DependabotUpdateError (OBJECT): An error produced from a Dependabot Update.
func (*DependabotUpdateError) GetBody ¶
func (x *DependabotUpdateError) GetBody() string
func (*DependabotUpdateError) GetErrorType ¶
func (x *DependabotUpdateError) GetErrorType() string
func (*DependabotUpdateError) GetTitle ¶
func (x *DependabotUpdateError) GetTitle() string
type DependencyGraphEcosystem ¶
type DependencyGraphEcosystem string
DependencyGraphEcosystem (ENUM): The possible ecosystems of a dependency graph package.
const DependencyGraphEcosystem_ACTIONS DependencyGraphEcosystem = "ACTIONS"
DependencyGraphEcosystem_ACTIONS: GitHub Actions.
const DependencyGraphEcosystem_COMPOSER DependencyGraphEcosystem = "COMPOSER"
DependencyGraphEcosystem_COMPOSER: PHP packages hosted at packagist.org.
const DependencyGraphEcosystem_GO DependencyGraphEcosystem = "GO"
DependencyGraphEcosystem_GO: Go modules.
const DependencyGraphEcosystem_MAVEN DependencyGraphEcosystem = "MAVEN"
DependencyGraphEcosystem_MAVEN: Java artifacts hosted at the Maven central repository.
const DependencyGraphEcosystem_NPM DependencyGraphEcosystem = "NPM"
DependencyGraphEcosystem_NPM: JavaScript packages hosted at npmjs.com.
const DependencyGraphEcosystem_NUGET DependencyGraphEcosystem = "NUGET"
DependencyGraphEcosystem_NUGET: .NET packages hosted at the NuGet Gallery.
const DependencyGraphEcosystem_PIP DependencyGraphEcosystem = "PIP"
DependencyGraphEcosystem_PIP: Python packages hosted at PyPI.org.
const DependencyGraphEcosystem_RUBYGEMS DependencyGraphEcosystem = "RUBYGEMS"
DependencyGraphEcosystem_RUBYGEMS: Ruby gems hosted at RubyGems.org.
const DependencyGraphEcosystem_RUST DependencyGraphEcosystem = "RUST"
DependencyGraphEcosystem_RUST: Rust crates.
type DeployKey ¶
type DeployKey struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Key: The deploy key.
Key string `json:"key,omitempty"`
// ReadOnly: Whether or not the deploy key is read only.
ReadOnly bool `json:"readOnly,omitempty"`
// Title: The deploy key title.
Title string `json:"title,omitempty"`
// Verified: Whether or not the deploy key has been verified.
Verified bool `json:"verified,omitempty"`
}
DeployKey (OBJECT): A repository deploy key.
func (*DeployKey) GetCreatedAt ¶
func (*DeployKey) GetReadOnly ¶
func (*DeployKey) GetVerified ¶
type DeployKeyConnection ¶
type DeployKeyConnection struct {
// Edges: A list of edges.
Edges []*DeployKeyEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DeployKey `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeployKeyConnection (OBJECT): The connection type for DeployKey.
func (*DeployKeyConnection) GetEdges ¶
func (x *DeployKeyConnection) GetEdges() []*DeployKeyEdge
func (*DeployKeyConnection) GetNodes ¶
func (x *DeployKeyConnection) GetNodes() []*DeployKey
func (*DeployKeyConnection) GetPageInfo ¶
func (x *DeployKeyConnection) GetPageInfo() *PageInfo
func (*DeployKeyConnection) GetTotalCount ¶
func (x *DeployKeyConnection) GetTotalCount() int
type DeployKeyEdge ¶
type DeployKeyEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DeployKey `json:"node,omitempty"`
}
DeployKeyEdge (OBJECT): An edge in a connection.
func (*DeployKeyEdge) GetCursor ¶
func (x *DeployKeyEdge) GetCursor() string
func (*DeployKeyEdge) GetNode ¶
func (x *DeployKeyEdge) GetNode() *DeployKey
type DeployedEvent ¶
type DeployedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Deployment: The deployment associated with the 'deployed' event.
Deployment *Deployment `json:"deployment,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Ref: The ref associated with the 'deployed' event.
Ref *Ref `json:"ref,omitempty"`
}
DeployedEvent (OBJECT): Represents a 'deployed' event on a given pull request.
func (*DeployedEvent) GetActor ¶
func (x *DeployedEvent) GetActor() Actor
func (*DeployedEvent) GetCreatedAt ¶
func (x *DeployedEvent) GetCreatedAt() DateTime
func (*DeployedEvent) GetDatabaseId ¶
func (x *DeployedEvent) GetDatabaseId() int
func (*DeployedEvent) GetDeployment ¶
func (x *DeployedEvent) GetDeployment() *Deployment
func (*DeployedEvent) GetId ¶
func (x *DeployedEvent) GetId() ID
func (*DeployedEvent) GetPullRequest ¶
func (x *DeployedEvent) GetPullRequest() *PullRequest
func (*DeployedEvent) GetRef ¶
func (x *DeployedEvent) GetRef() *Ref
type Deployment ¶
type Deployment struct {
// Commit: Identifies the commit sha of the deployment.
Commit *Commit `json:"commit,omitempty"`
// CommitOid: Identifies the oid of the deployment commit, even if the commit has been deleted.
CommitOid string `json:"commitOid,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: Identifies the actor who triggered the deployment.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The deployment description.
Description string `json:"description,omitempty"`
// Environment: The latest environment to which this deployment was made.
Environment string `json:"environment,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// LatestEnvironment: The latest environment to which this deployment was made.
LatestEnvironment string `json:"latestEnvironment,omitempty"`
// LatestStatus: The latest status of this deployment.
LatestStatus *DeploymentStatus `json:"latestStatus,omitempty"`
// OriginalEnvironment: The original environment to which this deployment was made.
OriginalEnvironment string `json:"originalEnvironment,omitempty"`
// Payload: Extra information that a deployment system might need.
Payload string `json:"payload,omitempty"`
// Ref: Identifies the Ref of the deployment, if the deployment was created by ref.
Ref *Ref `json:"ref,omitempty"`
// Repository: Identifies the repository associated with the deployment.
Repository *Repository `json:"repository,omitempty"`
// State: The current state of the deployment.
State DeploymentState `json:"state,omitempty"`
// Statuses: A list of statuses associated with the deployment.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Statuses *DeploymentStatusConnection `json:"statuses,omitempty"`
// Task: The deployment task.
Task string `json:"task,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
Deployment (OBJECT): Represents triggered deployment instance.
func (*Deployment) GetCommit ¶
func (x *Deployment) GetCommit() *Commit
func (*Deployment) GetCommitOid ¶
func (x *Deployment) GetCommitOid() string
func (*Deployment) GetCreatedAt ¶
func (x *Deployment) GetCreatedAt() DateTime
func (*Deployment) GetCreator ¶
func (x *Deployment) GetCreator() Actor
func (*Deployment) GetDatabaseId ¶
func (x *Deployment) GetDatabaseId() int
func (*Deployment) GetDescription ¶
func (x *Deployment) GetDescription() string
func (*Deployment) GetEnvironment ¶
func (x *Deployment) GetEnvironment() string
func (*Deployment) GetId ¶
func (x *Deployment) GetId() ID
func (*Deployment) GetLatestEnvironment ¶
func (x *Deployment) GetLatestEnvironment() string
func (*Deployment) GetLatestStatus ¶
func (x *Deployment) GetLatestStatus() *DeploymentStatus
func (*Deployment) GetOriginalEnvironment ¶
func (x *Deployment) GetOriginalEnvironment() string
func (*Deployment) GetPayload ¶
func (x *Deployment) GetPayload() string
func (*Deployment) GetRef ¶
func (x *Deployment) GetRef() *Ref
func (*Deployment) GetRepository ¶
func (x *Deployment) GetRepository() *Repository
func (*Deployment) GetState ¶
func (x *Deployment) GetState() DeploymentState
func (*Deployment) GetStatuses ¶
func (x *Deployment) GetStatuses() *DeploymentStatusConnection
func (*Deployment) GetTask ¶
func (x *Deployment) GetTask() string
func (*Deployment) GetUpdatedAt ¶
func (x *Deployment) GetUpdatedAt() DateTime
type DeploymentConnection ¶
type DeploymentConnection struct {
// Edges: A list of edges.
Edges []*DeploymentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Deployment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentConnection (OBJECT): The connection type for Deployment.
func (*DeploymentConnection) GetEdges ¶
func (x *DeploymentConnection) GetEdges() []*DeploymentEdge
func (*DeploymentConnection) GetNodes ¶
func (x *DeploymentConnection) GetNodes() []*Deployment
func (*DeploymentConnection) GetPageInfo ¶
func (x *DeploymentConnection) GetPageInfo() *PageInfo
func (*DeploymentConnection) GetTotalCount ¶
func (x *DeploymentConnection) GetTotalCount() int
type DeploymentEdge ¶
type DeploymentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Deployment `json:"node,omitempty"`
}
DeploymentEdge (OBJECT): An edge in a connection.
func (*DeploymentEdge) GetCursor ¶
func (x *DeploymentEdge) GetCursor() string
func (*DeploymentEdge) GetNode ¶
func (x *DeploymentEdge) GetNode() *Deployment
type DeploymentEnvironmentChangedEvent ¶
type DeploymentEnvironmentChangedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DeploymentStatus: The deployment status that updated the deployment environment.
DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
DeploymentEnvironmentChangedEvent (OBJECT): Represents a 'deployment_environment_changed' event on a given pull request.
func (*DeploymentEnvironmentChangedEvent) GetActor ¶
func (x *DeploymentEnvironmentChangedEvent) GetActor() Actor
func (*DeploymentEnvironmentChangedEvent) GetCreatedAt ¶
func (x *DeploymentEnvironmentChangedEvent) GetCreatedAt() DateTime
func (*DeploymentEnvironmentChangedEvent) GetDeploymentStatus ¶
func (x *DeploymentEnvironmentChangedEvent) GetDeploymentStatus() *DeploymentStatus
func (*DeploymentEnvironmentChangedEvent) GetId ¶
func (x *DeploymentEnvironmentChangedEvent) GetId() ID
func (*DeploymentEnvironmentChangedEvent) GetPullRequest ¶
func (x *DeploymentEnvironmentChangedEvent) GetPullRequest() *PullRequest
type DeploymentOrder ¶
type DeploymentOrder struct {
// Field: The field to order deployments by.
//
// GraphQL type: DeploymentOrderField!
Field DeploymentOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
DeploymentOrder (INPUT_OBJECT): Ordering options for deployment connections.
type DeploymentOrderField ¶
type DeploymentOrderField string
DeploymentOrderField (ENUM): Properties by which deployment connections can be ordered.
const DeploymentOrderField_CREATED_AT DeploymentOrderField = "CREATED_AT"
DeploymentOrderField_CREATED_AT: Order collection by creation time.
type DeploymentProtectionRule ¶
type DeploymentProtectionRule struct {
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Reviewers: The teams or users that can review the deployment.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Reviewers *DeploymentReviewerConnection `json:"reviewers,omitempty"`
// Timeout: The timeout in minutes for this protection rule.
Timeout int `json:"timeout,omitempty"`
// Type: The type of protection rule.
Type DeploymentProtectionRuleType `json:"type,omitempty"`
}
DeploymentProtectionRule (OBJECT): A protection rule.
func (*DeploymentProtectionRule) GetDatabaseId ¶
func (x *DeploymentProtectionRule) GetDatabaseId() int
func (*DeploymentProtectionRule) GetReviewers ¶
func (x *DeploymentProtectionRule) GetReviewers() *DeploymentReviewerConnection
func (*DeploymentProtectionRule) GetTimeout ¶
func (x *DeploymentProtectionRule) GetTimeout() int
func (*DeploymentProtectionRule) GetType ¶
func (x *DeploymentProtectionRule) GetType() DeploymentProtectionRuleType
type DeploymentProtectionRuleConnection ¶
type DeploymentProtectionRuleConnection struct {
// Edges: A list of edges.
Edges []*DeploymentProtectionRuleEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DeploymentProtectionRule `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentProtectionRuleConnection (OBJECT): The connection type for DeploymentProtectionRule.
func (*DeploymentProtectionRuleConnection) GetEdges ¶
func (x *DeploymentProtectionRuleConnection) GetEdges() []*DeploymentProtectionRuleEdge
func (*DeploymentProtectionRuleConnection) GetNodes ¶
func (x *DeploymentProtectionRuleConnection) GetNodes() []*DeploymentProtectionRule
func (*DeploymentProtectionRuleConnection) GetPageInfo ¶
func (x *DeploymentProtectionRuleConnection) GetPageInfo() *PageInfo
func (*DeploymentProtectionRuleConnection) GetTotalCount ¶
func (x *DeploymentProtectionRuleConnection) GetTotalCount() int
type DeploymentProtectionRuleEdge ¶
type DeploymentProtectionRuleEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DeploymentProtectionRule `json:"node,omitempty"`
}
DeploymentProtectionRuleEdge (OBJECT): An edge in a connection.
func (*DeploymentProtectionRuleEdge) GetCursor ¶
func (x *DeploymentProtectionRuleEdge) GetCursor() string
func (*DeploymentProtectionRuleEdge) GetNode ¶
func (x *DeploymentProtectionRuleEdge) GetNode() *DeploymentProtectionRule
type DeploymentProtectionRuleType ¶
type DeploymentProtectionRuleType string
DeploymentProtectionRuleType (ENUM): The possible protection rule types.
const DeploymentProtectionRuleType_REQUIRED_REVIEWERS DeploymentProtectionRuleType = "REQUIRED_REVIEWERS"
DeploymentProtectionRuleType_REQUIRED_REVIEWERS: Required reviewers.
const DeploymentProtectionRuleType_WAIT_TIMER DeploymentProtectionRuleType = "WAIT_TIMER"
DeploymentProtectionRuleType_WAIT_TIMER: Wait timer.
type DeploymentRequest ¶
type DeploymentRequest struct {
// CurrentUserCanApprove: Whether or not the current user can approve the deployment.
CurrentUserCanApprove bool `json:"currentUserCanApprove,omitempty"`
// Environment: The target environment of the deployment.
Environment *Environment `json:"environment,omitempty"`
// Reviewers: The teams or users that can review the deployment.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Reviewers *DeploymentReviewerConnection `json:"reviewers,omitempty"`
// WaitTimer: The wait timer in minutes configured in the environment.
WaitTimer int `json:"waitTimer,omitempty"`
// WaitTimerStartedAt: The wait timer in minutes configured in the environment.
WaitTimerStartedAt DateTime `json:"waitTimerStartedAt,omitempty"`
}
DeploymentRequest (OBJECT): A request to deploy a workflow run to an environment.
func (*DeploymentRequest) GetCurrentUserCanApprove ¶
func (x *DeploymentRequest) GetCurrentUserCanApprove() bool
func (*DeploymentRequest) GetEnvironment ¶
func (x *DeploymentRequest) GetEnvironment() *Environment
func (*DeploymentRequest) GetReviewers ¶
func (x *DeploymentRequest) GetReviewers() *DeploymentReviewerConnection
func (*DeploymentRequest) GetWaitTimer ¶
func (x *DeploymentRequest) GetWaitTimer() int
func (*DeploymentRequest) GetWaitTimerStartedAt ¶
func (x *DeploymentRequest) GetWaitTimerStartedAt() DateTime
type DeploymentRequestConnection ¶
type DeploymentRequestConnection struct {
// Edges: A list of edges.
Edges []*DeploymentRequestEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DeploymentRequest `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentRequestConnection (OBJECT): The connection type for DeploymentRequest.
func (*DeploymentRequestConnection) GetEdges ¶
func (x *DeploymentRequestConnection) GetEdges() []*DeploymentRequestEdge
func (*DeploymentRequestConnection) GetNodes ¶
func (x *DeploymentRequestConnection) GetNodes() []*DeploymentRequest
func (*DeploymentRequestConnection) GetPageInfo ¶
func (x *DeploymentRequestConnection) GetPageInfo() *PageInfo
func (*DeploymentRequestConnection) GetTotalCount ¶
func (x *DeploymentRequestConnection) GetTotalCount() int
type DeploymentRequestEdge ¶
type DeploymentRequestEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DeploymentRequest `json:"node,omitempty"`
}
DeploymentRequestEdge (OBJECT): An edge in a connection.
func (*DeploymentRequestEdge) GetCursor ¶
func (x *DeploymentRequestEdge) GetCursor() string
func (*DeploymentRequestEdge) GetNode ¶
func (x *DeploymentRequestEdge) GetNode() *DeploymentRequest
type DeploymentReview ¶
type DeploymentReview struct {
// Comment: The comment the user left.
Comment string `json:"comment,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Environments: The environments approved or rejected.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Environments *EnvironmentConnection `json:"environments,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// State: The decision of the user.
State DeploymentReviewState `json:"state,omitempty"`
// User: The user that reviewed the deployment.
User *User `json:"user,omitempty"`
}
DeploymentReview (OBJECT): A deployment review.
func (*DeploymentReview) GetComment ¶
func (x *DeploymentReview) GetComment() string
func (*DeploymentReview) GetDatabaseId ¶
func (x *DeploymentReview) GetDatabaseId() int
func (*DeploymentReview) GetEnvironments ¶
func (x *DeploymentReview) GetEnvironments() *EnvironmentConnection
func (*DeploymentReview) GetId ¶
func (x *DeploymentReview) GetId() ID
func (*DeploymentReview) GetState ¶
func (x *DeploymentReview) GetState() DeploymentReviewState
func (*DeploymentReview) GetUser ¶
func (x *DeploymentReview) GetUser() *User
type DeploymentReviewConnection ¶
type DeploymentReviewConnection struct {
// Edges: A list of edges.
Edges []*DeploymentReviewEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DeploymentReview `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentReviewConnection (OBJECT): The connection type for DeploymentReview.
func (*DeploymentReviewConnection) GetEdges ¶
func (x *DeploymentReviewConnection) GetEdges() []*DeploymentReviewEdge
func (*DeploymentReviewConnection) GetNodes ¶
func (x *DeploymentReviewConnection) GetNodes() []*DeploymentReview
func (*DeploymentReviewConnection) GetPageInfo ¶
func (x *DeploymentReviewConnection) GetPageInfo() *PageInfo
func (*DeploymentReviewConnection) GetTotalCount ¶
func (x *DeploymentReviewConnection) GetTotalCount() int
type DeploymentReviewEdge ¶
type DeploymentReviewEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DeploymentReview `json:"node,omitempty"`
}
DeploymentReviewEdge (OBJECT): An edge in a connection.
func (*DeploymentReviewEdge) GetCursor ¶
func (x *DeploymentReviewEdge) GetCursor() string
func (*DeploymentReviewEdge) GetNode ¶
func (x *DeploymentReviewEdge) GetNode() *DeploymentReview
type DeploymentReviewState ¶
type DeploymentReviewState string
DeploymentReviewState (ENUM): The possible states for a deployment review.
const DeploymentReviewState_APPROVED DeploymentReviewState = "APPROVED"
DeploymentReviewState_APPROVED: The deployment was approved.
const DeploymentReviewState_REJECTED DeploymentReviewState = "REJECTED"
DeploymentReviewState_REJECTED: The deployment was rejected.
type DeploymentReviewer ¶
type DeploymentReviewer struct {
Interface DeploymentReviewer_Interface
}
func (*DeploymentReviewer) MarshalJSON ¶
func (x *DeploymentReviewer) MarshalJSON() ([]byte, error)
func (*DeploymentReviewer) UnmarshalJSON ¶
func (x *DeploymentReviewer) UnmarshalJSON(js []byte) error
type DeploymentReviewerConnection ¶
type DeploymentReviewerConnection struct {
// Edges: A list of edges.
Edges []*DeploymentReviewerEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []DeploymentReviewer `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentReviewerConnection (OBJECT): The connection type for DeploymentReviewer.
func (*DeploymentReviewerConnection) GetEdges ¶
func (x *DeploymentReviewerConnection) GetEdges() []*DeploymentReviewerEdge
func (*DeploymentReviewerConnection) GetNodes ¶
func (x *DeploymentReviewerConnection) GetNodes() []DeploymentReviewer
func (*DeploymentReviewerConnection) GetPageInfo ¶
func (x *DeploymentReviewerConnection) GetPageInfo() *PageInfo
func (*DeploymentReviewerConnection) GetTotalCount ¶
func (x *DeploymentReviewerConnection) GetTotalCount() int
type DeploymentReviewerEdge ¶
type DeploymentReviewerEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node DeploymentReviewer `json:"node,omitempty"`
}
DeploymentReviewerEdge (OBJECT): An edge in a connection.
func (*DeploymentReviewerEdge) GetCursor ¶
func (x *DeploymentReviewerEdge) GetCursor() string
func (*DeploymentReviewerEdge) GetNode ¶
func (x *DeploymentReviewerEdge) GetNode() DeploymentReviewer
type DeploymentReviewer_Interface ¶
type DeploymentReviewer_Interface interface {
// contains filtered or unexported methods
}
DeploymentReviewer (UNION): Users and teams. DeploymentReviewer_Interface: Users and teams.
Possible types:
- *Team
- *User
type DeploymentState ¶
type DeploymentState string
DeploymentState (ENUM): The possible states in which a deployment can be.
const DeploymentState_ABANDONED DeploymentState = "ABANDONED"
DeploymentState_ABANDONED: The pending deployment was not updated after 30 minutes.
const DeploymentState_ACTIVE DeploymentState = "ACTIVE"
DeploymentState_ACTIVE: The deployment is currently active.
const DeploymentState_DESTROYED DeploymentState = "DESTROYED"
DeploymentState_DESTROYED: An inactive transient deployment.
const DeploymentState_ERROR DeploymentState = "ERROR"
DeploymentState_ERROR: The deployment experienced an error.
const DeploymentState_FAILURE DeploymentState = "FAILURE"
DeploymentState_FAILURE: The deployment has failed.
const DeploymentState_INACTIVE DeploymentState = "INACTIVE"
DeploymentState_INACTIVE: The deployment is inactive.
const DeploymentState_IN_PROGRESS DeploymentState = "IN_PROGRESS"
DeploymentState_IN_PROGRESS: The deployment is in progress.
const DeploymentState_PENDING DeploymentState = "PENDING"
DeploymentState_PENDING: The deployment is pending.
const DeploymentState_QUEUED DeploymentState = "QUEUED"
DeploymentState_QUEUED: The deployment has queued.
const DeploymentState_WAITING DeploymentState = "WAITING"
DeploymentState_WAITING: The deployment is waiting.
type DeploymentStatus ¶
type DeploymentStatus struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: Identifies the actor who triggered the deployment.
Creator Actor `json:"creator,omitempty"`
// Deployment: Identifies the deployment associated with status.
Deployment *Deployment `json:"deployment,omitempty"`
// Description: Identifies the description of the deployment.
Description string `json:"description,omitempty"`
// EnvironmentUrl: Identifies the environment URL of the deployment.
EnvironmentUrl URI `json:"environmentUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// LogUrl: Identifies the log URL of the deployment.
LogUrl URI `json:"logUrl,omitempty"`
// State: Identifies the current state of the deployment.
State DeploymentStatusState `json:"state,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
DeploymentStatus (OBJECT): Describes the status of a given deployment attempt.
func (*DeploymentStatus) GetCreatedAt ¶
func (x *DeploymentStatus) GetCreatedAt() DateTime
func (*DeploymentStatus) GetCreator ¶
func (x *DeploymentStatus) GetCreator() Actor
func (*DeploymentStatus) GetDeployment ¶
func (x *DeploymentStatus) GetDeployment() *Deployment
func (*DeploymentStatus) GetDescription ¶
func (x *DeploymentStatus) GetDescription() string
func (*DeploymentStatus) GetEnvironmentUrl ¶
func (x *DeploymentStatus) GetEnvironmentUrl() URI
func (*DeploymentStatus) GetId ¶
func (x *DeploymentStatus) GetId() ID
func (*DeploymentStatus) GetLogUrl ¶
func (x *DeploymentStatus) GetLogUrl() URI
func (*DeploymentStatus) GetState ¶
func (x *DeploymentStatus) GetState() DeploymentStatusState
func (*DeploymentStatus) GetUpdatedAt ¶
func (x *DeploymentStatus) GetUpdatedAt() DateTime
type DeploymentStatusConnection ¶
type DeploymentStatusConnection struct {
// Edges: A list of edges.
Edges []*DeploymentStatusEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DeploymentStatus `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DeploymentStatusConnection (OBJECT): The connection type for DeploymentStatus.
func (*DeploymentStatusConnection) GetEdges ¶
func (x *DeploymentStatusConnection) GetEdges() []*DeploymentStatusEdge
func (*DeploymentStatusConnection) GetNodes ¶
func (x *DeploymentStatusConnection) GetNodes() []*DeploymentStatus
func (*DeploymentStatusConnection) GetPageInfo ¶
func (x *DeploymentStatusConnection) GetPageInfo() *PageInfo
func (*DeploymentStatusConnection) GetTotalCount ¶
func (x *DeploymentStatusConnection) GetTotalCount() int
type DeploymentStatusEdge ¶
type DeploymentStatusEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DeploymentStatus `json:"node,omitempty"`
}
DeploymentStatusEdge (OBJECT): An edge in a connection.
func (*DeploymentStatusEdge) GetCursor ¶
func (x *DeploymentStatusEdge) GetCursor() string
func (*DeploymentStatusEdge) GetNode ¶
func (x *DeploymentStatusEdge) GetNode() *DeploymentStatus
type DeploymentStatusState ¶
type DeploymentStatusState string
DeploymentStatusState (ENUM): The possible states for a deployment status.
const DeploymentStatusState_ERROR DeploymentStatusState = "ERROR"
DeploymentStatusState_ERROR: The deployment experienced an error.
const DeploymentStatusState_FAILURE DeploymentStatusState = "FAILURE"
DeploymentStatusState_FAILURE: The deployment has failed.
const DeploymentStatusState_INACTIVE DeploymentStatusState = "INACTIVE"
DeploymentStatusState_INACTIVE: The deployment is inactive.
const DeploymentStatusState_IN_PROGRESS DeploymentStatusState = "IN_PROGRESS"
DeploymentStatusState_IN_PROGRESS: The deployment is in progress.
const DeploymentStatusState_PENDING DeploymentStatusState = "PENDING"
DeploymentStatusState_PENDING: The deployment is pending.
const DeploymentStatusState_QUEUED DeploymentStatusState = "QUEUED"
DeploymentStatusState_QUEUED: The deployment is queued.
const DeploymentStatusState_SUCCESS DeploymentStatusState = "SUCCESS"
DeploymentStatusState_SUCCESS: The deployment was successful.
const DeploymentStatusState_WAITING DeploymentStatusState = "WAITING"
DeploymentStatusState_WAITING: The deployment is waiting.
type DiffSide ¶
type DiffSide string
DiffSide (ENUM): The possible sides of a diff.
const DiffSide_LEFT DiffSide = "LEFT"
DiffSide_LEFT: The left side of the diff.
const DiffSide_RIGHT DiffSide = "RIGHT"
DiffSide_RIGHT: The right side of the diff.
type DisablePullRequestAutoMergeInput ¶
type DisablePullRequestAutoMergeInput struct {
// PullRequestId: ID of the pull request to disable auto merge on.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DisablePullRequestAutoMergeInput (INPUT_OBJECT): Autogenerated input type of DisablePullRequestAutoMerge.
type DisablePullRequestAutoMergePayload ¶
type DisablePullRequestAutoMergePayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request auto merge was disabled on.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
DisablePullRequestAutoMergePayload (OBJECT): Autogenerated return type of DisablePullRequestAutoMerge.
func (*DisablePullRequestAutoMergePayload) GetActor ¶
func (x *DisablePullRequestAutoMergePayload) GetActor() Actor
func (*DisablePullRequestAutoMergePayload) GetClientMutationId ¶
func (x *DisablePullRequestAutoMergePayload) GetClientMutationId() string
func (*DisablePullRequestAutoMergePayload) GetPullRequest ¶
func (x *DisablePullRequestAutoMergePayload) GetPullRequest() *PullRequest
type DisconnectedEvent ¶
type DisconnectedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Reference originated in a different repository.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
// Source: Issue or pull request from which the issue was disconnected.
Source ReferencedSubject `json:"source,omitempty"`
// Subject: Issue or pull request which was disconnected.
Subject ReferencedSubject `json:"subject,omitempty"`
}
DisconnectedEvent (OBJECT): Represents a 'disconnected' event on a given issue or pull request.
func (*DisconnectedEvent) GetActor ¶
func (x *DisconnectedEvent) GetActor() Actor
func (*DisconnectedEvent) GetCreatedAt ¶
func (x *DisconnectedEvent) GetCreatedAt() DateTime
func (*DisconnectedEvent) GetId ¶
func (x *DisconnectedEvent) GetId() ID
func (*DisconnectedEvent) GetIsCrossRepository ¶
func (x *DisconnectedEvent) GetIsCrossRepository() bool
func (*DisconnectedEvent) GetSource ¶
func (x *DisconnectedEvent) GetSource() ReferencedSubject
func (*DisconnectedEvent) GetSubject ¶
func (x *DisconnectedEvent) GetSubject() ReferencedSubject
type Discussion ¶
type Discussion struct {
// ActiveLockReason: Reason that the conversation was locked.
ActiveLockReason LockReason `json:"activeLockReason,omitempty"`
// Answer: The comment chosen as this discussion's answer, if any.
Answer *DiscussionComment `json:"answer,omitempty"`
// AnswerChosenAt: The time when a user chose this discussion's answer, if answered.
AnswerChosenAt DateTime `json:"answerChosenAt,omitempty"`
// AnswerChosenBy: The user who chose this discussion's answer, if answered.
AnswerChosenBy Actor `json:"answerChosenBy,omitempty"`
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The main text of the discussion post.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// Category: The category for this discussion.
Category *DiscussionCategory `json:"category,omitempty"`
// Comments: The replies to the discussion.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *DiscussionCommentConnection `json:"comments,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// Labels: A list of labels associated with the object.
//
// Query arguments:
// - orderBy LabelOrder
// - after String
// - before String
// - first Int
// - last Int
Labels *LabelConnection `json:"labels,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// Locked: `true` if the object is locked.
Locked bool `json:"locked,omitempty"`
// Number: The number identifying this discussion within the repository.
Number int `json:"number,omitempty"`
// Poll: The poll associated with this discussion, if one exists.
Poll *DiscussionPoll `json:"poll,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The path for this discussion.
ResourcePath URI `json:"resourcePath,omitempty"`
// Title: The title of this discussion.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UpvoteCount: Number of upvotes that this subject has received.
UpvoteCount int `json:"upvoteCount,omitempty"`
// Url: The URL for this discussion.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCanUpvote: Whether or not the current user can add or remove an upvote on this subject.
ViewerCanUpvote bool `json:"viewerCanUpvote,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
// ViewerHasUpvoted: Whether or not the current user has already upvoted this subject.
ViewerHasUpvoted bool `json:"viewerHasUpvoted,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
}
Discussion (OBJECT): A discussion in a repository.
func (*Discussion) GetActiveLockReason ¶
func (x *Discussion) GetActiveLockReason() LockReason
func (*Discussion) GetAnswer ¶
func (x *Discussion) GetAnswer() *DiscussionComment
func (*Discussion) GetAnswerChosenAt ¶
func (x *Discussion) GetAnswerChosenAt() DateTime
func (*Discussion) GetAnswerChosenBy ¶
func (x *Discussion) GetAnswerChosenBy() Actor
func (*Discussion) GetAuthor ¶
func (x *Discussion) GetAuthor() Actor
func (*Discussion) GetAuthorAssociation ¶
func (x *Discussion) GetAuthorAssociation() CommentAuthorAssociation
func (*Discussion) GetBody ¶
func (x *Discussion) GetBody() string
func (*Discussion) GetBodyHTML ¶
func (x *Discussion) GetBodyHTML() template.HTML
func (*Discussion) GetBodyText ¶
func (x *Discussion) GetBodyText() string
func (*Discussion) GetCategory ¶
func (x *Discussion) GetCategory() *DiscussionCategory
func (*Discussion) GetComments ¶
func (x *Discussion) GetComments() *DiscussionCommentConnection
func (*Discussion) GetCreatedAt ¶
func (x *Discussion) GetCreatedAt() DateTime
func (*Discussion) GetCreatedViaEmail ¶
func (x *Discussion) GetCreatedViaEmail() bool
func (*Discussion) GetDatabaseId ¶
func (x *Discussion) GetDatabaseId() int
func (*Discussion) GetEditor ¶
func (x *Discussion) GetEditor() Actor
func (*Discussion) GetId ¶
func (x *Discussion) GetId() ID
func (*Discussion) GetIncludesCreatedEdit ¶
func (x *Discussion) GetIncludesCreatedEdit() bool
func (*Discussion) GetLabels ¶
func (x *Discussion) GetLabels() *LabelConnection
func (*Discussion) GetLastEditedAt ¶
func (x *Discussion) GetLastEditedAt() DateTime
func (*Discussion) GetLocked ¶
func (x *Discussion) GetLocked() bool
func (*Discussion) GetNumber ¶
func (x *Discussion) GetNumber() int
func (*Discussion) GetPoll ¶
func (x *Discussion) GetPoll() *DiscussionPoll
func (*Discussion) GetPublishedAt ¶
func (x *Discussion) GetPublishedAt() DateTime
func (*Discussion) GetReactionGroups ¶
func (x *Discussion) GetReactionGroups() []*ReactionGroup
func (*Discussion) GetReactions ¶
func (x *Discussion) GetReactions() *ReactionConnection
func (*Discussion) GetRepository ¶
func (x *Discussion) GetRepository() *Repository
func (*Discussion) GetResourcePath ¶
func (x *Discussion) GetResourcePath() URI
func (*Discussion) GetTitle ¶
func (x *Discussion) GetTitle() string
func (*Discussion) GetUpdatedAt ¶
func (x *Discussion) GetUpdatedAt() DateTime
func (*Discussion) GetUpvoteCount ¶
func (x *Discussion) GetUpvoteCount() int
func (*Discussion) GetUrl ¶
func (x *Discussion) GetUrl() URI
func (*Discussion) GetUserContentEdits ¶
func (x *Discussion) GetUserContentEdits() *UserContentEditConnection
func (*Discussion) GetViewerCanDelete ¶
func (x *Discussion) GetViewerCanDelete() bool
func (*Discussion) GetViewerCanReact ¶
func (x *Discussion) GetViewerCanReact() bool
func (*Discussion) GetViewerCanSubscribe ¶
func (x *Discussion) GetViewerCanSubscribe() bool
func (*Discussion) GetViewerCanUpdate ¶
func (x *Discussion) GetViewerCanUpdate() bool
func (*Discussion) GetViewerCanUpvote ¶
func (x *Discussion) GetViewerCanUpvote() bool
func (*Discussion) GetViewerDidAuthor ¶
func (x *Discussion) GetViewerDidAuthor() bool
func (*Discussion) GetViewerHasUpvoted ¶
func (x *Discussion) GetViewerHasUpvoted() bool
func (*Discussion) GetViewerSubscription ¶
func (x *Discussion) GetViewerSubscription() SubscriptionState
type DiscussionCategory ¶
type DiscussionCategory struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Description: A description of this category.
Description string `json:"description,omitempty"`
// Emoji: An emoji representing this category.
Emoji string `json:"emoji,omitempty"`
// EmojiHTML: This category's emoji rendered as HTML.
EmojiHTML template.HTML `json:"emojiHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsAnswerable: Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.
IsAnswerable bool `json:"isAnswerable,omitempty"`
// Name: The name of this category.
Name string `json:"name,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
DiscussionCategory (OBJECT): A category for discussions in a repository.
func (*DiscussionCategory) GetCreatedAt ¶
func (x *DiscussionCategory) GetCreatedAt() DateTime
func (*DiscussionCategory) GetDescription ¶
func (x *DiscussionCategory) GetDescription() string
func (*DiscussionCategory) GetEmoji ¶
func (x *DiscussionCategory) GetEmoji() string
func (*DiscussionCategory) GetEmojiHTML ¶
func (x *DiscussionCategory) GetEmojiHTML() template.HTML
func (*DiscussionCategory) GetId ¶
func (x *DiscussionCategory) GetId() ID
func (*DiscussionCategory) GetIsAnswerable ¶
func (x *DiscussionCategory) GetIsAnswerable() bool
func (*DiscussionCategory) GetName ¶
func (x *DiscussionCategory) GetName() string
func (*DiscussionCategory) GetRepository ¶
func (x *DiscussionCategory) GetRepository() *Repository
func (*DiscussionCategory) GetUpdatedAt ¶
func (x *DiscussionCategory) GetUpdatedAt() DateTime
type DiscussionCategoryConnection ¶
type DiscussionCategoryConnection struct {
// Edges: A list of edges.
Edges []*DiscussionCategoryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DiscussionCategory `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DiscussionCategoryConnection (OBJECT): The connection type for DiscussionCategory.
func (*DiscussionCategoryConnection) GetEdges ¶
func (x *DiscussionCategoryConnection) GetEdges() []*DiscussionCategoryEdge
func (*DiscussionCategoryConnection) GetNodes ¶
func (x *DiscussionCategoryConnection) GetNodes() []*DiscussionCategory
func (*DiscussionCategoryConnection) GetPageInfo ¶
func (x *DiscussionCategoryConnection) GetPageInfo() *PageInfo
func (*DiscussionCategoryConnection) GetTotalCount ¶
func (x *DiscussionCategoryConnection) GetTotalCount() int
type DiscussionCategoryEdge ¶
type DiscussionCategoryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DiscussionCategory `json:"node,omitempty"`
}
DiscussionCategoryEdge (OBJECT): An edge in a connection.
func (*DiscussionCategoryEdge) GetCursor ¶
func (x *DiscussionCategoryEdge) GetCursor() string
func (*DiscussionCategoryEdge) GetNode ¶
func (x *DiscussionCategoryEdge) GetNode() *DiscussionCategory
type DiscussionComment ¶
type DiscussionComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The body as Markdown.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DeletedAt: The time when this replied-to comment was deleted.
DeletedAt DateTime `json:"deletedAt,omitempty"`
// Discussion: The discussion this comment was created in.
Discussion *Discussion `json:"discussion,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsAnswer: Has this comment been chosen as the answer of its discussion?.
IsAnswer bool `json:"isAnswer,omitempty"`
// IsMinimized: Returns whether or not a comment has been minimized.
IsMinimized bool `json:"isMinimized,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// MinimizedReason: Returns why the comment was minimized.
MinimizedReason string `json:"minimizedReason,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Replies: The threaded replies to this comment.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Replies *DiscussionCommentConnection `json:"replies,omitempty"`
// ReplyTo: The discussion comment this comment is a reply to.
ReplyTo *DiscussionComment `json:"replyTo,omitempty"`
// ResourcePath: The path for this discussion comment.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UpvoteCount: Number of upvotes that this subject has received.
UpvoteCount int `json:"upvoteCount,omitempty"`
// Url: The URL for this discussion comment.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanMarkAsAnswer: Can the current user mark this comment as an answer?.
ViewerCanMarkAsAnswer bool `json:"viewerCanMarkAsAnswer,omitempty"`
// ViewerCanMinimize: Check if the current viewer can minimize this object.
ViewerCanMinimize bool `json:"viewerCanMinimize,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUnmarkAsAnswer: Can the current user unmark this comment as an answer?.
ViewerCanUnmarkAsAnswer bool `json:"viewerCanUnmarkAsAnswer,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCanUpvote: Whether or not the current user can add or remove an upvote on this subject.
ViewerCanUpvote bool `json:"viewerCanUpvote,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
// ViewerHasUpvoted: Whether or not the current user has already upvoted this subject.
ViewerHasUpvoted bool `json:"viewerHasUpvoted,omitempty"`
}
DiscussionComment (OBJECT): A comment on a discussion.
func (*DiscussionComment) GetAuthor ¶
func (x *DiscussionComment) GetAuthor() Actor
func (*DiscussionComment) GetAuthorAssociation ¶
func (x *DiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
func (*DiscussionComment) GetBody ¶
func (x *DiscussionComment) GetBody() string
func (*DiscussionComment) GetBodyHTML ¶
func (x *DiscussionComment) GetBodyHTML() template.HTML
func (*DiscussionComment) GetBodyText ¶
func (x *DiscussionComment) GetBodyText() string
func (*DiscussionComment) GetCreatedAt ¶
func (x *DiscussionComment) GetCreatedAt() DateTime
func (*DiscussionComment) GetCreatedViaEmail ¶
func (x *DiscussionComment) GetCreatedViaEmail() bool
func (*DiscussionComment) GetDatabaseId ¶
func (x *DiscussionComment) GetDatabaseId() int
func (*DiscussionComment) GetDeletedAt ¶
func (x *DiscussionComment) GetDeletedAt() DateTime
func (*DiscussionComment) GetDiscussion ¶
func (x *DiscussionComment) GetDiscussion() *Discussion
func (*DiscussionComment) GetEditor ¶
func (x *DiscussionComment) GetEditor() Actor
func (*DiscussionComment) GetId ¶
func (x *DiscussionComment) GetId() ID
func (*DiscussionComment) GetIncludesCreatedEdit ¶
func (x *DiscussionComment) GetIncludesCreatedEdit() bool
func (*DiscussionComment) GetIsAnswer ¶
func (x *DiscussionComment) GetIsAnswer() bool
func (*DiscussionComment) GetIsMinimized ¶
func (x *DiscussionComment) GetIsMinimized() bool
func (*DiscussionComment) GetLastEditedAt ¶
func (x *DiscussionComment) GetLastEditedAt() DateTime
func (*DiscussionComment) GetMinimizedReason ¶
func (x *DiscussionComment) GetMinimizedReason() string
func (*DiscussionComment) GetPublishedAt ¶
func (x *DiscussionComment) GetPublishedAt() DateTime
func (*DiscussionComment) GetReactionGroups ¶
func (x *DiscussionComment) GetReactionGroups() []*ReactionGroup
func (*DiscussionComment) GetReactions ¶
func (x *DiscussionComment) GetReactions() *ReactionConnection
func (*DiscussionComment) GetReplies ¶
func (x *DiscussionComment) GetReplies() *DiscussionCommentConnection
func (*DiscussionComment) GetReplyTo ¶
func (x *DiscussionComment) GetReplyTo() *DiscussionComment
func (*DiscussionComment) GetResourcePath ¶
func (x *DiscussionComment) GetResourcePath() URI
func (*DiscussionComment) GetUpdatedAt ¶
func (x *DiscussionComment) GetUpdatedAt() DateTime
func (*DiscussionComment) GetUpvoteCount ¶
func (x *DiscussionComment) GetUpvoteCount() int
func (*DiscussionComment) GetUrl ¶
func (x *DiscussionComment) GetUrl() URI
func (*DiscussionComment) GetUserContentEdits ¶
func (x *DiscussionComment) GetUserContentEdits() *UserContentEditConnection
func (*DiscussionComment) GetViewerCanDelete ¶
func (x *DiscussionComment) GetViewerCanDelete() bool
func (*DiscussionComment) GetViewerCanMarkAsAnswer ¶
func (x *DiscussionComment) GetViewerCanMarkAsAnswer() bool
func (*DiscussionComment) GetViewerCanMinimize ¶
func (x *DiscussionComment) GetViewerCanMinimize() bool
func (*DiscussionComment) GetViewerCanReact ¶
func (x *DiscussionComment) GetViewerCanReact() bool
func (*DiscussionComment) GetViewerCanUnmarkAsAnswer ¶
func (x *DiscussionComment) GetViewerCanUnmarkAsAnswer() bool
func (*DiscussionComment) GetViewerCanUpdate ¶
func (x *DiscussionComment) GetViewerCanUpdate() bool
func (*DiscussionComment) GetViewerCanUpvote ¶
func (x *DiscussionComment) GetViewerCanUpvote() bool
func (*DiscussionComment) GetViewerCannotUpdateReasons ¶
func (x *DiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*DiscussionComment) GetViewerDidAuthor ¶
func (x *DiscussionComment) GetViewerDidAuthor() bool
func (*DiscussionComment) GetViewerHasUpvoted ¶
func (x *DiscussionComment) GetViewerHasUpvoted() bool
type DiscussionCommentConnection ¶
type DiscussionCommentConnection struct {
// Edges: A list of edges.
Edges []*DiscussionCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DiscussionComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DiscussionCommentConnection (OBJECT): The connection type for DiscussionComment.
func (*DiscussionCommentConnection) GetEdges ¶
func (x *DiscussionCommentConnection) GetEdges() []*DiscussionCommentEdge
func (*DiscussionCommentConnection) GetNodes ¶
func (x *DiscussionCommentConnection) GetNodes() []*DiscussionComment
func (*DiscussionCommentConnection) GetPageInfo ¶
func (x *DiscussionCommentConnection) GetPageInfo() *PageInfo
func (*DiscussionCommentConnection) GetTotalCount ¶
func (x *DiscussionCommentConnection) GetTotalCount() int
type DiscussionCommentEdge ¶
type DiscussionCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DiscussionComment `json:"node,omitempty"`
}
DiscussionCommentEdge (OBJECT): An edge in a connection.
func (*DiscussionCommentEdge) GetCursor ¶
func (x *DiscussionCommentEdge) GetCursor() string
func (*DiscussionCommentEdge) GetNode ¶
func (x *DiscussionCommentEdge) GetNode() *DiscussionComment
type DiscussionConnection ¶
type DiscussionConnection struct {
// Edges: A list of edges.
Edges []*DiscussionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Discussion `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DiscussionConnection (OBJECT): The connection type for Discussion.
func (*DiscussionConnection) GetEdges ¶
func (x *DiscussionConnection) GetEdges() []*DiscussionEdge
func (*DiscussionConnection) GetNodes ¶
func (x *DiscussionConnection) GetNodes() []*Discussion
func (*DiscussionConnection) GetPageInfo ¶
func (x *DiscussionConnection) GetPageInfo() *PageInfo
func (*DiscussionConnection) GetTotalCount ¶
func (x *DiscussionConnection) GetTotalCount() int
type DiscussionEdge ¶
type DiscussionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Discussion `json:"node,omitempty"`
}
DiscussionEdge (OBJECT): An edge in a connection.
func (*DiscussionEdge) GetCursor ¶
func (x *DiscussionEdge) GetCursor() string
func (*DiscussionEdge) GetNode ¶
func (x *DiscussionEdge) GetNode() *Discussion
type DiscussionOrder ¶
type DiscussionOrder struct {
// Field: The field by which to order discussions.
//
// GraphQL type: DiscussionOrderField!
Field DiscussionOrderField `json:"field,omitempty"`
// Direction: The direction in which to order discussions by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
DiscussionOrder (INPUT_OBJECT): Ways in which lists of discussions can be ordered upon return.
type DiscussionOrderField ¶
type DiscussionOrderField string
DiscussionOrderField (ENUM): Properties by which discussion connections can be ordered.
const DiscussionOrderField_CREATED_AT DiscussionOrderField = "CREATED_AT"
DiscussionOrderField_CREATED_AT: Order discussions by creation time.
const DiscussionOrderField_UPDATED_AT DiscussionOrderField = "UPDATED_AT"
DiscussionOrderField_UPDATED_AT: Order discussions by most recent modification time.
type DiscussionPoll ¶
type DiscussionPoll struct {
// Discussion: The discussion that this poll belongs to.
Discussion *Discussion `json:"discussion,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Options: The options for this poll.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy DiscussionPollOptionOrder
Options *DiscussionPollOptionConnection `json:"options,omitempty"`
// Question: The question that is being asked by this poll.
Question string `json:"question,omitempty"`
// TotalVoteCount: The total number of votes that have been cast for this poll.
TotalVoteCount int `json:"totalVoteCount,omitempty"`
// ViewerCanVote: Indicates if the viewer has permission to vote in this poll.
ViewerCanVote bool `json:"viewerCanVote,omitempty"`
// ViewerHasVoted: Indicates if the viewer has voted for any option in this poll.
ViewerHasVoted bool `json:"viewerHasVoted,omitempty"`
}
DiscussionPoll (OBJECT): A poll for a discussion.
func (*DiscussionPoll) GetDiscussion ¶
func (x *DiscussionPoll) GetDiscussion() *Discussion
func (*DiscussionPoll) GetId ¶
func (x *DiscussionPoll) GetId() ID
func (*DiscussionPoll) GetOptions ¶
func (x *DiscussionPoll) GetOptions() *DiscussionPollOptionConnection
func (*DiscussionPoll) GetQuestion ¶
func (x *DiscussionPoll) GetQuestion() string
func (*DiscussionPoll) GetTotalVoteCount ¶
func (x *DiscussionPoll) GetTotalVoteCount() int
func (*DiscussionPoll) GetViewerCanVote ¶
func (x *DiscussionPoll) GetViewerCanVote() bool
func (*DiscussionPoll) GetViewerHasVoted ¶
func (x *DiscussionPoll) GetViewerHasVoted() bool
type DiscussionPollOption ¶
type DiscussionPollOption struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Option: The text for this option.
Option string `json:"option,omitempty"`
// Poll: The discussion poll that this option belongs to.
Poll *DiscussionPoll `json:"poll,omitempty"`
// TotalVoteCount: The total number of votes that have been cast for this option.
TotalVoteCount int `json:"totalVoteCount,omitempty"`
// ViewerHasVoted: Indicates if the viewer has voted for this option in the poll.
ViewerHasVoted bool `json:"viewerHasVoted,omitempty"`
}
DiscussionPollOption (OBJECT): An option for a discussion poll.
func (*DiscussionPollOption) GetId ¶
func (x *DiscussionPollOption) GetId() ID
func (*DiscussionPollOption) GetOption ¶
func (x *DiscussionPollOption) GetOption() string
func (*DiscussionPollOption) GetPoll ¶
func (x *DiscussionPollOption) GetPoll() *DiscussionPoll
func (*DiscussionPollOption) GetTotalVoteCount ¶
func (x *DiscussionPollOption) GetTotalVoteCount() int
func (*DiscussionPollOption) GetViewerHasVoted ¶
func (x *DiscussionPollOption) GetViewerHasVoted() bool
type DiscussionPollOptionConnection ¶
type DiscussionPollOptionConnection struct {
// Edges: A list of edges.
Edges []*DiscussionPollOptionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*DiscussionPollOption `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
DiscussionPollOptionConnection (OBJECT): The connection type for DiscussionPollOption.
func (*DiscussionPollOptionConnection) GetEdges ¶
func (x *DiscussionPollOptionConnection) GetEdges() []*DiscussionPollOptionEdge
func (*DiscussionPollOptionConnection) GetNodes ¶
func (x *DiscussionPollOptionConnection) GetNodes() []*DiscussionPollOption
func (*DiscussionPollOptionConnection) GetPageInfo ¶
func (x *DiscussionPollOptionConnection) GetPageInfo() *PageInfo
func (*DiscussionPollOptionConnection) GetTotalCount ¶
func (x *DiscussionPollOptionConnection) GetTotalCount() int
type DiscussionPollOptionEdge ¶
type DiscussionPollOptionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *DiscussionPollOption `json:"node,omitempty"`
}
DiscussionPollOptionEdge (OBJECT): An edge in a connection.
func (*DiscussionPollOptionEdge) GetCursor ¶
func (x *DiscussionPollOptionEdge) GetCursor() string
func (*DiscussionPollOptionEdge) GetNode ¶
func (x *DiscussionPollOptionEdge) GetNode() *DiscussionPollOption
type DiscussionPollOptionOrder ¶
type DiscussionPollOptionOrder struct {
// Field: The field to order poll options by.
//
// GraphQL type: DiscussionPollOptionOrderField!
Field DiscussionPollOptionOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
DiscussionPollOptionOrder (INPUT_OBJECT): Ordering options for discussion poll option connections.
type DiscussionPollOptionOrderField ¶
type DiscussionPollOptionOrderField string
DiscussionPollOptionOrderField (ENUM): Properties by which discussion poll option connections can be ordered.
const DiscussionPollOptionOrderField_AUTHORED_ORDER DiscussionPollOptionOrderField = "AUTHORED_ORDER"
DiscussionPollOptionOrderField_AUTHORED_ORDER: Order poll options by the order that the poll author specified when creating the poll.
const DiscussionPollOptionOrderField_VOTE_COUNT DiscussionPollOptionOrderField = "VOTE_COUNT"
DiscussionPollOptionOrderField_VOTE_COUNT: Order poll options by the number of votes it has.
type DismissPullRequestReviewInput ¶
type DismissPullRequestReviewInput struct {
// PullRequestReviewId: The Node ID of the pull request review to modify.
//
// GraphQL type: ID!
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// Message: The contents of the pull request review dismissal message.
//
// GraphQL type: String!
Message string `json:"message,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DismissPullRequestReviewInput (INPUT_OBJECT): Autogenerated input type of DismissPullRequestReview.
type DismissPullRequestReviewPayload ¶
type DismissPullRequestReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The dismissed pull request review.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}
DismissPullRequestReviewPayload (OBJECT): Autogenerated return type of DismissPullRequestReview.
func (*DismissPullRequestReviewPayload) GetClientMutationId ¶
func (x *DismissPullRequestReviewPayload) GetClientMutationId() string
func (*DismissPullRequestReviewPayload) GetPullRequestReview ¶
func (x *DismissPullRequestReviewPayload) GetPullRequestReview() *PullRequestReview
type DismissReason ¶
type DismissReason string
DismissReason (ENUM): The possible reasons that a Dependabot alert was dismissed.
const DismissReason_FIX_STARTED DismissReason = "FIX_STARTED"
DismissReason_FIX_STARTED: A fix has already been started.
const DismissReason_INACCURATE DismissReason = "INACCURATE"
DismissReason_INACCURATE: This alert is inaccurate or incorrect.
const DismissReason_NOT_USED DismissReason = "NOT_USED"
DismissReason_NOT_USED: Vulnerable code is not actually used.
const DismissReason_NO_BANDWIDTH DismissReason = "NO_BANDWIDTH"
DismissReason_NO_BANDWIDTH: No bandwidth to fix this.
const DismissReason_TOLERABLE_RISK DismissReason = "TOLERABLE_RISK"
DismissReason_TOLERABLE_RISK: Risk is tolerable to this project.
type DismissRepositoryVulnerabilityAlertInput ¶
type DismissRepositoryVulnerabilityAlertInput struct {
// RepositoryVulnerabilityAlertId: The Dependabot alert ID to dismiss.
//
// GraphQL type: ID!
RepositoryVulnerabilityAlertId ID `json:"repositoryVulnerabilityAlertId,omitempty"`
// DismissReason: The reason the Dependabot alert is being dismissed.
//
// GraphQL type: DismissReason!
DismissReason DismissReason `json:"dismissReason,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
DismissRepositoryVulnerabilityAlertInput (INPUT_OBJECT): Autogenerated input type of DismissRepositoryVulnerabilityAlert.
type DismissRepositoryVulnerabilityAlertPayload ¶
type DismissRepositoryVulnerabilityAlertPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// RepositoryVulnerabilityAlert: The Dependabot alert that was dismissed.
RepositoryVulnerabilityAlert *RepositoryVulnerabilityAlert `json:"repositoryVulnerabilityAlert,omitempty"`
}
DismissRepositoryVulnerabilityAlertPayload (OBJECT): Autogenerated return type of DismissRepositoryVulnerabilityAlert.
func (*DismissRepositoryVulnerabilityAlertPayload) GetClientMutationId ¶
func (x *DismissRepositoryVulnerabilityAlertPayload) GetClientMutationId() string
func (*DismissRepositoryVulnerabilityAlertPayload) GetRepositoryVulnerabilityAlert ¶
func (x *DismissRepositoryVulnerabilityAlertPayload) GetRepositoryVulnerabilityAlert() *RepositoryVulnerabilityAlert
type DraftIssue ¶
type DraftIssue struct {
// Assignees: A list of users to assigned to this draft issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Assignees *UserConnection `json:"assignees,omitempty"`
// Body: The body of the draft issue.
Body string `json:"body,omitempty"`
// BodyHTML: The body of the draft issue rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body of the draft issue rendered to text.
BodyText string `json:"bodyText,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created this draft issue.
Creator Actor `json:"creator,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Project: The project (beta) that contains this draft issue.
Project *ProjectNext `json:"project,omitempty"`
// ProjectItem: The project (beta) item that wraps this draft issue.
ProjectItem *ProjectNextItem `json:"projectItem,omitempty"`
// ProjectV2Items: List of items linked with the draft issue (currently draft issue can be linked to only one item).
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ProjectV2Items *ProjectV2ItemConnection `json:"projectV2Items,omitempty"`
// ProjectsV2: Projects that link to this draft issue (currently draft issue can be linked to only one project).
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// Title: The title of the draft issue.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
DraftIssue (OBJECT): A draft issue within a project.
func (*DraftIssue) GetAssignees ¶
func (x *DraftIssue) GetAssignees() *UserConnection
func (*DraftIssue) GetBody ¶
func (x *DraftIssue) GetBody() string
func (*DraftIssue) GetBodyHTML ¶
func (x *DraftIssue) GetBodyHTML() template.HTML
func (*DraftIssue) GetBodyText ¶
func (x *DraftIssue) GetBodyText() string
func (*DraftIssue) GetCreatedAt ¶
func (x *DraftIssue) GetCreatedAt() DateTime
func (*DraftIssue) GetCreator ¶
func (x *DraftIssue) GetCreator() Actor
func (*DraftIssue) GetId ¶
func (x *DraftIssue) GetId() ID
func (*DraftIssue) GetProject ¶
func (x *DraftIssue) GetProject() *ProjectNext
func (*DraftIssue) GetProjectItem ¶
func (x *DraftIssue) GetProjectItem() *ProjectNextItem
func (*DraftIssue) GetProjectV2Items ¶
func (x *DraftIssue) GetProjectV2Items() *ProjectV2ItemConnection
func (*DraftIssue) GetProjectsV2 ¶
func (x *DraftIssue) GetProjectsV2() *ProjectV2Connection
func (*DraftIssue) GetTitle ¶
func (x *DraftIssue) GetTitle() string
func (*DraftIssue) GetUpdatedAt ¶
func (x *DraftIssue) GetUpdatedAt() DateTime
type DraftPullRequestReviewComment ¶
type DraftPullRequestReviewComment struct {
// Path: Path to the file being commented on.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// Position: Position in the file to leave a comment on.
//
// GraphQL type: Int!
Position int `json:"position,omitempty"`
// Body: Body of the comment to leave.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
}
DraftPullRequestReviewComment (INPUT_OBJECT): Specifies a review comment to be left with a Pull Request Review.
type DraftPullRequestReviewThread ¶
type DraftPullRequestReviewThread struct {
// Path: Path to the file being commented on.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// Line: The line of the blob to which the thread refers. The end of the line range for multi-line comments.
//
// GraphQL type: Int!
Line int `json:"line,omitempty"`
// Side: The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.
//
// GraphQL type: DiffSide
Side DiffSide `json:"side,omitempty"`
// StartLine: The first line of the range to which the comment refers.
//
// GraphQL type: Int
StartLine int `json:"startLine,omitempty"`
// StartSide: The side of the diff on which the start line resides.
//
// GraphQL type: DiffSide
StartSide DiffSide `json:"startSide,omitempty"`
// Body: Body of the comment to leave.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
}
DraftPullRequestReviewThread (INPUT_OBJECT): Specifies a review comment thread to be left with a Pull Request Review.
type EnablePullRequestAutoMergeInput ¶
type EnablePullRequestAutoMergeInput struct {
// PullRequestId: ID of the pull request to enable auto-merge on.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// CommitHeadline: Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used.
//
// GraphQL type: String
CommitHeadline string `json:"commitHeadline,omitempty"`
// CommitBody: Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used.
//
// GraphQL type: String
CommitBody string `json:"commitBody,omitempty"`
// MergeMethod: The merge method to use. If omitted, defaults to 'MERGE'.
//
// GraphQL type: PullRequestMergeMethod
MergeMethod PullRequestMergeMethod `json:"mergeMethod,omitempty"`
// AuthorEmail: The email address to associate with this merge.
//
// GraphQL type: String
AuthorEmail string `json:"authorEmail,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
EnablePullRequestAutoMergeInput (INPUT_OBJECT): Autogenerated input type of EnablePullRequestAutoMerge.
type EnablePullRequestAutoMergePayload ¶
type EnablePullRequestAutoMergePayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request auto-merge was enabled on.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
EnablePullRequestAutoMergePayload (OBJECT): Autogenerated return type of EnablePullRequestAutoMerge.
func (*EnablePullRequestAutoMergePayload) GetActor ¶
func (x *EnablePullRequestAutoMergePayload) GetActor() Actor
func (*EnablePullRequestAutoMergePayload) GetClientMutationId ¶
func (x *EnablePullRequestAutoMergePayload) GetClientMutationId() string
func (*EnablePullRequestAutoMergePayload) GetPullRequest ¶
func (x *EnablePullRequestAutoMergePayload) GetPullRequest() *PullRequest
type Enterprise ¶
type Enterprise struct {
// AvatarUrl: A URL pointing to the enterprise's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// BillingInfo: Enterprise billing information visible to enterprise billing managers.
BillingInfo *EnterpriseBillingInfo `json:"billingInfo,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The description of the enterprise.
Description string `json:"description,omitempty"`
// DescriptionHTML: The description of the enterprise as HTML.
DescriptionHTML template.HTML `json:"descriptionHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Location: The location of the enterprise.
Location string `json:"location,omitempty"`
// Members: A list of users who are members of this enterprise.
//
// Query arguments:
// - organizationLogins [String!]
// - query String
// - orderBy EnterpriseMemberOrder
// - role EnterpriseUserAccountMembershipRole
// - deployment EnterpriseUserDeployment
// - after String
// - before String
// - first Int
// - last Int
Members *EnterpriseMemberConnection `json:"members,omitempty"`
// Name: The name of the enterprise.
Name string `json:"name,omitempty"`
// Organizations: A list of organizations that belong to this enterprise.
//
// Query arguments:
// - query String
// - viewerOrganizationRole RoleInOrganization
// - orderBy OrganizationOrder
// - after String
// - before String
// - first Int
// - last Int
Organizations *OrganizationConnection `json:"organizations,omitempty"`
// OwnerInfo: Enterprise information only visible to enterprise owners.
OwnerInfo *EnterpriseOwnerInfo `json:"ownerInfo,omitempty"`
// ResourcePath: The HTTP path for this enterprise.
ResourcePath URI `json:"resourcePath,omitempty"`
// Slug: The URL-friendly identifier for the enterprise.
Slug string `json:"slug,omitempty"`
// Url: The HTTP URL for this enterprise.
Url URI `json:"url,omitempty"`
// ViewerIsAdmin: Is the current viewer an admin of this enterprise?.
ViewerIsAdmin bool `json:"viewerIsAdmin,omitempty"`
// WebsiteUrl: The URL of the enterprise website.
WebsiteUrl URI `json:"websiteUrl,omitempty"`
}
Enterprise (OBJECT): An account to manage multiple organizations with consolidated policy and billing.
func (*Enterprise) GetAvatarUrl ¶
func (x *Enterprise) GetAvatarUrl() URI
func (*Enterprise) GetBillingInfo ¶
func (x *Enterprise) GetBillingInfo() *EnterpriseBillingInfo
func (*Enterprise) GetCreatedAt ¶
func (x *Enterprise) GetCreatedAt() DateTime
func (*Enterprise) GetDatabaseId ¶
func (x *Enterprise) GetDatabaseId() int
func (*Enterprise) GetDescription ¶
func (x *Enterprise) GetDescription() string
func (*Enterprise) GetDescriptionHTML ¶
func (x *Enterprise) GetDescriptionHTML() template.HTML
func (*Enterprise) GetId ¶
func (x *Enterprise) GetId() ID
func (*Enterprise) GetLocation ¶
func (x *Enterprise) GetLocation() string
func (*Enterprise) GetMembers ¶
func (x *Enterprise) GetMembers() *EnterpriseMemberConnection
func (*Enterprise) GetName ¶
func (x *Enterprise) GetName() string
func (*Enterprise) GetOrganizations ¶
func (x *Enterprise) GetOrganizations() *OrganizationConnection
func (*Enterprise) GetOwnerInfo ¶
func (x *Enterprise) GetOwnerInfo() *EnterpriseOwnerInfo
func (*Enterprise) GetResourcePath ¶
func (x *Enterprise) GetResourcePath() URI
func (*Enterprise) GetSlug ¶
func (x *Enterprise) GetSlug() string
func (*Enterprise) GetUrl ¶
func (x *Enterprise) GetUrl() URI
func (*Enterprise) GetViewerIsAdmin ¶
func (x *Enterprise) GetViewerIsAdmin() bool
func (*Enterprise) GetWebsiteUrl ¶
func (x *Enterprise) GetWebsiteUrl() URI
type EnterpriseAdministratorConnection ¶
type EnterpriseAdministratorConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseAdministratorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseAdministratorConnection (OBJECT): The connection type for User.
func (*EnterpriseAdministratorConnection) GetEdges ¶
func (x *EnterpriseAdministratorConnection) GetEdges() []*EnterpriseAdministratorEdge
func (*EnterpriseAdministratorConnection) GetNodes ¶
func (x *EnterpriseAdministratorConnection) GetNodes() []*User
func (*EnterpriseAdministratorConnection) GetPageInfo ¶
func (x *EnterpriseAdministratorConnection) GetPageInfo() *PageInfo
func (*EnterpriseAdministratorConnection) GetTotalCount ¶
func (x *EnterpriseAdministratorConnection) GetTotalCount() int
type EnterpriseAdministratorEdge ¶
type EnterpriseAdministratorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *User `json:"node,omitempty"`
// Role: The role of the administrator.
Role EnterpriseAdministratorRole `json:"role,omitempty"`
}
EnterpriseAdministratorEdge (OBJECT): A User who is an administrator of an enterprise.
func (*EnterpriseAdministratorEdge) GetCursor ¶
func (x *EnterpriseAdministratorEdge) GetCursor() string
func (*EnterpriseAdministratorEdge) GetNode ¶
func (x *EnterpriseAdministratorEdge) GetNode() *User
func (*EnterpriseAdministratorEdge) GetRole ¶
func (x *EnterpriseAdministratorEdge) GetRole() EnterpriseAdministratorRole
type EnterpriseAdministratorInvitation ¶
type EnterpriseAdministratorInvitation struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Email: The email of the person who was invited to the enterprise.
Email string `json:"email,omitempty"`
// Enterprise: The enterprise the invitation is for.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Invitee: The user who was invited to the enterprise.
Invitee *User `json:"invitee,omitempty"`
// Inviter: The user who created the invitation.
Inviter *User `json:"inviter,omitempty"`
// Role: The invitee's pending role in the enterprise (owner or billing_manager).
Role EnterpriseAdministratorRole `json:"role,omitempty"`
}
EnterpriseAdministratorInvitation (OBJECT): An invitation for a user to become an owner or billing manager of an enterprise.
func (*EnterpriseAdministratorInvitation) GetCreatedAt ¶
func (x *EnterpriseAdministratorInvitation) GetCreatedAt() DateTime
func (*EnterpriseAdministratorInvitation) GetEmail ¶
func (x *EnterpriseAdministratorInvitation) GetEmail() string
func (*EnterpriseAdministratorInvitation) GetEnterprise ¶
func (x *EnterpriseAdministratorInvitation) GetEnterprise() *Enterprise
func (*EnterpriseAdministratorInvitation) GetId ¶
func (x *EnterpriseAdministratorInvitation) GetId() ID
func (*EnterpriseAdministratorInvitation) GetInvitee ¶
func (x *EnterpriseAdministratorInvitation) GetInvitee() *User
func (*EnterpriseAdministratorInvitation) GetInviter ¶
func (x *EnterpriseAdministratorInvitation) GetInviter() *User
func (*EnterpriseAdministratorInvitation) GetRole ¶
func (x *EnterpriseAdministratorInvitation) GetRole() EnterpriseAdministratorRole
type EnterpriseAdministratorInvitationConnection ¶
type EnterpriseAdministratorInvitationConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseAdministratorInvitationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseAdministratorInvitation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseAdministratorInvitationConnection (OBJECT): The connection type for EnterpriseAdministratorInvitation.
func (*EnterpriseAdministratorInvitationConnection) GetEdges ¶
func (x *EnterpriseAdministratorInvitationConnection) GetEdges() []*EnterpriseAdministratorInvitationEdge
func (*EnterpriseAdministratorInvitationConnection) GetNodes ¶
func (x *EnterpriseAdministratorInvitationConnection) GetNodes() []*EnterpriseAdministratorInvitation
func (*EnterpriseAdministratorInvitationConnection) GetPageInfo ¶
func (x *EnterpriseAdministratorInvitationConnection) GetPageInfo() *PageInfo
func (*EnterpriseAdministratorInvitationConnection) GetTotalCount ¶
func (x *EnterpriseAdministratorInvitationConnection) GetTotalCount() int
type EnterpriseAdministratorInvitationEdge ¶
type EnterpriseAdministratorInvitationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseAdministratorInvitation `json:"node,omitempty"`
}
EnterpriseAdministratorInvitationEdge (OBJECT): An edge in a connection.
func (*EnterpriseAdministratorInvitationEdge) GetCursor ¶
func (x *EnterpriseAdministratorInvitationEdge) GetCursor() string
func (*EnterpriseAdministratorInvitationEdge) GetNode ¶
func (x *EnterpriseAdministratorInvitationEdge) GetNode() *EnterpriseAdministratorInvitation
type EnterpriseAdministratorInvitationOrder ¶
type EnterpriseAdministratorInvitationOrder struct {
// Field: The field to order enterprise administrator invitations by.
//
// GraphQL type: EnterpriseAdministratorInvitationOrderField!
Field EnterpriseAdministratorInvitationOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseAdministratorInvitationOrder (INPUT_OBJECT): Ordering options for enterprise administrator invitation connections.
type EnterpriseAdministratorInvitationOrderField ¶
type EnterpriseAdministratorInvitationOrderField string
EnterpriseAdministratorInvitationOrderField (ENUM): Properties by which enterprise administrator invitation connections can be ordered.
const EnterpriseAdministratorInvitationOrderField_CREATED_AT EnterpriseAdministratorInvitationOrderField = "CREATED_AT"
EnterpriseAdministratorInvitationOrderField_CREATED_AT: Order enterprise administrator member invitations by creation time.
type EnterpriseAdministratorRole ¶
type EnterpriseAdministratorRole string
EnterpriseAdministratorRole (ENUM): The possible administrator roles in an enterprise account.
const EnterpriseAdministratorRole_BILLING_MANAGER EnterpriseAdministratorRole = "BILLING_MANAGER"
EnterpriseAdministratorRole_BILLING_MANAGER: Represents a billing manager of the enterprise account.
const EnterpriseAdministratorRole_OWNER EnterpriseAdministratorRole = "OWNER"
EnterpriseAdministratorRole_OWNER: Represents an owner of the enterprise account.
type EnterpriseAuditEntryData ¶
type EnterpriseAuditEntryData struct {
Interface EnterpriseAuditEntryData_Interface
}
func (*EnterpriseAuditEntryData) MarshalJSON ¶
func (x *EnterpriseAuditEntryData) MarshalJSON() ([]byte, error)
func (*EnterpriseAuditEntryData) UnmarshalJSON ¶
func (x *EnterpriseAuditEntryData) UnmarshalJSON(js []byte) error
type EnterpriseAuditEntryData_Interface ¶
type EnterpriseAuditEntryData_Interface interface {
GetEnterpriseResourcePath() URI
GetEnterpriseSlug() string
GetEnterpriseUrl() URI
// contains filtered or unexported methods
}
EnterpriseAuditEntryData (INTERFACE): Metadata for an audit entry containing enterprise account information. EnterpriseAuditEntryData_Interface: Metadata for an audit entry containing enterprise account information.
Possible types:
- *MembersCanDeleteReposClearAuditEntry
- *MembersCanDeleteReposDisableAuditEntry
- *MembersCanDeleteReposEnableAuditEntry
- *OrgInviteToBusinessAuditEntry
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *RepositoryVisibilityChangeDisableAuditEntry
- *RepositoryVisibilityChangeEnableAuditEntry
type EnterpriseBillingInfo ¶
type EnterpriseBillingInfo struct {
// AllLicensableUsersCount: The number of licenseable users/emails across the enterprise.
AllLicensableUsersCount int `json:"allLicensableUsersCount,omitempty"`
// AssetPacks: The number of data packs used by all organizations owned by the enterprise.
AssetPacks int `json:"assetPacks,omitempty"`
// BandwidthQuota: The bandwidth quota in GB for all organizations owned by the enterprise.
BandwidthQuota float64 `json:"bandwidthQuota,omitempty"`
// BandwidthUsage: The bandwidth usage in GB for all organizations owned by the enterprise.
BandwidthUsage float64 `json:"bandwidthUsage,omitempty"`
// BandwidthUsagePercentage: The bandwidth usage as a percentage of the bandwidth quota.
BandwidthUsagePercentage int `json:"bandwidthUsagePercentage,omitempty"`
// StorageQuota: The storage quota in GB for all organizations owned by the enterprise.
StorageQuota float64 `json:"storageQuota,omitempty"`
// StorageUsage: The storage usage in GB for all organizations owned by the enterprise.
StorageUsage float64 `json:"storageUsage,omitempty"`
// StorageUsagePercentage: The storage usage as a percentage of the storage quota.
StorageUsagePercentage int `json:"storageUsagePercentage,omitempty"`
// TotalAvailableLicenses: The number of available licenses across all owned organizations based on the unique number of billable users.
TotalAvailableLicenses int `json:"totalAvailableLicenses,omitempty"`
// TotalLicenses: The total number of licenses allocated.
TotalLicenses int `json:"totalLicenses,omitempty"`
}
EnterpriseBillingInfo (OBJECT): Enterprise billing information visible to enterprise billing managers and owners.
func (*EnterpriseBillingInfo) GetAllLicensableUsersCount ¶
func (x *EnterpriseBillingInfo) GetAllLicensableUsersCount() int
func (*EnterpriseBillingInfo) GetAssetPacks ¶
func (x *EnterpriseBillingInfo) GetAssetPacks() int
func (*EnterpriseBillingInfo) GetBandwidthQuota ¶
func (x *EnterpriseBillingInfo) GetBandwidthQuota() float64
func (*EnterpriseBillingInfo) GetBandwidthUsage ¶
func (x *EnterpriseBillingInfo) GetBandwidthUsage() float64
func (*EnterpriseBillingInfo) GetBandwidthUsagePercentage ¶
func (x *EnterpriseBillingInfo) GetBandwidthUsagePercentage() int
func (*EnterpriseBillingInfo) GetStorageQuota ¶
func (x *EnterpriseBillingInfo) GetStorageQuota() float64
func (*EnterpriseBillingInfo) GetStorageUsage ¶
func (x *EnterpriseBillingInfo) GetStorageUsage() float64
func (*EnterpriseBillingInfo) GetStorageUsagePercentage ¶
func (x *EnterpriseBillingInfo) GetStorageUsagePercentage() int
func (*EnterpriseBillingInfo) GetTotalAvailableLicenses ¶
func (x *EnterpriseBillingInfo) GetTotalAvailableLicenses() int
func (*EnterpriseBillingInfo) GetTotalLicenses ¶
func (x *EnterpriseBillingInfo) GetTotalLicenses() int
type EnterpriseDefaultRepositoryPermissionSettingValue ¶
type EnterpriseDefaultRepositoryPermissionSettingValue string
EnterpriseDefaultRepositoryPermissionSettingValue (ENUM): The possible values for the enterprise base repository permission setting.
const EnterpriseDefaultRepositoryPermissionSettingValue_ADMIN EnterpriseDefaultRepositoryPermissionSettingValue = "ADMIN"
EnterpriseDefaultRepositoryPermissionSettingValue_ADMIN: Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories.
const EnterpriseDefaultRepositoryPermissionSettingValue_NONE EnterpriseDefaultRepositoryPermissionSettingValue = "NONE"
EnterpriseDefaultRepositoryPermissionSettingValue_NONE: Organization members will only be able to clone and pull public repositories.
const EnterpriseDefaultRepositoryPermissionSettingValue_NO_POLICY EnterpriseDefaultRepositoryPermissionSettingValue = "NO_POLICY"
EnterpriseDefaultRepositoryPermissionSettingValue_NO_POLICY: Organizations in the enterprise choose base repository permissions for their members.
const EnterpriseDefaultRepositoryPermissionSettingValue_READ EnterpriseDefaultRepositoryPermissionSettingValue = "READ"
EnterpriseDefaultRepositoryPermissionSettingValue_READ: Organization members will be able to clone and pull all organization repositories.
const EnterpriseDefaultRepositoryPermissionSettingValue_WRITE EnterpriseDefaultRepositoryPermissionSettingValue = "WRITE"
EnterpriseDefaultRepositoryPermissionSettingValue_WRITE: Organization members will be able to clone, pull, and push all organization repositories.
type EnterpriseEnabledDisabledSettingValue ¶
type EnterpriseEnabledDisabledSettingValue string
EnterpriseEnabledDisabledSettingValue (ENUM): The possible values for an enabled/disabled enterprise setting.
const EnterpriseEnabledDisabledSettingValue_DISABLED EnterpriseEnabledDisabledSettingValue = "DISABLED"
EnterpriseEnabledDisabledSettingValue_DISABLED: The setting is disabled for organizations in the enterprise.
const EnterpriseEnabledDisabledSettingValue_ENABLED EnterpriseEnabledDisabledSettingValue = "ENABLED"
EnterpriseEnabledDisabledSettingValue_ENABLED: The setting is enabled for organizations in the enterprise.
const EnterpriseEnabledDisabledSettingValue_NO_POLICY EnterpriseEnabledDisabledSettingValue = "NO_POLICY"
EnterpriseEnabledDisabledSettingValue_NO_POLICY: There is no policy set for organizations in the enterprise.
type EnterpriseEnabledSettingValue ¶
type EnterpriseEnabledSettingValue string
EnterpriseEnabledSettingValue (ENUM): The possible values for an enabled/no policy enterprise setting.
const EnterpriseEnabledSettingValue_ENABLED EnterpriseEnabledSettingValue = "ENABLED"
EnterpriseEnabledSettingValue_ENABLED: The setting is enabled for organizations in the enterprise.
const EnterpriseEnabledSettingValue_NO_POLICY EnterpriseEnabledSettingValue = "NO_POLICY"
EnterpriseEnabledSettingValue_NO_POLICY: There is no policy set for organizations in the enterprise.
type EnterpriseIdentityProvider ¶
type EnterpriseIdentityProvider struct {
// DigestMethod: The digest algorithm used to sign SAML requests for the identity provider.
DigestMethod SamlDigestAlgorithm `json:"digestMethod,omitempty"`
// Enterprise: The enterprise this identity provider belongs to.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// ExternalIdentities: ExternalIdentities provisioned by this identity provider.
//
// Query arguments:
// - membersOnly Boolean
// - login String
// - userName String
// - after String
// - before String
// - first Int
// - last Int
ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IdpCertificate: The x509 certificate used by the identity provider to sign assertions and responses.
IdpCertificate X509Certificate `json:"idpCertificate,omitempty"`
// Issuer: The Issuer Entity ID for the SAML identity provider.
Issuer string `json:"issuer,omitempty"`
// RecoveryCodes: Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.
RecoveryCodes []string `json:"recoveryCodes,omitempty"`
// SignatureMethod: The signature algorithm used to sign SAML requests for the identity provider.
SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod,omitempty"`
// SsoUrl: The URL endpoint for the identity provider's SAML SSO.
SsoUrl URI `json:"ssoUrl,omitempty"`
}
EnterpriseIdentityProvider (OBJECT): An identity provider configured to provision identities for an enterprise.
func (*EnterpriseIdentityProvider) GetDigestMethod ¶
func (x *EnterpriseIdentityProvider) GetDigestMethod() SamlDigestAlgorithm
func (*EnterpriseIdentityProvider) GetEnterprise ¶
func (x *EnterpriseIdentityProvider) GetEnterprise() *Enterprise
func (*EnterpriseIdentityProvider) GetExternalIdentities ¶
func (x *EnterpriseIdentityProvider) GetExternalIdentities() *ExternalIdentityConnection
func (*EnterpriseIdentityProvider) GetId ¶
func (x *EnterpriseIdentityProvider) GetId() ID
func (*EnterpriseIdentityProvider) GetIdpCertificate ¶
func (x *EnterpriseIdentityProvider) GetIdpCertificate() X509Certificate
func (*EnterpriseIdentityProvider) GetIssuer ¶
func (x *EnterpriseIdentityProvider) GetIssuer() string
func (*EnterpriseIdentityProvider) GetRecoveryCodes ¶
func (x *EnterpriseIdentityProvider) GetRecoveryCodes() []string
func (*EnterpriseIdentityProvider) GetSignatureMethod ¶
func (x *EnterpriseIdentityProvider) GetSignatureMethod() SamlSignatureAlgorithm
func (*EnterpriseIdentityProvider) GetSsoUrl ¶
func (x *EnterpriseIdentityProvider) GetSsoUrl() URI
type EnterpriseMember ¶
type EnterpriseMember struct {
Interface EnterpriseMember_Interface
}
func (*EnterpriseMember) MarshalJSON ¶
func (x *EnterpriseMember) MarshalJSON() ([]byte, error)
func (*EnterpriseMember) UnmarshalJSON ¶
func (x *EnterpriseMember) UnmarshalJSON(js []byte) error
type EnterpriseMemberConnection ¶
type EnterpriseMemberConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseMemberEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []EnterpriseMember `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseMemberConnection (OBJECT): The connection type for EnterpriseMember.
func (*EnterpriseMemberConnection) GetEdges ¶
func (x *EnterpriseMemberConnection) GetEdges() []*EnterpriseMemberEdge
func (*EnterpriseMemberConnection) GetNodes ¶
func (x *EnterpriseMemberConnection) GetNodes() []EnterpriseMember
func (*EnterpriseMemberConnection) GetPageInfo ¶
func (x *EnterpriseMemberConnection) GetPageInfo() *PageInfo
func (*EnterpriseMemberConnection) GetTotalCount ¶
func (x *EnterpriseMemberConnection) GetTotalCount() int
type EnterpriseMemberEdge ¶
type EnterpriseMemberEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node EnterpriseMember `json:"node,omitempty"`
}
EnterpriseMemberEdge (OBJECT): A User who is a member of an enterprise through one or more organizations.
func (*EnterpriseMemberEdge) GetCursor ¶
func (x *EnterpriseMemberEdge) GetCursor() string
func (*EnterpriseMemberEdge) GetNode ¶
func (x *EnterpriseMemberEdge) GetNode() EnterpriseMember
type EnterpriseMemberOrder ¶
type EnterpriseMemberOrder struct {
// Field: The field to order enterprise members by.
//
// GraphQL type: EnterpriseMemberOrderField!
Field EnterpriseMemberOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseMemberOrder (INPUT_OBJECT): Ordering options for enterprise member connections.
type EnterpriseMemberOrderField ¶
type EnterpriseMemberOrderField string
EnterpriseMemberOrderField (ENUM): Properties by which enterprise member connections can be ordered.
const EnterpriseMemberOrderField_CREATED_AT EnterpriseMemberOrderField = "CREATED_AT"
EnterpriseMemberOrderField_CREATED_AT: Order enterprise members by creation time.
const EnterpriseMemberOrderField_LOGIN EnterpriseMemberOrderField = "LOGIN"
EnterpriseMemberOrderField_LOGIN: Order enterprise members by login.
type EnterpriseMember_Interface ¶
type EnterpriseMember_Interface interface {
// contains filtered or unexported methods
}
EnterpriseMember (UNION): An object that is a member of an enterprise. EnterpriseMember_Interface: An object that is a member of an enterprise.
Possible types:
- *EnterpriseUserAccount
- *User
type EnterpriseMembersCanCreateRepositoriesSettingValue ¶
type EnterpriseMembersCanCreateRepositoriesSettingValue string
EnterpriseMembersCanCreateRepositoriesSettingValue (ENUM): The possible values for the enterprise members can create repositories setting.
const EnterpriseMembersCanCreateRepositoriesSettingValue_ALL EnterpriseMembersCanCreateRepositoriesSettingValue = "ALL"
EnterpriseMembersCanCreateRepositoriesSettingValue_ALL: Members will be able to create public and private repositories.
const EnterpriseMembersCanCreateRepositoriesSettingValue_DISABLED EnterpriseMembersCanCreateRepositoriesSettingValue = "DISABLED"
EnterpriseMembersCanCreateRepositoriesSettingValue_DISABLED: Members will not be able to create public or private repositories.
const EnterpriseMembersCanCreateRepositoriesSettingValue_NO_POLICY EnterpriseMembersCanCreateRepositoriesSettingValue = "NO_POLICY"
EnterpriseMembersCanCreateRepositoriesSettingValue_NO_POLICY: Organization administrators choose whether to allow members to create repositories.
const EnterpriseMembersCanCreateRepositoriesSettingValue_PRIVATE EnterpriseMembersCanCreateRepositoriesSettingValue = "PRIVATE"
EnterpriseMembersCanCreateRepositoriesSettingValue_PRIVATE: Members will be able to create only private repositories.
const EnterpriseMembersCanCreateRepositoriesSettingValue_PUBLIC EnterpriseMembersCanCreateRepositoriesSettingValue = "PUBLIC"
EnterpriseMembersCanCreateRepositoriesSettingValue_PUBLIC: Members will be able to create only public repositories.
type EnterpriseMembersCanMakePurchasesSettingValue ¶
type EnterpriseMembersCanMakePurchasesSettingValue string
EnterpriseMembersCanMakePurchasesSettingValue (ENUM): The possible values for the members can make purchases setting.
const EnterpriseMembersCanMakePurchasesSettingValue_DISABLED EnterpriseMembersCanMakePurchasesSettingValue = "DISABLED"
EnterpriseMembersCanMakePurchasesSettingValue_DISABLED: The setting is disabled for organizations in the enterprise.
const EnterpriseMembersCanMakePurchasesSettingValue_ENABLED EnterpriseMembersCanMakePurchasesSettingValue = "ENABLED"
EnterpriseMembersCanMakePurchasesSettingValue_ENABLED: The setting is enabled for organizations in the enterprise.
type EnterpriseOrganizationMembershipConnection ¶
type EnterpriseOrganizationMembershipConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseOrganizationMembershipEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Organization `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseOrganizationMembershipConnection (OBJECT): The connection type for Organization.
func (*EnterpriseOrganizationMembershipConnection) GetEdges ¶
func (x *EnterpriseOrganizationMembershipConnection) GetEdges() []*EnterpriseOrganizationMembershipEdge
func (*EnterpriseOrganizationMembershipConnection) GetNodes ¶
func (x *EnterpriseOrganizationMembershipConnection) GetNodes() []*Organization
func (*EnterpriseOrganizationMembershipConnection) GetPageInfo ¶
func (x *EnterpriseOrganizationMembershipConnection) GetPageInfo() *PageInfo
func (*EnterpriseOrganizationMembershipConnection) GetTotalCount ¶
func (x *EnterpriseOrganizationMembershipConnection) GetTotalCount() int
type EnterpriseOrganizationMembershipEdge ¶
type EnterpriseOrganizationMembershipEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Organization `json:"node,omitempty"`
// Role: The role of the user in the enterprise membership.
Role EnterpriseUserAccountMembershipRole `json:"role,omitempty"`
}
EnterpriseOrganizationMembershipEdge (OBJECT): An enterprise organization that a user is a member of.
func (*EnterpriseOrganizationMembershipEdge) GetCursor ¶
func (x *EnterpriseOrganizationMembershipEdge) GetCursor() string
func (*EnterpriseOrganizationMembershipEdge) GetNode ¶
func (x *EnterpriseOrganizationMembershipEdge) GetNode() *Organization
func (*EnterpriseOrganizationMembershipEdge) GetRole ¶
func (x *EnterpriseOrganizationMembershipEdge) GetRole() EnterpriseUserAccountMembershipRole
type EnterpriseOutsideCollaboratorConnection ¶
type EnterpriseOutsideCollaboratorConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseOutsideCollaboratorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseOutsideCollaboratorConnection (OBJECT): The connection type for User.
func (*EnterpriseOutsideCollaboratorConnection) GetEdges ¶
func (x *EnterpriseOutsideCollaboratorConnection) GetEdges() []*EnterpriseOutsideCollaboratorEdge
func (*EnterpriseOutsideCollaboratorConnection) GetNodes ¶
func (x *EnterpriseOutsideCollaboratorConnection) GetNodes() []*User
func (*EnterpriseOutsideCollaboratorConnection) GetPageInfo ¶
func (x *EnterpriseOutsideCollaboratorConnection) GetPageInfo() *PageInfo
func (*EnterpriseOutsideCollaboratorConnection) GetTotalCount ¶
func (x *EnterpriseOutsideCollaboratorConnection) GetTotalCount() int
type EnterpriseOutsideCollaboratorEdge ¶
type EnterpriseOutsideCollaboratorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *User `json:"node,omitempty"`
// Repositories: The enterprise organization repositories this user is a member of.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy RepositoryOrder
Repositories *EnterpriseRepositoryInfoConnection `json:"repositories,omitempty"`
}
EnterpriseOutsideCollaboratorEdge (OBJECT): A User who is an outside collaborator of an enterprise through one or more organizations.
func (*EnterpriseOutsideCollaboratorEdge) GetCursor ¶
func (x *EnterpriseOutsideCollaboratorEdge) GetCursor() string
func (*EnterpriseOutsideCollaboratorEdge) GetNode ¶
func (x *EnterpriseOutsideCollaboratorEdge) GetNode() *User
func (*EnterpriseOutsideCollaboratorEdge) GetRepositories ¶
func (x *EnterpriseOutsideCollaboratorEdge) GetRepositories() *EnterpriseRepositoryInfoConnection
type EnterpriseOwnerInfo ¶
type EnterpriseOwnerInfo struct {
// Admins: A list of all of the administrators for this enterprise.
//
// Query arguments:
// - organizationLogins [String!]
// - query String
// - role EnterpriseAdministratorRole
// - orderBy EnterpriseMemberOrder
// - after String
// - before String
// - first Int
// - last Int
Admins *EnterpriseAdministratorConnection `json:"admins,omitempty"`
// AffiliatedUsersWithTwoFactorDisabled: A list of users in the enterprise who currently have two-factor authentication disabled.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
AffiliatedUsersWithTwoFactorDisabled *UserConnection `json:"affiliatedUsersWithTwoFactorDisabled,omitempty"`
// AffiliatedUsersWithTwoFactorDisabledExist: Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.
AffiliatedUsersWithTwoFactorDisabledExist bool `json:"affiliatedUsersWithTwoFactorDisabledExist,omitempty"`
// AllowPrivateRepositoryForkingSetting: The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.
AllowPrivateRepositoryForkingSetting EnterpriseEnabledDisabledSettingValue `json:"allowPrivateRepositoryForkingSetting,omitempty"`
// AllowPrivateRepositoryForkingSettingOrganizations: A list of enterprise organizations configured with the provided private repository forking setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
AllowPrivateRepositoryForkingSettingOrganizations *OrganizationConnection `json:"allowPrivateRepositoryForkingSettingOrganizations,omitempty"`
// DefaultRepositoryPermissionSetting: The setting value for base repository permissions for organizations in this enterprise.
DefaultRepositoryPermissionSetting EnterpriseDefaultRepositoryPermissionSettingValue `json:"defaultRepositoryPermissionSetting,omitempty"`
// DefaultRepositoryPermissionSettingOrganizations: A list of enterprise organizations configured with the provided base repository permission.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value DefaultRepositoryPermissionField!
// - orderBy OrganizationOrder
DefaultRepositoryPermissionSettingOrganizations *OrganizationConnection `json:"defaultRepositoryPermissionSettingOrganizations,omitempty"`
// Domains: A list of domains owned by the enterprise.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - isVerified Boolean
// - isApproved Boolean
// - orderBy VerifiableDomainOrder
Domains *VerifiableDomainConnection `json:"domains,omitempty"`
// EnterpriseServerInstallations: Enterprise Server installations owned by the enterprise.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - connectedOnly Boolean
// - orderBy EnterpriseServerInstallationOrder
EnterpriseServerInstallations *EnterpriseServerInstallationConnection `json:"enterpriseServerInstallations,omitempty"`
// IpAllowListEnabledSetting: The setting value for whether the enterprise has an IP allow list enabled.
IpAllowListEnabledSetting IpAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting,omitempty"`
// IpAllowListEntries: The IP addresses that are allowed to access resources owned by the enterprise.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy IpAllowListEntryOrder
IpAllowListEntries *IpAllowListEntryConnection `json:"ipAllowListEntries,omitempty"`
// IpAllowListForInstalledAppsEnabledSetting: The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled.
IpAllowListForInstalledAppsEnabledSetting IpAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting,omitempty"`
// IsUpdatingDefaultRepositoryPermission: Whether or not the base repository permission is currently being updated.
IsUpdatingDefaultRepositoryPermission bool `json:"isUpdatingDefaultRepositoryPermission,omitempty"`
// IsUpdatingTwoFactorRequirement: Whether the two-factor authentication requirement is currently being enforced.
IsUpdatingTwoFactorRequirement bool `json:"isUpdatingTwoFactorRequirement,omitempty"`
// MembersCanChangeRepositoryVisibilitySetting: The setting value for whether organization members with admin permissions on a repository can change repository visibility.
MembersCanChangeRepositoryVisibilitySetting EnterpriseEnabledDisabledSettingValue `json:"membersCanChangeRepositoryVisibilitySetting,omitempty"`
// MembersCanChangeRepositoryVisibilitySettingOrganizations: A list of enterprise organizations configured with the provided can change repository visibility setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanChangeRepositoryVisibilitySettingOrganizations *OrganizationConnection `json:"membersCanChangeRepositoryVisibilitySettingOrganizations,omitempty"`
// MembersCanCreateInternalRepositoriesSetting: The setting value for whether members of organizations in the enterprise can create internal repositories.
MembersCanCreateInternalRepositoriesSetting bool `json:"membersCanCreateInternalRepositoriesSetting,omitempty"`
// MembersCanCreatePrivateRepositoriesSetting: The setting value for whether members of organizations in the enterprise can create private repositories.
MembersCanCreatePrivateRepositoriesSetting bool `json:"membersCanCreatePrivateRepositoriesSetting,omitempty"`
// MembersCanCreatePublicRepositoriesSetting: The setting value for whether members of organizations in the enterprise can create public repositories.
MembersCanCreatePublicRepositoriesSetting bool `json:"membersCanCreatePublicRepositoriesSetting,omitempty"`
// MembersCanCreateRepositoriesSetting: The setting value for whether members of organizations in the enterprise can create repositories.
MembersCanCreateRepositoriesSetting EnterpriseMembersCanCreateRepositoriesSettingValue `json:"membersCanCreateRepositoriesSetting,omitempty"`
// MembersCanCreateRepositoriesSettingOrganizations: A list of enterprise organizations configured with the provided repository creation setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value OrganizationMembersCanCreateRepositoriesSettingValue!
// - orderBy OrganizationOrder
MembersCanCreateRepositoriesSettingOrganizations *OrganizationConnection `json:"membersCanCreateRepositoriesSettingOrganizations,omitempty"`
// MembersCanDeleteIssuesSetting: The setting value for whether members with admin permissions for repositories can delete issues.
MembersCanDeleteIssuesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteIssuesSetting,omitempty"`
// MembersCanDeleteIssuesSettingOrganizations: A list of enterprise organizations configured with the provided members can delete issues setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanDeleteIssuesSettingOrganizations *OrganizationConnection `json:"membersCanDeleteIssuesSettingOrganizations,omitempty"`
// MembersCanDeleteRepositoriesSetting: The setting value for whether members with admin permissions for repositories can delete or transfer repositories.
MembersCanDeleteRepositoriesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteRepositoriesSetting,omitempty"`
// MembersCanDeleteRepositoriesSettingOrganizations: A list of enterprise organizations configured with the provided members can delete repositories setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanDeleteRepositoriesSettingOrganizations *OrganizationConnection `json:"membersCanDeleteRepositoriesSettingOrganizations,omitempty"`
// MembersCanInviteCollaboratorsSetting: The setting value for whether members of organizations in the enterprise can invite outside collaborators.
MembersCanInviteCollaboratorsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanInviteCollaboratorsSetting,omitempty"`
// MembersCanInviteCollaboratorsSettingOrganizations: A list of enterprise organizations configured with the provided members can invite collaborators setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanInviteCollaboratorsSettingOrganizations *OrganizationConnection `json:"membersCanInviteCollaboratorsSettingOrganizations,omitempty"`
// MembersCanMakePurchasesSetting: Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.
MembersCanMakePurchasesSetting EnterpriseMembersCanMakePurchasesSettingValue `json:"membersCanMakePurchasesSetting,omitempty"`
// MembersCanUpdateProtectedBranchesSetting: The setting value for whether members with admin permissions for repositories can update protected branches.
MembersCanUpdateProtectedBranchesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanUpdateProtectedBranchesSetting,omitempty"`
// MembersCanUpdateProtectedBranchesSettingOrganizations: A list of enterprise organizations configured with the provided members can update protected branches setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanUpdateProtectedBranchesSettingOrganizations *OrganizationConnection `json:"membersCanUpdateProtectedBranchesSettingOrganizations,omitempty"`
// MembersCanViewDependencyInsightsSetting: The setting value for whether members can view dependency insights.
MembersCanViewDependencyInsightsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanViewDependencyInsightsSetting,omitempty"`
// MembersCanViewDependencyInsightsSettingOrganizations: A list of enterprise organizations configured with the provided members can view dependency insights setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
MembersCanViewDependencyInsightsSettingOrganizations *OrganizationConnection `json:"membersCanViewDependencyInsightsSettingOrganizations,omitempty"`
// NotificationDeliveryRestrictionEnabledSetting: Indicates if email notification delivery for this enterprise is restricted to verified or approved domains.
NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting,omitempty"`
// OidcProvider: The OIDC Identity Provider for the enterprise.
OidcProvider *OIDCProvider `json:"oidcProvider,omitempty"`
// OrganizationProjectsSetting: The setting value for whether organization projects are enabled for organizations in this enterprise.
OrganizationProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"organizationProjectsSetting,omitempty"`
// OrganizationProjectsSettingOrganizations: A list of enterprise organizations configured with the provided organization projects setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
OrganizationProjectsSettingOrganizations *OrganizationConnection `json:"organizationProjectsSettingOrganizations,omitempty"`
// OutsideCollaborators: A list of outside collaborators across the repositories in the enterprise.
//
// Query arguments:
// - login String
// - query String
// - orderBy EnterpriseMemberOrder
// - visibility RepositoryVisibility
// - hasTwoFactorEnabled Boolean
// - organizationLogins [String!]
// - after String
// - before String
// - first Int
// - last Int
OutsideCollaborators *EnterpriseOutsideCollaboratorConnection `json:"outsideCollaborators,omitempty"`
// PendingAdminInvitations: A list of pending administrator invitations for the enterprise.
//
// Query arguments:
// - query String
// - orderBy EnterpriseAdministratorInvitationOrder
// - role EnterpriseAdministratorRole
// - after String
// - before String
// - first Int
// - last Int
PendingAdminInvitations *EnterpriseAdministratorInvitationConnection `json:"pendingAdminInvitations,omitempty"`
// PendingCollaboratorInvitations: A list of pending collaborator invitations across the repositories in the enterprise.
//
// Query arguments:
// - query String
// - orderBy RepositoryInvitationOrder
// - after String
// - before String
// - first Int
// - last Int
PendingCollaboratorInvitations *RepositoryInvitationConnection `json:"pendingCollaboratorInvitations,omitempty"`
// PendingMemberInvitations: A list of pending member invitations for organizations in the enterprise.
//
// Query arguments:
// - query String
// - organizationLogins [String!]
// - after String
// - before String
// - first Int
// - last Int
PendingMemberInvitations *EnterprisePendingMemberInvitationConnection `json:"pendingMemberInvitations,omitempty"`
// RepositoryProjectsSetting: The setting value for whether repository projects are enabled in this enterprise.
RepositoryProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"repositoryProjectsSetting,omitempty"`
// RepositoryProjectsSettingOrganizations: A list of enterprise organizations configured with the provided repository projects setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
RepositoryProjectsSettingOrganizations *OrganizationConnection `json:"repositoryProjectsSettingOrganizations,omitempty"`
// SamlIdentityProvider: The SAML Identity Provider for the enterprise. When used by a GitHub App, requires an installation token with read and write access to members.
SamlIdentityProvider *EnterpriseIdentityProvider `json:"samlIdentityProvider,omitempty"`
// SamlIdentityProviderSettingOrganizations: A list of enterprise organizations configured with the SAML single sign-on setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value IdentityProviderConfigurationState!
// - orderBy OrganizationOrder
SamlIdentityProviderSettingOrganizations *OrganizationConnection `json:"samlIdentityProviderSettingOrganizations,omitempty"`
// SupportEntitlements: A list of members with a support entitlement.
//
// Query arguments:
// - orderBy EnterpriseMemberOrder
// - after String
// - before String
// - first Int
// - last Int
SupportEntitlements *EnterpriseMemberConnection `json:"supportEntitlements,omitempty"`
// TeamDiscussionsSetting: The setting value for whether team discussions are enabled for organizations in this enterprise.
TeamDiscussionsSetting EnterpriseEnabledDisabledSettingValue `json:"teamDiscussionsSetting,omitempty"`
// TeamDiscussionsSettingOrganizations: A list of enterprise organizations configured with the provided team discussions setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
TeamDiscussionsSettingOrganizations *OrganizationConnection `json:"teamDiscussionsSettingOrganizations,omitempty"`
// TwoFactorRequiredSetting: The setting value for whether the enterprise requires two-factor authentication for its organizations and users.
TwoFactorRequiredSetting EnterpriseEnabledSettingValue `json:"twoFactorRequiredSetting,omitempty"`
// TwoFactorRequiredSettingOrganizations: A list of enterprise organizations configured with the two-factor authentication setting value.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - value Boolean!
// - orderBy OrganizationOrder
TwoFactorRequiredSettingOrganizations *OrganizationConnection `json:"twoFactorRequiredSettingOrganizations,omitempty"`
}
EnterpriseOwnerInfo (OBJECT): Enterprise information only visible to enterprise owners.
func (*EnterpriseOwnerInfo) GetAdmins ¶
func (x *EnterpriseOwnerInfo) GetAdmins() *EnterpriseAdministratorConnection
func (*EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabled ¶
func (x *EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabled() *UserConnection
func (*EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabledExist ¶
func (x *EnterpriseOwnerInfo) GetAffiliatedUsersWithTwoFactorDisabledExist() bool
func (*EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSetting ¶
func (x *EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetAllowPrivateRepositoryForkingSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSetting ¶
func (x *EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSetting() EnterpriseDefaultRepositoryPermissionSettingValue
func (*EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetDefaultRepositoryPermissionSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetDomains ¶
func (x *EnterpriseOwnerInfo) GetDomains() *VerifiableDomainConnection
func (*EnterpriseOwnerInfo) GetEnterpriseServerInstallations ¶
func (x *EnterpriseOwnerInfo) GetEnterpriseServerInstallations() *EnterpriseServerInstallationConnection
func (*EnterpriseOwnerInfo) GetIpAllowListEnabledSetting ¶
func (x *EnterpriseOwnerInfo) GetIpAllowListEnabledSetting() IpAllowListEnabledSettingValue
func (*EnterpriseOwnerInfo) GetIpAllowListEntries ¶
func (x *EnterpriseOwnerInfo) GetIpAllowListEntries() *IpAllowListEntryConnection
func (*EnterpriseOwnerInfo) GetIpAllowListForInstalledAppsEnabledSetting ¶
func (x *EnterpriseOwnerInfo) GetIpAllowListForInstalledAppsEnabledSetting() IpAllowListForInstalledAppsEnabledSettingValue
func (*EnterpriseOwnerInfo) GetIsUpdatingDefaultRepositoryPermission ¶
func (x *EnterpriseOwnerInfo) GetIsUpdatingDefaultRepositoryPermission() bool
func (*EnterpriseOwnerInfo) GetIsUpdatingTwoFactorRequirement ¶
func (x *EnterpriseOwnerInfo) GetIsUpdatingTwoFactorRequirement() bool
func (*EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanChangeRepositoryVisibilitySettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanCreateInternalRepositoriesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanCreateInternalRepositoriesSetting() bool
func (*EnterpriseOwnerInfo) GetMembersCanCreatePrivateRepositoriesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanCreatePrivateRepositoriesSetting() bool
func (*EnterpriseOwnerInfo) GetMembersCanCreatePublicRepositoriesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanCreatePublicRepositoriesSetting() bool
func (*EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSetting() EnterpriseMembersCanCreateRepositoriesSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanCreateRepositoriesSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanDeleteIssuesSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanDeleteRepositoriesSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanInviteCollaboratorsSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanMakePurchasesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanMakePurchasesSetting() EnterpriseMembersCanMakePurchasesSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanUpdateProtectedBranchesSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSetting ¶
func (x *EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetMembersCanViewDependencyInsightsSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetNotificationDeliveryRestrictionEnabledSetting ¶
func (x *EnterpriseOwnerInfo) GetNotificationDeliveryRestrictionEnabledSetting() NotificationRestrictionSettingValue
func (*EnterpriseOwnerInfo) GetOidcProvider ¶
func (x *EnterpriseOwnerInfo) GetOidcProvider() *OIDCProvider
func (*EnterpriseOwnerInfo) GetOrganizationProjectsSetting ¶
func (x *EnterpriseOwnerInfo) GetOrganizationProjectsSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetOrganizationProjectsSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetOrganizationProjectsSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetOutsideCollaborators ¶
func (x *EnterpriseOwnerInfo) GetOutsideCollaborators() *EnterpriseOutsideCollaboratorConnection
func (*EnterpriseOwnerInfo) GetPendingAdminInvitations ¶
func (x *EnterpriseOwnerInfo) GetPendingAdminInvitations() *EnterpriseAdministratorInvitationConnection
func (*EnterpriseOwnerInfo) GetPendingCollaboratorInvitations ¶
func (x *EnterpriseOwnerInfo) GetPendingCollaboratorInvitations() *RepositoryInvitationConnection
func (*EnterpriseOwnerInfo) GetPendingMemberInvitations ¶
func (x *EnterpriseOwnerInfo) GetPendingMemberInvitations() *EnterprisePendingMemberInvitationConnection
func (*EnterpriseOwnerInfo) GetRepositoryProjectsSetting ¶
func (x *EnterpriseOwnerInfo) GetRepositoryProjectsSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetRepositoryProjectsSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetRepositoryProjectsSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetSamlIdentityProvider ¶
func (x *EnterpriseOwnerInfo) GetSamlIdentityProvider() *EnterpriseIdentityProvider
func (*EnterpriseOwnerInfo) GetSamlIdentityProviderSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetSamlIdentityProviderSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetSupportEntitlements ¶
func (x *EnterpriseOwnerInfo) GetSupportEntitlements() *EnterpriseMemberConnection
func (*EnterpriseOwnerInfo) GetTeamDiscussionsSetting ¶
func (x *EnterpriseOwnerInfo) GetTeamDiscussionsSetting() EnterpriseEnabledDisabledSettingValue
func (*EnterpriseOwnerInfo) GetTeamDiscussionsSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetTeamDiscussionsSettingOrganizations() *OrganizationConnection
func (*EnterpriseOwnerInfo) GetTwoFactorRequiredSetting ¶
func (x *EnterpriseOwnerInfo) GetTwoFactorRequiredSetting() EnterpriseEnabledSettingValue
func (*EnterpriseOwnerInfo) GetTwoFactorRequiredSettingOrganizations ¶
func (x *EnterpriseOwnerInfo) GetTwoFactorRequiredSettingOrganizations() *OrganizationConnection
type EnterprisePendingMemberInvitationConnection ¶
type EnterprisePendingMemberInvitationConnection struct {
// Edges: A list of edges.
Edges []*EnterprisePendingMemberInvitationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*OrganizationInvitation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// TotalUniqueUserCount: Identifies the total count of unique users in the connection.
TotalUniqueUserCount int `json:"totalUniqueUserCount,omitempty"`
}
EnterprisePendingMemberInvitationConnection (OBJECT): The connection type for OrganizationInvitation.
func (*EnterprisePendingMemberInvitationConnection) GetEdges ¶
func (x *EnterprisePendingMemberInvitationConnection) GetEdges() []*EnterprisePendingMemberInvitationEdge
func (*EnterprisePendingMemberInvitationConnection) GetNodes ¶
func (x *EnterprisePendingMemberInvitationConnection) GetNodes() []*OrganizationInvitation
func (*EnterprisePendingMemberInvitationConnection) GetPageInfo ¶
func (x *EnterprisePendingMemberInvitationConnection) GetPageInfo() *PageInfo
func (*EnterprisePendingMemberInvitationConnection) GetTotalCount ¶
func (x *EnterprisePendingMemberInvitationConnection) GetTotalCount() int
func (*EnterprisePendingMemberInvitationConnection) GetTotalUniqueUserCount ¶
func (x *EnterprisePendingMemberInvitationConnection) GetTotalUniqueUserCount() int
type EnterprisePendingMemberInvitationEdge ¶
type EnterprisePendingMemberInvitationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *OrganizationInvitation `json:"node,omitempty"`
}
EnterprisePendingMemberInvitationEdge (OBJECT): An invitation to be a member in an enterprise organization.
func (*EnterprisePendingMemberInvitationEdge) GetCursor ¶
func (x *EnterprisePendingMemberInvitationEdge) GetCursor() string
func (*EnterprisePendingMemberInvitationEdge) GetNode ¶
func (x *EnterprisePendingMemberInvitationEdge) GetNode() *OrganizationInvitation
type EnterpriseRepositoryInfo ¶
type EnterpriseRepositoryInfo struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsPrivate: Identifies if the repository is private or internal.
IsPrivate bool `json:"isPrivate,omitempty"`
// Name: The repository's name.
Name string `json:"name,omitempty"`
// NameWithOwner: The repository's name with owner.
NameWithOwner string `json:"nameWithOwner,omitempty"`
}
EnterpriseRepositoryInfo (OBJECT): A subset of repository information queryable from an enterprise.
func (*EnterpriseRepositoryInfo) GetId ¶
func (x *EnterpriseRepositoryInfo) GetId() ID
func (*EnterpriseRepositoryInfo) GetIsPrivate ¶
func (x *EnterpriseRepositoryInfo) GetIsPrivate() bool
func (*EnterpriseRepositoryInfo) GetName ¶
func (x *EnterpriseRepositoryInfo) GetName() string
func (*EnterpriseRepositoryInfo) GetNameWithOwner ¶
func (x *EnterpriseRepositoryInfo) GetNameWithOwner() string
type EnterpriseRepositoryInfoConnection ¶
type EnterpriseRepositoryInfoConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseRepositoryInfoEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseRepositoryInfo `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseRepositoryInfoConnection (OBJECT): The connection type for EnterpriseRepositoryInfo.
func (*EnterpriseRepositoryInfoConnection) GetEdges ¶
func (x *EnterpriseRepositoryInfoConnection) GetEdges() []*EnterpriseRepositoryInfoEdge
func (*EnterpriseRepositoryInfoConnection) GetNodes ¶
func (x *EnterpriseRepositoryInfoConnection) GetNodes() []*EnterpriseRepositoryInfo
func (*EnterpriseRepositoryInfoConnection) GetPageInfo ¶
func (x *EnterpriseRepositoryInfoConnection) GetPageInfo() *PageInfo
func (*EnterpriseRepositoryInfoConnection) GetTotalCount ¶
func (x *EnterpriseRepositoryInfoConnection) GetTotalCount() int
type EnterpriseRepositoryInfoEdge ¶
type EnterpriseRepositoryInfoEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseRepositoryInfo `json:"node,omitempty"`
}
EnterpriseRepositoryInfoEdge (OBJECT): An edge in a connection.
func (*EnterpriseRepositoryInfoEdge) GetCursor ¶
func (x *EnterpriseRepositoryInfoEdge) GetCursor() string
func (*EnterpriseRepositoryInfoEdge) GetNode ¶
func (x *EnterpriseRepositoryInfoEdge) GetNode() *EnterpriseRepositoryInfo
type EnterpriseServerInstallation ¶
type EnterpriseServerInstallation struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CustomerName: The customer name to which the Enterprise Server installation belongs.
CustomerName string `json:"customerName,omitempty"`
// HostName: The host name of the Enterprise Server installation.
HostName string `json:"hostName,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsConnected: Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.
IsConnected bool `json:"isConnected,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UserAccounts: User accounts on this Enterprise Server installation.
//
// Query arguments:
// - orderBy EnterpriseServerUserAccountOrder
// - after String
// - before String
// - first Int
// - last Int
UserAccounts *EnterpriseServerUserAccountConnection `json:"userAccounts,omitempty"`
// UserAccountsUploads: User accounts uploads for the Enterprise Server installation.
//
// Query arguments:
// - orderBy EnterpriseServerUserAccountsUploadOrder
// - after String
// - before String
// - first Int
// - last Int
UserAccountsUploads *EnterpriseServerUserAccountsUploadConnection `json:"userAccountsUploads,omitempty"`
}
EnterpriseServerInstallation (OBJECT): An Enterprise Server installation.
func (*EnterpriseServerInstallation) GetCreatedAt ¶
func (x *EnterpriseServerInstallation) GetCreatedAt() DateTime
func (*EnterpriseServerInstallation) GetCustomerName ¶
func (x *EnterpriseServerInstallation) GetCustomerName() string
func (*EnterpriseServerInstallation) GetHostName ¶
func (x *EnterpriseServerInstallation) GetHostName() string
func (*EnterpriseServerInstallation) GetId ¶
func (x *EnterpriseServerInstallation) GetId() ID
func (*EnterpriseServerInstallation) GetIsConnected ¶
func (x *EnterpriseServerInstallation) GetIsConnected() bool
func (*EnterpriseServerInstallation) GetUpdatedAt ¶
func (x *EnterpriseServerInstallation) GetUpdatedAt() DateTime
func (*EnterpriseServerInstallation) GetUserAccounts ¶
func (x *EnterpriseServerInstallation) GetUserAccounts() *EnterpriseServerUserAccountConnection
func (*EnterpriseServerInstallation) GetUserAccountsUploads ¶
func (x *EnterpriseServerInstallation) GetUserAccountsUploads() *EnterpriseServerUserAccountsUploadConnection
type EnterpriseServerInstallationConnection ¶
type EnterpriseServerInstallationConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseServerInstallationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseServerInstallation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseServerInstallationConnection (OBJECT): The connection type for EnterpriseServerInstallation.
func (*EnterpriseServerInstallationConnection) GetEdges ¶
func (x *EnterpriseServerInstallationConnection) GetEdges() []*EnterpriseServerInstallationEdge
func (*EnterpriseServerInstallationConnection) GetNodes ¶
func (x *EnterpriseServerInstallationConnection) GetNodes() []*EnterpriseServerInstallation
func (*EnterpriseServerInstallationConnection) GetPageInfo ¶
func (x *EnterpriseServerInstallationConnection) GetPageInfo() *PageInfo
func (*EnterpriseServerInstallationConnection) GetTotalCount ¶
func (x *EnterpriseServerInstallationConnection) GetTotalCount() int
type EnterpriseServerInstallationEdge ¶
type EnterpriseServerInstallationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseServerInstallation `json:"node,omitempty"`
}
EnterpriseServerInstallationEdge (OBJECT): An edge in a connection.
func (*EnterpriseServerInstallationEdge) GetCursor ¶
func (x *EnterpriseServerInstallationEdge) GetCursor() string
func (*EnterpriseServerInstallationEdge) GetNode ¶
func (x *EnterpriseServerInstallationEdge) GetNode() *EnterpriseServerInstallation
type EnterpriseServerInstallationOrder ¶
type EnterpriseServerInstallationOrder struct {
// Field: The field to order Enterprise Server installations by.
//
// GraphQL type: EnterpriseServerInstallationOrderField!
Field EnterpriseServerInstallationOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseServerInstallationOrder (INPUT_OBJECT): Ordering options for Enterprise Server installation connections.
type EnterpriseServerInstallationOrderField ¶
type EnterpriseServerInstallationOrderField string
EnterpriseServerInstallationOrderField (ENUM): Properties by which Enterprise Server installation connections can be ordered.
const EnterpriseServerInstallationOrderField_CREATED_AT EnterpriseServerInstallationOrderField = "CREATED_AT"
EnterpriseServerInstallationOrderField_CREATED_AT: Order Enterprise Server installations by creation time.
const EnterpriseServerInstallationOrderField_CUSTOMER_NAME EnterpriseServerInstallationOrderField = "CUSTOMER_NAME"
EnterpriseServerInstallationOrderField_CUSTOMER_NAME: Order Enterprise Server installations by customer name.
const EnterpriseServerInstallationOrderField_HOST_NAME EnterpriseServerInstallationOrderField = "HOST_NAME"
EnterpriseServerInstallationOrderField_HOST_NAME: Order Enterprise Server installations by host name.
type EnterpriseServerUserAccount ¶
type EnterpriseServerUserAccount struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Emails: User emails belonging to this user account.
//
// Query arguments:
// - orderBy EnterpriseServerUserAccountEmailOrder
// - after String
// - before String
// - first Int
// - last Int
Emails *EnterpriseServerUserAccountEmailConnection `json:"emails,omitempty"`
// EnterpriseServerInstallation: The Enterprise Server installation on which this user account exists.
EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsSiteAdmin: Whether the user account is a site administrator on the Enterprise Server installation.
IsSiteAdmin bool `json:"isSiteAdmin,omitempty"`
// Login: The login of the user account on the Enterprise Server installation.
Login string `json:"login,omitempty"`
// ProfileName: The profile name of the user account on the Enterprise Server installation.
ProfileName string `json:"profileName,omitempty"`
// RemoteCreatedAt: The date and time when the user account was created on the Enterprise Server installation.
RemoteCreatedAt DateTime `json:"remoteCreatedAt,omitempty"`
// RemoteUserId: The ID of the user account on the Enterprise Server installation.
RemoteUserId int `json:"remoteUserId,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
EnterpriseServerUserAccount (OBJECT): A user account on an Enterprise Server installation.
func (*EnterpriseServerUserAccount) GetCreatedAt ¶
func (x *EnterpriseServerUserAccount) GetCreatedAt() DateTime
func (*EnterpriseServerUserAccount) GetEmails ¶
func (x *EnterpriseServerUserAccount) GetEmails() *EnterpriseServerUserAccountEmailConnection
func (*EnterpriseServerUserAccount) GetEnterpriseServerInstallation ¶
func (x *EnterpriseServerUserAccount) GetEnterpriseServerInstallation() *EnterpriseServerInstallation
func (*EnterpriseServerUserAccount) GetId ¶
func (x *EnterpriseServerUserAccount) GetId() ID
func (*EnterpriseServerUserAccount) GetIsSiteAdmin ¶
func (x *EnterpriseServerUserAccount) GetIsSiteAdmin() bool
func (*EnterpriseServerUserAccount) GetLogin ¶
func (x *EnterpriseServerUserAccount) GetLogin() string
func (*EnterpriseServerUserAccount) GetProfileName ¶
func (x *EnterpriseServerUserAccount) GetProfileName() string
func (*EnterpriseServerUserAccount) GetRemoteCreatedAt ¶
func (x *EnterpriseServerUserAccount) GetRemoteCreatedAt() DateTime
func (*EnterpriseServerUserAccount) GetRemoteUserId ¶
func (x *EnterpriseServerUserAccount) GetRemoteUserId() int
func (*EnterpriseServerUserAccount) GetUpdatedAt ¶
func (x *EnterpriseServerUserAccount) GetUpdatedAt() DateTime
type EnterpriseServerUserAccountConnection ¶
type EnterpriseServerUserAccountConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseServerUserAccountEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseServerUserAccount `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseServerUserAccountConnection (OBJECT): The connection type for EnterpriseServerUserAccount.
func (*EnterpriseServerUserAccountConnection) GetEdges ¶
func (x *EnterpriseServerUserAccountConnection) GetEdges() []*EnterpriseServerUserAccountEdge
func (*EnterpriseServerUserAccountConnection) GetNodes ¶
func (x *EnterpriseServerUserAccountConnection) GetNodes() []*EnterpriseServerUserAccount
func (*EnterpriseServerUserAccountConnection) GetPageInfo ¶
func (x *EnterpriseServerUserAccountConnection) GetPageInfo() *PageInfo
func (*EnterpriseServerUserAccountConnection) GetTotalCount ¶
func (x *EnterpriseServerUserAccountConnection) GetTotalCount() int
type EnterpriseServerUserAccountEdge ¶
type EnterpriseServerUserAccountEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseServerUserAccount `json:"node,omitempty"`
}
EnterpriseServerUserAccountEdge (OBJECT): An edge in a connection.
func (*EnterpriseServerUserAccountEdge) GetCursor ¶
func (x *EnterpriseServerUserAccountEdge) GetCursor() string
func (*EnterpriseServerUserAccountEdge) GetNode ¶
func (x *EnterpriseServerUserAccountEdge) GetNode() *EnterpriseServerUserAccount
type EnterpriseServerUserAccountEmail ¶
type EnterpriseServerUserAccountEmail struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Email: The email address.
Email string `json:"email,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsPrimary: Indicates whether this is the primary email of the associated user account.
IsPrimary bool `json:"isPrimary,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UserAccount: The user account to which the email belongs.
UserAccount *EnterpriseServerUserAccount `json:"userAccount,omitempty"`
}
EnterpriseServerUserAccountEmail (OBJECT): An email belonging to a user account on an Enterprise Server installation.
func (*EnterpriseServerUserAccountEmail) GetCreatedAt ¶
func (x *EnterpriseServerUserAccountEmail) GetCreatedAt() DateTime
func (*EnterpriseServerUserAccountEmail) GetEmail ¶
func (x *EnterpriseServerUserAccountEmail) GetEmail() string
func (*EnterpriseServerUserAccountEmail) GetId ¶
func (x *EnterpriseServerUserAccountEmail) GetId() ID
func (*EnterpriseServerUserAccountEmail) GetIsPrimary ¶
func (x *EnterpriseServerUserAccountEmail) GetIsPrimary() bool
func (*EnterpriseServerUserAccountEmail) GetUpdatedAt ¶
func (x *EnterpriseServerUserAccountEmail) GetUpdatedAt() DateTime
func (*EnterpriseServerUserAccountEmail) GetUserAccount ¶
func (x *EnterpriseServerUserAccountEmail) GetUserAccount() *EnterpriseServerUserAccount
type EnterpriseServerUserAccountEmailConnection ¶
type EnterpriseServerUserAccountEmailConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseServerUserAccountEmailEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseServerUserAccountEmail `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseServerUserAccountEmailConnection (OBJECT): The connection type for EnterpriseServerUserAccountEmail.
func (*EnterpriseServerUserAccountEmailConnection) GetEdges ¶
func (x *EnterpriseServerUserAccountEmailConnection) GetEdges() []*EnterpriseServerUserAccountEmailEdge
func (*EnterpriseServerUserAccountEmailConnection) GetNodes ¶
func (x *EnterpriseServerUserAccountEmailConnection) GetNodes() []*EnterpriseServerUserAccountEmail
func (*EnterpriseServerUserAccountEmailConnection) GetPageInfo ¶
func (x *EnterpriseServerUserAccountEmailConnection) GetPageInfo() *PageInfo
func (*EnterpriseServerUserAccountEmailConnection) GetTotalCount ¶
func (x *EnterpriseServerUserAccountEmailConnection) GetTotalCount() int
type EnterpriseServerUserAccountEmailEdge ¶
type EnterpriseServerUserAccountEmailEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseServerUserAccountEmail `json:"node,omitempty"`
}
EnterpriseServerUserAccountEmailEdge (OBJECT): An edge in a connection.
func (*EnterpriseServerUserAccountEmailEdge) GetCursor ¶
func (x *EnterpriseServerUserAccountEmailEdge) GetCursor() string
func (*EnterpriseServerUserAccountEmailEdge) GetNode ¶
func (x *EnterpriseServerUserAccountEmailEdge) GetNode() *EnterpriseServerUserAccountEmail
type EnterpriseServerUserAccountEmailOrder ¶
type EnterpriseServerUserAccountEmailOrder struct {
// Field: The field to order emails by.
//
// GraphQL type: EnterpriseServerUserAccountEmailOrderField!
Field EnterpriseServerUserAccountEmailOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseServerUserAccountEmailOrder (INPUT_OBJECT): Ordering options for Enterprise Server user account email connections.
type EnterpriseServerUserAccountEmailOrderField ¶
type EnterpriseServerUserAccountEmailOrderField string
EnterpriseServerUserAccountEmailOrderField (ENUM): Properties by which Enterprise Server user account email connections can be ordered.
const EnterpriseServerUserAccountEmailOrderField_EMAIL EnterpriseServerUserAccountEmailOrderField = "EMAIL"
EnterpriseServerUserAccountEmailOrderField_EMAIL: Order emails by email.
type EnterpriseServerUserAccountOrder ¶
type EnterpriseServerUserAccountOrder struct {
// Field: The field to order user accounts by.
//
// GraphQL type: EnterpriseServerUserAccountOrderField!
Field EnterpriseServerUserAccountOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseServerUserAccountOrder (INPUT_OBJECT): Ordering options for Enterprise Server user account connections.
type EnterpriseServerUserAccountOrderField ¶
type EnterpriseServerUserAccountOrderField string
EnterpriseServerUserAccountOrderField (ENUM): Properties by which Enterprise Server user account connections can be ordered.
const EnterpriseServerUserAccountOrderField_LOGIN EnterpriseServerUserAccountOrderField = "LOGIN"
EnterpriseServerUserAccountOrderField_LOGIN: Order user accounts by login.
const EnterpriseServerUserAccountOrderField_REMOTE_CREATED_AT EnterpriseServerUserAccountOrderField = "REMOTE_CREATED_AT"
EnterpriseServerUserAccountOrderField_REMOTE_CREATED_AT: Order user accounts by creation time on the Enterprise Server installation.
type EnterpriseServerUserAccountsUpload ¶
type EnterpriseServerUserAccountsUpload struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Enterprise: The enterprise to which this upload belongs.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// EnterpriseServerInstallation: The Enterprise Server installation for which this upload was generated.
EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The name of the file uploaded.
Name string `json:"name,omitempty"`
// SyncState: The synchronization state of the upload.
SyncState EnterpriseServerUserAccountsUploadSyncState `json:"syncState,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
EnterpriseServerUserAccountsUpload (OBJECT): A user accounts upload from an Enterprise Server installation.
func (*EnterpriseServerUserAccountsUpload) GetCreatedAt ¶
func (x *EnterpriseServerUserAccountsUpload) GetCreatedAt() DateTime
func (*EnterpriseServerUserAccountsUpload) GetEnterprise ¶
func (x *EnterpriseServerUserAccountsUpload) GetEnterprise() *Enterprise
func (*EnterpriseServerUserAccountsUpload) GetEnterpriseServerInstallation ¶
func (x *EnterpriseServerUserAccountsUpload) GetEnterpriseServerInstallation() *EnterpriseServerInstallation
func (*EnterpriseServerUserAccountsUpload) GetId ¶
func (x *EnterpriseServerUserAccountsUpload) GetId() ID
func (*EnterpriseServerUserAccountsUpload) GetName ¶
func (x *EnterpriseServerUserAccountsUpload) GetName() string
func (*EnterpriseServerUserAccountsUpload) GetSyncState ¶
func (x *EnterpriseServerUserAccountsUpload) GetSyncState() EnterpriseServerUserAccountsUploadSyncState
func (*EnterpriseServerUserAccountsUpload) GetUpdatedAt ¶
func (x *EnterpriseServerUserAccountsUpload) GetUpdatedAt() DateTime
type EnterpriseServerUserAccountsUploadConnection ¶
type EnterpriseServerUserAccountsUploadConnection struct {
// Edges: A list of edges.
Edges []*EnterpriseServerUserAccountsUploadEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*EnterpriseServerUserAccountsUpload `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnterpriseServerUserAccountsUploadConnection (OBJECT): The connection type for EnterpriseServerUserAccountsUpload.
func (*EnterpriseServerUserAccountsUploadConnection) GetEdges ¶
func (x *EnterpriseServerUserAccountsUploadConnection) GetEdges() []*EnterpriseServerUserAccountsUploadEdge
func (*EnterpriseServerUserAccountsUploadConnection) GetNodes ¶
func (x *EnterpriseServerUserAccountsUploadConnection) GetNodes() []*EnterpriseServerUserAccountsUpload
func (*EnterpriseServerUserAccountsUploadConnection) GetPageInfo ¶
func (x *EnterpriseServerUserAccountsUploadConnection) GetPageInfo() *PageInfo
func (*EnterpriseServerUserAccountsUploadConnection) GetTotalCount ¶
func (x *EnterpriseServerUserAccountsUploadConnection) GetTotalCount() int
type EnterpriseServerUserAccountsUploadEdge ¶
type EnterpriseServerUserAccountsUploadEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *EnterpriseServerUserAccountsUpload `json:"node,omitempty"`
}
EnterpriseServerUserAccountsUploadEdge (OBJECT): An edge in a connection.
func (*EnterpriseServerUserAccountsUploadEdge) GetCursor ¶
func (x *EnterpriseServerUserAccountsUploadEdge) GetCursor() string
func (*EnterpriseServerUserAccountsUploadEdge) GetNode ¶
func (x *EnterpriseServerUserAccountsUploadEdge) GetNode() *EnterpriseServerUserAccountsUpload
type EnterpriseServerUserAccountsUploadOrder ¶
type EnterpriseServerUserAccountsUploadOrder struct {
// Field: The field to order user accounts uploads by.
//
// GraphQL type: EnterpriseServerUserAccountsUploadOrderField!
Field EnterpriseServerUserAccountsUploadOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
EnterpriseServerUserAccountsUploadOrder (INPUT_OBJECT): Ordering options for Enterprise Server user accounts upload connections.
type EnterpriseServerUserAccountsUploadOrderField ¶
type EnterpriseServerUserAccountsUploadOrderField string
EnterpriseServerUserAccountsUploadOrderField (ENUM): Properties by which Enterprise Server user accounts upload connections can be ordered.
const EnterpriseServerUserAccountsUploadOrderField_CREATED_AT EnterpriseServerUserAccountsUploadOrderField = "CREATED_AT"
EnterpriseServerUserAccountsUploadOrderField_CREATED_AT: Order user accounts uploads by creation time.
type EnterpriseServerUserAccountsUploadSyncState ¶
type EnterpriseServerUserAccountsUploadSyncState string
EnterpriseServerUserAccountsUploadSyncState (ENUM): Synchronization state of the Enterprise Server user accounts upload.
const EnterpriseServerUserAccountsUploadSyncState_FAILURE EnterpriseServerUserAccountsUploadSyncState = "FAILURE"
EnterpriseServerUserAccountsUploadSyncState_FAILURE: The synchronization of the upload failed.
const EnterpriseServerUserAccountsUploadSyncState_PENDING EnterpriseServerUserAccountsUploadSyncState = "PENDING"
EnterpriseServerUserAccountsUploadSyncState_PENDING: The synchronization of the upload is pending.
const EnterpriseServerUserAccountsUploadSyncState_SUCCESS EnterpriseServerUserAccountsUploadSyncState = "SUCCESS"
EnterpriseServerUserAccountsUploadSyncState_SUCCESS: The synchronization of the upload succeeded.
type EnterpriseUserAccount ¶
type EnterpriseUserAccount struct {
// AvatarUrl: A URL pointing to the enterprise user account's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Enterprise: The enterprise in which this user account exists.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Login: An identifier for the enterprise user account, a login or email address.
Login string `json:"login,omitempty"`
// Name: The name of the enterprise user account.
Name string `json:"name,omitempty"`
// Organizations: A list of enterprise organizations this user is a member of.
//
// Query arguments:
// - query String
// - orderBy OrganizationOrder
// - role EnterpriseUserAccountMembershipRole
// - after String
// - before String
// - first Int
// - last Int
Organizations *EnterpriseOrganizationMembershipConnection `json:"organizations,omitempty"`
// ResourcePath: The HTTP path for this user.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this user.
Url URI `json:"url,omitempty"`
// User: The user within the enterprise.
User *User `json:"user,omitempty"`
}
EnterpriseUserAccount (OBJECT): An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.
func (*EnterpriseUserAccount) GetAvatarUrl ¶
func (x *EnterpriseUserAccount) GetAvatarUrl() URI
func (*EnterpriseUserAccount) GetCreatedAt ¶
func (x *EnterpriseUserAccount) GetCreatedAt() DateTime
func (*EnterpriseUserAccount) GetEnterprise ¶
func (x *EnterpriseUserAccount) GetEnterprise() *Enterprise
func (*EnterpriseUserAccount) GetId ¶
func (x *EnterpriseUserAccount) GetId() ID
func (*EnterpriseUserAccount) GetLogin ¶
func (x *EnterpriseUserAccount) GetLogin() string
func (*EnterpriseUserAccount) GetName ¶
func (x *EnterpriseUserAccount) GetName() string
func (*EnterpriseUserAccount) GetOrganizations ¶
func (x *EnterpriseUserAccount) GetOrganizations() *EnterpriseOrganizationMembershipConnection
func (*EnterpriseUserAccount) GetResourcePath ¶
func (x *EnterpriseUserAccount) GetResourcePath() URI
func (*EnterpriseUserAccount) GetUpdatedAt ¶
func (x *EnterpriseUserAccount) GetUpdatedAt() DateTime
func (*EnterpriseUserAccount) GetUrl ¶
func (x *EnterpriseUserAccount) GetUrl() URI
func (*EnterpriseUserAccount) GetUser ¶
func (x *EnterpriseUserAccount) GetUser() *User
type EnterpriseUserAccountMembershipRole ¶
type EnterpriseUserAccountMembershipRole string
EnterpriseUserAccountMembershipRole (ENUM): The possible roles for enterprise membership.
const EnterpriseUserAccountMembershipRole_MEMBER EnterpriseUserAccountMembershipRole = "MEMBER"
EnterpriseUserAccountMembershipRole_MEMBER: The user is a member of an organization in the enterprise.
const EnterpriseUserAccountMembershipRole_OWNER EnterpriseUserAccountMembershipRole = "OWNER"
EnterpriseUserAccountMembershipRole_OWNER: The user is an owner of an organization in the enterprise.
type EnterpriseUserDeployment ¶
type EnterpriseUserDeployment string
EnterpriseUserDeployment (ENUM): The possible GitHub Enterprise deployments where this user can exist.
const EnterpriseUserDeployment_CLOUD EnterpriseUserDeployment = "CLOUD"
EnterpriseUserDeployment_CLOUD: The user is part of a GitHub Enterprise Cloud deployment.
const EnterpriseUserDeployment_SERVER EnterpriseUserDeployment = "SERVER"
EnterpriseUserDeployment_SERVER: The user is part of a GitHub Enterprise Server deployment.
type Environment ¶
type Environment struct {
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The name of the environment.
Name string `json:"name,omitempty"`
// ProtectionRules: The protection rules defined for this environment.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ProtectionRules *DeploymentProtectionRuleConnection `json:"protectionRules,omitempty"`
}
Environment (OBJECT): An environment.
func (*Environment) GetDatabaseId ¶
func (x *Environment) GetDatabaseId() int
func (*Environment) GetId ¶
func (x *Environment) GetId() ID
func (*Environment) GetName ¶
func (x *Environment) GetName() string
func (*Environment) GetProtectionRules ¶
func (x *Environment) GetProtectionRules() *DeploymentProtectionRuleConnection
type EnvironmentConnection ¶
type EnvironmentConnection struct {
// Edges: A list of edges.
Edges []*EnvironmentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Environment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
EnvironmentConnection (OBJECT): The connection type for Environment.
func (*EnvironmentConnection) GetEdges ¶
func (x *EnvironmentConnection) GetEdges() []*EnvironmentEdge
func (*EnvironmentConnection) GetNodes ¶
func (x *EnvironmentConnection) GetNodes() []*Environment
func (*EnvironmentConnection) GetPageInfo ¶
func (x *EnvironmentConnection) GetPageInfo() *PageInfo
func (*EnvironmentConnection) GetTotalCount ¶
func (x *EnvironmentConnection) GetTotalCount() int
type EnvironmentEdge ¶
type EnvironmentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Environment `json:"node,omitempty"`
}
EnvironmentEdge (OBJECT): An edge in a connection.
func (*EnvironmentEdge) GetCursor ¶
func (x *EnvironmentEdge) GetCursor() string
func (*EnvironmentEdge) GetNode ¶
func (x *EnvironmentEdge) GetNode() *Environment
type ExternalIdentity ¶
type ExternalIdentity struct {
// Guid: The GUID for this identity.
Guid string `json:"guid,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OrganizationInvitation: Organization invitation for this SCIM-provisioned external identity.
OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation,omitempty"`
// SamlIdentity: SAML Identity attributes.
SamlIdentity *ExternalIdentitySamlAttributes `json:"samlIdentity,omitempty"`
// ScimIdentity: SCIM Identity attributes.
ScimIdentity *ExternalIdentityScimAttributes `json:"scimIdentity,omitempty"`
// User: User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.
User *User `json:"user,omitempty"`
}
ExternalIdentity (OBJECT): An external identity provisioned by SAML SSO or SCIM.
func (*ExternalIdentity) GetGuid ¶
func (x *ExternalIdentity) GetGuid() string
func (*ExternalIdentity) GetId ¶
func (x *ExternalIdentity) GetId() ID
func (*ExternalIdentity) GetOrganizationInvitation ¶
func (x *ExternalIdentity) GetOrganizationInvitation() *OrganizationInvitation
func (*ExternalIdentity) GetSamlIdentity ¶
func (x *ExternalIdentity) GetSamlIdentity() *ExternalIdentitySamlAttributes
func (*ExternalIdentity) GetScimIdentity ¶
func (x *ExternalIdentity) GetScimIdentity() *ExternalIdentityScimAttributes
func (*ExternalIdentity) GetUser ¶
func (x *ExternalIdentity) GetUser() *User
type ExternalIdentityAttribute ¶
type ExternalIdentityAttribute struct {
// Metadata: The attribute metadata as JSON.
Metadata string `json:"metadata,omitempty"`
// Name: The attribute name.
Name string `json:"name,omitempty"`
// Value: The attribute value.
Value string `json:"value,omitempty"`
}
ExternalIdentityAttribute (OBJECT): An attribute for the External Identity attributes collection.
func (*ExternalIdentityAttribute) GetMetadata ¶
func (x *ExternalIdentityAttribute) GetMetadata() string
func (*ExternalIdentityAttribute) GetName ¶
func (x *ExternalIdentityAttribute) GetName() string
func (*ExternalIdentityAttribute) GetValue ¶
func (x *ExternalIdentityAttribute) GetValue() string
type ExternalIdentityConnection ¶
type ExternalIdentityConnection struct {
// Edges: A list of edges.
Edges []*ExternalIdentityEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ExternalIdentity `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ExternalIdentityConnection (OBJECT): The connection type for ExternalIdentity.
func (*ExternalIdentityConnection) GetEdges ¶
func (x *ExternalIdentityConnection) GetEdges() []*ExternalIdentityEdge
func (*ExternalIdentityConnection) GetNodes ¶
func (x *ExternalIdentityConnection) GetNodes() []*ExternalIdentity
func (*ExternalIdentityConnection) GetPageInfo ¶
func (x *ExternalIdentityConnection) GetPageInfo() *PageInfo
func (*ExternalIdentityConnection) GetTotalCount ¶
func (x *ExternalIdentityConnection) GetTotalCount() int
type ExternalIdentityEdge ¶
type ExternalIdentityEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ExternalIdentity `json:"node,omitempty"`
}
ExternalIdentityEdge (OBJECT): An edge in a connection.
func (*ExternalIdentityEdge) GetCursor ¶
func (x *ExternalIdentityEdge) GetCursor() string
func (*ExternalIdentityEdge) GetNode ¶
func (x *ExternalIdentityEdge) GetNode() *ExternalIdentity
type ExternalIdentitySamlAttributes ¶
type ExternalIdentitySamlAttributes struct {
// Attributes: SAML Identity attributes.
Attributes []*ExternalIdentityAttribute `json:"attributes,omitempty"`
// Emails: The emails associated with the SAML identity.
Emails []*UserEmailMetadata `json:"emails,omitempty"`
// FamilyName: Family name of the SAML identity.
FamilyName string `json:"familyName,omitempty"`
// GivenName: Given name of the SAML identity.
GivenName string `json:"givenName,omitempty"`
// Groups: The groups linked to this identity in IDP.
Groups []string `json:"groups,omitempty"`
// NameId: The NameID of the SAML identity.
NameId string `json:"nameId,omitempty"`
// Username: The userName of the SAML identity.
Username string `json:"username,omitempty"`
}
ExternalIdentitySamlAttributes (OBJECT): SAML attributes for the External Identity.
func (*ExternalIdentitySamlAttributes) GetAttributes ¶
func (x *ExternalIdentitySamlAttributes) GetAttributes() []*ExternalIdentityAttribute
func (*ExternalIdentitySamlAttributes) GetEmails ¶
func (x *ExternalIdentitySamlAttributes) GetEmails() []*UserEmailMetadata
func (*ExternalIdentitySamlAttributes) GetFamilyName ¶
func (x *ExternalIdentitySamlAttributes) GetFamilyName() string
func (*ExternalIdentitySamlAttributes) GetGivenName ¶
func (x *ExternalIdentitySamlAttributes) GetGivenName() string
func (*ExternalIdentitySamlAttributes) GetGroups ¶
func (x *ExternalIdentitySamlAttributes) GetGroups() []string
func (*ExternalIdentitySamlAttributes) GetNameId ¶
func (x *ExternalIdentitySamlAttributes) GetNameId() string
func (*ExternalIdentitySamlAttributes) GetUsername ¶
func (x *ExternalIdentitySamlAttributes) GetUsername() string
type ExternalIdentityScimAttributes ¶
type ExternalIdentityScimAttributes struct {
// Emails: The emails associated with the SCIM identity.
Emails []*UserEmailMetadata `json:"emails,omitempty"`
// FamilyName: Family name of the SCIM identity.
FamilyName string `json:"familyName,omitempty"`
// GivenName: Given name of the SCIM identity.
GivenName string `json:"givenName,omitempty"`
// Groups: The groups linked to this identity in IDP.
Groups []string `json:"groups,omitempty"`
// Username: The userName of the SCIM identity.
Username string `json:"username,omitempty"`
}
ExternalIdentityScimAttributes (OBJECT): SCIM attributes for the External Identity.
func (*ExternalIdentityScimAttributes) GetEmails ¶
func (x *ExternalIdentityScimAttributes) GetEmails() []*UserEmailMetadata
func (*ExternalIdentityScimAttributes) GetFamilyName ¶
func (x *ExternalIdentityScimAttributes) GetFamilyName() string
func (*ExternalIdentityScimAttributes) GetGivenName ¶
func (x *ExternalIdentityScimAttributes) GetGivenName() string
func (*ExternalIdentityScimAttributes) GetGroups ¶
func (x *ExternalIdentityScimAttributes) GetGroups() []string
func (*ExternalIdentityScimAttributes) GetUsername ¶
func (x *ExternalIdentityScimAttributes) GetUsername() string
type FileAddition ¶
type FileAddition struct {
// Path: The path in the repository where the file will be located.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// Contents: The base64 encoded contents of the file.
//
// GraphQL type: Base64String!
Contents Base64String `json:"contents,omitempty"`
}
FileAddition (INPUT_OBJECT): A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced.
type FileChanges ¶
type FileChanges struct {
// Deletions: Files to delete.
//
// GraphQL type: [FileDeletion!]
Deletions []*FileDeletion `json:"deletions,omitempty"`
// Additions: File to add or change.
//
// GraphQL type: [FileAddition!]
Additions []*FileAddition `json:"additions,omitempty"`
}
FileChanges (INPUT_OBJECT): A description of a set of changes to a file tree to be made as part of a git commit, modeled as zero or more file `additions` and zero or more file `deletions`.
Both fields are optional; omitting both will produce a commit with no file changes.
`deletions` and `additions` describe changes to files identified by their path in the git tree using unix-style path separators, i.e. `/`. The root of a git tree is an empty string, so paths are not slash-prefixed.
`path` values must be unique across all `additions` and `deletions` provided. Any duplication will result in a validation error.
### Encoding
File contents must be provided in full for each `FileAddition`.
The `contents` of a `FileAddition` must be encoded using RFC 4648 compliant base64, i.e. correct padding is required and no characters outside the standard alphabet may be used. Invalid base64 encoding will be rejected with a validation error.
The encoded contents may be binary.
For text files, no assumptions are made about the character encoding of the file contents (after base64 decoding). No charset transcoding or line-ending normalization will be performed; it is the client's responsibility to manage the character encoding of files they provide. However, for maximum compatibility we recommend using UTF-8 encoding and ensuring that all files in a repository use a consistent line-ending convention (`\n` or `\r\n`), and that all files end with a newline.
### Modeling file changes
Each of the the five types of conceptual changes that can be made in a git commit can be described using the `FileChanges` type as follows:
1. New file addition: create file `hello world\n` at path `docs/README.txt`:
{
"additions" [
{
"path": "docs/README.txt",
"contents": base64encode("hello world\n")
}
]
}
2. Existing file modification: change existing `docs/README.txt` to have new
content `new content here\n`:
{
"additions" [
{
"path": "docs/README.txt",
"contents": base64encode("new content here\n")
}
]
}
3. Existing file deletion: remove existing file `docs/README.txt`.
Note that the path is required to exist -- specifying a
path that does not exist on the given branch will abort the
commit and return an error.
{
"deletions" [
{
"path": "docs/README.txt"
}
]
}
4. File rename with no changes: rename `docs/README.txt` with
previous content `hello world\n` to the same content at
`newdocs/README.txt`:
{
"deletions" [
{
"path": "docs/README.txt",
}
],
"additions" [
{
"path": "newdocs/README.txt",
"contents": base64encode("hello world\n")
}
]
}
5. File rename with changes: rename `docs/README.txt` with
previous content `hello world\n` to a file at path
`newdocs/README.txt` with content `new contents\n`:
{
"deletions" [
{
"path": "docs/README.txt",
}
],
"additions" [
{
"path": "newdocs/README.txt",
"contents": base64encode("new contents\n")
}
]
}
.
type FileDeletion ¶
type FileDeletion struct {
// Path: The path to delete.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
}
FileDeletion (INPUT_OBJECT): A command to delete the file at the given path as part of a commit.
type FileViewedState ¶
type FileViewedState string
FileViewedState (ENUM): The possible viewed states of a file .
const FileViewedState_DISMISSED FileViewedState = "DISMISSED"
FileViewedState_DISMISSED: The file has new changes since last viewed.
const FileViewedState_UNVIEWED FileViewedState = "UNVIEWED"
FileViewedState_UNVIEWED: The file has not been marked as viewed.
const FileViewedState_VIEWED FileViewedState = "VIEWED"
FileViewedState_VIEWED: The file has been marked as viewed.
type Float ¶
type Float float64
Float (SCALAR): Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
type FollowOrganizationInput ¶
type FollowOrganizationInput struct {
// OrganizationId: ID of the organization to follow.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
FollowOrganizationInput (INPUT_OBJECT): Autogenerated input type of FollowOrganization.
type FollowOrganizationPayload ¶
type FollowOrganizationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Organization: The organization that was followed.
Organization *Organization `json:"organization,omitempty"`
}
FollowOrganizationPayload (OBJECT): Autogenerated return type of FollowOrganization.
func (*FollowOrganizationPayload) GetClientMutationId ¶
func (x *FollowOrganizationPayload) GetClientMutationId() string
func (*FollowOrganizationPayload) GetOrganization ¶
func (x *FollowOrganizationPayload) GetOrganization() *Organization
type FollowUserInput ¶
type FollowUserInput struct {
// UserId: ID of the user to follow.
//
// GraphQL type: ID!
UserId ID `json:"userId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
FollowUserInput (INPUT_OBJECT): Autogenerated input type of FollowUser.
type FollowUserPayload ¶
type FollowUserPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// User: The user that was followed.
User *User `json:"user,omitempty"`
}
FollowUserPayload (OBJECT): Autogenerated return type of FollowUser.
func (*FollowUserPayload) GetClientMutationId ¶
func (x *FollowUserPayload) GetClientMutationId() string
func (*FollowUserPayload) GetUser ¶
func (x *FollowUserPayload) GetUser() *User
type FollowerConnection ¶
type FollowerConnection struct {
// Edges: A list of edges.
Edges []*UserEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
FollowerConnection (OBJECT): The connection type for User.
func (*FollowerConnection) GetEdges ¶
func (x *FollowerConnection) GetEdges() []*UserEdge
func (*FollowerConnection) GetNodes ¶
func (x *FollowerConnection) GetNodes() []*User
func (*FollowerConnection) GetPageInfo ¶
func (x *FollowerConnection) GetPageInfo() *PageInfo
func (*FollowerConnection) GetTotalCount ¶
func (x *FollowerConnection) GetTotalCount() int
type FollowingConnection ¶
type FollowingConnection struct {
// Edges: A list of edges.
Edges []*UserEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
FollowingConnection (OBJECT): The connection type for User.
func (*FollowingConnection) GetEdges ¶
func (x *FollowingConnection) GetEdges() []*UserEdge
func (*FollowingConnection) GetNodes ¶
func (x *FollowingConnection) GetNodes() []*User
func (*FollowingConnection) GetPageInfo ¶
func (x *FollowingConnection) GetPageInfo() *PageInfo
func (*FollowingConnection) GetTotalCount ¶
func (x *FollowingConnection) GetTotalCount() int
type FundingLink ¶
type FundingLink struct {
// Platform: The funding platform this link is for.
Platform FundingPlatform `json:"platform,omitempty"`
// Url: The configured URL for this funding link.
Url URI `json:"url,omitempty"`
}
FundingLink (OBJECT): A funding platform link for a repository.
func (*FundingLink) GetPlatform ¶
func (x *FundingLink) GetPlatform() FundingPlatform
func (*FundingLink) GetUrl ¶
func (x *FundingLink) GetUrl() URI
type FundingPlatform ¶
type FundingPlatform string
FundingPlatform (ENUM): The possible funding platforms for repository funding links.
const FundingPlatform_COMMUNITY_BRIDGE FundingPlatform = "COMMUNITY_BRIDGE"
FundingPlatform_COMMUNITY_BRIDGE: Community Bridge funding platform.
const FundingPlatform_CUSTOM FundingPlatform = "CUSTOM"
FundingPlatform_CUSTOM: Custom funding platform.
const FundingPlatform_GITHUB FundingPlatform = "GITHUB"
FundingPlatform_GITHUB: GitHub funding platform.
const FundingPlatform_ISSUEHUNT FundingPlatform = "ISSUEHUNT"
FundingPlatform_ISSUEHUNT: IssueHunt funding platform.
const FundingPlatform_KO_FI FundingPlatform = "KO_FI"
FundingPlatform_KO_FI: Ko-fi funding platform.
const FundingPlatform_LFX_CROWDFUNDING FundingPlatform = "LFX_CROWDFUNDING"
FundingPlatform_LFX_CROWDFUNDING: LFX Crowdfunding funding platform.
const FundingPlatform_LIBERAPAY FundingPlatform = "LIBERAPAY"
FundingPlatform_LIBERAPAY: Liberapay funding platform.
const FundingPlatform_OPEN_COLLECTIVE FundingPlatform = "OPEN_COLLECTIVE"
FundingPlatform_OPEN_COLLECTIVE: Open Collective funding platform.
const FundingPlatform_OTECHIE FundingPlatform = "OTECHIE"
FundingPlatform_OTECHIE: Otechie funding platform.
const FundingPlatform_PATREON FundingPlatform = "PATREON"
FundingPlatform_PATREON: Patreon funding platform.
const FundingPlatform_TIDELIFT FundingPlatform = "TIDELIFT"
FundingPlatform_TIDELIFT: Tidelift funding platform.
type GenericHovercardContext ¶
type GenericHovercardContext struct {
// Message: A string describing this context.
Message string `json:"message,omitempty"`
// Octicon: An octicon to accompany this context.
Octicon string `json:"octicon,omitempty"`
}
GenericHovercardContext (OBJECT): A generic hovercard context with a message and icon.
func (*GenericHovercardContext) GetMessage ¶
func (x *GenericHovercardContext) GetMessage() string
func (*GenericHovercardContext) GetOcticon ¶
func (x *GenericHovercardContext) GetOcticon() string
type Gist ¶
type Gist struct {
// Comments: A list of comments associated with the gist.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *GistCommentConnection `json:"comments,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Description: The gist description.
Description string `json:"description,omitempty"`
// Files: The files in this gist.
//
// Query arguments:
// - limit Int
// - oid GitObjectID
Files []*GistFile `json:"files,omitempty"`
// Forks: A list of forks associated with the gist.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy GistOrder
Forks *GistConnection `json:"forks,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsFork: Identifies if the gist is a fork.
IsFork bool `json:"isFork,omitempty"`
// IsPublic: Whether the gist is public or not.
IsPublic bool `json:"isPublic,omitempty"`
// Name: The gist name.
Name string `json:"name,omitempty"`
// Owner: The gist owner.
Owner RepositoryOwner `json:"owner,omitempty"`
// PushedAt: Identifies when the gist was last pushed to.
PushedAt DateTime `json:"pushedAt,omitempty"`
// ResourcePath: The HTML path to this resource.
ResourcePath URI `json:"resourcePath,omitempty"`
// StargazerCount: Returns a count of how many stargazers there are on this object
// .
StargazerCount int `json:"stargazerCount,omitempty"`
// Stargazers: A list of users who have starred this starrable.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy StarOrder
Stargazers *StargazerConnection `json:"stargazers,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this Gist.
Url URI `json:"url,omitempty"`
// ViewerHasStarred: Returns a boolean indicating whether the viewing user has starred this starrable.
ViewerHasStarred bool `json:"viewerHasStarred,omitempty"`
}
Gist (OBJECT): A Gist.
func (*Gist) GetComments ¶
func (x *Gist) GetComments() *GistCommentConnection
func (*Gist) GetCreatedAt ¶
func (*Gist) GetDescription ¶
func (*Gist) GetForks ¶
func (x *Gist) GetForks() *GistConnection
func (*Gist) GetIsPublic ¶
func (*Gist) GetOwner ¶
func (x *Gist) GetOwner() RepositoryOwner
func (*Gist) GetPushedAt ¶
func (*Gist) GetResourcePath ¶
func (*Gist) GetStargazerCount ¶
func (*Gist) GetStargazers ¶
func (x *Gist) GetStargazers() *StargazerConnection
func (*Gist) GetUpdatedAt ¶
func (*Gist) GetViewerHasStarred ¶
type GistComment ¶
type GistComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the gist.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: Identifies the comment body.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Gist: The associated gist.
Gist *Gist `json:"gist,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsMinimized: Returns whether or not a comment has been minimized.
IsMinimized bool `json:"isMinimized,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// MinimizedReason: Returns why the comment was minimized.
MinimizedReason string `json:"minimizedReason,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanMinimize: Check if the current viewer can minimize this object.
ViewerCanMinimize bool `json:"viewerCanMinimize,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
GistComment (OBJECT): Represents a comment on an Gist.
func (*GistComment) GetAuthor ¶
func (x *GistComment) GetAuthor() Actor
func (*GistComment) GetAuthorAssociation ¶
func (x *GistComment) GetAuthorAssociation() CommentAuthorAssociation
func (*GistComment) GetBody ¶
func (x *GistComment) GetBody() string
func (*GistComment) GetBodyHTML ¶
func (x *GistComment) GetBodyHTML() template.HTML
func (*GistComment) GetBodyText ¶
func (x *GistComment) GetBodyText() string
func (*GistComment) GetCreatedAt ¶
func (x *GistComment) GetCreatedAt() DateTime
func (*GistComment) GetCreatedViaEmail ¶
func (x *GistComment) GetCreatedViaEmail() bool
func (*GistComment) GetDatabaseId ¶
func (x *GistComment) GetDatabaseId() int
func (*GistComment) GetEditor ¶
func (x *GistComment) GetEditor() Actor
func (*GistComment) GetGist ¶
func (x *GistComment) GetGist() *Gist
func (*GistComment) GetId ¶
func (x *GistComment) GetId() ID
func (*GistComment) GetIncludesCreatedEdit ¶
func (x *GistComment) GetIncludesCreatedEdit() bool
func (*GistComment) GetIsMinimized ¶
func (x *GistComment) GetIsMinimized() bool
func (*GistComment) GetLastEditedAt ¶
func (x *GistComment) GetLastEditedAt() DateTime
func (*GistComment) GetMinimizedReason ¶
func (x *GistComment) GetMinimizedReason() string
func (*GistComment) GetPublishedAt ¶
func (x *GistComment) GetPublishedAt() DateTime
func (*GistComment) GetUpdatedAt ¶
func (x *GistComment) GetUpdatedAt() DateTime
func (*GistComment) GetUserContentEdits ¶
func (x *GistComment) GetUserContentEdits() *UserContentEditConnection
func (*GistComment) GetViewerCanDelete ¶
func (x *GistComment) GetViewerCanDelete() bool
func (*GistComment) GetViewerCanMinimize ¶
func (x *GistComment) GetViewerCanMinimize() bool
func (*GistComment) GetViewerCanUpdate ¶
func (x *GistComment) GetViewerCanUpdate() bool
func (*GistComment) GetViewerCannotUpdateReasons ¶
func (x *GistComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*GistComment) GetViewerDidAuthor ¶
func (x *GistComment) GetViewerDidAuthor() bool
type GistCommentConnection ¶
type GistCommentConnection struct {
// Edges: A list of edges.
Edges []*GistCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*GistComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
GistCommentConnection (OBJECT): The connection type for GistComment.
func (*GistCommentConnection) GetEdges ¶
func (x *GistCommentConnection) GetEdges() []*GistCommentEdge
func (*GistCommentConnection) GetNodes ¶
func (x *GistCommentConnection) GetNodes() []*GistComment
func (*GistCommentConnection) GetPageInfo ¶
func (x *GistCommentConnection) GetPageInfo() *PageInfo
func (*GistCommentConnection) GetTotalCount ¶
func (x *GistCommentConnection) GetTotalCount() int
type GistCommentEdge ¶
type GistCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *GistComment `json:"node,omitempty"`
}
GistCommentEdge (OBJECT): An edge in a connection.
func (*GistCommentEdge) GetCursor ¶
func (x *GistCommentEdge) GetCursor() string
func (*GistCommentEdge) GetNode ¶
func (x *GistCommentEdge) GetNode() *GistComment
type GistConnection ¶
type GistConnection struct {
// Edges: A list of edges.
Edges []*GistEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Gist `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
GistConnection (OBJECT): The connection type for Gist.
func (*GistConnection) GetEdges ¶
func (x *GistConnection) GetEdges() []*GistEdge
func (*GistConnection) GetNodes ¶
func (x *GistConnection) GetNodes() []*Gist
func (*GistConnection) GetPageInfo ¶
func (x *GistConnection) GetPageInfo() *PageInfo
func (*GistConnection) GetTotalCount ¶
func (x *GistConnection) GetTotalCount() int
type GistEdge ¶
type GistEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Gist `json:"node,omitempty"`
}
GistEdge (OBJECT): An edge in a connection.
type GistFile ¶
type GistFile struct {
// EncodedName: The file name encoded to remove characters that are invalid in URL paths.
EncodedName string `json:"encodedName,omitempty"`
// Encoding: The gist file encoding.
Encoding string `json:"encoding,omitempty"`
// Extension: The file extension from the file name.
Extension string `json:"extension,omitempty"`
// IsImage: Indicates if this file is an image.
IsImage bool `json:"isImage,omitempty"`
// IsTruncated: Whether the file's contents were truncated.
IsTruncated bool `json:"isTruncated,omitempty"`
// Language: The programming language this file is written in.
Language *Language `json:"language,omitempty"`
// Name: The gist file name.
Name string `json:"name,omitempty"`
// Size: The gist file size in bytes.
Size int `json:"size,omitempty"`
// Text: UTF8 text data or null if the file is binary.
//
// Query arguments:
// - truncate Int
Text string `json:"text,omitempty"`
}
GistFile (OBJECT): A file in a gist.
func (*GistFile) GetEncodedName ¶
func (*GistFile) GetEncoding ¶
func (*GistFile) GetExtension ¶
func (*GistFile) GetIsImage ¶
func (*GistFile) GetIsTruncated ¶
func (*GistFile) GetLanguage ¶
type GistOrder ¶
type GistOrder struct {
// Field: The field to order repositories by.
//
// GraphQL type: GistOrderField!
Field GistOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
GistOrder (INPUT_OBJECT): Ordering options for gist connections.
type GistOrderField ¶
type GistOrderField string
GistOrderField (ENUM): Properties by which gist connections can be ordered.
const GistOrderField_CREATED_AT GistOrderField = "CREATED_AT"
GistOrderField_CREATED_AT: Order gists by creation time.
const GistOrderField_PUSHED_AT GistOrderField = "PUSHED_AT"
GistOrderField_PUSHED_AT: Order gists by push time.
const GistOrderField_UPDATED_AT GistOrderField = "UPDATED_AT"
GistOrderField_UPDATED_AT: Order gists by update time.
type GistPrivacy ¶
type GistPrivacy string
GistPrivacy (ENUM): The privacy of a Gist.
const GistPrivacy_ALL GistPrivacy = "ALL"
GistPrivacy_ALL: Gists that are public and secret.
const GistPrivacy_PUBLIC GistPrivacy = "PUBLIC"
GistPrivacy_PUBLIC: Public.
const GistPrivacy_SECRET GistPrivacy = "SECRET"
GistPrivacy_SECRET: Secret.
type GitActor ¶
type GitActor struct {
// AvatarUrl: A URL pointing to the author's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// Date: The timestamp of the Git action (authoring or committing).
Date GitTimestamp `json:"date,omitempty"`
// Email: The email in the Git commit.
Email string `json:"email,omitempty"`
// Name: The name in the Git commit.
Name string `json:"name,omitempty"`
// User: The GitHub user corresponding to the email field. Null if no such user exists.
User *User `json:"user,omitempty"`
}
GitActor (OBJECT): Represents an actor in a Git commit (ie. an author or committer).
func (*GitActor) GetAvatarUrl ¶
func (*GitActor) GetDate ¶
func (x *GitActor) GetDate() GitTimestamp
type GitActorConnection ¶
type GitActorConnection struct {
// Edges: A list of edges.
Edges []*GitActorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*GitActor `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
GitActorConnection (OBJECT): The connection type for GitActor.
func (*GitActorConnection) GetEdges ¶
func (x *GitActorConnection) GetEdges() []*GitActorEdge
func (*GitActorConnection) GetNodes ¶
func (x *GitActorConnection) GetNodes() []*GitActor
func (*GitActorConnection) GetPageInfo ¶
func (x *GitActorConnection) GetPageInfo() *PageInfo
func (*GitActorConnection) GetTotalCount ¶
func (x *GitActorConnection) GetTotalCount() int
type GitActorEdge ¶
type GitActorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *GitActor `json:"node,omitempty"`
}
GitActorEdge (OBJECT): An edge in a connection.
func (*GitActorEdge) GetCursor ¶
func (x *GitActorEdge) GetCursor() string
func (*GitActorEdge) GetNode ¶
func (x *GitActorEdge) GetNode() *GitActor
type GitHubMetadata ¶
type GitHubMetadata struct {
// GitHubServicesSha: Returns a String that's a SHA of `github-services`.
GitHubServicesSha GitObjectID `json:"gitHubServicesSha,omitempty"`
// GitIpAddresses: IP addresses that users connect to for git operations.
GitIpAddresses []string `json:"gitIpAddresses,omitempty"`
// HookIpAddresses: IP addresses that service hooks are sent from.
HookIpAddresses []string `json:"hookIpAddresses,omitempty"`
// ImporterIpAddresses: IP addresses that the importer connects from.
ImporterIpAddresses []string `json:"importerIpAddresses,omitempty"`
// IsPasswordAuthenticationVerifiable: Whether or not users are verified.
IsPasswordAuthenticationVerifiable bool `json:"isPasswordAuthenticationVerifiable,omitempty"`
// PagesIpAddresses: IP addresses for GitHub Pages' A records.
PagesIpAddresses []string `json:"pagesIpAddresses,omitempty"`
}
GitHubMetadata (OBJECT): Represents information about the GitHub instance.
func (*GitHubMetadata) GetGitHubServicesSha ¶
func (x *GitHubMetadata) GetGitHubServicesSha() GitObjectID
func (*GitHubMetadata) GetGitIpAddresses ¶
func (x *GitHubMetadata) GetGitIpAddresses() []string
func (*GitHubMetadata) GetHookIpAddresses ¶
func (x *GitHubMetadata) GetHookIpAddresses() []string
func (*GitHubMetadata) GetImporterIpAddresses ¶
func (x *GitHubMetadata) GetImporterIpAddresses() []string
func (*GitHubMetadata) GetIsPasswordAuthenticationVerifiable ¶
func (x *GitHubMetadata) GetIsPasswordAuthenticationVerifiable() bool
func (*GitHubMetadata) GetPagesIpAddresses ¶
func (x *GitHubMetadata) GetPagesIpAddresses() []string
type GitObject ¶
type GitObject struct {
Interface GitObject_Interface
}
func (*GitObject) MarshalJSON ¶
func (*GitObject) UnmarshalJSON ¶
type GitObject_Interface ¶
type GitObject_Interface interface {
GetAbbreviatedOid() string
GetCommitResourcePath() URI
GetCommitUrl() URI
GetId() ID
GetOid() GitObjectID
GetRepository() *Repository
// contains filtered or unexported methods
}
GitObject (INTERFACE): Represents a Git object. GitObject_Interface: Represents a Git object.
Possible types:
- *Blob
- *Commit
- *Tag
- *Tree
type GitSignature ¶
type GitSignature struct {
Interface GitSignature_Interface
}
func (*GitSignature) MarshalJSON ¶
func (x *GitSignature) MarshalJSON() ([]byte, error)
func (*GitSignature) UnmarshalJSON ¶
func (x *GitSignature) UnmarshalJSON(js []byte) error
type GitSignatureState ¶
type GitSignatureState string
GitSignatureState (ENUM): The state of a Git signature.
const GitSignatureState_BAD_CERT GitSignatureState = "BAD_CERT"
GitSignatureState_BAD_CERT: The signing certificate or its chain could not be verified.
const GitSignatureState_BAD_EMAIL GitSignatureState = "BAD_EMAIL"
GitSignatureState_BAD_EMAIL: Invalid email used for signing.
const GitSignatureState_EXPIRED_KEY GitSignatureState = "EXPIRED_KEY"
GitSignatureState_EXPIRED_KEY: Signing key expired.
const GitSignatureState_GPGVERIFY_ERROR GitSignatureState = "GPGVERIFY_ERROR"
GitSignatureState_GPGVERIFY_ERROR: Internal error - the GPG verification service misbehaved.
const GitSignatureState_GPGVERIFY_UNAVAILABLE GitSignatureState = "GPGVERIFY_UNAVAILABLE"
GitSignatureState_GPGVERIFY_UNAVAILABLE: Internal error - the GPG verification service is unavailable at the moment.
const GitSignatureState_INVALID GitSignatureState = "INVALID"
GitSignatureState_INVALID: Invalid signature.
const GitSignatureState_MALFORMED_SIG GitSignatureState = "MALFORMED_SIG"
GitSignatureState_MALFORMED_SIG: Malformed signature.
const GitSignatureState_NOT_SIGNING_KEY GitSignatureState = "NOT_SIGNING_KEY"
GitSignatureState_NOT_SIGNING_KEY: The usage flags for the key that signed this don't allow signing.
const GitSignatureState_NO_USER GitSignatureState = "NO_USER"
GitSignatureState_NO_USER: Email used for signing not known to GitHub.
const GitSignatureState_OCSP_ERROR GitSignatureState = "OCSP_ERROR"
GitSignatureState_OCSP_ERROR: Valid signature, though certificate revocation check failed.
const GitSignatureState_OCSP_PENDING GitSignatureState = "OCSP_PENDING"
GitSignatureState_OCSP_PENDING: Valid signature, pending certificate revocation checking.
const GitSignatureState_OCSP_REVOKED GitSignatureState = "OCSP_REVOKED"
GitSignatureState_OCSP_REVOKED: One or more certificates in chain has been revoked.
const GitSignatureState_UNKNOWN_KEY GitSignatureState = "UNKNOWN_KEY"
GitSignatureState_UNKNOWN_KEY: Key used for signing not known to GitHub.
const GitSignatureState_UNKNOWN_SIG_TYPE GitSignatureState = "UNKNOWN_SIG_TYPE"
GitSignatureState_UNKNOWN_SIG_TYPE: Unknown signature type.
const GitSignatureState_UNSIGNED GitSignatureState = "UNSIGNED"
GitSignatureState_UNSIGNED: Unsigned.
const GitSignatureState_UNVERIFIED_EMAIL GitSignatureState = "UNVERIFIED_EMAIL"
GitSignatureState_UNVERIFIED_EMAIL: Email used for signing unverified on GitHub.
const GitSignatureState_VALID GitSignatureState = "VALID"
GitSignatureState_VALID: Valid signature and verified by GitHub.
type GitSignature_Interface ¶
type GitSignature_Interface interface {
GetEmail() string
GetIsValid() bool
GetPayload() string
GetSignature() string
GetSigner() *User
GetState() GitSignatureState
GetWasSignedByGitHub() bool
// contains filtered or unexported methods
}
GitSignature (INTERFACE): Information about a signature (GPG or S/MIME) on a Commit or Tag. GitSignature_Interface: Information about a signature (GPG or S/MIME) on a Commit or Tag.
Possible types:
- *GpgSignature
- *SmimeSignature
- *UnknownSignature
type GitTimestamp ¶
type GitTimestamp string
GitTimestamp (SCALAR): An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC.
type GpgSignature ¶
type GpgSignature struct {
// Email: Email used to sign this object.
Email string `json:"email,omitempty"`
// IsValid: True if the signature is valid and verified by GitHub.
IsValid bool `json:"isValid,omitempty"`
// KeyId: Hex-encoded ID of the key that signed this object.
KeyId string `json:"keyId,omitempty"`
// Payload: Payload for GPG signing object. Raw ODB object without the signature header.
Payload string `json:"payload,omitempty"`
// Signature: ASCII-armored signature header from object.
Signature string `json:"signature,omitempty"`
// Signer: GitHub user corresponding to the email signing this commit.
Signer *User `json:"signer,omitempty"`
// State: The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
State GitSignatureState `json:"state,omitempty"`
// WasSignedByGitHub: True if the signature was made with GitHub's signing key.
WasSignedByGitHub bool `json:"wasSignedByGitHub,omitempty"`
}
GpgSignature (OBJECT): Represents a GPG signature on a Commit or Tag.
func (*GpgSignature) GetEmail ¶
func (x *GpgSignature) GetEmail() string
func (*GpgSignature) GetIsValid ¶
func (x *GpgSignature) GetIsValid() bool
func (*GpgSignature) GetKeyId ¶
func (x *GpgSignature) GetKeyId() string
func (*GpgSignature) GetPayload ¶
func (x *GpgSignature) GetPayload() string
func (*GpgSignature) GetSignature ¶
func (x *GpgSignature) GetSignature() string
func (*GpgSignature) GetSigner ¶
func (x *GpgSignature) GetSigner() *User
func (*GpgSignature) GetState ¶
func (x *GpgSignature) GetState() GitSignatureState
func (*GpgSignature) GetWasSignedByGitHub ¶
func (x *GpgSignature) GetWasSignedByGitHub() bool
type GrantEnterpriseOrganizationsMigratorRoleInput ¶
type GrantEnterpriseOrganizationsMigratorRoleInput struct {
// EnterpriseId: The ID of the enterprise to which all organizations managed by it will be granted the migrator role.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of the user to grant the migrator role.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
GrantEnterpriseOrganizationsMigratorRoleInput (INPUT_OBJECT): Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole.
type GrantEnterpriseOrganizationsMigratorRolePayload ¶
type GrantEnterpriseOrganizationsMigratorRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Organizations: The organizations that had the migrator role applied to for the given user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Organizations *OrganizationConnection `json:"organizations,omitempty"`
}
GrantEnterpriseOrganizationsMigratorRolePayload (OBJECT): Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole.
func (*GrantEnterpriseOrganizationsMigratorRolePayload) GetClientMutationId ¶
func (x *GrantEnterpriseOrganizationsMigratorRolePayload) GetClientMutationId() string
func (*GrantEnterpriseOrganizationsMigratorRolePayload) GetOrganizations ¶
func (x *GrantEnterpriseOrganizationsMigratorRolePayload) GetOrganizations() *OrganizationConnection
type GrantMigratorRoleInput ¶
type GrantMigratorRoleInput struct {
// OrganizationId: The ID of the organization that the user/team belongs to.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// Actor: The user login or Team slug to grant the migrator role.
//
// GraphQL type: String!
Actor string `json:"actor,omitempty"`
// ActorType: Specifies the type of the actor, can be either USER or TEAM.
//
// GraphQL type: ActorType!
ActorType ActorType `json:"actorType,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
GrantMigratorRoleInput (INPUT_OBJECT): Autogenerated input type of GrantMigratorRole.
type GrantMigratorRolePayload ¶
type GrantMigratorRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Success: Did the operation succeed?.
Success bool `json:"success,omitempty"`
}
GrantMigratorRolePayload (OBJECT): Autogenerated return type of GrantMigratorRole.
func (*GrantMigratorRolePayload) GetClientMutationId ¶
func (x *GrantMigratorRolePayload) GetClientMutationId() string
func (*GrantMigratorRolePayload) GetSuccess ¶
func (x *GrantMigratorRolePayload) GetSuccess() bool
type HeadRefDeletedEvent ¶
type HeadRefDeletedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// HeadRef: Identifies the Ref associated with the `head_ref_deleted` event.
HeadRef *Ref `json:"headRef,omitempty"`
// HeadRefName: Identifies the name of the Ref associated with the `head_ref_deleted` event.
HeadRefName string `json:"headRefName,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
HeadRefDeletedEvent (OBJECT): Represents a 'head_ref_deleted' event on a given pull request.
func (*HeadRefDeletedEvent) GetActor ¶
func (x *HeadRefDeletedEvent) GetActor() Actor
func (*HeadRefDeletedEvent) GetCreatedAt ¶
func (x *HeadRefDeletedEvent) GetCreatedAt() DateTime
func (*HeadRefDeletedEvent) GetHeadRef ¶
func (x *HeadRefDeletedEvent) GetHeadRef() *Ref
func (*HeadRefDeletedEvent) GetHeadRefName ¶
func (x *HeadRefDeletedEvent) GetHeadRefName() string
func (*HeadRefDeletedEvent) GetId ¶
func (x *HeadRefDeletedEvent) GetId() ID
func (*HeadRefDeletedEvent) GetPullRequest ¶
func (x *HeadRefDeletedEvent) GetPullRequest() *PullRequest
type HeadRefForcePushedEvent ¶
type HeadRefForcePushedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// AfterCommit: Identifies the after commit SHA for the 'head_ref_force_pushed' event.
AfterCommit *Commit `json:"afterCommit,omitempty"`
// BeforeCommit: Identifies the before commit SHA for the 'head_ref_force_pushed' event.
BeforeCommit *Commit `json:"beforeCommit,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Ref: Identifies the fully qualified ref name for the 'head_ref_force_pushed' event.
Ref *Ref `json:"ref,omitempty"`
}
HeadRefForcePushedEvent (OBJECT): Represents a 'head_ref_force_pushed' event on a given pull request.
func (*HeadRefForcePushedEvent) GetActor ¶
func (x *HeadRefForcePushedEvent) GetActor() Actor
func (*HeadRefForcePushedEvent) GetAfterCommit ¶
func (x *HeadRefForcePushedEvent) GetAfterCommit() *Commit
func (*HeadRefForcePushedEvent) GetBeforeCommit ¶
func (x *HeadRefForcePushedEvent) GetBeforeCommit() *Commit
func (*HeadRefForcePushedEvent) GetCreatedAt ¶
func (x *HeadRefForcePushedEvent) GetCreatedAt() DateTime
func (*HeadRefForcePushedEvent) GetId ¶
func (x *HeadRefForcePushedEvent) GetId() ID
func (*HeadRefForcePushedEvent) GetPullRequest ¶
func (x *HeadRefForcePushedEvent) GetPullRequest() *PullRequest
func (*HeadRefForcePushedEvent) GetRef ¶
func (x *HeadRefForcePushedEvent) GetRef() *Ref
type HeadRefRestoredEvent ¶
type HeadRefRestoredEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
HeadRefRestoredEvent (OBJECT): Represents a 'head_ref_restored' event on a given pull request.
func (*HeadRefRestoredEvent) GetActor ¶
func (x *HeadRefRestoredEvent) GetActor() Actor
func (*HeadRefRestoredEvent) GetCreatedAt ¶
func (x *HeadRefRestoredEvent) GetCreatedAt() DateTime
func (*HeadRefRestoredEvent) GetId ¶
func (x *HeadRefRestoredEvent) GetId() ID
func (*HeadRefRestoredEvent) GetPullRequest ¶
func (x *HeadRefRestoredEvent) GetPullRequest() *PullRequest
type Hovercard ¶
type Hovercard struct {
// Contexts: Each of the contexts for this hovercard.
Contexts []HovercardContext `json:"contexts,omitempty"`
}
Hovercard (OBJECT): Detail needed to display a hovercard for a user.
func (*Hovercard) GetContexts ¶
func (x *Hovercard) GetContexts() []HovercardContext
type HovercardContext ¶
type HovercardContext struct {
Interface HovercardContext_Interface
}
func (*HovercardContext) MarshalJSON ¶
func (x *HovercardContext) MarshalJSON() ([]byte, error)
func (*HovercardContext) UnmarshalJSON ¶
func (x *HovercardContext) UnmarshalJSON(js []byte) error
type HovercardContext_Interface ¶
type HovercardContext_Interface interface {
GetMessage() string
GetOcticon() string
// contains filtered or unexported methods
}
HovercardContext (INTERFACE): An individual line of a hovercard. HovercardContext_Interface: An individual line of a hovercard.
Possible types:
- *GenericHovercardContext
- *OrganizationTeamsHovercardContext
- *OrganizationsHovercardContext
- *ReviewStatusHovercardContext
- *ViewerHovercardContext
type ID ¶
type ID string
ID (SCALAR): Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID.
type IdentityProviderConfigurationState ¶
type IdentityProviderConfigurationState string
IdentityProviderConfigurationState (ENUM): The possible states in which authentication can be configured with an identity provider.
const IdentityProviderConfigurationState_CONFIGURED IdentityProviderConfigurationState = "CONFIGURED"
IdentityProviderConfigurationState_CONFIGURED: Authentication with an identity provider is configured but not enforced.
const IdentityProviderConfigurationState_ENFORCED IdentityProviderConfigurationState = "ENFORCED"
IdentityProviderConfigurationState_ENFORCED: Authentication with an identity provider is configured and enforced.
const IdentityProviderConfigurationState_UNCONFIGURED IdentityProviderConfigurationState = "UNCONFIGURED"
IdentityProviderConfigurationState_UNCONFIGURED: Authentication with an identity provider is not configured.
type Int ¶
type Int int
Int (SCALAR): Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
type InviteEnterpriseAdminInput ¶
type InviteEnterpriseAdminInput struct {
// EnterpriseId: The ID of the enterprise to which you want to invite an administrator.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Invitee: The login of a user to invite as an administrator.
//
// GraphQL type: String
Invitee string `json:"invitee,omitempty"`
// Email: The email of the person to invite as an administrator.
//
// GraphQL type: String
Email string `json:"email,omitempty"`
// Role: The role of the administrator.
//
// GraphQL type: EnterpriseAdministratorRole
Role EnterpriseAdministratorRole `json:"role,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
InviteEnterpriseAdminInput (INPUT_OBJECT): Autogenerated input type of InviteEnterpriseAdmin.
type InviteEnterpriseAdminPayload ¶
type InviteEnterpriseAdminPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Invitation: The created enterprise administrator invitation.
Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
}
InviteEnterpriseAdminPayload (OBJECT): Autogenerated return type of InviteEnterpriseAdmin.
func (*InviteEnterpriseAdminPayload) GetClientMutationId ¶
func (x *InviteEnterpriseAdminPayload) GetClientMutationId() string
func (*InviteEnterpriseAdminPayload) GetInvitation ¶
func (x *InviteEnterpriseAdminPayload) GetInvitation() *EnterpriseAdministratorInvitation
type IpAllowListEnabledSettingValue ¶
type IpAllowListEnabledSettingValue string
IpAllowListEnabledSettingValue (ENUM): The possible values for the IP allow list enabled setting.
const IpAllowListEnabledSettingValue_DISABLED IpAllowListEnabledSettingValue = "DISABLED"
IpAllowListEnabledSettingValue_DISABLED: The setting is disabled for the owner.
const IpAllowListEnabledSettingValue_ENABLED IpAllowListEnabledSettingValue = "ENABLED"
IpAllowListEnabledSettingValue_ENABLED: The setting is enabled for the owner.
type IpAllowListEntry ¶
type IpAllowListEntry struct {
// AllowListValue: A single IP address or range of IP addresses in CIDR notation.
AllowListValue string `json:"allowListValue,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsActive: Whether the entry is currently active.
IsActive bool `json:"isActive,omitempty"`
// Name: The name of the IP allow list entry.
Name string `json:"name,omitempty"`
// Owner: The owner of the IP allow list entry.
Owner IpAllowListOwner `json:"owner,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
IpAllowListEntry (OBJECT): An IP address or range of addresses that is allowed to access an owner's resources.
func (*IpAllowListEntry) GetAllowListValue ¶
func (x *IpAllowListEntry) GetAllowListValue() string
func (*IpAllowListEntry) GetCreatedAt ¶
func (x *IpAllowListEntry) GetCreatedAt() DateTime
func (*IpAllowListEntry) GetId ¶
func (x *IpAllowListEntry) GetId() ID
func (*IpAllowListEntry) GetIsActive ¶
func (x *IpAllowListEntry) GetIsActive() bool
func (*IpAllowListEntry) GetName ¶
func (x *IpAllowListEntry) GetName() string
func (*IpAllowListEntry) GetOwner ¶
func (x *IpAllowListEntry) GetOwner() IpAllowListOwner
func (*IpAllowListEntry) GetUpdatedAt ¶
func (x *IpAllowListEntry) GetUpdatedAt() DateTime
type IpAllowListEntryConnection ¶
type IpAllowListEntryConnection struct {
// Edges: A list of edges.
Edges []*IpAllowListEntryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*IpAllowListEntry `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
IpAllowListEntryConnection (OBJECT): The connection type for IpAllowListEntry.
func (*IpAllowListEntryConnection) GetEdges ¶
func (x *IpAllowListEntryConnection) GetEdges() []*IpAllowListEntryEdge
func (*IpAllowListEntryConnection) GetNodes ¶
func (x *IpAllowListEntryConnection) GetNodes() []*IpAllowListEntry
func (*IpAllowListEntryConnection) GetPageInfo ¶
func (x *IpAllowListEntryConnection) GetPageInfo() *PageInfo
func (*IpAllowListEntryConnection) GetTotalCount ¶
func (x *IpAllowListEntryConnection) GetTotalCount() int
type IpAllowListEntryEdge ¶
type IpAllowListEntryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *IpAllowListEntry `json:"node,omitempty"`
}
IpAllowListEntryEdge (OBJECT): An edge in a connection.
func (*IpAllowListEntryEdge) GetCursor ¶
func (x *IpAllowListEntryEdge) GetCursor() string
func (*IpAllowListEntryEdge) GetNode ¶
func (x *IpAllowListEntryEdge) GetNode() *IpAllowListEntry
type IpAllowListEntryOrder ¶
type IpAllowListEntryOrder struct {
// Field: The field to order IP allow list entries by.
//
// GraphQL type: IpAllowListEntryOrderField!
Field IpAllowListEntryOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
IpAllowListEntryOrder (INPUT_OBJECT): Ordering options for IP allow list entry connections.
type IpAllowListEntryOrderField ¶
type IpAllowListEntryOrderField string
IpAllowListEntryOrderField (ENUM): Properties by which IP allow list entry connections can be ordered.
const IpAllowListEntryOrderField_ALLOW_LIST_VALUE IpAllowListEntryOrderField = "ALLOW_LIST_VALUE"
IpAllowListEntryOrderField_ALLOW_LIST_VALUE: Order IP allow list entries by the allow list value.
const IpAllowListEntryOrderField_CREATED_AT IpAllowListEntryOrderField = "CREATED_AT"
IpAllowListEntryOrderField_CREATED_AT: Order IP allow list entries by creation time.
type IpAllowListForInstalledAppsEnabledSettingValue ¶
type IpAllowListForInstalledAppsEnabledSettingValue string
IpAllowListForInstalledAppsEnabledSettingValue (ENUM): The possible values for the IP allow list configuration for installed GitHub Apps setting.
const IpAllowListForInstalledAppsEnabledSettingValue_DISABLED IpAllowListForInstalledAppsEnabledSettingValue = "DISABLED"
IpAllowListForInstalledAppsEnabledSettingValue_DISABLED: The setting is disabled for the owner.
const IpAllowListForInstalledAppsEnabledSettingValue_ENABLED IpAllowListForInstalledAppsEnabledSettingValue = "ENABLED"
IpAllowListForInstalledAppsEnabledSettingValue_ENABLED: The setting is enabled for the owner.
type IpAllowListOwner ¶
type IpAllowListOwner struct {
Interface IpAllowListOwner_Interface
}
func (*IpAllowListOwner) MarshalJSON ¶
func (x *IpAllowListOwner) MarshalJSON() ([]byte, error)
func (*IpAllowListOwner) UnmarshalJSON ¶
func (x *IpAllowListOwner) UnmarshalJSON(js []byte) error
type IpAllowListOwner_Interface ¶
type IpAllowListOwner_Interface interface {
// contains filtered or unexported methods
}
IpAllowListOwner (UNION): Types that can own an IP allow list. IpAllowListOwner_Interface: Types that can own an IP allow list.
Possible types:
- *App
- *Enterprise
- *Organization
type Issue ¶
type Issue struct {
// ActiveLockReason: Reason that the conversation was locked.
ActiveLockReason LockReason `json:"activeLockReason,omitempty"`
// Assignees: A list of Users assigned to this object.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Assignees *UserConnection `json:"assignees,omitempty"`
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: Identifies the body of the issue.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyResourcePath: The http path for this issue body.
BodyResourcePath URI `json:"bodyResourcePath,omitempty"`
// BodyText: Identifies the body of the issue rendered to text.
BodyText string `json:"bodyText,omitempty"`
// BodyUrl: The http URL for this issue body.
BodyUrl URI `json:"bodyUrl,omitempty"`
// Closed: `true` if the object is closed (definition of closed may depend on type).
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// Comments: A list of comments associated with the Issue.
//
// Query arguments:
// - orderBy IssueCommentOrder
// - after String
// - before String
// - first Int
// - last Int
Comments *IssueCommentConnection `json:"comments,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Hovercard: The hovercard information for this issue.
//
// Query arguments:
// - includeNotificationContexts Boolean
Hovercard *Hovercard `json:"hovercard,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsPinned: Indicates whether or not this issue is currently pinned to the repository issues list.
IsPinned bool `json:"isPinned,omitempty"`
// IsReadByViewer: Is this issue read by the viewer.
IsReadByViewer bool `json:"isReadByViewer,omitempty"`
// Labels: A list of labels associated with the object.
//
// Query arguments:
// - orderBy LabelOrder
// - after String
// - before String
// - first Int
// - last Int
Labels *LabelConnection `json:"labels,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// Locked: `true` if the object is locked.
Locked bool `json:"locked,omitempty"`
// Milestone: Identifies the milestone associated with the issue.
Milestone *Milestone `json:"milestone,omitempty"`
// Number: Identifies the issue number.
Number int `json:"number,omitempty"`
// Participants: A list of Users that are participating in the Issue conversation.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Participants *UserConnection `json:"participants,omitempty"`
// ProjectCards: List of project cards associated with this issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - archivedStates [ProjectCardArchivedState]
ProjectCards *ProjectCardConnection `json:"projectCards,omitempty"`
// ProjectItems: List of project items associated with this issue.
//
// Query arguments:
// - includeArchived Boolean
// - after String
// - before String
// - first Int
// - last Int
ProjectItems *ProjectV2ItemConnection `json:"projectItems,omitempty"`
// ProjectNext: Find a project by project (beta) number.
//
// Deprecated: Find a project by project (beta) number.
//
// Query arguments:
// - number Int!
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
// ProjectNextItems: List of project (beta) items associated with this issue.
//
// Query arguments:
// - includeArchived Boolean
// - after String
// - before String
// - first Int
// - last Int
ProjectNextItems *ProjectNextItemConnection `json:"projectNextItems,omitempty"`
// ProjectV2: Find a project by number.
//
// Query arguments:
// - number Int!
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
// ProjectsNext: A list of projects (beta) under the owner.
//
// Deprecated: A list of projects (beta) under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - sortBy ProjectNextOrderField
ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"`
// ProjectsV2: A list of projects under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy ProjectV2Order
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this issue.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: Identifies the state of the issue.
State IssueState `json:"state,omitempty"`
// StateReason: Identifies the reason for the issue state.
StateReason IssueStateReason `json:"stateReason,omitempty"`
// Timeline: A list of events, comments, commits, etc. associated with the issue.
//
// Deprecated: A list of events, comments, commits, etc. associated with the issue.
//
// Query arguments:
// - since DateTime
// - after String
// - before String
// - first Int
// - last Int
Timeline *IssueTimelineConnection `json:"timeline,omitempty"`
// TimelineItems: A list of events, comments, commits, etc. associated with the issue.
//
// Query arguments:
// - since DateTime
// - skip Int
// - itemTypes [IssueTimelineItemsItemType!]
// - after String
// - before String
// - first Int
// - last Int
TimelineItems *IssueTimelineItemsConnection `json:"timelineItems,omitempty"`
// Title: Identifies the issue title.
Title string `json:"title,omitempty"`
// TitleHTML: Identifies the issue title rendered to HTML.
TitleHTML string `json:"titleHTML,omitempty"`
// TrackedInIssues: A list of issues that track this issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
TrackedInIssues *IssueConnection `json:"trackedInIssues,omitempty"`
// TrackedIssues: A list of issues tracked inside the current issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
TrackedIssues *IssueConnection `json:"trackedIssues,omitempty"`
// TrackedIssuesCount: The number of tracked issues for this issue.
//
// Query arguments:
// - states [TrackedIssueStates]
TrackedIssuesCount int `json:"trackedIssuesCount,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this issue.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
}
Issue (OBJECT): An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
func (*Issue) GetActiveLockReason ¶
func (x *Issue) GetActiveLockReason() LockReason
func (*Issue) GetAssignees ¶
func (x *Issue) GetAssignees() *UserConnection
func (*Issue) GetAuthorAssociation ¶
func (x *Issue) GetAuthorAssociation() CommentAuthorAssociation
func (*Issue) GetBodyHTML ¶
func (*Issue) GetBodyResourcePath ¶
func (*Issue) GetBodyText ¶
func (*Issue) GetBodyUrl ¶
func (*Issue) GetClosedAt ¶
func (*Issue) GetComments ¶
func (x *Issue) GetComments() *IssueCommentConnection
func (*Issue) GetCreatedAt ¶
func (*Issue) GetCreatedViaEmail ¶
func (*Issue) GetDatabaseId ¶
func (*Issue) GetHovercard ¶
func (*Issue) GetIncludesCreatedEdit ¶
func (*Issue) GetIsPinned ¶
func (*Issue) GetIsReadByViewer ¶
func (*Issue) GetLabels ¶
func (x *Issue) GetLabels() *LabelConnection
func (*Issue) GetLastEditedAt ¶
func (*Issue) GetMilestone ¶
func (*Issue) GetParticipants ¶
func (x *Issue) GetParticipants() *UserConnection
func (*Issue) GetProjectCards ¶
func (x *Issue) GetProjectCards() *ProjectCardConnection
func (*Issue) GetProjectItems ¶
func (x *Issue) GetProjectItems() *ProjectV2ItemConnection
func (*Issue) GetProjectNext ¶
func (x *Issue) GetProjectNext() *ProjectNext
func (*Issue) GetProjectNextItems ¶
func (x *Issue) GetProjectNextItems() *ProjectNextItemConnection
func (*Issue) GetProjectV2 ¶
func (*Issue) GetProjectsNext ¶
func (x *Issue) GetProjectsNext() *ProjectNextConnection
func (*Issue) GetProjectsV2 ¶
func (x *Issue) GetProjectsV2() *ProjectV2Connection
func (*Issue) GetPublishedAt ¶
func (*Issue) GetReactionGroups ¶
func (x *Issue) GetReactionGroups() []*ReactionGroup
func (*Issue) GetReactions ¶
func (x *Issue) GetReactions() *ReactionConnection
func (*Issue) GetRepository ¶
func (x *Issue) GetRepository() *Repository
func (*Issue) GetResourcePath ¶
func (*Issue) GetState ¶
func (x *Issue) GetState() IssueState
func (*Issue) GetStateReason ¶
func (x *Issue) GetStateReason() IssueStateReason
func (*Issue) GetTimeline ¶
func (x *Issue) GetTimeline() *IssueTimelineConnection
func (*Issue) GetTimelineItems ¶
func (x *Issue) GetTimelineItems() *IssueTimelineItemsConnection
func (*Issue) GetTitleHTML ¶
func (*Issue) GetTrackedInIssues ¶
func (x *Issue) GetTrackedInIssues() *IssueConnection
func (*Issue) GetTrackedIssues ¶
func (x *Issue) GetTrackedIssues() *IssueConnection
func (*Issue) GetTrackedIssuesCount ¶
func (*Issue) GetUpdatedAt ¶
func (*Issue) GetUserContentEdits ¶
func (x *Issue) GetUserContentEdits() *UserContentEditConnection
func (*Issue) GetViewerCanReact ¶
func (*Issue) GetViewerCanSubscribe ¶
func (*Issue) GetViewerCanUpdate ¶
func (*Issue) GetViewerCannotUpdateReasons ¶
func (x *Issue) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*Issue) GetViewerDidAuthor ¶
func (*Issue) GetViewerSubscription ¶
func (x *Issue) GetViewerSubscription() SubscriptionState
type IssueClosedStateReason ¶
type IssueClosedStateReason string
IssueClosedStateReason (ENUM): The possible state reasons of a closed issue.
const IssueClosedStateReason_COMPLETED IssueClosedStateReason = "COMPLETED"
IssueClosedStateReason_COMPLETED: An issue that has been closed as completed.
const IssueClosedStateReason_NOT_PLANNED IssueClosedStateReason = "NOT_PLANNED"
IssueClosedStateReason_NOT_PLANNED: An issue that has been closed as not planned.
type IssueComment ¶
type IssueComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The body as Markdown.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsMinimized: Returns whether or not a comment has been minimized.
IsMinimized bool `json:"isMinimized,omitempty"`
// Issue: Identifies the issue associated with the comment.
Issue *Issue `json:"issue,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// MinimizedReason: Returns why the comment was minimized.
MinimizedReason string `json:"minimizedReason,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// PullRequest: Returns the pull request associated with the comment, if this comment was made on a
// pull request.
// .
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this issue comment.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this issue comment.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanMinimize: Check if the current viewer can minimize this object.
ViewerCanMinimize bool `json:"viewerCanMinimize,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
IssueComment (OBJECT): Represents a comment on an Issue.
func (*IssueComment) GetAuthor ¶
func (x *IssueComment) GetAuthor() Actor
func (*IssueComment) GetAuthorAssociation ¶
func (x *IssueComment) GetAuthorAssociation() CommentAuthorAssociation
func (*IssueComment) GetBody ¶
func (x *IssueComment) GetBody() string
func (*IssueComment) GetBodyHTML ¶
func (x *IssueComment) GetBodyHTML() template.HTML
func (*IssueComment) GetBodyText ¶
func (x *IssueComment) GetBodyText() string
func (*IssueComment) GetCreatedAt ¶
func (x *IssueComment) GetCreatedAt() DateTime
func (*IssueComment) GetCreatedViaEmail ¶
func (x *IssueComment) GetCreatedViaEmail() bool
func (*IssueComment) GetDatabaseId ¶
func (x *IssueComment) GetDatabaseId() int
func (*IssueComment) GetEditor ¶
func (x *IssueComment) GetEditor() Actor
func (*IssueComment) GetId ¶
func (x *IssueComment) GetId() ID
func (*IssueComment) GetIncludesCreatedEdit ¶
func (x *IssueComment) GetIncludesCreatedEdit() bool
func (*IssueComment) GetIsMinimized ¶
func (x *IssueComment) GetIsMinimized() bool
func (*IssueComment) GetIssue ¶
func (x *IssueComment) GetIssue() *Issue
func (*IssueComment) GetLastEditedAt ¶
func (x *IssueComment) GetLastEditedAt() DateTime
func (*IssueComment) GetMinimizedReason ¶
func (x *IssueComment) GetMinimizedReason() string
func (*IssueComment) GetPublishedAt ¶
func (x *IssueComment) GetPublishedAt() DateTime
func (*IssueComment) GetPullRequest ¶
func (x *IssueComment) GetPullRequest() *PullRequest
func (*IssueComment) GetReactionGroups ¶
func (x *IssueComment) GetReactionGroups() []*ReactionGroup
func (*IssueComment) GetReactions ¶
func (x *IssueComment) GetReactions() *ReactionConnection
func (*IssueComment) GetRepository ¶
func (x *IssueComment) GetRepository() *Repository
func (*IssueComment) GetResourcePath ¶
func (x *IssueComment) GetResourcePath() URI
func (*IssueComment) GetUpdatedAt ¶
func (x *IssueComment) GetUpdatedAt() DateTime
func (*IssueComment) GetUrl ¶
func (x *IssueComment) GetUrl() URI
func (*IssueComment) GetUserContentEdits ¶
func (x *IssueComment) GetUserContentEdits() *UserContentEditConnection
func (*IssueComment) GetViewerCanDelete ¶
func (x *IssueComment) GetViewerCanDelete() bool
func (*IssueComment) GetViewerCanMinimize ¶
func (x *IssueComment) GetViewerCanMinimize() bool
func (*IssueComment) GetViewerCanReact ¶
func (x *IssueComment) GetViewerCanReact() bool
func (*IssueComment) GetViewerCanUpdate ¶
func (x *IssueComment) GetViewerCanUpdate() bool
func (*IssueComment) GetViewerCannotUpdateReasons ¶
func (x *IssueComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*IssueComment) GetViewerDidAuthor ¶
func (x *IssueComment) GetViewerDidAuthor() bool
type IssueCommentConnection ¶
type IssueCommentConnection struct {
// Edges: A list of edges.
Edges []*IssueCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*IssueComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
IssueCommentConnection (OBJECT): The connection type for IssueComment.
func (*IssueCommentConnection) GetEdges ¶
func (x *IssueCommentConnection) GetEdges() []*IssueCommentEdge
func (*IssueCommentConnection) GetNodes ¶
func (x *IssueCommentConnection) GetNodes() []*IssueComment
func (*IssueCommentConnection) GetPageInfo ¶
func (x *IssueCommentConnection) GetPageInfo() *PageInfo
func (*IssueCommentConnection) GetTotalCount ¶
func (x *IssueCommentConnection) GetTotalCount() int
type IssueCommentEdge ¶
type IssueCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *IssueComment `json:"node,omitempty"`
}
IssueCommentEdge (OBJECT): An edge in a connection.
func (*IssueCommentEdge) GetCursor ¶
func (x *IssueCommentEdge) GetCursor() string
func (*IssueCommentEdge) GetNode ¶
func (x *IssueCommentEdge) GetNode() *IssueComment
type IssueCommentOrder ¶
type IssueCommentOrder struct {
// Field: The field in which to order issue comments by.
//
// GraphQL type: IssueCommentOrderField!
Field IssueCommentOrderField `json:"field,omitempty"`
// Direction: The direction in which to order issue comments by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
IssueCommentOrder (INPUT_OBJECT): Ways in which lists of issue comments can be ordered upon return.
type IssueCommentOrderField ¶
type IssueCommentOrderField string
IssueCommentOrderField (ENUM): Properties by which issue comment connections can be ordered.
const IssueCommentOrderField_UPDATED_AT IssueCommentOrderField = "UPDATED_AT"
IssueCommentOrderField_UPDATED_AT: Order issue comments by update time.
type IssueConnection ¶
type IssueConnection struct {
// Edges: A list of edges.
Edges []*IssueEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Issue `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
IssueConnection (OBJECT): The connection type for Issue.
func (*IssueConnection) GetEdges ¶
func (x *IssueConnection) GetEdges() []*IssueEdge
func (*IssueConnection) GetNodes ¶
func (x *IssueConnection) GetNodes() []*Issue
func (*IssueConnection) GetPageInfo ¶
func (x *IssueConnection) GetPageInfo() *PageInfo
func (*IssueConnection) GetTotalCount ¶
func (x *IssueConnection) GetTotalCount() int
type IssueContributionsByRepository ¶
type IssueContributionsByRepository struct {
// Contributions: The issue contributions.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ContributionOrder
Contributions *CreatedIssueContributionConnection `json:"contributions,omitempty"`
// Repository: The repository in which the issues were opened.
Repository *Repository `json:"repository,omitempty"`
}
IssueContributionsByRepository (OBJECT): This aggregates issues opened by a user within one repository.
func (*IssueContributionsByRepository) GetContributions ¶
func (x *IssueContributionsByRepository) GetContributions() *CreatedIssueContributionConnection
func (*IssueContributionsByRepository) GetRepository ¶
func (x *IssueContributionsByRepository) GetRepository() *Repository
type IssueEdge ¶
type IssueEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Issue `json:"node,omitempty"`
}
IssueEdge (OBJECT): An edge in a connection.
type IssueFilters ¶
type IssueFilters struct {
// Assignee: List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user.
//
// GraphQL type: String
Assignee string `json:"assignee,omitempty"`
// CreatedBy: List issues created by given name.
//
// GraphQL type: String
CreatedBy string `json:"createdBy,omitempty"`
// Labels: List issues where the list of label names exist on the issue.
//
// GraphQL type: [String!]
Labels []string `json:"labels,omitempty"`
// Mentioned: List issues where the given name is mentioned in the issue.
//
// GraphQL type: String
Mentioned string `json:"mentioned,omitempty"`
// Milestone: List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
//
// GraphQL type: String
Milestone string `json:"milestone,omitempty"`
// MilestoneNumber: List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
//
// GraphQL type: String
MilestoneNumber string `json:"milestoneNumber,omitempty"`
// Since: List issues that have been updated at or after the given date.
//
// GraphQL type: DateTime
Since DateTime `json:"since,omitempty"`
// States: List issues filtered by the list of states given.
//
// GraphQL type: [IssueState!]
States []IssueState `json:"states,omitempty"`
// ViewerSubscribed: List issues subscribed to by viewer.
//
// GraphQL type: Boolean
ViewerSubscribed bool `json:"viewerSubscribed,omitempty"`
}
IssueFilters (INPUT_OBJECT): Ways in which to filter lists of issues.
type IssueOrPullRequest ¶
type IssueOrPullRequest struct {
Interface IssueOrPullRequest_Interface
}
func (*IssueOrPullRequest) MarshalJSON ¶
func (x *IssueOrPullRequest) MarshalJSON() ([]byte, error)
func (*IssueOrPullRequest) UnmarshalJSON ¶
func (x *IssueOrPullRequest) UnmarshalJSON(js []byte) error
type IssueOrPullRequest_Interface ¶
type IssueOrPullRequest_Interface interface {
// contains filtered or unexported methods
}
IssueOrPullRequest (UNION): Used for return value of Repository.issueOrPullRequest. IssueOrPullRequest_Interface: Used for return value of Repository.issueOrPullRequest.
Possible types:
- *Issue
- *PullRequest
type IssueOrder ¶
type IssueOrder struct {
// Field: The field in which to order issues by.
//
// GraphQL type: IssueOrderField!
Field IssueOrderField `json:"field,omitempty"`
// Direction: The direction in which to order issues by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
IssueOrder (INPUT_OBJECT): Ways in which lists of issues can be ordered upon return.
type IssueOrderField ¶
type IssueOrderField string
IssueOrderField (ENUM): Properties by which issue connections can be ordered.
const IssueOrderField_COMMENTS IssueOrderField = "COMMENTS"
IssueOrderField_COMMENTS: Order issues by comment count.
const IssueOrderField_CREATED_AT IssueOrderField = "CREATED_AT"
IssueOrderField_CREATED_AT: Order issues by creation time.
const IssueOrderField_UPDATED_AT IssueOrderField = "UPDATED_AT"
IssueOrderField_UPDATED_AT: Order issues by update time.
type IssueState ¶
type IssueState string
IssueState (ENUM): The possible states of an issue.
const IssueState_CLOSED IssueState = "CLOSED"
IssueState_CLOSED: An issue that has been closed.
const IssueState_OPEN IssueState = "OPEN"
IssueState_OPEN: An issue that is still open.
type IssueStateReason ¶
type IssueStateReason string
IssueStateReason (ENUM): The possible state reasons of an issue.
const IssueStateReason_COMPLETED IssueStateReason = "COMPLETED"
IssueStateReason_COMPLETED: An issue that has been closed as completed.
const IssueStateReason_NOT_PLANNED IssueStateReason = "NOT_PLANNED"
IssueStateReason_NOT_PLANNED: An issue that has been closed as not planned.
const IssueStateReason_REOPENED IssueStateReason = "REOPENED"
IssueStateReason_REOPENED: An issue that has been reopened.
type IssueTemplate ¶
type IssueTemplate struct {
// About: The template purpose.
About string `json:"about,omitempty"`
// Body: The suggested issue body.
Body string `json:"body,omitempty"`
// Name: The template name.
Name string `json:"name,omitempty"`
// Title: The suggested issue title.
Title string `json:"title,omitempty"`
}
IssueTemplate (OBJECT): A repository issue template.
func (*IssueTemplate) GetAbout ¶
func (x *IssueTemplate) GetAbout() string
func (*IssueTemplate) GetBody ¶
func (x *IssueTemplate) GetBody() string
func (*IssueTemplate) GetName ¶
func (x *IssueTemplate) GetName() string
func (*IssueTemplate) GetTitle ¶
func (x *IssueTemplate) GetTitle() string
type IssueTimelineConnection ¶
type IssueTimelineConnection struct {
// Edges: A list of edges.
Edges []*IssueTimelineItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []IssueTimelineItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
IssueTimelineConnection (OBJECT): The connection type for IssueTimelineItem.
func (*IssueTimelineConnection) GetEdges ¶
func (x *IssueTimelineConnection) GetEdges() []*IssueTimelineItemEdge
func (*IssueTimelineConnection) GetNodes ¶
func (x *IssueTimelineConnection) GetNodes() []IssueTimelineItem
func (*IssueTimelineConnection) GetPageInfo ¶
func (x *IssueTimelineConnection) GetPageInfo() *PageInfo
func (*IssueTimelineConnection) GetTotalCount ¶
func (x *IssueTimelineConnection) GetTotalCount() int
type IssueTimelineItem ¶
type IssueTimelineItem struct {
Interface IssueTimelineItem_Interface
}
func (*IssueTimelineItem) MarshalJSON ¶
func (x *IssueTimelineItem) MarshalJSON() ([]byte, error)
func (*IssueTimelineItem) UnmarshalJSON ¶
func (x *IssueTimelineItem) UnmarshalJSON(js []byte) error
type IssueTimelineItemEdge ¶
type IssueTimelineItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node IssueTimelineItem `json:"node,omitempty"`
}
IssueTimelineItemEdge (OBJECT): An edge in a connection.
func (*IssueTimelineItemEdge) GetCursor ¶
func (x *IssueTimelineItemEdge) GetCursor() string
func (*IssueTimelineItemEdge) GetNode ¶
func (x *IssueTimelineItemEdge) GetNode() IssueTimelineItem
type IssueTimelineItem_Interface ¶
type IssueTimelineItem_Interface interface {
// contains filtered or unexported methods
}
IssueTimelineItem (UNION): An item in an issue timeline. IssueTimelineItem_Interface: An item in an issue timeline.
Possible types:
- *AssignedEvent
- *ClosedEvent
- *Commit
- *CrossReferencedEvent
- *DemilestonedEvent
- *IssueComment
- *LabeledEvent
- *LockedEvent
- *MilestonedEvent
- *ReferencedEvent
- *RenamedTitleEvent
- *ReopenedEvent
- *SubscribedEvent
- *TransferredEvent
- *UnassignedEvent
- *UnlabeledEvent
- *UnlockedEvent
- *UnsubscribedEvent
- *UserBlockedEvent
type IssueTimelineItems ¶
type IssueTimelineItems struct {
Interface IssueTimelineItems_Interface
}
func (*IssueTimelineItems) MarshalJSON ¶
func (x *IssueTimelineItems) MarshalJSON() ([]byte, error)
func (*IssueTimelineItems) UnmarshalJSON ¶
func (x *IssueTimelineItems) UnmarshalJSON(js []byte) error
type IssueTimelineItemsConnection ¶
type IssueTimelineItemsConnection struct {
// Edges: A list of edges.
Edges []*IssueTimelineItemsEdge `json:"edges,omitempty"`
// FilteredCount: Identifies the count of items after applying `before` and `after` filters.
FilteredCount int `json:"filteredCount,omitempty"`
// Nodes: A list of nodes.
Nodes []IssueTimelineItems `json:"nodes,omitempty"`
// PageCount: Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
PageCount int `json:"pageCount,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// UpdatedAt: Identifies the date and time when the timeline was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
IssueTimelineItemsConnection (OBJECT): The connection type for IssueTimelineItems.
func (*IssueTimelineItemsConnection) GetEdges ¶
func (x *IssueTimelineItemsConnection) GetEdges() []*IssueTimelineItemsEdge
func (*IssueTimelineItemsConnection) GetFilteredCount ¶
func (x *IssueTimelineItemsConnection) GetFilteredCount() int
func (*IssueTimelineItemsConnection) GetNodes ¶
func (x *IssueTimelineItemsConnection) GetNodes() []IssueTimelineItems
func (*IssueTimelineItemsConnection) GetPageCount ¶
func (x *IssueTimelineItemsConnection) GetPageCount() int
func (*IssueTimelineItemsConnection) GetPageInfo ¶
func (x *IssueTimelineItemsConnection) GetPageInfo() *PageInfo
func (*IssueTimelineItemsConnection) GetTotalCount ¶
func (x *IssueTimelineItemsConnection) GetTotalCount() int
func (*IssueTimelineItemsConnection) GetUpdatedAt ¶
func (x *IssueTimelineItemsConnection) GetUpdatedAt() DateTime
type IssueTimelineItemsEdge ¶
type IssueTimelineItemsEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node IssueTimelineItems `json:"node,omitempty"`
}
IssueTimelineItemsEdge (OBJECT): An edge in a connection.
func (*IssueTimelineItemsEdge) GetCursor ¶
func (x *IssueTimelineItemsEdge) GetCursor() string
func (*IssueTimelineItemsEdge) GetNode ¶
func (x *IssueTimelineItemsEdge) GetNode() IssueTimelineItems
type IssueTimelineItemsItemType ¶
type IssueTimelineItemsItemType string
IssueTimelineItemsItemType (ENUM): The possible item types found in a timeline.
const IssueTimelineItemsItemType_ADDED_TO_PROJECT_EVENT IssueTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT"
IssueTimelineItemsItemType_ADDED_TO_PROJECT_EVENT: Represents a 'added_to_project' event on a given issue or pull request.
const IssueTimelineItemsItemType_ASSIGNED_EVENT IssueTimelineItemsItemType = "ASSIGNED_EVENT"
IssueTimelineItemsItemType_ASSIGNED_EVENT: Represents an 'assigned' event on any assignable object.
const IssueTimelineItemsItemType_CLOSED_EVENT IssueTimelineItemsItemType = "CLOSED_EVENT"
IssueTimelineItemsItemType_CLOSED_EVENT: Represents a 'closed' event on any `Closable`.
const IssueTimelineItemsItemType_COMMENT_DELETED_EVENT IssueTimelineItemsItemType = "COMMENT_DELETED_EVENT"
IssueTimelineItemsItemType_COMMENT_DELETED_EVENT: Represents a 'comment_deleted' event on a given issue or pull request.
const IssueTimelineItemsItemType_CONNECTED_EVENT IssueTimelineItemsItemType = "CONNECTED_EVENT"
IssueTimelineItemsItemType_CONNECTED_EVENT: Represents a 'connected' event on a given issue or pull request.
const IssueTimelineItemsItemType_CONVERTED_NOTE_TO_ISSUE_EVENT IssueTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT"
IssueTimelineItemsItemType_CONVERTED_NOTE_TO_ISSUE_EVENT: Represents a 'converted_note_to_issue' event on a given issue or pull request.
const IssueTimelineItemsItemType_CONVERTED_TO_DISCUSSION_EVENT IssueTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT"
IssueTimelineItemsItemType_CONVERTED_TO_DISCUSSION_EVENT: Represents a 'converted_to_discussion' event on a given issue.
const IssueTimelineItemsItemType_CROSS_REFERENCED_EVENT IssueTimelineItemsItemType = "CROSS_REFERENCED_EVENT"
IssueTimelineItemsItemType_CROSS_REFERENCED_EVENT: Represents a mention made by one issue or pull request to another.
const IssueTimelineItemsItemType_DEMILESTONED_EVENT IssueTimelineItemsItemType = "DEMILESTONED_EVENT"
IssueTimelineItemsItemType_DEMILESTONED_EVENT: Represents a 'demilestoned' event on a given issue or pull request.
const IssueTimelineItemsItemType_DISCONNECTED_EVENT IssueTimelineItemsItemType = "DISCONNECTED_EVENT"
IssueTimelineItemsItemType_DISCONNECTED_EVENT: Represents a 'disconnected' event on a given issue or pull request.
const IssueTimelineItemsItemType_ISSUE_COMMENT IssueTimelineItemsItemType = "ISSUE_COMMENT"
IssueTimelineItemsItemType_ISSUE_COMMENT: Represents a comment on an Issue.
const IssueTimelineItemsItemType_LABELED_EVENT IssueTimelineItemsItemType = "LABELED_EVENT"
IssueTimelineItemsItemType_LABELED_EVENT: Represents a 'labeled' event on a given issue or pull request.
const IssueTimelineItemsItemType_LOCKED_EVENT IssueTimelineItemsItemType = "LOCKED_EVENT"
IssueTimelineItemsItemType_LOCKED_EVENT: Represents a 'locked' event on a given issue or pull request.
const IssueTimelineItemsItemType_MARKED_AS_DUPLICATE_EVENT IssueTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT"
IssueTimelineItemsItemType_MARKED_AS_DUPLICATE_EVENT: Represents a 'marked_as_duplicate' event on a given issue or pull request.
const IssueTimelineItemsItemType_MENTIONED_EVENT IssueTimelineItemsItemType = "MENTIONED_EVENT"
IssueTimelineItemsItemType_MENTIONED_EVENT: Represents a 'mentioned' event on a given issue or pull request.
const IssueTimelineItemsItemType_MILESTONED_EVENT IssueTimelineItemsItemType = "MILESTONED_EVENT"
IssueTimelineItemsItemType_MILESTONED_EVENT: Represents a 'milestoned' event on a given issue or pull request.
const IssueTimelineItemsItemType_MOVED_COLUMNS_IN_PROJECT_EVENT IssueTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT"
IssueTimelineItemsItemType_MOVED_COLUMNS_IN_PROJECT_EVENT: Represents a 'moved_columns_in_project' event on a given issue or pull request.
const IssueTimelineItemsItemType_PINNED_EVENT IssueTimelineItemsItemType = "PINNED_EVENT"
IssueTimelineItemsItemType_PINNED_EVENT: Represents a 'pinned' event on a given issue or pull request.
const IssueTimelineItemsItemType_REFERENCED_EVENT IssueTimelineItemsItemType = "REFERENCED_EVENT"
IssueTimelineItemsItemType_REFERENCED_EVENT: Represents a 'referenced' event on a given `ReferencedSubject`.
const IssueTimelineItemsItemType_REMOVED_FROM_PROJECT_EVENT IssueTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT"
IssueTimelineItemsItemType_REMOVED_FROM_PROJECT_EVENT: Represents a 'removed_from_project' event on a given issue or pull request.
const IssueTimelineItemsItemType_RENAMED_TITLE_EVENT IssueTimelineItemsItemType = "RENAMED_TITLE_EVENT"
IssueTimelineItemsItemType_RENAMED_TITLE_EVENT: Represents a 'renamed' event on a given issue or pull request.
const IssueTimelineItemsItemType_REOPENED_EVENT IssueTimelineItemsItemType = "REOPENED_EVENT"
IssueTimelineItemsItemType_REOPENED_EVENT: Represents a 'reopened' event on any `Closable`.
const IssueTimelineItemsItemType_SUBSCRIBED_EVENT IssueTimelineItemsItemType = "SUBSCRIBED_EVENT"
IssueTimelineItemsItemType_SUBSCRIBED_EVENT: Represents a 'subscribed' event on a given `Subscribable`.
const IssueTimelineItemsItemType_TRANSFERRED_EVENT IssueTimelineItemsItemType = "TRANSFERRED_EVENT"
IssueTimelineItemsItemType_TRANSFERRED_EVENT: Represents a 'transferred' event on a given issue or pull request.
const IssueTimelineItemsItemType_UNASSIGNED_EVENT IssueTimelineItemsItemType = "UNASSIGNED_EVENT"
IssueTimelineItemsItemType_UNASSIGNED_EVENT: Represents an 'unassigned' event on any assignable object.
const IssueTimelineItemsItemType_UNLABELED_EVENT IssueTimelineItemsItemType = "UNLABELED_EVENT"
IssueTimelineItemsItemType_UNLABELED_EVENT: Represents an 'unlabeled' event on a given issue or pull request.
const IssueTimelineItemsItemType_UNLOCKED_EVENT IssueTimelineItemsItemType = "UNLOCKED_EVENT"
IssueTimelineItemsItemType_UNLOCKED_EVENT: Represents an 'unlocked' event on a given issue or pull request.
const IssueTimelineItemsItemType_UNMARKED_AS_DUPLICATE_EVENT IssueTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT"
IssueTimelineItemsItemType_UNMARKED_AS_DUPLICATE_EVENT: Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
const IssueTimelineItemsItemType_UNPINNED_EVENT IssueTimelineItemsItemType = "UNPINNED_EVENT"
IssueTimelineItemsItemType_UNPINNED_EVENT: Represents an 'unpinned' event on a given issue or pull request.
const IssueTimelineItemsItemType_UNSUBSCRIBED_EVENT IssueTimelineItemsItemType = "UNSUBSCRIBED_EVENT"
IssueTimelineItemsItemType_UNSUBSCRIBED_EVENT: Represents an 'unsubscribed' event on a given `Subscribable`.
const IssueTimelineItemsItemType_USER_BLOCKED_EVENT IssueTimelineItemsItemType = "USER_BLOCKED_EVENT"
IssueTimelineItemsItemType_USER_BLOCKED_EVENT: Represents a 'user_blocked' event on a given user.
type IssueTimelineItems_Interface ¶
type IssueTimelineItems_Interface interface {
// contains filtered or unexported methods
}
IssueTimelineItems (UNION): An item in an issue timeline. IssueTimelineItems_Interface: An item in an issue timeline.
Possible types:
- *AddedToProjectEvent
- *AssignedEvent
- *ClosedEvent
- *CommentDeletedEvent
- *ConnectedEvent
- *ConvertedNoteToIssueEvent
- *ConvertedToDiscussionEvent
- *CrossReferencedEvent
- *DemilestonedEvent
- *DisconnectedEvent
- *IssueComment
- *LabeledEvent
- *LockedEvent
- *MarkedAsDuplicateEvent
- *MentionedEvent
- *MilestonedEvent
- *MovedColumnsInProjectEvent
- *PinnedEvent
- *ReferencedEvent
- *RemovedFromProjectEvent
- *RenamedTitleEvent
- *ReopenedEvent
- *SubscribedEvent
- *TransferredEvent
- *UnassignedEvent
- *UnlabeledEvent
- *UnlockedEvent
- *UnmarkedAsDuplicateEvent
- *UnpinnedEvent
- *UnsubscribedEvent
- *UserBlockedEvent
type JoinedGitHubContribution ¶
type JoinedGitHubContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
JoinedGitHubContribution (OBJECT): Represents a user signing up for a GitHub account.
func (*JoinedGitHubContribution) GetIsRestricted ¶
func (x *JoinedGitHubContribution) GetIsRestricted() bool
func (*JoinedGitHubContribution) GetOccurredAt ¶
func (x *JoinedGitHubContribution) GetOccurredAt() DateTime
func (*JoinedGitHubContribution) GetResourcePath ¶
func (x *JoinedGitHubContribution) GetResourcePath() URI
func (*JoinedGitHubContribution) GetUrl ¶
func (x *JoinedGitHubContribution) GetUrl() URI
func (*JoinedGitHubContribution) GetUser ¶
func (x *JoinedGitHubContribution) GetUser() *User
type Label ¶
type Label struct {
// Color: Identifies the label color.
Color string `json:"color,omitempty"`
// CreatedAt: Identifies the date and time when the label was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Description: A brief description of this label.
Description string `json:"description,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsDefault: Indicates whether or not this is a default label.
IsDefault bool `json:"isDefault,omitempty"`
// Issues: A list of issues associated with this label.
//
// Query arguments:
// - orderBy IssueOrder
// - labels [String!]
// - states [IssueState!]
// - filterBy IssueFilters
// - after String
// - before String
// - first Int
// - last Int
Issues *IssueConnection `json:"issues,omitempty"`
// Name: Identifies the label name.
Name string `json:"name,omitempty"`
// PullRequests: A list of pull requests associated with this label.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
// Repository: The repository associated with this label.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this label.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the label was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this label.
Url URI `json:"url,omitempty"`
}
Label (OBJECT): A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.
func (*Label) GetCreatedAt ¶
func (*Label) GetDescription ¶
func (*Label) GetIsDefault ¶
func (*Label) GetIssues ¶
func (x *Label) GetIssues() *IssueConnection
func (*Label) GetPullRequests ¶
func (x *Label) GetPullRequests() *PullRequestConnection
func (*Label) GetRepository ¶
func (x *Label) GetRepository() *Repository
func (*Label) GetResourcePath ¶
func (*Label) GetUpdatedAt ¶
type LabelConnection ¶
type LabelConnection struct {
// Edges: A list of edges.
Edges []*LabelEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Label `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
LabelConnection (OBJECT): The connection type for Label.
func (*LabelConnection) GetEdges ¶
func (x *LabelConnection) GetEdges() []*LabelEdge
func (*LabelConnection) GetNodes ¶
func (x *LabelConnection) GetNodes() []*Label
func (*LabelConnection) GetPageInfo ¶
func (x *LabelConnection) GetPageInfo() *PageInfo
func (*LabelConnection) GetTotalCount ¶
func (x *LabelConnection) GetTotalCount() int
type LabelEdge ¶
type LabelEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Label `json:"node,omitempty"`
}
LabelEdge (OBJECT): An edge in a connection.
type LabelOrder ¶
type LabelOrder struct {
// Field: The field in which to order labels by.
//
// GraphQL type: LabelOrderField!
Field LabelOrderField `json:"field,omitempty"`
// Direction: The direction in which to order labels by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
LabelOrder (INPUT_OBJECT): Ways in which lists of labels can be ordered upon return.
type LabelOrderField ¶
type LabelOrderField string
LabelOrderField (ENUM): Properties by which label connections can be ordered.
const LabelOrderField_CREATED_AT LabelOrderField = "CREATED_AT"
LabelOrderField_CREATED_AT: Order labels by creation time.
const LabelOrderField_NAME LabelOrderField = "NAME"
LabelOrderField_NAME: Order labels by name .
type Labelable ¶
type Labelable struct {
Interface Labelable_Interface
}
func (*Labelable) MarshalJSON ¶
func (*Labelable) UnmarshalJSON ¶
type Labelable_Interface ¶
type Labelable_Interface interface {
GetLabels() *LabelConnection
// contains filtered or unexported methods
}
Labelable (INTERFACE): An object that can have labels assigned to it. Labelable_Interface: An object that can have labels assigned to it.
Possible types:
- *Discussion
- *Issue
- *PullRequest
type LabeledEvent ¶
type LabeledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Label: Identifies the label associated with the 'labeled' event.
Label *Label `json:"label,omitempty"`
// Labelable: Identifies the `Labelable` associated with the event.
Labelable Labelable `json:"labelable,omitempty"`
}
LabeledEvent (OBJECT): Represents a 'labeled' event on a given issue or pull request.
func (*LabeledEvent) GetActor ¶
func (x *LabeledEvent) GetActor() Actor
func (*LabeledEvent) GetCreatedAt ¶
func (x *LabeledEvent) GetCreatedAt() DateTime
func (*LabeledEvent) GetId ¶
func (x *LabeledEvent) GetId() ID
func (*LabeledEvent) GetLabel ¶
func (x *LabeledEvent) GetLabel() *Label
func (*LabeledEvent) GetLabelable ¶
func (x *LabeledEvent) GetLabelable() Labelable
type Language ¶
type Language struct {
// Color: The color defined for the current language.
Color string `json:"color,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The name of the current language.
Name string `json:"name,omitempty"`
}
Language (OBJECT): Represents a given language found in repositories.
type LanguageConnection ¶
type LanguageConnection struct {
// Edges: A list of edges.
Edges []*LanguageEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Language `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// TotalSize: The total size in bytes of files written in that language.
TotalSize int `json:"totalSize,omitempty"`
}
LanguageConnection (OBJECT): A list of languages associated with the parent.
func (*LanguageConnection) GetEdges ¶
func (x *LanguageConnection) GetEdges() []*LanguageEdge
func (*LanguageConnection) GetNodes ¶
func (x *LanguageConnection) GetNodes() []*Language
func (*LanguageConnection) GetPageInfo ¶
func (x *LanguageConnection) GetPageInfo() *PageInfo
func (*LanguageConnection) GetTotalCount ¶
func (x *LanguageConnection) GetTotalCount() int
func (*LanguageConnection) GetTotalSize ¶
func (x *LanguageConnection) GetTotalSize() int
type LanguageEdge ¶
type LanguageEdge struct {
// Cursor: undocumented.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *Language `json:"node,omitempty"`
// Size: The number of bytes of code written in the language.
Size int `json:"size,omitempty"`
}
LanguageEdge (OBJECT): Represents the language of a repository.
func (*LanguageEdge) GetCursor ¶
func (x *LanguageEdge) GetCursor() string
func (*LanguageEdge) GetNode ¶
func (x *LanguageEdge) GetNode() *Language
func (*LanguageEdge) GetSize ¶
func (x *LanguageEdge) GetSize() int
type LanguageOrder ¶
type LanguageOrder struct {
// Field: The field to order languages by.
//
// GraphQL type: LanguageOrderField!
Field LanguageOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
LanguageOrder (INPUT_OBJECT): Ordering options for language connections.
type LanguageOrderField ¶
type LanguageOrderField string
LanguageOrderField (ENUM): Properties by which language connections can be ordered.
const LanguageOrderField_SIZE LanguageOrderField = "SIZE"
LanguageOrderField_SIZE: Order languages by the size of all files containing the language.
type License ¶
type License struct {
// Body: The full text of the license.
Body string `json:"body,omitempty"`
// Conditions: The conditions set by the license.
Conditions []*LicenseRule `json:"conditions,omitempty"`
// Description: A human-readable description of the license.
Description string `json:"description,omitempty"`
// Featured: Whether the license should be featured.
Featured bool `json:"featured,omitempty"`
// Hidden: Whether the license should be displayed in license pickers.
Hidden bool `json:"hidden,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Implementation: Instructions on how to implement the license.
Implementation string `json:"implementation,omitempty"`
// Key: The lowercased SPDX ID of the license.
Key string `json:"key,omitempty"`
// Limitations: The limitations set by the license.
Limitations []*LicenseRule `json:"limitations,omitempty"`
// Name: The license full name specified by <https://spdx.org/licenses>.
Name string `json:"name,omitempty"`
// Nickname: Customary short name if applicable (e.g, GPLv3).
Nickname string `json:"nickname,omitempty"`
// Permissions: The permissions set by the license.
Permissions []*LicenseRule `json:"permissions,omitempty"`
// PseudoLicense: Whether the license is a pseudo-license placeholder (e.g., other, no-license).
PseudoLicense bool `json:"pseudoLicense,omitempty"`
// SpdxId: Short identifier specified by <https://spdx.org/licenses>.
SpdxId string `json:"spdxId,omitempty"`
// Url: URL to the license on <https://choosealicense.com>.
Url URI `json:"url,omitempty"`
}
License (OBJECT): A repository's open source license.
func (*License) GetConditions ¶
func (x *License) GetConditions() []*LicenseRule
func (*License) GetDescription ¶
func (*License) GetFeatured ¶
func (*License) GetImplementation ¶
func (*License) GetLimitations ¶
func (x *License) GetLimitations() []*LicenseRule
func (*License) GetNickname ¶
func (*License) GetPermissions ¶
func (x *License) GetPermissions() []*LicenseRule
func (*License) GetPseudoLicense ¶
type LicenseRule ¶
type LicenseRule struct {
// Description: A description of the rule.
Description string `json:"description,omitempty"`
// Key: The machine-readable rule key.
Key string `json:"key,omitempty"`
// Label: The human-readable rule label.
Label string `json:"label,omitempty"`
}
LicenseRule (OBJECT): Describes a License's conditions, permissions, and limitations.
func (*LicenseRule) GetDescription ¶
func (x *LicenseRule) GetDescription() string
func (*LicenseRule) GetKey ¶
func (x *LicenseRule) GetKey() string
func (*LicenseRule) GetLabel ¶
func (x *LicenseRule) GetLabel() string
type LinkRepositoryToProjectInput ¶
type LinkRepositoryToProjectInput struct {
// ProjectId: The ID of the Project to link to a Repository.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// RepositoryId: The ID of the Repository to link to a Project.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
LinkRepositoryToProjectInput (INPUT_OBJECT): Autogenerated input type of LinkRepositoryToProject.
type LinkRepositoryToProjectPayload ¶
type LinkRepositoryToProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Project: The linked Project.
Project *Project `json:"project,omitempty"`
// Repository: The linked Repository.
Repository *Repository `json:"repository,omitempty"`
}
LinkRepositoryToProjectPayload (OBJECT): Autogenerated return type of LinkRepositoryToProject.
func (*LinkRepositoryToProjectPayload) GetClientMutationId ¶
func (x *LinkRepositoryToProjectPayload) GetClientMutationId() string
func (*LinkRepositoryToProjectPayload) GetProject ¶
func (x *LinkRepositoryToProjectPayload) GetProject() *Project
func (*LinkRepositoryToProjectPayload) GetRepository ¶
func (x *LinkRepositoryToProjectPayload) GetRepository() *Repository
type LockLockableInput ¶
type LockLockableInput struct {
// LockableId: ID of the item to be locked.
//
// GraphQL type: ID!
LockableId ID `json:"lockableId,omitempty"`
// LockReason: A reason for why the item will be locked.
//
// GraphQL type: LockReason
LockReason LockReason `json:"lockReason,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
LockLockableInput (INPUT_OBJECT): Autogenerated input type of LockLockable.
type LockLockablePayload ¶
type LockLockablePayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// LockedRecord: The item that was locked.
LockedRecord Lockable `json:"lockedRecord,omitempty"`
}
LockLockablePayload (OBJECT): Autogenerated return type of LockLockable.
func (*LockLockablePayload) GetActor ¶
func (x *LockLockablePayload) GetActor() Actor
func (*LockLockablePayload) GetClientMutationId ¶
func (x *LockLockablePayload) GetClientMutationId() string
func (*LockLockablePayload) GetLockedRecord ¶
func (x *LockLockablePayload) GetLockedRecord() Lockable
type LockReason ¶
type LockReason string
LockReason (ENUM): The possible reasons that an issue or pull request was locked.
const LockReason_OFF_TOPIC LockReason = "OFF_TOPIC"
LockReason_OFF_TOPIC: The issue or pull request was locked because the conversation was off-topic.
const LockReason_RESOLVED LockReason = "RESOLVED"
LockReason_RESOLVED: The issue or pull request was locked because the conversation was resolved.
const LockReason_SPAM LockReason = "SPAM"
LockReason_SPAM: The issue or pull request was locked because the conversation was spam.
const LockReason_TOO_HEATED LockReason = "TOO_HEATED"
LockReason_TOO_HEATED: The issue or pull request was locked because the conversation was too heated.
type Lockable ¶
type Lockable struct {
Interface Lockable_Interface
}
func (*Lockable) MarshalJSON ¶
func (*Lockable) UnmarshalJSON ¶
type Lockable_Interface ¶
type Lockable_Interface interface {
GetActiveLockReason() LockReason
GetLocked() bool
// contains filtered or unexported methods
}
Lockable (INTERFACE): An object that can be locked. Lockable_Interface: An object that can be locked.
Possible types:
- *Discussion
- *Issue
- *PullRequest
type LockedEvent ¶
type LockedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// LockReason: Reason that the conversation was locked (optional).
LockReason LockReason `json:"lockReason,omitempty"`
// Lockable: Object that was locked.
Lockable Lockable `json:"lockable,omitempty"`
}
LockedEvent (OBJECT): Represents a 'locked' event on a given issue or pull request.
func (*LockedEvent) GetActor ¶
func (x *LockedEvent) GetActor() Actor
func (*LockedEvent) GetCreatedAt ¶
func (x *LockedEvent) GetCreatedAt() DateTime
func (*LockedEvent) GetId ¶
func (x *LockedEvent) GetId() ID
func (*LockedEvent) GetLockReason ¶
func (x *LockedEvent) GetLockReason() LockReason
func (*LockedEvent) GetLockable ¶
func (x *LockedEvent) GetLockable() Lockable
type Mannequin ¶
type Mannequin struct {
// AvatarUrl: A URL pointing to the GitHub App's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// Claimant: The user that has claimed the data attributed to this mannequin.
Claimant *User `json:"claimant,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Email: The mannequin's email on the source instance.
Email string `json:"email,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Login: The username of the actor.
Login string `json:"login,omitempty"`
// ResourcePath: The HTML path to this resource.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The URL to this resource.
Url URI `json:"url,omitempty"`
}
Mannequin (OBJECT): A placeholder user for attribution of imported data on GitHub.
func (*Mannequin) GetAvatarUrl ¶
func (*Mannequin) GetClaimant ¶
func (*Mannequin) GetCreatedAt ¶
func (*Mannequin) GetDatabaseId ¶
func (*Mannequin) GetResourcePath ¶
func (*Mannequin) GetUpdatedAt ¶
type MarkDiscussionCommentAsAnswerInput ¶
type MarkDiscussionCommentAsAnswerInput struct {
// Id: The Node ID of the discussion comment to mark as an answer.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MarkDiscussionCommentAsAnswerInput (INPUT_OBJECT): Autogenerated input type of MarkDiscussionCommentAsAnswer.
type MarkDiscussionCommentAsAnswerPayload ¶
type MarkDiscussionCommentAsAnswerPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Discussion: The discussion that includes the chosen comment.
Discussion *Discussion `json:"discussion,omitempty"`
}
MarkDiscussionCommentAsAnswerPayload (OBJECT): Autogenerated return type of MarkDiscussionCommentAsAnswer.
func (*MarkDiscussionCommentAsAnswerPayload) GetClientMutationId ¶
func (x *MarkDiscussionCommentAsAnswerPayload) GetClientMutationId() string
func (*MarkDiscussionCommentAsAnswerPayload) GetDiscussion ¶
func (x *MarkDiscussionCommentAsAnswerPayload) GetDiscussion() *Discussion
type MarkFileAsViewedInput ¶
type MarkFileAsViewedInput struct {
// PullRequestId: The Node ID of the pull request.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// Path: The path of the file to mark as viewed.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MarkFileAsViewedInput (INPUT_OBJECT): Autogenerated input type of MarkFileAsViewed.
type MarkFileAsViewedPayload ¶
type MarkFileAsViewedPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The updated pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
MarkFileAsViewedPayload (OBJECT): Autogenerated return type of MarkFileAsViewed.
func (*MarkFileAsViewedPayload) GetClientMutationId ¶
func (x *MarkFileAsViewedPayload) GetClientMutationId() string
func (*MarkFileAsViewedPayload) GetPullRequest ¶
func (x *MarkFileAsViewedPayload) GetPullRequest() *PullRequest
type MarkPullRequestReadyForReviewInput ¶
type MarkPullRequestReadyForReviewInput struct {
// PullRequestId: ID of the pull request to be marked as ready for review.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MarkPullRequestReadyForReviewInput (INPUT_OBJECT): Autogenerated input type of MarkPullRequestReadyForReview.
type MarkPullRequestReadyForReviewPayload ¶
type MarkPullRequestReadyForReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that is ready for review.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
MarkPullRequestReadyForReviewPayload (OBJECT): Autogenerated return type of MarkPullRequestReadyForReview.
func (*MarkPullRequestReadyForReviewPayload) GetClientMutationId ¶
func (x *MarkPullRequestReadyForReviewPayload) GetClientMutationId() string
func (*MarkPullRequestReadyForReviewPayload) GetPullRequest ¶
func (x *MarkPullRequestReadyForReviewPayload) GetPullRequest() *PullRequest
type MarkedAsDuplicateEvent ¶
type MarkedAsDuplicateEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Canonical: The authoritative issue or pull request which has been duplicated by another.
Canonical IssueOrPullRequest `json:"canonical,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Duplicate: The issue or pull request which has been marked as a duplicate of another.
Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Canonical and duplicate belong to different repositories.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
}
MarkedAsDuplicateEvent (OBJECT): Represents a 'marked_as_duplicate' event on a given issue or pull request.
func (*MarkedAsDuplicateEvent) GetActor ¶
func (x *MarkedAsDuplicateEvent) GetActor() Actor
func (*MarkedAsDuplicateEvent) GetCanonical ¶
func (x *MarkedAsDuplicateEvent) GetCanonical() IssueOrPullRequest
func (*MarkedAsDuplicateEvent) GetCreatedAt ¶
func (x *MarkedAsDuplicateEvent) GetCreatedAt() DateTime
func (*MarkedAsDuplicateEvent) GetDuplicate ¶
func (x *MarkedAsDuplicateEvent) GetDuplicate() IssueOrPullRequest
func (*MarkedAsDuplicateEvent) GetId ¶
func (x *MarkedAsDuplicateEvent) GetId() ID
func (*MarkedAsDuplicateEvent) GetIsCrossRepository ¶
func (x *MarkedAsDuplicateEvent) GetIsCrossRepository() bool
type MarketplaceCategory ¶
type MarketplaceCategory struct {
// Description: The category's description.
Description string `json:"description,omitempty"`
// HowItWorks: The technical description of how apps listed in this category work with GitHub.
HowItWorks string `json:"howItWorks,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The category's name.
Name string `json:"name,omitempty"`
// PrimaryListingCount: How many Marketplace listings have this as their primary category.
PrimaryListingCount int `json:"primaryListingCount,omitempty"`
// ResourcePath: The HTTP path for this Marketplace category.
ResourcePath URI `json:"resourcePath,omitempty"`
// SecondaryListingCount: How many Marketplace listings have this as their secondary category.
SecondaryListingCount int `json:"secondaryListingCount,omitempty"`
// Slug: The short name of the category used in its URL.
Slug string `json:"slug,omitempty"`
// Url: The HTTP URL for this Marketplace category.
Url URI `json:"url,omitempty"`
}
MarketplaceCategory (OBJECT): A public description of a Marketplace category.
func (*MarketplaceCategory) GetDescription ¶
func (x *MarketplaceCategory) GetDescription() string
func (*MarketplaceCategory) GetHowItWorks ¶
func (x *MarketplaceCategory) GetHowItWorks() string
func (*MarketplaceCategory) GetId ¶
func (x *MarketplaceCategory) GetId() ID
func (*MarketplaceCategory) GetName ¶
func (x *MarketplaceCategory) GetName() string
func (*MarketplaceCategory) GetPrimaryListingCount ¶
func (x *MarketplaceCategory) GetPrimaryListingCount() int
func (*MarketplaceCategory) GetResourcePath ¶
func (x *MarketplaceCategory) GetResourcePath() URI
func (*MarketplaceCategory) GetSecondaryListingCount ¶
func (x *MarketplaceCategory) GetSecondaryListingCount() int
func (*MarketplaceCategory) GetSlug ¶
func (x *MarketplaceCategory) GetSlug() string
func (*MarketplaceCategory) GetUrl ¶
func (x *MarketplaceCategory) GetUrl() URI
type MarketplaceListing ¶
type MarketplaceListing struct {
// App: The GitHub App this listing represents.
App *App `json:"app,omitempty"`
// CompanyUrl: URL to the listing owner's company site.
CompanyUrl URI `json:"companyUrl,omitempty"`
// ConfigurationResourcePath: The HTTP path for configuring access to the listing's integration or OAuth app.
ConfigurationResourcePath URI `json:"configurationResourcePath,omitempty"`
// ConfigurationUrl: The HTTP URL for configuring access to the listing's integration or OAuth app.
ConfigurationUrl URI `json:"configurationUrl,omitempty"`
// DocumentationUrl: URL to the listing's documentation.
DocumentationUrl URI `json:"documentationUrl,omitempty"`
// ExtendedDescription: The listing's detailed description.
ExtendedDescription string `json:"extendedDescription,omitempty"`
// ExtendedDescriptionHTML: The listing's detailed description rendered to HTML.
ExtendedDescriptionHTML template.HTML `json:"extendedDescriptionHTML,omitempty"`
// FullDescription: The listing's introductory description.
FullDescription string `json:"fullDescription,omitempty"`
// FullDescriptionHTML: The listing's introductory description rendered to HTML.
FullDescriptionHTML template.HTML `json:"fullDescriptionHTML,omitempty"`
// HasPublishedFreeTrialPlans: Does this listing have any plans with a free trial?.
HasPublishedFreeTrialPlans bool `json:"hasPublishedFreeTrialPlans,omitempty"`
// HasTermsOfService: Does this listing have a terms of service link?.
HasTermsOfService bool `json:"hasTermsOfService,omitempty"`
// HasVerifiedOwner: Whether the creator of the app is a verified org.
HasVerifiedOwner bool `json:"hasVerifiedOwner,omitempty"`
// HowItWorks: A technical description of how this app works with GitHub.
HowItWorks string `json:"howItWorks,omitempty"`
// HowItWorksHTML: The listing's technical description rendered to HTML.
HowItWorksHTML template.HTML `json:"howItWorksHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InstallationUrl: URL to install the product to the viewer's account or organization.
InstallationUrl URI `json:"installationUrl,omitempty"`
// InstalledForViewer: Whether this listing's app has been installed for the current viewer.
InstalledForViewer bool `json:"installedForViewer,omitempty"`
// IsArchived: Whether this listing has been removed from the Marketplace.
IsArchived bool `json:"isArchived,omitempty"`
// IsDraft: Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace.
IsDraft bool `json:"isDraft,omitempty"`
// IsPaid: Whether the product this listing represents is available as part of a paid plan.
IsPaid bool `json:"isPaid,omitempty"`
// IsPublic: Whether this listing has been approved for display in the Marketplace.
IsPublic bool `json:"isPublic,omitempty"`
// IsRejected: Whether this listing has been rejected by GitHub for display in the Marketplace.
IsRejected bool `json:"isRejected,omitempty"`
// IsUnverified: Whether this listing has been approved for unverified display in the Marketplace.
IsUnverified bool `json:"isUnverified,omitempty"`
// IsUnverifiedPending: Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace.
IsUnverifiedPending bool `json:"isUnverifiedPending,omitempty"`
// IsVerificationPendingFromDraft: Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
IsVerificationPendingFromDraft bool `json:"isVerificationPendingFromDraft,omitempty"`
// IsVerificationPendingFromUnverified: Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
IsVerificationPendingFromUnverified bool `json:"isVerificationPendingFromUnverified,omitempty"`
// IsVerified: Whether this listing has been approved for verified display in the Marketplace.
IsVerified bool `json:"isVerified,omitempty"`
// LogoBackgroundColor: The hex color code, without the leading '#', for the logo background.
LogoBackgroundColor string `json:"logoBackgroundColor,omitempty"`
// LogoUrl: URL for the listing's logo image.
//
// Query arguments:
// - size Int
LogoUrl URI `json:"logoUrl,omitempty"`
// Name: The listing's full name.
Name string `json:"name,omitempty"`
// NormalizedShortDescription: The listing's very short description without a trailing period or ampersands.
NormalizedShortDescription string `json:"normalizedShortDescription,omitempty"`
// PricingUrl: URL to the listing's detailed pricing.
PricingUrl URI `json:"pricingUrl,omitempty"`
// PrimaryCategory: The category that best describes the listing.
PrimaryCategory *MarketplaceCategory `json:"primaryCategory,omitempty"`
// PrivacyPolicyUrl: URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL.
PrivacyPolicyUrl URI `json:"privacyPolicyUrl,omitempty"`
// ResourcePath: The HTTP path for the Marketplace listing.
ResourcePath URI `json:"resourcePath,omitempty"`
// ScreenshotUrls: The URLs for the listing's screenshots.
ScreenshotUrls []string `json:"screenshotUrls,omitempty"`
// SecondaryCategory: An alternate category that describes the listing.
SecondaryCategory *MarketplaceCategory `json:"secondaryCategory,omitempty"`
// ShortDescription: The listing's very short description.
ShortDescription string `json:"shortDescription,omitempty"`
// Slug: The short name of the listing used in its URL.
Slug string `json:"slug,omitempty"`
// StatusUrl: URL to the listing's status page.
StatusUrl URI `json:"statusUrl,omitempty"`
// SupportEmail: An email address for support for this listing's app.
SupportEmail string `json:"supportEmail,omitempty"`
// SupportUrl: Either a URL or an email address for support for this listing's app, may return an empty string for listings that do not require a support URL.
SupportUrl URI `json:"supportUrl,omitempty"`
// TermsOfServiceUrl: URL to the listing's terms of service.
TermsOfServiceUrl URI `json:"termsOfServiceUrl,omitempty"`
// Url: The HTTP URL for the Marketplace listing.
Url URI `json:"url,omitempty"`
// ViewerCanAddPlans: Can the current viewer add plans for this Marketplace listing.
ViewerCanAddPlans bool `json:"viewerCanAddPlans,omitempty"`
// ViewerCanApprove: Can the current viewer approve this Marketplace listing.
ViewerCanApprove bool `json:"viewerCanApprove,omitempty"`
// ViewerCanDelist: Can the current viewer delist this Marketplace listing.
ViewerCanDelist bool `json:"viewerCanDelist,omitempty"`
// ViewerCanEdit: Can the current viewer edit this Marketplace listing.
ViewerCanEdit bool `json:"viewerCanEdit,omitempty"`
// ViewerCanEditCategories: Can the current viewer edit the primary and secondary category of this
// Marketplace listing.
// .
ViewerCanEditCategories bool `json:"viewerCanEditCategories,omitempty"`
// ViewerCanEditPlans: Can the current viewer edit the plans for this Marketplace listing.
ViewerCanEditPlans bool `json:"viewerCanEditPlans,omitempty"`
// ViewerCanRedraft: Can the current viewer return this Marketplace listing to draft state
// so it becomes editable again.
// .
ViewerCanRedraft bool `json:"viewerCanRedraft,omitempty"`
// ViewerCanReject: Can the current viewer reject this Marketplace listing by returning it to
// an editable draft state or rejecting it entirely.
// .
ViewerCanReject bool `json:"viewerCanReject,omitempty"`
// ViewerCanRequestApproval: Can the current viewer request this listing be reviewed for display in
// the Marketplace as verified.
// .
ViewerCanRequestApproval bool `json:"viewerCanRequestApproval,omitempty"`
// ViewerHasPurchased: Indicates whether the current user has an active subscription to this Marketplace listing.
// .
ViewerHasPurchased bool `json:"viewerHasPurchased,omitempty"`
// ViewerHasPurchasedForAllOrganizations: Indicates if the current user has purchased a subscription to this Marketplace listing
// for all of the organizations the user owns.
// .
ViewerHasPurchasedForAllOrganizations bool `json:"viewerHasPurchasedForAllOrganizations,omitempty"`
// ViewerIsListingAdmin: Does the current viewer role allow them to administer this Marketplace listing.
// .
ViewerIsListingAdmin bool `json:"viewerIsListingAdmin,omitempty"`
}
MarketplaceListing (OBJECT): A listing in the GitHub integration marketplace.
func (*MarketplaceListing) GetApp ¶
func (x *MarketplaceListing) GetApp() *App
func (*MarketplaceListing) GetCompanyUrl ¶
func (x *MarketplaceListing) GetCompanyUrl() URI
func (*MarketplaceListing) GetConfigurationResourcePath ¶
func (x *MarketplaceListing) GetConfigurationResourcePath() URI
func (*MarketplaceListing) GetConfigurationUrl ¶
func (x *MarketplaceListing) GetConfigurationUrl() URI
func (*MarketplaceListing) GetDocumentationUrl ¶
func (x *MarketplaceListing) GetDocumentationUrl() URI
func (*MarketplaceListing) GetExtendedDescription ¶
func (x *MarketplaceListing) GetExtendedDescription() string
func (*MarketplaceListing) GetExtendedDescriptionHTML ¶
func (x *MarketplaceListing) GetExtendedDescriptionHTML() template.HTML
func (*MarketplaceListing) GetFullDescription ¶
func (x *MarketplaceListing) GetFullDescription() string
func (*MarketplaceListing) GetFullDescriptionHTML ¶
func (x *MarketplaceListing) GetFullDescriptionHTML() template.HTML
func (*MarketplaceListing) GetHasPublishedFreeTrialPlans ¶
func (x *MarketplaceListing) GetHasPublishedFreeTrialPlans() bool
func (*MarketplaceListing) GetHasTermsOfService ¶
func (x *MarketplaceListing) GetHasTermsOfService() bool
func (*MarketplaceListing) GetHasVerifiedOwner ¶
func (x *MarketplaceListing) GetHasVerifiedOwner() bool
func (*MarketplaceListing) GetHowItWorks ¶
func (x *MarketplaceListing) GetHowItWorks() string
func (*MarketplaceListing) GetHowItWorksHTML ¶
func (x *MarketplaceListing) GetHowItWorksHTML() template.HTML
func (*MarketplaceListing) GetId ¶
func (x *MarketplaceListing) GetId() ID
func (*MarketplaceListing) GetInstallationUrl ¶
func (x *MarketplaceListing) GetInstallationUrl() URI
func (*MarketplaceListing) GetInstalledForViewer ¶
func (x *MarketplaceListing) GetInstalledForViewer() bool
func (*MarketplaceListing) GetIsArchived ¶
func (x *MarketplaceListing) GetIsArchived() bool
func (*MarketplaceListing) GetIsDraft ¶
func (x *MarketplaceListing) GetIsDraft() bool
func (*MarketplaceListing) GetIsPaid ¶
func (x *MarketplaceListing) GetIsPaid() bool
func (*MarketplaceListing) GetIsPublic ¶
func (x *MarketplaceListing) GetIsPublic() bool
func (*MarketplaceListing) GetIsRejected ¶
func (x *MarketplaceListing) GetIsRejected() bool
func (*MarketplaceListing) GetIsUnverified ¶
func (x *MarketplaceListing) GetIsUnverified() bool
func (*MarketplaceListing) GetIsUnverifiedPending ¶
func (x *MarketplaceListing) GetIsUnverifiedPending() bool
func (*MarketplaceListing) GetIsVerificationPendingFromDraft ¶
func (x *MarketplaceListing) GetIsVerificationPendingFromDraft() bool
func (*MarketplaceListing) GetIsVerificationPendingFromUnverified ¶
func (x *MarketplaceListing) GetIsVerificationPendingFromUnverified() bool
func (*MarketplaceListing) GetIsVerified ¶
func (x *MarketplaceListing) GetIsVerified() bool
func (*MarketplaceListing) GetLogoBackgroundColor ¶
func (x *MarketplaceListing) GetLogoBackgroundColor() string
func (*MarketplaceListing) GetLogoUrl ¶
func (x *MarketplaceListing) GetLogoUrl() URI
func (*MarketplaceListing) GetName ¶
func (x *MarketplaceListing) GetName() string
func (*MarketplaceListing) GetNormalizedShortDescription ¶
func (x *MarketplaceListing) GetNormalizedShortDescription() string
func (*MarketplaceListing) GetPricingUrl ¶
func (x *MarketplaceListing) GetPricingUrl() URI
func (*MarketplaceListing) GetPrimaryCategory ¶
func (x *MarketplaceListing) GetPrimaryCategory() *MarketplaceCategory
func (*MarketplaceListing) GetPrivacyPolicyUrl ¶
func (x *MarketplaceListing) GetPrivacyPolicyUrl() URI
func (*MarketplaceListing) GetResourcePath ¶
func (x *MarketplaceListing) GetResourcePath() URI
func (*MarketplaceListing) GetScreenshotUrls ¶
func (x *MarketplaceListing) GetScreenshotUrls() []string
func (*MarketplaceListing) GetSecondaryCategory ¶
func (x *MarketplaceListing) GetSecondaryCategory() *MarketplaceCategory
func (*MarketplaceListing) GetShortDescription ¶
func (x *MarketplaceListing) GetShortDescription() string
func (*MarketplaceListing) GetSlug ¶
func (x *MarketplaceListing) GetSlug() string
func (*MarketplaceListing) GetStatusUrl ¶
func (x *MarketplaceListing) GetStatusUrl() URI
func (*MarketplaceListing) GetSupportEmail ¶
func (x *MarketplaceListing) GetSupportEmail() string
func (*MarketplaceListing) GetSupportUrl ¶
func (x *MarketplaceListing) GetSupportUrl() URI
func (*MarketplaceListing) GetTermsOfServiceUrl ¶
func (x *MarketplaceListing) GetTermsOfServiceUrl() URI
func (*MarketplaceListing) GetUrl ¶
func (x *MarketplaceListing) GetUrl() URI
func (*MarketplaceListing) GetViewerCanAddPlans ¶
func (x *MarketplaceListing) GetViewerCanAddPlans() bool
func (*MarketplaceListing) GetViewerCanApprove ¶
func (x *MarketplaceListing) GetViewerCanApprove() bool
func (*MarketplaceListing) GetViewerCanDelist ¶
func (x *MarketplaceListing) GetViewerCanDelist() bool
func (*MarketplaceListing) GetViewerCanEdit ¶
func (x *MarketplaceListing) GetViewerCanEdit() bool
func (*MarketplaceListing) GetViewerCanEditCategories ¶
func (x *MarketplaceListing) GetViewerCanEditCategories() bool
func (*MarketplaceListing) GetViewerCanEditPlans ¶
func (x *MarketplaceListing) GetViewerCanEditPlans() bool
func (*MarketplaceListing) GetViewerCanRedraft ¶
func (x *MarketplaceListing) GetViewerCanRedraft() bool
func (*MarketplaceListing) GetViewerCanReject ¶
func (x *MarketplaceListing) GetViewerCanReject() bool
func (*MarketplaceListing) GetViewerCanRequestApproval ¶
func (x *MarketplaceListing) GetViewerCanRequestApproval() bool
func (*MarketplaceListing) GetViewerHasPurchased ¶
func (x *MarketplaceListing) GetViewerHasPurchased() bool
func (*MarketplaceListing) GetViewerHasPurchasedForAllOrganizations ¶
func (x *MarketplaceListing) GetViewerHasPurchasedForAllOrganizations() bool
func (*MarketplaceListing) GetViewerIsListingAdmin ¶
func (x *MarketplaceListing) GetViewerIsListingAdmin() bool
type MarketplaceListingConnection ¶
type MarketplaceListingConnection struct {
// Edges: A list of edges.
Edges []*MarketplaceListingEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*MarketplaceListing `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
MarketplaceListingConnection (OBJECT): Look up Marketplace Listings.
func (*MarketplaceListingConnection) GetEdges ¶
func (x *MarketplaceListingConnection) GetEdges() []*MarketplaceListingEdge
func (*MarketplaceListingConnection) GetNodes ¶
func (x *MarketplaceListingConnection) GetNodes() []*MarketplaceListing
func (*MarketplaceListingConnection) GetPageInfo ¶
func (x *MarketplaceListingConnection) GetPageInfo() *PageInfo
func (*MarketplaceListingConnection) GetTotalCount ¶
func (x *MarketplaceListingConnection) GetTotalCount() int
type MarketplaceListingEdge ¶
type MarketplaceListingEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *MarketplaceListing `json:"node,omitempty"`
}
MarketplaceListingEdge (OBJECT): An edge in a connection.
func (*MarketplaceListingEdge) GetCursor ¶
func (x *MarketplaceListingEdge) GetCursor() string
func (*MarketplaceListingEdge) GetNode ¶
func (x *MarketplaceListingEdge) GetNode() *MarketplaceListing
type MemberStatusable ¶
type MemberStatusable struct {
Interface MemberStatusable_Interface
}
func (*MemberStatusable) MarshalJSON ¶
func (x *MemberStatusable) MarshalJSON() ([]byte, error)
func (*MemberStatusable) UnmarshalJSON ¶
func (x *MemberStatusable) UnmarshalJSON(js []byte) error
type MemberStatusable_Interface ¶
type MemberStatusable_Interface interface {
GetMemberStatuses() *UserStatusConnection
// contains filtered or unexported methods
}
MemberStatusable (INTERFACE): Entities that have members who can set status messages. MemberStatusable_Interface: Entities that have members who can set status messages.
Possible types:
- *Organization
- *Team
type MembersCanDeleteReposClearAuditEntry ¶
type MembersCanDeleteReposClearAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
MembersCanDeleteReposClearAuditEntry (OBJECT): Audit log entry for a members_can_delete_repos.clear event.
func (*MembersCanDeleteReposClearAuditEntry) GetAction ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetAction() string
func (*MembersCanDeleteReposClearAuditEntry) GetActor ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActor() AuditEntryActor
func (*MembersCanDeleteReposClearAuditEntry) GetActorIp ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActorIp() string
func (*MembersCanDeleteReposClearAuditEntry) GetActorLocation ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActorLocation() *ActorLocation
func (*MembersCanDeleteReposClearAuditEntry) GetActorLogin ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActorLogin() string
func (*MembersCanDeleteReposClearAuditEntry) GetActorResourcePath ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActorResourcePath() URI
func (*MembersCanDeleteReposClearAuditEntry) GetActorUrl ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetActorUrl() URI
func (*MembersCanDeleteReposClearAuditEntry) GetCreatedAt ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetCreatedAt() PreciseDateTime
func (*MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath() URI
func (*MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug() string
func (*MembersCanDeleteReposClearAuditEntry) GetEnterpriseUrl ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetEnterpriseUrl() URI
func (*MembersCanDeleteReposClearAuditEntry) GetId ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetId() ID
func (*MembersCanDeleteReposClearAuditEntry) GetOperationType ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetOperationType() OperationType
func (*MembersCanDeleteReposClearAuditEntry) GetOrganization ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetOrganization() *Organization
func (*MembersCanDeleteReposClearAuditEntry) GetOrganizationName ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationName() string
func (*MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath() URI
func (*MembersCanDeleteReposClearAuditEntry) GetOrganizationUrl ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetOrganizationUrl() URI
func (*MembersCanDeleteReposClearAuditEntry) GetUser ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetUser() *User
func (*MembersCanDeleteReposClearAuditEntry) GetUserLogin ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetUserLogin() string
func (*MembersCanDeleteReposClearAuditEntry) GetUserResourcePath ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetUserResourcePath() URI
func (*MembersCanDeleteReposClearAuditEntry) GetUserUrl ¶
func (x *MembersCanDeleteReposClearAuditEntry) GetUserUrl() URI
type MembersCanDeleteReposDisableAuditEntry ¶
type MembersCanDeleteReposDisableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
MembersCanDeleteReposDisableAuditEntry (OBJECT): Audit log entry for a members_can_delete_repos.disable event.
func (*MembersCanDeleteReposDisableAuditEntry) GetAction ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetAction() string
func (*MembersCanDeleteReposDisableAuditEntry) GetActor ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActor() AuditEntryActor
func (*MembersCanDeleteReposDisableAuditEntry) GetActorIp ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActorIp() string
func (*MembersCanDeleteReposDisableAuditEntry) GetActorLocation ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActorLocation() *ActorLocation
func (*MembersCanDeleteReposDisableAuditEntry) GetActorLogin ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActorLogin() string
func (*MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetActorUrl ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetActorUrl() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetCreatedAt ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetCreatedAt() PreciseDateTime
func (*MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug() string
func (*MembersCanDeleteReposDisableAuditEntry) GetEnterpriseUrl ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetEnterpriseUrl() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetId ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetId() ID
func (*MembersCanDeleteReposDisableAuditEntry) GetOperationType ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetOperationType() OperationType
func (*MembersCanDeleteReposDisableAuditEntry) GetOrganization ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganization() *Organization
func (*MembersCanDeleteReposDisableAuditEntry) GetOrganizationName ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationName() string
func (*MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetOrganizationUrl ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetOrganizationUrl() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetUser ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetUser() *User
func (*MembersCanDeleteReposDisableAuditEntry) GetUserLogin ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetUserLogin() string
func (*MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath() URI
func (*MembersCanDeleteReposDisableAuditEntry) GetUserUrl ¶
func (x *MembersCanDeleteReposDisableAuditEntry) GetUserUrl() URI
type MembersCanDeleteReposEnableAuditEntry ¶
type MembersCanDeleteReposEnableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
MembersCanDeleteReposEnableAuditEntry (OBJECT): Audit log entry for a members_can_delete_repos.enable event.
func (*MembersCanDeleteReposEnableAuditEntry) GetAction ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetAction() string
func (*MembersCanDeleteReposEnableAuditEntry) GetActor ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActor() AuditEntryActor
func (*MembersCanDeleteReposEnableAuditEntry) GetActorIp ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActorIp() string
func (*MembersCanDeleteReposEnableAuditEntry) GetActorLocation ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActorLocation() *ActorLocation
func (*MembersCanDeleteReposEnableAuditEntry) GetActorLogin ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActorLogin() string
func (*MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetActorUrl ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetActorUrl() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetCreatedAt ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetCreatedAt() PreciseDateTime
func (*MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug() string
func (*MembersCanDeleteReposEnableAuditEntry) GetEnterpriseUrl ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetEnterpriseUrl() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetId ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetId() ID
func (*MembersCanDeleteReposEnableAuditEntry) GetOperationType ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetOperationType() OperationType
func (*MembersCanDeleteReposEnableAuditEntry) GetOrganization ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganization() *Organization
func (*MembersCanDeleteReposEnableAuditEntry) GetOrganizationName ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationName() string
func (*MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetOrganizationUrl ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetOrganizationUrl() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetUser ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetUser() *User
func (*MembersCanDeleteReposEnableAuditEntry) GetUserLogin ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetUserLogin() string
func (*MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath() URI
func (*MembersCanDeleteReposEnableAuditEntry) GetUserUrl ¶
func (x *MembersCanDeleteReposEnableAuditEntry) GetUserUrl() URI
type MentionedEvent ¶
type MentionedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
MentionedEvent (OBJECT): Represents a 'mentioned' event on a given issue or pull request.
func (*MentionedEvent) GetActor ¶
func (x *MentionedEvent) GetActor() Actor
func (*MentionedEvent) GetCreatedAt ¶
func (x *MentionedEvent) GetCreatedAt() DateTime
func (*MentionedEvent) GetDatabaseId ¶
func (x *MentionedEvent) GetDatabaseId() int
func (*MentionedEvent) GetId ¶
func (x *MentionedEvent) GetId() ID
type MergeBranchInput ¶
type MergeBranchInput struct {
// RepositoryId: The Node ID of the Repository containing the base branch that will be modified.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Base: The name of the base branch that the provided head will be merged into.
//
// GraphQL type: String!
Base string `json:"base,omitempty"`
// Head: The head to merge into the base branch. This can be a branch name or a commit GitObjectID.
//
// GraphQL type: String!
Head string `json:"head,omitempty"`
// CommitMessage: Message to use for the merge commit. If omitted, a default will be used.
//
// GraphQL type: String
CommitMessage string `json:"commitMessage,omitempty"`
// AuthorEmail: The email address to associate with this commit.
//
// GraphQL type: String
AuthorEmail string `json:"authorEmail,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MergeBranchInput (INPUT_OBJECT): Autogenerated input type of MergeBranch.
type MergeBranchPayload ¶
type MergeBranchPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// MergeCommit: The resulting merge Commit.
MergeCommit *Commit `json:"mergeCommit,omitempty"`
}
MergeBranchPayload (OBJECT): Autogenerated return type of MergeBranch.
func (*MergeBranchPayload) GetClientMutationId ¶
func (x *MergeBranchPayload) GetClientMutationId() string
func (*MergeBranchPayload) GetMergeCommit ¶
func (x *MergeBranchPayload) GetMergeCommit() *Commit
type MergePullRequestInput ¶
type MergePullRequestInput struct {
// PullRequestId: ID of the pull request to be merged.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// CommitHeadline: Commit headline to use for the merge commit; if omitted, a default message will be used.
//
// GraphQL type: String
CommitHeadline string `json:"commitHeadline,omitempty"`
// CommitBody: Commit body to use for the merge commit; if omitted, a default message will be used.
//
// GraphQL type: String
CommitBody string `json:"commitBody,omitempty"`
// ExpectedHeadOid: OID that the pull request head ref must match to allow merge; if omitted, no check is performed.
//
// GraphQL type: GitObjectID
ExpectedHeadOid GitObjectID `json:"expectedHeadOid,omitempty"`
// MergeMethod: The merge method to use. If omitted, defaults to 'MERGE'.
//
// GraphQL type: PullRequestMergeMethod
MergeMethod PullRequestMergeMethod `json:"mergeMethod,omitempty"`
// AuthorEmail: The email address to associate with this merge.
//
// GraphQL type: String
AuthorEmail string `json:"authorEmail,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MergePullRequestInput (INPUT_OBJECT): Autogenerated input type of MergePullRequest.
type MergePullRequestPayload ¶
type MergePullRequestPayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that was merged.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
MergePullRequestPayload (OBJECT): Autogenerated return type of MergePullRequest.
func (*MergePullRequestPayload) GetActor ¶
func (x *MergePullRequestPayload) GetActor() Actor
func (*MergePullRequestPayload) GetClientMutationId ¶
func (x *MergePullRequestPayload) GetClientMutationId() string
func (*MergePullRequestPayload) GetPullRequest ¶
func (x *MergePullRequestPayload) GetPullRequest() *PullRequest
type MergeableState ¶
type MergeableState string
MergeableState (ENUM): Whether or not a PullRequest can be merged.
const MergeableState_CONFLICTING MergeableState = "CONFLICTING"
MergeableState_CONFLICTING: The pull request cannot be merged due to merge conflicts.
const MergeableState_MERGEABLE MergeableState = "MERGEABLE"
MergeableState_MERGEABLE: The pull request can be merged.
const MergeableState_UNKNOWN MergeableState = "UNKNOWN"
MergeableState_UNKNOWN: The mergeability of the pull request is still being calculated.
type MergedEvent ¶
type MergedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Commit: Identifies the commit associated with the `merge` event.
Commit *Commit `json:"commit,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MergeRef: Identifies the Ref associated with the `merge` event.
MergeRef *Ref `json:"mergeRef,omitempty"`
// MergeRefName: Identifies the name of the Ref associated with the `merge` event.
MergeRefName string `json:"mergeRefName,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ResourcePath: The HTTP path for this merged event.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this merged event.
Url URI `json:"url,omitempty"`
}
MergedEvent (OBJECT): Represents a 'merged' event on a given pull request.
func (*MergedEvent) GetActor ¶
func (x *MergedEvent) GetActor() Actor
func (*MergedEvent) GetCommit ¶
func (x *MergedEvent) GetCommit() *Commit
func (*MergedEvent) GetCreatedAt ¶
func (x *MergedEvent) GetCreatedAt() DateTime
func (*MergedEvent) GetId ¶
func (x *MergedEvent) GetId() ID
func (*MergedEvent) GetMergeRef ¶
func (x *MergedEvent) GetMergeRef() *Ref
func (*MergedEvent) GetMergeRefName ¶
func (x *MergedEvent) GetMergeRefName() string
func (*MergedEvent) GetPullRequest ¶
func (x *MergedEvent) GetPullRequest() *PullRequest
func (*MergedEvent) GetResourcePath ¶
func (x *MergedEvent) GetResourcePath() URI
func (*MergedEvent) GetUrl ¶
func (x *MergedEvent) GetUrl() URI
type Migration ¶
type Migration struct {
Interface Migration_Interface
}
func (*Migration) MarshalJSON ¶
func (*Migration) UnmarshalJSON ¶
type MigrationSource ¶
type MigrationSource struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The Octoshift migration source name.
Name string `json:"name,omitempty"`
// Type: The Octoshift migration source type.
Type MigrationSourceType `json:"type,omitempty"`
// Url: The Octoshift migration source URL.
Url URI `json:"url,omitempty"`
}
MigrationSource (OBJECT): An Octoshift migration source.
func (*MigrationSource) GetId ¶
func (x *MigrationSource) GetId() ID
func (*MigrationSource) GetName ¶
func (x *MigrationSource) GetName() string
func (*MigrationSource) GetType ¶
func (x *MigrationSource) GetType() MigrationSourceType
func (*MigrationSource) GetUrl ¶
func (x *MigrationSource) GetUrl() URI
type MigrationSourceType ¶
type MigrationSourceType string
MigrationSourceType (ENUM): Represents the different Octoshift migration sources.
const MigrationSourceType_AZURE_DEVOPS MigrationSourceType = "AZURE_DEVOPS"
MigrationSourceType_AZURE_DEVOPS: An Azure DevOps migration source.
const MigrationSourceType_BITBUCKET_SERVER MigrationSourceType = "BITBUCKET_SERVER"
MigrationSourceType_BITBUCKET_SERVER: A Bitbucket Server migration source.
const MigrationSourceType_GITHUB MigrationSourceType = "GITHUB"
MigrationSourceType_GITHUB: A GitHub migration source.
const MigrationSourceType_GITHUB_ARCHIVE MigrationSourceType = "GITHUB_ARCHIVE"
MigrationSourceType_GITHUB_ARCHIVE: A GitHub Migration API source.
const MigrationSourceType_GITLAB MigrationSourceType = "GITLAB"
MigrationSourceType_GITLAB: A GitLab migration source.
type MigrationState ¶
type MigrationState string
MigrationState (ENUM): The Octoshift migration state.
const MigrationState_FAILED MigrationState = "FAILED"
MigrationState_FAILED: The Octoshift migration has failed.
const MigrationState_FAILED_VALIDATION MigrationState = "FAILED_VALIDATION"
MigrationState_FAILED_VALIDATION: The Octoshift migration has invalid credentials.
const MigrationState_IN_PROGRESS MigrationState = "IN_PROGRESS"
MigrationState_IN_PROGRESS: The Octoshift migration is in progress.
const MigrationState_NOT_STARTED MigrationState = "NOT_STARTED"
MigrationState_NOT_STARTED: The Octoshift migration has not started.
const MigrationState_PENDING_VALIDATION MigrationState = "PENDING_VALIDATION"
MigrationState_PENDING_VALIDATION: The Octoshift migration needs to have its credentials validated.
const MigrationState_QUEUED MigrationState = "QUEUED"
MigrationState_QUEUED: The Octoshift migration has been queued.
const MigrationState_SUCCEEDED MigrationState = "SUCCEEDED"
MigrationState_SUCCEEDED: The Octoshift migration has succeeded.
type Migration_Interface ¶
type Migration_Interface interface {
GetContinueOnError() bool
GetCreatedAt() DateTime
GetFailureReason() string
GetId() ID
GetMigrationLogUrl() URI
GetMigrationSource() *MigrationSource
GetRepositoryName() string
GetSourceUrl() URI
GetState() MigrationState
// contains filtered or unexported methods
}
Migration (INTERFACE): Represents an Octoshift migration. Migration_Interface: Represents an Octoshift migration.
Possible types:
- *RepositoryMigration
type Milestone ¶
type Milestone struct {
// Closed: `true` if the object is closed (definition of closed may depend on type).
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: Identifies the actor who created the milestone.
Creator Actor `json:"creator,omitempty"`
// Description: Identifies the description of the milestone.
Description string `json:"description,omitempty"`
// DueOn: Identifies the due date of the milestone.
DueOn DateTime `json:"dueOn,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Issues: A list of issues associated with the milestone.
//
// Query arguments:
// - orderBy IssueOrder
// - labels [String!]
// - states [IssueState!]
// - filterBy IssueFilters
// - after String
// - before String
// - first Int
// - last Int
Issues *IssueConnection `json:"issues,omitempty"`
// Number: Identifies the number of the milestone.
Number int `json:"number,omitempty"`
// ProgressPercentage: Identifies the percentage complete for the milestone.
ProgressPercentage float64 `json:"progressPercentage,omitempty"`
// PullRequests: A list of pull requests associated with the milestone.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
// Repository: The repository associated with this milestone.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this milestone.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: Identifies the state of the milestone.
State MilestoneState `json:"state,omitempty"`
// Title: Identifies the title of the milestone.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this milestone.
Url URI `json:"url,omitempty"`
}
Milestone (OBJECT): Represents a Milestone object on a given repository.
func (*Milestone) GetClosedAt ¶
func (*Milestone) GetCreatedAt ¶
func (*Milestone) GetCreator ¶
func (*Milestone) GetDescription ¶
func (*Milestone) GetIssues ¶
func (x *Milestone) GetIssues() *IssueConnection
func (*Milestone) GetProgressPercentage ¶
func (*Milestone) GetPullRequests ¶
func (x *Milestone) GetPullRequests() *PullRequestConnection
func (*Milestone) GetRepository ¶
func (x *Milestone) GetRepository() *Repository
func (*Milestone) GetResourcePath ¶
func (*Milestone) GetState ¶
func (x *Milestone) GetState() MilestoneState
func (*Milestone) GetUpdatedAt ¶
type MilestoneConnection ¶
type MilestoneConnection struct {
// Edges: A list of edges.
Edges []*MilestoneEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Milestone `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
MilestoneConnection (OBJECT): The connection type for Milestone.
func (*MilestoneConnection) GetEdges ¶
func (x *MilestoneConnection) GetEdges() []*MilestoneEdge
func (*MilestoneConnection) GetNodes ¶
func (x *MilestoneConnection) GetNodes() []*Milestone
func (*MilestoneConnection) GetPageInfo ¶
func (x *MilestoneConnection) GetPageInfo() *PageInfo
func (*MilestoneConnection) GetTotalCount ¶
func (x *MilestoneConnection) GetTotalCount() int
type MilestoneEdge ¶
type MilestoneEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Milestone `json:"node,omitempty"`
}
MilestoneEdge (OBJECT): An edge in a connection.
func (*MilestoneEdge) GetCursor ¶
func (x *MilestoneEdge) GetCursor() string
func (*MilestoneEdge) GetNode ¶
func (x *MilestoneEdge) GetNode() *Milestone
type MilestoneItem ¶
type MilestoneItem struct {
Interface MilestoneItem_Interface
}
func (*MilestoneItem) MarshalJSON ¶
func (x *MilestoneItem) MarshalJSON() ([]byte, error)
func (*MilestoneItem) UnmarshalJSON ¶
func (x *MilestoneItem) UnmarshalJSON(js []byte) error
type MilestoneItem_Interface ¶
type MilestoneItem_Interface interface {
// contains filtered or unexported methods
}
MilestoneItem (UNION): Types that can be inside a Milestone. MilestoneItem_Interface: Types that can be inside a Milestone.
Possible types:
- *Issue
- *PullRequest
type MilestoneOrder ¶
type MilestoneOrder struct {
// Field: The field to order milestones by.
//
// GraphQL type: MilestoneOrderField!
Field MilestoneOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
MilestoneOrder (INPUT_OBJECT): Ordering options for milestone connections.
type MilestoneOrderField ¶
type MilestoneOrderField string
MilestoneOrderField (ENUM): Properties by which milestone connections can be ordered.
const MilestoneOrderField_CREATED_AT MilestoneOrderField = "CREATED_AT"
MilestoneOrderField_CREATED_AT: Order milestones by when they were created.
const MilestoneOrderField_DUE_DATE MilestoneOrderField = "DUE_DATE"
MilestoneOrderField_DUE_DATE: Order milestones by when they are due.
const MilestoneOrderField_NUMBER MilestoneOrderField = "NUMBER"
MilestoneOrderField_NUMBER: Order milestones by their number.
const MilestoneOrderField_UPDATED_AT MilestoneOrderField = "UPDATED_AT"
MilestoneOrderField_UPDATED_AT: Order milestones by when they were last updated.
type MilestoneState ¶
type MilestoneState string
MilestoneState (ENUM): The possible states of a milestone.
const MilestoneState_CLOSED MilestoneState = "CLOSED"
MilestoneState_CLOSED: A milestone that has been closed.
const MilestoneState_OPEN MilestoneState = "OPEN"
MilestoneState_OPEN: A milestone that is still open.
type MilestonedEvent ¶
type MilestonedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MilestoneTitle: Identifies the milestone title associated with the 'milestoned' event.
MilestoneTitle string `json:"milestoneTitle,omitempty"`
// Subject: Object referenced by event.
Subject MilestoneItem `json:"subject,omitempty"`
}
MilestonedEvent (OBJECT): Represents a 'milestoned' event on a given issue or pull request.
func (*MilestonedEvent) GetActor ¶
func (x *MilestonedEvent) GetActor() Actor
func (*MilestonedEvent) GetCreatedAt ¶
func (x *MilestonedEvent) GetCreatedAt() DateTime
func (*MilestonedEvent) GetId ¶
func (x *MilestonedEvent) GetId() ID
func (*MilestonedEvent) GetMilestoneTitle ¶
func (x *MilestonedEvent) GetMilestoneTitle() string
func (*MilestonedEvent) GetSubject ¶
func (x *MilestonedEvent) GetSubject() MilestoneItem
type Minimizable ¶
type Minimizable struct {
Interface Minimizable_Interface
}
func (*Minimizable) MarshalJSON ¶
func (x *Minimizable) MarshalJSON() ([]byte, error)
func (*Minimizable) UnmarshalJSON ¶
func (x *Minimizable) UnmarshalJSON(js []byte) error
type Minimizable_Interface ¶
type Minimizable_Interface interface {
GetIsMinimized() bool
GetMinimizedReason() string
GetViewerCanMinimize() bool
// contains filtered or unexported methods
}
Minimizable (INTERFACE): Entities that can be minimized. Minimizable_Interface: Entities that can be minimized.
Possible types:
- *CommitComment
- *DiscussionComment
- *GistComment
- *IssueComment
- *PullRequestReviewComment
type MinimizeCommentInput ¶
type MinimizeCommentInput struct {
// SubjectId: The Node ID of the subject to modify.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// Classifier: The classification of comment.
//
// GraphQL type: ReportedContentClassifiers!
Classifier ReportedContentClassifiers `json:"classifier,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MinimizeCommentInput (INPUT_OBJECT): Autogenerated input type of MinimizeComment.
type MinimizeCommentPayload ¶
type MinimizeCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// MinimizedComment: The comment that was minimized.
MinimizedComment Minimizable `json:"minimizedComment,omitempty"`
}
MinimizeCommentPayload (OBJECT): Autogenerated return type of MinimizeComment.
func (*MinimizeCommentPayload) GetClientMutationId ¶
func (x *MinimizeCommentPayload) GetClientMutationId() string
func (*MinimizeCommentPayload) GetMinimizedComment ¶
func (x *MinimizeCommentPayload) GetMinimizedComment() Minimizable
type MoveProjectCardInput ¶
type MoveProjectCardInput struct {
// CardId: The id of the card to move.
//
// GraphQL type: ID!
CardId ID `json:"cardId,omitempty"`
// ColumnId: The id of the column to move it into.
//
// GraphQL type: ID!
ColumnId ID `json:"columnId,omitempty"`
// AfterCardId: Place the new card after the card with this id. Pass null to place it at the top.
//
// GraphQL type: ID
AfterCardId ID `json:"afterCardId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MoveProjectCardInput (INPUT_OBJECT): Autogenerated input type of MoveProjectCard.
type MoveProjectCardPayload ¶
type MoveProjectCardPayload struct {
// CardEdge: The new edge of the moved card.
CardEdge *ProjectCardEdge `json:"cardEdge,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MoveProjectCardPayload (OBJECT): Autogenerated return type of MoveProjectCard.
func (*MoveProjectCardPayload) GetCardEdge ¶
func (x *MoveProjectCardPayload) GetCardEdge() *ProjectCardEdge
func (*MoveProjectCardPayload) GetClientMutationId ¶
func (x *MoveProjectCardPayload) GetClientMutationId() string
type MoveProjectColumnInput ¶
type MoveProjectColumnInput struct {
// ColumnId: The id of the column to move.
//
// GraphQL type: ID!
ColumnId ID `json:"columnId,omitempty"`
// AfterColumnId: Place the new column after the column with this id. Pass null to place it at the front.
//
// GraphQL type: ID
AfterColumnId ID `json:"afterColumnId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
MoveProjectColumnInput (INPUT_OBJECT): Autogenerated input type of MoveProjectColumn.
type MoveProjectColumnPayload ¶
type MoveProjectColumnPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ColumnEdge: The new edge of the moved column.
ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"`
}
MoveProjectColumnPayload (OBJECT): Autogenerated return type of MoveProjectColumn.
func (*MoveProjectColumnPayload) GetClientMutationId ¶
func (x *MoveProjectColumnPayload) GetClientMutationId() string
func (*MoveProjectColumnPayload) GetColumnEdge ¶
func (x *MoveProjectColumnPayload) GetColumnEdge() *ProjectColumnEdge
type MovedColumnsInProjectEvent ¶
type MovedColumnsInProjectEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PreviousProjectColumnName: Column name the issue or pull request was moved from.
PreviousProjectColumnName string `json:"previousProjectColumnName,omitempty"`
// Project: Project referenced by event.
Project *Project `json:"project,omitempty"`
// ProjectCard: Project card referenced by this project event.
ProjectCard *ProjectCard `json:"projectCard,omitempty"`
// ProjectColumnName: Column name the issue or pull request was moved to.
ProjectColumnName string `json:"projectColumnName,omitempty"`
}
MovedColumnsInProjectEvent (OBJECT): Represents a 'moved_columns_in_project' event on a given issue or pull request.
func (*MovedColumnsInProjectEvent) GetActor ¶
func (x *MovedColumnsInProjectEvent) GetActor() Actor
func (*MovedColumnsInProjectEvent) GetCreatedAt ¶
func (x *MovedColumnsInProjectEvent) GetCreatedAt() DateTime
func (*MovedColumnsInProjectEvent) GetDatabaseId ¶
func (x *MovedColumnsInProjectEvent) GetDatabaseId() int
func (*MovedColumnsInProjectEvent) GetId ¶
func (x *MovedColumnsInProjectEvent) GetId() ID
func (*MovedColumnsInProjectEvent) GetPreviousProjectColumnName ¶
func (x *MovedColumnsInProjectEvent) GetPreviousProjectColumnName() string
func (*MovedColumnsInProjectEvent) GetProject ¶
func (x *MovedColumnsInProjectEvent) GetProject() *Project
func (*MovedColumnsInProjectEvent) GetProjectCard ¶
func (x *MovedColumnsInProjectEvent) GetProjectCard() *ProjectCard
func (*MovedColumnsInProjectEvent) GetProjectColumnName ¶
func (x *MovedColumnsInProjectEvent) GetProjectColumnName() string
type Mutation ¶
type Mutation struct {
// AbortQueuedMigrations: Clear all of a customer's queued migrations.
//
// Query arguments:
// - input AbortQueuedMigrationsInput!
AbortQueuedMigrations *AbortQueuedMigrationsPayload `json:"abortQueuedMigrations,omitempty"`
// AcceptEnterpriseAdministratorInvitation: Accepts a pending invitation for a user to become an administrator of an enterprise.
//
// Query arguments:
// - input AcceptEnterpriseAdministratorInvitationInput!
AcceptEnterpriseAdministratorInvitation *AcceptEnterpriseAdministratorInvitationPayload `json:"acceptEnterpriseAdministratorInvitation,omitempty"`
// AcceptTopicSuggestion: Applies a suggested topic to the repository.
//
// Query arguments:
// - input AcceptTopicSuggestionInput!
AcceptTopicSuggestion *AcceptTopicSuggestionPayload `json:"acceptTopicSuggestion,omitempty"`
// AddAssigneesToAssignable: Adds assignees to an assignable object.
//
// Query arguments:
// - input AddAssigneesToAssignableInput!
AddAssigneesToAssignable *AddAssigneesToAssignablePayload `json:"addAssigneesToAssignable,omitempty"`
// AddComment: Adds a comment to an Issue or Pull Request.
//
// Query arguments:
// - input AddCommentInput!
AddComment *AddCommentPayload `json:"addComment,omitempty"`
// AddDiscussionComment: Adds a comment to a Discussion, possibly as a reply to another comment.
//
// Query arguments:
// - input AddDiscussionCommentInput!
AddDiscussionComment *AddDiscussionCommentPayload `json:"addDiscussionComment,omitempty"`
// AddDiscussionPollVote: Vote for an option in a discussion poll.
//
// Query arguments:
// - input AddDiscussionPollVoteInput!
AddDiscussionPollVote *AddDiscussionPollVotePayload `json:"addDiscussionPollVote,omitempty"`
// AddEnterpriseSupportEntitlement: Adds a support entitlement to an enterprise member.
//
// Query arguments:
// - input AddEnterpriseSupportEntitlementInput!
AddEnterpriseSupportEntitlement *AddEnterpriseSupportEntitlementPayload `json:"addEnterpriseSupportEntitlement,omitempty"`
// AddLabelsToLabelable: Adds labels to a labelable object.
//
// Query arguments:
// - input AddLabelsToLabelableInput!
AddLabelsToLabelable *AddLabelsToLabelablePayload `json:"addLabelsToLabelable,omitempty"`
// AddProjectCard: Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both.
//
// Query arguments:
// - input AddProjectCardInput!
AddProjectCard *AddProjectCardPayload `json:"addProjectCard,omitempty"`
// AddProjectColumn: Adds a column to a Project.
//
// Query arguments:
// - input AddProjectColumnInput!
AddProjectColumn *AddProjectColumnPayload `json:"addProjectColumn,omitempty"`
// AddProjectDraftIssue: Creates a new draft issue and add it to a Project.
//
// Deprecated: Creates a new draft issue and add it to a Project.
//
// Query arguments:
// - input AddProjectDraftIssueInput!
AddProjectDraftIssue *AddProjectDraftIssuePayload `json:"addProjectDraftIssue,omitempty"`
// AddProjectNextItem: Adds an existing item (Issue or PullRequest) to a Project.
//
// Deprecated: Adds an existing item (Issue or PullRequest) to a Project.
//
// Query arguments:
// - input AddProjectNextItemInput!
AddProjectNextItem *AddProjectNextItemPayload `json:"addProjectNextItem,omitempty"`
// AddProjectV2DraftIssue: Creates a new draft issue and add it to a Project.
//
// Query arguments:
// - input AddProjectV2DraftIssueInput!
AddProjectV2DraftIssue *AddProjectV2DraftIssuePayload `json:"addProjectV2DraftIssue,omitempty"`
// AddProjectV2ItemById: Links an existing content instance to a Project.
//
// Query arguments:
// - input AddProjectV2ItemByIdInput!
AddProjectV2ItemById *AddProjectV2ItemByIdPayload `json:"addProjectV2ItemById,omitempty"`
// AddPullRequestReview: Adds a review to a Pull Request.
//
// Query arguments:
// - input AddPullRequestReviewInput!
AddPullRequestReview *AddPullRequestReviewPayload `json:"addPullRequestReview,omitempty"`
// AddPullRequestReviewComment: Adds a comment to a review.
//
// Query arguments:
// - input AddPullRequestReviewCommentInput!
AddPullRequestReviewComment *AddPullRequestReviewCommentPayload `json:"addPullRequestReviewComment,omitempty"`
// AddPullRequestReviewThread: Adds a new thread to a pending Pull Request Review.
//
// Query arguments:
// - input AddPullRequestReviewThreadInput!
AddPullRequestReviewThread *AddPullRequestReviewThreadPayload `json:"addPullRequestReviewThread,omitempty"`
// AddReaction: Adds a reaction to a subject.
//
// Query arguments:
// - input AddReactionInput!
AddReaction *AddReactionPayload `json:"addReaction,omitempty"`
// AddStar: Adds a star to a Starrable.
//
// Query arguments:
// - input AddStarInput!
AddStar *AddStarPayload `json:"addStar,omitempty"`
// AddUpvote: Add an upvote to a discussion or discussion comment.
//
// Query arguments:
// - input AddUpvoteInput!
AddUpvote *AddUpvotePayload `json:"addUpvote,omitempty"`
// AddVerifiableDomain: Adds a verifiable domain to an owning account.
//
// Query arguments:
// - input AddVerifiableDomainInput!
AddVerifiableDomain *AddVerifiableDomainPayload `json:"addVerifiableDomain,omitempty"`
// ApproveDeployments: Approve all pending deployments under one or more environments.
//
// Query arguments:
// - input ApproveDeploymentsInput!
ApproveDeployments *ApproveDeploymentsPayload `json:"approveDeployments,omitempty"`
// ApproveVerifiableDomain: Approve a verifiable domain for notification delivery.
//
// Query arguments:
// - input ApproveVerifiableDomainInput!
ApproveVerifiableDomain *ApproveVerifiableDomainPayload `json:"approveVerifiableDomain,omitempty"`
// ArchiveRepository: Marks a repository as archived.
//
// Query arguments:
// - input ArchiveRepositoryInput!
ArchiveRepository *ArchiveRepositoryPayload `json:"archiveRepository,omitempty"`
// CancelEnterpriseAdminInvitation: Cancels a pending invitation for an administrator to join an enterprise.
//
// Query arguments:
// - input CancelEnterpriseAdminInvitationInput!
CancelEnterpriseAdminInvitation *CancelEnterpriseAdminInvitationPayload `json:"cancelEnterpriseAdminInvitation,omitempty"`
// CancelSponsorship: Cancel an active sponsorship.
//
// Query arguments:
// - input CancelSponsorshipInput!
CancelSponsorship *CancelSponsorshipPayload `json:"cancelSponsorship,omitempty"`
// ChangeUserStatus: Update your status on GitHub.
//
// Query arguments:
// - input ChangeUserStatusInput!
ChangeUserStatus *ChangeUserStatusPayload `json:"changeUserStatus,omitempty"`
// ClearLabelsFromLabelable: Clears all labels from a labelable object.
//
// Query arguments:
// - input ClearLabelsFromLabelableInput!
ClearLabelsFromLabelable *ClearLabelsFromLabelablePayload `json:"clearLabelsFromLabelable,omitempty"`
// CloneProject: Creates a new project by cloning configuration from an existing project.
//
// Query arguments:
// - input CloneProjectInput!
CloneProject *CloneProjectPayload `json:"cloneProject,omitempty"`
// CloneTemplateRepository: Create a new repository with the same files and directory structure as a template repository.
//
// Query arguments:
// - input CloneTemplateRepositoryInput!
CloneTemplateRepository *CloneTemplateRepositoryPayload `json:"cloneTemplateRepository,omitempty"`
// CloseIssue: Close an issue.
//
// Query arguments:
// - input CloseIssueInput!
CloseIssue *CloseIssuePayload `json:"closeIssue,omitempty"`
// ClosePullRequest: Close a pull request.
//
// Query arguments:
// - input ClosePullRequestInput!
ClosePullRequest *ClosePullRequestPayload `json:"closePullRequest,omitempty"`
// ConvertProjectCardNoteToIssue: Convert a project note card to one associated with a newly created issue.
//
// Query arguments:
// - input ConvertProjectCardNoteToIssueInput!
ConvertProjectCardNoteToIssue *ConvertProjectCardNoteToIssuePayload `json:"convertProjectCardNoteToIssue,omitempty"`
// ConvertPullRequestToDraft: Converts a pull request to draft.
//
// Query arguments:
// - input ConvertPullRequestToDraftInput!
ConvertPullRequestToDraft *ConvertPullRequestToDraftPayload `json:"convertPullRequestToDraft,omitempty"`
// CreateBranchProtectionRule: Create a new branch protection rule.
//
// Query arguments:
// - input CreateBranchProtectionRuleInput!
CreateBranchProtectionRule *CreateBranchProtectionRulePayload `json:"createBranchProtectionRule,omitempty"`
// CreateCheckRun: Create a check run.
//
// Query arguments:
// - input CreateCheckRunInput!
CreateCheckRun *CreateCheckRunPayload `json:"createCheckRun,omitempty"`
// CreateCheckSuite: Create a check suite.
//
// Query arguments:
// - input CreateCheckSuiteInput!
CreateCheckSuite *CreateCheckSuitePayload `json:"createCheckSuite,omitempty"`
// CreateCommitOnBranch: Appends a commit to the given branch as the authenticated user.
//
// This mutation creates a commit whose parent is the HEAD of the provided
// branch and also updates that branch to point to the new commit.
// It can be thought of as similar to `git commit`.
//
// ### Locating a Branch
//
// Commits are appended to a `branch` of type `Ref`.
// This must refer to a git branch (i.e. the fully qualified path must
// begin with `refs/heads/`, although including this prefix is optional.
//
// Callers may specify the `branch` to commit to either by its global node
// ID or by passing both of `repositoryNameWithOwner` and `refName`. For
// more details see the documentation for `CommittableBranch`.
//
// ### Describing Changes
//
// `fileChanges` are specified as a `FilesChanges` object describing
// `FileAdditions` and `FileDeletions`.
//
// Please see the documentation for `FileChanges` for more information on
// how to use this argument to describe any set of file changes.
//
// ### Authorship
//
// Similar to the web commit interface, this mutation does not support
// specifying the author or committer of the commit and will not add
// support for this in the future.
//
// A commit created by a successful execution of this mutation will be
// authored by the owner of the credential which authenticates the API
// request. The committer will be identical to that of commits authored
// using the web interface.
//
// If you need full control over author and committer information, please
// use the Git Database REST API instead.
//
// ### Commit Signing
//
// Commits made using this mutation are automatically signed by GitHub if
// supported and will be marked as verified in the user interface.
// .
//
// Query arguments:
// - input CreateCommitOnBranchInput!
CreateCommitOnBranch *CreateCommitOnBranchPayload `json:"createCommitOnBranch,omitempty"`
// CreateDiscussion: Create a discussion.
//
// Query arguments:
// - input CreateDiscussionInput!
CreateDiscussion *CreateDiscussionPayload `json:"createDiscussion,omitempty"`
// CreateEnterpriseOrganization: Creates an organization as part of an enterprise account.
//
// Query arguments:
// - input CreateEnterpriseOrganizationInput!
CreateEnterpriseOrganization *CreateEnterpriseOrganizationPayload `json:"createEnterpriseOrganization,omitempty"`
// CreateEnvironment: Creates an environment or simply returns it if already exists.
//
// Query arguments:
// - input CreateEnvironmentInput!
CreateEnvironment *CreateEnvironmentPayload `json:"createEnvironment,omitempty"`
// CreateIpAllowListEntry: Creates a new IP allow list entry.
//
// Query arguments:
// - input CreateIpAllowListEntryInput!
CreateIpAllowListEntry *CreateIpAllowListEntryPayload `json:"createIpAllowListEntry,omitempty"`
// CreateIssue: Creates a new issue.
//
// Query arguments:
// - input CreateIssueInput!
CreateIssue *CreateIssuePayload `json:"createIssue,omitempty"`
// CreateMigrationSource: Creates an Octoshift migration source.
//
// Query arguments:
// - input CreateMigrationSourceInput!
CreateMigrationSource *CreateMigrationSourcePayload `json:"createMigrationSource,omitempty"`
// CreateProject: Creates a new project.
//
// Query arguments:
// - input CreateProjectInput!
CreateProject *CreateProjectPayload `json:"createProject,omitempty"`
// CreateProjectV2: Creates a new project.
//
// Query arguments:
// - input CreateProjectV2Input!
CreateProjectV2 *CreateProjectV2Payload `json:"createProjectV2,omitempty"`
// CreatePullRequest: Create a new pull request.
//
// Query arguments:
// - input CreatePullRequestInput!
CreatePullRequest *CreatePullRequestPayload `json:"createPullRequest,omitempty"`
// CreateRef: Create a new Git Ref.
//
// Query arguments:
// - input CreateRefInput!
CreateRef *CreateRefPayload `json:"createRef,omitempty"`
// CreateRepository: Create a new repository.
//
// Query arguments:
// - input CreateRepositoryInput!
CreateRepository *CreateRepositoryPayload `json:"createRepository,omitempty"`
// CreateSponsorsTier: Create a new payment tier for your GitHub Sponsors profile.
//
// Query arguments:
// - input CreateSponsorsTierInput!
CreateSponsorsTier *CreateSponsorsTierPayload `json:"createSponsorsTier,omitempty"`
// CreateSponsorship: Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship.
//
// Query arguments:
// - input CreateSponsorshipInput!
CreateSponsorship *CreateSponsorshipPayload `json:"createSponsorship,omitempty"`
// CreateTeamDiscussion: Creates a new team discussion.
//
// Query arguments:
// - input CreateTeamDiscussionInput!
CreateTeamDiscussion *CreateTeamDiscussionPayload `json:"createTeamDiscussion,omitempty"`
// CreateTeamDiscussionComment: Creates a new team discussion comment.
//
// Query arguments:
// - input CreateTeamDiscussionCommentInput!
CreateTeamDiscussionComment *CreateTeamDiscussionCommentPayload `json:"createTeamDiscussionComment,omitempty"`
// DeclineTopicSuggestion: Rejects a suggested topic for the repository.
//
// Query arguments:
// - input DeclineTopicSuggestionInput!
DeclineTopicSuggestion *DeclineTopicSuggestionPayload `json:"declineTopicSuggestion,omitempty"`
// DeleteBranchProtectionRule: Delete a branch protection rule.
//
// Query arguments:
// - input DeleteBranchProtectionRuleInput!
DeleteBranchProtectionRule *DeleteBranchProtectionRulePayload `json:"deleteBranchProtectionRule,omitempty"`
// DeleteDeployment: Deletes a deployment.
//
// Query arguments:
// - input DeleteDeploymentInput!
DeleteDeployment *DeleteDeploymentPayload `json:"deleteDeployment,omitempty"`
// DeleteDiscussion: Delete a discussion and all of its replies.
//
// Query arguments:
// - input DeleteDiscussionInput!
DeleteDiscussion *DeleteDiscussionPayload `json:"deleteDiscussion,omitempty"`
// DeleteDiscussionComment: Delete a discussion comment. If it has replies, wipe it instead.
//
// Query arguments:
// - input DeleteDiscussionCommentInput!
DeleteDiscussionComment *DeleteDiscussionCommentPayload `json:"deleteDiscussionComment,omitempty"`
// DeleteEnvironment: Deletes an environment.
//
// Query arguments:
// - input DeleteEnvironmentInput!
DeleteEnvironment *DeleteEnvironmentPayload `json:"deleteEnvironment,omitempty"`
// DeleteIpAllowListEntry: Deletes an IP allow list entry.
//
// Query arguments:
// - input DeleteIpAllowListEntryInput!
DeleteIpAllowListEntry *DeleteIpAllowListEntryPayload `json:"deleteIpAllowListEntry,omitempty"`
// DeleteIssue: Deletes an Issue object.
//
// Query arguments:
// - input DeleteIssueInput!
DeleteIssue *DeleteIssuePayload `json:"deleteIssue,omitempty"`
// DeleteIssueComment: Deletes an IssueComment object.
//
// Query arguments:
// - input DeleteIssueCommentInput!
DeleteIssueComment *DeleteIssueCommentPayload `json:"deleteIssueComment,omitempty"`
// DeleteProject: Deletes a project.
//
// Query arguments:
// - input DeleteProjectInput!
DeleteProject *DeleteProjectPayload `json:"deleteProject,omitempty"`
// DeleteProjectCard: Deletes a project card.
//
// Query arguments:
// - input DeleteProjectCardInput!
DeleteProjectCard *DeleteProjectCardPayload `json:"deleteProjectCard,omitempty"`
// DeleteProjectColumn: Deletes a project column.
//
// Query arguments:
// - input DeleteProjectColumnInput!
DeleteProjectColumn *DeleteProjectColumnPayload `json:"deleteProjectColumn,omitempty"`
// DeleteProjectNextItem: Deletes an item from a Project.
//
// Deprecated: Deletes an item from a Project.
//
// Query arguments:
// - input DeleteProjectNextItemInput!
DeleteProjectNextItem *DeleteProjectNextItemPayload `json:"deleteProjectNextItem,omitempty"`
// DeleteProjectV2Item: Deletes an item from a Project.
//
// Query arguments:
// - input DeleteProjectV2ItemInput!
DeleteProjectV2Item *DeleteProjectV2ItemPayload `json:"deleteProjectV2Item,omitempty"`
// DeletePullRequestReview: Deletes a pull request review.
//
// Query arguments:
// - input DeletePullRequestReviewInput!
DeletePullRequestReview *DeletePullRequestReviewPayload `json:"deletePullRequestReview,omitempty"`
// DeletePullRequestReviewComment: Deletes a pull request review comment.
//
// Query arguments:
// - input DeletePullRequestReviewCommentInput!
DeletePullRequestReviewComment *DeletePullRequestReviewCommentPayload `json:"deletePullRequestReviewComment,omitempty"`
// DeleteRef: Delete a Git Ref.
//
// Query arguments:
// - input DeleteRefInput!
DeleteRef *DeleteRefPayload `json:"deleteRef,omitempty"`
// DeleteTeamDiscussion: Deletes a team discussion.
//
// Query arguments:
// - input DeleteTeamDiscussionInput!
DeleteTeamDiscussion *DeleteTeamDiscussionPayload `json:"deleteTeamDiscussion,omitempty"`
// DeleteTeamDiscussionComment: Deletes a team discussion comment.
//
// Query arguments:
// - input DeleteTeamDiscussionCommentInput!
DeleteTeamDiscussionComment *DeleteTeamDiscussionCommentPayload `json:"deleteTeamDiscussionComment,omitempty"`
// DeleteVerifiableDomain: Deletes a verifiable domain.
//
// Query arguments:
// - input DeleteVerifiableDomainInput!
DeleteVerifiableDomain *DeleteVerifiableDomainPayload `json:"deleteVerifiableDomain,omitempty"`
// DisablePullRequestAutoMerge: Disable auto merge on the given pull request.
//
// Query arguments:
// - input DisablePullRequestAutoMergeInput!
DisablePullRequestAutoMerge *DisablePullRequestAutoMergePayload `json:"disablePullRequestAutoMerge,omitempty"`
// DismissPullRequestReview: Dismisses an approved or rejected pull request review.
//
// Query arguments:
// - input DismissPullRequestReviewInput!
DismissPullRequestReview *DismissPullRequestReviewPayload `json:"dismissPullRequestReview,omitempty"`
// DismissRepositoryVulnerabilityAlert: Dismisses the Dependabot alert.
//
// Query arguments:
// - input DismissRepositoryVulnerabilityAlertInput!
DismissRepositoryVulnerabilityAlert *DismissRepositoryVulnerabilityAlertPayload `json:"dismissRepositoryVulnerabilityAlert,omitempty"`
// EnablePullRequestAutoMerge: Enable the default auto-merge on a pull request.
//
// Query arguments:
// - input EnablePullRequestAutoMergeInput!
EnablePullRequestAutoMerge *EnablePullRequestAutoMergePayload `json:"enablePullRequestAutoMerge,omitempty"`
// FollowOrganization: Follow an organization.
//
// Query arguments:
// - input FollowOrganizationInput!
FollowOrganization *FollowOrganizationPayload `json:"followOrganization,omitempty"`
// FollowUser: Follow a user.
//
// Query arguments:
// - input FollowUserInput!
FollowUser *FollowUserPayload `json:"followUser,omitempty"`
// GrantEnterpriseOrganizationsMigratorRole: Grant the migrator role to a user for all organizations under an enterprise account.
//
// Query arguments:
// - input GrantEnterpriseOrganizationsMigratorRoleInput!
GrantEnterpriseOrganizationsMigratorRole *GrantEnterpriseOrganizationsMigratorRolePayload `json:"grantEnterpriseOrganizationsMigratorRole,omitempty"`
// GrantMigratorRole: Grant the migrator role to a user or a team.
//
// Query arguments:
// - input GrantMigratorRoleInput!
GrantMigratorRole *GrantMigratorRolePayload `json:"grantMigratorRole,omitempty"`
// InviteEnterpriseAdmin: Invite someone to become an administrator of the enterprise.
//
// Query arguments:
// - input InviteEnterpriseAdminInput!
InviteEnterpriseAdmin *InviteEnterpriseAdminPayload `json:"inviteEnterpriseAdmin,omitempty"`
// LinkRepositoryToProject: Creates a repository link for a project.
//
// Query arguments:
// - input LinkRepositoryToProjectInput!
LinkRepositoryToProject *LinkRepositoryToProjectPayload `json:"linkRepositoryToProject,omitempty"`
// LockLockable: Lock a lockable object.
//
// Query arguments:
// - input LockLockableInput!
LockLockable *LockLockablePayload `json:"lockLockable,omitempty"`
// MarkDiscussionCommentAsAnswer: Mark a discussion comment as the chosen answer for discussions in an answerable category.
//
// Query arguments:
// - input MarkDiscussionCommentAsAnswerInput!
MarkDiscussionCommentAsAnswer *MarkDiscussionCommentAsAnswerPayload `json:"markDiscussionCommentAsAnswer,omitempty"`
// MarkFileAsViewed: Mark a pull request file as viewed.
//
// Query arguments:
// - input MarkFileAsViewedInput!
MarkFileAsViewed *MarkFileAsViewedPayload `json:"markFileAsViewed,omitempty"`
// MarkPullRequestReadyForReview: Marks a pull request ready for review.
//
// Query arguments:
// - input MarkPullRequestReadyForReviewInput!
MarkPullRequestReadyForReview *MarkPullRequestReadyForReviewPayload `json:"markPullRequestReadyForReview,omitempty"`
// MergeBranch: Merge a head into a branch.
//
// Query arguments:
// - input MergeBranchInput!
MergeBranch *MergeBranchPayload `json:"mergeBranch,omitempty"`
// MergePullRequest: Merge a pull request.
//
// Query arguments:
// - input MergePullRequestInput!
MergePullRequest *MergePullRequestPayload `json:"mergePullRequest,omitempty"`
// MinimizeComment: Minimizes a comment on an Issue, Commit, Pull Request, or Gist.
//
// Query arguments:
// - input MinimizeCommentInput!
MinimizeComment *MinimizeCommentPayload `json:"minimizeComment,omitempty"`
// MoveProjectCard: Moves a project card to another place.
//
// Query arguments:
// - input MoveProjectCardInput!
MoveProjectCard *MoveProjectCardPayload `json:"moveProjectCard,omitempty"`
// MoveProjectColumn: Moves a project column to another place.
//
// Query arguments:
// - input MoveProjectColumnInput!
MoveProjectColumn *MoveProjectColumnPayload `json:"moveProjectColumn,omitempty"`
// PinIssue: Pin an issue to a repository.
//
// Query arguments:
// - input PinIssueInput!
PinIssue *PinIssuePayload `json:"pinIssue,omitempty"`
// RegenerateEnterpriseIdentityProviderRecoveryCodes: Regenerates the identity provider recovery codes for an enterprise.
//
// Query arguments:
// - input RegenerateEnterpriseIdentityProviderRecoveryCodesInput!
RegenerateEnterpriseIdentityProviderRecoveryCodes *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload `json:"regenerateEnterpriseIdentityProviderRecoveryCodes,omitempty"`
// RegenerateVerifiableDomainToken: Regenerates a verifiable domain's verification token.
//
// Query arguments:
// - input RegenerateVerifiableDomainTokenInput!
RegenerateVerifiableDomainToken *RegenerateVerifiableDomainTokenPayload `json:"regenerateVerifiableDomainToken,omitempty"`
// RejectDeployments: Reject all pending deployments under one or more environments.
//
// Query arguments:
// - input RejectDeploymentsInput!
RejectDeployments *RejectDeploymentsPayload `json:"rejectDeployments,omitempty"`
// RemoveAssigneesFromAssignable: Removes assignees from an assignable object.
//
// Query arguments:
// - input RemoveAssigneesFromAssignableInput!
RemoveAssigneesFromAssignable *RemoveAssigneesFromAssignablePayload `json:"removeAssigneesFromAssignable,omitempty"`
// RemoveEnterpriseAdmin: Removes an administrator from the enterprise.
//
// Query arguments:
// - input RemoveEnterpriseAdminInput!
RemoveEnterpriseAdmin *RemoveEnterpriseAdminPayload `json:"removeEnterpriseAdmin,omitempty"`
// RemoveEnterpriseIdentityProvider: Removes the identity provider from an enterprise.
//
// Query arguments:
// - input RemoveEnterpriseIdentityProviderInput!
RemoveEnterpriseIdentityProvider *RemoveEnterpriseIdentityProviderPayload `json:"removeEnterpriseIdentityProvider,omitempty"`
// RemoveEnterpriseOrganization: Removes an organization from the enterprise.
//
// Query arguments:
// - input RemoveEnterpriseOrganizationInput!
RemoveEnterpriseOrganization *RemoveEnterpriseOrganizationPayload `json:"removeEnterpriseOrganization,omitempty"`
// RemoveEnterpriseSupportEntitlement: Removes a support entitlement from an enterprise member.
//
// Query arguments:
// - input RemoveEnterpriseSupportEntitlementInput!
RemoveEnterpriseSupportEntitlement *RemoveEnterpriseSupportEntitlementPayload `json:"removeEnterpriseSupportEntitlement,omitempty"`
// RemoveLabelsFromLabelable: Removes labels from a Labelable object.
//
// Query arguments:
// - input RemoveLabelsFromLabelableInput!
RemoveLabelsFromLabelable *RemoveLabelsFromLabelablePayload `json:"removeLabelsFromLabelable,omitempty"`
// RemoveOutsideCollaborator: Removes outside collaborator from all repositories in an organization.
//
// Query arguments:
// - input RemoveOutsideCollaboratorInput!
RemoveOutsideCollaborator *RemoveOutsideCollaboratorPayload `json:"removeOutsideCollaborator,omitempty"`
// RemoveReaction: Removes a reaction from a subject.
//
// Query arguments:
// - input RemoveReactionInput!
RemoveReaction *RemoveReactionPayload `json:"removeReaction,omitempty"`
// RemoveStar: Removes a star from a Starrable.
//
// Query arguments:
// - input RemoveStarInput!
RemoveStar *RemoveStarPayload `json:"removeStar,omitempty"`
// RemoveUpvote: Remove an upvote to a discussion or discussion comment.
//
// Query arguments:
// - input RemoveUpvoteInput!
RemoveUpvote *RemoveUpvotePayload `json:"removeUpvote,omitempty"`
// ReopenIssue: Reopen a issue.
//
// Query arguments:
// - input ReopenIssueInput!
ReopenIssue *ReopenIssuePayload `json:"reopenIssue,omitempty"`
// ReopenPullRequest: Reopen a pull request.
//
// Query arguments:
// - input ReopenPullRequestInput!
ReopenPullRequest *ReopenPullRequestPayload `json:"reopenPullRequest,omitempty"`
// RequestReviews: Set review requests on a pull request.
//
// Query arguments:
// - input RequestReviewsInput!
RequestReviews *RequestReviewsPayload `json:"requestReviews,omitempty"`
// RerequestCheckSuite: Rerequests an existing check suite.
//
// Query arguments:
// - input RerequestCheckSuiteInput!
RerequestCheckSuite *RerequestCheckSuitePayload `json:"rerequestCheckSuite,omitempty"`
// ResolveReviewThread: Marks a review thread as resolved.
//
// Query arguments:
// - input ResolveReviewThreadInput!
ResolveReviewThread *ResolveReviewThreadPayload `json:"resolveReviewThread,omitempty"`
// RevokeEnterpriseOrganizationsMigratorRole: Revoke the migrator role to a user for all organizations under an enterprise account.
//
// Query arguments:
// - input RevokeEnterpriseOrganizationsMigratorRoleInput!
RevokeEnterpriseOrganizationsMigratorRole *RevokeEnterpriseOrganizationsMigratorRolePayload `json:"revokeEnterpriseOrganizationsMigratorRole,omitempty"`
// RevokeMigratorRole: Revoke the migrator role from a user or a team.
//
// Query arguments:
// - input RevokeMigratorRoleInput!
RevokeMigratorRole *RevokeMigratorRolePayload `json:"revokeMigratorRole,omitempty"`
// SetEnterpriseIdentityProvider: Creates or updates the identity provider for an enterprise.
//
// Query arguments:
// - input SetEnterpriseIdentityProviderInput!
SetEnterpriseIdentityProvider *SetEnterpriseIdentityProviderPayload `json:"setEnterpriseIdentityProvider,omitempty"`
// SetOrganizationInteractionLimit: Set an organization level interaction limit for an organization's public repositories.
//
// Query arguments:
// - input SetOrganizationInteractionLimitInput!
SetOrganizationInteractionLimit *SetOrganizationInteractionLimitPayload `json:"setOrganizationInteractionLimit,omitempty"`
// SetRepositoryInteractionLimit: Sets an interaction limit setting for a repository.
//
// Query arguments:
// - input SetRepositoryInteractionLimitInput!
SetRepositoryInteractionLimit *SetRepositoryInteractionLimitPayload `json:"setRepositoryInteractionLimit,omitempty"`
// SetUserInteractionLimit: Set a user level interaction limit for an user's public repositories.
//
// Query arguments:
// - input SetUserInteractionLimitInput!
SetUserInteractionLimit *SetUserInteractionLimitPayload `json:"setUserInteractionLimit,omitempty"`
// StartRepositoryMigration: Start a repository migration.
//
// Query arguments:
// - input StartRepositoryMigrationInput!
StartRepositoryMigration *StartRepositoryMigrationPayload `json:"startRepositoryMigration,omitempty"`
// SubmitPullRequestReview: Submits a pending pull request review.
//
// Query arguments:
// - input SubmitPullRequestReviewInput!
SubmitPullRequestReview *SubmitPullRequestReviewPayload `json:"submitPullRequestReview,omitempty"`
// TransferIssue: Transfer an issue to a different repository.
//
// Query arguments:
// - input TransferIssueInput!
TransferIssue *TransferIssuePayload `json:"transferIssue,omitempty"`
// UnarchiveRepository: Unarchives a repository.
//
// Query arguments:
// - input UnarchiveRepositoryInput!
UnarchiveRepository *UnarchiveRepositoryPayload `json:"unarchiveRepository,omitempty"`
// UnfollowOrganization: Unfollow an organization.
//
// Query arguments:
// - input UnfollowOrganizationInput!
UnfollowOrganization *UnfollowOrganizationPayload `json:"unfollowOrganization,omitempty"`
// UnfollowUser: Unfollow a user.
//
// Query arguments:
// - input UnfollowUserInput!
UnfollowUser *UnfollowUserPayload `json:"unfollowUser,omitempty"`
// UnlinkRepositoryFromProject: Deletes a repository link from a project.
//
// Query arguments:
// - input UnlinkRepositoryFromProjectInput!
UnlinkRepositoryFromProject *UnlinkRepositoryFromProjectPayload `json:"unlinkRepositoryFromProject,omitempty"`
// UnlockLockable: Unlock a lockable object.
//
// Query arguments:
// - input UnlockLockableInput!
UnlockLockable *UnlockLockablePayload `json:"unlockLockable,omitempty"`
// UnmarkDiscussionCommentAsAnswer: Unmark a discussion comment as the chosen answer for discussions in an answerable category.
//
// Query arguments:
// - input UnmarkDiscussionCommentAsAnswerInput!
UnmarkDiscussionCommentAsAnswer *UnmarkDiscussionCommentAsAnswerPayload `json:"unmarkDiscussionCommentAsAnswer,omitempty"`
// UnmarkFileAsViewed: Unmark a pull request file as viewed.
//
// Query arguments:
// - input UnmarkFileAsViewedInput!
UnmarkFileAsViewed *UnmarkFileAsViewedPayload `json:"unmarkFileAsViewed,omitempty"`
// UnmarkIssueAsDuplicate: Unmark an issue as a duplicate of another issue.
//
// Query arguments:
// - input UnmarkIssueAsDuplicateInput!
UnmarkIssueAsDuplicate *UnmarkIssueAsDuplicatePayload `json:"unmarkIssueAsDuplicate,omitempty"`
// UnminimizeComment: Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.
//
// Query arguments:
// - input UnminimizeCommentInput!
UnminimizeComment *UnminimizeCommentPayload `json:"unminimizeComment,omitempty"`
// UnpinIssue: Unpin a pinned issue from a repository.
//
// Query arguments:
// - input UnpinIssueInput!
UnpinIssue *UnpinIssuePayload `json:"unpinIssue,omitempty"`
// UnresolveReviewThread: Marks a review thread as unresolved.
//
// Query arguments:
// - input UnresolveReviewThreadInput!
UnresolveReviewThread *UnresolveReviewThreadPayload `json:"unresolveReviewThread,omitempty"`
// UpdateBranchProtectionRule: Create a new branch protection rule.
//
// Query arguments:
// - input UpdateBranchProtectionRuleInput!
UpdateBranchProtectionRule *UpdateBranchProtectionRulePayload `json:"updateBranchProtectionRule,omitempty"`
// UpdateCheckRun: Update a check run.
//
// Query arguments:
// - input UpdateCheckRunInput!
UpdateCheckRun *UpdateCheckRunPayload `json:"updateCheckRun,omitempty"`
// UpdateCheckSuitePreferences: Modifies the settings of an existing check suite.
//
// Query arguments:
// - input UpdateCheckSuitePreferencesInput!
UpdateCheckSuitePreferences *UpdateCheckSuitePreferencesPayload `json:"updateCheckSuitePreferences,omitempty"`
// UpdateDiscussion: Update a discussion.
//
// Query arguments:
// - input UpdateDiscussionInput!
UpdateDiscussion *UpdateDiscussionPayload `json:"updateDiscussion,omitempty"`
// UpdateDiscussionComment: Update the contents of a comment on a Discussion.
//
// Query arguments:
// - input UpdateDiscussionCommentInput!
UpdateDiscussionComment *UpdateDiscussionCommentPayload `json:"updateDiscussionComment,omitempty"`
// UpdateEnterpriseAdministratorRole: Updates the role of an enterprise administrator.
//
// Query arguments:
// - input UpdateEnterpriseAdministratorRoleInput!
UpdateEnterpriseAdministratorRole *UpdateEnterpriseAdministratorRolePayload `json:"updateEnterpriseAdministratorRole,omitempty"`
// UpdateEnterpriseAllowPrivateRepositoryForkingSetting: Sets whether private repository forks are enabled for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput!
UpdateEnterpriseAllowPrivateRepositoryForkingSetting *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload `json:"updateEnterpriseAllowPrivateRepositoryForkingSetting,omitempty"`
// UpdateEnterpriseDefaultRepositoryPermissionSetting: Sets the base repository permission for organizations in an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseDefaultRepositoryPermissionSettingInput!
UpdateEnterpriseDefaultRepositoryPermissionSetting *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload `json:"updateEnterpriseDefaultRepositoryPermissionSetting,omitempty"`
// UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting: Sets whether organization members with admin permissions on a repository can change repository visibility.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput!
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload `json:"updateEnterpriseMembersCanChangeRepositoryVisibilitySetting,omitempty"`
// UpdateEnterpriseMembersCanCreateRepositoriesSetting: Sets the members can create repositories setting for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanCreateRepositoriesSettingInput!
UpdateEnterpriseMembersCanCreateRepositoriesSetting *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload `json:"updateEnterpriseMembersCanCreateRepositoriesSetting,omitempty"`
// UpdateEnterpriseMembersCanDeleteIssuesSetting: Sets the members can delete issues setting for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanDeleteIssuesSettingInput!
UpdateEnterpriseMembersCanDeleteIssuesSetting *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload `json:"updateEnterpriseMembersCanDeleteIssuesSetting,omitempty"`
// UpdateEnterpriseMembersCanDeleteRepositoriesSetting: Sets the members can delete repositories setting for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput!
UpdateEnterpriseMembersCanDeleteRepositoriesSetting *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload `json:"updateEnterpriseMembersCanDeleteRepositoriesSetting,omitempty"`
// UpdateEnterpriseMembersCanInviteCollaboratorsSetting: Sets whether members can invite collaborators are enabled for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput!
UpdateEnterpriseMembersCanInviteCollaboratorsSetting *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload `json:"updateEnterpriseMembersCanInviteCollaboratorsSetting,omitempty"`
// UpdateEnterpriseMembersCanMakePurchasesSetting: Sets whether or not an organization admin can make purchases.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanMakePurchasesSettingInput!
UpdateEnterpriseMembersCanMakePurchasesSetting *UpdateEnterpriseMembersCanMakePurchasesSettingPayload `json:"updateEnterpriseMembersCanMakePurchasesSetting,omitempty"`
// UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting: Sets the members can update protected branches setting for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput!
UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload `json:"updateEnterpriseMembersCanUpdateProtectedBranchesSetting,omitempty"`
// UpdateEnterpriseMembersCanViewDependencyInsightsSetting: Sets the members can view dependency insights for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput!
UpdateEnterpriseMembersCanViewDependencyInsightsSetting *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload `json:"updateEnterpriseMembersCanViewDependencyInsightsSetting,omitempty"`
// UpdateEnterpriseOrganizationProjectsSetting: Sets whether organization projects are enabled for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseOrganizationProjectsSettingInput!
UpdateEnterpriseOrganizationProjectsSetting *UpdateEnterpriseOrganizationProjectsSettingPayload `json:"updateEnterpriseOrganizationProjectsSetting,omitempty"`
// UpdateEnterpriseOwnerOrganizationRole: Updates the role of an enterprise owner with an organization.
//
// Query arguments:
// - input UpdateEnterpriseOwnerOrganizationRoleInput!
UpdateEnterpriseOwnerOrganizationRole *UpdateEnterpriseOwnerOrganizationRolePayload `json:"updateEnterpriseOwnerOrganizationRole,omitempty"`
// UpdateEnterpriseProfile: Updates an enterprise's profile.
//
// Query arguments:
// - input UpdateEnterpriseProfileInput!
UpdateEnterpriseProfile *UpdateEnterpriseProfilePayload `json:"updateEnterpriseProfile,omitempty"`
// UpdateEnterpriseRepositoryProjectsSetting: Sets whether repository projects are enabled for a enterprise.
//
// Query arguments:
// - input UpdateEnterpriseRepositoryProjectsSettingInput!
UpdateEnterpriseRepositoryProjectsSetting *UpdateEnterpriseRepositoryProjectsSettingPayload `json:"updateEnterpriseRepositoryProjectsSetting,omitempty"`
// UpdateEnterpriseTeamDiscussionsSetting: Sets whether team discussions are enabled for an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseTeamDiscussionsSettingInput!
UpdateEnterpriseTeamDiscussionsSetting *UpdateEnterpriseTeamDiscussionsSettingPayload `json:"updateEnterpriseTeamDiscussionsSetting,omitempty"`
// UpdateEnterpriseTwoFactorAuthenticationRequiredSetting: Sets whether two factor authentication is required for all users in an enterprise.
//
// Query arguments:
// - input UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput!
UpdateEnterpriseTwoFactorAuthenticationRequiredSetting *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload `json:"updateEnterpriseTwoFactorAuthenticationRequiredSetting,omitempty"`
// UpdateEnvironment: Updates an environment.
//
// Query arguments:
// - input UpdateEnvironmentInput!
UpdateEnvironment *UpdateEnvironmentPayload `json:"updateEnvironment,omitempty"`
// UpdateIpAllowListEnabledSetting: Sets whether an IP allow list is enabled on an owner.
//
// Query arguments:
// - input UpdateIpAllowListEnabledSettingInput!
UpdateIpAllowListEnabledSetting *UpdateIpAllowListEnabledSettingPayload `json:"updateIpAllowListEnabledSetting,omitempty"`
// UpdateIpAllowListEntry: Updates an IP allow list entry.
//
// Query arguments:
// - input UpdateIpAllowListEntryInput!
UpdateIpAllowListEntry *UpdateIpAllowListEntryPayload `json:"updateIpAllowListEntry,omitempty"`
// UpdateIpAllowListForInstalledAppsEnabledSetting: Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner.
//
// Query arguments:
// - input UpdateIpAllowListForInstalledAppsEnabledSettingInput!
UpdateIpAllowListForInstalledAppsEnabledSetting *UpdateIpAllowListForInstalledAppsEnabledSettingPayload `json:"updateIpAllowListForInstalledAppsEnabledSetting,omitempty"`
// UpdateIssue: Updates an Issue.
//
// Query arguments:
// - input UpdateIssueInput!
UpdateIssue *UpdateIssuePayload `json:"updateIssue,omitempty"`
// UpdateIssueComment: Updates an IssueComment object.
//
// Query arguments:
// - input UpdateIssueCommentInput!
UpdateIssueComment *UpdateIssueCommentPayload `json:"updateIssueComment,omitempty"`
// UpdateNotificationRestrictionSetting: Update the setting to restrict notifications to only verified or approved domains available to an owner.
//
// Query arguments:
// - input UpdateNotificationRestrictionSettingInput!
UpdateNotificationRestrictionSetting *UpdateNotificationRestrictionSettingPayload `json:"updateNotificationRestrictionSetting,omitempty"`
// UpdateOrganizationAllowPrivateRepositoryForkingSetting: Sets whether private repository forks are enabled for an organization.
//
// Query arguments:
// - input UpdateOrganizationAllowPrivateRepositoryForkingSettingInput!
UpdateOrganizationAllowPrivateRepositoryForkingSetting *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload `json:"updateOrganizationAllowPrivateRepositoryForkingSetting,omitempty"`
// UpdateProject: Updates an existing project.
//
// Query arguments:
// - input UpdateProjectInput!
UpdateProject *UpdateProjectPayload `json:"updateProject,omitempty"`
// UpdateProjectCard: Updates an existing project card.
//
// Query arguments:
// - input UpdateProjectCardInput!
UpdateProjectCard *UpdateProjectCardPayload `json:"updateProjectCard,omitempty"`
// UpdateProjectColumn: Updates an existing project column.
//
// Query arguments:
// - input UpdateProjectColumnInput!
UpdateProjectColumn *UpdateProjectColumnPayload `json:"updateProjectColumn,omitempty"`
// UpdateProjectDraftIssue: Updates a draft issue within a Project.
//
// Deprecated: Updates a draft issue within a Project.
//
// Query arguments:
// - input UpdateProjectDraftIssueInput!
UpdateProjectDraftIssue *UpdateProjectDraftIssuePayload `json:"updateProjectDraftIssue,omitempty"`
// UpdateProjectNext: Updates an existing project (beta).
//
// Deprecated: Updates an existing project (beta).
//
// Query arguments:
// - input UpdateProjectNextInput!
UpdateProjectNext *UpdateProjectNextPayload `json:"updateProjectNext,omitempty"`
// UpdateProjectNextItemField: Updates a field of an item from a Project.
//
// Deprecated: Updates a field of an item from a Project.
//
// Query arguments:
// - input UpdateProjectNextItemFieldInput!
UpdateProjectNextItemField *UpdateProjectNextItemFieldPayload `json:"updateProjectNextItemField,omitempty"`
// UpdateProjectV2: Updates an existing project (beta).
//
// Query arguments:
// - input UpdateProjectV2Input!
UpdateProjectV2 *UpdateProjectV2Payload `json:"updateProjectV2,omitempty"`
// UpdateProjectV2DraftIssue: Updates a draft issue within a Project.
//
// Query arguments:
// - input UpdateProjectV2DraftIssueInput!
UpdateProjectV2DraftIssue *UpdateProjectV2DraftIssuePayload `json:"updateProjectV2DraftIssue,omitempty"`
// UpdateProjectV2ItemFieldValue: This mutation updates the value of a field for an item in a Project. Currently only single-select, text, number, date, and iteration fields are supported.
//
// Query arguments:
// - input UpdateProjectV2ItemFieldValueInput!
UpdateProjectV2ItemFieldValue *UpdateProjectV2ItemFieldValuePayload `json:"updateProjectV2ItemFieldValue,omitempty"`
// UpdateProjectV2ItemPosition: This mutation updates the position of the item in the project, where the position represents the priority of an item.
//
// Query arguments:
// - input UpdateProjectV2ItemPositionInput!
UpdateProjectV2ItemPosition *UpdateProjectV2ItemPositionPayload `json:"updateProjectV2ItemPosition,omitempty"`
// UpdatePullRequest: Update a pull request.
//
// Query arguments:
// - input UpdatePullRequestInput!
UpdatePullRequest *UpdatePullRequestPayload `json:"updatePullRequest,omitempty"`
// UpdatePullRequestBranch: Merge or Rebase HEAD from upstream branch into pull request branch.
//
// Query arguments:
// - input UpdatePullRequestBranchInput!
UpdatePullRequestBranch *UpdatePullRequestBranchPayload `json:"updatePullRequestBranch,omitempty"`
// UpdatePullRequestReview: Updates the body of a pull request review.
//
// Query arguments:
// - input UpdatePullRequestReviewInput!
UpdatePullRequestReview *UpdatePullRequestReviewPayload `json:"updatePullRequestReview,omitempty"`
// UpdatePullRequestReviewComment: Updates a pull request review comment.
//
// Query arguments:
// - input UpdatePullRequestReviewCommentInput!
UpdatePullRequestReviewComment *UpdatePullRequestReviewCommentPayload `json:"updatePullRequestReviewComment,omitempty"`
// UpdateRef: Update a Git Ref.
//
// Query arguments:
// - input UpdateRefInput!
UpdateRef *UpdateRefPayload `json:"updateRef,omitempty"`
// UpdateRepository: Update information about a repository.
//
// Query arguments:
// - input UpdateRepositoryInput!
UpdateRepository *UpdateRepositoryPayload `json:"updateRepository,omitempty"`
// UpdateSponsorshipPreferences: Change visibility of your sponsorship and opt in or out of email updates from the maintainer.
//
// Query arguments:
// - input UpdateSponsorshipPreferencesInput!
UpdateSponsorshipPreferences *UpdateSponsorshipPreferencesPayload `json:"updateSponsorshipPreferences,omitempty"`
// UpdateSubscription: Updates the state for subscribable subjects.
//
// Query arguments:
// - input UpdateSubscriptionInput!
UpdateSubscription *UpdateSubscriptionPayload `json:"updateSubscription,omitempty"`
// UpdateTeamDiscussion: Updates a team discussion.
//
// Query arguments:
// - input UpdateTeamDiscussionInput!
UpdateTeamDiscussion *UpdateTeamDiscussionPayload `json:"updateTeamDiscussion,omitempty"`
// UpdateTeamDiscussionComment: Updates a discussion comment.
//
// Query arguments:
// - input UpdateTeamDiscussionCommentInput!
UpdateTeamDiscussionComment *UpdateTeamDiscussionCommentPayload `json:"updateTeamDiscussionComment,omitempty"`
// UpdateTeamsRepository: Update team repository.
//
// Query arguments:
// - input UpdateTeamsRepositoryInput!
UpdateTeamsRepository *UpdateTeamsRepositoryPayload `json:"updateTeamsRepository,omitempty"`
// UpdateTopics: Replaces the repository's topics with the given topics.
//
// Query arguments:
// - input UpdateTopicsInput!
UpdateTopics *UpdateTopicsPayload `json:"updateTopics,omitempty"`
// VerifyVerifiableDomain: Verify that a verifiable domain has the expected DNS record.
//
// Query arguments:
// - input VerifyVerifiableDomainInput!
VerifyVerifiableDomain *VerifyVerifiableDomainPayload `json:"verifyVerifiableDomain,omitempty"`
}
Mutation (OBJECT): The root query for implementing GraphQL mutations.
func (*Mutation) GetAbortQueuedMigrations ¶
func (x *Mutation) GetAbortQueuedMigrations() *AbortQueuedMigrationsPayload
func (*Mutation) GetAcceptEnterpriseAdministratorInvitation ¶
func (x *Mutation) GetAcceptEnterpriseAdministratorInvitation() *AcceptEnterpriseAdministratorInvitationPayload
func (*Mutation) GetAcceptTopicSuggestion ¶
func (x *Mutation) GetAcceptTopicSuggestion() *AcceptTopicSuggestionPayload
func (*Mutation) GetAddAssigneesToAssignable ¶
func (x *Mutation) GetAddAssigneesToAssignable() *AddAssigneesToAssignablePayload
func (*Mutation) GetAddComment ¶
func (x *Mutation) GetAddComment() *AddCommentPayload
func (*Mutation) GetAddDiscussionComment ¶
func (x *Mutation) GetAddDiscussionComment() *AddDiscussionCommentPayload
func (*Mutation) GetAddDiscussionPollVote ¶
func (x *Mutation) GetAddDiscussionPollVote() *AddDiscussionPollVotePayload
func (*Mutation) GetAddEnterpriseSupportEntitlement ¶
func (x *Mutation) GetAddEnterpriseSupportEntitlement() *AddEnterpriseSupportEntitlementPayload
func (*Mutation) GetAddLabelsToLabelable ¶
func (x *Mutation) GetAddLabelsToLabelable() *AddLabelsToLabelablePayload
func (*Mutation) GetAddProjectCard ¶
func (x *Mutation) GetAddProjectCard() *AddProjectCardPayload
func (*Mutation) GetAddProjectColumn ¶
func (x *Mutation) GetAddProjectColumn() *AddProjectColumnPayload
func (*Mutation) GetAddProjectDraftIssue ¶
func (x *Mutation) GetAddProjectDraftIssue() *AddProjectDraftIssuePayload
func (*Mutation) GetAddProjectNextItem ¶
func (x *Mutation) GetAddProjectNextItem() *AddProjectNextItemPayload
func (*Mutation) GetAddProjectV2DraftIssue ¶
func (x *Mutation) GetAddProjectV2DraftIssue() *AddProjectV2DraftIssuePayload
func (*Mutation) GetAddProjectV2ItemById ¶
func (x *Mutation) GetAddProjectV2ItemById() *AddProjectV2ItemByIdPayload
func (*Mutation) GetAddPullRequestReview ¶
func (x *Mutation) GetAddPullRequestReview() *AddPullRequestReviewPayload
func (*Mutation) GetAddPullRequestReviewComment ¶
func (x *Mutation) GetAddPullRequestReviewComment() *AddPullRequestReviewCommentPayload
func (*Mutation) GetAddPullRequestReviewThread ¶
func (x *Mutation) GetAddPullRequestReviewThread() *AddPullRequestReviewThreadPayload
func (*Mutation) GetAddReaction ¶
func (x *Mutation) GetAddReaction() *AddReactionPayload
func (*Mutation) GetAddStar ¶
func (x *Mutation) GetAddStar() *AddStarPayload
func (*Mutation) GetAddUpvote ¶
func (x *Mutation) GetAddUpvote() *AddUpvotePayload
func (*Mutation) GetAddVerifiableDomain ¶
func (x *Mutation) GetAddVerifiableDomain() *AddVerifiableDomainPayload
func (*Mutation) GetApproveDeployments ¶
func (x *Mutation) GetApproveDeployments() *ApproveDeploymentsPayload
func (*Mutation) GetApproveVerifiableDomain ¶
func (x *Mutation) GetApproveVerifiableDomain() *ApproveVerifiableDomainPayload
func (*Mutation) GetArchiveRepository ¶
func (x *Mutation) GetArchiveRepository() *ArchiveRepositoryPayload
func (*Mutation) GetCancelEnterpriseAdminInvitation ¶
func (x *Mutation) GetCancelEnterpriseAdminInvitation() *CancelEnterpriseAdminInvitationPayload
func (*Mutation) GetCancelSponsorship ¶
func (x *Mutation) GetCancelSponsorship() *CancelSponsorshipPayload
func (*Mutation) GetChangeUserStatus ¶
func (x *Mutation) GetChangeUserStatus() *ChangeUserStatusPayload
func (*Mutation) GetClearLabelsFromLabelable ¶
func (x *Mutation) GetClearLabelsFromLabelable() *ClearLabelsFromLabelablePayload
func (*Mutation) GetCloneProject ¶
func (x *Mutation) GetCloneProject() *CloneProjectPayload
func (*Mutation) GetCloneTemplateRepository ¶
func (x *Mutation) GetCloneTemplateRepository() *CloneTemplateRepositoryPayload
func (*Mutation) GetCloseIssue ¶
func (x *Mutation) GetCloseIssue() *CloseIssuePayload
func (*Mutation) GetClosePullRequest ¶
func (x *Mutation) GetClosePullRequest() *ClosePullRequestPayload
func (*Mutation) GetConvertProjectCardNoteToIssue ¶
func (x *Mutation) GetConvertProjectCardNoteToIssue() *ConvertProjectCardNoteToIssuePayload
func (*Mutation) GetConvertPullRequestToDraft ¶
func (x *Mutation) GetConvertPullRequestToDraft() *ConvertPullRequestToDraftPayload
func (*Mutation) GetCreateBranchProtectionRule ¶
func (x *Mutation) GetCreateBranchProtectionRule() *CreateBranchProtectionRulePayload
func (*Mutation) GetCreateCheckRun ¶
func (x *Mutation) GetCreateCheckRun() *CreateCheckRunPayload
func (*Mutation) GetCreateCheckSuite ¶
func (x *Mutation) GetCreateCheckSuite() *CreateCheckSuitePayload
func (*Mutation) GetCreateCommitOnBranch ¶
func (x *Mutation) GetCreateCommitOnBranch() *CreateCommitOnBranchPayload
func (*Mutation) GetCreateDiscussion ¶
func (x *Mutation) GetCreateDiscussion() *CreateDiscussionPayload
func (*Mutation) GetCreateEnterpriseOrganization ¶
func (x *Mutation) GetCreateEnterpriseOrganization() *CreateEnterpriseOrganizationPayload
func (*Mutation) GetCreateEnvironment ¶
func (x *Mutation) GetCreateEnvironment() *CreateEnvironmentPayload
func (*Mutation) GetCreateIpAllowListEntry ¶
func (x *Mutation) GetCreateIpAllowListEntry() *CreateIpAllowListEntryPayload
func (*Mutation) GetCreateIssue ¶
func (x *Mutation) GetCreateIssue() *CreateIssuePayload
func (*Mutation) GetCreateMigrationSource ¶
func (x *Mutation) GetCreateMigrationSource() *CreateMigrationSourcePayload
func (*Mutation) GetCreateProject ¶
func (x *Mutation) GetCreateProject() *CreateProjectPayload
func (*Mutation) GetCreateProjectV2 ¶
func (x *Mutation) GetCreateProjectV2() *CreateProjectV2Payload
func (*Mutation) GetCreatePullRequest ¶
func (x *Mutation) GetCreatePullRequest() *CreatePullRequestPayload
func (*Mutation) GetCreateRef ¶
func (x *Mutation) GetCreateRef() *CreateRefPayload
func (*Mutation) GetCreateRepository ¶
func (x *Mutation) GetCreateRepository() *CreateRepositoryPayload
func (*Mutation) GetCreateSponsorsTier ¶
func (x *Mutation) GetCreateSponsorsTier() *CreateSponsorsTierPayload
func (*Mutation) GetCreateSponsorship ¶
func (x *Mutation) GetCreateSponsorship() *CreateSponsorshipPayload
func (*Mutation) GetCreateTeamDiscussion ¶
func (x *Mutation) GetCreateTeamDiscussion() *CreateTeamDiscussionPayload
func (*Mutation) GetCreateTeamDiscussionComment ¶
func (x *Mutation) GetCreateTeamDiscussionComment() *CreateTeamDiscussionCommentPayload
func (*Mutation) GetDeclineTopicSuggestion ¶
func (x *Mutation) GetDeclineTopicSuggestion() *DeclineTopicSuggestionPayload
func (*Mutation) GetDeleteBranchProtectionRule ¶
func (x *Mutation) GetDeleteBranchProtectionRule() *DeleteBranchProtectionRulePayload
func (*Mutation) GetDeleteDeployment ¶
func (x *Mutation) GetDeleteDeployment() *DeleteDeploymentPayload
func (*Mutation) GetDeleteDiscussion ¶
func (x *Mutation) GetDeleteDiscussion() *DeleteDiscussionPayload
func (*Mutation) GetDeleteDiscussionComment ¶
func (x *Mutation) GetDeleteDiscussionComment() *DeleteDiscussionCommentPayload
func (*Mutation) GetDeleteEnvironment ¶
func (x *Mutation) GetDeleteEnvironment() *DeleteEnvironmentPayload
func (*Mutation) GetDeleteIpAllowListEntry ¶
func (x *Mutation) GetDeleteIpAllowListEntry() *DeleteIpAllowListEntryPayload
func (*Mutation) GetDeleteIssue ¶
func (x *Mutation) GetDeleteIssue() *DeleteIssuePayload
func (*Mutation) GetDeleteIssueComment ¶
func (x *Mutation) GetDeleteIssueComment() *DeleteIssueCommentPayload
func (*Mutation) GetDeleteProject ¶
func (x *Mutation) GetDeleteProject() *DeleteProjectPayload
func (*Mutation) GetDeleteProjectCard ¶
func (x *Mutation) GetDeleteProjectCard() *DeleteProjectCardPayload
func (*Mutation) GetDeleteProjectColumn ¶
func (x *Mutation) GetDeleteProjectColumn() *DeleteProjectColumnPayload
func (*Mutation) GetDeleteProjectNextItem ¶
func (x *Mutation) GetDeleteProjectNextItem() *DeleteProjectNextItemPayload
func (*Mutation) GetDeleteProjectV2Item ¶
func (x *Mutation) GetDeleteProjectV2Item() *DeleteProjectV2ItemPayload
func (*Mutation) GetDeletePullRequestReview ¶
func (x *Mutation) GetDeletePullRequestReview() *DeletePullRequestReviewPayload
func (*Mutation) GetDeletePullRequestReviewComment ¶
func (x *Mutation) GetDeletePullRequestReviewComment() *DeletePullRequestReviewCommentPayload
func (*Mutation) GetDeleteRef ¶
func (x *Mutation) GetDeleteRef() *DeleteRefPayload
func (*Mutation) GetDeleteTeamDiscussion ¶
func (x *Mutation) GetDeleteTeamDiscussion() *DeleteTeamDiscussionPayload
func (*Mutation) GetDeleteTeamDiscussionComment ¶
func (x *Mutation) GetDeleteTeamDiscussionComment() *DeleteTeamDiscussionCommentPayload
func (*Mutation) GetDeleteVerifiableDomain ¶
func (x *Mutation) GetDeleteVerifiableDomain() *DeleteVerifiableDomainPayload
func (*Mutation) GetDisablePullRequestAutoMerge ¶
func (x *Mutation) GetDisablePullRequestAutoMerge() *DisablePullRequestAutoMergePayload
func (*Mutation) GetDismissPullRequestReview ¶
func (x *Mutation) GetDismissPullRequestReview() *DismissPullRequestReviewPayload
func (*Mutation) GetDismissRepositoryVulnerabilityAlert ¶
func (x *Mutation) GetDismissRepositoryVulnerabilityAlert() *DismissRepositoryVulnerabilityAlertPayload
func (*Mutation) GetEnablePullRequestAutoMerge ¶
func (x *Mutation) GetEnablePullRequestAutoMerge() *EnablePullRequestAutoMergePayload
func (*Mutation) GetFollowOrganization ¶
func (x *Mutation) GetFollowOrganization() *FollowOrganizationPayload
func (*Mutation) GetFollowUser ¶
func (x *Mutation) GetFollowUser() *FollowUserPayload
func (*Mutation) GetGrantEnterpriseOrganizationsMigratorRole ¶
func (x *Mutation) GetGrantEnterpriseOrganizationsMigratorRole() *GrantEnterpriseOrganizationsMigratorRolePayload
func (*Mutation) GetGrantMigratorRole ¶
func (x *Mutation) GetGrantMigratorRole() *GrantMigratorRolePayload
func (*Mutation) GetInviteEnterpriseAdmin ¶
func (x *Mutation) GetInviteEnterpriseAdmin() *InviteEnterpriseAdminPayload
func (*Mutation) GetLinkRepositoryToProject ¶
func (x *Mutation) GetLinkRepositoryToProject() *LinkRepositoryToProjectPayload
func (*Mutation) GetLockLockable ¶
func (x *Mutation) GetLockLockable() *LockLockablePayload
func (*Mutation) GetMarkDiscussionCommentAsAnswer ¶
func (x *Mutation) GetMarkDiscussionCommentAsAnswer() *MarkDiscussionCommentAsAnswerPayload
func (*Mutation) GetMarkFileAsViewed ¶
func (x *Mutation) GetMarkFileAsViewed() *MarkFileAsViewedPayload
func (*Mutation) GetMarkPullRequestReadyForReview ¶
func (x *Mutation) GetMarkPullRequestReadyForReview() *MarkPullRequestReadyForReviewPayload
func (*Mutation) GetMergeBranch ¶
func (x *Mutation) GetMergeBranch() *MergeBranchPayload
func (*Mutation) GetMergePullRequest ¶
func (x *Mutation) GetMergePullRequest() *MergePullRequestPayload
func (*Mutation) GetMinimizeComment ¶
func (x *Mutation) GetMinimizeComment() *MinimizeCommentPayload
func (*Mutation) GetMoveProjectCard ¶
func (x *Mutation) GetMoveProjectCard() *MoveProjectCardPayload
func (*Mutation) GetMoveProjectColumn ¶
func (x *Mutation) GetMoveProjectColumn() *MoveProjectColumnPayload
func (*Mutation) GetPinIssue ¶
func (x *Mutation) GetPinIssue() *PinIssuePayload
func (*Mutation) GetRegenerateEnterpriseIdentityProviderRecoveryCodes ¶
func (x *Mutation) GetRegenerateEnterpriseIdentityProviderRecoveryCodes() *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload
func (*Mutation) GetRegenerateVerifiableDomainToken ¶
func (x *Mutation) GetRegenerateVerifiableDomainToken() *RegenerateVerifiableDomainTokenPayload
func (*Mutation) GetRejectDeployments ¶
func (x *Mutation) GetRejectDeployments() *RejectDeploymentsPayload
func (*Mutation) GetRemoveAssigneesFromAssignable ¶
func (x *Mutation) GetRemoveAssigneesFromAssignable() *RemoveAssigneesFromAssignablePayload
func (*Mutation) GetRemoveEnterpriseAdmin ¶
func (x *Mutation) GetRemoveEnterpriseAdmin() *RemoveEnterpriseAdminPayload
func (*Mutation) GetRemoveEnterpriseIdentityProvider ¶
func (x *Mutation) GetRemoveEnterpriseIdentityProvider() *RemoveEnterpriseIdentityProviderPayload
func (*Mutation) GetRemoveEnterpriseOrganization ¶
func (x *Mutation) GetRemoveEnterpriseOrganization() *RemoveEnterpriseOrganizationPayload
func (*Mutation) GetRemoveEnterpriseSupportEntitlement ¶
func (x *Mutation) GetRemoveEnterpriseSupportEntitlement() *RemoveEnterpriseSupportEntitlementPayload
func (*Mutation) GetRemoveLabelsFromLabelable ¶
func (x *Mutation) GetRemoveLabelsFromLabelable() *RemoveLabelsFromLabelablePayload
func (*Mutation) GetRemoveOutsideCollaborator ¶
func (x *Mutation) GetRemoveOutsideCollaborator() *RemoveOutsideCollaboratorPayload
func (*Mutation) GetRemoveReaction ¶
func (x *Mutation) GetRemoveReaction() *RemoveReactionPayload
func (*Mutation) GetRemoveStar ¶
func (x *Mutation) GetRemoveStar() *RemoveStarPayload
func (*Mutation) GetRemoveUpvote ¶
func (x *Mutation) GetRemoveUpvote() *RemoveUpvotePayload
func (*Mutation) GetReopenIssue ¶
func (x *Mutation) GetReopenIssue() *ReopenIssuePayload
func (*Mutation) GetReopenPullRequest ¶
func (x *Mutation) GetReopenPullRequest() *ReopenPullRequestPayload
func (*Mutation) GetRequestReviews ¶
func (x *Mutation) GetRequestReviews() *RequestReviewsPayload
func (*Mutation) GetRerequestCheckSuite ¶
func (x *Mutation) GetRerequestCheckSuite() *RerequestCheckSuitePayload
func (*Mutation) GetResolveReviewThread ¶
func (x *Mutation) GetResolveReviewThread() *ResolveReviewThreadPayload
func (*Mutation) GetRevokeEnterpriseOrganizationsMigratorRole ¶
func (x *Mutation) GetRevokeEnterpriseOrganizationsMigratorRole() *RevokeEnterpriseOrganizationsMigratorRolePayload
func (*Mutation) GetRevokeMigratorRole ¶
func (x *Mutation) GetRevokeMigratorRole() *RevokeMigratorRolePayload
func (*Mutation) GetSetEnterpriseIdentityProvider ¶
func (x *Mutation) GetSetEnterpriseIdentityProvider() *SetEnterpriseIdentityProviderPayload
func (*Mutation) GetSetOrganizationInteractionLimit ¶
func (x *Mutation) GetSetOrganizationInteractionLimit() *SetOrganizationInteractionLimitPayload
func (*Mutation) GetSetRepositoryInteractionLimit ¶
func (x *Mutation) GetSetRepositoryInteractionLimit() *SetRepositoryInteractionLimitPayload
func (*Mutation) GetSetUserInteractionLimit ¶
func (x *Mutation) GetSetUserInteractionLimit() *SetUserInteractionLimitPayload
func (*Mutation) GetStartRepositoryMigration ¶
func (x *Mutation) GetStartRepositoryMigration() *StartRepositoryMigrationPayload
func (*Mutation) GetSubmitPullRequestReview ¶
func (x *Mutation) GetSubmitPullRequestReview() *SubmitPullRequestReviewPayload
func (*Mutation) GetTransferIssue ¶
func (x *Mutation) GetTransferIssue() *TransferIssuePayload
func (*Mutation) GetUnarchiveRepository ¶
func (x *Mutation) GetUnarchiveRepository() *UnarchiveRepositoryPayload
func (*Mutation) GetUnfollowOrganization ¶
func (x *Mutation) GetUnfollowOrganization() *UnfollowOrganizationPayload
func (*Mutation) GetUnfollowUser ¶
func (x *Mutation) GetUnfollowUser() *UnfollowUserPayload
func (*Mutation) GetUnlinkRepositoryFromProject ¶
func (x *Mutation) GetUnlinkRepositoryFromProject() *UnlinkRepositoryFromProjectPayload
func (*Mutation) GetUnlockLockable ¶
func (x *Mutation) GetUnlockLockable() *UnlockLockablePayload
func (*Mutation) GetUnmarkDiscussionCommentAsAnswer ¶
func (x *Mutation) GetUnmarkDiscussionCommentAsAnswer() *UnmarkDiscussionCommentAsAnswerPayload
func (*Mutation) GetUnmarkFileAsViewed ¶
func (x *Mutation) GetUnmarkFileAsViewed() *UnmarkFileAsViewedPayload
func (*Mutation) GetUnmarkIssueAsDuplicate ¶
func (x *Mutation) GetUnmarkIssueAsDuplicate() *UnmarkIssueAsDuplicatePayload
func (*Mutation) GetUnminimizeComment ¶
func (x *Mutation) GetUnminimizeComment() *UnminimizeCommentPayload
func (*Mutation) GetUnpinIssue ¶
func (x *Mutation) GetUnpinIssue() *UnpinIssuePayload
func (*Mutation) GetUnresolveReviewThread ¶
func (x *Mutation) GetUnresolveReviewThread() *UnresolveReviewThreadPayload
func (*Mutation) GetUpdateBranchProtectionRule ¶
func (x *Mutation) GetUpdateBranchProtectionRule() *UpdateBranchProtectionRulePayload
func (*Mutation) GetUpdateCheckRun ¶
func (x *Mutation) GetUpdateCheckRun() *UpdateCheckRunPayload
func (*Mutation) GetUpdateCheckSuitePreferences ¶
func (x *Mutation) GetUpdateCheckSuitePreferences() *UpdateCheckSuitePreferencesPayload
func (*Mutation) GetUpdateDiscussion ¶
func (x *Mutation) GetUpdateDiscussion() *UpdateDiscussionPayload
func (*Mutation) GetUpdateDiscussionComment ¶
func (x *Mutation) GetUpdateDiscussionComment() *UpdateDiscussionCommentPayload
func (*Mutation) GetUpdateEnterpriseAdministratorRole ¶
func (x *Mutation) GetUpdateEnterpriseAdministratorRole() *UpdateEnterpriseAdministratorRolePayload
func (*Mutation) GetUpdateEnterpriseAllowPrivateRepositoryForkingSetting ¶
func (x *Mutation) GetUpdateEnterpriseAllowPrivateRepositoryForkingSetting() *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
func (*Mutation) GetUpdateEnterpriseDefaultRepositoryPermissionSetting ¶
func (x *Mutation) GetUpdateEnterpriseDefaultRepositoryPermissionSetting() *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting() *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanCreateRepositoriesSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanCreateRepositoriesSetting() *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanDeleteIssuesSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanDeleteIssuesSetting() *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanDeleteRepositoriesSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanDeleteRepositoriesSetting() *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanInviteCollaboratorsSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanInviteCollaboratorsSetting() *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanMakePurchasesSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanMakePurchasesSetting() *UpdateEnterpriseMembersCanMakePurchasesSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanUpdateProtectedBranchesSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanUpdateProtectedBranchesSetting() *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload
func (*Mutation) GetUpdateEnterpriseMembersCanViewDependencyInsightsSetting ¶
func (x *Mutation) GetUpdateEnterpriseMembersCanViewDependencyInsightsSetting() *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload
func (*Mutation) GetUpdateEnterpriseOrganizationProjectsSetting ¶
func (x *Mutation) GetUpdateEnterpriseOrganizationProjectsSetting() *UpdateEnterpriseOrganizationProjectsSettingPayload
func (*Mutation) GetUpdateEnterpriseOwnerOrganizationRole ¶
func (x *Mutation) GetUpdateEnterpriseOwnerOrganizationRole() *UpdateEnterpriseOwnerOrganizationRolePayload
func (*Mutation) GetUpdateEnterpriseProfile ¶
func (x *Mutation) GetUpdateEnterpriseProfile() *UpdateEnterpriseProfilePayload
func (*Mutation) GetUpdateEnterpriseRepositoryProjectsSetting ¶
func (x *Mutation) GetUpdateEnterpriseRepositoryProjectsSetting() *UpdateEnterpriseRepositoryProjectsSettingPayload
func (*Mutation) GetUpdateEnterpriseTeamDiscussionsSetting ¶
func (x *Mutation) GetUpdateEnterpriseTeamDiscussionsSetting() *UpdateEnterpriseTeamDiscussionsSettingPayload
func (*Mutation) GetUpdateEnterpriseTwoFactorAuthenticationRequiredSetting ¶
func (x *Mutation) GetUpdateEnterpriseTwoFactorAuthenticationRequiredSetting() *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload
func (*Mutation) GetUpdateEnvironment ¶
func (x *Mutation) GetUpdateEnvironment() *UpdateEnvironmentPayload
func (*Mutation) GetUpdateIpAllowListEnabledSetting ¶
func (x *Mutation) GetUpdateIpAllowListEnabledSetting() *UpdateIpAllowListEnabledSettingPayload
func (*Mutation) GetUpdateIpAllowListEntry ¶
func (x *Mutation) GetUpdateIpAllowListEntry() *UpdateIpAllowListEntryPayload
func (*Mutation) GetUpdateIpAllowListForInstalledAppsEnabledSetting ¶
func (x *Mutation) GetUpdateIpAllowListForInstalledAppsEnabledSetting() *UpdateIpAllowListForInstalledAppsEnabledSettingPayload
func (*Mutation) GetUpdateIssue ¶
func (x *Mutation) GetUpdateIssue() *UpdateIssuePayload
func (*Mutation) GetUpdateIssueComment ¶
func (x *Mutation) GetUpdateIssueComment() *UpdateIssueCommentPayload
func (*Mutation) GetUpdateNotificationRestrictionSetting ¶
func (x *Mutation) GetUpdateNotificationRestrictionSetting() *UpdateNotificationRestrictionSettingPayload
func (*Mutation) GetUpdateOrganizationAllowPrivateRepositoryForkingSetting ¶
func (x *Mutation) GetUpdateOrganizationAllowPrivateRepositoryForkingSetting() *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
func (*Mutation) GetUpdateProject ¶
func (x *Mutation) GetUpdateProject() *UpdateProjectPayload
func (*Mutation) GetUpdateProjectCard ¶
func (x *Mutation) GetUpdateProjectCard() *UpdateProjectCardPayload
func (*Mutation) GetUpdateProjectColumn ¶
func (x *Mutation) GetUpdateProjectColumn() *UpdateProjectColumnPayload
func (*Mutation) GetUpdateProjectDraftIssue ¶
func (x *Mutation) GetUpdateProjectDraftIssue() *UpdateProjectDraftIssuePayload
func (*Mutation) GetUpdateProjectNext ¶
func (x *Mutation) GetUpdateProjectNext() *UpdateProjectNextPayload
func (*Mutation) GetUpdateProjectNextItemField ¶
func (x *Mutation) GetUpdateProjectNextItemField() *UpdateProjectNextItemFieldPayload
func (*Mutation) GetUpdateProjectV2 ¶
func (x *Mutation) GetUpdateProjectV2() *UpdateProjectV2Payload
func (*Mutation) GetUpdateProjectV2DraftIssue ¶
func (x *Mutation) GetUpdateProjectV2DraftIssue() *UpdateProjectV2DraftIssuePayload
func (*Mutation) GetUpdateProjectV2ItemFieldValue ¶
func (x *Mutation) GetUpdateProjectV2ItemFieldValue() *UpdateProjectV2ItemFieldValuePayload
func (*Mutation) GetUpdateProjectV2ItemPosition ¶
func (x *Mutation) GetUpdateProjectV2ItemPosition() *UpdateProjectV2ItemPositionPayload
func (*Mutation) GetUpdatePullRequest ¶
func (x *Mutation) GetUpdatePullRequest() *UpdatePullRequestPayload
func (*Mutation) GetUpdatePullRequestBranch ¶
func (x *Mutation) GetUpdatePullRequestBranch() *UpdatePullRequestBranchPayload
func (*Mutation) GetUpdatePullRequestReview ¶
func (x *Mutation) GetUpdatePullRequestReview() *UpdatePullRequestReviewPayload
func (*Mutation) GetUpdatePullRequestReviewComment ¶
func (x *Mutation) GetUpdatePullRequestReviewComment() *UpdatePullRequestReviewCommentPayload
func (*Mutation) GetUpdateRef ¶
func (x *Mutation) GetUpdateRef() *UpdateRefPayload
func (*Mutation) GetUpdateRepository ¶
func (x *Mutation) GetUpdateRepository() *UpdateRepositoryPayload
func (*Mutation) GetUpdateSponsorshipPreferences ¶
func (x *Mutation) GetUpdateSponsorshipPreferences() *UpdateSponsorshipPreferencesPayload
func (*Mutation) GetUpdateSubscription ¶
func (x *Mutation) GetUpdateSubscription() *UpdateSubscriptionPayload
func (*Mutation) GetUpdateTeamDiscussion ¶
func (x *Mutation) GetUpdateTeamDiscussion() *UpdateTeamDiscussionPayload
func (*Mutation) GetUpdateTeamDiscussionComment ¶
func (x *Mutation) GetUpdateTeamDiscussionComment() *UpdateTeamDiscussionCommentPayload
func (*Mutation) GetUpdateTeamsRepository ¶
func (x *Mutation) GetUpdateTeamsRepository() *UpdateTeamsRepositoryPayload
func (*Mutation) GetUpdateTopics ¶
func (x *Mutation) GetUpdateTopics() *UpdateTopicsPayload
func (*Mutation) GetVerifyVerifiableDomain ¶
func (x *Mutation) GetVerifyVerifiableDomain() *VerifyVerifiableDomainPayload
type Node ¶
type Node struct {
Interface Node_Interface
}
func (*Node) MarshalJSON ¶
func (*Node) UnmarshalJSON ¶
type Node_Interface ¶
type Node_Interface interface {
GetId() ID
// contains filtered or unexported methods
}
Node (INTERFACE): An object with an ID. Node_Interface: An object with an ID.
Possible types:
- *AddedToProjectEvent
- *App
- *AssignedEvent
- *AutoMergeDisabledEvent
- *AutoMergeEnabledEvent
- *AutoRebaseEnabledEvent
- *AutoSquashEnabledEvent
- *AutomaticBaseChangeFailedEvent
- *AutomaticBaseChangeSucceededEvent
- *BaseRefChangedEvent
- *BaseRefDeletedEvent
- *BaseRefForcePushedEvent
- *Blob
- *Bot
- *BranchProtectionRule
- *BypassForcePushAllowance
- *BypassPullRequestAllowance
- *CWE
- *CheckRun
- *CheckSuite
- *ClosedEvent
- *CodeOfConduct
- *CommentDeletedEvent
- *Commit
- *CommitComment
- *CommitCommentThread
- *ConnectedEvent
- *ConvertToDraftEvent
- *ConvertedNoteToIssueEvent
- *ConvertedToDiscussionEvent
- *CrossReferencedEvent
- *DemilestonedEvent
- *DeployKey
- *DeployedEvent
- *Deployment
- *DeploymentEnvironmentChangedEvent
- *DeploymentReview
- *DeploymentStatus
- *DisconnectedEvent
- *Discussion
- *DiscussionCategory
- *DiscussionComment
- *DiscussionPoll
- *DiscussionPollOption
- *DraftIssue
- *Enterprise
- *EnterpriseAdministratorInvitation
- *EnterpriseIdentityProvider
- *EnterpriseRepositoryInfo
- *EnterpriseServerInstallation
- *EnterpriseServerUserAccount
- *EnterpriseServerUserAccountEmail
- *EnterpriseServerUserAccountsUpload
- *EnterpriseUserAccount
- *Environment
- *ExternalIdentity
- *Gist
- *GistComment
- *HeadRefDeletedEvent
- *HeadRefForcePushedEvent
- *HeadRefRestoredEvent
- *IpAllowListEntry
- *Issue
- *IssueComment
- *Label
- *LabeledEvent
- *Language
- *License
- *LockedEvent
- *Mannequin
- *MarkedAsDuplicateEvent
- *MarketplaceCategory
- *MarketplaceListing
- *MembersCanDeleteReposClearAuditEntry
- *MembersCanDeleteReposDisableAuditEntry
- *MembersCanDeleteReposEnableAuditEntry
- *MentionedEvent
- *MergedEvent
- *MigrationSource
- *Milestone
- *MilestonedEvent
- *MovedColumnsInProjectEvent
- *OIDCProvider
- *OauthApplicationCreateAuditEntry
- *OrgAddBillingManagerAuditEntry
- *OrgAddMemberAuditEntry
- *OrgBlockUserAuditEntry
- *OrgConfigDisableCollaboratorsOnlyAuditEntry
- *OrgConfigEnableCollaboratorsOnlyAuditEntry
- *OrgCreateAuditEntry
- *OrgDisableOauthAppRestrictionsAuditEntry
- *OrgDisableSamlAuditEntry
- *OrgDisableTwoFactorRequirementAuditEntry
- *OrgEnableOauthAppRestrictionsAuditEntry
- *OrgEnableSamlAuditEntry
- *OrgEnableTwoFactorRequirementAuditEntry
- *OrgInviteMemberAuditEntry
- *OrgInviteToBusinessAuditEntry
- *OrgOauthAppAccessApprovedAuditEntry
- *OrgOauthAppAccessDeniedAuditEntry
- *OrgOauthAppAccessRequestedAuditEntry
- *OrgRemoveBillingManagerAuditEntry
- *OrgRemoveMemberAuditEntry
- *OrgRemoveOutsideCollaboratorAuditEntry
- *OrgRestoreMemberAuditEntry
- *OrgUnblockUserAuditEntry
- *OrgUpdateDefaultRepositoryPermissionAuditEntry
- *OrgUpdateMemberAuditEntry
- *OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- *Organization
- *OrganizationIdentityProvider
- *OrganizationInvitation
- *Package
- *PackageFile
- *PackageTag
- *PackageVersion
- *PinnedDiscussion
- *PinnedEvent
- *PinnedIssue
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *Project
- *ProjectCard
- *ProjectColumn
- *ProjectNext
- *ProjectNextField
- *ProjectNextItem
- *ProjectNextItemFieldValue
- *ProjectV2
- *ProjectV2Field
- *ProjectV2Item
- *ProjectV2ItemFieldDateValue
- *ProjectV2ItemFieldIterationValue
- *ProjectV2ItemFieldNumberValue
- *ProjectV2ItemFieldSingleSelectValue
- *ProjectV2ItemFieldTextValue
- *ProjectV2IterationField
- *ProjectV2SingleSelectField
- *ProjectV2View
- *ProjectView
- *PublicKey
- *PullRequest
- *PullRequestCommit
- *PullRequestCommitCommentThread
- *PullRequestReview
- *PullRequestReviewComment
- *PullRequestReviewThread
- *PullRequestThread
- *Push
- *PushAllowance
- *Reaction
- *ReadyForReviewEvent
- *Ref
- *ReferencedEvent
- *Release
- *ReleaseAsset
- *RemovedFromProjectEvent
- *RenamedTitleEvent
- *ReopenedEvent
- *RepoAccessAuditEntry
- *RepoAddMemberAuditEntry
- *RepoAddTopicAuditEntry
- *RepoArchivedAuditEntry
- *RepoChangeMergeSettingAuditEntry
- *RepoConfigDisableAnonymousGitAccessAuditEntry
- *RepoConfigDisableCollaboratorsOnlyAuditEntry
- *RepoConfigDisableContributorsOnlyAuditEntry
- *RepoConfigDisableSockpuppetDisallowedAuditEntry
- *RepoConfigEnableAnonymousGitAccessAuditEntry
- *RepoConfigEnableCollaboratorsOnlyAuditEntry
- *RepoConfigEnableContributorsOnlyAuditEntry
- *RepoConfigEnableSockpuppetDisallowedAuditEntry
- *RepoConfigLockAnonymousGitAccessAuditEntry
- *RepoConfigUnlockAnonymousGitAccessAuditEntry
- *RepoCreateAuditEntry
- *RepoDestroyAuditEntry
- *RepoRemoveMemberAuditEntry
- *RepoRemoveTopicAuditEntry
- *Repository
- *RepositoryInvitation
- *RepositoryMigration
- *RepositoryTopic
- *RepositoryVisibilityChangeDisableAuditEntry
- *RepositoryVisibilityChangeEnableAuditEntry
- *RepositoryVulnerabilityAlert
- *ReviewDismissalAllowance
- *ReviewDismissedEvent
- *ReviewRequest
- *ReviewRequestRemovedEvent
- *ReviewRequestedEvent
- *SavedReply
- *SecurityAdvisory
- *SponsorsActivity
- *SponsorsListing
- *SponsorsTier
- *Sponsorship
- *SponsorshipNewsletter
- *Status
- *StatusCheckRollup
- *StatusContext
- *SubscribedEvent
- *Tag
- *Team
- *TeamAddMemberAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamChangeParentTeamAuditEntry
- *TeamDiscussion
- *TeamDiscussionComment
- *TeamRemoveMemberAuditEntry
- *TeamRemoveRepositoryAuditEntry
- *Topic
- *TransferredEvent
- *Tree
- *UnassignedEvent
- *UnlabeledEvent
- *UnlockedEvent
- *UnmarkedAsDuplicateEvent
- *UnpinnedEvent
- *UnsubscribedEvent
- *User
- *UserBlockedEvent
- *UserContentEdit
- *UserStatus
- *VerifiableDomain
- *Workflow
- *WorkflowRun
type NotificationRestrictionSettingValue ¶
type NotificationRestrictionSettingValue string
NotificationRestrictionSettingValue (ENUM): The possible values for the notification restriction setting.
const NotificationRestrictionSettingValue_DISABLED NotificationRestrictionSettingValue = "DISABLED"
NotificationRestrictionSettingValue_DISABLED: The setting is disabled for the owner.
const NotificationRestrictionSettingValue_ENABLED NotificationRestrictionSettingValue = "ENABLED"
NotificationRestrictionSettingValue_ENABLED: The setting is enabled for the owner.
type OIDCProvider ¶
type OIDCProvider struct {
// Enterprise: The enterprise this identity provider belongs to.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// ExternalIdentities: ExternalIdentities provisioned by this identity provider.
//
// Query arguments:
// - membersOnly Boolean
// - login String
// - userName String
// - after String
// - before String
// - first Int
// - last Int
ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// ProviderType: The OIDC identity provider type.
ProviderType OIDCProviderType `json:"providerType,omitempty"`
// TenantId: The id of the tenant this provider is attached to.
TenantId string `json:"tenantId,omitempty"`
}
OIDCProvider (OBJECT): An OIDC identity provider configured to provision identities for an enterprise.
func (*OIDCProvider) GetEnterprise ¶
func (x *OIDCProvider) GetEnterprise() *Enterprise
func (*OIDCProvider) GetExternalIdentities ¶
func (x *OIDCProvider) GetExternalIdentities() *ExternalIdentityConnection
func (*OIDCProvider) GetId ¶
func (x *OIDCProvider) GetId() ID
func (*OIDCProvider) GetProviderType ¶
func (x *OIDCProvider) GetProviderType() OIDCProviderType
func (*OIDCProvider) GetTenantId ¶
func (x *OIDCProvider) GetTenantId() string
type OIDCProviderType ¶
type OIDCProviderType string
OIDCProviderType (ENUM): The OIDC identity provider type.
const OIDCProviderType_AAD OIDCProviderType = "AAD"
OIDCProviderType_AAD: Azure Active Directory.
type OauthApplicationAuditEntryData ¶
type OauthApplicationAuditEntryData struct {
Interface OauthApplicationAuditEntryData_Interface
}
func (*OauthApplicationAuditEntryData) MarshalJSON ¶
func (x *OauthApplicationAuditEntryData) MarshalJSON() ([]byte, error)
func (*OauthApplicationAuditEntryData) UnmarshalJSON ¶
func (x *OauthApplicationAuditEntryData) UnmarshalJSON(js []byte) error
type OauthApplicationAuditEntryData_Interface ¶
type OauthApplicationAuditEntryData_Interface interface {
GetOauthApplicationName() string
GetOauthApplicationResourcePath() URI
GetOauthApplicationUrl() URI
// contains filtered or unexported methods
}
OauthApplicationAuditEntryData (INTERFACE): Metadata for an audit entry with action oauth_application.*. OauthApplicationAuditEntryData_Interface: Metadata for an audit entry with action oauth_application.*.
Possible types:
- *OauthApplicationCreateAuditEntry
- *OrgOauthAppAccessApprovedAuditEntry
- *OrgOauthAppAccessDeniedAuditEntry
- *OrgOauthAppAccessRequestedAuditEntry
type OauthApplicationCreateAuditEntry ¶
type OauthApplicationCreateAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// ApplicationUrl: The application URL of the OAuth Application.
ApplicationUrl URI `json:"applicationUrl,omitempty"`
// CallbackUrl: The callback URL of the OAuth Application.
CallbackUrl URI `json:"callbackUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OauthApplicationName: The name of the OAuth Application.
OauthApplicationName string `json:"oauthApplicationName,omitempty"`
// OauthApplicationResourcePath: The HTTP path for the OAuth Application.
OauthApplicationResourcePath URI `json:"oauthApplicationResourcePath,omitempty"`
// OauthApplicationUrl: The HTTP URL for the OAuth Application.
OauthApplicationUrl URI `json:"oauthApplicationUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// RateLimit: The rate limit of the OAuth Application.
RateLimit int `json:"rateLimit,omitempty"`
// State: The state of the OAuth Application.
State OauthApplicationCreateAuditEntryState `json:"state,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OauthApplicationCreateAuditEntry (OBJECT): Audit log entry for a oauth_application.create event.
func (*OauthApplicationCreateAuditEntry) GetAction ¶
func (x *OauthApplicationCreateAuditEntry) GetAction() string
func (*OauthApplicationCreateAuditEntry) GetActor ¶
func (x *OauthApplicationCreateAuditEntry) GetActor() AuditEntryActor
func (*OauthApplicationCreateAuditEntry) GetActorIp ¶
func (x *OauthApplicationCreateAuditEntry) GetActorIp() string
func (*OauthApplicationCreateAuditEntry) GetActorLocation ¶
func (x *OauthApplicationCreateAuditEntry) GetActorLocation() *ActorLocation
func (*OauthApplicationCreateAuditEntry) GetActorLogin ¶
func (x *OauthApplicationCreateAuditEntry) GetActorLogin() string
func (*OauthApplicationCreateAuditEntry) GetActorResourcePath ¶
func (x *OauthApplicationCreateAuditEntry) GetActorResourcePath() URI
func (*OauthApplicationCreateAuditEntry) GetActorUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetActorUrl() URI
func (*OauthApplicationCreateAuditEntry) GetApplicationUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetApplicationUrl() URI
func (*OauthApplicationCreateAuditEntry) GetCallbackUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetCallbackUrl() URI
func (*OauthApplicationCreateAuditEntry) GetCreatedAt ¶
func (x *OauthApplicationCreateAuditEntry) GetCreatedAt() PreciseDateTime
func (*OauthApplicationCreateAuditEntry) GetId ¶
func (x *OauthApplicationCreateAuditEntry) GetId() ID
func (*OauthApplicationCreateAuditEntry) GetOauthApplicationName ¶
func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationName() string
func (*OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath ¶
func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath() URI
func (*OauthApplicationCreateAuditEntry) GetOauthApplicationUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetOauthApplicationUrl() URI
func (*OauthApplicationCreateAuditEntry) GetOperationType ¶
func (x *OauthApplicationCreateAuditEntry) GetOperationType() OperationType
func (*OauthApplicationCreateAuditEntry) GetOrganization ¶
func (x *OauthApplicationCreateAuditEntry) GetOrganization() *Organization
func (*OauthApplicationCreateAuditEntry) GetOrganizationName ¶
func (x *OauthApplicationCreateAuditEntry) GetOrganizationName() string
func (*OauthApplicationCreateAuditEntry) GetOrganizationResourcePath ¶
func (x *OauthApplicationCreateAuditEntry) GetOrganizationResourcePath() URI
func (*OauthApplicationCreateAuditEntry) GetOrganizationUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetOrganizationUrl() URI
func (*OauthApplicationCreateAuditEntry) GetRateLimit ¶
func (x *OauthApplicationCreateAuditEntry) GetRateLimit() int
func (*OauthApplicationCreateAuditEntry) GetState ¶
func (x *OauthApplicationCreateAuditEntry) GetState() OauthApplicationCreateAuditEntryState
func (*OauthApplicationCreateAuditEntry) GetUser ¶
func (x *OauthApplicationCreateAuditEntry) GetUser() *User
func (*OauthApplicationCreateAuditEntry) GetUserLogin ¶
func (x *OauthApplicationCreateAuditEntry) GetUserLogin() string
func (*OauthApplicationCreateAuditEntry) GetUserResourcePath ¶
func (x *OauthApplicationCreateAuditEntry) GetUserResourcePath() URI
func (*OauthApplicationCreateAuditEntry) GetUserUrl ¶
func (x *OauthApplicationCreateAuditEntry) GetUserUrl() URI
type OauthApplicationCreateAuditEntryState ¶
type OauthApplicationCreateAuditEntryState string
OauthApplicationCreateAuditEntryState (ENUM): The state of an OAuth Application when it was created.
const OauthApplicationCreateAuditEntryState_ACTIVE OauthApplicationCreateAuditEntryState = "ACTIVE"
OauthApplicationCreateAuditEntryState_ACTIVE: The OAuth Application was active and allowed to have OAuth Accesses.
const OauthApplicationCreateAuditEntryState_PENDING_DELETION OauthApplicationCreateAuditEntryState = "PENDING_DELETION"
OauthApplicationCreateAuditEntryState_PENDING_DELETION: The OAuth Application was in the process of being deleted.
const OauthApplicationCreateAuditEntryState_SUSPENDED OauthApplicationCreateAuditEntryState = "SUSPENDED"
OauthApplicationCreateAuditEntryState_SUSPENDED: The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns.
type OperationType ¶
type OperationType string
OperationType (ENUM): The corresponding operation type for the action.
const OperationType_ACCESS OperationType = "ACCESS"
OperationType_ACCESS: An existing resource was accessed.
const OperationType_AUTHENTICATION OperationType = "AUTHENTICATION"
OperationType_AUTHENTICATION: A resource performed an authentication event.
const OperationType_CREATE OperationType = "CREATE"
OperationType_CREATE: A new resource was created.
const OperationType_MODIFY OperationType = "MODIFY"
OperationType_MODIFY: An existing resource was modified.
const OperationType_REMOVE OperationType = "REMOVE"
OperationType_REMOVE: An existing resource was removed.
const OperationType_RESTORE OperationType = "RESTORE"
OperationType_RESTORE: An existing resource was restored.
const OperationType_TRANSFER OperationType = "TRANSFER"
OperationType_TRANSFER: An existing resource was transferred between multiple resources.
type OrderDirection ¶
type OrderDirection string
OrderDirection (ENUM): Possible directions in which to order a list of items when provided an `orderBy` argument.
const OrderDirection_ASC OrderDirection = "ASC"
OrderDirection_ASC: Specifies an ascending order for a given `orderBy` argument.
const OrderDirection_DESC OrderDirection = "DESC"
OrderDirection_DESC: Specifies a descending order for a given `orderBy` argument.
type OrgAddBillingManagerAuditEntry ¶
type OrgAddBillingManagerAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InvitationEmail: The email address used to invite a billing manager for the organization.
InvitationEmail string `json:"invitationEmail,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgAddBillingManagerAuditEntry (OBJECT): Audit log entry for a org.add_billing_manager.
func (*OrgAddBillingManagerAuditEntry) GetAction ¶
func (x *OrgAddBillingManagerAuditEntry) GetAction() string
func (*OrgAddBillingManagerAuditEntry) GetActor ¶
func (x *OrgAddBillingManagerAuditEntry) GetActor() AuditEntryActor
func (*OrgAddBillingManagerAuditEntry) GetActorIp ¶
func (x *OrgAddBillingManagerAuditEntry) GetActorIp() string
func (*OrgAddBillingManagerAuditEntry) GetActorLocation ¶
func (x *OrgAddBillingManagerAuditEntry) GetActorLocation() *ActorLocation
func (*OrgAddBillingManagerAuditEntry) GetActorLogin ¶
func (x *OrgAddBillingManagerAuditEntry) GetActorLogin() string
func (*OrgAddBillingManagerAuditEntry) GetActorResourcePath ¶
func (x *OrgAddBillingManagerAuditEntry) GetActorResourcePath() URI
func (*OrgAddBillingManagerAuditEntry) GetActorUrl ¶
func (x *OrgAddBillingManagerAuditEntry) GetActorUrl() URI
func (*OrgAddBillingManagerAuditEntry) GetCreatedAt ¶
func (x *OrgAddBillingManagerAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgAddBillingManagerAuditEntry) GetId ¶
func (x *OrgAddBillingManagerAuditEntry) GetId() ID
func (*OrgAddBillingManagerAuditEntry) GetInvitationEmail ¶
func (x *OrgAddBillingManagerAuditEntry) GetInvitationEmail() string
func (*OrgAddBillingManagerAuditEntry) GetOperationType ¶
func (x *OrgAddBillingManagerAuditEntry) GetOperationType() OperationType
func (*OrgAddBillingManagerAuditEntry) GetOrganization ¶
func (x *OrgAddBillingManagerAuditEntry) GetOrganization() *Organization
func (*OrgAddBillingManagerAuditEntry) GetOrganizationName ¶
func (x *OrgAddBillingManagerAuditEntry) GetOrganizationName() string
func (*OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath() URI
func (*OrgAddBillingManagerAuditEntry) GetOrganizationUrl ¶
func (x *OrgAddBillingManagerAuditEntry) GetOrganizationUrl() URI
func (*OrgAddBillingManagerAuditEntry) GetUser ¶
func (x *OrgAddBillingManagerAuditEntry) GetUser() *User
func (*OrgAddBillingManagerAuditEntry) GetUserLogin ¶
func (x *OrgAddBillingManagerAuditEntry) GetUserLogin() string
func (*OrgAddBillingManagerAuditEntry) GetUserResourcePath ¶
func (x *OrgAddBillingManagerAuditEntry) GetUserResourcePath() URI
func (*OrgAddBillingManagerAuditEntry) GetUserUrl ¶
func (x *OrgAddBillingManagerAuditEntry) GetUserUrl() URI
type OrgAddMemberAuditEntry ¶
type OrgAddMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Permission: The permission level of the member added to the organization.
Permission OrgAddMemberAuditEntryPermission `json:"permission,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgAddMemberAuditEntry (OBJECT): Audit log entry for a org.add_member.
func (*OrgAddMemberAuditEntry) GetAction ¶
func (x *OrgAddMemberAuditEntry) GetAction() string
func (*OrgAddMemberAuditEntry) GetActor ¶
func (x *OrgAddMemberAuditEntry) GetActor() AuditEntryActor
func (*OrgAddMemberAuditEntry) GetActorIp ¶
func (x *OrgAddMemberAuditEntry) GetActorIp() string
func (*OrgAddMemberAuditEntry) GetActorLocation ¶
func (x *OrgAddMemberAuditEntry) GetActorLocation() *ActorLocation
func (*OrgAddMemberAuditEntry) GetActorLogin ¶
func (x *OrgAddMemberAuditEntry) GetActorLogin() string
func (*OrgAddMemberAuditEntry) GetActorResourcePath ¶
func (x *OrgAddMemberAuditEntry) GetActorResourcePath() URI
func (*OrgAddMemberAuditEntry) GetActorUrl ¶
func (x *OrgAddMemberAuditEntry) GetActorUrl() URI
func (*OrgAddMemberAuditEntry) GetCreatedAt ¶
func (x *OrgAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgAddMemberAuditEntry) GetId ¶
func (x *OrgAddMemberAuditEntry) GetId() ID
func (*OrgAddMemberAuditEntry) GetOperationType ¶
func (x *OrgAddMemberAuditEntry) GetOperationType() OperationType
func (*OrgAddMemberAuditEntry) GetOrganization ¶
func (x *OrgAddMemberAuditEntry) GetOrganization() *Organization
func (*OrgAddMemberAuditEntry) GetOrganizationName ¶
func (x *OrgAddMemberAuditEntry) GetOrganizationName() string
func (*OrgAddMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgAddMemberAuditEntry) GetOrganizationResourcePath() URI
func (*OrgAddMemberAuditEntry) GetOrganizationUrl ¶
func (x *OrgAddMemberAuditEntry) GetOrganizationUrl() URI
func (*OrgAddMemberAuditEntry) GetPermission ¶
func (x *OrgAddMemberAuditEntry) GetPermission() OrgAddMemberAuditEntryPermission
func (*OrgAddMemberAuditEntry) GetUser ¶
func (x *OrgAddMemberAuditEntry) GetUser() *User
func (*OrgAddMemberAuditEntry) GetUserLogin ¶
func (x *OrgAddMemberAuditEntry) GetUserLogin() string
func (*OrgAddMemberAuditEntry) GetUserResourcePath ¶
func (x *OrgAddMemberAuditEntry) GetUserResourcePath() URI
func (*OrgAddMemberAuditEntry) GetUserUrl ¶
func (x *OrgAddMemberAuditEntry) GetUserUrl() URI
type OrgAddMemberAuditEntryPermission ¶
type OrgAddMemberAuditEntryPermission string
OrgAddMemberAuditEntryPermission (ENUM): The permissions available to members on an Organization.
const OrgAddMemberAuditEntryPermission_ADMIN OrgAddMemberAuditEntryPermission = "ADMIN"
OrgAddMemberAuditEntryPermission_ADMIN: Can read, clone, push, and add collaborators to repositories.
const OrgAddMemberAuditEntryPermission_READ OrgAddMemberAuditEntryPermission = "READ"
OrgAddMemberAuditEntryPermission_READ: Can read and clone repositories.
type OrgBlockUserAuditEntry ¶
type OrgBlockUserAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// BlockedUser: The blocked user.
BlockedUser *User `json:"blockedUser,omitempty"`
// BlockedUserName: The username of the blocked user.
BlockedUserName string `json:"blockedUserName,omitempty"`
// BlockedUserResourcePath: The HTTP path for the blocked user.
BlockedUserResourcePath URI `json:"blockedUserResourcePath,omitempty"`
// BlockedUserUrl: The HTTP URL for the blocked user.
BlockedUserUrl URI `json:"blockedUserUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgBlockUserAuditEntry (OBJECT): Audit log entry for a org.block_user.
func (*OrgBlockUserAuditEntry) GetAction ¶
func (x *OrgBlockUserAuditEntry) GetAction() string
func (*OrgBlockUserAuditEntry) GetActor ¶
func (x *OrgBlockUserAuditEntry) GetActor() AuditEntryActor
func (*OrgBlockUserAuditEntry) GetActorIp ¶
func (x *OrgBlockUserAuditEntry) GetActorIp() string
func (*OrgBlockUserAuditEntry) GetActorLocation ¶
func (x *OrgBlockUserAuditEntry) GetActorLocation() *ActorLocation
func (*OrgBlockUserAuditEntry) GetActorLogin ¶
func (x *OrgBlockUserAuditEntry) GetActorLogin() string
func (*OrgBlockUserAuditEntry) GetActorResourcePath ¶
func (x *OrgBlockUserAuditEntry) GetActorResourcePath() URI
func (*OrgBlockUserAuditEntry) GetActorUrl ¶
func (x *OrgBlockUserAuditEntry) GetActorUrl() URI
func (*OrgBlockUserAuditEntry) GetBlockedUser ¶
func (x *OrgBlockUserAuditEntry) GetBlockedUser() *User
func (*OrgBlockUserAuditEntry) GetBlockedUserName ¶
func (x *OrgBlockUserAuditEntry) GetBlockedUserName() string
func (*OrgBlockUserAuditEntry) GetBlockedUserResourcePath ¶
func (x *OrgBlockUserAuditEntry) GetBlockedUserResourcePath() URI
func (*OrgBlockUserAuditEntry) GetBlockedUserUrl ¶
func (x *OrgBlockUserAuditEntry) GetBlockedUserUrl() URI
func (*OrgBlockUserAuditEntry) GetCreatedAt ¶
func (x *OrgBlockUserAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgBlockUserAuditEntry) GetId ¶
func (x *OrgBlockUserAuditEntry) GetId() ID
func (*OrgBlockUserAuditEntry) GetOperationType ¶
func (x *OrgBlockUserAuditEntry) GetOperationType() OperationType
func (*OrgBlockUserAuditEntry) GetOrganization ¶
func (x *OrgBlockUserAuditEntry) GetOrganization() *Organization
func (*OrgBlockUserAuditEntry) GetOrganizationName ¶
func (x *OrgBlockUserAuditEntry) GetOrganizationName() string
func (*OrgBlockUserAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgBlockUserAuditEntry) GetOrganizationResourcePath() URI
func (*OrgBlockUserAuditEntry) GetOrganizationUrl ¶
func (x *OrgBlockUserAuditEntry) GetOrganizationUrl() URI
func (*OrgBlockUserAuditEntry) GetUser ¶
func (x *OrgBlockUserAuditEntry) GetUser() *User
func (*OrgBlockUserAuditEntry) GetUserLogin ¶
func (x *OrgBlockUserAuditEntry) GetUserLogin() string
func (*OrgBlockUserAuditEntry) GetUserResourcePath ¶
func (x *OrgBlockUserAuditEntry) GetUserResourcePath() URI
func (*OrgBlockUserAuditEntry) GetUserUrl ¶
func (x *OrgBlockUserAuditEntry) GetUserUrl() URI
type OrgConfigDisableCollaboratorsOnlyAuditEntry ¶
type OrgConfigDisableCollaboratorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgConfigDisableCollaboratorsOnlyAuditEntry (OBJECT): Audit log entry for a org.config.disable_collaborators_only event.
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp() string
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() string
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetId ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetId() ID
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() string
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
func (*OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl ¶
func (x *OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
type OrgConfigEnableCollaboratorsOnlyAuditEntry ¶
type OrgConfigEnableCollaboratorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgConfigEnableCollaboratorsOnlyAuditEntry (OBJECT): Audit log entry for a org.config.enable_collaborators_only event.
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp() string
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() string
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetId ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetId() ID
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() string
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
func (*OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl ¶
func (x *OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
type OrgCreateAuditEntry ¶
type OrgCreateAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// BillingPlan: The billing plan for the Organization.
BillingPlan OrgCreateAuditEntryBillingPlan `json:"billingPlan,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgCreateAuditEntry (OBJECT): Audit log entry for a org.create event.
func (*OrgCreateAuditEntry) GetAction ¶
func (x *OrgCreateAuditEntry) GetAction() string
func (*OrgCreateAuditEntry) GetActor ¶
func (x *OrgCreateAuditEntry) GetActor() AuditEntryActor
func (*OrgCreateAuditEntry) GetActorIp ¶
func (x *OrgCreateAuditEntry) GetActorIp() string
func (*OrgCreateAuditEntry) GetActorLocation ¶
func (x *OrgCreateAuditEntry) GetActorLocation() *ActorLocation
func (*OrgCreateAuditEntry) GetActorLogin ¶
func (x *OrgCreateAuditEntry) GetActorLogin() string
func (*OrgCreateAuditEntry) GetActorResourcePath ¶
func (x *OrgCreateAuditEntry) GetActorResourcePath() URI
func (*OrgCreateAuditEntry) GetActorUrl ¶
func (x *OrgCreateAuditEntry) GetActorUrl() URI
func (*OrgCreateAuditEntry) GetBillingPlan ¶
func (x *OrgCreateAuditEntry) GetBillingPlan() OrgCreateAuditEntryBillingPlan
func (*OrgCreateAuditEntry) GetCreatedAt ¶
func (x *OrgCreateAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgCreateAuditEntry) GetId ¶
func (x *OrgCreateAuditEntry) GetId() ID
func (*OrgCreateAuditEntry) GetOperationType ¶
func (x *OrgCreateAuditEntry) GetOperationType() OperationType
func (*OrgCreateAuditEntry) GetOrganization ¶
func (x *OrgCreateAuditEntry) GetOrganization() *Organization
func (*OrgCreateAuditEntry) GetOrganizationName ¶
func (x *OrgCreateAuditEntry) GetOrganizationName() string
func (*OrgCreateAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgCreateAuditEntry) GetOrganizationResourcePath() URI
func (*OrgCreateAuditEntry) GetOrganizationUrl ¶
func (x *OrgCreateAuditEntry) GetOrganizationUrl() URI
func (*OrgCreateAuditEntry) GetUser ¶
func (x *OrgCreateAuditEntry) GetUser() *User
func (*OrgCreateAuditEntry) GetUserLogin ¶
func (x *OrgCreateAuditEntry) GetUserLogin() string
func (*OrgCreateAuditEntry) GetUserResourcePath ¶
func (x *OrgCreateAuditEntry) GetUserResourcePath() URI
func (*OrgCreateAuditEntry) GetUserUrl ¶
func (x *OrgCreateAuditEntry) GetUserUrl() URI
type OrgCreateAuditEntryBillingPlan ¶
type OrgCreateAuditEntryBillingPlan string
OrgCreateAuditEntryBillingPlan (ENUM): The billing plans available for organizations.
const OrgCreateAuditEntryBillingPlan_BUSINESS OrgCreateAuditEntryBillingPlan = "BUSINESS"
OrgCreateAuditEntryBillingPlan_BUSINESS: Team Plan.
const OrgCreateAuditEntryBillingPlan_BUSINESS_PLUS OrgCreateAuditEntryBillingPlan = "BUSINESS_PLUS"
OrgCreateAuditEntryBillingPlan_BUSINESS_PLUS: Enterprise Cloud Plan.
const OrgCreateAuditEntryBillingPlan_FREE OrgCreateAuditEntryBillingPlan = "FREE"
OrgCreateAuditEntryBillingPlan_FREE: Free Plan.
const OrgCreateAuditEntryBillingPlan_TIERED_PER_SEAT OrgCreateAuditEntryBillingPlan = "TIERED_PER_SEAT"
OrgCreateAuditEntryBillingPlan_TIERED_PER_SEAT: Tiered Per Seat Plan.
const OrgCreateAuditEntryBillingPlan_UNLIMITED OrgCreateAuditEntryBillingPlan = "UNLIMITED"
OrgCreateAuditEntryBillingPlan_UNLIMITED: Legacy Unlimited Plan.
type OrgDisableOauthAppRestrictionsAuditEntry ¶
type OrgDisableOauthAppRestrictionsAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgDisableOauthAppRestrictionsAuditEntry (OBJECT): Audit log entry for a org.disable_oauth_app_restrictions event.
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetAction ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetAction() string
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActor ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActorIp ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorIp() string
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin() string
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath() URI
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetActorUrl ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetActorUrl() URI
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetId ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetId() ID
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType() OperationType
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName() string
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() URI
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationUrl ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationUrl() URI
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetUser ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUser() *User
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin() string
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath() URI
func (*OrgDisableOauthAppRestrictionsAuditEntry) GetUserUrl ¶
func (x *OrgDisableOauthAppRestrictionsAuditEntry) GetUserUrl() URI
type OrgDisableSamlAuditEntry ¶
type OrgDisableSamlAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// DigestMethodUrl: The SAML provider's digest algorithm URL.
DigestMethodUrl URI `json:"digestMethodUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IssuerUrl: The SAML provider's issuer URL.
IssuerUrl URI `json:"issuerUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// SignatureMethodUrl: The SAML provider's signature algorithm URL.
SignatureMethodUrl URI `json:"signatureMethodUrl,omitempty"`
// SingleSignOnUrl: The SAML provider's single sign-on URL.
SingleSignOnUrl URI `json:"singleSignOnUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgDisableSamlAuditEntry (OBJECT): Audit log entry for a org.disable_saml event.
func (*OrgDisableSamlAuditEntry) GetAction ¶
func (x *OrgDisableSamlAuditEntry) GetAction() string
func (*OrgDisableSamlAuditEntry) GetActor ¶
func (x *OrgDisableSamlAuditEntry) GetActor() AuditEntryActor
func (*OrgDisableSamlAuditEntry) GetActorIp ¶
func (x *OrgDisableSamlAuditEntry) GetActorIp() string
func (*OrgDisableSamlAuditEntry) GetActorLocation ¶
func (x *OrgDisableSamlAuditEntry) GetActorLocation() *ActorLocation
func (*OrgDisableSamlAuditEntry) GetActorLogin ¶
func (x *OrgDisableSamlAuditEntry) GetActorLogin() string
func (*OrgDisableSamlAuditEntry) GetActorResourcePath ¶
func (x *OrgDisableSamlAuditEntry) GetActorResourcePath() URI
func (*OrgDisableSamlAuditEntry) GetActorUrl ¶
func (x *OrgDisableSamlAuditEntry) GetActorUrl() URI
func (*OrgDisableSamlAuditEntry) GetCreatedAt ¶
func (x *OrgDisableSamlAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgDisableSamlAuditEntry) GetDigestMethodUrl ¶
func (x *OrgDisableSamlAuditEntry) GetDigestMethodUrl() URI
func (*OrgDisableSamlAuditEntry) GetId ¶
func (x *OrgDisableSamlAuditEntry) GetId() ID
func (*OrgDisableSamlAuditEntry) GetIssuerUrl ¶
func (x *OrgDisableSamlAuditEntry) GetIssuerUrl() URI
func (*OrgDisableSamlAuditEntry) GetOperationType ¶
func (x *OrgDisableSamlAuditEntry) GetOperationType() OperationType
func (*OrgDisableSamlAuditEntry) GetOrganization ¶
func (x *OrgDisableSamlAuditEntry) GetOrganization() *Organization
func (*OrgDisableSamlAuditEntry) GetOrganizationName ¶
func (x *OrgDisableSamlAuditEntry) GetOrganizationName() string
func (*OrgDisableSamlAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgDisableSamlAuditEntry) GetOrganizationResourcePath() URI
func (*OrgDisableSamlAuditEntry) GetOrganizationUrl ¶
func (x *OrgDisableSamlAuditEntry) GetOrganizationUrl() URI
func (*OrgDisableSamlAuditEntry) GetSignatureMethodUrl ¶
func (x *OrgDisableSamlAuditEntry) GetSignatureMethodUrl() URI
func (*OrgDisableSamlAuditEntry) GetSingleSignOnUrl ¶
func (x *OrgDisableSamlAuditEntry) GetSingleSignOnUrl() URI
func (*OrgDisableSamlAuditEntry) GetUser ¶
func (x *OrgDisableSamlAuditEntry) GetUser() *User
func (*OrgDisableSamlAuditEntry) GetUserLogin ¶
func (x *OrgDisableSamlAuditEntry) GetUserLogin() string
func (*OrgDisableSamlAuditEntry) GetUserResourcePath ¶
func (x *OrgDisableSamlAuditEntry) GetUserResourcePath() URI
func (*OrgDisableSamlAuditEntry) GetUserUrl ¶
func (x *OrgDisableSamlAuditEntry) GetUserUrl() URI
type OrgDisableTwoFactorRequirementAuditEntry ¶
type OrgDisableTwoFactorRequirementAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgDisableTwoFactorRequirementAuditEntry (OBJECT): Audit log entry for a org.disable_two_factor_requirement event.
func (*OrgDisableTwoFactorRequirementAuditEntry) GetAction ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetAction() string
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActor ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActorIp ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorIp() string
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin() string
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath() URI
func (*OrgDisableTwoFactorRequirementAuditEntry) GetActorUrl ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetActorUrl() URI
func (*OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgDisableTwoFactorRequirementAuditEntry) GetId ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetId() ID
func (*OrgDisableTwoFactorRequirementAuditEntry) GetOperationType ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOperationType() OperationType
func (*OrgDisableTwoFactorRequirementAuditEntry) GetOrganization ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
func (*OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName() string
func (*OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() URI
func (*OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationUrl ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationUrl() URI
func (*OrgDisableTwoFactorRequirementAuditEntry) GetUser ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUser() *User
func (*OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin() string
func (*OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath() URI
func (*OrgDisableTwoFactorRequirementAuditEntry) GetUserUrl ¶
func (x *OrgDisableTwoFactorRequirementAuditEntry) GetUserUrl() URI
type OrgEnableOauthAppRestrictionsAuditEntry ¶
type OrgEnableOauthAppRestrictionsAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgEnableOauthAppRestrictionsAuditEntry (OBJECT): Audit log entry for a org.enable_oauth_app_restrictions event.
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetAction ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetAction() string
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActor ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActorIp ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorIp() string
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin() string
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath() URI
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetActorUrl ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetActorUrl() URI
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetId ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetId() ID
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType() OperationType
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName() string
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() URI
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationUrl ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationUrl() URI
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetUser ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUser() *User
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin() string
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath() URI
func (*OrgEnableOauthAppRestrictionsAuditEntry) GetUserUrl ¶
func (x *OrgEnableOauthAppRestrictionsAuditEntry) GetUserUrl() URI
type OrgEnableSamlAuditEntry ¶
type OrgEnableSamlAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// DigestMethodUrl: The SAML provider's digest algorithm URL.
DigestMethodUrl URI `json:"digestMethodUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IssuerUrl: The SAML provider's issuer URL.
IssuerUrl URI `json:"issuerUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// SignatureMethodUrl: The SAML provider's signature algorithm URL.
SignatureMethodUrl URI `json:"signatureMethodUrl,omitempty"`
// SingleSignOnUrl: The SAML provider's single sign-on URL.
SingleSignOnUrl URI `json:"singleSignOnUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgEnableSamlAuditEntry (OBJECT): Audit log entry for a org.enable_saml event.
func (*OrgEnableSamlAuditEntry) GetAction ¶
func (x *OrgEnableSamlAuditEntry) GetAction() string
func (*OrgEnableSamlAuditEntry) GetActor ¶
func (x *OrgEnableSamlAuditEntry) GetActor() AuditEntryActor
func (*OrgEnableSamlAuditEntry) GetActorIp ¶
func (x *OrgEnableSamlAuditEntry) GetActorIp() string
func (*OrgEnableSamlAuditEntry) GetActorLocation ¶
func (x *OrgEnableSamlAuditEntry) GetActorLocation() *ActorLocation
func (*OrgEnableSamlAuditEntry) GetActorLogin ¶
func (x *OrgEnableSamlAuditEntry) GetActorLogin() string
func (*OrgEnableSamlAuditEntry) GetActorResourcePath ¶
func (x *OrgEnableSamlAuditEntry) GetActorResourcePath() URI
func (*OrgEnableSamlAuditEntry) GetActorUrl ¶
func (x *OrgEnableSamlAuditEntry) GetActorUrl() URI
func (*OrgEnableSamlAuditEntry) GetCreatedAt ¶
func (x *OrgEnableSamlAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgEnableSamlAuditEntry) GetDigestMethodUrl ¶
func (x *OrgEnableSamlAuditEntry) GetDigestMethodUrl() URI
func (*OrgEnableSamlAuditEntry) GetId ¶
func (x *OrgEnableSamlAuditEntry) GetId() ID
func (*OrgEnableSamlAuditEntry) GetIssuerUrl ¶
func (x *OrgEnableSamlAuditEntry) GetIssuerUrl() URI
func (*OrgEnableSamlAuditEntry) GetOperationType ¶
func (x *OrgEnableSamlAuditEntry) GetOperationType() OperationType
func (*OrgEnableSamlAuditEntry) GetOrganization ¶
func (x *OrgEnableSamlAuditEntry) GetOrganization() *Organization
func (*OrgEnableSamlAuditEntry) GetOrganizationName ¶
func (x *OrgEnableSamlAuditEntry) GetOrganizationName() string
func (*OrgEnableSamlAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgEnableSamlAuditEntry) GetOrganizationResourcePath() URI
func (*OrgEnableSamlAuditEntry) GetOrganizationUrl ¶
func (x *OrgEnableSamlAuditEntry) GetOrganizationUrl() URI
func (*OrgEnableSamlAuditEntry) GetSignatureMethodUrl ¶
func (x *OrgEnableSamlAuditEntry) GetSignatureMethodUrl() URI
func (*OrgEnableSamlAuditEntry) GetSingleSignOnUrl ¶
func (x *OrgEnableSamlAuditEntry) GetSingleSignOnUrl() URI
func (*OrgEnableSamlAuditEntry) GetUser ¶
func (x *OrgEnableSamlAuditEntry) GetUser() *User
func (*OrgEnableSamlAuditEntry) GetUserLogin ¶
func (x *OrgEnableSamlAuditEntry) GetUserLogin() string
func (*OrgEnableSamlAuditEntry) GetUserResourcePath ¶
func (x *OrgEnableSamlAuditEntry) GetUserResourcePath() URI
func (*OrgEnableSamlAuditEntry) GetUserUrl ¶
func (x *OrgEnableSamlAuditEntry) GetUserUrl() URI
type OrgEnableTwoFactorRequirementAuditEntry ¶
type OrgEnableTwoFactorRequirementAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgEnableTwoFactorRequirementAuditEntry (OBJECT): Audit log entry for a org.enable_two_factor_requirement event.
func (*OrgEnableTwoFactorRequirementAuditEntry) GetAction ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetAction() string
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActor ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActorIp ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorIp() string
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin() string
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath() URI
func (*OrgEnableTwoFactorRequirementAuditEntry) GetActorUrl ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetActorUrl() URI
func (*OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgEnableTwoFactorRequirementAuditEntry) GetId ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetId() ID
func (*OrgEnableTwoFactorRequirementAuditEntry) GetOperationType ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOperationType() OperationType
func (*OrgEnableTwoFactorRequirementAuditEntry) GetOrganization ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
func (*OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName() string
func (*OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() URI
func (*OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationUrl ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationUrl() URI
func (*OrgEnableTwoFactorRequirementAuditEntry) GetUser ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUser() *User
func (*OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin() string
func (*OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath() URI
func (*OrgEnableTwoFactorRequirementAuditEntry) GetUserUrl ¶
func (x *OrgEnableTwoFactorRequirementAuditEntry) GetUserUrl() URI
type OrgEnterpriseOwnerOrder ¶
type OrgEnterpriseOwnerOrder struct {
// Field: The field to order enterprise owners by.
//
// GraphQL type: OrgEnterpriseOwnerOrderField!
Field OrgEnterpriseOwnerOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
OrgEnterpriseOwnerOrder (INPUT_OBJECT): Ordering options for an organization's enterprise owner connections.
type OrgEnterpriseOwnerOrderField ¶
type OrgEnterpriseOwnerOrderField string
OrgEnterpriseOwnerOrderField (ENUM): Properties by which enterprise owners can be ordered.
const OrgEnterpriseOwnerOrderField_LOGIN OrgEnterpriseOwnerOrderField = "LOGIN"
OrgEnterpriseOwnerOrderField_LOGIN: Order enterprise owners by login.
type OrgInviteMemberAuditEntry ¶
type OrgInviteMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Email: The email address of the organization invitation.
Email string `json:"email,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationInvitation: The organization invitation.
OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgInviteMemberAuditEntry (OBJECT): Audit log entry for a org.invite_member event.
func (*OrgInviteMemberAuditEntry) GetAction ¶
func (x *OrgInviteMemberAuditEntry) GetAction() string
func (*OrgInviteMemberAuditEntry) GetActor ¶
func (x *OrgInviteMemberAuditEntry) GetActor() AuditEntryActor
func (*OrgInviteMemberAuditEntry) GetActorIp ¶
func (x *OrgInviteMemberAuditEntry) GetActorIp() string
func (*OrgInviteMemberAuditEntry) GetActorLocation ¶
func (x *OrgInviteMemberAuditEntry) GetActorLocation() *ActorLocation
func (*OrgInviteMemberAuditEntry) GetActorLogin ¶
func (x *OrgInviteMemberAuditEntry) GetActorLogin() string
func (*OrgInviteMemberAuditEntry) GetActorResourcePath ¶
func (x *OrgInviteMemberAuditEntry) GetActorResourcePath() URI
func (*OrgInviteMemberAuditEntry) GetActorUrl ¶
func (x *OrgInviteMemberAuditEntry) GetActorUrl() URI
func (*OrgInviteMemberAuditEntry) GetCreatedAt ¶
func (x *OrgInviteMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgInviteMemberAuditEntry) GetEmail ¶
func (x *OrgInviteMemberAuditEntry) GetEmail() string
func (*OrgInviteMemberAuditEntry) GetId ¶
func (x *OrgInviteMemberAuditEntry) GetId() ID
func (*OrgInviteMemberAuditEntry) GetOperationType ¶
func (x *OrgInviteMemberAuditEntry) GetOperationType() OperationType
func (*OrgInviteMemberAuditEntry) GetOrganization ¶
func (x *OrgInviteMemberAuditEntry) GetOrganization() *Organization
func (*OrgInviteMemberAuditEntry) GetOrganizationInvitation ¶
func (x *OrgInviteMemberAuditEntry) GetOrganizationInvitation() *OrganizationInvitation
func (*OrgInviteMemberAuditEntry) GetOrganizationName ¶
func (x *OrgInviteMemberAuditEntry) GetOrganizationName() string
func (*OrgInviteMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgInviteMemberAuditEntry) GetOrganizationResourcePath() URI
func (*OrgInviteMemberAuditEntry) GetOrganizationUrl ¶
func (x *OrgInviteMemberAuditEntry) GetOrganizationUrl() URI
func (*OrgInviteMemberAuditEntry) GetUser ¶
func (x *OrgInviteMemberAuditEntry) GetUser() *User
func (*OrgInviteMemberAuditEntry) GetUserLogin ¶
func (x *OrgInviteMemberAuditEntry) GetUserLogin() string
func (*OrgInviteMemberAuditEntry) GetUserResourcePath ¶
func (x *OrgInviteMemberAuditEntry) GetUserResourcePath() URI
func (*OrgInviteMemberAuditEntry) GetUserUrl ¶
func (x *OrgInviteMemberAuditEntry) GetUserUrl() URI
type OrgInviteToBusinessAuditEntry ¶
type OrgInviteToBusinessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgInviteToBusinessAuditEntry (OBJECT): Audit log entry for a org.invite_to_business event.
func (*OrgInviteToBusinessAuditEntry) GetAction ¶
func (x *OrgInviteToBusinessAuditEntry) GetAction() string
func (*OrgInviteToBusinessAuditEntry) GetActor ¶
func (x *OrgInviteToBusinessAuditEntry) GetActor() AuditEntryActor
func (*OrgInviteToBusinessAuditEntry) GetActorIp ¶
func (x *OrgInviteToBusinessAuditEntry) GetActorIp() string
func (*OrgInviteToBusinessAuditEntry) GetActorLocation ¶
func (x *OrgInviteToBusinessAuditEntry) GetActorLocation() *ActorLocation
func (*OrgInviteToBusinessAuditEntry) GetActorLogin ¶
func (x *OrgInviteToBusinessAuditEntry) GetActorLogin() string
func (*OrgInviteToBusinessAuditEntry) GetActorResourcePath ¶
func (x *OrgInviteToBusinessAuditEntry) GetActorResourcePath() URI
func (*OrgInviteToBusinessAuditEntry) GetActorUrl ¶
func (x *OrgInviteToBusinessAuditEntry) GetActorUrl() URI
func (*OrgInviteToBusinessAuditEntry) GetCreatedAt ¶
func (x *OrgInviteToBusinessAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath ¶
func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath() URI
func (*OrgInviteToBusinessAuditEntry) GetEnterpriseSlug ¶
func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseSlug() string
func (*OrgInviteToBusinessAuditEntry) GetEnterpriseUrl ¶
func (x *OrgInviteToBusinessAuditEntry) GetEnterpriseUrl() URI
func (*OrgInviteToBusinessAuditEntry) GetId ¶
func (x *OrgInviteToBusinessAuditEntry) GetId() ID
func (*OrgInviteToBusinessAuditEntry) GetOperationType ¶
func (x *OrgInviteToBusinessAuditEntry) GetOperationType() OperationType
func (*OrgInviteToBusinessAuditEntry) GetOrganization ¶
func (x *OrgInviteToBusinessAuditEntry) GetOrganization() *Organization
func (*OrgInviteToBusinessAuditEntry) GetOrganizationName ¶
func (x *OrgInviteToBusinessAuditEntry) GetOrganizationName() string
func (*OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath() URI
func (*OrgInviteToBusinessAuditEntry) GetOrganizationUrl ¶
func (x *OrgInviteToBusinessAuditEntry) GetOrganizationUrl() URI
func (*OrgInviteToBusinessAuditEntry) GetUser ¶
func (x *OrgInviteToBusinessAuditEntry) GetUser() *User
func (*OrgInviteToBusinessAuditEntry) GetUserLogin ¶
func (x *OrgInviteToBusinessAuditEntry) GetUserLogin() string
func (*OrgInviteToBusinessAuditEntry) GetUserResourcePath ¶
func (x *OrgInviteToBusinessAuditEntry) GetUserResourcePath() URI
func (*OrgInviteToBusinessAuditEntry) GetUserUrl ¶
func (x *OrgInviteToBusinessAuditEntry) GetUserUrl() URI
type OrgOauthAppAccessApprovedAuditEntry ¶
type OrgOauthAppAccessApprovedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OauthApplicationName: The name of the OAuth Application.
OauthApplicationName string `json:"oauthApplicationName,omitempty"`
// OauthApplicationResourcePath: The HTTP path for the OAuth Application.
OauthApplicationResourcePath URI `json:"oauthApplicationResourcePath,omitempty"`
// OauthApplicationUrl: The HTTP URL for the OAuth Application.
OauthApplicationUrl URI `json:"oauthApplicationUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgOauthAppAccessApprovedAuditEntry (OBJECT): Audit log entry for a org.oauth_app_access_approved event.
func (*OrgOauthAppAccessApprovedAuditEntry) GetAction ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetAction() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetActor ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActor() AuditEntryActor
func (*OrgOauthAppAccessApprovedAuditEntry) GetActorIp ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorIp() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetActorLocation ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorLocation() *ActorLocation
func (*OrgOauthAppAccessApprovedAuditEntry) GetActorLogin ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorLogin() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetActorUrl ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetActorUrl() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgOauthAppAccessApprovedAuditEntry) GetId ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetId() ID
func (*OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationUrl ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationUrl() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetOperationType ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOperationType() OperationType
func (*OrgOauthAppAccessApprovedAuditEntry) GetOrganization ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganization() *Organization
func (*OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetOrganizationUrl ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetOrganizationUrl() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetUser ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetUser() *User
func (*OrgOauthAppAccessApprovedAuditEntry) GetUserLogin ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserLogin() string
func (*OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath() URI
func (*OrgOauthAppAccessApprovedAuditEntry) GetUserUrl ¶
func (x *OrgOauthAppAccessApprovedAuditEntry) GetUserUrl() URI
type OrgOauthAppAccessDeniedAuditEntry ¶
type OrgOauthAppAccessDeniedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OauthApplicationName: The name of the OAuth Application.
OauthApplicationName string `json:"oauthApplicationName,omitempty"`
// OauthApplicationResourcePath: The HTTP path for the OAuth Application.
OauthApplicationResourcePath URI `json:"oauthApplicationResourcePath,omitempty"`
// OauthApplicationUrl: The HTTP URL for the OAuth Application.
OauthApplicationUrl URI `json:"oauthApplicationUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgOauthAppAccessDeniedAuditEntry (OBJECT): Audit log entry for a org.oauth_app_access_denied event.
func (*OrgOauthAppAccessDeniedAuditEntry) GetAction ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetAction() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetActor ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActor() AuditEntryActor
func (*OrgOauthAppAccessDeniedAuditEntry) GetActorIp ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorIp() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetActorLocation ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorLocation() *ActorLocation
func (*OrgOauthAppAccessDeniedAuditEntry) GetActorLogin ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorLogin() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetActorUrl ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetActorUrl() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgOauthAppAccessDeniedAuditEntry) GetId ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetId() ID
func (*OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationUrl ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationUrl() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetOperationType ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOperationType() OperationType
func (*OrgOauthAppAccessDeniedAuditEntry) GetOrganization ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganization() *Organization
func (*OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetOrganizationUrl ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetOrganizationUrl() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetUser ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetUser() *User
func (*OrgOauthAppAccessDeniedAuditEntry) GetUserLogin ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserLogin() string
func (*OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath() URI
func (*OrgOauthAppAccessDeniedAuditEntry) GetUserUrl ¶
func (x *OrgOauthAppAccessDeniedAuditEntry) GetUserUrl() URI
type OrgOauthAppAccessRequestedAuditEntry ¶
type OrgOauthAppAccessRequestedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OauthApplicationName: The name of the OAuth Application.
OauthApplicationName string `json:"oauthApplicationName,omitempty"`
// OauthApplicationResourcePath: The HTTP path for the OAuth Application.
OauthApplicationResourcePath URI `json:"oauthApplicationResourcePath,omitempty"`
// OauthApplicationUrl: The HTTP URL for the OAuth Application.
OauthApplicationUrl URI `json:"oauthApplicationUrl,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgOauthAppAccessRequestedAuditEntry (OBJECT): Audit log entry for a org.oauth_app_access_requested event.
func (*OrgOauthAppAccessRequestedAuditEntry) GetAction ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetAction() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetActor ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActor() AuditEntryActor
func (*OrgOauthAppAccessRequestedAuditEntry) GetActorIp ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorIp() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetActorLocation ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorLocation() *ActorLocation
func (*OrgOauthAppAccessRequestedAuditEntry) GetActorLogin ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorLogin() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetActorUrl ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetActorUrl() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgOauthAppAccessRequestedAuditEntry) GetId ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetId() ID
func (*OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationUrl ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationUrl() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetOperationType ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOperationType() OperationType
func (*OrgOauthAppAccessRequestedAuditEntry) GetOrganization ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganization() *Organization
func (*OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetOrganizationUrl ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetOrganizationUrl() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetUser ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetUser() *User
func (*OrgOauthAppAccessRequestedAuditEntry) GetUserLogin ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserLogin() string
func (*OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath() URI
func (*OrgOauthAppAccessRequestedAuditEntry) GetUserUrl ¶
func (x *OrgOauthAppAccessRequestedAuditEntry) GetUserUrl() URI
type OrgRemoveBillingManagerAuditEntry ¶
type OrgRemoveBillingManagerAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Reason: The reason for the billing manager being removed.
Reason OrgRemoveBillingManagerAuditEntryReason `json:"reason,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgRemoveBillingManagerAuditEntry (OBJECT): Audit log entry for a org.remove_billing_manager event.
func (*OrgRemoveBillingManagerAuditEntry) GetAction ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetAction() string
func (*OrgRemoveBillingManagerAuditEntry) GetActor ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActor() AuditEntryActor
func (*OrgRemoveBillingManagerAuditEntry) GetActorIp ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActorIp() string
func (*OrgRemoveBillingManagerAuditEntry) GetActorLocation ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActorLocation() *ActorLocation
func (*OrgRemoveBillingManagerAuditEntry) GetActorLogin ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActorLogin() string
func (*OrgRemoveBillingManagerAuditEntry) GetActorResourcePath ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActorResourcePath() URI
func (*OrgRemoveBillingManagerAuditEntry) GetActorUrl ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetActorUrl() URI
func (*OrgRemoveBillingManagerAuditEntry) GetCreatedAt ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgRemoveBillingManagerAuditEntry) GetId ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetId() ID
func (*OrgRemoveBillingManagerAuditEntry) GetOperationType ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetOperationType() OperationType
func (*OrgRemoveBillingManagerAuditEntry) GetOrganization ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetOrganization() *Organization
func (*OrgRemoveBillingManagerAuditEntry) GetOrganizationName ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationName() string
func (*OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath() URI
func (*OrgRemoveBillingManagerAuditEntry) GetOrganizationUrl ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetOrganizationUrl() URI
func (*OrgRemoveBillingManagerAuditEntry) GetReason ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetReason() OrgRemoveBillingManagerAuditEntryReason
func (*OrgRemoveBillingManagerAuditEntry) GetUser ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetUser() *User
func (*OrgRemoveBillingManagerAuditEntry) GetUserLogin ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetUserLogin() string
func (*OrgRemoveBillingManagerAuditEntry) GetUserResourcePath ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetUserResourcePath() URI
func (*OrgRemoveBillingManagerAuditEntry) GetUserUrl ¶
func (x *OrgRemoveBillingManagerAuditEntry) GetUserUrl() URI
type OrgRemoveBillingManagerAuditEntryReason ¶
type OrgRemoveBillingManagerAuditEntryReason string
OrgRemoveBillingManagerAuditEntryReason (ENUM): The reason a billing manager was removed from an Organization.
const OrgRemoveBillingManagerAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING OrgRemoveBillingManagerAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING"
OrgRemoveBillingManagerAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING: SAML external identity missing.
const OrgRemoveBillingManagerAuditEntryReason_SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY OrgRemoveBillingManagerAuditEntryReason = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY"
OrgRemoveBillingManagerAuditEntryReason_SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY: SAML SSO enforcement requires an external identity.
const OrgRemoveBillingManagerAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE OrgRemoveBillingManagerAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"
OrgRemoveBillingManagerAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE: The organization required 2FA of its billing managers and this user did not have 2FA enabled.
type OrgRemoveMemberAuditEntry ¶
type OrgRemoveMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MembershipTypes: The types of membership the member has with the organization.
MembershipTypes []OrgRemoveMemberAuditEntryMembershipType `json:"membershipTypes,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Reason: The reason for the member being removed.
Reason OrgRemoveMemberAuditEntryReason `json:"reason,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgRemoveMemberAuditEntry (OBJECT): Audit log entry for a org.remove_member event.
func (*OrgRemoveMemberAuditEntry) GetAction ¶
func (x *OrgRemoveMemberAuditEntry) GetAction() string
func (*OrgRemoveMemberAuditEntry) GetActor ¶
func (x *OrgRemoveMemberAuditEntry) GetActor() AuditEntryActor
func (*OrgRemoveMemberAuditEntry) GetActorIp ¶
func (x *OrgRemoveMemberAuditEntry) GetActorIp() string
func (*OrgRemoveMemberAuditEntry) GetActorLocation ¶
func (x *OrgRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
func (*OrgRemoveMemberAuditEntry) GetActorLogin ¶
func (x *OrgRemoveMemberAuditEntry) GetActorLogin() string
func (*OrgRemoveMemberAuditEntry) GetActorResourcePath ¶
func (x *OrgRemoveMemberAuditEntry) GetActorResourcePath() URI
func (*OrgRemoveMemberAuditEntry) GetActorUrl ¶
func (x *OrgRemoveMemberAuditEntry) GetActorUrl() URI
func (*OrgRemoveMemberAuditEntry) GetCreatedAt ¶
func (x *OrgRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgRemoveMemberAuditEntry) GetId ¶
func (x *OrgRemoveMemberAuditEntry) GetId() ID
func (*OrgRemoveMemberAuditEntry) GetMembershipTypes ¶
func (x *OrgRemoveMemberAuditEntry) GetMembershipTypes() []OrgRemoveMemberAuditEntryMembershipType
func (*OrgRemoveMemberAuditEntry) GetOperationType ¶
func (x *OrgRemoveMemberAuditEntry) GetOperationType() OperationType
func (*OrgRemoveMemberAuditEntry) GetOrganization ¶
func (x *OrgRemoveMemberAuditEntry) GetOrganization() *Organization
func (*OrgRemoveMemberAuditEntry) GetOrganizationName ¶
func (x *OrgRemoveMemberAuditEntry) GetOrganizationName() string
func (*OrgRemoveMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
func (*OrgRemoveMemberAuditEntry) GetOrganizationUrl ¶
func (x *OrgRemoveMemberAuditEntry) GetOrganizationUrl() URI
func (*OrgRemoveMemberAuditEntry) GetReason ¶
func (x *OrgRemoveMemberAuditEntry) GetReason() OrgRemoveMemberAuditEntryReason
func (*OrgRemoveMemberAuditEntry) GetUser ¶
func (x *OrgRemoveMemberAuditEntry) GetUser() *User
func (*OrgRemoveMemberAuditEntry) GetUserLogin ¶
func (x *OrgRemoveMemberAuditEntry) GetUserLogin() string
func (*OrgRemoveMemberAuditEntry) GetUserResourcePath ¶
func (x *OrgRemoveMemberAuditEntry) GetUserResourcePath() URI
func (*OrgRemoveMemberAuditEntry) GetUserUrl ¶
func (x *OrgRemoveMemberAuditEntry) GetUserUrl() URI
type OrgRemoveMemberAuditEntryMembershipType ¶
type OrgRemoveMemberAuditEntryMembershipType string
OrgRemoveMemberAuditEntryMembershipType (ENUM): The type of membership a user has with an Organization.
const OrgRemoveMemberAuditEntryMembershipType_ADMIN OrgRemoveMemberAuditEntryMembershipType = "ADMIN"
OrgRemoveMemberAuditEntryMembershipType_ADMIN: Organization administrators have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization admins can delete the organization and all of its repositories.
const OrgRemoveMemberAuditEntryMembershipType_BILLING_MANAGER OrgRemoveMemberAuditEntryMembershipType = "BILLING_MANAGER"
OrgRemoveMemberAuditEntryMembershipType_BILLING_MANAGER: A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.
const OrgRemoveMemberAuditEntryMembershipType_DIRECT_MEMBER OrgRemoveMemberAuditEntryMembershipType = "DIRECT_MEMBER"
OrgRemoveMemberAuditEntryMembershipType_DIRECT_MEMBER: A direct member is a user that is a member of the Organization.
const OrgRemoveMemberAuditEntryMembershipType_OUTSIDE_COLLABORATOR OrgRemoveMemberAuditEntryMembershipType = "OUTSIDE_COLLABORATOR"
OrgRemoveMemberAuditEntryMembershipType_OUTSIDE_COLLABORATOR: An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.
const OrgRemoveMemberAuditEntryMembershipType_SUSPENDED OrgRemoveMemberAuditEntryMembershipType = "SUSPENDED"
OrgRemoveMemberAuditEntryMembershipType_SUSPENDED: A suspended member.
const OrgRemoveMemberAuditEntryMembershipType_UNAFFILIATED OrgRemoveMemberAuditEntryMembershipType = "UNAFFILIATED"
OrgRemoveMemberAuditEntryMembershipType_UNAFFILIATED: An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization.
type OrgRemoveMemberAuditEntryReason ¶
type OrgRemoveMemberAuditEntryReason string
OrgRemoveMemberAuditEntryReason (ENUM): The reason a member was removed from an Organization.
const OrgRemoveMemberAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING OrgRemoveMemberAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING"
OrgRemoveMemberAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING: SAML external identity missing.
const OrgRemoveMemberAuditEntryReason_SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY OrgRemoveMemberAuditEntryReason = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY"
OrgRemoveMemberAuditEntryReason_SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY: SAML SSO enforcement requires an external identity.
const OrgRemoveMemberAuditEntryReason_TWO_FACTOR_ACCOUNT_RECOVERY OrgRemoveMemberAuditEntryReason = "TWO_FACTOR_ACCOUNT_RECOVERY"
OrgRemoveMemberAuditEntryReason_TWO_FACTOR_ACCOUNT_RECOVERY: User was removed from organization during account recovery.
const OrgRemoveMemberAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE OrgRemoveMemberAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"
OrgRemoveMemberAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE: The organization required 2FA of its billing managers and this user did not have 2FA enabled.
const OrgRemoveMemberAuditEntryReason_USER_ACCOUNT_DELETED OrgRemoveMemberAuditEntryReason = "USER_ACCOUNT_DELETED"
OrgRemoveMemberAuditEntryReason_USER_ACCOUNT_DELETED: User account has been deleted.
type OrgRemoveOutsideCollaboratorAuditEntry ¶
type OrgRemoveOutsideCollaboratorAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MembershipTypes: The types of membership the outside collaborator has with the organization.
MembershipTypes []OrgRemoveOutsideCollaboratorAuditEntryMembershipType `json:"membershipTypes,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Reason: The reason for the outside collaborator being removed from the Organization.
Reason OrgRemoveOutsideCollaboratorAuditEntryReason `json:"reason,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgRemoveOutsideCollaboratorAuditEntry (OBJECT): Audit log entry for a org.remove_outside_collaborator event.
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetAction ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetAction() string
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActor ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActor() AuditEntryActor
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActorIp ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorIp() string
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation() *ActorLocation
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin() string
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath() URI
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetActorUrl ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetActorUrl() URI
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetId ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetId() ID
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetMembershipTypes ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetMembershipTypes() []OrgRemoveOutsideCollaboratorAuditEntryMembershipType
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType() OperationType
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization() *Organization
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName() string
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath() URI
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationUrl ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationUrl() URI
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetReason ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetReason() OrgRemoveOutsideCollaboratorAuditEntryReason
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetUser ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUser() *User
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin() string
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath() URI
func (*OrgRemoveOutsideCollaboratorAuditEntry) GetUserUrl ¶
func (x *OrgRemoveOutsideCollaboratorAuditEntry) GetUserUrl() URI
type OrgRemoveOutsideCollaboratorAuditEntryMembershipType ¶
type OrgRemoveOutsideCollaboratorAuditEntryMembershipType string
OrgRemoveOutsideCollaboratorAuditEntryMembershipType (ENUM): The type of membership a user has with an Organization.
const OrgRemoveOutsideCollaboratorAuditEntryMembershipType_BILLING_MANAGER OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "BILLING_MANAGER"
OrgRemoveOutsideCollaboratorAuditEntryMembershipType_BILLING_MANAGER: A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.
const OrgRemoveOutsideCollaboratorAuditEntryMembershipType_OUTSIDE_COLLABORATOR OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "OUTSIDE_COLLABORATOR"
OrgRemoveOutsideCollaboratorAuditEntryMembershipType_OUTSIDE_COLLABORATOR: An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.
const OrgRemoveOutsideCollaboratorAuditEntryMembershipType_UNAFFILIATED OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "UNAFFILIATED"
OrgRemoveOutsideCollaboratorAuditEntryMembershipType_UNAFFILIATED: An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization.
type OrgRemoveOutsideCollaboratorAuditEntryReason ¶
type OrgRemoveOutsideCollaboratorAuditEntryReason string
OrgRemoveOutsideCollaboratorAuditEntryReason (ENUM): The reason an outside collaborator was removed from an Organization.
const OrgRemoveOutsideCollaboratorAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING OrgRemoveOutsideCollaboratorAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING"
OrgRemoveOutsideCollaboratorAuditEntryReason_SAML_EXTERNAL_IDENTITY_MISSING: SAML external identity missing.
const OrgRemoveOutsideCollaboratorAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE OrgRemoveOutsideCollaboratorAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"
OrgRemoveOutsideCollaboratorAuditEntryReason_TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE: The organization required 2FA of its billing managers and this user did not have 2FA enabled.
type OrgRestoreMemberAuditEntry ¶
type OrgRestoreMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// RestoredCustomEmailRoutingsCount: The number of custom email routings for the restored member.
RestoredCustomEmailRoutingsCount int `json:"restoredCustomEmailRoutingsCount,omitempty"`
// RestoredIssueAssignmentsCount: The number of issue assignments for the restored member.
RestoredIssueAssignmentsCount int `json:"restoredIssueAssignmentsCount,omitempty"`
// RestoredMemberships: Restored organization membership objects.
RestoredMemberships []OrgRestoreMemberAuditEntryMembership `json:"restoredMemberships,omitempty"`
// RestoredMembershipsCount: The number of restored memberships.
RestoredMembershipsCount int `json:"restoredMembershipsCount,omitempty"`
// RestoredRepositoriesCount: The number of repositories of the restored member.
RestoredRepositoriesCount int `json:"restoredRepositoriesCount,omitempty"`
// RestoredRepositoryStarsCount: The number of starred repositories for the restored member.
RestoredRepositoryStarsCount int `json:"restoredRepositoryStarsCount,omitempty"`
// RestoredRepositoryWatchesCount: The number of watched repositories for the restored member.
RestoredRepositoryWatchesCount int `json:"restoredRepositoryWatchesCount,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgRestoreMemberAuditEntry (OBJECT): Audit log entry for a org.restore_member event.
func (*OrgRestoreMemberAuditEntry) GetAction ¶
func (x *OrgRestoreMemberAuditEntry) GetAction() string
func (*OrgRestoreMemberAuditEntry) GetActor ¶
func (x *OrgRestoreMemberAuditEntry) GetActor() AuditEntryActor
func (*OrgRestoreMemberAuditEntry) GetActorIp ¶
func (x *OrgRestoreMemberAuditEntry) GetActorIp() string
func (*OrgRestoreMemberAuditEntry) GetActorLocation ¶
func (x *OrgRestoreMemberAuditEntry) GetActorLocation() *ActorLocation
func (*OrgRestoreMemberAuditEntry) GetActorLogin ¶
func (x *OrgRestoreMemberAuditEntry) GetActorLogin() string
func (*OrgRestoreMemberAuditEntry) GetActorResourcePath ¶
func (x *OrgRestoreMemberAuditEntry) GetActorResourcePath() URI
func (*OrgRestoreMemberAuditEntry) GetActorUrl ¶
func (x *OrgRestoreMemberAuditEntry) GetActorUrl() URI
func (*OrgRestoreMemberAuditEntry) GetCreatedAt ¶
func (x *OrgRestoreMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgRestoreMemberAuditEntry) GetId ¶
func (x *OrgRestoreMemberAuditEntry) GetId() ID
func (*OrgRestoreMemberAuditEntry) GetOperationType ¶
func (x *OrgRestoreMemberAuditEntry) GetOperationType() OperationType
func (*OrgRestoreMemberAuditEntry) GetOrganization ¶
func (x *OrgRestoreMemberAuditEntry) GetOrganization() *Organization
func (*OrgRestoreMemberAuditEntry) GetOrganizationName ¶
func (x *OrgRestoreMemberAuditEntry) GetOrganizationName() string
func (*OrgRestoreMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgRestoreMemberAuditEntry) GetOrganizationResourcePath() URI
func (*OrgRestoreMemberAuditEntry) GetOrganizationUrl ¶
func (x *OrgRestoreMemberAuditEntry) GetOrganizationUrl() URI
func (*OrgRestoreMemberAuditEntry) GetRestoredCustomEmailRoutingsCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredCustomEmailRoutingsCount() int
func (*OrgRestoreMemberAuditEntry) GetRestoredIssueAssignmentsCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredIssueAssignmentsCount() int
func (*OrgRestoreMemberAuditEntry) GetRestoredMemberships ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredMemberships() []OrgRestoreMemberAuditEntryMembership
func (*OrgRestoreMemberAuditEntry) GetRestoredMembershipsCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredMembershipsCount() int
func (*OrgRestoreMemberAuditEntry) GetRestoredRepositoriesCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoriesCount() int
func (*OrgRestoreMemberAuditEntry) GetRestoredRepositoryStarsCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoryStarsCount() int
func (*OrgRestoreMemberAuditEntry) GetRestoredRepositoryWatchesCount ¶
func (x *OrgRestoreMemberAuditEntry) GetRestoredRepositoryWatchesCount() int
func (*OrgRestoreMemberAuditEntry) GetUser ¶
func (x *OrgRestoreMemberAuditEntry) GetUser() *User
func (*OrgRestoreMemberAuditEntry) GetUserLogin ¶
func (x *OrgRestoreMemberAuditEntry) GetUserLogin() string
func (*OrgRestoreMemberAuditEntry) GetUserResourcePath ¶
func (x *OrgRestoreMemberAuditEntry) GetUserResourcePath() URI
func (*OrgRestoreMemberAuditEntry) GetUserUrl ¶
func (x *OrgRestoreMemberAuditEntry) GetUserUrl() URI
type OrgRestoreMemberAuditEntryMembership ¶
type OrgRestoreMemberAuditEntryMembership struct {
Interface OrgRestoreMemberAuditEntryMembership_Interface
}
func (*OrgRestoreMemberAuditEntryMembership) MarshalJSON ¶
func (x *OrgRestoreMemberAuditEntryMembership) MarshalJSON() ([]byte, error)
func (*OrgRestoreMemberAuditEntryMembership) UnmarshalJSON ¶
func (x *OrgRestoreMemberAuditEntryMembership) UnmarshalJSON(js []byte) error
type OrgRestoreMemberAuditEntryMembership_Interface ¶
type OrgRestoreMemberAuditEntryMembership_Interface interface {
// contains filtered or unexported methods
}
OrgRestoreMemberAuditEntryMembership (UNION): Types of memberships that can be restored for an Organization member. OrgRestoreMemberAuditEntryMembership_Interface: Types of memberships that can be restored for an Organization member.
Possible types:
- *OrgRestoreMemberMembershipOrganizationAuditEntryData
- *OrgRestoreMemberMembershipRepositoryAuditEntryData
- *OrgRestoreMemberMembershipTeamAuditEntryData
type OrgRestoreMemberMembershipOrganizationAuditEntryData ¶
type OrgRestoreMemberMembershipOrganizationAuditEntryData struct {
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
}
OrgRestoreMemberMembershipOrganizationAuditEntryData (OBJECT): Metadata for an organization membership for org.restore_member actions.
func (*OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization ¶
func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization() *Organization
func (*OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName ¶
func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName() string
func (*OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath ¶
func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath() URI
func (*OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationUrl ¶
func (x *OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationUrl() URI
type OrgRestoreMemberMembershipRepositoryAuditEntryData ¶
type OrgRestoreMemberMembershipRepositoryAuditEntryData struct {
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
}
OrgRestoreMemberMembershipRepositoryAuditEntryData (OBJECT): Metadata for a repository membership for org.restore_member actions.
func (*OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository ¶
func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository() *Repository
func (*OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName ¶
func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName() string
func (*OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath ¶
func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath() URI
func (*OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryUrl ¶
func (x *OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryUrl() URI
type OrgRestoreMemberMembershipTeamAuditEntryData ¶
type OrgRestoreMemberMembershipTeamAuditEntryData struct {
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
}
OrgRestoreMemberMembershipTeamAuditEntryData (OBJECT): Metadata for a team membership for org.restore_member actions.
func (*OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam ¶
func (x *OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam() *Team
func (*OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName ¶
func (x *OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName() string
func (*OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath ¶
func (x *OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath() URI
func (*OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamUrl ¶
func (x *OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamUrl() URI
type OrgUnblockUserAuditEntry ¶
type OrgUnblockUserAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// BlockedUser: The user being unblocked by the organization.
BlockedUser *User `json:"blockedUser,omitempty"`
// BlockedUserName: The username of the blocked user.
BlockedUserName string `json:"blockedUserName,omitempty"`
// BlockedUserResourcePath: The HTTP path for the blocked user.
BlockedUserResourcePath URI `json:"blockedUserResourcePath,omitempty"`
// BlockedUserUrl: The HTTP URL for the blocked user.
BlockedUserUrl URI `json:"blockedUserUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgUnblockUserAuditEntry (OBJECT): Audit log entry for a org.unblock_user.
func (*OrgUnblockUserAuditEntry) GetAction ¶
func (x *OrgUnblockUserAuditEntry) GetAction() string
func (*OrgUnblockUserAuditEntry) GetActor ¶
func (x *OrgUnblockUserAuditEntry) GetActor() AuditEntryActor
func (*OrgUnblockUserAuditEntry) GetActorIp ¶
func (x *OrgUnblockUserAuditEntry) GetActorIp() string
func (*OrgUnblockUserAuditEntry) GetActorLocation ¶
func (x *OrgUnblockUserAuditEntry) GetActorLocation() *ActorLocation
func (*OrgUnblockUserAuditEntry) GetActorLogin ¶
func (x *OrgUnblockUserAuditEntry) GetActorLogin() string
func (*OrgUnblockUserAuditEntry) GetActorResourcePath ¶
func (x *OrgUnblockUserAuditEntry) GetActorResourcePath() URI
func (*OrgUnblockUserAuditEntry) GetActorUrl ¶
func (x *OrgUnblockUserAuditEntry) GetActorUrl() URI
func (*OrgUnblockUserAuditEntry) GetBlockedUser ¶
func (x *OrgUnblockUserAuditEntry) GetBlockedUser() *User
func (*OrgUnblockUserAuditEntry) GetBlockedUserName ¶
func (x *OrgUnblockUserAuditEntry) GetBlockedUserName() string
func (*OrgUnblockUserAuditEntry) GetBlockedUserResourcePath ¶
func (x *OrgUnblockUserAuditEntry) GetBlockedUserResourcePath() URI
func (*OrgUnblockUserAuditEntry) GetBlockedUserUrl ¶
func (x *OrgUnblockUserAuditEntry) GetBlockedUserUrl() URI
func (*OrgUnblockUserAuditEntry) GetCreatedAt ¶
func (x *OrgUnblockUserAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgUnblockUserAuditEntry) GetId ¶
func (x *OrgUnblockUserAuditEntry) GetId() ID
func (*OrgUnblockUserAuditEntry) GetOperationType ¶
func (x *OrgUnblockUserAuditEntry) GetOperationType() OperationType
func (*OrgUnblockUserAuditEntry) GetOrganization ¶
func (x *OrgUnblockUserAuditEntry) GetOrganization() *Organization
func (*OrgUnblockUserAuditEntry) GetOrganizationName ¶
func (x *OrgUnblockUserAuditEntry) GetOrganizationName() string
func (*OrgUnblockUserAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgUnblockUserAuditEntry) GetOrganizationResourcePath() URI
func (*OrgUnblockUserAuditEntry) GetOrganizationUrl ¶
func (x *OrgUnblockUserAuditEntry) GetOrganizationUrl() URI
func (*OrgUnblockUserAuditEntry) GetUser ¶
func (x *OrgUnblockUserAuditEntry) GetUser() *User
func (*OrgUnblockUserAuditEntry) GetUserLogin ¶
func (x *OrgUnblockUserAuditEntry) GetUserLogin() string
func (*OrgUnblockUserAuditEntry) GetUserResourcePath ¶
func (x *OrgUnblockUserAuditEntry) GetUserResourcePath() URI
func (*OrgUnblockUserAuditEntry) GetUserUrl ¶
func (x *OrgUnblockUserAuditEntry) GetUserUrl() URI
type OrgUpdateDefaultRepositoryPermissionAuditEntry ¶
type OrgUpdateDefaultRepositoryPermissionAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Permission: The new base repository permission level for the organization.
Permission OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permission,omitempty"`
// PermissionWas: The former base repository permission level for the organization.
PermissionWas OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permissionWas,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgUpdateDefaultRepositoryPermissionAuditEntry (OBJECT): Audit log entry for a org.update_default_repository_permission.
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor() AuditEntryActor
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIp ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIp() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation() *ActorLocation
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath() URI
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorUrl ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorUrl() URI
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetId ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetId() ID
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType() OperationType
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization() *Organization
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath() URI
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationUrl ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationUrl() URI
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermission ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermission() OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermissionWas ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetPermissionWas() OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser() *User
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath() URI
func (*OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserUrl ¶
func (x *OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserUrl() URI
type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission ¶
type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission string
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission (ENUM): The default permission a repository can have in an Organization.
const OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_ADMIN OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "ADMIN"
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_ADMIN: Can read, clone, push, and add collaborators to repositories.
const OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_NONE OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "NONE"
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_NONE: No default permission value.
const OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_READ OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "READ"
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_READ: Can read and clone repositories.
const OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_WRITE OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "WRITE"
OrgUpdateDefaultRepositoryPermissionAuditEntryPermission_WRITE: Can read, clone and push to repositories.
type OrgUpdateMemberAuditEntry ¶
type OrgUpdateMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Permission: The new member permission level for the organization.
Permission OrgUpdateMemberAuditEntryPermission `json:"permission,omitempty"`
// PermissionWas: The former member permission level for the organization.
PermissionWas OrgUpdateMemberAuditEntryPermission `json:"permissionWas,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgUpdateMemberAuditEntry (OBJECT): Audit log entry for a org.update_member event.
func (*OrgUpdateMemberAuditEntry) GetAction ¶
func (x *OrgUpdateMemberAuditEntry) GetAction() string
func (*OrgUpdateMemberAuditEntry) GetActor ¶
func (x *OrgUpdateMemberAuditEntry) GetActor() AuditEntryActor
func (*OrgUpdateMemberAuditEntry) GetActorIp ¶
func (x *OrgUpdateMemberAuditEntry) GetActorIp() string
func (*OrgUpdateMemberAuditEntry) GetActorLocation ¶
func (x *OrgUpdateMemberAuditEntry) GetActorLocation() *ActorLocation
func (*OrgUpdateMemberAuditEntry) GetActorLogin ¶
func (x *OrgUpdateMemberAuditEntry) GetActorLogin() string
func (*OrgUpdateMemberAuditEntry) GetActorResourcePath ¶
func (x *OrgUpdateMemberAuditEntry) GetActorResourcePath() URI
func (*OrgUpdateMemberAuditEntry) GetActorUrl ¶
func (x *OrgUpdateMemberAuditEntry) GetActorUrl() URI
func (*OrgUpdateMemberAuditEntry) GetCreatedAt ¶
func (x *OrgUpdateMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgUpdateMemberAuditEntry) GetId ¶
func (x *OrgUpdateMemberAuditEntry) GetId() ID
func (*OrgUpdateMemberAuditEntry) GetOperationType ¶
func (x *OrgUpdateMemberAuditEntry) GetOperationType() OperationType
func (*OrgUpdateMemberAuditEntry) GetOrganization ¶
func (x *OrgUpdateMemberAuditEntry) GetOrganization() *Organization
func (*OrgUpdateMemberAuditEntry) GetOrganizationName ¶
func (x *OrgUpdateMemberAuditEntry) GetOrganizationName() string
func (*OrgUpdateMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgUpdateMemberAuditEntry) GetOrganizationResourcePath() URI
func (*OrgUpdateMemberAuditEntry) GetOrganizationUrl ¶
func (x *OrgUpdateMemberAuditEntry) GetOrganizationUrl() URI
func (*OrgUpdateMemberAuditEntry) GetPermission ¶
func (x *OrgUpdateMemberAuditEntry) GetPermission() OrgUpdateMemberAuditEntryPermission
func (*OrgUpdateMemberAuditEntry) GetPermissionWas ¶
func (x *OrgUpdateMemberAuditEntry) GetPermissionWas() OrgUpdateMemberAuditEntryPermission
func (*OrgUpdateMemberAuditEntry) GetUser ¶
func (x *OrgUpdateMemberAuditEntry) GetUser() *User
func (*OrgUpdateMemberAuditEntry) GetUserLogin ¶
func (x *OrgUpdateMemberAuditEntry) GetUserLogin() string
func (*OrgUpdateMemberAuditEntry) GetUserResourcePath ¶
func (x *OrgUpdateMemberAuditEntry) GetUserResourcePath() URI
func (*OrgUpdateMemberAuditEntry) GetUserUrl ¶
func (x *OrgUpdateMemberAuditEntry) GetUserUrl() URI
type OrgUpdateMemberAuditEntryPermission ¶
type OrgUpdateMemberAuditEntryPermission string
OrgUpdateMemberAuditEntryPermission (ENUM): The permissions available to members on an Organization.
const OrgUpdateMemberAuditEntryPermission_ADMIN OrgUpdateMemberAuditEntryPermission = "ADMIN"
OrgUpdateMemberAuditEntryPermission_ADMIN: Can read, clone, push, and add collaborators to repositories.
const OrgUpdateMemberAuditEntryPermission_READ OrgUpdateMemberAuditEntryPermission = "READ"
OrgUpdateMemberAuditEntryPermission_READ: Can read and clone repositories.
type OrgUpdateMemberRepositoryCreationPermissionAuditEntry ¶
type OrgUpdateMemberRepositoryCreationPermissionAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CanCreateRepositories: Can members create repositories in the organization.
CanCreateRepositories bool `json:"canCreateRepositories,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The permission for visibility level of repositories for this organization.
Visibility OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility `json:"visibility,omitempty"`
}
OrgUpdateMemberRepositoryCreationPermissionAuditEntry (OBJECT): Audit log entry for a org.update_member_repository_creation_permission event.
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor() AuditEntryActor
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIp ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIp() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation() *ActorLocation
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorUrl ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorUrl() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCanCreateRepositories ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCanCreateRepositories() bool
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetId ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetId() ID
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType() OperationType
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization() *Organization
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationUrl ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationUrl() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser() *User
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserUrl ¶
func (x *OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserUrl() URI
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetVisibility ¶
type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility ¶
type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility string
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility (ENUM): The permissions available for repository creation on an Organization.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_ALL OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "ALL"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_ALL: All organization members are restricted from creating any repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_INTERNAL OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "INTERNAL"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_INTERNAL: All organization members are restricted from creating internal repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_NONE OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "NONE"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_NONE: All organization members are allowed to create any repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PRIVATE OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PRIVATE: All organization members are restricted from creating private repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PRIVATE_INTERNAL OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE_INTERNAL"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PRIVATE_INTERNAL: All organization members are restricted from creating private or internal repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC: All organization members are restricted from creating public repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC_INTERNAL OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_INTERNAL"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC_INTERNAL: All organization members are restricted from creating public or internal repositories.
const OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC_PRIVATE OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_PRIVATE"
OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility_PUBLIC_PRIVATE: All organization members are restricted from creating public or private repositories.
type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry ¶
type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CanInviteOutsideCollaboratorsToRepositories: Can outside collaborators be invited to repositories in the organization.
CanInviteOutsideCollaboratorsToRepositories bool `json:"canInviteOutsideCollaboratorsToRepositories,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
OrgUpdateMemberRepositoryInvitationPermissionAuditEntry (OBJECT): Audit log entry for a org.update_member_repository_invitation_permission event.
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction() string
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor() AuditEntryActor
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIp ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIp() string
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation() *ActorLocation
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin() string
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath() URI
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorUrl ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorUrl() URI
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCanInviteOutsideCollaboratorsToRepositories ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCanInviteOutsideCollaboratorsToRepositories() bool
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt() PreciseDateTime
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetId ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetId() ID
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType() OperationType
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization() *Organization
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName() string
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath() URI
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationUrl ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationUrl() URI
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser() *User
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin() string
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath() URI
func (*OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserUrl ¶
func (x *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserUrl() URI
type Organization ¶
type Organization struct {
// AnyPinnableItems: Determine if this repository owner has any items that can be pinned to their profile.
//
// Query arguments:
// - type PinnableItemType
AnyPinnableItems bool `json:"anyPinnableItems,omitempty"`
// AuditLog: Audit log entries of the organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy AuditLogOrder
AuditLog *OrganizationAuditEntryConnection `json:"auditLog,omitempty"`
// AvatarUrl: A URL pointing to the organization's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The organization's public profile description.
Description string `json:"description,omitempty"`
// DescriptionHTML: The organization's public profile description rendered to HTML.
DescriptionHTML string `json:"descriptionHTML,omitempty"`
// Domains: A list of domains owned by the organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - isVerified Boolean
// - isApproved Boolean
// - orderBy VerifiableDomainOrder
Domains *VerifiableDomainConnection `json:"domains,omitempty"`
// Email: The organization's public email.
Email string `json:"email,omitempty"`
// EnterpriseOwners: A list of owners of the organization's enterprise account.
//
// Query arguments:
// - query String
// - organizationRole RoleInOrganization
// - orderBy OrgEnterpriseOwnerOrder
// - after String
// - before String
// - first Int
// - last Int
EnterpriseOwners *OrganizationEnterpriseOwnerConnection `json:"enterpriseOwners,omitempty"`
// EstimatedNextSponsorsPayoutInCents: The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents,omitempty"`
// HasSponsorsListing: True if this user/organization has a GitHub Sponsors listing.
HasSponsorsListing bool `json:"hasSponsorsListing,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InteractionAbility: The interaction ability settings for this organization.
InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
// IpAllowListEnabledSetting: The setting value for whether the organization has an IP allow list enabled.
IpAllowListEnabledSetting IpAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting,omitempty"`
// IpAllowListEntries: The IP addresses that are allowed to access resources owned by the organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy IpAllowListEntryOrder
IpAllowListEntries *IpAllowListEntryConnection `json:"ipAllowListEntries,omitempty"`
// IpAllowListForInstalledAppsEnabledSetting: The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled.
IpAllowListForInstalledAppsEnabledSetting IpAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting,omitempty"`
// IsSponsoredBy: Check if the given account is sponsoring this user/organization.
//
// Query arguments:
// - accountLogin String!
IsSponsoredBy bool `json:"isSponsoredBy,omitempty"`
// IsSponsoringViewer: True if the viewer is sponsored by this user/organization.
IsSponsoringViewer bool `json:"isSponsoringViewer,omitempty"`
// IsVerified: Whether the organization has verified its profile email and website.
IsVerified bool `json:"isVerified,omitempty"`
// ItemShowcase: Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
ItemShowcase *ProfileItemShowcase `json:"itemShowcase,omitempty"`
// Location: The organization's public profile location.
Location string `json:"location,omitempty"`
// Login: The organization's login name.
Login string `json:"login,omitempty"`
// MemberStatuses: Get the status messages members of this entity have set that are either public or visible only to the organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy UserStatusOrder
MemberStatuses *UserStatusConnection `json:"memberStatuses,omitempty"`
// MembersCanForkPrivateRepositories: Members can fork private repositories in this organization.
MembersCanForkPrivateRepositories bool `json:"membersCanForkPrivateRepositories,omitempty"`
// MembersWithRole: A list of users who are members of this organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
MembersWithRole *OrganizationMemberConnection `json:"membersWithRole,omitempty"`
// MonthlyEstimatedSponsorsIncomeInCents: The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents,omitempty"`
// Name: The organization's public profile name.
Name string `json:"name,omitempty"`
// NewTeamResourcePath: The HTTP path creating a new team.
NewTeamResourcePath URI `json:"newTeamResourcePath,omitempty"`
// NewTeamUrl: The HTTP URL creating a new team.
NewTeamUrl URI `json:"newTeamUrl,omitempty"`
// NotificationDeliveryRestrictionEnabledSetting: Indicates if email notification delivery for this organization is restricted to verified or approved domains.
NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting,omitempty"`
// OrganizationBillingEmail: The billing email for the organization.
OrganizationBillingEmail string `json:"organizationBillingEmail,omitempty"`
// Packages: A list of packages under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - names [String]
// - repositoryId ID
// - packageType PackageType
// - orderBy PackageOrder
Packages *PackageConnection `json:"packages,omitempty"`
// PendingMembers: A list of users who have been invited to join this organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PendingMembers *UserConnection `json:"pendingMembers,omitempty"`
// PinnableItems: A list of repositories and gists this profile owner can pin to their profile.
//
// Query arguments:
// - types [PinnableItemType!]
// - after String
// - before String
// - first Int
// - last Int
PinnableItems *PinnableItemConnection `json:"pinnableItems,omitempty"`
// PinnedItems: A list of repositories and gists this profile owner has pinned to their profile.
//
// Query arguments:
// - types [PinnableItemType!]
// - after String
// - before String
// - first Int
// - last Int
PinnedItems *PinnableItemConnection `json:"pinnedItems,omitempty"`
// PinnedItemsRemaining: Returns how many more items this profile owner can pin to their profile.
PinnedItemsRemaining int `json:"pinnedItemsRemaining,omitempty"`
// Project: Find project by number.
//
// Query arguments:
// - number Int!
Project *Project `json:"project,omitempty"`
// ProjectNext: Find a project by project (beta) number.
//
// Deprecated: Find a project by project (beta) number.
//
// Query arguments:
// - number Int!
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
// ProjectV2: Find a project by number.
//
// Query arguments:
// - number Int!
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
// Projects: A list of projects under the owner.
//
// Query arguments:
// - orderBy ProjectOrder
// - search String
// - states [ProjectState!]
// - after String
// - before String
// - first Int
// - last Int
Projects *ProjectConnection `json:"projects,omitempty"`
// ProjectsNext: A list of projects (beta) under the owner.
//
// Deprecated: A list of projects (beta) under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - sortBy ProjectNextOrderField
ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"`
// ProjectsResourcePath: The HTTP path listing organization's projects.
ProjectsResourcePath URI `json:"projectsResourcePath,omitempty"`
// ProjectsUrl: The HTTP URL listing organization's projects.
ProjectsUrl URI `json:"projectsUrl,omitempty"`
// ProjectsV2: A list of projects under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy ProjectV2Order
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// RecentProjects: Recent projects that this user has modified in the context of the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RecentProjects *ProjectV2Connection `json:"recentProjects,omitempty"`
// Repositories: A list of repositories that the user owns.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - affiliations [RepositoryAffiliation]
// - ownerAffiliations [RepositoryAffiliation]
// - isLocked Boolean
// - after String
// - before String
// - first Int
// - last Int
// - isFork Boolean
Repositories *RepositoryConnection `json:"repositories,omitempty"`
// Repository: Find Repository.
//
// Query arguments:
// - name String!
// - followRenames Boolean
Repository *Repository `json:"repository,omitempty"`
// RepositoryDiscussionComments: Discussion comments this user has authored.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - repositoryId ID
// - onlyAnswers Boolean
RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments,omitempty"`
// RepositoryDiscussions: Discussions this user has started.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy DiscussionOrder
// - repositoryId ID
// - answered Boolean
RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions,omitempty"`
// RepositoryMigrations: A list of all repository migrations for this organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - state MigrationState
// - repositoryName String
// - orderBy RepositoryMigrationOrder
RepositoryMigrations *RepositoryMigrationConnection `json:"repositoryMigrations,omitempty"`
// RequiresTwoFactorAuthentication: When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.
RequiresTwoFactorAuthentication bool `json:"requiresTwoFactorAuthentication,omitempty"`
// ResourcePath: The HTTP path for this organization.
ResourcePath URI `json:"resourcePath,omitempty"`
// SamlIdentityProvider: The Organization's SAML identity providers.
SamlIdentityProvider *OrganizationIdentityProvider `json:"samlIdentityProvider,omitempty"`
// Sponsoring: List of users and organizations this entity is sponsoring.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorOrder
Sponsoring *SponsorConnection `json:"sponsoring,omitempty"`
// Sponsors: List of sponsors for this user or organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - tierId ID
// - orderBy SponsorOrder
Sponsors *SponsorConnection `json:"sponsors,omitempty"`
// SponsorsActivities: Events involving this sponsorable, such as new sponsorships.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - period SponsorsActivityPeriod
// - orderBy SponsorsActivityOrder
// - actions [SponsorsActivityAction!]
SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities,omitempty"`
// SponsorsListing: The GitHub Sponsors listing for this user or organization.
SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
// SponsorshipForViewerAsSponsor: The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active.
SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"`
// SponsorshipForViewerAsSponsorable: The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active.
SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"`
// SponsorshipNewsletters: List of sponsorship updates sent from this sponsorable to sponsors.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorshipNewsletterOrder
SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters,omitempty"`
// SponsorshipsAsMaintainer: This object's sponsorships as the maintainer.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - includePrivate Boolean
// - orderBy SponsorshipOrder
SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer,omitempty"`
// SponsorshipsAsSponsor: This object's sponsorships as the sponsor.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorshipOrder
SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor,omitempty"`
// Team: Find an organization's team by its slug.
//
// Query arguments:
// - slug String!
Team *Team `json:"team,omitempty"`
// Teams: A list of teams in this organization.
//
// Query arguments:
// - privacy TeamPrivacy
// - role TeamRole
// - query String
// - userLogins [String!]
// - orderBy TeamOrder
// - ldapMapped Boolean
// - rootTeamsOnly Boolean
// - after String
// - before String
// - first Int
// - last Int
Teams *TeamConnection `json:"teams,omitempty"`
// TeamsResourcePath: The HTTP path listing organization's teams.
TeamsResourcePath URI `json:"teamsResourcePath,omitempty"`
// TeamsUrl: The HTTP URL listing organization's teams.
TeamsUrl URI `json:"teamsUrl,omitempty"`
// TwitterUsername: The organization's Twitter username.
TwitterUsername string `json:"twitterUsername,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this organization.
Url URI `json:"url,omitempty"`
// ViewerCanAdminister: Organization is adminable by the viewer.
ViewerCanAdminister bool `json:"viewerCanAdminister,omitempty"`
// ViewerCanChangePinnedItems: Can the viewer pin repositories and gists to the profile?.
ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems,omitempty"`
// ViewerCanCreateProjects: Can the current viewer create new projects on this owner.
ViewerCanCreateProjects bool `json:"viewerCanCreateProjects,omitempty"`
// ViewerCanCreateRepositories: Viewer can create repositories on this organization.
ViewerCanCreateRepositories bool `json:"viewerCanCreateRepositories,omitempty"`
// ViewerCanCreateTeams: Viewer can create teams on this organization.
ViewerCanCreateTeams bool `json:"viewerCanCreateTeams,omitempty"`
// ViewerCanSponsor: Whether or not the viewer is able to sponsor this user/organization.
ViewerCanSponsor bool `json:"viewerCanSponsor,omitempty"`
// ViewerIsAMember: Viewer is an active member of this organization.
ViewerIsAMember bool `json:"viewerIsAMember,omitempty"`
// ViewerIsFollowing: Whether or not this Organization is followed by the viewer.
ViewerIsFollowing bool `json:"viewerIsFollowing,omitempty"`
// ViewerIsSponsoring: True if the viewer is sponsoring this user/organization.
ViewerIsSponsoring bool `json:"viewerIsSponsoring,omitempty"`
// WebsiteUrl: The organization's public profile URL.
WebsiteUrl URI `json:"websiteUrl,omitempty"`
}
Organization (OBJECT): An account on GitHub, with one or more owners, that has repositories, members and teams.
func (*Organization) GetAnyPinnableItems ¶
func (x *Organization) GetAnyPinnableItems() bool
func (*Organization) GetAuditLog ¶
func (x *Organization) GetAuditLog() *OrganizationAuditEntryConnection
func (*Organization) GetAvatarUrl ¶
func (x *Organization) GetAvatarUrl() URI
func (*Organization) GetCreatedAt ¶
func (x *Organization) GetCreatedAt() DateTime
func (*Organization) GetDatabaseId ¶
func (x *Organization) GetDatabaseId() int
func (*Organization) GetDescription ¶
func (x *Organization) GetDescription() string
func (*Organization) GetDescriptionHTML ¶
func (x *Organization) GetDescriptionHTML() string
func (*Organization) GetDomains ¶
func (x *Organization) GetDomains() *VerifiableDomainConnection
func (*Organization) GetEmail ¶
func (x *Organization) GetEmail() string
func (*Organization) GetEnterpriseOwners ¶
func (x *Organization) GetEnterpriseOwners() *OrganizationEnterpriseOwnerConnection
func (*Organization) GetEstimatedNextSponsorsPayoutInCents ¶
func (x *Organization) GetEstimatedNextSponsorsPayoutInCents() int
func (*Organization) GetHasSponsorsListing ¶
func (x *Organization) GetHasSponsorsListing() bool
func (*Organization) GetId ¶
func (x *Organization) GetId() ID
func (*Organization) GetInteractionAbility ¶
func (x *Organization) GetInteractionAbility() *RepositoryInteractionAbility
func (*Organization) GetIpAllowListEnabledSetting ¶
func (x *Organization) GetIpAllowListEnabledSetting() IpAllowListEnabledSettingValue
func (*Organization) GetIpAllowListEntries ¶
func (x *Organization) GetIpAllowListEntries() *IpAllowListEntryConnection
func (*Organization) GetIpAllowListForInstalledAppsEnabledSetting ¶
func (x *Organization) GetIpAllowListForInstalledAppsEnabledSetting() IpAllowListForInstalledAppsEnabledSettingValue
func (*Organization) GetIsSponsoredBy ¶
func (x *Organization) GetIsSponsoredBy() bool
func (*Organization) GetIsSponsoringViewer ¶
func (x *Organization) GetIsSponsoringViewer() bool
func (*Organization) GetIsVerified ¶
func (x *Organization) GetIsVerified() bool
func (*Organization) GetItemShowcase ¶
func (x *Organization) GetItemShowcase() *ProfileItemShowcase
func (*Organization) GetLocation ¶
func (x *Organization) GetLocation() string
func (*Organization) GetLogin ¶
func (x *Organization) GetLogin() string
func (*Organization) GetMemberStatuses ¶
func (x *Organization) GetMemberStatuses() *UserStatusConnection
func (*Organization) GetMembersCanForkPrivateRepositories ¶
func (x *Organization) GetMembersCanForkPrivateRepositories() bool
func (*Organization) GetMembersWithRole ¶
func (x *Organization) GetMembersWithRole() *OrganizationMemberConnection
func (*Organization) GetMonthlyEstimatedSponsorsIncomeInCents ¶
func (x *Organization) GetMonthlyEstimatedSponsorsIncomeInCents() int
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetNewTeamResourcePath ¶
func (x *Organization) GetNewTeamResourcePath() URI
func (*Organization) GetNewTeamUrl ¶
func (x *Organization) GetNewTeamUrl() URI
func (*Organization) GetNotificationDeliveryRestrictionEnabledSetting ¶
func (x *Organization) GetNotificationDeliveryRestrictionEnabledSetting() NotificationRestrictionSettingValue
func (*Organization) GetOrganizationBillingEmail ¶
func (x *Organization) GetOrganizationBillingEmail() string
func (*Organization) GetPackages ¶
func (x *Organization) GetPackages() *PackageConnection
func (*Organization) GetPendingMembers ¶
func (x *Organization) GetPendingMembers() *UserConnection
func (*Organization) GetPinnableItems ¶
func (x *Organization) GetPinnableItems() *PinnableItemConnection
func (*Organization) GetPinnedItems ¶
func (x *Organization) GetPinnedItems() *PinnableItemConnection
func (*Organization) GetPinnedItemsRemaining ¶
func (x *Organization) GetPinnedItemsRemaining() int
func (*Organization) GetProject ¶
func (x *Organization) GetProject() *Project
func (*Organization) GetProjectNext ¶
func (x *Organization) GetProjectNext() *ProjectNext
func (*Organization) GetProjectV2 ¶
func (x *Organization) GetProjectV2() *ProjectV2
func (*Organization) GetProjects ¶
func (x *Organization) GetProjects() *ProjectConnection
func (*Organization) GetProjectsNext ¶
func (x *Organization) GetProjectsNext() *ProjectNextConnection
func (*Organization) GetProjectsResourcePath ¶
func (x *Organization) GetProjectsResourcePath() URI
func (*Organization) GetProjectsUrl ¶
func (x *Organization) GetProjectsUrl() URI
func (*Organization) GetProjectsV2 ¶
func (x *Organization) GetProjectsV2() *ProjectV2Connection
func (*Organization) GetRecentProjects ¶
func (x *Organization) GetRecentProjects() *ProjectV2Connection
func (*Organization) GetRepositories ¶
func (x *Organization) GetRepositories() *RepositoryConnection
func (*Organization) GetRepository ¶
func (x *Organization) GetRepository() *Repository
func (*Organization) GetRepositoryDiscussionComments ¶
func (x *Organization) GetRepositoryDiscussionComments() *DiscussionCommentConnection
func (*Organization) GetRepositoryDiscussions ¶
func (x *Organization) GetRepositoryDiscussions() *DiscussionConnection
func (*Organization) GetRepositoryMigrations ¶
func (x *Organization) GetRepositoryMigrations() *RepositoryMigrationConnection
func (*Organization) GetRequiresTwoFactorAuthentication ¶
func (x *Organization) GetRequiresTwoFactorAuthentication() bool
func (*Organization) GetResourcePath ¶
func (x *Organization) GetResourcePath() URI
func (*Organization) GetSamlIdentityProvider ¶
func (x *Organization) GetSamlIdentityProvider() *OrganizationIdentityProvider
func (*Organization) GetSponsoring ¶
func (x *Organization) GetSponsoring() *SponsorConnection
func (*Organization) GetSponsors ¶
func (x *Organization) GetSponsors() *SponsorConnection
func (*Organization) GetSponsorsActivities ¶
func (x *Organization) GetSponsorsActivities() *SponsorsActivityConnection
func (*Organization) GetSponsorsListing ¶
func (x *Organization) GetSponsorsListing() *SponsorsListing
func (*Organization) GetSponsorshipForViewerAsSponsor ¶
func (x *Organization) GetSponsorshipForViewerAsSponsor() *Sponsorship
func (*Organization) GetSponsorshipForViewerAsSponsorable ¶
func (x *Organization) GetSponsorshipForViewerAsSponsorable() *Sponsorship
func (*Organization) GetSponsorshipNewsletters ¶
func (x *Organization) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
func (*Organization) GetSponsorshipsAsMaintainer ¶
func (x *Organization) GetSponsorshipsAsMaintainer() *SponsorshipConnection
func (*Organization) GetSponsorshipsAsSponsor ¶
func (x *Organization) GetSponsorshipsAsSponsor() *SponsorshipConnection
func (*Organization) GetTeam ¶
func (x *Organization) GetTeam() *Team
func (*Organization) GetTeams ¶
func (x *Organization) GetTeams() *TeamConnection
func (*Organization) GetTeamsResourcePath ¶
func (x *Organization) GetTeamsResourcePath() URI
func (*Organization) GetTeamsUrl ¶
func (x *Organization) GetTeamsUrl() URI
func (*Organization) GetTwitterUsername ¶
func (x *Organization) GetTwitterUsername() string
func (*Organization) GetUpdatedAt ¶
func (x *Organization) GetUpdatedAt() DateTime
func (*Organization) GetUrl ¶
func (x *Organization) GetUrl() URI
func (*Organization) GetViewerCanAdminister ¶
func (x *Organization) GetViewerCanAdminister() bool
func (*Organization) GetViewerCanChangePinnedItems ¶
func (x *Organization) GetViewerCanChangePinnedItems() bool
func (*Organization) GetViewerCanCreateProjects ¶
func (x *Organization) GetViewerCanCreateProjects() bool
func (*Organization) GetViewerCanCreateRepositories ¶
func (x *Organization) GetViewerCanCreateRepositories() bool
func (*Organization) GetViewerCanCreateTeams ¶
func (x *Organization) GetViewerCanCreateTeams() bool
func (*Organization) GetViewerCanSponsor ¶
func (x *Organization) GetViewerCanSponsor() bool
func (*Organization) GetViewerIsAMember ¶
func (x *Organization) GetViewerIsAMember() bool
func (*Organization) GetViewerIsFollowing ¶
func (x *Organization) GetViewerIsFollowing() bool
func (*Organization) GetViewerIsSponsoring ¶
func (x *Organization) GetViewerIsSponsoring() bool
func (*Organization) GetWebsiteUrl ¶
func (x *Organization) GetWebsiteUrl() URI
type OrganizationAuditEntry ¶
type OrganizationAuditEntry struct {
Interface OrganizationAuditEntry_Interface
}
func (*OrganizationAuditEntry) MarshalJSON ¶
func (x *OrganizationAuditEntry) MarshalJSON() ([]byte, error)
func (*OrganizationAuditEntry) UnmarshalJSON ¶
func (x *OrganizationAuditEntry) UnmarshalJSON(js []byte) error
type OrganizationAuditEntryConnection ¶
type OrganizationAuditEntryConnection struct {
// Edges: A list of edges.
Edges []*OrganizationAuditEntryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []OrganizationAuditEntry `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
OrganizationAuditEntryConnection (OBJECT): The connection type for OrganizationAuditEntry.
func (*OrganizationAuditEntryConnection) GetEdges ¶
func (x *OrganizationAuditEntryConnection) GetEdges() []*OrganizationAuditEntryEdge
func (*OrganizationAuditEntryConnection) GetNodes ¶
func (x *OrganizationAuditEntryConnection) GetNodes() []OrganizationAuditEntry
func (*OrganizationAuditEntryConnection) GetPageInfo ¶
func (x *OrganizationAuditEntryConnection) GetPageInfo() *PageInfo
func (*OrganizationAuditEntryConnection) GetTotalCount ¶
func (x *OrganizationAuditEntryConnection) GetTotalCount() int
type OrganizationAuditEntryData ¶
type OrganizationAuditEntryData struct {
Interface OrganizationAuditEntryData_Interface
}
func (*OrganizationAuditEntryData) MarshalJSON ¶
func (x *OrganizationAuditEntryData) MarshalJSON() ([]byte, error)
func (*OrganizationAuditEntryData) UnmarshalJSON ¶
func (x *OrganizationAuditEntryData) UnmarshalJSON(js []byte) error
type OrganizationAuditEntryData_Interface ¶
type OrganizationAuditEntryData_Interface interface {
GetOrganization() *Organization
GetOrganizationName() string
GetOrganizationResourcePath() URI
GetOrganizationUrl() URI
// contains filtered or unexported methods
}
OrganizationAuditEntryData (INTERFACE): Metadata for an audit entry with action org.*. OrganizationAuditEntryData_Interface: Metadata for an audit entry with action org.*.
Possible types:
- *MembersCanDeleteReposClearAuditEntry
- *MembersCanDeleteReposDisableAuditEntry
- *MembersCanDeleteReposEnableAuditEntry
- *OauthApplicationCreateAuditEntry
- *OrgAddBillingManagerAuditEntry
- *OrgAddMemberAuditEntry
- *OrgBlockUserAuditEntry
- *OrgConfigDisableCollaboratorsOnlyAuditEntry
- *OrgConfigEnableCollaboratorsOnlyAuditEntry
- *OrgCreateAuditEntry
- *OrgDisableOauthAppRestrictionsAuditEntry
- *OrgDisableSamlAuditEntry
- *OrgDisableTwoFactorRequirementAuditEntry
- *OrgEnableOauthAppRestrictionsAuditEntry
- *OrgEnableSamlAuditEntry
- *OrgEnableTwoFactorRequirementAuditEntry
- *OrgInviteMemberAuditEntry
- *OrgInviteToBusinessAuditEntry
- *OrgOauthAppAccessApprovedAuditEntry
- *OrgOauthAppAccessDeniedAuditEntry
- *OrgOauthAppAccessRequestedAuditEntry
- *OrgRemoveBillingManagerAuditEntry
- *OrgRemoveMemberAuditEntry
- *OrgRemoveOutsideCollaboratorAuditEntry
- *OrgRestoreMemberAuditEntry
- *OrgRestoreMemberMembershipOrganizationAuditEntryData
- *OrgUnblockUserAuditEntry
- *OrgUpdateDefaultRepositoryPermissionAuditEntry
- *OrgUpdateMemberAuditEntry
- *OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *RepoAccessAuditEntry
- *RepoAddMemberAuditEntry
- *RepoAddTopicAuditEntry
- *RepoArchivedAuditEntry
- *RepoChangeMergeSettingAuditEntry
- *RepoConfigDisableAnonymousGitAccessAuditEntry
- *RepoConfigDisableCollaboratorsOnlyAuditEntry
- *RepoConfigDisableContributorsOnlyAuditEntry
- *RepoConfigDisableSockpuppetDisallowedAuditEntry
- *RepoConfigEnableAnonymousGitAccessAuditEntry
- *RepoConfigEnableCollaboratorsOnlyAuditEntry
- *RepoConfigEnableContributorsOnlyAuditEntry
- *RepoConfigEnableSockpuppetDisallowedAuditEntry
- *RepoConfigLockAnonymousGitAccessAuditEntry
- *RepoConfigUnlockAnonymousGitAccessAuditEntry
- *RepoCreateAuditEntry
- *RepoDestroyAuditEntry
- *RepoRemoveMemberAuditEntry
- *RepoRemoveTopicAuditEntry
- *RepositoryVisibilityChangeDisableAuditEntry
- *RepositoryVisibilityChangeEnableAuditEntry
- *TeamAddMemberAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamChangeParentTeamAuditEntry
- *TeamRemoveMemberAuditEntry
- *TeamRemoveRepositoryAuditEntry
type OrganizationAuditEntryEdge ¶
type OrganizationAuditEntryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node OrganizationAuditEntry `json:"node,omitempty"`
}
OrganizationAuditEntryEdge (OBJECT): An edge in a connection.
func (*OrganizationAuditEntryEdge) GetCursor ¶
func (x *OrganizationAuditEntryEdge) GetCursor() string
func (*OrganizationAuditEntryEdge) GetNode ¶
func (x *OrganizationAuditEntryEdge) GetNode() OrganizationAuditEntry
type OrganizationAuditEntry_Interface ¶
type OrganizationAuditEntry_Interface interface {
// contains filtered or unexported methods
}
OrganizationAuditEntry (UNION): An audit entry in an organization audit log. OrganizationAuditEntry_Interface: An audit entry in an organization audit log.
Possible types:
- *MembersCanDeleteReposClearAuditEntry
- *MembersCanDeleteReposDisableAuditEntry
- *MembersCanDeleteReposEnableAuditEntry
- *OauthApplicationCreateAuditEntry
- *OrgAddBillingManagerAuditEntry
- *OrgAddMemberAuditEntry
- *OrgBlockUserAuditEntry
- *OrgConfigDisableCollaboratorsOnlyAuditEntry
- *OrgConfigEnableCollaboratorsOnlyAuditEntry
- *OrgCreateAuditEntry
- *OrgDisableOauthAppRestrictionsAuditEntry
- *OrgDisableSamlAuditEntry
- *OrgDisableTwoFactorRequirementAuditEntry
- *OrgEnableOauthAppRestrictionsAuditEntry
- *OrgEnableSamlAuditEntry
- *OrgEnableTwoFactorRequirementAuditEntry
- *OrgInviteMemberAuditEntry
- *OrgInviteToBusinessAuditEntry
- *OrgOauthAppAccessApprovedAuditEntry
- *OrgOauthAppAccessDeniedAuditEntry
- *OrgOauthAppAccessRequestedAuditEntry
- *OrgRemoveBillingManagerAuditEntry
- *OrgRemoveMemberAuditEntry
- *OrgRemoveOutsideCollaboratorAuditEntry
- *OrgRestoreMemberAuditEntry
- *OrgUnblockUserAuditEntry
- *OrgUpdateDefaultRepositoryPermissionAuditEntry
- *OrgUpdateMemberAuditEntry
- *OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- *OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *RepoAccessAuditEntry
- *RepoAddMemberAuditEntry
- *RepoAddTopicAuditEntry
- *RepoArchivedAuditEntry
- *RepoChangeMergeSettingAuditEntry
- *RepoConfigDisableAnonymousGitAccessAuditEntry
- *RepoConfigDisableCollaboratorsOnlyAuditEntry
- *RepoConfigDisableContributorsOnlyAuditEntry
- *RepoConfigDisableSockpuppetDisallowedAuditEntry
- *RepoConfigEnableAnonymousGitAccessAuditEntry
- *RepoConfigEnableCollaboratorsOnlyAuditEntry
- *RepoConfigEnableContributorsOnlyAuditEntry
- *RepoConfigEnableSockpuppetDisallowedAuditEntry
- *RepoConfigLockAnonymousGitAccessAuditEntry
- *RepoConfigUnlockAnonymousGitAccessAuditEntry
- *RepoCreateAuditEntry
- *RepoDestroyAuditEntry
- *RepoRemoveMemberAuditEntry
- *RepoRemoveTopicAuditEntry
- *RepositoryVisibilityChangeDisableAuditEntry
- *RepositoryVisibilityChangeEnableAuditEntry
- *TeamAddMemberAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamChangeParentTeamAuditEntry
- *TeamRemoveMemberAuditEntry
- *TeamRemoveRepositoryAuditEntry
type OrganizationConnection ¶
type OrganizationConnection struct {
// Edges: A list of edges.
Edges []*OrganizationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Organization `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
OrganizationConnection (OBJECT): A list of organizations managed by an enterprise.
func (*OrganizationConnection) GetEdges ¶
func (x *OrganizationConnection) GetEdges() []*OrganizationEdge
func (*OrganizationConnection) GetNodes ¶
func (x *OrganizationConnection) GetNodes() []*Organization
func (*OrganizationConnection) GetPageInfo ¶
func (x *OrganizationConnection) GetPageInfo() *PageInfo
func (*OrganizationConnection) GetTotalCount ¶
func (x *OrganizationConnection) GetTotalCount() int
type OrganizationEdge ¶
type OrganizationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Organization `json:"node,omitempty"`
}
OrganizationEdge (OBJECT): An edge in a connection.
func (*OrganizationEdge) GetCursor ¶
func (x *OrganizationEdge) GetCursor() string
func (*OrganizationEdge) GetNode ¶
func (x *OrganizationEdge) GetNode() *Organization
type OrganizationEnterpriseOwnerConnection ¶
type OrganizationEnterpriseOwnerConnection struct {
// Edges: A list of edges.
Edges []*OrganizationEnterpriseOwnerEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
OrganizationEnterpriseOwnerConnection (OBJECT): The connection type for User.
func (*OrganizationEnterpriseOwnerConnection) GetEdges ¶
func (x *OrganizationEnterpriseOwnerConnection) GetEdges() []*OrganizationEnterpriseOwnerEdge
func (*OrganizationEnterpriseOwnerConnection) GetNodes ¶
func (x *OrganizationEnterpriseOwnerConnection) GetNodes() []*User
func (*OrganizationEnterpriseOwnerConnection) GetPageInfo ¶
func (x *OrganizationEnterpriseOwnerConnection) GetPageInfo() *PageInfo
func (*OrganizationEnterpriseOwnerConnection) GetTotalCount ¶
func (x *OrganizationEnterpriseOwnerConnection) GetTotalCount() int
type OrganizationEnterpriseOwnerEdge ¶
type OrganizationEnterpriseOwnerEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *User `json:"node,omitempty"`
// OrganizationRole: The role of the owner with respect to the organization.
OrganizationRole RoleInOrganization `json:"organizationRole,omitempty"`
}
OrganizationEnterpriseOwnerEdge (OBJECT): An enterprise owner in the context of an organization that is part of the enterprise.
func (*OrganizationEnterpriseOwnerEdge) GetCursor ¶
func (x *OrganizationEnterpriseOwnerEdge) GetCursor() string
func (*OrganizationEnterpriseOwnerEdge) GetNode ¶
func (x *OrganizationEnterpriseOwnerEdge) GetNode() *User
func (*OrganizationEnterpriseOwnerEdge) GetOrganizationRole ¶
func (x *OrganizationEnterpriseOwnerEdge) GetOrganizationRole() RoleInOrganization
type OrganizationIdentityProvider ¶
type OrganizationIdentityProvider struct {
// DigestMethod: The digest algorithm used to sign SAML requests for the Identity Provider.
DigestMethod URI `json:"digestMethod,omitempty"`
// ExternalIdentities: External Identities provisioned by this Identity Provider.
//
// Query arguments:
// - membersOnly Boolean
// - login String
// - userName String
// - after String
// - before String
// - first Int
// - last Int
ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IdpCertificate: The x509 certificate used by the Identity Provider to sign assertions and responses.
IdpCertificate X509Certificate `json:"idpCertificate,omitempty"`
// Issuer: The Issuer Entity ID for the SAML Identity Provider.
Issuer string `json:"issuer,omitempty"`
// Organization: Organization this Identity Provider belongs to.
Organization *Organization `json:"organization,omitempty"`
// SignatureMethod: The signature algorithm used to sign SAML requests for the Identity Provider.
SignatureMethod URI `json:"signatureMethod,omitempty"`
// SsoUrl: The URL endpoint for the Identity Provider's SAML SSO.
SsoUrl URI `json:"ssoUrl,omitempty"`
}
OrganizationIdentityProvider (OBJECT): An Identity Provider configured to provision SAML and SCIM identities for Organizations.
func (*OrganizationIdentityProvider) GetDigestMethod ¶
func (x *OrganizationIdentityProvider) GetDigestMethod() URI
func (*OrganizationIdentityProvider) GetExternalIdentities ¶
func (x *OrganizationIdentityProvider) GetExternalIdentities() *ExternalIdentityConnection
func (*OrganizationIdentityProvider) GetId ¶
func (x *OrganizationIdentityProvider) GetId() ID
func (*OrganizationIdentityProvider) GetIdpCertificate ¶
func (x *OrganizationIdentityProvider) GetIdpCertificate() X509Certificate
func (*OrganizationIdentityProvider) GetIssuer ¶
func (x *OrganizationIdentityProvider) GetIssuer() string
func (*OrganizationIdentityProvider) GetOrganization ¶
func (x *OrganizationIdentityProvider) GetOrganization() *Organization
func (*OrganizationIdentityProvider) GetSignatureMethod ¶
func (x *OrganizationIdentityProvider) GetSignatureMethod() URI
func (*OrganizationIdentityProvider) GetSsoUrl ¶
func (x *OrganizationIdentityProvider) GetSsoUrl() URI
type OrganizationInvitation ¶
type OrganizationInvitation struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Email: The email address of the user invited to the organization.
Email string `json:"email,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InvitationType: The type of invitation that was sent (e.g. email, user).
InvitationType OrganizationInvitationType `json:"invitationType,omitempty"`
// Invitee: The user who was invited to the organization.
Invitee *User `json:"invitee,omitempty"`
// Inviter: The user who created the invitation.
Inviter *User `json:"inviter,omitempty"`
// Organization: The organization the invite is for.
Organization *Organization `json:"organization,omitempty"`
// Role: The user's pending role in the organization (e.g. member, owner).
Role OrganizationInvitationRole `json:"role,omitempty"`
}
OrganizationInvitation (OBJECT): An Invitation for a user to an organization.
func (*OrganizationInvitation) GetCreatedAt ¶
func (x *OrganizationInvitation) GetCreatedAt() DateTime
func (*OrganizationInvitation) GetEmail ¶
func (x *OrganizationInvitation) GetEmail() string
func (*OrganizationInvitation) GetId ¶
func (x *OrganizationInvitation) GetId() ID
func (*OrganizationInvitation) GetInvitationType ¶
func (x *OrganizationInvitation) GetInvitationType() OrganizationInvitationType
func (*OrganizationInvitation) GetInvitee ¶
func (x *OrganizationInvitation) GetInvitee() *User
func (*OrganizationInvitation) GetInviter ¶
func (x *OrganizationInvitation) GetInviter() *User
func (*OrganizationInvitation) GetOrganization ¶
func (x *OrganizationInvitation) GetOrganization() *Organization
func (*OrganizationInvitation) GetRole ¶
func (x *OrganizationInvitation) GetRole() OrganizationInvitationRole
type OrganizationInvitationConnection ¶
type OrganizationInvitationConnection struct {
// Edges: A list of edges.
Edges []*OrganizationInvitationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*OrganizationInvitation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
OrganizationInvitationConnection (OBJECT): The connection type for OrganizationInvitation.
func (*OrganizationInvitationConnection) GetEdges ¶
func (x *OrganizationInvitationConnection) GetEdges() []*OrganizationInvitationEdge
func (*OrganizationInvitationConnection) GetNodes ¶
func (x *OrganizationInvitationConnection) GetNodes() []*OrganizationInvitation
func (*OrganizationInvitationConnection) GetPageInfo ¶
func (x *OrganizationInvitationConnection) GetPageInfo() *PageInfo
func (*OrganizationInvitationConnection) GetTotalCount ¶
func (x *OrganizationInvitationConnection) GetTotalCount() int
type OrganizationInvitationEdge ¶
type OrganizationInvitationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *OrganizationInvitation `json:"node,omitempty"`
}
OrganizationInvitationEdge (OBJECT): An edge in a connection.
func (*OrganizationInvitationEdge) GetCursor ¶
func (x *OrganizationInvitationEdge) GetCursor() string
func (*OrganizationInvitationEdge) GetNode ¶
func (x *OrganizationInvitationEdge) GetNode() *OrganizationInvitation
type OrganizationInvitationRole ¶
type OrganizationInvitationRole string
OrganizationInvitationRole (ENUM): The possible organization invitation roles.
const OrganizationInvitationRole_ADMIN OrganizationInvitationRole = "ADMIN"
OrganizationInvitationRole_ADMIN: The user is invited to be an admin of the organization.
const OrganizationInvitationRole_BILLING_MANAGER OrganizationInvitationRole = "BILLING_MANAGER"
OrganizationInvitationRole_BILLING_MANAGER: The user is invited to be a billing manager of the organization.
const OrganizationInvitationRole_DIRECT_MEMBER OrganizationInvitationRole = "DIRECT_MEMBER"
OrganizationInvitationRole_DIRECT_MEMBER: The user is invited to be a direct member of the organization.
const OrganizationInvitationRole_REINSTATE OrganizationInvitationRole = "REINSTATE"
OrganizationInvitationRole_REINSTATE: The user's previous role will be reinstated.
type OrganizationInvitationType ¶
type OrganizationInvitationType string
OrganizationInvitationType (ENUM): The possible organization invitation types.
const OrganizationInvitationType_EMAIL OrganizationInvitationType = "EMAIL"
OrganizationInvitationType_EMAIL: The invitation was to an email address.
const OrganizationInvitationType_USER OrganizationInvitationType = "USER"
OrganizationInvitationType_USER: The invitation was to an existing user.
type OrganizationMemberConnection ¶
type OrganizationMemberConnection struct {
// Edges: A list of edges.
Edges []*OrganizationMemberEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
OrganizationMemberConnection (OBJECT): The connection type for User.
func (*OrganizationMemberConnection) GetEdges ¶
func (x *OrganizationMemberConnection) GetEdges() []*OrganizationMemberEdge
func (*OrganizationMemberConnection) GetNodes ¶
func (x *OrganizationMemberConnection) GetNodes() []*User
func (*OrganizationMemberConnection) GetPageInfo ¶
func (x *OrganizationMemberConnection) GetPageInfo() *PageInfo
func (*OrganizationMemberConnection) GetTotalCount ¶
func (x *OrganizationMemberConnection) GetTotalCount() int
type OrganizationMemberEdge ¶
type OrganizationMemberEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// HasTwoFactorEnabled: Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.
HasTwoFactorEnabled bool `json:"hasTwoFactorEnabled,omitempty"`
// Node: The item at the end of the edge.
Node *User `json:"node,omitempty"`
// Role: The role this user has in the organization.
Role OrganizationMemberRole `json:"role,omitempty"`
}
OrganizationMemberEdge (OBJECT): Represents a user within an organization.
func (*OrganizationMemberEdge) GetCursor ¶
func (x *OrganizationMemberEdge) GetCursor() string
func (*OrganizationMemberEdge) GetHasTwoFactorEnabled ¶
func (x *OrganizationMemberEdge) GetHasTwoFactorEnabled() bool
func (*OrganizationMemberEdge) GetNode ¶
func (x *OrganizationMemberEdge) GetNode() *User
func (*OrganizationMemberEdge) GetRole ¶
func (x *OrganizationMemberEdge) GetRole() OrganizationMemberRole
type OrganizationMemberRole ¶
type OrganizationMemberRole string
OrganizationMemberRole (ENUM): The possible roles within an organization for its members.
const OrganizationMemberRole_ADMIN OrganizationMemberRole = "ADMIN"
OrganizationMemberRole_ADMIN: The user is an administrator of the organization.
const OrganizationMemberRole_MEMBER OrganizationMemberRole = "MEMBER"
OrganizationMemberRole_MEMBER: The user is a member of the organization.
type OrganizationMembersCanCreateRepositoriesSettingValue ¶
type OrganizationMembersCanCreateRepositoriesSettingValue string
OrganizationMembersCanCreateRepositoriesSettingValue (ENUM): The possible values for the members can create repositories setting on an organization.
const OrganizationMembersCanCreateRepositoriesSettingValue_ALL OrganizationMembersCanCreateRepositoriesSettingValue = "ALL"
OrganizationMembersCanCreateRepositoriesSettingValue_ALL: Members will be able to create public and private repositories.
const OrganizationMembersCanCreateRepositoriesSettingValue_DISABLED OrganizationMembersCanCreateRepositoriesSettingValue = "DISABLED"
OrganizationMembersCanCreateRepositoriesSettingValue_DISABLED: Members will not be able to create public or private repositories.
const OrganizationMembersCanCreateRepositoriesSettingValue_INTERNAL OrganizationMembersCanCreateRepositoriesSettingValue = "INTERNAL"
OrganizationMembersCanCreateRepositoriesSettingValue_INTERNAL: Members will be able to create only internal repositories.
const OrganizationMembersCanCreateRepositoriesSettingValue_PRIVATE OrganizationMembersCanCreateRepositoriesSettingValue = "PRIVATE"
OrganizationMembersCanCreateRepositoriesSettingValue_PRIVATE: Members will be able to create only private repositories.
type OrganizationOrUser ¶
type OrganizationOrUser struct {
Interface OrganizationOrUser_Interface
}
func (*OrganizationOrUser) MarshalJSON ¶
func (x *OrganizationOrUser) MarshalJSON() ([]byte, error)
func (*OrganizationOrUser) UnmarshalJSON ¶
func (x *OrganizationOrUser) UnmarshalJSON(js []byte) error
type OrganizationOrUser_Interface ¶
type OrganizationOrUser_Interface interface {
// contains filtered or unexported methods
}
OrganizationOrUser (UNION): Used for argument of CreateProjectV2 mutation. OrganizationOrUser_Interface: Used for argument of CreateProjectV2 mutation.
Possible types:
- *Organization
- *User
type OrganizationOrder ¶
type OrganizationOrder struct {
// Field: The field to order organizations by.
//
// GraphQL type: OrganizationOrderField!
Field OrganizationOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
OrganizationOrder (INPUT_OBJECT): Ordering options for organization connections.
type OrganizationOrderField ¶
type OrganizationOrderField string
OrganizationOrderField (ENUM): Properties by which organization connections can be ordered.
const OrganizationOrderField_CREATED_AT OrganizationOrderField = "CREATED_AT"
OrganizationOrderField_CREATED_AT: Order organizations by creation time.
const OrganizationOrderField_LOGIN OrganizationOrderField = "LOGIN"
OrganizationOrderField_LOGIN: Order organizations by login.
type OrganizationTeamsHovercardContext ¶
type OrganizationTeamsHovercardContext struct {
// Message: A string describing this context.
Message string `json:"message,omitempty"`
// Octicon: An octicon to accompany this context.
Octicon string `json:"octicon,omitempty"`
// RelevantTeams: Teams in this organization the user is a member of that are relevant.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RelevantTeams *TeamConnection `json:"relevantTeams,omitempty"`
// TeamsResourcePath: The path for the full team list for this user.
TeamsResourcePath URI `json:"teamsResourcePath,omitempty"`
// TeamsUrl: The URL for the full team list for this user.
TeamsUrl URI `json:"teamsUrl,omitempty"`
// TotalTeamCount: The total number of teams the user is on in the organization.
TotalTeamCount int `json:"totalTeamCount,omitempty"`
}
OrganizationTeamsHovercardContext (OBJECT): An organization teams hovercard context.
func (*OrganizationTeamsHovercardContext) GetMessage ¶
func (x *OrganizationTeamsHovercardContext) GetMessage() string
func (*OrganizationTeamsHovercardContext) GetOcticon ¶
func (x *OrganizationTeamsHovercardContext) GetOcticon() string
func (*OrganizationTeamsHovercardContext) GetRelevantTeams ¶
func (x *OrganizationTeamsHovercardContext) GetRelevantTeams() *TeamConnection
func (*OrganizationTeamsHovercardContext) GetTeamsResourcePath ¶
func (x *OrganizationTeamsHovercardContext) GetTeamsResourcePath() URI
func (*OrganizationTeamsHovercardContext) GetTeamsUrl ¶
func (x *OrganizationTeamsHovercardContext) GetTeamsUrl() URI
func (*OrganizationTeamsHovercardContext) GetTotalTeamCount ¶
func (x *OrganizationTeamsHovercardContext) GetTotalTeamCount() int
type OrganizationsHovercardContext ¶
type OrganizationsHovercardContext struct {
// Message: A string describing this context.
Message string `json:"message,omitempty"`
// Octicon: An octicon to accompany this context.
Octicon string `json:"octicon,omitempty"`
// RelevantOrganizations: Organizations this user is a member of that are relevant.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RelevantOrganizations *OrganizationConnection `json:"relevantOrganizations,omitempty"`
// TotalOrganizationCount: The total number of organizations this user is in.
TotalOrganizationCount int `json:"totalOrganizationCount,omitempty"`
}
OrganizationsHovercardContext (OBJECT): An organization list hovercard context.
func (*OrganizationsHovercardContext) GetMessage ¶
func (x *OrganizationsHovercardContext) GetMessage() string
func (*OrganizationsHovercardContext) GetOcticon ¶
func (x *OrganizationsHovercardContext) GetOcticon() string
func (*OrganizationsHovercardContext) GetRelevantOrganizations ¶
func (x *OrganizationsHovercardContext) GetRelevantOrganizations() *OrganizationConnection
func (*OrganizationsHovercardContext) GetTotalOrganizationCount ¶
func (x *OrganizationsHovercardContext) GetTotalOrganizationCount() int
type Package ¶
type Package struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// LatestVersion: Find the latest version for the package.
LatestVersion *PackageVersion `json:"latestVersion,omitempty"`
// Name: Identifies the name of the package.
Name string `json:"name,omitempty"`
// PackageType: Identifies the type of the package.
PackageType PackageType `json:"packageType,omitempty"`
// Repository: The repository this package belongs to.
Repository *Repository `json:"repository,omitempty"`
// Statistics: Statistics about package activity.
Statistics *PackageStatistics `json:"statistics,omitempty"`
// Version: Find package version by version string.
//
// Query arguments:
// - version String!
Version *PackageVersion `json:"version,omitempty"`
// Versions: list of versions for this package.
//
// Query arguments:
// - orderBy PackageVersionOrder
// - after String
// - before String
// - first Int
// - last Int
Versions *PackageVersionConnection `json:"versions,omitempty"`
}
Package (OBJECT): Information for an uploaded package.
func (*Package) GetLatestVersion ¶
func (x *Package) GetLatestVersion() *PackageVersion
func (*Package) GetPackageType ¶
func (x *Package) GetPackageType() PackageType
func (*Package) GetRepository ¶
func (x *Package) GetRepository() *Repository
func (*Package) GetStatistics ¶
func (x *Package) GetStatistics() *PackageStatistics
func (*Package) GetVersion ¶
func (x *Package) GetVersion() *PackageVersion
func (*Package) GetVersions ¶
func (x *Package) GetVersions() *PackageVersionConnection
type PackageConnection ¶
type PackageConnection struct {
// Edges: A list of edges.
Edges []*PackageEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Package `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PackageConnection (OBJECT): The connection type for Package.
func (*PackageConnection) GetEdges ¶
func (x *PackageConnection) GetEdges() []*PackageEdge
func (*PackageConnection) GetNodes ¶
func (x *PackageConnection) GetNodes() []*Package
func (*PackageConnection) GetPageInfo ¶
func (x *PackageConnection) GetPageInfo() *PageInfo
func (*PackageConnection) GetTotalCount ¶
func (x *PackageConnection) GetTotalCount() int
type PackageEdge ¶
type PackageEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Package `json:"node,omitempty"`
}
PackageEdge (OBJECT): An edge in a connection.
func (*PackageEdge) GetCursor ¶
func (x *PackageEdge) GetCursor() string
func (*PackageEdge) GetNode ¶
func (x *PackageEdge) GetNode() *Package
type PackageFile ¶
type PackageFile struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Md5: MD5 hash of the file.
Md5 string `json:"md5,omitempty"`
// Name: Name of the file.
Name string `json:"name,omitempty"`
// PackageVersion: The package version this file belongs to.
PackageVersion *PackageVersion `json:"packageVersion,omitempty"`
// Sha1: SHA1 hash of the file.
Sha1 string `json:"sha1,omitempty"`
// Sha256: SHA256 hash of the file.
Sha256 string `json:"sha256,omitempty"`
// Size: Size of the file in bytes.
Size int `json:"size,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: URL to download the asset.
Url URI `json:"url,omitempty"`
}
PackageFile (OBJECT): A file in a package version.
func (*PackageFile) GetId ¶
func (x *PackageFile) GetId() ID
func (*PackageFile) GetMd5 ¶
func (x *PackageFile) GetMd5() string
func (*PackageFile) GetName ¶
func (x *PackageFile) GetName() string
func (*PackageFile) GetPackageVersion ¶
func (x *PackageFile) GetPackageVersion() *PackageVersion
func (*PackageFile) GetSha1 ¶
func (x *PackageFile) GetSha1() string
func (*PackageFile) GetSha256 ¶
func (x *PackageFile) GetSha256() string
func (*PackageFile) GetSize ¶
func (x *PackageFile) GetSize() int
func (*PackageFile) GetUpdatedAt ¶
func (x *PackageFile) GetUpdatedAt() DateTime
func (*PackageFile) GetUrl ¶
func (x *PackageFile) GetUrl() URI
type PackageFileConnection ¶
type PackageFileConnection struct {
// Edges: A list of edges.
Edges []*PackageFileEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PackageFile `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PackageFileConnection (OBJECT): The connection type for PackageFile.
func (*PackageFileConnection) GetEdges ¶
func (x *PackageFileConnection) GetEdges() []*PackageFileEdge
func (*PackageFileConnection) GetNodes ¶
func (x *PackageFileConnection) GetNodes() []*PackageFile
func (*PackageFileConnection) GetPageInfo ¶
func (x *PackageFileConnection) GetPageInfo() *PageInfo
func (*PackageFileConnection) GetTotalCount ¶
func (x *PackageFileConnection) GetTotalCount() int
type PackageFileEdge ¶
type PackageFileEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PackageFile `json:"node,omitempty"`
}
PackageFileEdge (OBJECT): An edge in a connection.
func (*PackageFileEdge) GetCursor ¶
func (x *PackageFileEdge) GetCursor() string
func (*PackageFileEdge) GetNode ¶
func (x *PackageFileEdge) GetNode() *PackageFile
type PackageFileOrder ¶
type PackageFileOrder struct {
// Field: The field in which to order package files by.
//
// GraphQL type: PackageFileOrderField
Field PackageFileOrderField `json:"field,omitempty"`
// Direction: The direction in which to order package files by the specified field.
//
// GraphQL type: OrderDirection
Direction OrderDirection `json:"direction,omitempty"`
}
PackageFileOrder (INPUT_OBJECT): Ways in which lists of package files can be ordered upon return.
type PackageFileOrderField ¶
type PackageFileOrderField string
PackageFileOrderField (ENUM): Properties by which package file connections can be ordered.
const PackageFileOrderField_CREATED_AT PackageFileOrderField = "CREATED_AT"
PackageFileOrderField_CREATED_AT: Order package files by creation time.
type PackageOrder ¶
type PackageOrder struct {
// Field: The field in which to order packages by.
//
// GraphQL type: PackageOrderField
Field PackageOrderField `json:"field,omitempty"`
// Direction: The direction in which to order packages by the specified field.
//
// GraphQL type: OrderDirection
Direction OrderDirection `json:"direction,omitempty"`
}
PackageOrder (INPUT_OBJECT): Ways in which lists of packages can be ordered upon return.
type PackageOrderField ¶
type PackageOrderField string
PackageOrderField (ENUM): Properties by which package connections can be ordered.
const PackageOrderField_CREATED_AT PackageOrderField = "CREATED_AT"
PackageOrderField_CREATED_AT: Order packages by creation time.
type PackageOwner ¶
type PackageOwner struct {
Interface PackageOwner_Interface
}
func (*PackageOwner) MarshalJSON ¶
func (x *PackageOwner) MarshalJSON() ([]byte, error)
func (*PackageOwner) UnmarshalJSON ¶
func (x *PackageOwner) UnmarshalJSON(js []byte) error
type PackageOwner_Interface ¶
type PackageOwner_Interface interface {
GetId() ID
GetPackages() *PackageConnection
// contains filtered or unexported methods
}
PackageOwner (INTERFACE): Represents an owner of a package. PackageOwner_Interface: Represents an owner of a package.
Possible types:
- *Organization
- *Repository
- *User
type PackageStatistics ¶
type PackageStatistics struct {
// DownloadsTotalCount: Number of times the package was downloaded since it was created.
DownloadsTotalCount int `json:"downloadsTotalCount,omitempty"`
}
PackageStatistics (OBJECT): Represents a object that contains package activity statistics such as downloads.
func (*PackageStatistics) GetDownloadsTotalCount ¶
func (x *PackageStatistics) GetDownloadsTotalCount() int
type PackageTag ¶
type PackageTag struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: Identifies the tag name of the version.
Name string `json:"name,omitempty"`
// Version: Version that the tag is associated with.
Version *PackageVersion `json:"version,omitempty"`
}
PackageTag (OBJECT): A version tag contains the mapping between a tag name and a version.
func (*PackageTag) GetId ¶
func (x *PackageTag) GetId() ID
func (*PackageTag) GetName ¶
func (x *PackageTag) GetName() string
func (*PackageTag) GetVersion ¶
func (x *PackageTag) GetVersion() *PackageVersion
type PackageType ¶
type PackageType string
PackageType (ENUM): The possible types of a package.
const PackageType_DEBIAN PackageType = "DEBIAN"
PackageType_DEBIAN: A debian package.
const PackageType_DOCKER PackageType = "DOCKER"
PackageType_DOCKER: A docker image.
const PackageType_MAVEN PackageType = "MAVEN"
PackageType_MAVEN: A maven package.
const PackageType_NPM PackageType = "NPM"
PackageType_NPM: An npm package.
const PackageType_NUGET PackageType = "NUGET"
PackageType_NUGET: A nuget package.
const PackageType_PYPI PackageType = "PYPI"
PackageType_PYPI: A python package.
const PackageType_RUBYGEMS PackageType = "RUBYGEMS"
PackageType_RUBYGEMS: A rubygems package.
type PackageVersion ¶
type PackageVersion struct {
// Files: List of files associated with this package version.
//
// Query arguments:
// - orderBy PackageFileOrder
// - after String
// - before String
// - first Int
// - last Int
Files *PackageFileConnection `json:"files,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Package: The package associated with this version.
Package *Package `json:"package,omitempty"`
// Platform: The platform this version was built for.
Platform string `json:"platform,omitempty"`
// PreRelease: Whether or not this version is a pre-release.
PreRelease bool `json:"preRelease,omitempty"`
// Readme: The README of this package version.
Readme string `json:"readme,omitempty"`
// Release: The release associated with this package version.
Release *Release `json:"release,omitempty"`
// Statistics: Statistics about package activity.
Statistics *PackageVersionStatistics `json:"statistics,omitempty"`
// Summary: The package version summary.
Summary string `json:"summary,omitempty"`
// Version: The version string.
Version string `json:"version,omitempty"`
}
PackageVersion (OBJECT): Information about a specific package version.
func (*PackageVersion) GetFiles ¶
func (x *PackageVersion) GetFiles() *PackageFileConnection
func (*PackageVersion) GetId ¶
func (x *PackageVersion) GetId() ID
func (*PackageVersion) GetPackage ¶
func (x *PackageVersion) GetPackage() *Package
func (*PackageVersion) GetPlatform ¶
func (x *PackageVersion) GetPlatform() string
func (*PackageVersion) GetPreRelease ¶
func (x *PackageVersion) GetPreRelease() bool
func (*PackageVersion) GetReadme ¶
func (x *PackageVersion) GetReadme() string
func (*PackageVersion) GetRelease ¶
func (x *PackageVersion) GetRelease() *Release
func (*PackageVersion) GetStatistics ¶
func (x *PackageVersion) GetStatistics() *PackageVersionStatistics
func (*PackageVersion) GetSummary ¶
func (x *PackageVersion) GetSummary() string
func (*PackageVersion) GetVersion ¶
func (x *PackageVersion) GetVersion() string
type PackageVersionConnection ¶
type PackageVersionConnection struct {
// Edges: A list of edges.
Edges []*PackageVersionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PackageVersion `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PackageVersionConnection (OBJECT): The connection type for PackageVersion.
func (*PackageVersionConnection) GetEdges ¶
func (x *PackageVersionConnection) GetEdges() []*PackageVersionEdge
func (*PackageVersionConnection) GetNodes ¶
func (x *PackageVersionConnection) GetNodes() []*PackageVersion
func (*PackageVersionConnection) GetPageInfo ¶
func (x *PackageVersionConnection) GetPageInfo() *PageInfo
func (*PackageVersionConnection) GetTotalCount ¶
func (x *PackageVersionConnection) GetTotalCount() int
type PackageVersionEdge ¶
type PackageVersionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PackageVersion `json:"node,omitempty"`
}
PackageVersionEdge (OBJECT): An edge in a connection.
func (*PackageVersionEdge) GetCursor ¶
func (x *PackageVersionEdge) GetCursor() string
func (*PackageVersionEdge) GetNode ¶
func (x *PackageVersionEdge) GetNode() *PackageVersion
type PackageVersionOrder ¶
type PackageVersionOrder struct {
// Field: The field in which to order package versions by.
//
// GraphQL type: PackageVersionOrderField
Field PackageVersionOrderField `json:"field,omitempty"`
// Direction: The direction in which to order package versions by the specified field.
//
// GraphQL type: OrderDirection
Direction OrderDirection `json:"direction,omitempty"`
}
PackageVersionOrder (INPUT_OBJECT): Ways in which lists of package versions can be ordered upon return.
type PackageVersionOrderField ¶
type PackageVersionOrderField string
PackageVersionOrderField (ENUM): Properties by which package version connections can be ordered.
const PackageVersionOrderField_CREATED_AT PackageVersionOrderField = "CREATED_AT"
PackageVersionOrderField_CREATED_AT: Order package versions by creation time.
type PackageVersionStatistics ¶
type PackageVersionStatistics struct {
// DownloadsTotalCount: Number of times the package was downloaded since it was created.
DownloadsTotalCount int `json:"downloadsTotalCount,omitempty"`
}
PackageVersionStatistics (OBJECT): Represents a object that contains package version activity statistics such as downloads.
func (*PackageVersionStatistics) GetDownloadsTotalCount ¶
func (x *PackageVersionStatistics) GetDownloadsTotalCount() int
type PageInfo ¶
type PageInfo struct {
// EndCursor: When paginating forwards, the cursor to continue.
EndCursor string `json:"endCursor,omitempty"`
// HasNextPage: When paginating forwards, are there more items?.
HasNextPage bool `json:"hasNextPage,omitempty"`
// HasPreviousPage: When paginating backwards, are there more items?.
HasPreviousPage bool `json:"hasPreviousPage,omitempty"`
// StartCursor: When paginating backwards, the cursor to continue.
StartCursor string `json:"startCursor,omitempty"`
}
PageInfo (OBJECT): Information about pagination in a connection.
func (*PageInfo) GetEndCursor ¶
func (*PageInfo) GetHasNextPage ¶
func (*PageInfo) GetHasPreviousPage ¶
func (*PageInfo) GetStartCursor ¶
type PatchStatus ¶
type PatchStatus string
PatchStatus (ENUM): The possible types of patch statuses.
const PatchStatus_ADDED PatchStatus = "ADDED"
PatchStatus_ADDED: The file was added. Git status 'A'.
const PatchStatus_CHANGED PatchStatus = "CHANGED"
PatchStatus_CHANGED: The file's type was changed. Git status 'T'.
const PatchStatus_COPIED PatchStatus = "COPIED"
PatchStatus_COPIED: The file was copied. Git status 'C'.
const PatchStatus_DELETED PatchStatus = "DELETED"
PatchStatus_DELETED: The file was deleted. Git status 'D'.
const PatchStatus_MODIFIED PatchStatus = "MODIFIED"
PatchStatus_MODIFIED: The file's contents were changed. Git status 'M'.
const PatchStatus_RENAMED PatchStatus = "RENAMED"
PatchStatus_RENAMED: The file was renamed. Git status 'R'.
type PermissionGranter ¶
type PermissionGranter struct {
Interface PermissionGranter_Interface
}
func (*PermissionGranter) MarshalJSON ¶
func (x *PermissionGranter) MarshalJSON() ([]byte, error)
func (*PermissionGranter) UnmarshalJSON ¶
func (x *PermissionGranter) UnmarshalJSON(js []byte) error
type PermissionGranter_Interface ¶
type PermissionGranter_Interface interface {
// contains filtered or unexported methods
}
PermissionGranter (UNION): Types that can grant permissions on a repository to a user. PermissionGranter_Interface: Types that can grant permissions on a repository to a user.
Possible types:
- *Organization
- *Repository
- *Team
type PermissionSource ¶
type PermissionSource struct {
// Organization: The organization the repository belongs to.
Organization *Organization `json:"organization,omitempty"`
// Permission: The level of access this source has granted to the user.
Permission DefaultRepositoryPermissionField `json:"permission,omitempty"`
// Source: The source of this permission.
Source PermissionGranter `json:"source,omitempty"`
}
PermissionSource (OBJECT): A level of permission and source for a user's access to a repository.
func (*PermissionSource) GetOrganization ¶
func (x *PermissionSource) GetOrganization() *Organization
func (*PermissionSource) GetPermission ¶
func (x *PermissionSource) GetPermission() DefaultRepositoryPermissionField
func (*PermissionSource) GetSource ¶
func (x *PermissionSource) GetSource() PermissionGranter
type PinIssueInput ¶
type PinIssueInput struct {
// IssueId: The ID of the issue to be pinned.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
PinIssueInput (INPUT_OBJECT): Autogenerated input type of PinIssue.
type PinIssuePayload ¶
type PinIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue that was pinned.
Issue *Issue `json:"issue,omitempty"`
}
PinIssuePayload (OBJECT): Autogenerated return type of PinIssue.
func (*PinIssuePayload) GetClientMutationId ¶
func (x *PinIssuePayload) GetClientMutationId() string
func (*PinIssuePayload) GetIssue ¶
func (x *PinIssuePayload) GetIssue() *Issue
type PinnableItem ¶
type PinnableItem struct {
Interface PinnableItem_Interface
}
func (*PinnableItem) MarshalJSON ¶
func (x *PinnableItem) MarshalJSON() ([]byte, error)
func (*PinnableItem) UnmarshalJSON ¶
func (x *PinnableItem) UnmarshalJSON(js []byte) error
type PinnableItemConnection ¶
type PinnableItemConnection struct {
// Edges: A list of edges.
Edges []*PinnableItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []PinnableItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PinnableItemConnection (OBJECT): The connection type for PinnableItem.
func (*PinnableItemConnection) GetEdges ¶
func (x *PinnableItemConnection) GetEdges() []*PinnableItemEdge
func (*PinnableItemConnection) GetNodes ¶
func (x *PinnableItemConnection) GetNodes() []PinnableItem
func (*PinnableItemConnection) GetPageInfo ¶
func (x *PinnableItemConnection) GetPageInfo() *PageInfo
func (*PinnableItemConnection) GetTotalCount ¶
func (x *PinnableItemConnection) GetTotalCount() int
type PinnableItemEdge ¶
type PinnableItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node PinnableItem `json:"node,omitempty"`
}
PinnableItemEdge (OBJECT): An edge in a connection.
func (*PinnableItemEdge) GetCursor ¶
func (x *PinnableItemEdge) GetCursor() string
func (*PinnableItemEdge) GetNode ¶
func (x *PinnableItemEdge) GetNode() PinnableItem
type PinnableItemType ¶
type PinnableItemType string
PinnableItemType (ENUM): Represents items that can be pinned to a profile page or dashboard.
const PinnableItemType_GIST PinnableItemType = "GIST"
PinnableItemType_GIST: A gist.
const PinnableItemType_ISSUE PinnableItemType = "ISSUE"
PinnableItemType_ISSUE: An issue.
const PinnableItemType_ORGANIZATION PinnableItemType = "ORGANIZATION"
PinnableItemType_ORGANIZATION: An organization.
const PinnableItemType_PROJECT PinnableItemType = "PROJECT"
PinnableItemType_PROJECT: A project.
const PinnableItemType_PULL_REQUEST PinnableItemType = "PULL_REQUEST"
PinnableItemType_PULL_REQUEST: A pull request.
const PinnableItemType_REPOSITORY PinnableItemType = "REPOSITORY"
PinnableItemType_REPOSITORY: A repository.
const PinnableItemType_TEAM PinnableItemType = "TEAM"
PinnableItemType_TEAM: A team.
const PinnableItemType_USER PinnableItemType = "USER"
PinnableItemType_USER: A user.
type PinnableItem_Interface ¶
type PinnableItem_Interface interface {
// contains filtered or unexported methods
}
PinnableItem (UNION): Types that can be pinned to a profile page. PinnableItem_Interface: Types that can be pinned to a profile page.
Possible types:
- *Gist
- *Repository
type PinnedDiscussion ¶
type PinnedDiscussion struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Discussion: The discussion that was pinned.
Discussion *Discussion `json:"discussion,omitempty"`
// GradientStopColors: Color stops of the chosen gradient.
GradientStopColors []string `json:"gradientStopColors,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Pattern: Background texture pattern.
Pattern PinnedDiscussionPattern `json:"pattern,omitempty"`
// PinnedBy: The actor that pinned this discussion.
PinnedBy Actor `json:"pinnedBy,omitempty"`
// PreconfiguredGradient: Preconfigured background gradient option.
PreconfiguredGradient PinnedDiscussionGradient `json:"preconfiguredGradient,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
PinnedDiscussion (OBJECT): A Pinned Discussion is a discussion pinned to a repository's index page.
func (*PinnedDiscussion) GetCreatedAt ¶
func (x *PinnedDiscussion) GetCreatedAt() DateTime
func (*PinnedDiscussion) GetDatabaseId ¶
func (x *PinnedDiscussion) GetDatabaseId() int
func (*PinnedDiscussion) GetDiscussion ¶
func (x *PinnedDiscussion) GetDiscussion() *Discussion
func (*PinnedDiscussion) GetGradientStopColors ¶
func (x *PinnedDiscussion) GetGradientStopColors() []string
func (*PinnedDiscussion) GetId ¶
func (x *PinnedDiscussion) GetId() ID
func (*PinnedDiscussion) GetPattern ¶
func (x *PinnedDiscussion) GetPattern() PinnedDiscussionPattern
func (*PinnedDiscussion) GetPinnedBy ¶
func (x *PinnedDiscussion) GetPinnedBy() Actor
func (*PinnedDiscussion) GetPreconfiguredGradient ¶
func (x *PinnedDiscussion) GetPreconfiguredGradient() PinnedDiscussionGradient
func (*PinnedDiscussion) GetRepository ¶
func (x *PinnedDiscussion) GetRepository() *Repository
func (*PinnedDiscussion) GetUpdatedAt ¶
func (x *PinnedDiscussion) GetUpdatedAt() DateTime
type PinnedDiscussionConnection ¶
type PinnedDiscussionConnection struct {
// Edges: A list of edges.
Edges []*PinnedDiscussionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PinnedDiscussion `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PinnedDiscussionConnection (OBJECT): The connection type for PinnedDiscussion.
func (*PinnedDiscussionConnection) GetEdges ¶
func (x *PinnedDiscussionConnection) GetEdges() []*PinnedDiscussionEdge
func (*PinnedDiscussionConnection) GetNodes ¶
func (x *PinnedDiscussionConnection) GetNodes() []*PinnedDiscussion
func (*PinnedDiscussionConnection) GetPageInfo ¶
func (x *PinnedDiscussionConnection) GetPageInfo() *PageInfo
func (*PinnedDiscussionConnection) GetTotalCount ¶
func (x *PinnedDiscussionConnection) GetTotalCount() int
type PinnedDiscussionEdge ¶
type PinnedDiscussionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PinnedDiscussion `json:"node,omitempty"`
}
PinnedDiscussionEdge (OBJECT): An edge in a connection.
func (*PinnedDiscussionEdge) GetCursor ¶
func (x *PinnedDiscussionEdge) GetCursor() string
func (*PinnedDiscussionEdge) GetNode ¶
func (x *PinnedDiscussionEdge) GetNode() *PinnedDiscussion
type PinnedDiscussionGradient ¶
type PinnedDiscussionGradient string
PinnedDiscussionGradient (ENUM): Preconfigured gradients that may be used to style discussions pinned within a repository.
const PinnedDiscussionGradient_BLUE_MINT PinnedDiscussionGradient = "BLUE_MINT"
PinnedDiscussionGradient_BLUE_MINT: A gradient of blue to mint.
const PinnedDiscussionGradient_BLUE_PURPLE PinnedDiscussionGradient = "BLUE_PURPLE"
PinnedDiscussionGradient_BLUE_PURPLE: A gradient of blue to purple.
const PinnedDiscussionGradient_PINK_BLUE PinnedDiscussionGradient = "PINK_BLUE"
PinnedDiscussionGradient_PINK_BLUE: A gradient of pink to blue.
const PinnedDiscussionGradient_PURPLE_CORAL PinnedDiscussionGradient = "PURPLE_CORAL"
PinnedDiscussionGradient_PURPLE_CORAL: A gradient of purple to coral.
const PinnedDiscussionGradient_RED_ORANGE PinnedDiscussionGradient = "RED_ORANGE"
PinnedDiscussionGradient_RED_ORANGE: A gradient of red to orange.
type PinnedDiscussionPattern ¶
type PinnedDiscussionPattern string
PinnedDiscussionPattern (ENUM): Preconfigured background patterns that may be used to style discussions pinned within a repository.
const PinnedDiscussionPattern_CHEVRON_UP PinnedDiscussionPattern = "CHEVRON_UP"
PinnedDiscussionPattern_CHEVRON_UP: An upward-facing chevron pattern.
const PinnedDiscussionPattern_DOT PinnedDiscussionPattern = "DOT"
PinnedDiscussionPattern_DOT: A hollow dot pattern.
const PinnedDiscussionPattern_DOT_FILL PinnedDiscussionPattern = "DOT_FILL"
PinnedDiscussionPattern_DOT_FILL: A solid dot pattern.
const PinnedDiscussionPattern_HEART_FILL PinnedDiscussionPattern = "HEART_FILL"
PinnedDiscussionPattern_HEART_FILL: A heart pattern.
const PinnedDiscussionPattern_PLUS PinnedDiscussionPattern = "PLUS"
PinnedDiscussionPattern_PLUS: A plus sign pattern.
const PinnedDiscussionPattern_ZAP PinnedDiscussionPattern = "ZAP"
PinnedDiscussionPattern_ZAP: A lightning bolt pattern.
type PinnedEvent ¶
type PinnedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Issue: Identifies the issue associated with the event.
Issue *Issue `json:"issue,omitempty"`
}
PinnedEvent (OBJECT): Represents a 'pinned' event on a given issue or pull request.
func (*PinnedEvent) GetActor ¶
func (x *PinnedEvent) GetActor() Actor
func (*PinnedEvent) GetCreatedAt ¶
func (x *PinnedEvent) GetCreatedAt() DateTime
func (*PinnedEvent) GetId ¶
func (x *PinnedEvent) GetId() ID
func (*PinnedEvent) GetIssue ¶
func (x *PinnedEvent) GetIssue() *Issue
type PinnedIssue ¶
type PinnedIssue struct {
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Issue: The issue that was pinned.
Issue *Issue `json:"issue,omitempty"`
// PinnedBy: The actor that pinned this issue.
PinnedBy Actor `json:"pinnedBy,omitempty"`
// Repository: The repository that this issue was pinned to.
Repository *Repository `json:"repository,omitempty"`
}
PinnedIssue (OBJECT): A Pinned Issue is a issue pinned to a repository's index page.
func (*PinnedIssue) GetDatabaseId ¶
func (x *PinnedIssue) GetDatabaseId() int
func (*PinnedIssue) GetId ¶
func (x *PinnedIssue) GetId() ID
func (*PinnedIssue) GetIssue ¶
func (x *PinnedIssue) GetIssue() *Issue
func (*PinnedIssue) GetPinnedBy ¶
func (x *PinnedIssue) GetPinnedBy() Actor
func (*PinnedIssue) GetRepository ¶
func (x *PinnedIssue) GetRepository() *Repository
type PinnedIssueConnection ¶
type PinnedIssueConnection struct {
// Edges: A list of edges.
Edges []*PinnedIssueEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PinnedIssue `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PinnedIssueConnection (OBJECT): The connection type for PinnedIssue.
func (*PinnedIssueConnection) GetEdges ¶
func (x *PinnedIssueConnection) GetEdges() []*PinnedIssueEdge
func (*PinnedIssueConnection) GetNodes ¶
func (x *PinnedIssueConnection) GetNodes() []*PinnedIssue
func (*PinnedIssueConnection) GetPageInfo ¶
func (x *PinnedIssueConnection) GetPageInfo() *PageInfo
func (*PinnedIssueConnection) GetTotalCount ¶
func (x *PinnedIssueConnection) GetTotalCount() int
type PinnedIssueEdge ¶
type PinnedIssueEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PinnedIssue `json:"node,omitempty"`
}
PinnedIssueEdge (OBJECT): An edge in a connection.
func (*PinnedIssueEdge) GetCursor ¶
func (x *PinnedIssueEdge) GetCursor() string
func (*PinnedIssueEdge) GetNode ¶
func (x *PinnedIssueEdge) GetNode() *PinnedIssue
type PreciseDateTime ¶
type PreciseDateTime string
PreciseDateTime (SCALAR): An ISO-8601 encoded UTC date string with millisecond precision.
type PrivateRepositoryForkingDisableAuditEntry ¶
type PrivateRepositoryForkingDisableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
PrivateRepositoryForkingDisableAuditEntry (OBJECT): Audit log entry for a private_repository_forking.disable event.
func (*PrivateRepositoryForkingDisableAuditEntry) GetAction ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetAction() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetActor ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActor() AuditEntryActor
func (*PrivateRepositoryForkingDisableAuditEntry) GetActorIp ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorIp() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetActorLocation ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorLocation() *ActorLocation
func (*PrivateRepositoryForkingDisableAuditEntry) GetActorLogin ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorLogin() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetActorUrl ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetActorUrl() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt() PreciseDateTime
func (*PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseUrl ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseUrl() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetId ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetId() ID
func (*PrivateRepositoryForkingDisableAuditEntry) GetOperationType ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetOperationType() OperationType
func (*PrivateRepositoryForkingDisableAuditEntry) GetOrganization ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganization() *Organization
func (*PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetOrganizationUrl ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetOrganizationUrl() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetRepository ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepository() *Repository
func (*PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetRepositoryUrl ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetRepositoryUrl() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetUser ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetUser() *User
func (*PrivateRepositoryForkingDisableAuditEntry) GetUserLogin ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserLogin() string
func (*PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath() URI
func (*PrivateRepositoryForkingDisableAuditEntry) GetUserUrl ¶
func (x *PrivateRepositoryForkingDisableAuditEntry) GetUserUrl() URI
type PrivateRepositoryForkingEnableAuditEntry ¶
type PrivateRepositoryForkingEnableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
PrivateRepositoryForkingEnableAuditEntry (OBJECT): Audit log entry for a private_repository_forking.enable event.
func (*PrivateRepositoryForkingEnableAuditEntry) GetAction ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetAction() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetActor ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActor() AuditEntryActor
func (*PrivateRepositoryForkingEnableAuditEntry) GetActorIp ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorIp() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetActorLocation ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorLocation() *ActorLocation
func (*PrivateRepositoryForkingEnableAuditEntry) GetActorLogin ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorLogin() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetActorUrl ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetActorUrl() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt() PreciseDateTime
func (*PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseUrl ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseUrl() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetId ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetId() ID
func (*PrivateRepositoryForkingEnableAuditEntry) GetOperationType ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetOperationType() OperationType
func (*PrivateRepositoryForkingEnableAuditEntry) GetOrganization ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganization() *Organization
func (*PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetOrganizationUrl ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetOrganizationUrl() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetRepository ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepository() *Repository
func (*PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetRepositoryUrl ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetRepositoryUrl() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetUser ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetUser() *User
func (*PrivateRepositoryForkingEnableAuditEntry) GetUserLogin ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserLogin() string
func (*PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath() URI
func (*PrivateRepositoryForkingEnableAuditEntry) GetUserUrl ¶
func (x *PrivateRepositoryForkingEnableAuditEntry) GetUserUrl() URI
type ProfileItemShowcase ¶
type ProfileItemShowcase struct {
// HasPinnedItems: Whether or not the owner has pinned any repositories or gists.
HasPinnedItems bool `json:"hasPinnedItems,omitempty"`
// Items: The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Items *PinnableItemConnection `json:"items,omitempty"`
}
ProfileItemShowcase (OBJECT): A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.
func (*ProfileItemShowcase) GetHasPinnedItems ¶
func (x *ProfileItemShowcase) GetHasPinnedItems() bool
func (*ProfileItemShowcase) GetItems ¶
func (x *ProfileItemShowcase) GetItems() *PinnableItemConnection
type ProfileOwner ¶
type ProfileOwner struct {
Interface ProfileOwner_Interface
}
func (*ProfileOwner) MarshalJSON ¶
func (x *ProfileOwner) MarshalJSON() ([]byte, error)
func (*ProfileOwner) UnmarshalJSON ¶
func (x *ProfileOwner) UnmarshalJSON(js []byte) error
type ProfileOwner_Interface ¶
type ProfileOwner_Interface interface {
GetAnyPinnableItems() bool
GetEmail() string
GetId() ID
GetItemShowcase() *ProfileItemShowcase
GetLocation() string
GetLogin() string
GetName() string
GetPinnableItems() *PinnableItemConnection
GetPinnedItems() *PinnableItemConnection
GetPinnedItemsRemaining() int
GetViewerCanChangePinnedItems() bool
GetWebsiteUrl() URI
// contains filtered or unexported methods
}
ProfileOwner (INTERFACE): Represents any entity on GitHub that has a profile page. ProfileOwner_Interface: Represents any entity on GitHub that has a profile page.
Possible types:
- *Organization
- *User
type Project ¶
type Project struct {
// Body: The project's description body.
Body string `json:"body,omitempty"`
// BodyHTML: The projects description body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// Closed: `true` if the object is closed (definition of closed may depend on type).
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// Columns: List of columns in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Columns *ProjectColumnConnection `json:"columns,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who originally created the project.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project's name.
Name string `json:"name,omitempty"`
// Number: The project's number.
Number int `json:"number,omitempty"`
// Owner: The project's owner. Currently limited to repositories, organizations, and users.
Owner ProjectOwner `json:"owner,omitempty"`
// PendingCards: List of pending cards in this project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - archivedStates [ProjectCardArchivedState]
PendingCards *ProjectCardConnection `json:"pendingCards,omitempty"`
// Progress: Project progress details.
Progress *ProjectProgress `json:"progress,omitempty"`
// ResourcePath: The HTTP path for this project.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: Whether the project is open or closed.
State ProjectState `json:"state,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this project.
Url URI `json:"url,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
}
Project (OBJECT): Projects manage issues, pull requests and notes within a project owner.
func (*Project) GetBodyHTML ¶
func (*Project) GetClosedAt ¶
func (*Project) GetColumns ¶
func (x *Project) GetColumns() *ProjectColumnConnection
func (*Project) GetCreatedAt ¶
func (*Project) GetCreator ¶
func (*Project) GetDatabaseId ¶
func (*Project) GetOwner ¶
func (x *Project) GetOwner() ProjectOwner
func (*Project) GetPendingCards ¶
func (x *Project) GetPendingCards() *ProjectCardConnection
func (*Project) GetProgress ¶
func (x *Project) GetProgress() *ProjectProgress
func (*Project) GetResourcePath ¶
func (*Project) GetState ¶
func (x *Project) GetState() ProjectState
func (*Project) GetUpdatedAt ¶
func (*Project) GetViewerCanUpdate ¶
type ProjectCard ¶
type ProjectCard struct {
// Column: The project column this card is associated under. A card may only belong to one
// project column at a time. The column field will be null if the card is created
// in a pending state and has yet to be associated with a column. Once cards are
// associated with a column, they will not become pending in the future.
// .
Column *ProjectColumn `json:"column,omitempty"`
// Content: The card content item.
Content ProjectCardItem `json:"content,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created this card.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsArchived: Whether the card is archived.
IsArchived bool `json:"isArchived,omitempty"`
// Note: The card note.
Note string `json:"note,omitempty"`
// Project: The project that contains this card.
Project *Project `json:"project,omitempty"`
// ResourcePath: The HTTP path for this card.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: The state of ProjectCard.
State ProjectCardState `json:"state,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this card.
Url URI `json:"url,omitempty"`
}
ProjectCard (OBJECT): A card in a project.
func (*ProjectCard) GetColumn ¶
func (x *ProjectCard) GetColumn() *ProjectColumn
func (*ProjectCard) GetContent ¶
func (x *ProjectCard) GetContent() ProjectCardItem
func (*ProjectCard) GetCreatedAt ¶
func (x *ProjectCard) GetCreatedAt() DateTime
func (*ProjectCard) GetCreator ¶
func (x *ProjectCard) GetCreator() Actor
func (*ProjectCard) GetDatabaseId ¶
func (x *ProjectCard) GetDatabaseId() int
func (*ProjectCard) GetId ¶
func (x *ProjectCard) GetId() ID
func (*ProjectCard) GetIsArchived ¶
func (x *ProjectCard) GetIsArchived() bool
func (*ProjectCard) GetNote ¶
func (x *ProjectCard) GetNote() string
func (*ProjectCard) GetProject ¶
func (x *ProjectCard) GetProject() *Project
func (*ProjectCard) GetResourcePath ¶
func (x *ProjectCard) GetResourcePath() URI
func (*ProjectCard) GetState ¶
func (x *ProjectCard) GetState() ProjectCardState
func (*ProjectCard) GetUpdatedAt ¶
func (x *ProjectCard) GetUpdatedAt() DateTime
func (*ProjectCard) GetUrl ¶
func (x *ProjectCard) GetUrl() URI
type ProjectCardArchivedState ¶
type ProjectCardArchivedState string
ProjectCardArchivedState (ENUM): The possible archived states of a project card.
const ProjectCardArchivedState_ARCHIVED ProjectCardArchivedState = "ARCHIVED"
ProjectCardArchivedState_ARCHIVED: A project card that is archived.
const ProjectCardArchivedState_NOT_ARCHIVED ProjectCardArchivedState = "NOT_ARCHIVED"
ProjectCardArchivedState_NOT_ARCHIVED: A project card that is not archived.
type ProjectCardConnection ¶
type ProjectCardConnection struct {
// Edges: A list of edges.
Edges []*ProjectCardEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectCard `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectCardConnection (OBJECT): The connection type for ProjectCard.
func (*ProjectCardConnection) GetEdges ¶
func (x *ProjectCardConnection) GetEdges() []*ProjectCardEdge
func (*ProjectCardConnection) GetNodes ¶
func (x *ProjectCardConnection) GetNodes() []*ProjectCard
func (*ProjectCardConnection) GetPageInfo ¶
func (x *ProjectCardConnection) GetPageInfo() *PageInfo
func (*ProjectCardConnection) GetTotalCount ¶
func (x *ProjectCardConnection) GetTotalCount() int
type ProjectCardEdge ¶
type ProjectCardEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectCard `json:"node,omitempty"`
}
ProjectCardEdge (OBJECT): An edge in a connection.
func (*ProjectCardEdge) GetCursor ¶
func (x *ProjectCardEdge) GetCursor() string
func (*ProjectCardEdge) GetNode ¶
func (x *ProjectCardEdge) GetNode() *ProjectCard
type ProjectCardItem ¶
type ProjectCardItem struct {
Interface ProjectCardItem_Interface
}
func (*ProjectCardItem) MarshalJSON ¶
func (x *ProjectCardItem) MarshalJSON() ([]byte, error)
func (*ProjectCardItem) UnmarshalJSON ¶
func (x *ProjectCardItem) UnmarshalJSON(js []byte) error
type ProjectCardItem_Interface ¶
type ProjectCardItem_Interface interface {
// contains filtered or unexported methods
}
ProjectCardItem (UNION): Types that can be inside Project Cards. ProjectCardItem_Interface: Types that can be inside Project Cards.
Possible types:
- *Issue
- *PullRequest
type ProjectCardState ¶
type ProjectCardState string
ProjectCardState (ENUM): Various content states of a ProjectCard.
const ProjectCardState_CONTENT_ONLY ProjectCardState = "CONTENT_ONLY"
ProjectCardState_CONTENT_ONLY: The card has content only.
const ProjectCardState_NOTE_ONLY ProjectCardState = "NOTE_ONLY"
ProjectCardState_NOTE_ONLY: The card has a note only.
const ProjectCardState_REDACTED ProjectCardState = "REDACTED"
ProjectCardState_REDACTED: The card is redacted.
type ProjectColumn ¶
type ProjectColumn struct {
// Cards: List of cards in the column.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - archivedStates [ProjectCardArchivedState]
Cards *ProjectCardConnection `json:"cards,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project column's name.
Name string `json:"name,omitempty"`
// Project: The project that contains this column.
Project *Project `json:"project,omitempty"`
// Purpose: The semantic purpose of the column.
Purpose ProjectColumnPurpose `json:"purpose,omitempty"`
// ResourcePath: The HTTP path for this project column.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this project column.
Url URI `json:"url,omitempty"`
}
ProjectColumn (OBJECT): A column inside a project.
func (*ProjectColumn) GetCards ¶
func (x *ProjectColumn) GetCards() *ProjectCardConnection
func (*ProjectColumn) GetCreatedAt ¶
func (x *ProjectColumn) GetCreatedAt() DateTime
func (*ProjectColumn) GetDatabaseId ¶
func (x *ProjectColumn) GetDatabaseId() int
func (*ProjectColumn) GetId ¶
func (x *ProjectColumn) GetId() ID
func (*ProjectColumn) GetName ¶
func (x *ProjectColumn) GetName() string
func (*ProjectColumn) GetProject ¶
func (x *ProjectColumn) GetProject() *Project
func (*ProjectColumn) GetPurpose ¶
func (x *ProjectColumn) GetPurpose() ProjectColumnPurpose
func (*ProjectColumn) GetResourcePath ¶
func (x *ProjectColumn) GetResourcePath() URI
func (*ProjectColumn) GetUpdatedAt ¶
func (x *ProjectColumn) GetUpdatedAt() DateTime
func (*ProjectColumn) GetUrl ¶
func (x *ProjectColumn) GetUrl() URI
type ProjectColumnConnection ¶
type ProjectColumnConnection struct {
// Edges: A list of edges.
Edges []*ProjectColumnEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectColumn `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectColumnConnection (OBJECT): The connection type for ProjectColumn.
func (*ProjectColumnConnection) GetEdges ¶
func (x *ProjectColumnConnection) GetEdges() []*ProjectColumnEdge
func (*ProjectColumnConnection) GetNodes ¶
func (x *ProjectColumnConnection) GetNodes() []*ProjectColumn
func (*ProjectColumnConnection) GetPageInfo ¶
func (x *ProjectColumnConnection) GetPageInfo() *PageInfo
func (*ProjectColumnConnection) GetTotalCount ¶
func (x *ProjectColumnConnection) GetTotalCount() int
type ProjectColumnEdge ¶
type ProjectColumnEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectColumn `json:"node,omitempty"`
}
ProjectColumnEdge (OBJECT): An edge in a connection.
func (*ProjectColumnEdge) GetCursor ¶
func (x *ProjectColumnEdge) GetCursor() string
func (*ProjectColumnEdge) GetNode ¶
func (x *ProjectColumnEdge) GetNode() *ProjectColumn
type ProjectColumnPurpose ¶
type ProjectColumnPurpose string
ProjectColumnPurpose (ENUM): The semantic purpose of the column - todo, in progress, or done.
const ProjectColumnPurpose_DONE ProjectColumnPurpose = "DONE"
ProjectColumnPurpose_DONE: The column contains cards which are complete.
const ProjectColumnPurpose_IN_PROGRESS ProjectColumnPurpose = "IN_PROGRESS"
ProjectColumnPurpose_IN_PROGRESS: The column contains cards which are currently being worked on.
const ProjectColumnPurpose_TODO ProjectColumnPurpose = "TODO"
ProjectColumnPurpose_TODO: The column contains cards still to be worked on.
type ProjectConnection ¶
type ProjectConnection struct {
// Edges: A list of edges.
Edges []*ProjectEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Project `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectConnection (OBJECT): A list of projects associated with the owner.
func (*ProjectConnection) GetEdges ¶
func (x *ProjectConnection) GetEdges() []*ProjectEdge
func (*ProjectConnection) GetNodes ¶
func (x *ProjectConnection) GetNodes() []*Project
func (*ProjectConnection) GetPageInfo ¶
func (x *ProjectConnection) GetPageInfo() *PageInfo
func (*ProjectConnection) GetTotalCount ¶
func (x *ProjectConnection) GetTotalCount() int
type ProjectEdge ¶
type ProjectEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Project `json:"node,omitempty"`
}
ProjectEdge (OBJECT): An edge in a connection.
func (*ProjectEdge) GetCursor ¶
func (x *ProjectEdge) GetCursor() string
func (*ProjectEdge) GetNode ¶
func (x *ProjectEdge) GetNode() *Project
type ProjectItemType ¶
type ProjectItemType string
ProjectItemType (ENUM): The type of a project item.
const ProjectItemType_DRAFT_ISSUE ProjectItemType = "DRAFT_ISSUE"
ProjectItemType_DRAFT_ISSUE: Draft Issue.
const ProjectItemType_ISSUE ProjectItemType = "ISSUE"
ProjectItemType_ISSUE: Issue.
const ProjectItemType_PULL_REQUEST ProjectItemType = "PULL_REQUEST"
ProjectItemType_PULL_REQUEST: Pull Request.
const ProjectItemType_REDACTED ProjectItemType = "REDACTED"
ProjectItemType_REDACTED: Redacted Item.
type ProjectNext ¶
type ProjectNext struct {
// Closed: Returns true if the project is closed.
//
// Deprecated: Returns true if the project is closed.
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
//
// Deprecated: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who originally created the project.
//
// Deprecated: The actor who originally created the project.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
//
// Deprecated: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The project's description.
//
// Deprecated: The project's description.
Description string `json:"description,omitempty"`
// Fields: List of fields in the project.
//
// Deprecated: List of fields in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Fields *ProjectNextFieldConnection `json:"fields,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Items: List of items in the project.
//
// Deprecated: List of items in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Items *ProjectNextItemConnection `json:"items,omitempty"`
// Number: The project's number.
//
// Deprecated: The project's number.
Number int `json:"number,omitempty"`
// Owner: The project's owner. Currently limited to organizations and users.
//
// Deprecated: The project's owner. Currently limited to organizations and users.
Owner ProjectNextOwner `json:"owner,omitempty"`
// Public: Returns true if the project is public.
//
// Deprecated: Returns true if the project is public.
Public bool `json:"public,omitempty"`
// Repositories: The repositories the project is linked to.
//
// Deprecated: The repositories the project is linked to.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Repositories *RepositoryConnection `json:"repositories,omitempty"`
// ResourcePath: The HTTP path for this project.
//
// Deprecated: The HTTP path for this project.
ResourcePath URI `json:"resourcePath,omitempty"`
// ShortDescription: The project's short description.
//
// Deprecated: The project's short description.
ShortDescription string `json:"shortDescription,omitempty"`
// Title: The project's name.
//
// Deprecated: The project's name.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
//
// Deprecated: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this project.
//
// Deprecated: The HTTP URL for this project.
Url URI `json:"url,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// Views: List of views in the project.
//
// Deprecated: List of views in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Views *ProjectViewConnection `json:"views,omitempty"`
}
ProjectNext (OBJECT): New projects that manage issues, pull requests and drafts using tables and boards.
func (*ProjectNext) GetClosed ¶
func (x *ProjectNext) GetClosed() bool
func (*ProjectNext) GetClosedAt ¶
func (x *ProjectNext) GetClosedAt() DateTime
func (*ProjectNext) GetCreatedAt ¶
func (x *ProjectNext) GetCreatedAt() DateTime
func (*ProjectNext) GetCreator ¶
func (x *ProjectNext) GetCreator() Actor
func (*ProjectNext) GetDatabaseId ¶
func (x *ProjectNext) GetDatabaseId() int
func (*ProjectNext) GetDescription ¶
func (x *ProjectNext) GetDescription() string
func (*ProjectNext) GetFields ¶
func (x *ProjectNext) GetFields() *ProjectNextFieldConnection
func (*ProjectNext) GetId ¶
func (x *ProjectNext) GetId() ID
func (*ProjectNext) GetItems ¶
func (x *ProjectNext) GetItems() *ProjectNextItemConnection
func (*ProjectNext) GetNumber ¶
func (x *ProjectNext) GetNumber() int
func (*ProjectNext) GetOwner ¶
func (x *ProjectNext) GetOwner() ProjectNextOwner
func (*ProjectNext) GetPublic ¶
func (x *ProjectNext) GetPublic() bool
func (*ProjectNext) GetRepositories ¶
func (x *ProjectNext) GetRepositories() *RepositoryConnection
func (*ProjectNext) GetResourcePath ¶
func (x *ProjectNext) GetResourcePath() URI
func (*ProjectNext) GetShortDescription ¶
func (x *ProjectNext) GetShortDescription() string
func (*ProjectNext) GetTitle ¶
func (x *ProjectNext) GetTitle() string
func (*ProjectNext) GetUpdatedAt ¶
func (x *ProjectNext) GetUpdatedAt() DateTime
func (*ProjectNext) GetUrl ¶
func (x *ProjectNext) GetUrl() URI
func (*ProjectNext) GetViewerCanUpdate ¶
func (x *ProjectNext) GetViewerCanUpdate() bool
func (*ProjectNext) GetViews ¶
func (x *ProjectNext) GetViews() *ProjectViewConnection
type ProjectNextConnection ¶
type ProjectNextConnection struct {
// Edges: A list of edges.
Edges []*ProjectNextEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectNext `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectNextConnection (OBJECT): The connection type for ProjectNext.
func (*ProjectNextConnection) GetEdges ¶
func (x *ProjectNextConnection) GetEdges() []*ProjectNextEdge
func (*ProjectNextConnection) GetNodes ¶
func (x *ProjectNextConnection) GetNodes() []*ProjectNext
func (*ProjectNextConnection) GetPageInfo ¶
func (x *ProjectNextConnection) GetPageInfo() *PageInfo
func (*ProjectNextConnection) GetTotalCount ¶
func (x *ProjectNextConnection) GetTotalCount() int
type ProjectNextEdge ¶
type ProjectNextEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectNext `json:"node,omitempty"`
}
ProjectNextEdge (OBJECT): An edge in a connection.
func (*ProjectNextEdge) GetCursor ¶
func (x *ProjectNextEdge) GetCursor() string
func (*ProjectNextEdge) GetNode ¶
func (x *ProjectNextEdge) GetNode() *ProjectNext
type ProjectNextField ¶
type ProjectNextField struct {
// CreatedAt: Identifies the date and time when the object was created.
//
// Deprecated: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DataType: The field's type.
//
// Deprecated: The field's type.
DataType ProjectNextFieldType `json:"dataType,omitempty"`
// DatabaseId: Identifies the primary key from the database.
//
// Deprecated: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project field's name.
//
// Deprecated: The project field's name.
Name string `json:"name,omitempty"`
// Project: The project that contains this field.
//
// Deprecated: The project that contains this field.
Project *ProjectNext `json:"project,omitempty"`
// Settings: The field's settings.
//
// Deprecated: The field's settings.
Settings string `json:"settings,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
//
// Deprecated: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectNextField (OBJECT): A field inside a project.
func (*ProjectNextField) GetCreatedAt ¶
func (x *ProjectNextField) GetCreatedAt() DateTime
func (*ProjectNextField) GetDataType ¶
func (x *ProjectNextField) GetDataType() ProjectNextFieldType
func (*ProjectNextField) GetDatabaseId ¶
func (x *ProjectNextField) GetDatabaseId() int
func (*ProjectNextField) GetId ¶
func (x *ProjectNextField) GetId() ID
func (*ProjectNextField) GetName ¶
func (x *ProjectNextField) GetName() string
func (*ProjectNextField) GetProject ¶
func (x *ProjectNextField) GetProject() *ProjectNext
func (*ProjectNextField) GetSettings ¶
func (x *ProjectNextField) GetSettings() string
func (*ProjectNextField) GetUpdatedAt ¶
func (x *ProjectNextField) GetUpdatedAt() DateTime
type ProjectNextFieldCommon ¶
type ProjectNextFieldCommon struct {
Interface ProjectNextFieldCommon_Interface
}
func (*ProjectNextFieldCommon) MarshalJSON ¶
func (x *ProjectNextFieldCommon) MarshalJSON() ([]byte, error)
func (*ProjectNextFieldCommon) UnmarshalJSON ¶
func (x *ProjectNextFieldCommon) UnmarshalJSON(js []byte) error
type ProjectNextFieldCommon_Interface ¶
type ProjectNextFieldCommon_Interface interface {
GetCreatedAt() DateTime
GetDataType() ProjectNextFieldType
GetDatabaseId() int
GetId() ID
GetName() string
GetProject() *ProjectNext
GetSettings() string
GetUpdatedAt() DateTime
// contains filtered or unexported methods
}
ProjectNextFieldCommon (INTERFACE): Common fields across different field types. ProjectNextFieldCommon_Interface: Common fields across different field types.
Possible types:
- *ProjectNextField
type ProjectNextFieldConnection ¶
type ProjectNextFieldConnection struct {
// Edges: A list of edges.
Edges []*ProjectNextFieldEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectNextField `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectNextFieldConnection (OBJECT): The connection type for ProjectNextField.
func (*ProjectNextFieldConnection) GetEdges ¶
func (x *ProjectNextFieldConnection) GetEdges() []*ProjectNextFieldEdge
func (*ProjectNextFieldConnection) GetNodes ¶
func (x *ProjectNextFieldConnection) GetNodes() []*ProjectNextField
func (*ProjectNextFieldConnection) GetPageInfo ¶
func (x *ProjectNextFieldConnection) GetPageInfo() *PageInfo
func (*ProjectNextFieldConnection) GetTotalCount ¶
func (x *ProjectNextFieldConnection) GetTotalCount() int
type ProjectNextFieldEdge ¶
type ProjectNextFieldEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectNextField `json:"node,omitempty"`
}
ProjectNextFieldEdge (OBJECT): An edge in a connection.
func (*ProjectNextFieldEdge) GetCursor ¶
func (x *ProjectNextFieldEdge) GetCursor() string
func (*ProjectNextFieldEdge) GetNode ¶
func (x *ProjectNextFieldEdge) GetNode() *ProjectNextField
type ProjectNextFieldType ¶
type ProjectNextFieldType string
ProjectNextFieldType (ENUM): The type of a project next field.
const ProjectNextFieldType_ASSIGNEES ProjectNextFieldType = "ASSIGNEES"
ProjectNextFieldType_ASSIGNEES: Assignees.
const ProjectNextFieldType_DATE ProjectNextFieldType = "DATE"
ProjectNextFieldType_DATE: Date.
const ProjectNextFieldType_ITERATION ProjectNextFieldType = "ITERATION"
ProjectNextFieldType_ITERATION: Iteration.
const ProjectNextFieldType_LABELS ProjectNextFieldType = "LABELS"
ProjectNextFieldType_LABELS: Labels.
const ProjectNextFieldType_LINKED_PULL_REQUESTS ProjectNextFieldType = "LINKED_PULL_REQUESTS"
ProjectNextFieldType_LINKED_PULL_REQUESTS: Linked Pull Requests.
const ProjectNextFieldType_MILESTONE ProjectNextFieldType = "MILESTONE"
ProjectNextFieldType_MILESTONE: Milestone.
const ProjectNextFieldType_NUMBER ProjectNextFieldType = "NUMBER"
ProjectNextFieldType_NUMBER: Number.
const ProjectNextFieldType_REPOSITORY ProjectNextFieldType = "REPOSITORY"
ProjectNextFieldType_REPOSITORY: Repository.
const ProjectNextFieldType_REVIEWERS ProjectNextFieldType = "REVIEWERS"
ProjectNextFieldType_REVIEWERS: Reviewers.
const ProjectNextFieldType_SINGLE_SELECT ProjectNextFieldType = "SINGLE_SELECT"
ProjectNextFieldType_SINGLE_SELECT: Single Select.
const ProjectNextFieldType_TASKS ProjectNextFieldType = "TASKS"
ProjectNextFieldType_TASKS: Tasks.
const ProjectNextFieldType_TEXT ProjectNextFieldType = "TEXT"
ProjectNextFieldType_TEXT: Text.
const ProjectNextFieldType_TITLE ProjectNextFieldType = "TITLE"
ProjectNextFieldType_TITLE: Title.
type ProjectNextItem ¶
type ProjectNextItem struct {
// Content: The content of the referenced draft issue, issue, or pull request.
//
// Deprecated: The content of the referenced draft issue, issue, or pull request.
Content ProjectNextItemContent `json:"content,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
//
// Deprecated: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
//
// Deprecated: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
//
// Deprecated: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// FieldValues: List of field values.
//
// Deprecated: List of field values.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
FieldValues *ProjectNextItemFieldValueConnection `json:"fieldValues,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsArchived: Whether the item is archived.
//
// Deprecated: Whether the item is archived.
IsArchived bool `json:"isArchived,omitempty"`
// Project: The project that contains this item.
//
// Deprecated: The project that contains this item.
Project *ProjectNext `json:"project,omitempty"`
// Title: The title of the item.
//
// Deprecated: The title of the item.
Title string `json:"title,omitempty"`
// Type: The type of the item.
//
// Deprecated: The type of the item.
Type ProjectItemType `json:"type,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
//
// Deprecated: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectNextItem (OBJECT): An item within a new Project.
func (*ProjectNextItem) GetContent ¶
func (x *ProjectNextItem) GetContent() ProjectNextItemContent
func (*ProjectNextItem) GetCreatedAt ¶
func (x *ProjectNextItem) GetCreatedAt() DateTime
func (*ProjectNextItem) GetCreator ¶
func (x *ProjectNextItem) GetCreator() Actor
func (*ProjectNextItem) GetDatabaseId ¶
func (x *ProjectNextItem) GetDatabaseId() int
func (*ProjectNextItem) GetFieldValues ¶
func (x *ProjectNextItem) GetFieldValues() *ProjectNextItemFieldValueConnection
func (*ProjectNextItem) GetId ¶
func (x *ProjectNextItem) GetId() ID
func (*ProjectNextItem) GetIsArchived ¶
func (x *ProjectNextItem) GetIsArchived() bool
func (*ProjectNextItem) GetProject ¶
func (x *ProjectNextItem) GetProject() *ProjectNext
func (*ProjectNextItem) GetTitle ¶
func (x *ProjectNextItem) GetTitle() string
func (*ProjectNextItem) GetType ¶
func (x *ProjectNextItem) GetType() ProjectItemType
func (*ProjectNextItem) GetUpdatedAt ¶
func (x *ProjectNextItem) GetUpdatedAt() DateTime
type ProjectNextItemConnection ¶
type ProjectNextItemConnection struct {
// Edges: A list of edges.
Edges []*ProjectNextItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectNextItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectNextItemConnection (OBJECT): The connection type for ProjectNextItem.
func (*ProjectNextItemConnection) GetEdges ¶
func (x *ProjectNextItemConnection) GetEdges() []*ProjectNextItemEdge
func (*ProjectNextItemConnection) GetNodes ¶
func (x *ProjectNextItemConnection) GetNodes() []*ProjectNextItem
func (*ProjectNextItemConnection) GetPageInfo ¶
func (x *ProjectNextItemConnection) GetPageInfo() *PageInfo
func (*ProjectNextItemConnection) GetTotalCount ¶
func (x *ProjectNextItemConnection) GetTotalCount() int
type ProjectNextItemContent ¶
type ProjectNextItemContent struct {
Interface ProjectNextItemContent_Interface
}
func (*ProjectNextItemContent) MarshalJSON ¶
func (x *ProjectNextItemContent) MarshalJSON() ([]byte, error)
func (*ProjectNextItemContent) UnmarshalJSON ¶
func (x *ProjectNextItemContent) UnmarshalJSON(js []byte) error
type ProjectNextItemContent_Interface ¶
type ProjectNextItemContent_Interface interface {
// contains filtered or unexported methods
}
ProjectNextItemContent (UNION): Types that can be inside Project Items. ProjectNextItemContent_Interface: Types that can be inside Project Items.
Possible types:
- *DraftIssue
- *Issue
- *PullRequest
type ProjectNextItemEdge ¶
type ProjectNextItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectNextItem `json:"node,omitempty"`
}
ProjectNextItemEdge (OBJECT): An edge in a connection.
func (*ProjectNextItemEdge) GetCursor ¶
func (x *ProjectNextItemEdge) GetCursor() string
func (*ProjectNextItemEdge) GetNode ¶
func (x *ProjectNextItemEdge) GetNode() *ProjectNextItem
type ProjectNextItemFieldValue ¶
type ProjectNextItemFieldValue struct {
// CreatedAt: Identifies the date and time when the object was created.
//
// Deprecated: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
//
// Deprecated: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
//
// Deprecated: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// ProjectField: The project field that contains this value.
//
// Deprecated: The project field that contains this value.
ProjectField *ProjectNextField `json:"projectField,omitempty"`
// ProjectItem: The project item that contains this value.
//
// Deprecated: The project item that contains this value.
ProjectItem *ProjectNextItem `json:"projectItem,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
//
// Deprecated: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Value: The value of a field.
//
// Deprecated: The value of a field.
Value string `json:"value,omitempty"`
}
ProjectNextItemFieldValue (OBJECT): An value of a field in an item of a new Project.
func (*ProjectNextItemFieldValue) GetCreatedAt ¶
func (x *ProjectNextItemFieldValue) GetCreatedAt() DateTime
func (*ProjectNextItemFieldValue) GetCreator ¶
func (x *ProjectNextItemFieldValue) GetCreator() Actor
func (*ProjectNextItemFieldValue) GetDatabaseId ¶
func (x *ProjectNextItemFieldValue) GetDatabaseId() int
func (*ProjectNextItemFieldValue) GetId ¶
func (x *ProjectNextItemFieldValue) GetId() ID
func (*ProjectNextItemFieldValue) GetProjectField ¶
func (x *ProjectNextItemFieldValue) GetProjectField() *ProjectNextField
func (*ProjectNextItemFieldValue) GetProjectItem ¶
func (x *ProjectNextItemFieldValue) GetProjectItem() *ProjectNextItem
func (*ProjectNextItemFieldValue) GetUpdatedAt ¶
func (x *ProjectNextItemFieldValue) GetUpdatedAt() DateTime
func (*ProjectNextItemFieldValue) GetValue ¶
func (x *ProjectNextItemFieldValue) GetValue() string
type ProjectNextItemFieldValueConnection ¶
type ProjectNextItemFieldValueConnection struct {
// Edges: A list of edges.
Edges []*ProjectNextItemFieldValueEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectNextItemFieldValue `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectNextItemFieldValueConnection (OBJECT): The connection type for ProjectNextItemFieldValue.
func (*ProjectNextItemFieldValueConnection) GetEdges ¶
func (x *ProjectNextItemFieldValueConnection) GetEdges() []*ProjectNextItemFieldValueEdge
func (*ProjectNextItemFieldValueConnection) GetNodes ¶
func (x *ProjectNextItemFieldValueConnection) GetNodes() []*ProjectNextItemFieldValue
func (*ProjectNextItemFieldValueConnection) GetPageInfo ¶
func (x *ProjectNextItemFieldValueConnection) GetPageInfo() *PageInfo
func (*ProjectNextItemFieldValueConnection) GetTotalCount ¶
func (x *ProjectNextItemFieldValueConnection) GetTotalCount() int
type ProjectNextItemFieldValueEdge ¶
type ProjectNextItemFieldValueEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectNextItemFieldValue `json:"node,omitempty"`
}
ProjectNextItemFieldValueEdge (OBJECT): An edge in a connection.
func (*ProjectNextItemFieldValueEdge) GetCursor ¶
func (x *ProjectNextItemFieldValueEdge) GetCursor() string
func (*ProjectNextItemFieldValueEdge) GetNode ¶
func (x *ProjectNextItemFieldValueEdge) GetNode() *ProjectNextItemFieldValue
type ProjectNextOrderField ¶
type ProjectNextOrderField string
ProjectNextOrderField (ENUM): Properties by which the return project can be ordered.
const ProjectNextOrderField_CREATED_AT ProjectNextOrderField = "CREATED_AT"
ProjectNextOrderField_CREATED_AT: The project's date and time of creation.
const ProjectNextOrderField_NUMBER ProjectNextOrderField = "NUMBER"
ProjectNextOrderField_NUMBER: The project's number.
const ProjectNextOrderField_TITLE ProjectNextOrderField = "TITLE"
ProjectNextOrderField_TITLE: The project's title.
const ProjectNextOrderField_UPDATED_AT ProjectNextOrderField = "UPDATED_AT"
ProjectNextOrderField_UPDATED_AT: The project's date and time of update.
type ProjectNextOwner ¶
type ProjectNextOwner struct {
Interface ProjectNextOwner_Interface
}
func (*ProjectNextOwner) MarshalJSON ¶
func (x *ProjectNextOwner) MarshalJSON() ([]byte, error)
func (*ProjectNextOwner) UnmarshalJSON ¶
func (x *ProjectNextOwner) UnmarshalJSON(js []byte) error
type ProjectNextOwner_Interface ¶
type ProjectNextOwner_Interface interface {
GetId() ID
GetProjectNext() *ProjectNext
GetProjectsNext() *ProjectNextConnection
// contains filtered or unexported methods
}
ProjectNextOwner (INTERFACE): Represents an owner of a project (beta). ProjectNextOwner_Interface: Represents an owner of a project (beta).
Possible types:
- *Issue
- *Organization
- *PullRequest
- *User
type ProjectOrder ¶
type ProjectOrder struct {
// Field: The field in which to order projects by.
//
// GraphQL type: ProjectOrderField!
Field ProjectOrderField `json:"field,omitempty"`
// Direction: The direction in which to order projects by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectOrder (INPUT_OBJECT): Ways in which lists of projects can be ordered upon return.
type ProjectOrderField ¶
type ProjectOrderField string
ProjectOrderField (ENUM): Properties by which project connections can be ordered.
const ProjectOrderField_CREATED_AT ProjectOrderField = "CREATED_AT"
ProjectOrderField_CREATED_AT: Order projects by creation time.
const ProjectOrderField_NAME ProjectOrderField = "NAME"
ProjectOrderField_NAME: Order projects by name.
const ProjectOrderField_UPDATED_AT ProjectOrderField = "UPDATED_AT"
ProjectOrderField_UPDATED_AT: Order projects by update time.
type ProjectOwner ¶
type ProjectOwner struct {
Interface ProjectOwner_Interface
}
func (*ProjectOwner) MarshalJSON ¶
func (x *ProjectOwner) MarshalJSON() ([]byte, error)
func (*ProjectOwner) UnmarshalJSON ¶
func (x *ProjectOwner) UnmarshalJSON(js []byte) error
type ProjectOwner_Interface ¶
type ProjectOwner_Interface interface {
GetId() ID
GetProject() *Project
GetProjects() *ProjectConnection
GetProjectsResourcePath() URI
GetProjectsUrl() URI
GetViewerCanCreateProjects() bool
// contains filtered or unexported methods
}
ProjectOwner (INTERFACE): Represents an owner of a Project. ProjectOwner_Interface: Represents an owner of a Project.
Possible types:
- *Organization
- *Repository
- *User
type ProjectProgress ¶
type ProjectProgress struct {
// DoneCount: The number of done cards.
DoneCount int `json:"doneCount,omitempty"`
// DonePercentage: The percentage of done cards.
DonePercentage float64 `json:"donePercentage,omitempty"`
// Enabled: Whether progress tracking is enabled and cards with purpose exist for this project.
Enabled bool `json:"enabled,omitempty"`
// InProgressCount: The number of in-progress cards.
InProgressCount int `json:"inProgressCount,omitempty"`
// InProgressPercentage: The percentage of in-progress cards.
InProgressPercentage float64 `json:"inProgressPercentage,omitempty"`
// TodoCount: The number of to do cards.
TodoCount int `json:"todoCount,omitempty"`
// TodoPercentage: The percentage of to do cards.
TodoPercentage float64 `json:"todoPercentage,omitempty"`
}
ProjectProgress (OBJECT): Project progress stats.
func (*ProjectProgress) GetDoneCount ¶
func (x *ProjectProgress) GetDoneCount() int
func (*ProjectProgress) GetDonePercentage ¶
func (x *ProjectProgress) GetDonePercentage() float64
func (*ProjectProgress) GetEnabled ¶
func (x *ProjectProgress) GetEnabled() bool
func (*ProjectProgress) GetInProgressCount ¶
func (x *ProjectProgress) GetInProgressCount() int
func (*ProjectProgress) GetInProgressPercentage ¶
func (x *ProjectProgress) GetInProgressPercentage() float64
func (*ProjectProgress) GetTodoCount ¶
func (x *ProjectProgress) GetTodoCount() int
func (*ProjectProgress) GetTodoPercentage ¶
func (x *ProjectProgress) GetTodoPercentage() float64
type ProjectState ¶
type ProjectState string
ProjectState (ENUM): State of the project; either 'open' or 'closed'.
const ProjectState_CLOSED ProjectState = "CLOSED"
ProjectState_CLOSED: The project is closed.
const ProjectState_OPEN ProjectState = "OPEN"
ProjectState_OPEN: The project is open.
type ProjectTemplate ¶
type ProjectTemplate string
ProjectTemplate (ENUM): GitHub-provided templates for Projects.
const ProjectTemplate_AUTOMATED_KANBAN_V2 ProjectTemplate = "AUTOMATED_KANBAN_V2"
ProjectTemplate_AUTOMATED_KANBAN_V2: Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.
const ProjectTemplate_AUTOMATED_REVIEWS_KANBAN ProjectTemplate = "AUTOMATED_REVIEWS_KANBAN"
ProjectTemplate_AUTOMATED_REVIEWS_KANBAN: Create a board with triggers to automatically move cards across columns with review automation.
const ProjectTemplate_BASIC_KANBAN ProjectTemplate = "BASIC_KANBAN"
ProjectTemplate_BASIC_KANBAN: Create a board with columns for To do, In progress and Done.
const ProjectTemplate_BUG_TRIAGE ProjectTemplate = "BUG_TRIAGE"
ProjectTemplate_BUG_TRIAGE: Create a board to triage and prioritize bugs with To do, priority, and Done columns.
type ProjectV2 ¶
type ProjectV2 struct {
// Closed: Returns true if the project is closed.
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who originally created the project.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Field: A field of the project.
//
// Query arguments:
// - name String!
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Fields: List of fields and their constraints in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2FieldOrder
Fields *ProjectV2FieldConfigurationConnection `json:"fields,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Items: List of items in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2ItemOrder
Items *ProjectV2ItemConnection `json:"items,omitempty"`
// Number: The project's number.
Number int `json:"number,omitempty"`
// Owner: The project's owner. Currently limited to organizations and users.
Owner ProjectV2Owner `json:"owner,omitempty"`
// Public: Returns true if the project is public.
Public bool `json:"public,omitempty"`
// Readme: The project's readme.
Readme string `json:"readme,omitempty"`
// Repositories: The repositories the project is linked to.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy RepositoryOrder
Repositories *RepositoryConnection `json:"repositories,omitempty"`
// ResourcePath: The HTTP path for this project.
ResourcePath URI `json:"resourcePath,omitempty"`
// ShortDescription: The project's short description.
ShortDescription string `json:"shortDescription,omitempty"`
// Title: The project's name.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this project.
Url URI `json:"url,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// Views: List of views in the project.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2ViewOrder
Views *ProjectV2ViewConnection `json:"views,omitempty"`
}
ProjectV2 (OBJECT): New projects that manage issues, pull requests and drafts using tables and boards.
func (*ProjectV2) GetClosedAt ¶
func (*ProjectV2) GetCreatedAt ¶
func (*ProjectV2) GetCreator ¶
func (*ProjectV2) GetDatabaseId ¶
func (*ProjectV2) GetField ¶
func (x *ProjectV2) GetField() ProjectV2FieldConfiguration
func (*ProjectV2) GetFields ¶
func (x *ProjectV2) GetFields() *ProjectV2FieldConfigurationConnection
func (*ProjectV2) GetItems ¶
func (x *ProjectV2) GetItems() *ProjectV2ItemConnection
func (*ProjectV2) GetOwner ¶
func (x *ProjectV2) GetOwner() ProjectV2Owner
func (*ProjectV2) GetRepositories ¶
func (x *ProjectV2) GetRepositories() *RepositoryConnection
func (*ProjectV2) GetResourcePath ¶
func (*ProjectV2) GetShortDescription ¶
func (*ProjectV2) GetUpdatedAt ¶
func (*ProjectV2) GetViewerCanUpdate ¶
func (*ProjectV2) GetViews ¶
func (x *ProjectV2) GetViews() *ProjectV2ViewConnection
type ProjectV2Connection ¶
type ProjectV2Connection struct {
// Edges: A list of edges.
Edges []*ProjectV2Edge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectV2 `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2Connection (OBJECT): The connection type for ProjectV2.
func (*ProjectV2Connection) GetEdges ¶
func (x *ProjectV2Connection) GetEdges() []*ProjectV2Edge
func (*ProjectV2Connection) GetNodes ¶
func (x *ProjectV2Connection) GetNodes() []*ProjectV2
func (*ProjectV2Connection) GetPageInfo ¶
func (x *ProjectV2Connection) GetPageInfo() *PageInfo
func (*ProjectV2Connection) GetTotalCount ¶
func (x *ProjectV2Connection) GetTotalCount() int
type ProjectV2Edge ¶
type ProjectV2Edge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectV2 `json:"node,omitempty"`
}
ProjectV2Edge (OBJECT): An edge in a connection.
func (*ProjectV2Edge) GetCursor ¶
func (x *ProjectV2Edge) GetCursor() string
func (*ProjectV2Edge) GetNode ¶
func (x *ProjectV2Edge) GetNode() *ProjectV2
type ProjectV2Field ¶
type ProjectV2Field struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DataType: The field's type.
DataType ProjectV2FieldType `json:"dataType,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project field's name.
Name string `json:"name,omitempty"`
// Project: The project that contains this field.
Project *ProjectV2 `json:"project,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2Field (OBJECT): A field inside a project.
func (*ProjectV2Field) GetCreatedAt ¶
func (x *ProjectV2Field) GetCreatedAt() DateTime
func (*ProjectV2Field) GetDataType ¶
func (x *ProjectV2Field) GetDataType() ProjectV2FieldType
func (*ProjectV2Field) GetDatabaseId ¶
func (x *ProjectV2Field) GetDatabaseId() int
func (*ProjectV2Field) GetId ¶
func (x *ProjectV2Field) GetId() ID
func (*ProjectV2Field) GetName ¶
func (x *ProjectV2Field) GetName() string
func (*ProjectV2Field) GetProject ¶
func (x *ProjectV2Field) GetProject() *ProjectV2
func (*ProjectV2Field) GetUpdatedAt ¶
func (x *ProjectV2Field) GetUpdatedAt() DateTime
type ProjectV2FieldCommon ¶
type ProjectV2FieldCommon struct {
Interface ProjectV2FieldCommon_Interface
}
func (*ProjectV2FieldCommon) MarshalJSON ¶
func (x *ProjectV2FieldCommon) MarshalJSON() ([]byte, error)
func (*ProjectV2FieldCommon) UnmarshalJSON ¶
func (x *ProjectV2FieldCommon) UnmarshalJSON(js []byte) error
type ProjectV2FieldCommon_Interface ¶
type ProjectV2FieldCommon_Interface interface {
GetCreatedAt() DateTime
GetDataType() ProjectV2FieldType
GetDatabaseId() int
GetId() ID
GetName() string
GetProject() *ProjectV2
GetUpdatedAt() DateTime
// contains filtered or unexported methods
}
ProjectV2FieldCommon (INTERFACE): Common fields across different project field types. ProjectV2FieldCommon_Interface: Common fields across different project field types.
Possible types:
- *ProjectV2Field
- *ProjectV2IterationField
- *ProjectV2SingleSelectField
type ProjectV2FieldConfiguration ¶
type ProjectV2FieldConfiguration struct {
Interface ProjectV2FieldConfiguration_Interface
}
func (*ProjectV2FieldConfiguration) MarshalJSON ¶
func (x *ProjectV2FieldConfiguration) MarshalJSON() ([]byte, error)
func (*ProjectV2FieldConfiguration) UnmarshalJSON ¶
func (x *ProjectV2FieldConfiguration) UnmarshalJSON(js []byte) error
type ProjectV2FieldConfigurationConnection ¶
type ProjectV2FieldConfigurationConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2FieldConfigurationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []ProjectV2FieldConfiguration `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2FieldConfigurationConnection (OBJECT): The connection type for ProjectV2FieldConfiguration.
func (*ProjectV2FieldConfigurationConnection) GetEdges ¶
func (x *ProjectV2FieldConfigurationConnection) GetEdges() []*ProjectV2FieldConfigurationEdge
func (*ProjectV2FieldConfigurationConnection) GetNodes ¶
func (x *ProjectV2FieldConfigurationConnection) GetNodes() []ProjectV2FieldConfiguration
func (*ProjectV2FieldConfigurationConnection) GetPageInfo ¶
func (x *ProjectV2FieldConfigurationConnection) GetPageInfo() *PageInfo
func (*ProjectV2FieldConfigurationConnection) GetTotalCount ¶
func (x *ProjectV2FieldConfigurationConnection) GetTotalCount() int
type ProjectV2FieldConfigurationEdge ¶
type ProjectV2FieldConfigurationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node ProjectV2FieldConfiguration `json:"node,omitempty"`
}
ProjectV2FieldConfigurationEdge (OBJECT): An edge in a connection.
func (*ProjectV2FieldConfigurationEdge) GetCursor ¶
func (x *ProjectV2FieldConfigurationEdge) GetCursor() string
func (*ProjectV2FieldConfigurationEdge) GetNode ¶
func (x *ProjectV2FieldConfigurationEdge) GetNode() ProjectV2FieldConfiguration
type ProjectV2FieldConfiguration_Interface ¶
type ProjectV2FieldConfiguration_Interface interface {
// contains filtered or unexported methods
}
ProjectV2FieldConfiguration (UNION): Configurations for project fields. ProjectV2FieldConfiguration_Interface: Configurations for project fields.
Possible types:
- *ProjectV2Field
- *ProjectV2IterationField
- *ProjectV2SingleSelectField
type ProjectV2FieldConnection ¶
type ProjectV2FieldConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2FieldEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectV2Field `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2FieldConnection (OBJECT): The connection type for ProjectV2Field.
func (*ProjectV2FieldConnection) GetEdges ¶
func (x *ProjectV2FieldConnection) GetEdges() []*ProjectV2FieldEdge
func (*ProjectV2FieldConnection) GetNodes ¶
func (x *ProjectV2FieldConnection) GetNodes() []*ProjectV2Field
func (*ProjectV2FieldConnection) GetPageInfo ¶
func (x *ProjectV2FieldConnection) GetPageInfo() *PageInfo
func (*ProjectV2FieldConnection) GetTotalCount ¶
func (x *ProjectV2FieldConnection) GetTotalCount() int
type ProjectV2FieldEdge ¶
type ProjectV2FieldEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectV2Field `json:"node,omitempty"`
}
ProjectV2FieldEdge (OBJECT): An edge in a connection.
func (*ProjectV2FieldEdge) GetCursor ¶
func (x *ProjectV2FieldEdge) GetCursor() string
func (*ProjectV2FieldEdge) GetNode ¶
func (x *ProjectV2FieldEdge) GetNode() *ProjectV2Field
type ProjectV2FieldOrder ¶
type ProjectV2FieldOrder struct {
// Field: The field to order the project v2 fields by.
//
// GraphQL type: ProjectV2FieldOrderField!
Field ProjectV2FieldOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectV2FieldOrder (INPUT_OBJECT): Ordering options for project v2 field connections.
type ProjectV2FieldOrderField ¶
type ProjectV2FieldOrderField string
ProjectV2FieldOrderField (ENUM): Properties by which project v2 field connections can be ordered.
const ProjectV2FieldOrderField_CREATED_AT ProjectV2FieldOrderField = "CREATED_AT"
ProjectV2FieldOrderField_CREATED_AT: Order project v2 fields by creation time.
const ProjectV2FieldOrderField_NAME ProjectV2FieldOrderField = "NAME"
ProjectV2FieldOrderField_NAME: Order project v2 fields by name.
const ProjectV2FieldOrderField_POSITION ProjectV2FieldOrderField = "POSITION"
ProjectV2FieldOrderField_POSITION: Order project v2 fields by position.
type ProjectV2FieldType ¶
type ProjectV2FieldType string
ProjectV2FieldType (ENUM): The type of a project field.
const ProjectV2FieldType_ASSIGNEES ProjectV2FieldType = "ASSIGNEES"
ProjectV2FieldType_ASSIGNEES: Assignees.
const ProjectV2FieldType_DATE ProjectV2FieldType = "DATE"
ProjectV2FieldType_DATE: Date.
const ProjectV2FieldType_ITERATION ProjectV2FieldType = "ITERATION"
ProjectV2FieldType_ITERATION: Iteration.
const ProjectV2FieldType_LABELS ProjectV2FieldType = "LABELS"
ProjectV2FieldType_LABELS: Labels.
const ProjectV2FieldType_LINKED_PULL_REQUESTS ProjectV2FieldType = "LINKED_PULL_REQUESTS"
ProjectV2FieldType_LINKED_PULL_REQUESTS: Linked Pull Requests.
const ProjectV2FieldType_MILESTONE ProjectV2FieldType = "MILESTONE"
ProjectV2FieldType_MILESTONE: Milestone.
const ProjectV2FieldType_NUMBER ProjectV2FieldType = "NUMBER"
ProjectV2FieldType_NUMBER: Number.
const ProjectV2FieldType_REPOSITORY ProjectV2FieldType = "REPOSITORY"
ProjectV2FieldType_REPOSITORY: Repository.
const ProjectV2FieldType_REVIEWERS ProjectV2FieldType = "REVIEWERS"
ProjectV2FieldType_REVIEWERS: Reviewers.
const ProjectV2FieldType_SINGLE_SELECT ProjectV2FieldType = "SINGLE_SELECT"
ProjectV2FieldType_SINGLE_SELECT: Single Select.
const ProjectV2FieldType_TASKS ProjectV2FieldType = "TASKS"
ProjectV2FieldType_TASKS: Tasks.
const ProjectV2FieldType_TEXT ProjectV2FieldType = "TEXT"
ProjectV2FieldType_TEXT: Text.
const ProjectV2FieldType_TITLE ProjectV2FieldType = "TITLE"
ProjectV2FieldType_TITLE: Title.
type ProjectV2FieldValue ¶
type ProjectV2FieldValue struct {
// Text: The text to set on the field.
//
// GraphQL type: String
Text string `json:"text,omitempty"`
// Number: The number to set on the field.
//
// GraphQL type: Float
Number float64 `json:"number,omitempty"`
// Date: The ISO 8601 date to set on the field.
//
// GraphQL type: Date
Date Date `json:"date,omitempty"`
// SingleSelectOptionId: The id of the single select option to set on the field.
//
// GraphQL type: String
SingleSelectOptionId string `json:"singleSelectOptionId,omitempty"`
// IterationId: The id of the iteration to set on the field.
//
// GraphQL type: String
IterationId string `json:"iterationId,omitempty"`
}
ProjectV2FieldValue (INPUT_OBJECT): The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time.
type ProjectV2Item ¶
type ProjectV2Item struct {
// Content: The content of the referenced draft issue, issue, or pull request.
Content ProjectV2ItemContent `json:"content,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// FieldValueByName: A specific field value given a field name.
//
// Query arguments:
// - name String!
FieldValueByName ProjectV2ItemFieldValue `json:"fieldValueByName,omitempty"`
// FieldValues: List of field values.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2ItemFieldValueOrder
FieldValues *ProjectV2ItemFieldValueConnection `json:"fieldValues,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsArchived: Whether the item is archived.
IsArchived bool `json:"isArchived,omitempty"`
// Project: The project that contains this item.
Project *ProjectV2 `json:"project,omitempty"`
// Type: The type of the item.
Type ProjectV2ItemType `json:"type,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2Item (OBJECT): An item within a Project.
func (*ProjectV2Item) GetContent ¶
func (x *ProjectV2Item) GetContent() ProjectV2ItemContent
func (*ProjectV2Item) GetCreatedAt ¶
func (x *ProjectV2Item) GetCreatedAt() DateTime
func (*ProjectV2Item) GetCreator ¶
func (x *ProjectV2Item) GetCreator() Actor
func (*ProjectV2Item) GetDatabaseId ¶
func (x *ProjectV2Item) GetDatabaseId() int
func (*ProjectV2Item) GetFieldValueByName ¶
func (x *ProjectV2Item) GetFieldValueByName() ProjectV2ItemFieldValue
func (*ProjectV2Item) GetFieldValues ¶
func (x *ProjectV2Item) GetFieldValues() *ProjectV2ItemFieldValueConnection
func (*ProjectV2Item) GetId ¶
func (x *ProjectV2Item) GetId() ID
func (*ProjectV2Item) GetIsArchived ¶
func (x *ProjectV2Item) GetIsArchived() bool
func (*ProjectV2Item) GetProject ¶
func (x *ProjectV2Item) GetProject() *ProjectV2
func (*ProjectV2Item) GetType ¶
func (x *ProjectV2Item) GetType() ProjectV2ItemType
func (*ProjectV2Item) GetUpdatedAt ¶
func (x *ProjectV2Item) GetUpdatedAt() DateTime
type ProjectV2ItemConnection ¶
type ProjectV2ItemConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2ItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectV2Item `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2ItemConnection (OBJECT): The connection type for ProjectV2Item.
func (*ProjectV2ItemConnection) GetEdges ¶
func (x *ProjectV2ItemConnection) GetEdges() []*ProjectV2ItemEdge
func (*ProjectV2ItemConnection) GetNodes ¶
func (x *ProjectV2ItemConnection) GetNodes() []*ProjectV2Item
func (*ProjectV2ItemConnection) GetPageInfo ¶
func (x *ProjectV2ItemConnection) GetPageInfo() *PageInfo
func (*ProjectV2ItemConnection) GetTotalCount ¶
func (x *ProjectV2ItemConnection) GetTotalCount() int
type ProjectV2ItemContent ¶
type ProjectV2ItemContent struct {
Interface ProjectV2ItemContent_Interface
}
func (*ProjectV2ItemContent) MarshalJSON ¶
func (x *ProjectV2ItemContent) MarshalJSON() ([]byte, error)
func (*ProjectV2ItemContent) UnmarshalJSON ¶
func (x *ProjectV2ItemContent) UnmarshalJSON(js []byte) error
type ProjectV2ItemContent_Interface ¶
type ProjectV2ItemContent_Interface interface {
// contains filtered or unexported methods
}
ProjectV2ItemContent (UNION): Types that can be inside Project Items. ProjectV2ItemContent_Interface: Types that can be inside Project Items.
Possible types:
- *DraftIssue
- *Issue
- *PullRequest
type ProjectV2ItemEdge ¶
type ProjectV2ItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectV2Item `json:"node,omitempty"`
}
ProjectV2ItemEdge (OBJECT): An edge in a connection.
func (*ProjectV2ItemEdge) GetCursor ¶
func (x *ProjectV2ItemEdge) GetCursor() string
func (*ProjectV2ItemEdge) GetNode ¶
func (x *ProjectV2ItemEdge) GetNode() *ProjectV2Item
type ProjectV2ItemFieldDateValue ¶
type ProjectV2ItemFieldDateValue struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Date: Date value for the field.
Date Date `json:"date,omitempty"`
// Field: The project field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Item: The project item that contains this value.
Item *ProjectV2Item `json:"item,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2ItemFieldDateValue (OBJECT): The value of a date field in a Project item.
func (*ProjectV2ItemFieldDateValue) GetCreatedAt ¶
func (x *ProjectV2ItemFieldDateValue) GetCreatedAt() DateTime
func (*ProjectV2ItemFieldDateValue) GetCreator ¶
func (x *ProjectV2ItemFieldDateValue) GetCreator() Actor
func (*ProjectV2ItemFieldDateValue) GetDatabaseId ¶
func (x *ProjectV2ItemFieldDateValue) GetDatabaseId() int
func (*ProjectV2ItemFieldDateValue) GetDate ¶
func (x *ProjectV2ItemFieldDateValue) GetDate() Date
func (*ProjectV2ItemFieldDateValue) GetField ¶
func (x *ProjectV2ItemFieldDateValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldDateValue) GetId ¶
func (x *ProjectV2ItemFieldDateValue) GetId() ID
func (*ProjectV2ItemFieldDateValue) GetItem ¶
func (x *ProjectV2ItemFieldDateValue) GetItem() *ProjectV2Item
func (*ProjectV2ItemFieldDateValue) GetUpdatedAt ¶
func (x *ProjectV2ItemFieldDateValue) GetUpdatedAt() DateTime
type ProjectV2ItemFieldIterationValue ¶
type ProjectV2ItemFieldIterationValue struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Duration: The duration of the iteration in days.
Duration int `json:"duration,omitempty"`
// Field: The project field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Item: The project item that contains this value.
Item *ProjectV2Item `json:"item,omitempty"`
// IterationId: The ID of the iteration.
IterationId string `json:"iterationId,omitempty"`
// StartDate: The start date of the iteration.
StartDate Date `json:"startDate,omitempty"`
// Title: The title of the iteration.
Title string `json:"title,omitempty"`
// TitleHTML: The title of the iteration, with HTML.
TitleHTML string `json:"titleHTML,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2ItemFieldIterationValue (OBJECT): The value of an iteration field in a Project item.
func (*ProjectV2ItemFieldIterationValue) GetCreatedAt ¶
func (x *ProjectV2ItemFieldIterationValue) GetCreatedAt() DateTime
func (*ProjectV2ItemFieldIterationValue) GetCreator ¶
func (x *ProjectV2ItemFieldIterationValue) GetCreator() Actor
func (*ProjectV2ItemFieldIterationValue) GetDatabaseId ¶
func (x *ProjectV2ItemFieldIterationValue) GetDatabaseId() int
func (*ProjectV2ItemFieldIterationValue) GetDuration ¶
func (x *ProjectV2ItemFieldIterationValue) GetDuration() int
func (*ProjectV2ItemFieldIterationValue) GetField ¶
func (x *ProjectV2ItemFieldIterationValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldIterationValue) GetId ¶
func (x *ProjectV2ItemFieldIterationValue) GetId() ID
func (*ProjectV2ItemFieldIterationValue) GetItem ¶
func (x *ProjectV2ItemFieldIterationValue) GetItem() *ProjectV2Item
func (*ProjectV2ItemFieldIterationValue) GetIterationId ¶
func (x *ProjectV2ItemFieldIterationValue) GetIterationId() string
func (*ProjectV2ItemFieldIterationValue) GetStartDate ¶
func (x *ProjectV2ItemFieldIterationValue) GetStartDate() Date
func (*ProjectV2ItemFieldIterationValue) GetTitle ¶
func (x *ProjectV2ItemFieldIterationValue) GetTitle() string
func (*ProjectV2ItemFieldIterationValue) GetTitleHTML ¶
func (x *ProjectV2ItemFieldIterationValue) GetTitleHTML() string
func (*ProjectV2ItemFieldIterationValue) GetUpdatedAt ¶
func (x *ProjectV2ItemFieldIterationValue) GetUpdatedAt() DateTime
type ProjectV2ItemFieldLabelValue ¶
type ProjectV2ItemFieldLabelValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Labels: Labels value of a field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Labels *LabelConnection `json:"labels,omitempty"`
}
ProjectV2ItemFieldLabelValue (OBJECT): The value of the labels field in a Project item.
func (*ProjectV2ItemFieldLabelValue) GetField ¶
func (x *ProjectV2ItemFieldLabelValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldLabelValue) GetLabels ¶
func (x *ProjectV2ItemFieldLabelValue) GetLabels() *LabelConnection
type ProjectV2ItemFieldMilestoneValue ¶
type ProjectV2ItemFieldMilestoneValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Milestone: Milestone value of a field.
Milestone *Milestone `json:"milestone,omitempty"`
}
ProjectV2ItemFieldMilestoneValue (OBJECT): The value of a milestone field in a Project item.
func (*ProjectV2ItemFieldMilestoneValue) GetField ¶
func (x *ProjectV2ItemFieldMilestoneValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldMilestoneValue) GetMilestone ¶
func (x *ProjectV2ItemFieldMilestoneValue) GetMilestone() *Milestone
type ProjectV2ItemFieldNumberValue ¶
type ProjectV2ItemFieldNumberValue struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Field: The project field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Item: The project item that contains this value.
Item *ProjectV2Item `json:"item,omitempty"`
// Number: Number as a float(8).
Number float64 `json:"number,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2ItemFieldNumberValue (OBJECT): The value of a number field in a Project item.
func (*ProjectV2ItemFieldNumberValue) GetCreatedAt ¶
func (x *ProjectV2ItemFieldNumberValue) GetCreatedAt() DateTime
func (*ProjectV2ItemFieldNumberValue) GetCreator ¶
func (x *ProjectV2ItemFieldNumberValue) GetCreator() Actor
func (*ProjectV2ItemFieldNumberValue) GetDatabaseId ¶
func (x *ProjectV2ItemFieldNumberValue) GetDatabaseId() int
func (*ProjectV2ItemFieldNumberValue) GetField ¶
func (x *ProjectV2ItemFieldNumberValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldNumberValue) GetId ¶
func (x *ProjectV2ItemFieldNumberValue) GetId() ID
func (*ProjectV2ItemFieldNumberValue) GetItem ¶
func (x *ProjectV2ItemFieldNumberValue) GetItem() *ProjectV2Item
func (*ProjectV2ItemFieldNumberValue) GetNumber ¶
func (x *ProjectV2ItemFieldNumberValue) GetNumber() float64
func (*ProjectV2ItemFieldNumberValue) GetUpdatedAt ¶
func (x *ProjectV2ItemFieldNumberValue) GetUpdatedAt() DateTime
type ProjectV2ItemFieldPullRequestValue ¶
type ProjectV2ItemFieldPullRequestValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// PullRequests: The pull requests for this field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy PullRequestOrder
PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
}
ProjectV2ItemFieldPullRequestValue (OBJECT): The value of a pull request field in a Project item.
func (*ProjectV2ItemFieldPullRequestValue) GetField ¶
func (x *ProjectV2ItemFieldPullRequestValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldPullRequestValue) GetPullRequests ¶
func (x *ProjectV2ItemFieldPullRequestValue) GetPullRequests() *PullRequestConnection
type ProjectV2ItemFieldRepositoryValue ¶
type ProjectV2ItemFieldRepositoryValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Repository: The repository for this field.
Repository *Repository `json:"repository,omitempty"`
}
ProjectV2ItemFieldRepositoryValue (OBJECT): The value of a repository field in a Project item.
func (*ProjectV2ItemFieldRepositoryValue) GetField ¶
func (x *ProjectV2ItemFieldRepositoryValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldRepositoryValue) GetRepository ¶
func (x *ProjectV2ItemFieldRepositoryValue) GetRepository() *Repository
type ProjectV2ItemFieldReviewerValue ¶
type ProjectV2ItemFieldReviewerValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Reviewers: The reviewers for this field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Reviewers *RequestedReviewerConnection `json:"reviewers,omitempty"`
}
ProjectV2ItemFieldReviewerValue (OBJECT): The value of a reviewers field in a Project item.
func (*ProjectV2ItemFieldReviewerValue) GetField ¶
func (x *ProjectV2ItemFieldReviewerValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldReviewerValue) GetReviewers ¶
func (x *ProjectV2ItemFieldReviewerValue) GetReviewers() *RequestedReviewerConnection
type ProjectV2ItemFieldSingleSelectValue ¶
type ProjectV2ItemFieldSingleSelectValue struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Field: The project field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Item: The project item that contains this value.
Item *ProjectV2Item `json:"item,omitempty"`
// Name: The name of the selected single select option.
Name string `json:"name,omitempty"`
// NameHTML: The html name of the selected single select option.
NameHTML string `json:"nameHTML,omitempty"`
// OptionId: The id of the selected single select option.
OptionId string `json:"optionId,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2ItemFieldSingleSelectValue (OBJECT): The value of a single select field in a Project item.
func (*ProjectV2ItemFieldSingleSelectValue) GetCreatedAt ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetCreatedAt() DateTime
func (*ProjectV2ItemFieldSingleSelectValue) GetCreator ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetCreator() Actor
func (*ProjectV2ItemFieldSingleSelectValue) GetDatabaseId ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetDatabaseId() int
func (*ProjectV2ItemFieldSingleSelectValue) GetField ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldSingleSelectValue) GetId ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetId() ID
func (*ProjectV2ItemFieldSingleSelectValue) GetItem ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetItem() *ProjectV2Item
func (*ProjectV2ItemFieldSingleSelectValue) GetName ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetName() string
func (*ProjectV2ItemFieldSingleSelectValue) GetNameHTML ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetNameHTML() string
func (*ProjectV2ItemFieldSingleSelectValue) GetOptionId ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetOptionId() string
func (*ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt ¶
func (x *ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt() DateTime
type ProjectV2ItemFieldTextValue ¶
type ProjectV2ItemFieldTextValue struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created the item.
Creator Actor `json:"creator,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Field: The project field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Item: The project item that contains this value.
Item *ProjectV2Item `json:"item,omitempty"`
// Text: Text value of a field.
Text string `json:"text,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2ItemFieldTextValue (OBJECT): The value of a text field in a Project item.
func (*ProjectV2ItemFieldTextValue) GetCreatedAt ¶
func (x *ProjectV2ItemFieldTextValue) GetCreatedAt() DateTime
func (*ProjectV2ItemFieldTextValue) GetCreator ¶
func (x *ProjectV2ItemFieldTextValue) GetCreator() Actor
func (*ProjectV2ItemFieldTextValue) GetDatabaseId ¶
func (x *ProjectV2ItemFieldTextValue) GetDatabaseId() int
func (*ProjectV2ItemFieldTextValue) GetField ¶
func (x *ProjectV2ItemFieldTextValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldTextValue) GetId ¶
func (x *ProjectV2ItemFieldTextValue) GetId() ID
func (*ProjectV2ItemFieldTextValue) GetItem ¶
func (x *ProjectV2ItemFieldTextValue) GetItem() *ProjectV2Item
func (*ProjectV2ItemFieldTextValue) GetText ¶
func (x *ProjectV2ItemFieldTextValue) GetText() string
func (*ProjectV2ItemFieldTextValue) GetUpdatedAt ¶
func (x *ProjectV2ItemFieldTextValue) GetUpdatedAt() DateTime
type ProjectV2ItemFieldUserValue ¶
type ProjectV2ItemFieldUserValue struct {
// Field: The field that contains this value.
Field ProjectV2FieldConfiguration `json:"field,omitempty"`
// Users: The users for this field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Users *UserConnection `json:"users,omitempty"`
}
ProjectV2ItemFieldUserValue (OBJECT): The value of a user field in a Project item.
func (*ProjectV2ItemFieldUserValue) GetField ¶
func (x *ProjectV2ItemFieldUserValue) GetField() ProjectV2FieldConfiguration
func (*ProjectV2ItemFieldUserValue) GetUsers ¶
func (x *ProjectV2ItemFieldUserValue) GetUsers() *UserConnection
type ProjectV2ItemFieldValue ¶
type ProjectV2ItemFieldValue struct {
Interface ProjectV2ItemFieldValue_Interface
}
func (*ProjectV2ItemFieldValue) MarshalJSON ¶
func (x *ProjectV2ItemFieldValue) MarshalJSON() ([]byte, error)
func (*ProjectV2ItemFieldValue) UnmarshalJSON ¶
func (x *ProjectV2ItemFieldValue) UnmarshalJSON(js []byte) error
type ProjectV2ItemFieldValueCommon ¶
type ProjectV2ItemFieldValueCommon struct {
Interface ProjectV2ItemFieldValueCommon_Interface
}
func (*ProjectV2ItemFieldValueCommon) MarshalJSON ¶
func (x *ProjectV2ItemFieldValueCommon) MarshalJSON() ([]byte, error)
func (*ProjectV2ItemFieldValueCommon) UnmarshalJSON ¶
func (x *ProjectV2ItemFieldValueCommon) UnmarshalJSON(js []byte) error
type ProjectV2ItemFieldValueCommon_Interface ¶
type ProjectV2ItemFieldValueCommon_Interface interface {
GetCreatedAt() DateTime
GetCreator() Actor
GetDatabaseId() int
GetField() ProjectV2FieldConfiguration
GetId() ID
GetItem() *ProjectV2Item
GetUpdatedAt() DateTime
// contains filtered or unexported methods
}
ProjectV2ItemFieldValueCommon (INTERFACE): Common fields across different project field value types. ProjectV2ItemFieldValueCommon_Interface: Common fields across different project field value types.
Possible types:
- *ProjectV2ItemFieldDateValue
- *ProjectV2ItemFieldIterationValue
- *ProjectV2ItemFieldNumberValue
- *ProjectV2ItemFieldSingleSelectValue
- *ProjectV2ItemFieldTextValue
type ProjectV2ItemFieldValueConnection ¶
type ProjectV2ItemFieldValueConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2ItemFieldValueEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []ProjectV2ItemFieldValue `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2ItemFieldValueConnection (OBJECT): The connection type for ProjectV2ItemFieldValue.
func (*ProjectV2ItemFieldValueConnection) GetEdges ¶
func (x *ProjectV2ItemFieldValueConnection) GetEdges() []*ProjectV2ItemFieldValueEdge
func (*ProjectV2ItemFieldValueConnection) GetNodes ¶
func (x *ProjectV2ItemFieldValueConnection) GetNodes() []ProjectV2ItemFieldValue
func (*ProjectV2ItemFieldValueConnection) GetPageInfo ¶
func (x *ProjectV2ItemFieldValueConnection) GetPageInfo() *PageInfo
func (*ProjectV2ItemFieldValueConnection) GetTotalCount ¶
func (x *ProjectV2ItemFieldValueConnection) GetTotalCount() int
type ProjectV2ItemFieldValueEdge ¶
type ProjectV2ItemFieldValueEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node ProjectV2ItemFieldValue `json:"node,omitempty"`
}
ProjectV2ItemFieldValueEdge (OBJECT): An edge in a connection.
func (*ProjectV2ItemFieldValueEdge) GetCursor ¶
func (x *ProjectV2ItemFieldValueEdge) GetCursor() string
func (*ProjectV2ItemFieldValueEdge) GetNode ¶
func (x *ProjectV2ItemFieldValueEdge) GetNode() ProjectV2ItemFieldValue
type ProjectV2ItemFieldValueOrder ¶
type ProjectV2ItemFieldValueOrder struct {
// Field: The field to order the project v2 item field values by.
//
// GraphQL type: ProjectV2ItemFieldValueOrderField!
Field ProjectV2ItemFieldValueOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectV2ItemFieldValueOrder (INPUT_OBJECT): Ordering options for project v2 item field value connections.
type ProjectV2ItemFieldValueOrderField ¶
type ProjectV2ItemFieldValueOrderField string
ProjectV2ItemFieldValueOrderField (ENUM): Properties by which project v2 item field value connections can be ordered.
const ProjectV2ItemFieldValueOrderField_POSITION ProjectV2ItemFieldValueOrderField = "POSITION"
ProjectV2ItemFieldValueOrderField_POSITION: Order project v2 item field values by the their position in the project.
type ProjectV2ItemFieldValue_Interface ¶
type ProjectV2ItemFieldValue_Interface interface {
// contains filtered or unexported methods
}
ProjectV2ItemFieldValue (UNION): Project field values. ProjectV2ItemFieldValue_Interface: Project field values.
Possible types:
- *ProjectV2ItemFieldDateValue
- *ProjectV2ItemFieldIterationValue
- *ProjectV2ItemFieldLabelValue
- *ProjectV2ItemFieldMilestoneValue
- *ProjectV2ItemFieldNumberValue
- *ProjectV2ItemFieldPullRequestValue
- *ProjectV2ItemFieldRepositoryValue
- *ProjectV2ItemFieldReviewerValue
- *ProjectV2ItemFieldSingleSelectValue
- *ProjectV2ItemFieldTextValue
- *ProjectV2ItemFieldUserValue
type ProjectV2ItemOrder ¶
type ProjectV2ItemOrder struct {
// Field: The field to order the project v2 items by.
//
// GraphQL type: ProjectV2ItemOrderField!
Field ProjectV2ItemOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectV2ItemOrder (INPUT_OBJECT): Ordering options for project v2 item connections.
type ProjectV2ItemOrderField ¶
type ProjectV2ItemOrderField string
ProjectV2ItemOrderField (ENUM): Properties by which project v2 item connections can be ordered.
const ProjectV2ItemOrderField_POSITION ProjectV2ItemOrderField = "POSITION"
ProjectV2ItemOrderField_POSITION: Order project v2 items by the their position in the project.
type ProjectV2ItemType ¶
type ProjectV2ItemType string
ProjectV2ItemType (ENUM): The type of a project item.
const ProjectV2ItemType_DRAFT_ISSUE ProjectV2ItemType = "DRAFT_ISSUE"
ProjectV2ItemType_DRAFT_ISSUE: Draft Issue.
const ProjectV2ItemType_ISSUE ProjectV2ItemType = "ISSUE"
ProjectV2ItemType_ISSUE: Issue.
const ProjectV2ItemType_PULL_REQUEST ProjectV2ItemType = "PULL_REQUEST"
ProjectV2ItemType_PULL_REQUEST: Pull Request.
const ProjectV2ItemType_REDACTED ProjectV2ItemType = "REDACTED"
ProjectV2ItemType_REDACTED: Redacted Item.
type ProjectV2IterationField ¶
type ProjectV2IterationField struct {
// Configuration: Iteration configuration settings.
Configuration *ProjectV2IterationFieldConfiguration `json:"configuration,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DataType: The field's type.
DataType ProjectV2FieldType `json:"dataType,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project field's name.
Name string `json:"name,omitempty"`
// Project: The project that contains this field.
Project *ProjectV2 `json:"project,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2IterationField (OBJECT): An iteration field inside a project.
func (*ProjectV2IterationField) GetConfiguration ¶
func (x *ProjectV2IterationField) GetConfiguration() *ProjectV2IterationFieldConfiguration
func (*ProjectV2IterationField) GetCreatedAt ¶
func (x *ProjectV2IterationField) GetCreatedAt() DateTime
func (*ProjectV2IterationField) GetDataType ¶
func (x *ProjectV2IterationField) GetDataType() ProjectV2FieldType
func (*ProjectV2IterationField) GetDatabaseId ¶
func (x *ProjectV2IterationField) GetDatabaseId() int
func (*ProjectV2IterationField) GetId ¶
func (x *ProjectV2IterationField) GetId() ID
func (*ProjectV2IterationField) GetName ¶
func (x *ProjectV2IterationField) GetName() string
func (*ProjectV2IterationField) GetProject ¶
func (x *ProjectV2IterationField) GetProject() *ProjectV2
func (*ProjectV2IterationField) GetUpdatedAt ¶
func (x *ProjectV2IterationField) GetUpdatedAt() DateTime
type ProjectV2IterationFieldConfiguration ¶
type ProjectV2IterationFieldConfiguration struct {
// CompletedIterations: The iteration's completed iterations.
CompletedIterations []*ProjectV2IterationFieldIteration `json:"completedIterations,omitempty"`
// Duration: The iteration's duration in days.
Duration int `json:"duration,omitempty"`
// Iterations: The iteration's iterations.
Iterations []*ProjectV2IterationFieldIteration `json:"iterations,omitempty"`
// StartDay: The iteration's start day of the week.
StartDay int `json:"startDay,omitempty"`
}
ProjectV2IterationFieldConfiguration (OBJECT): Iteration field configuration for a project.
func (*ProjectV2IterationFieldConfiguration) GetCompletedIterations ¶
func (x *ProjectV2IterationFieldConfiguration) GetCompletedIterations() []*ProjectV2IterationFieldIteration
func (*ProjectV2IterationFieldConfiguration) GetDuration ¶
func (x *ProjectV2IterationFieldConfiguration) GetDuration() int
func (*ProjectV2IterationFieldConfiguration) GetIterations ¶
func (x *ProjectV2IterationFieldConfiguration) GetIterations() []*ProjectV2IterationFieldIteration
func (*ProjectV2IterationFieldConfiguration) GetStartDay ¶
func (x *ProjectV2IterationFieldConfiguration) GetStartDay() int
type ProjectV2IterationFieldIteration ¶
type ProjectV2IterationFieldIteration struct {
// Duration: The iteration's duration in days.
Duration int `json:"duration,omitempty"`
// Id: The iteration's ID.
Id string `json:"id,omitempty"`
// StartDate: The iteration's start date.
StartDate Date `json:"startDate,omitempty"`
// Title: The iteration's title.
Title string `json:"title,omitempty"`
// TitleHTML: The iteration's html title.
TitleHTML string `json:"titleHTML,omitempty"`
}
ProjectV2IterationFieldIteration (OBJECT): Iteration field iteration settings for a project.
func (*ProjectV2IterationFieldIteration) GetDuration ¶
func (x *ProjectV2IterationFieldIteration) GetDuration() int
func (*ProjectV2IterationFieldIteration) GetId ¶
func (x *ProjectV2IterationFieldIteration) GetId() string
func (*ProjectV2IterationFieldIteration) GetStartDate ¶
func (x *ProjectV2IterationFieldIteration) GetStartDate() Date
func (*ProjectV2IterationFieldIteration) GetTitle ¶
func (x *ProjectV2IterationFieldIteration) GetTitle() string
func (*ProjectV2IterationFieldIteration) GetTitleHTML ¶
func (x *ProjectV2IterationFieldIteration) GetTitleHTML() string
type ProjectV2Order ¶
type ProjectV2Order struct {
// Field: The field in which to order projects by.
//
// GraphQL type: ProjectV2OrderField!
Field ProjectV2OrderField `json:"field,omitempty"`
// Direction: The direction in which to order projects by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectV2Order (INPUT_OBJECT): Ways in which lists of projects can be ordered upon return.
type ProjectV2OrderField ¶
type ProjectV2OrderField string
ProjectV2OrderField (ENUM): Properties by which projects can be ordered.
const ProjectV2OrderField_CREATED_AT ProjectV2OrderField = "CREATED_AT"
ProjectV2OrderField_CREATED_AT: The project's date and time of creation.
const ProjectV2OrderField_NUMBER ProjectV2OrderField = "NUMBER"
ProjectV2OrderField_NUMBER: The project's number.
const ProjectV2OrderField_TITLE ProjectV2OrderField = "TITLE"
ProjectV2OrderField_TITLE: The project's title.
const ProjectV2OrderField_UPDATED_AT ProjectV2OrderField = "UPDATED_AT"
ProjectV2OrderField_UPDATED_AT: The project's date and time of update.
type ProjectV2Owner ¶
type ProjectV2Owner struct {
Interface ProjectV2Owner_Interface
}
func (*ProjectV2Owner) MarshalJSON ¶
func (x *ProjectV2Owner) MarshalJSON() ([]byte, error)
func (*ProjectV2Owner) UnmarshalJSON ¶
func (x *ProjectV2Owner) UnmarshalJSON(js []byte) error
type ProjectV2Owner_Interface ¶
type ProjectV2Owner_Interface interface {
GetId() ID
GetProjectV2() *ProjectV2
GetProjectsV2() *ProjectV2Connection
// contains filtered or unexported methods
}
ProjectV2Owner (INTERFACE): Represents an owner of a project (beta). ProjectV2Owner_Interface: Represents an owner of a project (beta).
Possible types:
- *Issue
- *Organization
- *PullRequest
- *User
type ProjectV2Recent ¶
type ProjectV2Recent struct {
Interface ProjectV2Recent_Interface
}
func (*ProjectV2Recent) MarshalJSON ¶
func (x *ProjectV2Recent) MarshalJSON() ([]byte, error)
func (*ProjectV2Recent) UnmarshalJSON ¶
func (x *ProjectV2Recent) UnmarshalJSON(js []byte) error
type ProjectV2Recent_Interface ¶
type ProjectV2Recent_Interface interface {
GetRecentProjects() *ProjectV2Connection
// contains filtered or unexported methods
}
ProjectV2Recent (INTERFACE): Recent projects for the owner. ProjectV2Recent_Interface: Recent projects for the owner.
Possible types:
- *Organization
- *Repository
- *User
type ProjectV2SingleSelectField ¶
type ProjectV2SingleSelectField struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DataType: The field's type.
DataType ProjectV2FieldType `json:"dataType,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The project field's name.
Name string `json:"name,omitempty"`
// Options: Options for the single select field.
Options []*ProjectV2SingleSelectFieldOption `json:"options,omitempty"`
// Project: The project that contains this field.
Project *ProjectV2 `json:"project,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
ProjectV2SingleSelectField (OBJECT): A single select field inside a project.
func (*ProjectV2SingleSelectField) GetCreatedAt ¶
func (x *ProjectV2SingleSelectField) GetCreatedAt() DateTime
func (*ProjectV2SingleSelectField) GetDataType ¶
func (x *ProjectV2SingleSelectField) GetDataType() ProjectV2FieldType
func (*ProjectV2SingleSelectField) GetDatabaseId ¶
func (x *ProjectV2SingleSelectField) GetDatabaseId() int
func (*ProjectV2SingleSelectField) GetId ¶
func (x *ProjectV2SingleSelectField) GetId() ID
func (*ProjectV2SingleSelectField) GetName ¶
func (x *ProjectV2SingleSelectField) GetName() string
func (*ProjectV2SingleSelectField) GetOptions ¶
func (x *ProjectV2SingleSelectField) GetOptions() []*ProjectV2SingleSelectFieldOption
func (*ProjectV2SingleSelectField) GetProject ¶
func (x *ProjectV2SingleSelectField) GetProject() *ProjectV2
func (*ProjectV2SingleSelectField) GetUpdatedAt ¶
func (x *ProjectV2SingleSelectField) GetUpdatedAt() DateTime
type ProjectV2SingleSelectFieldOption ¶
type ProjectV2SingleSelectFieldOption struct {
// Id: The option's ID.
Id string `json:"id,omitempty"`
// Name: The option's name.
Name string `json:"name,omitempty"`
// NameHTML: The option's html name.
NameHTML string `json:"nameHTML,omitempty"`
}
ProjectV2SingleSelectFieldOption (OBJECT): Single select field option for a configuration for a project.
func (*ProjectV2SingleSelectFieldOption) GetId ¶
func (x *ProjectV2SingleSelectFieldOption) GetId() string
func (*ProjectV2SingleSelectFieldOption) GetName ¶
func (x *ProjectV2SingleSelectFieldOption) GetName() string
func (*ProjectV2SingleSelectFieldOption) GetNameHTML ¶
func (x *ProjectV2SingleSelectFieldOption) GetNameHTML() string
type ProjectV2SortBy ¶
type ProjectV2SortBy struct {
// Direction: The direction of the sorting. Possible values are ASC and DESC.
Direction OrderDirection `json:"direction,omitempty"`
// Field: The field by which items are sorted.
Field *ProjectV2Field `json:"field,omitempty"`
}
ProjectV2SortBy (OBJECT): Represents a sort by field and direction.
func (*ProjectV2SortBy) GetDirection ¶
func (x *ProjectV2SortBy) GetDirection() OrderDirection
func (*ProjectV2SortBy) GetField ¶
func (x *ProjectV2SortBy) GetField() *ProjectV2Field
type ProjectV2SortByConnection ¶
type ProjectV2SortByConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2SortByEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectV2SortBy `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2SortByConnection (OBJECT): The connection type for ProjectV2SortBy.
func (*ProjectV2SortByConnection) GetEdges ¶
func (x *ProjectV2SortByConnection) GetEdges() []*ProjectV2SortByEdge
func (*ProjectV2SortByConnection) GetNodes ¶
func (x *ProjectV2SortByConnection) GetNodes() []*ProjectV2SortBy
func (*ProjectV2SortByConnection) GetPageInfo ¶
func (x *ProjectV2SortByConnection) GetPageInfo() *PageInfo
func (*ProjectV2SortByConnection) GetTotalCount ¶
func (x *ProjectV2SortByConnection) GetTotalCount() int
type ProjectV2SortByEdge ¶
type ProjectV2SortByEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectV2SortBy `json:"node,omitempty"`
}
ProjectV2SortByEdge (OBJECT): An edge in a connection.
func (*ProjectV2SortByEdge) GetCursor ¶
func (x *ProjectV2SortByEdge) GetCursor() string
func (*ProjectV2SortByEdge) GetNode ¶
func (x *ProjectV2SortByEdge) GetNode() *ProjectV2SortBy
type ProjectV2View ¶
type ProjectV2View struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Filter: The project view's filter.
Filter string `json:"filter,omitempty"`
// GroupBy: The view's group-by field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2FieldOrder
GroupBy *ProjectV2FieldConnection `json:"groupBy,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Layout: The project view's layout.
Layout ProjectV2ViewLayout `json:"layout,omitempty"`
// Name: The project view's name.
Name string `json:"name,omitempty"`
// Number: The project view's number.
Number int `json:"number,omitempty"`
// Project: The project that contains this view.
Project *ProjectV2 `json:"project,omitempty"`
// SortBy: The view's sort-by config.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
SortBy *ProjectV2SortByConnection `json:"sortBy,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// VerticalGroupBy: The view's vertical-group-by field.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2FieldOrder
VerticalGroupBy *ProjectV2FieldConnection `json:"verticalGroupBy,omitempty"`
// VisibleFields: The view's visible fields.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ProjectV2FieldOrder
VisibleFields *ProjectV2FieldConnection `json:"visibleFields,omitempty"`
}
ProjectV2View (OBJECT): A view within a ProjectV2.
func (*ProjectV2View) GetCreatedAt ¶
func (x *ProjectV2View) GetCreatedAt() DateTime
func (*ProjectV2View) GetDatabaseId ¶
func (x *ProjectV2View) GetDatabaseId() int
func (*ProjectV2View) GetFilter ¶
func (x *ProjectV2View) GetFilter() string
func (*ProjectV2View) GetGroupBy ¶
func (x *ProjectV2View) GetGroupBy() *ProjectV2FieldConnection
func (*ProjectV2View) GetId ¶
func (x *ProjectV2View) GetId() ID
func (*ProjectV2View) GetLayout ¶
func (x *ProjectV2View) GetLayout() ProjectV2ViewLayout
func (*ProjectV2View) GetName ¶
func (x *ProjectV2View) GetName() string
func (*ProjectV2View) GetNumber ¶
func (x *ProjectV2View) GetNumber() int
func (*ProjectV2View) GetProject ¶
func (x *ProjectV2View) GetProject() *ProjectV2
func (*ProjectV2View) GetSortBy ¶
func (x *ProjectV2View) GetSortBy() *ProjectV2SortByConnection
func (*ProjectV2View) GetUpdatedAt ¶
func (x *ProjectV2View) GetUpdatedAt() DateTime
func (*ProjectV2View) GetVerticalGroupBy ¶
func (x *ProjectV2View) GetVerticalGroupBy() *ProjectV2FieldConnection
func (*ProjectV2View) GetVisibleFields ¶
func (x *ProjectV2View) GetVisibleFields() *ProjectV2FieldConnection
type ProjectV2ViewConnection ¶
type ProjectV2ViewConnection struct {
// Edges: A list of edges.
Edges []*ProjectV2ViewEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectV2View `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectV2ViewConnection (OBJECT): The connection type for ProjectV2View.
func (*ProjectV2ViewConnection) GetEdges ¶
func (x *ProjectV2ViewConnection) GetEdges() []*ProjectV2ViewEdge
func (*ProjectV2ViewConnection) GetNodes ¶
func (x *ProjectV2ViewConnection) GetNodes() []*ProjectV2View
func (*ProjectV2ViewConnection) GetPageInfo ¶
func (x *ProjectV2ViewConnection) GetPageInfo() *PageInfo
func (*ProjectV2ViewConnection) GetTotalCount ¶
func (x *ProjectV2ViewConnection) GetTotalCount() int
type ProjectV2ViewEdge ¶
type ProjectV2ViewEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectV2View `json:"node,omitempty"`
}
ProjectV2ViewEdge (OBJECT): An edge in a connection.
func (*ProjectV2ViewEdge) GetCursor ¶
func (x *ProjectV2ViewEdge) GetCursor() string
func (*ProjectV2ViewEdge) GetNode ¶
func (x *ProjectV2ViewEdge) GetNode() *ProjectV2View
type ProjectV2ViewLayout ¶
type ProjectV2ViewLayout string
ProjectV2ViewLayout (ENUM): The layout of a project v2 view.
const ProjectV2ViewLayout_BOARD_LAYOUT ProjectV2ViewLayout = "BOARD_LAYOUT"
ProjectV2ViewLayout_BOARD_LAYOUT: Board layout.
const ProjectV2ViewLayout_TABLE_LAYOUT ProjectV2ViewLayout = "TABLE_LAYOUT"
ProjectV2ViewLayout_TABLE_LAYOUT: Table layout.
type ProjectV2ViewOrder ¶
type ProjectV2ViewOrder struct {
// Field: The field to order the project v2 views by.
//
// GraphQL type: ProjectV2ViewOrderField!
Field ProjectV2ViewOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ProjectV2ViewOrder (INPUT_OBJECT): Ordering options for project v2 view connections.
type ProjectV2ViewOrderField ¶
type ProjectV2ViewOrderField string
ProjectV2ViewOrderField (ENUM): Properties by which project v2 view connections can be ordered.
const ProjectV2ViewOrderField_CREATED_AT ProjectV2ViewOrderField = "CREATED_AT"
ProjectV2ViewOrderField_CREATED_AT: Order project v2 views by creation time.
const ProjectV2ViewOrderField_NAME ProjectV2ViewOrderField = "NAME"
ProjectV2ViewOrderField_NAME: Order project v2 views by name.
const ProjectV2ViewOrderField_POSITION ProjectV2ViewOrderField = "POSITION"
ProjectV2ViewOrderField_POSITION: Order project v2 views by position.
type ProjectView ¶
type ProjectView struct {
// CreatedAt: Identifies the date and time when the object was created.
//
// Deprecated: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
//
// Deprecated: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Filter: The project view's filter.
//
// Deprecated: The project view's filter.
Filter string `json:"filter,omitempty"`
// GroupBy: The view's group-by field.
//
// Deprecated: The view's group-by field.
GroupBy []int `json:"groupBy,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Layout: The project view's layout.
//
// Deprecated: The project view's layout.
Layout ProjectViewLayout `json:"layout,omitempty"`
// Name: The project view's name.
//
// Deprecated: The project view's name.
Name string `json:"name,omitempty"`
// Number: The project view's number.
//
// Deprecated: The project view's number.
Number int `json:"number,omitempty"`
// Project: The project that contains this view.
//
// Deprecated: The project that contains this view.
Project *ProjectNext `json:"project,omitempty"`
// SortBy: The view's sort-by config.
//
// Deprecated: The view's sort-by config.
SortBy []*SortBy `json:"sortBy,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
//
// Deprecated: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// VerticalGroupBy: The view's vertical-group-by field.
//
// Deprecated: The view's vertical-group-by field.
VerticalGroupBy []int `json:"verticalGroupBy,omitempty"`
// VisibleFields: The view's visible fields.
//
// Deprecated: The view's visible fields.
VisibleFields []int `json:"visibleFields,omitempty"`
}
ProjectView (OBJECT): A view within a Project.
func (*ProjectView) GetCreatedAt ¶
func (x *ProjectView) GetCreatedAt() DateTime
func (*ProjectView) GetDatabaseId ¶
func (x *ProjectView) GetDatabaseId() int
func (*ProjectView) GetFilter ¶
func (x *ProjectView) GetFilter() string
func (*ProjectView) GetGroupBy ¶
func (x *ProjectView) GetGroupBy() []int
func (*ProjectView) GetId ¶
func (x *ProjectView) GetId() ID
func (*ProjectView) GetLayout ¶
func (x *ProjectView) GetLayout() ProjectViewLayout
func (*ProjectView) GetName ¶
func (x *ProjectView) GetName() string
func (*ProjectView) GetNumber ¶
func (x *ProjectView) GetNumber() int
func (*ProjectView) GetProject ¶
func (x *ProjectView) GetProject() *ProjectNext
func (*ProjectView) GetSortBy ¶
func (x *ProjectView) GetSortBy() []*SortBy
func (*ProjectView) GetUpdatedAt ¶
func (x *ProjectView) GetUpdatedAt() DateTime
func (*ProjectView) GetVerticalGroupBy ¶
func (x *ProjectView) GetVerticalGroupBy() []int
func (*ProjectView) GetVisibleFields ¶
func (x *ProjectView) GetVisibleFields() []int
type ProjectViewConnection ¶
type ProjectViewConnection struct {
// Edges: A list of edges.
Edges []*ProjectViewEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ProjectView `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ProjectViewConnection (OBJECT): The connection type for ProjectView.
func (*ProjectViewConnection) GetEdges ¶
func (x *ProjectViewConnection) GetEdges() []*ProjectViewEdge
func (*ProjectViewConnection) GetNodes ¶
func (x *ProjectViewConnection) GetNodes() []*ProjectView
func (*ProjectViewConnection) GetPageInfo ¶
func (x *ProjectViewConnection) GetPageInfo() *PageInfo
func (*ProjectViewConnection) GetTotalCount ¶
func (x *ProjectViewConnection) GetTotalCount() int
type ProjectViewEdge ¶
type ProjectViewEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ProjectView `json:"node,omitempty"`
}
ProjectViewEdge (OBJECT): An edge in a connection.
func (*ProjectViewEdge) GetCursor ¶
func (x *ProjectViewEdge) GetCursor() string
func (*ProjectViewEdge) GetNode ¶
func (x *ProjectViewEdge) GetNode() *ProjectView
type ProjectViewLayout ¶
type ProjectViewLayout string
ProjectViewLayout (ENUM): The layout of a project view.
const ProjectViewLayout_BOARD_LAYOUT ProjectViewLayout = "BOARD_LAYOUT"
ProjectViewLayout_BOARD_LAYOUT: Board layout.
const ProjectViewLayout_TABLE_LAYOUT ProjectViewLayout = "TABLE_LAYOUT"
ProjectViewLayout_TABLE_LAYOUT: Table layout.
type PublicKey ¶
type PublicKey struct {
// AccessedAt: The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.
AccessedAt DateTime `json:"accessedAt,omitempty"`
// CreatedAt: Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Fingerprint: The fingerprint for this PublicKey.
Fingerprint string `json:"fingerprint,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsReadOnly: Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.
IsReadOnly bool `json:"isReadOnly,omitempty"`
// Key: The public key string.
Key string `json:"key,omitempty"`
// UpdatedAt: Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
PublicKey (OBJECT): A user's public key.
func (*PublicKey) GetAccessedAt ¶
func (*PublicKey) GetCreatedAt ¶
func (*PublicKey) GetFingerprint ¶
func (*PublicKey) GetIsReadOnly ¶
func (*PublicKey) GetUpdatedAt ¶
type PublicKeyConnection ¶
type PublicKeyConnection struct {
// Edges: A list of edges.
Edges []*PublicKeyEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PublicKey `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PublicKeyConnection (OBJECT): The connection type for PublicKey.
func (*PublicKeyConnection) GetEdges ¶
func (x *PublicKeyConnection) GetEdges() []*PublicKeyEdge
func (*PublicKeyConnection) GetNodes ¶
func (x *PublicKeyConnection) GetNodes() []*PublicKey
func (*PublicKeyConnection) GetPageInfo ¶
func (x *PublicKeyConnection) GetPageInfo() *PageInfo
func (*PublicKeyConnection) GetTotalCount ¶
func (x *PublicKeyConnection) GetTotalCount() int
type PublicKeyEdge ¶
type PublicKeyEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PublicKey `json:"node,omitempty"`
}
PublicKeyEdge (OBJECT): An edge in a connection.
func (*PublicKeyEdge) GetCursor ¶
func (x *PublicKeyEdge) GetCursor() string
func (*PublicKeyEdge) GetNode ¶
func (x *PublicKeyEdge) GetNode() *PublicKey
type PullRequest ¶
type PullRequest struct {
// ActiveLockReason: Reason that the conversation was locked.
ActiveLockReason LockReason `json:"activeLockReason,omitempty"`
// Additions: The number of additions in this pull request.
Additions int `json:"additions,omitempty"`
// Assignees: A list of Users assigned to this object.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Assignees *UserConnection `json:"assignees,omitempty"`
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// AutoMergeRequest: Returns the auto-merge request object if one exists for this pull request.
AutoMergeRequest *AutoMergeRequest `json:"autoMergeRequest,omitempty"`
// BaseRef: Identifies the base Ref associated with the pull request.
BaseRef *Ref `json:"baseRef,omitempty"`
// BaseRefName: Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
BaseRefName string `json:"baseRefName,omitempty"`
// BaseRefOid: Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.
BaseRefOid GitObjectID `json:"baseRefOid,omitempty"`
// BaseRepository: The repository associated with this pull request's base Ref.
BaseRepository *Repository `json:"baseRepository,omitempty"`
// Body: The body as Markdown.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// ChangedFiles: The number of changed files in this pull request.
ChangedFiles int `json:"changedFiles,omitempty"`
// ChecksResourcePath: The HTTP path for the checks of this pull request.
ChecksResourcePath URI `json:"checksResourcePath,omitempty"`
// ChecksUrl: The HTTP URL for the checks of this pull request.
ChecksUrl URI `json:"checksUrl,omitempty"`
// Closed: `true` if the pull request is closed.
Closed bool `json:"closed,omitempty"`
// ClosedAt: Identifies the date and time when the object was closed.
ClosedAt DateTime `json:"closedAt,omitempty"`
// ClosingIssuesReferences: List of issues that were may be closed by this pull request.
//
// Query arguments:
// - userLinkedOnly Boolean
// - after String
// - before String
// - first Int
// - last Int
// - orderBy IssueOrder
ClosingIssuesReferences *IssueConnection `json:"closingIssuesReferences,omitempty"`
// Comments: A list of comments associated with the pull request.
//
// Query arguments:
// - orderBy IssueCommentOrder
// - after String
// - before String
// - first Int
// - last Int
Comments *IssueCommentConnection `json:"comments,omitempty"`
// Commits: A list of commits present in this pull request's head branch not present in the base branch.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Commits *PullRequestCommitConnection `json:"commits,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Deletions: The number of deletions in this pull request.
Deletions int `json:"deletions,omitempty"`
// Editor: The actor who edited this pull request's body.
Editor Actor `json:"editor,omitempty"`
// Files: Lists the files changed within this pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Files *PullRequestChangedFileConnection `json:"files,omitempty"`
// HeadRef: Identifies the head Ref associated with the pull request.
HeadRef *Ref `json:"headRef,omitempty"`
// HeadRefName: Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
HeadRefName string `json:"headRefName,omitempty"`
// HeadRefOid: Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.
HeadRefOid GitObjectID `json:"headRefOid,omitempty"`
// HeadRepository: The repository associated with this pull request's head Ref.
HeadRepository *Repository `json:"headRepository,omitempty"`
// HeadRepositoryOwner: The owner of the repository associated with this pull request's head Ref.
HeadRepositoryOwner RepositoryOwner `json:"headRepositoryOwner,omitempty"`
// Hovercard: The hovercard information for this issue.
//
// Query arguments:
// - includeNotificationContexts Boolean
Hovercard *Hovercard `json:"hovercard,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsCrossRepository: The head and base repositories are different.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
// IsDraft: Identifies if the pull request is a draft.
IsDraft bool `json:"isDraft,omitempty"`
// IsReadByViewer: Is this pull request read by the viewer.
IsReadByViewer bool `json:"isReadByViewer,omitempty"`
// Labels: A list of labels associated with the object.
//
// Query arguments:
// - orderBy LabelOrder
// - after String
// - before String
// - first Int
// - last Int
Labels *LabelConnection `json:"labels,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// LatestOpinionatedReviews: A list of latest reviews per user associated with the pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - writersOnly Boolean
LatestOpinionatedReviews *PullRequestReviewConnection `json:"latestOpinionatedReviews,omitempty"`
// LatestReviews: A list of latest reviews per user associated with the pull request that are not also pending review.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
LatestReviews *PullRequestReviewConnection `json:"latestReviews,omitempty"`
// Locked: `true` if the pull request is locked.
Locked bool `json:"locked,omitempty"`
// MaintainerCanModify: Indicates whether maintainers can modify the pull request.
MaintainerCanModify bool `json:"maintainerCanModify,omitempty"`
// MergeCommit: The commit that was created when this pull request was merged.
MergeCommit *Commit `json:"mergeCommit,omitempty"`
// Mergeable: Whether or not the pull request can be merged based on the existence of merge conflicts.
Mergeable MergeableState `json:"mergeable,omitempty"`
// Merged: Whether or not the pull request was merged.
Merged bool `json:"merged,omitempty"`
// MergedAt: The date and time that the pull request was merged.
MergedAt DateTime `json:"mergedAt,omitempty"`
// MergedBy: The actor who merged the pull request.
MergedBy Actor `json:"mergedBy,omitempty"`
// Milestone: Identifies the milestone associated with the pull request.
Milestone *Milestone `json:"milestone,omitempty"`
// Number: Identifies the pull request number.
Number int `json:"number,omitempty"`
// Participants: A list of Users that are participating in the Pull Request conversation.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Participants *UserConnection `json:"participants,omitempty"`
// Permalink: The permalink to the pull request.
Permalink URI `json:"permalink,omitempty"`
// PotentialMergeCommit: The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the `mergeable` field for more details on the mergeability of the pull request.
PotentialMergeCommit *Commit `json:"potentialMergeCommit,omitempty"`
// ProjectCards: List of project cards associated with this pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - archivedStates [ProjectCardArchivedState]
ProjectCards *ProjectCardConnection `json:"projectCards,omitempty"`
// ProjectItems: List of project items associated with this pull request.
//
// Query arguments:
// - includeArchived Boolean
// - after String
// - before String
// - first Int
// - last Int
ProjectItems *ProjectV2ItemConnection `json:"projectItems,omitempty"`
// ProjectNext: Find a project by project (beta) number.
//
// Deprecated: Find a project by project (beta) number.
//
// Query arguments:
// - number Int!
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
// ProjectNextItems: List of project (beta) items associated with this pull request.
//
// Deprecated: List of project (beta) items associated with this pull request.
//
// Query arguments:
// - includeArchived Boolean
// - after String
// - before String
// - first Int
// - last Int
ProjectNextItems *ProjectNextItemConnection `json:"projectNextItems,omitempty"`
// ProjectV2: Find a project by number.
//
// Query arguments:
// - number Int!
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
// ProjectsNext: A list of projects (beta) under the owner.
//
// Deprecated: A list of projects (beta) under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - sortBy ProjectNextOrderField
ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"`
// ProjectsV2: A list of projects under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy ProjectV2Order
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this pull request.
ResourcePath URI `json:"resourcePath,omitempty"`
// RevertResourcePath: The HTTP path for reverting this pull request.
RevertResourcePath URI `json:"revertResourcePath,omitempty"`
// RevertUrl: The HTTP URL for reverting this pull request.
RevertUrl URI `json:"revertUrl,omitempty"`
// ReviewDecision: The current status of this pull request with respect to code review.
ReviewDecision PullRequestReviewDecision `json:"reviewDecision,omitempty"`
// ReviewRequests: A list of review requests associated with the pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ReviewRequests *ReviewRequestConnection `json:"reviewRequests,omitempty"`
// ReviewThreads: The list of all review threads for this pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
ReviewThreads *PullRequestReviewThreadConnection `json:"reviewThreads,omitempty"`
// Reviews: A list of reviews associated with the pull request.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - states [PullRequestReviewState!]
// - author String
Reviews *PullRequestReviewConnection `json:"reviews,omitempty"`
// State: Identifies the state of the pull request.
State PullRequestState `json:"state,omitempty"`
// SuggestedReviewers: A list of reviewer suggestions based on commit history and past review comments.
SuggestedReviewers []*SuggestedReviewer `json:"suggestedReviewers,omitempty"`
// Timeline: A list of events, comments, commits, etc. associated with the pull request.
//
// Deprecated: A list of events, comments, commits, etc. associated with the pull request.
//
// Query arguments:
// - since DateTime
// - after String
// - before String
// - first Int
// - last Int
Timeline *PullRequestTimelineConnection `json:"timeline,omitempty"`
// TimelineItems: A list of events, comments, commits, etc. associated with the pull request.
//
// Query arguments:
// - since DateTime
// - skip Int
// - itemTypes [PullRequestTimelineItemsItemType!]
// - after String
// - before String
// - first Int
// - last Int
TimelineItems *PullRequestTimelineItemsConnection `json:"timelineItems,omitempty"`
// Title: Identifies the pull request title.
Title string `json:"title,omitempty"`
// TitleHTML: Identifies the pull request title rendered to HTML.
TitleHTML template.HTML `json:"titleHTML,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this pull request.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanApplySuggestion: Whether or not the viewer can apply suggestion.
ViewerCanApplySuggestion bool `json:"viewerCanApplySuggestion,omitempty"`
// ViewerCanDeleteHeadRef: Check if the viewer can restore the deleted head ref.
ViewerCanDeleteHeadRef bool `json:"viewerCanDeleteHeadRef,omitempty"`
// ViewerCanDisableAutoMerge: Whether or not the viewer can disable auto-merge.
ViewerCanDisableAutoMerge bool `json:"viewerCanDisableAutoMerge,omitempty"`
// ViewerCanEditFiles: Can the viewer edit files within this pull request.
ViewerCanEditFiles bool `json:"viewerCanEditFiles,omitempty"`
// ViewerCanEnableAutoMerge: Whether or not the viewer can enable auto-merge.
ViewerCanEnableAutoMerge bool `json:"viewerCanEnableAutoMerge,omitempty"`
// ViewerCanMergeAsAdmin: Indicates whether the viewer can bypass branch protections and merge the pull request immediately.
ViewerCanMergeAsAdmin bool `json:"viewerCanMergeAsAdmin,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
// ViewerLatestReview: The latest review given from the viewer.
ViewerLatestReview *PullRequestReview `json:"viewerLatestReview,omitempty"`
// ViewerLatestReviewRequest: The person who has requested the viewer for review on this pull request.
ViewerLatestReviewRequest *ReviewRequest `json:"viewerLatestReviewRequest,omitempty"`
// ViewerMergeBodyText: The merge body text for the viewer and method.
//
// Query arguments:
// - mergeType PullRequestMergeMethod
ViewerMergeBodyText string `json:"viewerMergeBodyText,omitempty"`
// ViewerMergeHeadlineText: The merge headline text for the viewer and method.
//
// Query arguments:
// - mergeType PullRequestMergeMethod
ViewerMergeHeadlineText string `json:"viewerMergeHeadlineText,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
}
PullRequest (OBJECT): A repository pull request.
func (*PullRequest) GetActiveLockReason ¶
func (x *PullRequest) GetActiveLockReason() LockReason
func (*PullRequest) GetAdditions ¶
func (x *PullRequest) GetAdditions() int
func (*PullRequest) GetAssignees ¶
func (x *PullRequest) GetAssignees() *UserConnection
func (*PullRequest) GetAuthor ¶
func (x *PullRequest) GetAuthor() Actor
func (*PullRequest) GetAuthorAssociation ¶
func (x *PullRequest) GetAuthorAssociation() CommentAuthorAssociation
func (*PullRequest) GetAutoMergeRequest ¶
func (x *PullRequest) GetAutoMergeRequest() *AutoMergeRequest
func (*PullRequest) GetBaseRef ¶
func (x *PullRequest) GetBaseRef() *Ref
func (*PullRequest) GetBaseRefName ¶
func (x *PullRequest) GetBaseRefName() string
func (*PullRequest) GetBaseRefOid ¶
func (x *PullRequest) GetBaseRefOid() GitObjectID
func (*PullRequest) GetBaseRepository ¶
func (x *PullRequest) GetBaseRepository() *Repository
func (*PullRequest) GetBody ¶
func (x *PullRequest) GetBody() string
func (*PullRequest) GetBodyHTML ¶
func (x *PullRequest) GetBodyHTML() template.HTML
func (*PullRequest) GetBodyText ¶
func (x *PullRequest) GetBodyText() string
func (*PullRequest) GetChangedFiles ¶
func (x *PullRequest) GetChangedFiles() int
func (*PullRequest) GetChecksResourcePath ¶
func (x *PullRequest) GetChecksResourcePath() URI
func (*PullRequest) GetChecksUrl ¶
func (x *PullRequest) GetChecksUrl() URI
func (*PullRequest) GetClosed ¶
func (x *PullRequest) GetClosed() bool
func (*PullRequest) GetClosedAt ¶
func (x *PullRequest) GetClosedAt() DateTime
func (*PullRequest) GetClosingIssuesReferences ¶
func (x *PullRequest) GetClosingIssuesReferences() *IssueConnection
func (*PullRequest) GetComments ¶
func (x *PullRequest) GetComments() *IssueCommentConnection
func (*PullRequest) GetCommits ¶
func (x *PullRequest) GetCommits() *PullRequestCommitConnection
func (*PullRequest) GetCreatedAt ¶
func (x *PullRequest) GetCreatedAt() DateTime
func (*PullRequest) GetCreatedViaEmail ¶
func (x *PullRequest) GetCreatedViaEmail() bool
func (*PullRequest) GetDatabaseId ¶
func (x *PullRequest) GetDatabaseId() int
func (*PullRequest) GetDeletions ¶
func (x *PullRequest) GetDeletions() int
func (*PullRequest) GetEditor ¶
func (x *PullRequest) GetEditor() Actor
func (*PullRequest) GetFiles ¶
func (x *PullRequest) GetFiles() *PullRequestChangedFileConnection
func (*PullRequest) GetHeadRef ¶
func (x *PullRequest) GetHeadRef() *Ref
func (*PullRequest) GetHeadRefName ¶
func (x *PullRequest) GetHeadRefName() string
func (*PullRequest) GetHeadRefOid ¶
func (x *PullRequest) GetHeadRefOid() GitObjectID
func (*PullRequest) GetHeadRepository ¶
func (x *PullRequest) GetHeadRepository() *Repository
func (*PullRequest) GetHeadRepositoryOwner ¶
func (x *PullRequest) GetHeadRepositoryOwner() RepositoryOwner
func (*PullRequest) GetHovercard ¶
func (x *PullRequest) GetHovercard() *Hovercard
func (*PullRequest) GetId ¶
func (x *PullRequest) GetId() ID
func (*PullRequest) GetIncludesCreatedEdit ¶
func (x *PullRequest) GetIncludesCreatedEdit() bool
func (*PullRequest) GetIsCrossRepository ¶
func (x *PullRequest) GetIsCrossRepository() bool
func (*PullRequest) GetIsDraft ¶
func (x *PullRequest) GetIsDraft() bool
func (*PullRequest) GetIsReadByViewer ¶
func (x *PullRequest) GetIsReadByViewer() bool
func (*PullRequest) GetLabels ¶
func (x *PullRequest) GetLabels() *LabelConnection
func (*PullRequest) GetLastEditedAt ¶
func (x *PullRequest) GetLastEditedAt() DateTime
func (*PullRequest) GetLatestOpinionatedReviews ¶
func (x *PullRequest) GetLatestOpinionatedReviews() *PullRequestReviewConnection
func (*PullRequest) GetLatestReviews ¶
func (x *PullRequest) GetLatestReviews() *PullRequestReviewConnection
func (*PullRequest) GetLocked ¶
func (x *PullRequest) GetLocked() bool
func (*PullRequest) GetMaintainerCanModify ¶
func (x *PullRequest) GetMaintainerCanModify() bool
func (*PullRequest) GetMergeCommit ¶
func (x *PullRequest) GetMergeCommit() *Commit
func (*PullRequest) GetMergeable ¶
func (x *PullRequest) GetMergeable() MergeableState
func (*PullRequest) GetMerged ¶
func (x *PullRequest) GetMerged() bool
func (*PullRequest) GetMergedAt ¶
func (x *PullRequest) GetMergedAt() DateTime
func (*PullRequest) GetMergedBy ¶
func (x *PullRequest) GetMergedBy() Actor
func (*PullRequest) GetMilestone ¶
func (x *PullRequest) GetMilestone() *Milestone
func (*PullRequest) GetNumber ¶
func (x *PullRequest) GetNumber() int
func (*PullRequest) GetParticipants ¶
func (x *PullRequest) GetParticipants() *UserConnection
func (*PullRequest) GetPermalink ¶
func (x *PullRequest) GetPermalink() URI
func (*PullRequest) GetPotentialMergeCommit ¶
func (x *PullRequest) GetPotentialMergeCommit() *Commit
func (*PullRequest) GetProjectCards ¶
func (x *PullRequest) GetProjectCards() *ProjectCardConnection
func (*PullRequest) GetProjectItems ¶
func (x *PullRequest) GetProjectItems() *ProjectV2ItemConnection
func (*PullRequest) GetProjectNext ¶
func (x *PullRequest) GetProjectNext() *ProjectNext
func (*PullRequest) GetProjectNextItems ¶
func (x *PullRequest) GetProjectNextItems() *ProjectNextItemConnection
func (*PullRequest) GetProjectV2 ¶
func (x *PullRequest) GetProjectV2() *ProjectV2
func (*PullRequest) GetProjectsNext ¶
func (x *PullRequest) GetProjectsNext() *ProjectNextConnection
func (*PullRequest) GetProjectsV2 ¶
func (x *PullRequest) GetProjectsV2() *ProjectV2Connection
func (*PullRequest) GetPublishedAt ¶
func (x *PullRequest) GetPublishedAt() DateTime
func (*PullRequest) GetReactionGroups ¶
func (x *PullRequest) GetReactionGroups() []*ReactionGroup
func (*PullRequest) GetReactions ¶
func (x *PullRequest) GetReactions() *ReactionConnection
func (*PullRequest) GetRepository ¶
func (x *PullRequest) GetRepository() *Repository
func (*PullRequest) GetResourcePath ¶
func (x *PullRequest) GetResourcePath() URI
func (*PullRequest) GetRevertResourcePath ¶
func (x *PullRequest) GetRevertResourcePath() URI
func (*PullRequest) GetRevertUrl ¶
func (x *PullRequest) GetRevertUrl() URI
func (*PullRequest) GetReviewDecision ¶
func (x *PullRequest) GetReviewDecision() PullRequestReviewDecision
func (*PullRequest) GetReviewRequests ¶
func (x *PullRequest) GetReviewRequests() *ReviewRequestConnection
func (*PullRequest) GetReviewThreads ¶
func (x *PullRequest) GetReviewThreads() *PullRequestReviewThreadConnection
func (*PullRequest) GetReviews ¶
func (x *PullRequest) GetReviews() *PullRequestReviewConnection
func (*PullRequest) GetState ¶
func (x *PullRequest) GetState() PullRequestState
func (*PullRequest) GetSuggestedReviewers ¶
func (x *PullRequest) GetSuggestedReviewers() []*SuggestedReviewer
func (*PullRequest) GetTimeline ¶
func (x *PullRequest) GetTimeline() *PullRequestTimelineConnection
func (*PullRequest) GetTimelineItems ¶
func (x *PullRequest) GetTimelineItems() *PullRequestTimelineItemsConnection
func (*PullRequest) GetTitle ¶
func (x *PullRequest) GetTitle() string
func (*PullRequest) GetTitleHTML ¶
func (x *PullRequest) GetTitleHTML() template.HTML
func (*PullRequest) GetUpdatedAt ¶
func (x *PullRequest) GetUpdatedAt() DateTime
func (*PullRequest) GetUrl ¶
func (x *PullRequest) GetUrl() URI
func (*PullRequest) GetUserContentEdits ¶
func (x *PullRequest) GetUserContentEdits() *UserContentEditConnection
func (*PullRequest) GetViewerCanApplySuggestion ¶
func (x *PullRequest) GetViewerCanApplySuggestion() bool
func (*PullRequest) GetViewerCanDeleteHeadRef ¶
func (x *PullRequest) GetViewerCanDeleteHeadRef() bool
func (*PullRequest) GetViewerCanDisableAutoMerge ¶
func (x *PullRequest) GetViewerCanDisableAutoMerge() bool
func (*PullRequest) GetViewerCanEditFiles ¶
func (x *PullRequest) GetViewerCanEditFiles() bool
func (*PullRequest) GetViewerCanEnableAutoMerge ¶
func (x *PullRequest) GetViewerCanEnableAutoMerge() bool
func (*PullRequest) GetViewerCanMergeAsAdmin ¶
func (x *PullRequest) GetViewerCanMergeAsAdmin() bool
func (*PullRequest) GetViewerCanReact ¶
func (x *PullRequest) GetViewerCanReact() bool
func (*PullRequest) GetViewerCanSubscribe ¶
func (x *PullRequest) GetViewerCanSubscribe() bool
func (*PullRequest) GetViewerCanUpdate ¶
func (x *PullRequest) GetViewerCanUpdate() bool
func (*PullRequest) GetViewerCannotUpdateReasons ¶
func (x *PullRequest) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*PullRequest) GetViewerDidAuthor ¶
func (x *PullRequest) GetViewerDidAuthor() bool
func (*PullRequest) GetViewerLatestReview ¶
func (x *PullRequest) GetViewerLatestReview() *PullRequestReview
func (*PullRequest) GetViewerLatestReviewRequest ¶
func (x *PullRequest) GetViewerLatestReviewRequest() *ReviewRequest
func (*PullRequest) GetViewerMergeBodyText ¶
func (x *PullRequest) GetViewerMergeBodyText() string
func (*PullRequest) GetViewerMergeHeadlineText ¶
func (x *PullRequest) GetViewerMergeHeadlineText() string
func (*PullRequest) GetViewerSubscription ¶
func (x *PullRequest) GetViewerSubscription() SubscriptionState
type PullRequestChangedFile ¶
type PullRequestChangedFile struct {
// Additions: The number of additions to the file.
Additions int `json:"additions,omitempty"`
// ChangeType: How the file was changed in this PullRequest.
ChangeType PatchStatus `json:"changeType,omitempty"`
// Deletions: The number of deletions to the file.
Deletions int `json:"deletions,omitempty"`
// Path: The path of the file.
Path string `json:"path,omitempty"`
// ViewerViewedState: The state of the file for the viewer.
ViewerViewedState FileViewedState `json:"viewerViewedState,omitempty"`
}
PullRequestChangedFile (OBJECT): A file changed in a pull request.
func (*PullRequestChangedFile) GetAdditions ¶
func (x *PullRequestChangedFile) GetAdditions() int
func (*PullRequestChangedFile) GetChangeType ¶
func (x *PullRequestChangedFile) GetChangeType() PatchStatus
func (*PullRequestChangedFile) GetDeletions ¶
func (x *PullRequestChangedFile) GetDeletions() int
func (*PullRequestChangedFile) GetPath ¶
func (x *PullRequestChangedFile) GetPath() string
func (*PullRequestChangedFile) GetViewerViewedState ¶
func (x *PullRequestChangedFile) GetViewerViewedState() FileViewedState
type PullRequestChangedFileConnection ¶
type PullRequestChangedFileConnection struct {
// Edges: A list of edges.
Edges []*PullRequestChangedFileEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequestChangedFile `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestChangedFileConnection (OBJECT): The connection type for PullRequestChangedFile.
func (*PullRequestChangedFileConnection) GetEdges ¶
func (x *PullRequestChangedFileConnection) GetEdges() []*PullRequestChangedFileEdge
func (*PullRequestChangedFileConnection) GetNodes ¶
func (x *PullRequestChangedFileConnection) GetNodes() []*PullRequestChangedFile
func (*PullRequestChangedFileConnection) GetPageInfo ¶
func (x *PullRequestChangedFileConnection) GetPageInfo() *PageInfo
func (*PullRequestChangedFileConnection) GetTotalCount ¶
func (x *PullRequestChangedFileConnection) GetTotalCount() int
type PullRequestChangedFileEdge ¶
type PullRequestChangedFileEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequestChangedFile `json:"node,omitempty"`
}
PullRequestChangedFileEdge (OBJECT): An edge in a connection.
func (*PullRequestChangedFileEdge) GetCursor ¶
func (x *PullRequestChangedFileEdge) GetCursor() string
func (*PullRequestChangedFileEdge) GetNode ¶
func (x *PullRequestChangedFileEdge) GetNode() *PullRequestChangedFile
type PullRequestCommit ¶
type PullRequestCommit struct {
// Commit: The Git commit object.
Commit *Commit `json:"commit,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: The pull request this commit belongs to.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ResourcePath: The HTTP path for this pull request commit.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this pull request commit.
Url URI `json:"url,omitempty"`
}
PullRequestCommit (OBJECT): Represents a Git commit part of a pull request.
func (*PullRequestCommit) GetCommit ¶
func (x *PullRequestCommit) GetCommit() *Commit
func (*PullRequestCommit) GetId ¶
func (x *PullRequestCommit) GetId() ID
func (*PullRequestCommit) GetPullRequest ¶
func (x *PullRequestCommit) GetPullRequest() *PullRequest
func (*PullRequestCommit) GetResourcePath ¶
func (x *PullRequestCommit) GetResourcePath() URI
func (*PullRequestCommit) GetUrl ¶
func (x *PullRequestCommit) GetUrl() URI
type PullRequestCommitCommentThread ¶
type PullRequestCommitCommentThread struct {
// Comments: The comments that exist in this thread.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *CommitCommentConnection `json:"comments,omitempty"`
// Commit: The commit the comments were made on.
Commit *Commit `json:"commit,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Path: The file the comments were made on.
Path string `json:"path,omitempty"`
// Position: The position in the diff for the commit that the comment was made on.
Position int `json:"position,omitempty"`
// PullRequest: The pull request this commit comment thread belongs to.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
}
PullRequestCommitCommentThread (OBJECT): Represents a commit comment thread part of a pull request.
func (*PullRequestCommitCommentThread) GetComments ¶
func (x *PullRequestCommitCommentThread) GetComments() *CommitCommentConnection
func (*PullRequestCommitCommentThread) GetCommit ¶
func (x *PullRequestCommitCommentThread) GetCommit() *Commit
func (*PullRequestCommitCommentThread) GetId ¶
func (x *PullRequestCommitCommentThread) GetId() ID
func (*PullRequestCommitCommentThread) GetPath ¶
func (x *PullRequestCommitCommentThread) GetPath() string
func (*PullRequestCommitCommentThread) GetPosition ¶
func (x *PullRequestCommitCommentThread) GetPosition() int
func (*PullRequestCommitCommentThread) GetPullRequest ¶
func (x *PullRequestCommitCommentThread) GetPullRequest() *PullRequest
func (*PullRequestCommitCommentThread) GetRepository ¶
func (x *PullRequestCommitCommentThread) GetRepository() *Repository
type PullRequestCommitConnection ¶
type PullRequestCommitConnection struct {
// Edges: A list of edges.
Edges []*PullRequestCommitEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequestCommit `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestCommitConnection (OBJECT): The connection type for PullRequestCommit.
func (*PullRequestCommitConnection) GetEdges ¶
func (x *PullRequestCommitConnection) GetEdges() []*PullRequestCommitEdge
func (*PullRequestCommitConnection) GetNodes ¶
func (x *PullRequestCommitConnection) GetNodes() []*PullRequestCommit
func (*PullRequestCommitConnection) GetPageInfo ¶
func (x *PullRequestCommitConnection) GetPageInfo() *PageInfo
func (*PullRequestCommitConnection) GetTotalCount ¶
func (x *PullRequestCommitConnection) GetTotalCount() int
type PullRequestCommitEdge ¶
type PullRequestCommitEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequestCommit `json:"node,omitempty"`
}
PullRequestCommitEdge (OBJECT): An edge in a connection.
func (*PullRequestCommitEdge) GetCursor ¶
func (x *PullRequestCommitEdge) GetCursor() string
func (*PullRequestCommitEdge) GetNode ¶
func (x *PullRequestCommitEdge) GetNode() *PullRequestCommit
type PullRequestConnection ¶
type PullRequestConnection struct {
// Edges: A list of edges.
Edges []*PullRequestEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequest `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestConnection (OBJECT): The connection type for PullRequest.
func (*PullRequestConnection) GetEdges ¶
func (x *PullRequestConnection) GetEdges() []*PullRequestEdge
func (*PullRequestConnection) GetNodes ¶
func (x *PullRequestConnection) GetNodes() []*PullRequest
func (*PullRequestConnection) GetPageInfo ¶
func (x *PullRequestConnection) GetPageInfo() *PageInfo
func (*PullRequestConnection) GetTotalCount ¶
func (x *PullRequestConnection) GetTotalCount() int
type PullRequestContributionsByRepository ¶
type PullRequestContributionsByRepository struct {
// Contributions: The pull request contributions.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ContributionOrder
Contributions *CreatedPullRequestContributionConnection `json:"contributions,omitempty"`
// Repository: The repository in which the pull requests were opened.
Repository *Repository `json:"repository,omitempty"`
}
PullRequestContributionsByRepository (OBJECT): This aggregates pull requests opened by a user within one repository.
func (*PullRequestContributionsByRepository) GetContributions ¶
func (x *PullRequestContributionsByRepository) GetContributions() *CreatedPullRequestContributionConnection
func (*PullRequestContributionsByRepository) GetRepository ¶
func (x *PullRequestContributionsByRepository) GetRepository() *Repository
type PullRequestEdge ¶
type PullRequestEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequest `json:"node,omitempty"`
}
PullRequestEdge (OBJECT): An edge in a connection.
func (*PullRequestEdge) GetCursor ¶
func (x *PullRequestEdge) GetCursor() string
func (*PullRequestEdge) GetNode ¶
func (x *PullRequestEdge) GetNode() *PullRequest
type PullRequestMergeMethod ¶
type PullRequestMergeMethod string
PullRequestMergeMethod (ENUM): Represents available types of methods to use when merging a pull request.
const PullRequestMergeMethod_MERGE PullRequestMergeMethod = "MERGE"
PullRequestMergeMethod_MERGE: Add all commits from the head branch to the base branch with a merge commit.
const PullRequestMergeMethod_REBASE PullRequestMergeMethod = "REBASE"
PullRequestMergeMethod_REBASE: Add all commits from the head branch onto the base branch individually.
const PullRequestMergeMethod_SQUASH PullRequestMergeMethod = "SQUASH"
PullRequestMergeMethod_SQUASH: Combine all commits from the head branch into a single commit in the base branch.
type PullRequestOrder ¶
type PullRequestOrder struct {
// Field: The field in which to order pull requests by.
//
// GraphQL type: PullRequestOrderField!
Field PullRequestOrderField `json:"field,omitempty"`
// Direction: The direction in which to order pull requests by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
PullRequestOrder (INPUT_OBJECT): Ways in which lists of issues can be ordered upon return.
type PullRequestOrderField ¶
type PullRequestOrderField string
PullRequestOrderField (ENUM): Properties by which pull_requests connections can be ordered.
const PullRequestOrderField_CREATED_AT PullRequestOrderField = "CREATED_AT"
PullRequestOrderField_CREATED_AT: Order pull_requests by creation time.
const PullRequestOrderField_UPDATED_AT PullRequestOrderField = "UPDATED_AT"
PullRequestOrderField_UPDATED_AT: Order pull_requests by update time.
type PullRequestReview ¶
type PullRequestReview struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// AuthorCanPushToRepository: Indicates whether the author of this review has push access to the repository.
AuthorCanPushToRepository bool `json:"authorCanPushToRepository,omitempty"`
// Body: Identifies the pull request review body.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body of this review rendered as plain text.
BodyText string `json:"bodyText,omitempty"`
// Comments: A list of review comments for the current pull request review.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Comments *PullRequestReviewCommentConnection `json:"comments,omitempty"`
// Commit: Identifies the commit associated with this pull request review.
Commit *Commit `json:"commit,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// OnBehalfOf: A list of teams that this review was made on behalf of.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
OnBehalfOf *TeamConnection `json:"onBehalfOf,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// PullRequest: Identifies the pull request associated with this pull request review.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path permalink for this PullRequestReview.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: Identifies the current state of the pull request review.
State PullRequestReviewState `json:"state,omitempty"`
// SubmittedAt: Identifies when the Pull Request Review was submitted.
SubmittedAt DateTime `json:"submittedAt,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL permalink for this PullRequestReview.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
PullRequestReview (OBJECT): A review object for a given pull request.
func (*PullRequestReview) GetAuthor ¶
func (x *PullRequestReview) GetAuthor() Actor
func (*PullRequestReview) GetAuthorAssociation ¶
func (x *PullRequestReview) GetAuthorAssociation() CommentAuthorAssociation
func (*PullRequestReview) GetAuthorCanPushToRepository ¶
func (x *PullRequestReview) GetAuthorCanPushToRepository() bool
func (*PullRequestReview) GetBody ¶
func (x *PullRequestReview) GetBody() string
func (*PullRequestReview) GetBodyHTML ¶
func (x *PullRequestReview) GetBodyHTML() template.HTML
func (*PullRequestReview) GetBodyText ¶
func (x *PullRequestReview) GetBodyText() string
func (*PullRequestReview) GetComments ¶
func (x *PullRequestReview) GetComments() *PullRequestReviewCommentConnection
func (*PullRequestReview) GetCommit ¶
func (x *PullRequestReview) GetCommit() *Commit
func (*PullRequestReview) GetCreatedAt ¶
func (x *PullRequestReview) GetCreatedAt() DateTime
func (*PullRequestReview) GetCreatedViaEmail ¶
func (x *PullRequestReview) GetCreatedViaEmail() bool
func (*PullRequestReview) GetDatabaseId ¶
func (x *PullRequestReview) GetDatabaseId() int
func (*PullRequestReview) GetEditor ¶
func (x *PullRequestReview) GetEditor() Actor
func (*PullRequestReview) GetId ¶
func (x *PullRequestReview) GetId() ID
func (*PullRequestReview) GetIncludesCreatedEdit ¶
func (x *PullRequestReview) GetIncludesCreatedEdit() bool
func (*PullRequestReview) GetLastEditedAt ¶
func (x *PullRequestReview) GetLastEditedAt() DateTime
func (*PullRequestReview) GetOnBehalfOf ¶
func (x *PullRequestReview) GetOnBehalfOf() *TeamConnection
func (*PullRequestReview) GetPublishedAt ¶
func (x *PullRequestReview) GetPublishedAt() DateTime
func (*PullRequestReview) GetPullRequest ¶
func (x *PullRequestReview) GetPullRequest() *PullRequest
func (*PullRequestReview) GetReactionGroups ¶
func (x *PullRequestReview) GetReactionGroups() []*ReactionGroup
func (*PullRequestReview) GetReactions ¶
func (x *PullRequestReview) GetReactions() *ReactionConnection
func (*PullRequestReview) GetRepository ¶
func (x *PullRequestReview) GetRepository() *Repository
func (*PullRequestReview) GetResourcePath ¶
func (x *PullRequestReview) GetResourcePath() URI
func (*PullRequestReview) GetState ¶
func (x *PullRequestReview) GetState() PullRequestReviewState
func (*PullRequestReview) GetSubmittedAt ¶
func (x *PullRequestReview) GetSubmittedAt() DateTime
func (*PullRequestReview) GetUpdatedAt ¶
func (x *PullRequestReview) GetUpdatedAt() DateTime
func (*PullRequestReview) GetUrl ¶
func (x *PullRequestReview) GetUrl() URI
func (*PullRequestReview) GetUserContentEdits ¶
func (x *PullRequestReview) GetUserContentEdits() *UserContentEditConnection
func (*PullRequestReview) GetViewerCanDelete ¶
func (x *PullRequestReview) GetViewerCanDelete() bool
func (*PullRequestReview) GetViewerCanReact ¶
func (x *PullRequestReview) GetViewerCanReact() bool
func (*PullRequestReview) GetViewerCanUpdate ¶
func (x *PullRequestReview) GetViewerCanUpdate() bool
func (*PullRequestReview) GetViewerCannotUpdateReasons ¶
func (x *PullRequestReview) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*PullRequestReview) GetViewerDidAuthor ¶
func (x *PullRequestReview) GetViewerDidAuthor() bool
type PullRequestReviewComment ¶
type PullRequestReviewComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the subject of the comment.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The comment body of this review comment.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The comment body of this review comment rendered as plain text.
BodyText string `json:"bodyText,omitempty"`
// Commit: Identifies the commit associated with the comment.
Commit *Commit `json:"commit,omitempty"`
// CreatedAt: Identifies when the comment was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DiffHunk: The diff hunk to which the comment applies.
DiffHunk string `json:"diffHunk,omitempty"`
// DraftedAt: Identifies when the comment was created in a draft state.
DraftedAt DateTime `json:"draftedAt,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsMinimized: Returns whether or not a comment has been minimized.
IsMinimized bool `json:"isMinimized,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// MinimizedReason: Returns why the comment was minimized.
MinimizedReason string `json:"minimizedReason,omitempty"`
// OriginalCommit: Identifies the original commit associated with the comment.
OriginalCommit *Commit `json:"originalCommit,omitempty"`
// OriginalPosition: The original line index in the diff to which the comment applies.
OriginalPosition int `json:"originalPosition,omitempty"`
// Outdated: Identifies when the comment body is outdated.
Outdated bool `json:"outdated,omitempty"`
// Path: The path to which the comment applies.
Path string `json:"path,omitempty"`
// Position: The line index in the diff to which the comment applies.
Position int `json:"position,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// PullRequest: The pull request associated with this review comment.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// PullRequestReview: The pull request review associated with this review comment.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// ReplyTo: The comment this is a reply to.
ReplyTo *PullRequestReviewComment `json:"replyTo,omitempty"`
// Repository: The repository associated with this node.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path permalink for this review comment.
ResourcePath URI `json:"resourcePath,omitempty"`
// State: Identifies the state of the comment.
State PullRequestReviewCommentState `json:"state,omitempty"`
// UpdatedAt: Identifies when the comment was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL permalink for this review comment.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanMinimize: Check if the current viewer can minimize this object.
ViewerCanMinimize bool `json:"viewerCanMinimize,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
PullRequestReviewComment (OBJECT): A review comment associated with a given repository pull request.
func (*PullRequestReviewComment) GetAuthor ¶
func (x *PullRequestReviewComment) GetAuthor() Actor
func (*PullRequestReviewComment) GetAuthorAssociation ¶
func (x *PullRequestReviewComment) GetAuthorAssociation() CommentAuthorAssociation
func (*PullRequestReviewComment) GetBody ¶
func (x *PullRequestReviewComment) GetBody() string
func (*PullRequestReviewComment) GetBodyHTML ¶
func (x *PullRequestReviewComment) GetBodyHTML() template.HTML
func (*PullRequestReviewComment) GetBodyText ¶
func (x *PullRequestReviewComment) GetBodyText() string
func (*PullRequestReviewComment) GetCommit ¶
func (x *PullRequestReviewComment) GetCommit() *Commit
func (*PullRequestReviewComment) GetCreatedAt ¶
func (x *PullRequestReviewComment) GetCreatedAt() DateTime
func (*PullRequestReviewComment) GetCreatedViaEmail ¶
func (x *PullRequestReviewComment) GetCreatedViaEmail() bool
func (*PullRequestReviewComment) GetDatabaseId ¶
func (x *PullRequestReviewComment) GetDatabaseId() int
func (*PullRequestReviewComment) GetDiffHunk ¶
func (x *PullRequestReviewComment) GetDiffHunk() string
func (*PullRequestReviewComment) GetDraftedAt ¶
func (x *PullRequestReviewComment) GetDraftedAt() DateTime
func (*PullRequestReviewComment) GetEditor ¶
func (x *PullRequestReviewComment) GetEditor() Actor
func (*PullRequestReviewComment) GetId ¶
func (x *PullRequestReviewComment) GetId() ID
func (*PullRequestReviewComment) GetIncludesCreatedEdit ¶
func (x *PullRequestReviewComment) GetIncludesCreatedEdit() bool
func (*PullRequestReviewComment) GetIsMinimized ¶
func (x *PullRequestReviewComment) GetIsMinimized() bool
func (*PullRequestReviewComment) GetLastEditedAt ¶
func (x *PullRequestReviewComment) GetLastEditedAt() DateTime
func (*PullRequestReviewComment) GetMinimizedReason ¶
func (x *PullRequestReviewComment) GetMinimizedReason() string
func (*PullRequestReviewComment) GetOriginalCommit ¶
func (x *PullRequestReviewComment) GetOriginalCommit() *Commit
func (*PullRequestReviewComment) GetOriginalPosition ¶
func (x *PullRequestReviewComment) GetOriginalPosition() int
func (*PullRequestReviewComment) GetOutdated ¶
func (x *PullRequestReviewComment) GetOutdated() bool
func (*PullRequestReviewComment) GetPath ¶
func (x *PullRequestReviewComment) GetPath() string
func (*PullRequestReviewComment) GetPosition ¶
func (x *PullRequestReviewComment) GetPosition() int
func (*PullRequestReviewComment) GetPublishedAt ¶
func (x *PullRequestReviewComment) GetPublishedAt() DateTime
func (*PullRequestReviewComment) GetPullRequest ¶
func (x *PullRequestReviewComment) GetPullRequest() *PullRequest
func (*PullRequestReviewComment) GetPullRequestReview ¶
func (x *PullRequestReviewComment) GetPullRequestReview() *PullRequestReview
func (*PullRequestReviewComment) GetReactionGroups ¶
func (x *PullRequestReviewComment) GetReactionGroups() []*ReactionGroup
func (*PullRequestReviewComment) GetReactions ¶
func (x *PullRequestReviewComment) GetReactions() *ReactionConnection
func (*PullRequestReviewComment) GetReplyTo ¶
func (x *PullRequestReviewComment) GetReplyTo() *PullRequestReviewComment
func (*PullRequestReviewComment) GetRepository ¶
func (x *PullRequestReviewComment) GetRepository() *Repository
func (*PullRequestReviewComment) GetResourcePath ¶
func (x *PullRequestReviewComment) GetResourcePath() URI
func (*PullRequestReviewComment) GetState ¶
func (x *PullRequestReviewComment) GetState() PullRequestReviewCommentState
func (*PullRequestReviewComment) GetUpdatedAt ¶
func (x *PullRequestReviewComment) GetUpdatedAt() DateTime
func (*PullRequestReviewComment) GetUrl ¶
func (x *PullRequestReviewComment) GetUrl() URI
func (*PullRequestReviewComment) GetUserContentEdits ¶
func (x *PullRequestReviewComment) GetUserContentEdits() *UserContentEditConnection
func (*PullRequestReviewComment) GetViewerCanDelete ¶
func (x *PullRequestReviewComment) GetViewerCanDelete() bool
func (*PullRequestReviewComment) GetViewerCanMinimize ¶
func (x *PullRequestReviewComment) GetViewerCanMinimize() bool
func (*PullRequestReviewComment) GetViewerCanReact ¶
func (x *PullRequestReviewComment) GetViewerCanReact() bool
func (*PullRequestReviewComment) GetViewerCanUpdate ¶
func (x *PullRequestReviewComment) GetViewerCanUpdate() bool
func (*PullRequestReviewComment) GetViewerCannotUpdateReasons ¶
func (x *PullRequestReviewComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*PullRequestReviewComment) GetViewerDidAuthor ¶
func (x *PullRequestReviewComment) GetViewerDidAuthor() bool
type PullRequestReviewCommentConnection ¶
type PullRequestReviewCommentConnection struct {
// Edges: A list of edges.
Edges []*PullRequestReviewCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequestReviewComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestReviewCommentConnection (OBJECT): The connection type for PullRequestReviewComment.
func (*PullRequestReviewCommentConnection) GetEdges ¶
func (x *PullRequestReviewCommentConnection) GetEdges() []*PullRequestReviewCommentEdge
func (*PullRequestReviewCommentConnection) GetNodes ¶
func (x *PullRequestReviewCommentConnection) GetNodes() []*PullRequestReviewComment
func (*PullRequestReviewCommentConnection) GetPageInfo ¶
func (x *PullRequestReviewCommentConnection) GetPageInfo() *PageInfo
func (*PullRequestReviewCommentConnection) GetTotalCount ¶
func (x *PullRequestReviewCommentConnection) GetTotalCount() int
type PullRequestReviewCommentEdge ¶
type PullRequestReviewCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequestReviewComment `json:"node,omitempty"`
}
PullRequestReviewCommentEdge (OBJECT): An edge in a connection.
func (*PullRequestReviewCommentEdge) GetCursor ¶
func (x *PullRequestReviewCommentEdge) GetCursor() string
func (*PullRequestReviewCommentEdge) GetNode ¶
func (x *PullRequestReviewCommentEdge) GetNode() *PullRequestReviewComment
type PullRequestReviewCommentState ¶
type PullRequestReviewCommentState string
PullRequestReviewCommentState (ENUM): The possible states of a pull request review comment.
const PullRequestReviewCommentState_PENDING PullRequestReviewCommentState = "PENDING"
PullRequestReviewCommentState_PENDING: A comment that is part of a pending review.
const PullRequestReviewCommentState_SUBMITTED PullRequestReviewCommentState = "SUBMITTED"
PullRequestReviewCommentState_SUBMITTED: A comment that is part of a submitted review.
type PullRequestReviewConnection ¶
type PullRequestReviewConnection struct {
// Edges: A list of edges.
Edges []*PullRequestReviewEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequestReview `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestReviewConnection (OBJECT): The connection type for PullRequestReview.
func (*PullRequestReviewConnection) GetEdges ¶
func (x *PullRequestReviewConnection) GetEdges() []*PullRequestReviewEdge
func (*PullRequestReviewConnection) GetNodes ¶
func (x *PullRequestReviewConnection) GetNodes() []*PullRequestReview
func (*PullRequestReviewConnection) GetPageInfo ¶
func (x *PullRequestReviewConnection) GetPageInfo() *PageInfo
func (*PullRequestReviewConnection) GetTotalCount ¶
func (x *PullRequestReviewConnection) GetTotalCount() int
type PullRequestReviewContributionsByRepository ¶
type PullRequestReviewContributionsByRepository struct {
// Contributions: The pull request review contributions.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ContributionOrder
Contributions *CreatedPullRequestReviewContributionConnection `json:"contributions,omitempty"`
// Repository: The repository in which the pull request reviews were made.
Repository *Repository `json:"repository,omitempty"`
}
PullRequestReviewContributionsByRepository (OBJECT): This aggregates pull request reviews made by a user within one repository.
func (*PullRequestReviewContributionsByRepository) GetContributions ¶
func (x *PullRequestReviewContributionsByRepository) GetContributions() *CreatedPullRequestReviewContributionConnection
func (*PullRequestReviewContributionsByRepository) GetRepository ¶
func (x *PullRequestReviewContributionsByRepository) GetRepository() *Repository
type PullRequestReviewDecision ¶
type PullRequestReviewDecision string
PullRequestReviewDecision (ENUM): The review status of a pull request.
const PullRequestReviewDecision_APPROVED PullRequestReviewDecision = "APPROVED"
PullRequestReviewDecision_APPROVED: The pull request has received an approving review.
const PullRequestReviewDecision_CHANGES_REQUESTED PullRequestReviewDecision = "CHANGES_REQUESTED"
PullRequestReviewDecision_CHANGES_REQUESTED: Changes have been requested on the pull request.
const PullRequestReviewDecision_REVIEW_REQUIRED PullRequestReviewDecision = "REVIEW_REQUIRED"
PullRequestReviewDecision_REVIEW_REQUIRED: A review is required before the pull request can be merged.
type PullRequestReviewEdge ¶
type PullRequestReviewEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequestReview `json:"node,omitempty"`
}
PullRequestReviewEdge (OBJECT): An edge in a connection.
func (*PullRequestReviewEdge) GetCursor ¶
func (x *PullRequestReviewEdge) GetCursor() string
func (*PullRequestReviewEdge) GetNode ¶
func (x *PullRequestReviewEdge) GetNode() *PullRequestReview
type PullRequestReviewEvent ¶
type PullRequestReviewEvent string
PullRequestReviewEvent (ENUM): The possible events to perform on a pull request review.
const PullRequestReviewEvent_APPROVE PullRequestReviewEvent = "APPROVE"
PullRequestReviewEvent_APPROVE: Submit feedback and approve merging these changes.
const PullRequestReviewEvent_COMMENT PullRequestReviewEvent = "COMMENT"
PullRequestReviewEvent_COMMENT: Submit general feedback without explicit approval.
const PullRequestReviewEvent_DISMISS PullRequestReviewEvent = "DISMISS"
PullRequestReviewEvent_DISMISS: Dismiss review so it now longer effects merging.
const PullRequestReviewEvent_REQUEST_CHANGES PullRequestReviewEvent = "REQUEST_CHANGES"
PullRequestReviewEvent_REQUEST_CHANGES: Submit feedback that must be addressed before merging.
type PullRequestReviewState ¶
type PullRequestReviewState string
PullRequestReviewState (ENUM): The possible states of a pull request review.
const PullRequestReviewState_APPROVED PullRequestReviewState = "APPROVED"
PullRequestReviewState_APPROVED: A review allowing the pull request to merge.
const PullRequestReviewState_CHANGES_REQUESTED PullRequestReviewState = "CHANGES_REQUESTED"
PullRequestReviewState_CHANGES_REQUESTED: A review blocking the pull request from merging.
const PullRequestReviewState_COMMENTED PullRequestReviewState = "COMMENTED"
PullRequestReviewState_COMMENTED: An informational review.
const PullRequestReviewState_DISMISSED PullRequestReviewState = "DISMISSED"
PullRequestReviewState_DISMISSED: A review that has been dismissed.
const PullRequestReviewState_PENDING PullRequestReviewState = "PENDING"
PullRequestReviewState_PENDING: A review that has not yet been submitted.
type PullRequestReviewThread ¶
type PullRequestReviewThread struct {
// Comments: A list of pull request comments associated with the thread.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - skip Int
Comments *PullRequestReviewCommentConnection `json:"comments,omitempty"`
// DiffSide: The side of the diff on which this thread was placed.
DiffSide DiffSide `json:"diffSide,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCollapsed: Whether or not the thread has been collapsed (resolved).
IsCollapsed bool `json:"isCollapsed,omitempty"`
// IsOutdated: Indicates whether this thread was outdated by newer changes.
IsOutdated bool `json:"isOutdated,omitempty"`
// IsResolved: Whether this thread has been resolved.
IsResolved bool `json:"isResolved,omitempty"`
// Line: The line in the file to which this thread refers.
Line int `json:"line,omitempty"`
// OriginalLine: The original line in the file to which this thread refers.
OriginalLine int `json:"originalLine,omitempty"`
// OriginalStartLine: The original start line in the file to which this thread refers (multi-line only).
OriginalStartLine int `json:"originalStartLine,omitempty"`
// Path: Identifies the file path of this thread.
Path string `json:"path,omitempty"`
// PullRequest: Identifies the pull request associated with this thread.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Repository: Identifies the repository associated with this thread.
Repository *Repository `json:"repository,omitempty"`
// ResolvedBy: The user who resolved this thread.
ResolvedBy *User `json:"resolvedBy,omitempty"`
// StartDiffSide: The side of the diff that the first line of the thread starts on (multi-line only).
StartDiffSide DiffSide `json:"startDiffSide,omitempty"`
// StartLine: The start line in the file to which this thread refers (multi-line only).
StartLine int `json:"startLine,omitempty"`
// ViewerCanReply: Indicates whether the current viewer can reply to this thread.
ViewerCanReply bool `json:"viewerCanReply,omitempty"`
// ViewerCanResolve: Whether or not the viewer can resolve this thread.
ViewerCanResolve bool `json:"viewerCanResolve,omitempty"`
// ViewerCanUnresolve: Whether or not the viewer can unresolve this thread.
ViewerCanUnresolve bool `json:"viewerCanUnresolve,omitempty"`
}
PullRequestReviewThread (OBJECT): A threaded list of comments for a given pull request.
func (*PullRequestReviewThread) GetComments ¶
func (x *PullRequestReviewThread) GetComments() *PullRequestReviewCommentConnection
func (*PullRequestReviewThread) GetDiffSide ¶
func (x *PullRequestReviewThread) GetDiffSide() DiffSide
func (*PullRequestReviewThread) GetId ¶
func (x *PullRequestReviewThread) GetId() ID
func (*PullRequestReviewThread) GetIsCollapsed ¶
func (x *PullRequestReviewThread) GetIsCollapsed() bool
func (*PullRequestReviewThread) GetIsOutdated ¶
func (x *PullRequestReviewThread) GetIsOutdated() bool
func (*PullRequestReviewThread) GetIsResolved ¶
func (x *PullRequestReviewThread) GetIsResolved() bool
func (*PullRequestReviewThread) GetLine ¶
func (x *PullRequestReviewThread) GetLine() int
func (*PullRequestReviewThread) GetOriginalLine ¶
func (x *PullRequestReviewThread) GetOriginalLine() int
func (*PullRequestReviewThread) GetOriginalStartLine ¶
func (x *PullRequestReviewThread) GetOriginalStartLine() int
func (*PullRequestReviewThread) GetPath ¶
func (x *PullRequestReviewThread) GetPath() string
func (*PullRequestReviewThread) GetPullRequest ¶
func (x *PullRequestReviewThread) GetPullRequest() *PullRequest
func (*PullRequestReviewThread) GetRepository ¶
func (x *PullRequestReviewThread) GetRepository() *Repository
func (*PullRequestReviewThread) GetResolvedBy ¶
func (x *PullRequestReviewThread) GetResolvedBy() *User
func (*PullRequestReviewThread) GetStartDiffSide ¶
func (x *PullRequestReviewThread) GetStartDiffSide() DiffSide
func (*PullRequestReviewThread) GetStartLine ¶
func (x *PullRequestReviewThread) GetStartLine() int
func (*PullRequestReviewThread) GetViewerCanReply ¶
func (x *PullRequestReviewThread) GetViewerCanReply() bool
func (*PullRequestReviewThread) GetViewerCanResolve ¶
func (x *PullRequestReviewThread) GetViewerCanResolve() bool
func (*PullRequestReviewThread) GetViewerCanUnresolve ¶
func (x *PullRequestReviewThread) GetViewerCanUnresolve() bool
type PullRequestReviewThreadConnection ¶
type PullRequestReviewThreadConnection struct {
// Edges: A list of edges.
Edges []*PullRequestReviewThreadEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PullRequestReviewThread `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestReviewThreadConnection (OBJECT): Review comment threads for a pull request review.
func (*PullRequestReviewThreadConnection) GetEdges ¶
func (x *PullRequestReviewThreadConnection) GetEdges() []*PullRequestReviewThreadEdge
func (*PullRequestReviewThreadConnection) GetNodes ¶
func (x *PullRequestReviewThreadConnection) GetNodes() []*PullRequestReviewThread
func (*PullRequestReviewThreadConnection) GetPageInfo ¶
func (x *PullRequestReviewThreadConnection) GetPageInfo() *PageInfo
func (*PullRequestReviewThreadConnection) GetTotalCount ¶
func (x *PullRequestReviewThreadConnection) GetTotalCount() int
type PullRequestReviewThreadEdge ¶
type PullRequestReviewThreadEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PullRequestReviewThread `json:"node,omitempty"`
}
PullRequestReviewThreadEdge (OBJECT): An edge in a connection.
func (*PullRequestReviewThreadEdge) GetCursor ¶
func (x *PullRequestReviewThreadEdge) GetCursor() string
func (*PullRequestReviewThreadEdge) GetNode ¶
func (x *PullRequestReviewThreadEdge) GetNode() *PullRequestReviewThread
type PullRequestRevisionMarker ¶
type PullRequestRevisionMarker struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// LastSeenCommit: The last commit the viewer has seen.
LastSeenCommit *Commit `json:"lastSeenCommit,omitempty"`
// PullRequest: The pull request to which the marker belongs.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
PullRequestRevisionMarker (OBJECT): Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
func (*PullRequestRevisionMarker) GetCreatedAt ¶
func (x *PullRequestRevisionMarker) GetCreatedAt() DateTime
func (*PullRequestRevisionMarker) GetLastSeenCommit ¶
func (x *PullRequestRevisionMarker) GetLastSeenCommit() *Commit
func (*PullRequestRevisionMarker) GetPullRequest ¶
func (x *PullRequestRevisionMarker) GetPullRequest() *PullRequest
type PullRequestState ¶
type PullRequestState string
PullRequestState (ENUM): The possible states of a pull request.
const PullRequestState_CLOSED PullRequestState = "CLOSED"
PullRequestState_CLOSED: A pull request that has been closed without being merged.
const PullRequestState_MERGED PullRequestState = "MERGED"
PullRequestState_MERGED: A pull request that has been closed by being merged.
const PullRequestState_OPEN PullRequestState = "OPEN"
PullRequestState_OPEN: A pull request that is still open.
type PullRequestTemplate ¶
type PullRequestTemplate struct {
// Body: The body of the template.
Body string `json:"body,omitempty"`
// Filename: The filename of the template.
Filename string `json:"filename,omitempty"`
// Repository: The repository the template belongs to.
Repository *Repository `json:"repository,omitempty"`
}
PullRequestTemplate (OBJECT): A repository pull request template.
func (*PullRequestTemplate) GetBody ¶
func (x *PullRequestTemplate) GetBody() string
func (*PullRequestTemplate) GetFilename ¶
func (x *PullRequestTemplate) GetFilename() string
func (*PullRequestTemplate) GetRepository ¶
func (x *PullRequestTemplate) GetRepository() *Repository
type PullRequestThread ¶
type PullRequestThread struct {
// Comments: A list of pull request comments associated with the thread.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - skip Int
Comments *PullRequestReviewCommentConnection `json:"comments,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCollapsed: Whether or not the thread has been collapsed (resolved).
IsCollapsed bool `json:"isCollapsed,omitempty"`
// IsOutdated: Indicates whether this thread was outdated by newer changes.
IsOutdated bool `json:"isOutdated,omitempty"`
// IsResolved: Whether this thread has been resolved.
IsResolved bool `json:"isResolved,omitempty"`
// PullRequest: Identifies the pull request associated with this thread.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// Repository: Identifies the repository associated with this thread.
Repository *Repository `json:"repository,omitempty"`
// ResolvedBy: The user who resolved this thread.
ResolvedBy *User `json:"resolvedBy,omitempty"`
// ViewerCanReply: Indicates whether the current viewer can reply to this thread.
ViewerCanReply bool `json:"viewerCanReply,omitempty"`
// ViewerCanResolve: Whether or not the viewer can resolve this thread.
ViewerCanResolve bool `json:"viewerCanResolve,omitempty"`
// ViewerCanUnresolve: Whether or not the viewer can unresolve this thread.
ViewerCanUnresolve bool `json:"viewerCanUnresolve,omitempty"`
}
PullRequestThread (OBJECT): A threaded list of comments for a given pull request.
func (*PullRequestThread) GetComments ¶
func (x *PullRequestThread) GetComments() *PullRequestReviewCommentConnection
func (*PullRequestThread) GetId ¶
func (x *PullRequestThread) GetId() ID
func (*PullRequestThread) GetIsCollapsed ¶
func (x *PullRequestThread) GetIsCollapsed() bool
func (*PullRequestThread) GetIsOutdated ¶
func (x *PullRequestThread) GetIsOutdated() bool
func (*PullRequestThread) GetIsResolved ¶
func (x *PullRequestThread) GetIsResolved() bool
func (*PullRequestThread) GetPullRequest ¶
func (x *PullRequestThread) GetPullRequest() *PullRequest
func (*PullRequestThread) GetRepository ¶
func (x *PullRequestThread) GetRepository() *Repository
func (*PullRequestThread) GetResolvedBy ¶
func (x *PullRequestThread) GetResolvedBy() *User
func (*PullRequestThread) GetViewerCanReply ¶
func (x *PullRequestThread) GetViewerCanReply() bool
func (*PullRequestThread) GetViewerCanResolve ¶
func (x *PullRequestThread) GetViewerCanResolve() bool
func (*PullRequestThread) GetViewerCanUnresolve ¶
func (x *PullRequestThread) GetViewerCanUnresolve() bool
type PullRequestTimelineConnection ¶
type PullRequestTimelineConnection struct {
// Edges: A list of edges.
Edges []*PullRequestTimelineItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []PullRequestTimelineItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PullRequestTimelineConnection (OBJECT): The connection type for PullRequestTimelineItem.
func (*PullRequestTimelineConnection) GetEdges ¶
func (x *PullRequestTimelineConnection) GetEdges() []*PullRequestTimelineItemEdge
func (*PullRequestTimelineConnection) GetNodes ¶
func (x *PullRequestTimelineConnection) GetNodes() []PullRequestTimelineItem
func (*PullRequestTimelineConnection) GetPageInfo ¶
func (x *PullRequestTimelineConnection) GetPageInfo() *PageInfo
func (*PullRequestTimelineConnection) GetTotalCount ¶
func (x *PullRequestTimelineConnection) GetTotalCount() int
type PullRequestTimelineItem ¶
type PullRequestTimelineItem struct {
Interface PullRequestTimelineItem_Interface
}
func (*PullRequestTimelineItem) MarshalJSON ¶
func (x *PullRequestTimelineItem) MarshalJSON() ([]byte, error)
func (*PullRequestTimelineItem) UnmarshalJSON ¶
func (x *PullRequestTimelineItem) UnmarshalJSON(js []byte) error
type PullRequestTimelineItemEdge ¶
type PullRequestTimelineItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node PullRequestTimelineItem `json:"node,omitempty"`
}
PullRequestTimelineItemEdge (OBJECT): An edge in a connection.
func (*PullRequestTimelineItemEdge) GetCursor ¶
func (x *PullRequestTimelineItemEdge) GetCursor() string
func (*PullRequestTimelineItemEdge) GetNode ¶
func (x *PullRequestTimelineItemEdge) GetNode() PullRequestTimelineItem
type PullRequestTimelineItem_Interface ¶
type PullRequestTimelineItem_Interface interface {
// contains filtered or unexported methods
}
PullRequestTimelineItem (UNION): An item in a pull request timeline. PullRequestTimelineItem_Interface: An item in a pull request timeline.
Possible types:
- *AssignedEvent
- *BaseRefDeletedEvent
- *BaseRefForcePushedEvent
- *ClosedEvent
- *Commit
- *CommitCommentThread
- *CrossReferencedEvent
- *DemilestonedEvent
- *DeployedEvent
- *DeploymentEnvironmentChangedEvent
- *HeadRefDeletedEvent
- *HeadRefForcePushedEvent
- *HeadRefRestoredEvent
- *IssueComment
- *LabeledEvent
- *LockedEvent
- *MergedEvent
- *MilestonedEvent
- *PullRequestReview
- *PullRequestReviewComment
- *PullRequestReviewThread
- *ReferencedEvent
- *RenamedTitleEvent
- *ReopenedEvent
- *ReviewDismissedEvent
- *ReviewRequestRemovedEvent
- *ReviewRequestedEvent
- *SubscribedEvent
- *UnassignedEvent
- *UnlabeledEvent
- *UnlockedEvent
- *UnsubscribedEvent
- *UserBlockedEvent
type PullRequestTimelineItems ¶
type PullRequestTimelineItems struct {
Interface PullRequestTimelineItems_Interface
}
func (*PullRequestTimelineItems) MarshalJSON ¶
func (x *PullRequestTimelineItems) MarshalJSON() ([]byte, error)
func (*PullRequestTimelineItems) UnmarshalJSON ¶
func (x *PullRequestTimelineItems) UnmarshalJSON(js []byte) error
type PullRequestTimelineItemsConnection ¶
type PullRequestTimelineItemsConnection struct {
// Edges: A list of edges.
Edges []*PullRequestTimelineItemsEdge `json:"edges,omitempty"`
// FilteredCount: Identifies the count of items after applying `before` and `after` filters.
FilteredCount int `json:"filteredCount,omitempty"`
// Nodes: A list of nodes.
Nodes []PullRequestTimelineItems `json:"nodes,omitempty"`
// PageCount: Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
PageCount int `json:"pageCount,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// UpdatedAt: Identifies the date and time when the timeline was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
PullRequestTimelineItemsConnection (OBJECT): The connection type for PullRequestTimelineItems.
func (*PullRequestTimelineItemsConnection) GetEdges ¶
func (x *PullRequestTimelineItemsConnection) GetEdges() []*PullRequestTimelineItemsEdge
func (*PullRequestTimelineItemsConnection) GetFilteredCount ¶
func (x *PullRequestTimelineItemsConnection) GetFilteredCount() int
func (*PullRequestTimelineItemsConnection) GetNodes ¶
func (x *PullRequestTimelineItemsConnection) GetNodes() []PullRequestTimelineItems
func (*PullRequestTimelineItemsConnection) GetPageCount ¶
func (x *PullRequestTimelineItemsConnection) GetPageCount() int
func (*PullRequestTimelineItemsConnection) GetPageInfo ¶
func (x *PullRequestTimelineItemsConnection) GetPageInfo() *PageInfo
func (*PullRequestTimelineItemsConnection) GetTotalCount ¶
func (x *PullRequestTimelineItemsConnection) GetTotalCount() int
func (*PullRequestTimelineItemsConnection) GetUpdatedAt ¶
func (x *PullRequestTimelineItemsConnection) GetUpdatedAt() DateTime
type PullRequestTimelineItemsEdge ¶
type PullRequestTimelineItemsEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node PullRequestTimelineItems `json:"node,omitempty"`
}
PullRequestTimelineItemsEdge (OBJECT): An edge in a connection.
func (*PullRequestTimelineItemsEdge) GetCursor ¶
func (x *PullRequestTimelineItemsEdge) GetCursor() string
func (*PullRequestTimelineItemsEdge) GetNode ¶
func (x *PullRequestTimelineItemsEdge) GetNode() PullRequestTimelineItems
type PullRequestTimelineItemsItemType ¶
type PullRequestTimelineItemsItemType string
PullRequestTimelineItemsItemType (ENUM): The possible item types found in a timeline.
const PullRequestTimelineItemsItemType_ADDED_TO_MERGE_QUEUE_EVENT PullRequestTimelineItemsItemType = "ADDED_TO_MERGE_QUEUE_EVENT"
PullRequestTimelineItemsItemType_ADDED_TO_MERGE_QUEUE_EVENT: Represents an 'added_to_merge_queue' event on a given pull request.
const PullRequestTimelineItemsItemType_ADDED_TO_PROJECT_EVENT PullRequestTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT"
PullRequestTimelineItemsItemType_ADDED_TO_PROJECT_EVENT: Represents a 'added_to_project' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_ASSIGNED_EVENT PullRequestTimelineItemsItemType = "ASSIGNED_EVENT"
PullRequestTimelineItemsItemType_ASSIGNED_EVENT: Represents an 'assigned' event on any assignable object.
const PullRequestTimelineItemsItemType_AUTOMATIC_BASE_CHANGE_FAILED_EVENT PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_FAILED_EVENT"
PullRequestTimelineItemsItemType_AUTOMATIC_BASE_CHANGE_FAILED_EVENT: Represents a 'automatic_base_change_failed' event on a given pull request.
const PullRequestTimelineItemsItemType_AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT"
PullRequestTimelineItemsItemType_AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT: Represents a 'automatic_base_change_succeeded' event on a given pull request.
const PullRequestTimelineItemsItemType_AUTO_MERGE_DISABLED_EVENT PullRequestTimelineItemsItemType = "AUTO_MERGE_DISABLED_EVENT"
PullRequestTimelineItemsItemType_AUTO_MERGE_DISABLED_EVENT: Represents a 'auto_merge_disabled' event on a given pull request.
const PullRequestTimelineItemsItemType_AUTO_MERGE_ENABLED_EVENT PullRequestTimelineItemsItemType = "AUTO_MERGE_ENABLED_EVENT"
PullRequestTimelineItemsItemType_AUTO_MERGE_ENABLED_EVENT: Represents a 'auto_merge_enabled' event on a given pull request.
const PullRequestTimelineItemsItemType_AUTO_REBASE_ENABLED_EVENT PullRequestTimelineItemsItemType = "AUTO_REBASE_ENABLED_EVENT"
PullRequestTimelineItemsItemType_AUTO_REBASE_ENABLED_EVENT: Represents a 'auto_rebase_enabled' event on a given pull request.
const PullRequestTimelineItemsItemType_AUTO_SQUASH_ENABLED_EVENT PullRequestTimelineItemsItemType = "AUTO_SQUASH_ENABLED_EVENT"
PullRequestTimelineItemsItemType_AUTO_SQUASH_ENABLED_EVENT: Represents a 'auto_squash_enabled' event on a given pull request.
const PullRequestTimelineItemsItemType_BASE_REF_CHANGED_EVENT PullRequestTimelineItemsItemType = "BASE_REF_CHANGED_EVENT"
PullRequestTimelineItemsItemType_BASE_REF_CHANGED_EVENT: Represents a 'base_ref_changed' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_BASE_REF_DELETED_EVENT PullRequestTimelineItemsItemType = "BASE_REF_DELETED_EVENT"
PullRequestTimelineItemsItemType_BASE_REF_DELETED_EVENT: Represents a 'base_ref_deleted' event on a given pull request.
const PullRequestTimelineItemsItemType_BASE_REF_FORCE_PUSHED_EVENT PullRequestTimelineItemsItemType = "BASE_REF_FORCE_PUSHED_EVENT"
PullRequestTimelineItemsItemType_BASE_REF_FORCE_PUSHED_EVENT: Represents a 'base_ref_force_pushed' event on a given pull request.
const PullRequestTimelineItemsItemType_CLOSED_EVENT PullRequestTimelineItemsItemType = "CLOSED_EVENT"
PullRequestTimelineItemsItemType_CLOSED_EVENT: Represents a 'closed' event on any `Closable`.
const PullRequestTimelineItemsItemType_COMMENT_DELETED_EVENT PullRequestTimelineItemsItemType = "COMMENT_DELETED_EVENT"
PullRequestTimelineItemsItemType_COMMENT_DELETED_EVENT: Represents a 'comment_deleted' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_CONNECTED_EVENT PullRequestTimelineItemsItemType = "CONNECTED_EVENT"
PullRequestTimelineItemsItemType_CONNECTED_EVENT: Represents a 'connected' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_CONVERTED_NOTE_TO_ISSUE_EVENT PullRequestTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT"
PullRequestTimelineItemsItemType_CONVERTED_NOTE_TO_ISSUE_EVENT: Represents a 'converted_note_to_issue' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_CONVERTED_TO_DISCUSSION_EVENT PullRequestTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT"
PullRequestTimelineItemsItemType_CONVERTED_TO_DISCUSSION_EVENT: Represents a 'converted_to_discussion' event on a given issue.
const PullRequestTimelineItemsItemType_CONVERT_TO_DRAFT_EVENT PullRequestTimelineItemsItemType = "CONVERT_TO_DRAFT_EVENT"
PullRequestTimelineItemsItemType_CONVERT_TO_DRAFT_EVENT: Represents a 'convert_to_draft' event on a given pull request.
const PullRequestTimelineItemsItemType_CROSS_REFERENCED_EVENT PullRequestTimelineItemsItemType = "CROSS_REFERENCED_EVENT"
PullRequestTimelineItemsItemType_CROSS_REFERENCED_EVENT: Represents a mention made by one issue or pull request to another.
const PullRequestTimelineItemsItemType_DEMILESTONED_EVENT PullRequestTimelineItemsItemType = "DEMILESTONED_EVENT"
PullRequestTimelineItemsItemType_DEMILESTONED_EVENT: Represents a 'demilestoned' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_DEPLOYED_EVENT PullRequestTimelineItemsItemType = "DEPLOYED_EVENT"
PullRequestTimelineItemsItemType_DEPLOYED_EVENT: Represents a 'deployed' event on a given pull request.
const PullRequestTimelineItemsItemType_DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT PullRequestTimelineItemsItemType = "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT"
PullRequestTimelineItemsItemType_DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT: Represents a 'deployment_environment_changed' event on a given pull request.
const PullRequestTimelineItemsItemType_DISCONNECTED_EVENT PullRequestTimelineItemsItemType = "DISCONNECTED_EVENT"
PullRequestTimelineItemsItemType_DISCONNECTED_EVENT: Represents a 'disconnected' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_HEAD_REF_DELETED_EVENT PullRequestTimelineItemsItemType = "HEAD_REF_DELETED_EVENT"
PullRequestTimelineItemsItemType_HEAD_REF_DELETED_EVENT: Represents a 'head_ref_deleted' event on a given pull request.
const PullRequestTimelineItemsItemType_HEAD_REF_FORCE_PUSHED_EVENT PullRequestTimelineItemsItemType = "HEAD_REF_FORCE_PUSHED_EVENT"
PullRequestTimelineItemsItemType_HEAD_REF_FORCE_PUSHED_EVENT: Represents a 'head_ref_force_pushed' event on a given pull request.
const PullRequestTimelineItemsItemType_HEAD_REF_RESTORED_EVENT PullRequestTimelineItemsItemType = "HEAD_REF_RESTORED_EVENT"
PullRequestTimelineItemsItemType_HEAD_REF_RESTORED_EVENT: Represents a 'head_ref_restored' event on a given pull request.
const PullRequestTimelineItemsItemType_ISSUE_COMMENT PullRequestTimelineItemsItemType = "ISSUE_COMMENT"
PullRequestTimelineItemsItemType_ISSUE_COMMENT: Represents a comment on an Issue.
const PullRequestTimelineItemsItemType_LABELED_EVENT PullRequestTimelineItemsItemType = "LABELED_EVENT"
PullRequestTimelineItemsItemType_LABELED_EVENT: Represents a 'labeled' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_LOCKED_EVENT PullRequestTimelineItemsItemType = "LOCKED_EVENT"
PullRequestTimelineItemsItemType_LOCKED_EVENT: Represents a 'locked' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_MARKED_AS_DUPLICATE_EVENT PullRequestTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT"
PullRequestTimelineItemsItemType_MARKED_AS_DUPLICATE_EVENT: Represents a 'marked_as_duplicate' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_MENTIONED_EVENT PullRequestTimelineItemsItemType = "MENTIONED_EVENT"
PullRequestTimelineItemsItemType_MENTIONED_EVENT: Represents a 'mentioned' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_MERGED_EVENT PullRequestTimelineItemsItemType = "MERGED_EVENT"
PullRequestTimelineItemsItemType_MERGED_EVENT: Represents a 'merged' event on a given pull request.
const PullRequestTimelineItemsItemType_MILESTONED_EVENT PullRequestTimelineItemsItemType = "MILESTONED_EVENT"
PullRequestTimelineItemsItemType_MILESTONED_EVENT: Represents a 'milestoned' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_MOVED_COLUMNS_IN_PROJECT_EVENT PullRequestTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT"
PullRequestTimelineItemsItemType_MOVED_COLUMNS_IN_PROJECT_EVENT: Represents a 'moved_columns_in_project' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_PINNED_EVENT PullRequestTimelineItemsItemType = "PINNED_EVENT"
PullRequestTimelineItemsItemType_PINNED_EVENT: Represents a 'pinned' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_PULL_REQUEST_COMMIT PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT"
PullRequestTimelineItemsItemType_PULL_REQUEST_COMMIT: Represents a Git commit part of a pull request.
const PullRequestTimelineItemsItemType_PULL_REQUEST_COMMIT_COMMENT_THREAD PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT_COMMENT_THREAD"
PullRequestTimelineItemsItemType_PULL_REQUEST_COMMIT_COMMENT_THREAD: Represents a commit comment thread part of a pull request.
const PullRequestTimelineItemsItemType_PULL_REQUEST_REVIEW PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW"
PullRequestTimelineItemsItemType_PULL_REQUEST_REVIEW: A review object for a given pull request.
const PullRequestTimelineItemsItemType_PULL_REQUEST_REVIEW_THREAD PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW_THREAD"
PullRequestTimelineItemsItemType_PULL_REQUEST_REVIEW_THREAD: A threaded list of comments for a given pull request.
const PullRequestTimelineItemsItemType_PULL_REQUEST_REVISION_MARKER PullRequestTimelineItemsItemType = "PULL_REQUEST_REVISION_MARKER"
PullRequestTimelineItemsItemType_PULL_REQUEST_REVISION_MARKER: Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
const PullRequestTimelineItemsItemType_READY_FOR_REVIEW_EVENT PullRequestTimelineItemsItemType = "READY_FOR_REVIEW_EVENT"
PullRequestTimelineItemsItemType_READY_FOR_REVIEW_EVENT: Represents a 'ready_for_review' event on a given pull request.
const PullRequestTimelineItemsItemType_REFERENCED_EVENT PullRequestTimelineItemsItemType = "REFERENCED_EVENT"
PullRequestTimelineItemsItemType_REFERENCED_EVENT: Represents a 'referenced' event on a given `ReferencedSubject`.
const PullRequestTimelineItemsItemType_REMOVED_FROM_MERGE_QUEUE_EVENT PullRequestTimelineItemsItemType = "REMOVED_FROM_MERGE_QUEUE_EVENT"
PullRequestTimelineItemsItemType_REMOVED_FROM_MERGE_QUEUE_EVENT: Represents a 'removed_from_merge_queue' event on a given pull request.
const PullRequestTimelineItemsItemType_REMOVED_FROM_PROJECT_EVENT PullRequestTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT"
PullRequestTimelineItemsItemType_REMOVED_FROM_PROJECT_EVENT: Represents a 'removed_from_project' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_RENAMED_TITLE_EVENT PullRequestTimelineItemsItemType = "RENAMED_TITLE_EVENT"
PullRequestTimelineItemsItemType_RENAMED_TITLE_EVENT: Represents a 'renamed' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_REOPENED_EVENT PullRequestTimelineItemsItemType = "REOPENED_EVENT"
PullRequestTimelineItemsItemType_REOPENED_EVENT: Represents a 'reopened' event on any `Closable`.
const PullRequestTimelineItemsItemType_REVIEW_DISMISSED_EVENT PullRequestTimelineItemsItemType = "REVIEW_DISMISSED_EVENT"
PullRequestTimelineItemsItemType_REVIEW_DISMISSED_EVENT: Represents a 'review_dismissed' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_REVIEW_REQUESTED_EVENT PullRequestTimelineItemsItemType = "REVIEW_REQUESTED_EVENT"
PullRequestTimelineItemsItemType_REVIEW_REQUESTED_EVENT: Represents an 'review_requested' event on a given pull request.
const PullRequestTimelineItemsItemType_REVIEW_REQUEST_REMOVED_EVENT PullRequestTimelineItemsItemType = "REVIEW_REQUEST_REMOVED_EVENT"
PullRequestTimelineItemsItemType_REVIEW_REQUEST_REMOVED_EVENT: Represents an 'review_request_removed' event on a given pull request.
const PullRequestTimelineItemsItemType_SUBSCRIBED_EVENT PullRequestTimelineItemsItemType = "SUBSCRIBED_EVENT"
PullRequestTimelineItemsItemType_SUBSCRIBED_EVENT: Represents a 'subscribed' event on a given `Subscribable`.
const PullRequestTimelineItemsItemType_TRANSFERRED_EVENT PullRequestTimelineItemsItemType = "TRANSFERRED_EVENT"
PullRequestTimelineItemsItemType_TRANSFERRED_EVENT: Represents a 'transferred' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_UNASSIGNED_EVENT PullRequestTimelineItemsItemType = "UNASSIGNED_EVENT"
PullRequestTimelineItemsItemType_UNASSIGNED_EVENT: Represents an 'unassigned' event on any assignable object.
const PullRequestTimelineItemsItemType_UNLABELED_EVENT PullRequestTimelineItemsItemType = "UNLABELED_EVENT"
PullRequestTimelineItemsItemType_UNLABELED_EVENT: Represents an 'unlabeled' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_UNLOCKED_EVENT PullRequestTimelineItemsItemType = "UNLOCKED_EVENT"
PullRequestTimelineItemsItemType_UNLOCKED_EVENT: Represents an 'unlocked' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_UNMARKED_AS_DUPLICATE_EVENT PullRequestTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT"
PullRequestTimelineItemsItemType_UNMARKED_AS_DUPLICATE_EVENT: Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_UNPINNED_EVENT PullRequestTimelineItemsItemType = "UNPINNED_EVENT"
PullRequestTimelineItemsItemType_UNPINNED_EVENT: Represents an 'unpinned' event on a given issue or pull request.
const PullRequestTimelineItemsItemType_UNSUBSCRIBED_EVENT PullRequestTimelineItemsItemType = "UNSUBSCRIBED_EVENT"
PullRequestTimelineItemsItemType_UNSUBSCRIBED_EVENT: Represents an 'unsubscribed' event on a given `Subscribable`.
const PullRequestTimelineItemsItemType_USER_BLOCKED_EVENT PullRequestTimelineItemsItemType = "USER_BLOCKED_EVENT"
PullRequestTimelineItemsItemType_USER_BLOCKED_EVENT: Represents a 'user_blocked' event on a given user.
type PullRequestTimelineItems_Interface ¶
type PullRequestTimelineItems_Interface interface {
// contains filtered or unexported methods
}
PullRequestTimelineItems (UNION): An item in a pull request timeline. PullRequestTimelineItems_Interface: An item in a pull request timeline.
Possible types:
- *AddedToProjectEvent
- *AssignedEvent
- *AutoMergeDisabledEvent
- *AutoMergeEnabledEvent
- *AutoRebaseEnabledEvent
- *AutoSquashEnabledEvent
- *AutomaticBaseChangeFailedEvent
- *AutomaticBaseChangeSucceededEvent
- *BaseRefChangedEvent
- *BaseRefDeletedEvent
- *BaseRefForcePushedEvent
- *ClosedEvent
- *CommentDeletedEvent
- *ConnectedEvent
- *ConvertToDraftEvent
- *ConvertedNoteToIssueEvent
- *ConvertedToDiscussionEvent
- *CrossReferencedEvent
- *DemilestonedEvent
- *DeployedEvent
- *DeploymentEnvironmentChangedEvent
- *DisconnectedEvent
- *HeadRefDeletedEvent
- *HeadRefForcePushedEvent
- *HeadRefRestoredEvent
- *IssueComment
- *LabeledEvent
- *LockedEvent
- *MarkedAsDuplicateEvent
- *MentionedEvent
- *MergedEvent
- *MilestonedEvent
- *MovedColumnsInProjectEvent
- *PinnedEvent
- *PullRequestCommit
- *PullRequestCommitCommentThread
- *PullRequestReview
- *PullRequestReviewThread
- *PullRequestRevisionMarker
- *ReadyForReviewEvent
- *ReferencedEvent
- *RemovedFromProjectEvent
- *RenamedTitleEvent
- *ReopenedEvent
- *ReviewDismissedEvent
- *ReviewRequestRemovedEvent
- *ReviewRequestedEvent
- *SubscribedEvent
- *TransferredEvent
- *UnassignedEvent
- *UnlabeledEvent
- *UnlockedEvent
- *UnmarkedAsDuplicateEvent
- *UnpinnedEvent
- *UnsubscribedEvent
- *UserBlockedEvent
type PullRequestUpdateState ¶
type PullRequestUpdateState string
PullRequestUpdateState (ENUM): The possible target states when updating a pull request.
const PullRequestUpdateState_CLOSED PullRequestUpdateState = "CLOSED"
PullRequestUpdateState_CLOSED: A pull request that has been closed without being merged.
const PullRequestUpdateState_OPEN PullRequestUpdateState = "OPEN"
PullRequestUpdateState_OPEN: A pull request that is still open.
type Push ¶
type Push struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// NextSha: The SHA after the push.
NextSha GitObjectID `json:"nextSha,omitempty"`
// Permalink: The permalink for this push.
Permalink URI `json:"permalink,omitempty"`
// PreviousSha: The SHA before the push.
PreviousSha GitObjectID `json:"previousSha,omitempty"`
// Pusher: The actor who pushed.
Pusher Actor `json:"pusher,omitempty"`
// Repository: The repository that was pushed to.
Repository *Repository `json:"repository,omitempty"`
}
Push (OBJECT): A Git push.
func (*Push) GetNextSha ¶
func (x *Push) GetNextSha() GitObjectID
func (*Push) GetPermalink ¶
func (*Push) GetPreviousSha ¶
func (x *Push) GetPreviousSha() GitObjectID
func (*Push) GetRepository ¶
func (x *Push) GetRepository() *Repository
type PushAllowance ¶
type PushAllowance struct {
// Actor: The actor that can push.
Actor PushAllowanceActor `json:"actor,omitempty"`
// BranchProtectionRule: Identifies the branch protection rule associated with the allowed user, team, or app.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
PushAllowance (OBJECT): A team, user, or app who has the ability to push to a protected branch.
func (*PushAllowance) GetActor ¶
func (x *PushAllowance) GetActor() PushAllowanceActor
func (*PushAllowance) GetBranchProtectionRule ¶
func (x *PushAllowance) GetBranchProtectionRule() *BranchProtectionRule
func (*PushAllowance) GetId ¶
func (x *PushAllowance) GetId() ID
type PushAllowanceActor ¶
type PushAllowanceActor struct {
Interface PushAllowanceActor_Interface
}
func (*PushAllowanceActor) MarshalJSON ¶
func (x *PushAllowanceActor) MarshalJSON() ([]byte, error)
func (*PushAllowanceActor) UnmarshalJSON ¶
func (x *PushAllowanceActor) UnmarshalJSON(js []byte) error
type PushAllowanceActor_Interface ¶
type PushAllowanceActor_Interface interface {
// contains filtered or unexported methods
}
PushAllowanceActor (UNION): Types that can be an actor. PushAllowanceActor_Interface: Types that can be an actor.
Possible types:
- *App
- *Team
- *User
type PushAllowanceConnection ¶
type PushAllowanceConnection struct {
// Edges: A list of edges.
Edges []*PushAllowanceEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*PushAllowance `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
PushAllowanceConnection (OBJECT): The connection type for PushAllowance.
func (*PushAllowanceConnection) GetEdges ¶
func (x *PushAllowanceConnection) GetEdges() []*PushAllowanceEdge
func (*PushAllowanceConnection) GetNodes ¶
func (x *PushAllowanceConnection) GetNodes() []*PushAllowance
func (*PushAllowanceConnection) GetPageInfo ¶
func (x *PushAllowanceConnection) GetPageInfo() *PageInfo
func (*PushAllowanceConnection) GetTotalCount ¶
func (x *PushAllowanceConnection) GetTotalCount() int
type PushAllowanceEdge ¶
type PushAllowanceEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *PushAllowance `json:"node,omitempty"`
}
PushAllowanceEdge (OBJECT): An edge in a connection.
func (*PushAllowanceEdge) GetCursor ¶
func (x *PushAllowanceEdge) GetCursor() string
func (*PushAllowanceEdge) GetNode ¶
func (x *PushAllowanceEdge) GetNode() *PushAllowance
type Query ¶
type Query struct {
// CodeOfConduct: Look up a code of conduct by its key.
//
// Query arguments:
// - key String!
CodeOfConduct *CodeOfConduct `json:"codeOfConduct,omitempty"`
// CodesOfConduct: Look up a code of conduct by its key.
CodesOfConduct []*CodeOfConduct `json:"codesOfConduct,omitempty"`
// Enterprise: Look up an enterprise by URL slug.
//
// Query arguments:
// - slug String!
// - invitationToken String
Enterprise *Enterprise `json:"enterprise,omitempty"`
// EnterpriseAdministratorInvitation: Look up a pending enterprise administrator invitation by invitee, enterprise and role.
//
// Query arguments:
// - userLogin String!
// - enterpriseSlug String!
// - role EnterpriseAdministratorRole!
EnterpriseAdministratorInvitation *EnterpriseAdministratorInvitation `json:"enterpriseAdministratorInvitation,omitempty"`
// EnterpriseAdministratorInvitationByToken: Look up a pending enterprise administrator invitation by invitation token.
//
// Query arguments:
// - invitationToken String!
EnterpriseAdministratorInvitationByToken *EnterpriseAdministratorInvitation `json:"enterpriseAdministratorInvitationByToken,omitempty"`
// License: Look up an open source license by its key.
//
// Query arguments:
// - key String!
License *License `json:"license,omitempty"`
// Licenses: Return a list of known open source licenses.
Licenses []*License `json:"licenses,omitempty"`
// MarketplaceCategories: Get alphabetically sorted list of Marketplace categories.
//
// Query arguments:
// - includeCategories [String!]
// - excludeEmpty Boolean
// - excludeSubcategories Boolean
MarketplaceCategories []*MarketplaceCategory `json:"marketplaceCategories,omitempty"`
// MarketplaceCategory: Look up a Marketplace category by its slug.
//
// Query arguments:
// - slug String!
// - useTopicAliases Boolean
MarketplaceCategory *MarketplaceCategory `json:"marketplaceCategory,omitempty"`
// MarketplaceListing: Look up a single Marketplace listing.
//
// Query arguments:
// - slug String!
MarketplaceListing *MarketplaceListing `json:"marketplaceListing,omitempty"`
// MarketplaceListings: Look up Marketplace listings.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - categorySlug String
// - useTopicAliases Boolean
// - viewerCanAdmin Boolean
// - adminId ID
// - organizationId ID
// - allStates Boolean
// - slugs [String]
// - primaryCategoryOnly Boolean
// - withFreeTrialsOnly Boolean
MarketplaceListings *MarketplaceListingConnection `json:"marketplaceListings,omitempty"`
// Meta: Return information about the GitHub instance.
Meta *GitHubMetadata `json:"meta,omitempty"`
// Node: Fetches an object given its ID.
//
// Query arguments:
// - id ID!
Node Node `json:"node,omitempty"`
// Nodes: Lookup nodes by a list of IDs.
//
// Query arguments:
// - ids [ID!]!
Nodes []Node `json:"nodes,omitempty"`
// Organization: Lookup a organization by login.
//
// Query arguments:
// - login String!
Organization *Organization `json:"organization,omitempty"`
// RateLimit: The client's rate limit information.
//
// Query arguments:
// - dryRun Boolean
RateLimit *RateLimit `json:"rateLimit,omitempty"`
// Relay: Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.
Relay *Query `json:"relay,omitempty"`
// Repository: Lookup a given repository by the owner and repository name.
//
// Query arguments:
// - owner String!
// - name String!
// - followRenames Boolean
Repository *Repository `json:"repository,omitempty"`
// RepositoryOwner: Lookup a repository owner (ie. either a User or an Organization) by login.
//
// Query arguments:
// - login String!
RepositoryOwner RepositoryOwner `json:"repositoryOwner,omitempty"`
// Resource: Lookup resource by a URL.
//
// Query arguments:
// - url URI!
Resource UniformResourceLocatable `json:"resource,omitempty"`
// Search: Perform a search across resources.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String!
// - type SearchType!
Search *SearchResultItemConnection `json:"search,omitempty"`
// SecurityAdvisories: GitHub Security Advisories.
//
// Query arguments:
// - orderBy SecurityAdvisoryOrder
// - identifier SecurityAdvisoryIdentifierFilter
// - publishedSince DateTime
// - updatedSince DateTime
// - classifications [SecurityAdvisoryClassification!]
// - after String
// - before String
// - first Int
// - last Int
SecurityAdvisories *SecurityAdvisoryConnection `json:"securityAdvisories,omitempty"`
// SecurityAdvisory: Fetch a Security Advisory by its GHSA ID.
//
// Query arguments:
// - ghsaId String!
SecurityAdvisory *SecurityAdvisory `json:"securityAdvisory,omitempty"`
// SecurityVulnerabilities: Software Vulnerabilities documented by GitHub Security Advisories.
//
// Query arguments:
// - orderBy SecurityVulnerabilityOrder
// - ecosystem SecurityAdvisoryEcosystem
// - package String
// - severities [SecurityAdvisorySeverity!]
// - classifications [SecurityAdvisoryClassification!]
// - after String
// - before String
// - first Int
// - last Int
SecurityVulnerabilities *SecurityVulnerabilityConnection `json:"securityVulnerabilities,omitempty"`
// Sponsorables: Users and organizations who can be sponsored via GitHub Sponsors.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorableOrder
// - onlyDependencies Boolean
// - orgLoginForDependencies String
// - dependencyEcosystem SecurityAdvisoryEcosystem
// - ecosystem DependencyGraphEcosystem
Sponsorables *SponsorableItemConnection `json:"sponsorables,omitempty"`
// Topic: Look up a topic by name.
//
// Query arguments:
// - name String!
Topic *Topic `json:"topic,omitempty"`
// User: Lookup a user by login.
//
// Query arguments:
// - login String!
User *User `json:"user,omitempty"`
// Viewer: The currently authenticated user.
Viewer *User `json:"viewer,omitempty"`
}
Query (OBJECT): The query root of GitHub's GraphQL interface.
func (*Query) GetCodeOfConduct ¶
func (x *Query) GetCodeOfConduct() *CodeOfConduct
func (*Query) GetCodesOfConduct ¶
func (x *Query) GetCodesOfConduct() []*CodeOfConduct
func (*Query) GetEnterprise ¶
func (x *Query) GetEnterprise() *Enterprise
func (*Query) GetEnterpriseAdministratorInvitation ¶
func (x *Query) GetEnterpriseAdministratorInvitation() *EnterpriseAdministratorInvitation
func (*Query) GetEnterpriseAdministratorInvitationByToken ¶
func (x *Query) GetEnterpriseAdministratorInvitationByToken() *EnterpriseAdministratorInvitation
func (*Query) GetLicense ¶
func (*Query) GetLicenses ¶
func (*Query) GetMarketplaceCategories ¶
func (x *Query) GetMarketplaceCategories() []*MarketplaceCategory
func (*Query) GetMarketplaceCategory ¶
func (x *Query) GetMarketplaceCategory() *MarketplaceCategory
func (*Query) GetMarketplaceListing ¶
func (x *Query) GetMarketplaceListing() *MarketplaceListing
func (*Query) GetMarketplaceListings ¶
func (x *Query) GetMarketplaceListings() *MarketplaceListingConnection
func (*Query) GetMeta ¶
func (x *Query) GetMeta() *GitHubMetadata
func (*Query) GetOrganization ¶
func (x *Query) GetOrganization() *Organization
func (*Query) GetRateLimit ¶
func (*Query) GetRepository ¶
func (x *Query) GetRepository() *Repository
func (*Query) GetRepositoryOwner ¶
func (x *Query) GetRepositoryOwner() RepositoryOwner
func (*Query) GetResource ¶
func (x *Query) GetResource() UniformResourceLocatable
func (*Query) GetSearch ¶
func (x *Query) GetSearch() *SearchResultItemConnection
func (*Query) GetSecurityAdvisories ¶
func (x *Query) GetSecurityAdvisories() *SecurityAdvisoryConnection
func (*Query) GetSecurityAdvisory ¶
func (x *Query) GetSecurityAdvisory() *SecurityAdvisory
func (*Query) GetSecurityVulnerabilities ¶
func (x *Query) GetSecurityVulnerabilities() *SecurityVulnerabilityConnection
func (*Query) GetSponsorables ¶
func (x *Query) GetSponsorables() *SponsorableItemConnection
type RateLimit ¶
type RateLimit struct {
// Cost: The point cost for the current query counting against the rate limit.
Cost int `json:"cost,omitempty"`
// Limit: The maximum number of points the client is permitted to consume in a 60 minute window.
Limit int `json:"limit,omitempty"`
// NodeCount: The maximum number of nodes this query may return.
NodeCount int `json:"nodeCount,omitempty"`
// Remaining: The number of points remaining in the current rate limit window.
Remaining int `json:"remaining,omitempty"`
// ResetAt: The time at which the current rate limit window resets in UTC epoch seconds.
ResetAt DateTime `json:"resetAt,omitempty"`
// Used: The number of points used in the current rate limit window.
Used int `json:"used,omitempty"`
}
RateLimit (OBJECT): Represents the client's rate limit.
func (*RateLimit) GetNodeCount ¶
func (*RateLimit) GetRemaining ¶
func (*RateLimit) GetResetAt ¶
type Reactable ¶
type Reactable struct {
Interface Reactable_Interface
}
func (*Reactable) MarshalJSON ¶
func (*Reactable) UnmarshalJSON ¶
type Reactable_Interface ¶
type Reactable_Interface interface {
GetDatabaseId() int
GetId() ID
GetReactionGroups() []*ReactionGroup
GetReactions() *ReactionConnection
GetViewerCanReact() bool
// contains filtered or unexported methods
}
Reactable (INTERFACE): Represents a subject that can be reacted on. Reactable_Interface: Represents a subject that can be reacted on.
Possible types:
- *CommitComment
- *Discussion
- *DiscussionComment
- *Issue
- *IssueComment
- *PullRequest
- *PullRequestReview
- *PullRequestReviewComment
- *Release
- *TeamDiscussion
- *TeamDiscussionComment
type ReactingUserConnection ¶
type ReactingUserConnection struct {
// Edges: A list of edges.
Edges []*ReactingUserEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReactingUserConnection (OBJECT): The connection type for User.
func (*ReactingUserConnection) GetEdges ¶
func (x *ReactingUserConnection) GetEdges() []*ReactingUserEdge
func (*ReactingUserConnection) GetNodes ¶
func (x *ReactingUserConnection) GetNodes() []*User
func (*ReactingUserConnection) GetPageInfo ¶
func (x *ReactingUserConnection) GetPageInfo() *PageInfo
func (*ReactingUserConnection) GetTotalCount ¶
func (x *ReactingUserConnection) GetTotalCount() int
type ReactingUserEdge ¶
type ReactingUserEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *User `json:"node,omitempty"`
// ReactedAt: The moment when the user made the reaction.
ReactedAt DateTime `json:"reactedAt,omitempty"`
}
ReactingUserEdge (OBJECT): Represents a user that's made a reaction.
func (*ReactingUserEdge) GetCursor ¶
func (x *ReactingUserEdge) GetCursor() string
func (*ReactingUserEdge) GetNode ¶
func (x *ReactingUserEdge) GetNode() *User
func (*ReactingUserEdge) GetReactedAt ¶
func (x *ReactingUserEdge) GetReactedAt() DateTime
type Reaction ¶
type Reaction struct {
// Content: Identifies the emoji reaction.
Content ReactionContent `json:"content,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Reactable: The reactable piece of content.
Reactable Reactable `json:"reactable,omitempty"`
// User: Identifies the user who created this reaction.
User *User `json:"user,omitempty"`
}
Reaction (OBJECT): An emoji reaction to a particular piece of content.
func (*Reaction) GetContent ¶
func (x *Reaction) GetContent() ReactionContent
func (*Reaction) GetCreatedAt ¶
func (*Reaction) GetDatabaseId ¶
func (*Reaction) GetReactable ¶
type ReactionConnection ¶
type ReactionConnection struct {
// Edges: A list of edges.
Edges []*ReactionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Reaction `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// ViewerHasReacted: Whether or not the authenticated user has left a reaction on the subject.
ViewerHasReacted bool `json:"viewerHasReacted,omitempty"`
}
ReactionConnection (OBJECT): A list of reactions that have been left on the subject.
func (*ReactionConnection) GetEdges ¶
func (x *ReactionConnection) GetEdges() []*ReactionEdge
func (*ReactionConnection) GetNodes ¶
func (x *ReactionConnection) GetNodes() []*Reaction
func (*ReactionConnection) GetPageInfo ¶
func (x *ReactionConnection) GetPageInfo() *PageInfo
func (*ReactionConnection) GetTotalCount ¶
func (x *ReactionConnection) GetTotalCount() int
func (*ReactionConnection) GetViewerHasReacted ¶
func (x *ReactionConnection) GetViewerHasReacted() bool
type ReactionContent ¶
type ReactionContent string
ReactionContent (ENUM): Emojis that can be attached to Issues, Pull Requests and Comments.
const ReactionContent_CONFUSED ReactionContent = "CONFUSED"
ReactionContent_CONFUSED: Represents the `:confused:` emoji.
const ReactionContent_EYES ReactionContent = "EYES"
ReactionContent_EYES: Represents the `:eyes:` emoji.
const ReactionContent_HEART ReactionContent = "HEART"
ReactionContent_HEART: Represents the `:heart:` emoji.
const ReactionContent_HOORAY ReactionContent = "HOORAY"
ReactionContent_HOORAY: Represents the `:hooray:` emoji.
const ReactionContent_LAUGH ReactionContent = "LAUGH"
ReactionContent_LAUGH: Represents the `:laugh:` emoji.
const ReactionContent_ROCKET ReactionContent = "ROCKET"
ReactionContent_ROCKET: Represents the `:rocket:` emoji.
const ReactionContent_THUMBS_DOWN ReactionContent = "THUMBS_DOWN"
ReactionContent_THUMBS_DOWN: Represents the `:-1:` emoji.
const ReactionContent_THUMBS_UP ReactionContent = "THUMBS_UP"
ReactionContent_THUMBS_UP: Represents the `:+1:` emoji.
type ReactionEdge ¶
type ReactionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Reaction `json:"node,omitempty"`
}
ReactionEdge (OBJECT): An edge in a connection.
func (*ReactionEdge) GetCursor ¶
func (x *ReactionEdge) GetCursor() string
func (*ReactionEdge) GetNode ¶
func (x *ReactionEdge) GetNode() *Reaction
type ReactionGroup ¶
type ReactionGroup struct {
// Content: Identifies the emoji reaction.
Content ReactionContent `json:"content,omitempty"`
// CreatedAt: Identifies when the reaction was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Reactors: Reactors to the reaction subject with the emotion represented by this reaction group.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Reactors *ReactorConnection `json:"reactors,omitempty"`
// Subject: The subject that was reacted to.
Subject Reactable `json:"subject,omitempty"`
// Users: Users who have reacted to the reaction subject with the emotion represented by this reaction group.
//
// Deprecated: Users who have reacted to the reaction subject with the emotion represented by this reaction group.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Users *ReactingUserConnection `json:"users,omitempty"`
// ViewerHasReacted: Whether or not the authenticated user has left a reaction on the subject.
ViewerHasReacted bool `json:"viewerHasReacted,omitempty"`
}
ReactionGroup (OBJECT): A group of emoji reactions to a particular piece of content.
func (*ReactionGroup) GetContent ¶
func (x *ReactionGroup) GetContent() ReactionContent
func (*ReactionGroup) GetCreatedAt ¶
func (x *ReactionGroup) GetCreatedAt() DateTime
func (*ReactionGroup) GetReactors ¶
func (x *ReactionGroup) GetReactors() *ReactorConnection
func (*ReactionGroup) GetSubject ¶
func (x *ReactionGroup) GetSubject() Reactable
func (*ReactionGroup) GetUsers ¶
func (x *ReactionGroup) GetUsers() *ReactingUserConnection
func (*ReactionGroup) GetViewerHasReacted ¶
func (x *ReactionGroup) GetViewerHasReacted() bool
type ReactionOrder ¶
type ReactionOrder struct {
// Field: The field in which to order reactions by.
//
// GraphQL type: ReactionOrderField!
Field ReactionOrderField `json:"field,omitempty"`
// Direction: The direction in which to order reactions by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ReactionOrder (INPUT_OBJECT): Ways in which lists of reactions can be ordered upon return.
type ReactionOrderField ¶
type ReactionOrderField string
ReactionOrderField (ENUM): A list of fields that reactions can be ordered by.
const ReactionOrderField_CREATED_AT ReactionOrderField = "CREATED_AT"
ReactionOrderField_CREATED_AT: Allows ordering a list of reactions by when they were created.
type Reactor ¶
type Reactor struct {
Interface Reactor_Interface
}
func (*Reactor) MarshalJSON ¶
func (*Reactor) UnmarshalJSON ¶
type ReactorConnection ¶
type ReactorConnection struct {
// Edges: A list of edges.
Edges []*ReactorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []Reactor `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReactorConnection (OBJECT): The connection type for Reactor.
func (*ReactorConnection) GetEdges ¶
func (x *ReactorConnection) GetEdges() []*ReactorEdge
func (*ReactorConnection) GetNodes ¶
func (x *ReactorConnection) GetNodes() []Reactor
func (*ReactorConnection) GetPageInfo ¶
func (x *ReactorConnection) GetPageInfo() *PageInfo
func (*ReactorConnection) GetTotalCount ¶
func (x *ReactorConnection) GetTotalCount() int
type ReactorEdge ¶
type ReactorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The author of the reaction.
Node Reactor `json:"node,omitempty"`
// ReactedAt: The moment when the user made the reaction.
ReactedAt DateTime `json:"reactedAt,omitempty"`
}
ReactorEdge (OBJECT): Represents an author of a reaction.
func (*ReactorEdge) GetCursor ¶
func (x *ReactorEdge) GetCursor() string
func (*ReactorEdge) GetNode ¶
func (x *ReactorEdge) GetNode() Reactor
func (*ReactorEdge) GetReactedAt ¶
func (x *ReactorEdge) GetReactedAt() DateTime
type Reactor_Interface ¶
type Reactor_Interface interface {
// contains filtered or unexported methods
}
Reactor (UNION): Types that can be assigned to reactions. Reactor_Interface: Types that can be assigned to reactions.
Possible types:
- *Bot
- *Mannequin
- *Organization
- *User
type ReadyForReviewEvent ¶
type ReadyForReviewEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// ResourcePath: The HTTP path for this ready for review event.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this ready for review event.
Url URI `json:"url,omitempty"`
}
ReadyForReviewEvent (OBJECT): Represents a 'ready_for_review' event on a given pull request.
func (*ReadyForReviewEvent) GetActor ¶
func (x *ReadyForReviewEvent) GetActor() Actor
func (*ReadyForReviewEvent) GetCreatedAt ¶
func (x *ReadyForReviewEvent) GetCreatedAt() DateTime
func (*ReadyForReviewEvent) GetId ¶
func (x *ReadyForReviewEvent) GetId() ID
func (*ReadyForReviewEvent) GetPullRequest ¶
func (x *ReadyForReviewEvent) GetPullRequest() *PullRequest
func (*ReadyForReviewEvent) GetResourcePath ¶
func (x *ReadyForReviewEvent) GetResourcePath() URI
func (*ReadyForReviewEvent) GetUrl ¶
func (x *ReadyForReviewEvent) GetUrl() URI
type Ref ¶
type Ref struct {
// AssociatedPullRequests: A list of pull requests with this ref as the head ref.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
AssociatedPullRequests *PullRequestConnection `json:"associatedPullRequests,omitempty"`
// BranchProtectionRule: Branch protection rules for this ref.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The ref name.
Name string `json:"name,omitempty"`
// Prefix: The ref's prefix, such as `refs/heads/` or `refs/tags/`.
Prefix string `json:"prefix,omitempty"`
// RefUpdateRule: Branch protection rules that are viewable by non-admins.
RefUpdateRule *RefUpdateRule `json:"refUpdateRule,omitempty"`
// Repository: The repository the ref belongs to.
Repository *Repository `json:"repository,omitempty"`
// Target: The object the ref points to. Returns null when object does not exist.
Target GitObject `json:"target,omitempty"`
}
Ref (OBJECT): Represents a Git reference.
func (*Ref) GetAssociatedPullRequests ¶
func (x *Ref) GetAssociatedPullRequests() *PullRequestConnection
func (*Ref) GetBranchProtectionRule ¶
func (x *Ref) GetBranchProtectionRule() *BranchProtectionRule
func (*Ref) GetRefUpdateRule ¶
func (x *Ref) GetRefUpdateRule() *RefUpdateRule
func (*Ref) GetRepository ¶
func (x *Ref) GetRepository() *Repository
type RefConnection ¶
type RefConnection struct {
// Edges: A list of edges.
Edges []*RefEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Ref `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RefConnection (OBJECT): The connection type for Ref.
func (*RefConnection) GetEdges ¶
func (x *RefConnection) GetEdges() []*RefEdge
func (*RefConnection) GetNodes ¶
func (x *RefConnection) GetNodes() []*Ref
func (*RefConnection) GetPageInfo ¶
func (x *RefConnection) GetPageInfo() *PageInfo
func (*RefConnection) GetTotalCount ¶
func (x *RefConnection) GetTotalCount() int
type RefEdge ¶
type RefEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Ref `json:"node,omitempty"`
}
RefEdge (OBJECT): An edge in a connection.
type RefOrder ¶
type RefOrder struct {
// Field: The field in which to order refs by.
//
// GraphQL type: RefOrderField!
Field RefOrderField `json:"field,omitempty"`
// Direction: The direction in which to order refs by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
RefOrder (INPUT_OBJECT): Ways in which lists of git refs can be ordered upon return.
type RefOrderField ¶
type RefOrderField string
RefOrderField (ENUM): Properties by which ref connections can be ordered.
const RefOrderField_ALPHABETICAL RefOrderField = "ALPHABETICAL"
RefOrderField_ALPHABETICAL: Order refs by their alphanumeric name.
const RefOrderField_TAG_COMMIT_DATE RefOrderField = "TAG_COMMIT_DATE"
RefOrderField_TAG_COMMIT_DATE: Order refs by underlying commit date if the ref prefix is refs/tags/.
type RefUpdateRule ¶
type RefUpdateRule struct {
// AllowsDeletions: Can this branch be deleted.
AllowsDeletions bool `json:"allowsDeletions,omitempty"`
// AllowsForcePushes: Are force pushes allowed on this branch.
AllowsForcePushes bool `json:"allowsForcePushes,omitempty"`
// BlocksCreations: Can matching branches be created.
BlocksCreations bool `json:"blocksCreations,omitempty"`
// Pattern: Identifies the protection rule pattern.
Pattern string `json:"pattern,omitempty"`
// RequiredApprovingReviewCount: Number of approving reviews required to update matching branches.
RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount,omitempty"`
// RequiredStatusCheckContexts: List of required status check contexts that must pass for commits to be accepted to matching branches.
RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
// RequiresCodeOwnerReviews: Are reviews from code owners required to update matching branches.
RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews,omitempty"`
// RequiresConversationResolution: Are conversations required to be resolved before merging.
RequiresConversationResolution bool `json:"requiresConversationResolution,omitempty"`
// RequiresLinearHistory: Are merge commits prohibited from being pushed to this branch.
RequiresLinearHistory bool `json:"requiresLinearHistory,omitempty"`
// RequiresSignatures: Are commits required to be signed.
RequiresSignatures bool `json:"requiresSignatures,omitempty"`
// ViewerAllowedToDismissReviews: Is the viewer allowed to dismiss reviews.
ViewerAllowedToDismissReviews bool `json:"viewerAllowedToDismissReviews,omitempty"`
// ViewerCanPush: Can the viewer push to the branch.
ViewerCanPush bool `json:"viewerCanPush,omitempty"`
}
RefUpdateRule (OBJECT): A ref update rules for a viewer.
func (*RefUpdateRule) GetAllowsDeletions ¶
func (x *RefUpdateRule) GetAllowsDeletions() bool
func (*RefUpdateRule) GetAllowsForcePushes ¶
func (x *RefUpdateRule) GetAllowsForcePushes() bool
func (*RefUpdateRule) GetBlocksCreations ¶
func (x *RefUpdateRule) GetBlocksCreations() bool
func (*RefUpdateRule) GetPattern ¶
func (x *RefUpdateRule) GetPattern() string
func (*RefUpdateRule) GetRequiredApprovingReviewCount ¶
func (x *RefUpdateRule) GetRequiredApprovingReviewCount() int
func (*RefUpdateRule) GetRequiredStatusCheckContexts ¶
func (x *RefUpdateRule) GetRequiredStatusCheckContexts() []string
func (*RefUpdateRule) GetRequiresCodeOwnerReviews ¶
func (x *RefUpdateRule) GetRequiresCodeOwnerReviews() bool
func (*RefUpdateRule) GetRequiresConversationResolution ¶
func (x *RefUpdateRule) GetRequiresConversationResolution() bool
func (*RefUpdateRule) GetRequiresLinearHistory ¶
func (x *RefUpdateRule) GetRequiresLinearHistory() bool
func (*RefUpdateRule) GetRequiresSignatures ¶
func (x *RefUpdateRule) GetRequiresSignatures() bool
func (*RefUpdateRule) GetViewerAllowedToDismissReviews ¶
func (x *RefUpdateRule) GetViewerAllowedToDismissReviews() bool
func (*RefUpdateRule) GetViewerCanPush ¶
func (x *RefUpdateRule) GetViewerCanPush() bool
type ReferencedEvent ¶
type ReferencedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Commit: Identifies the commit associated with the 'referenced' event.
Commit *Commit `json:"commit,omitempty"`
// CommitRepository: Identifies the repository associated with the 'referenced' event.
CommitRepository *Repository `json:"commitRepository,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Reference originated in a different repository.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
// IsDirectReference: Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.
IsDirectReference bool `json:"isDirectReference,omitempty"`
// Subject: Object referenced by event.
Subject ReferencedSubject `json:"subject,omitempty"`
}
ReferencedEvent (OBJECT): Represents a 'referenced' event on a given `ReferencedSubject`.
func (*ReferencedEvent) GetActor ¶
func (x *ReferencedEvent) GetActor() Actor
func (*ReferencedEvent) GetCommit ¶
func (x *ReferencedEvent) GetCommit() *Commit
func (*ReferencedEvent) GetCommitRepository ¶
func (x *ReferencedEvent) GetCommitRepository() *Repository
func (*ReferencedEvent) GetCreatedAt ¶
func (x *ReferencedEvent) GetCreatedAt() DateTime
func (*ReferencedEvent) GetId ¶
func (x *ReferencedEvent) GetId() ID
func (*ReferencedEvent) GetIsCrossRepository ¶
func (x *ReferencedEvent) GetIsCrossRepository() bool
func (*ReferencedEvent) GetIsDirectReference ¶
func (x *ReferencedEvent) GetIsDirectReference() bool
func (*ReferencedEvent) GetSubject ¶
func (x *ReferencedEvent) GetSubject() ReferencedSubject
type ReferencedSubject ¶
type ReferencedSubject struct {
Interface ReferencedSubject_Interface
}
func (*ReferencedSubject) MarshalJSON ¶
func (x *ReferencedSubject) MarshalJSON() ([]byte, error)
func (*ReferencedSubject) UnmarshalJSON ¶
func (x *ReferencedSubject) UnmarshalJSON(js []byte) error
type ReferencedSubject_Interface ¶
type ReferencedSubject_Interface interface {
// contains filtered or unexported methods
}
ReferencedSubject (UNION): Any referencable object. ReferencedSubject_Interface: Any referencable object.
Possible types:
- *Issue
- *PullRequest
type RegenerateEnterpriseIdentityProviderRecoveryCodesInput ¶
type RegenerateEnterpriseIdentityProviderRecoveryCodesInput struct {
// EnterpriseId: The ID of the enterprise on which to set an identity provider.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RegenerateEnterpriseIdentityProviderRecoveryCodesInput (INPUT_OBJECT): Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes.
type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload ¶
type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IdentityProvider: The identity provider for the enterprise.
IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}
RegenerateEnterpriseIdentityProviderRecoveryCodesPayload (OBJECT): Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes.
func (*RegenerateEnterpriseIdentityProviderRecoveryCodesPayload) GetClientMutationId ¶
func (x *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload) GetClientMutationId() string
func (*RegenerateEnterpriseIdentityProviderRecoveryCodesPayload) GetIdentityProvider ¶
func (x *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload) GetIdentityProvider() *EnterpriseIdentityProvider
type RegenerateVerifiableDomainTokenInput ¶
type RegenerateVerifiableDomainTokenInput struct {
// Id: The ID of the verifiable domain to regenerate the verification token of.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RegenerateVerifiableDomainTokenInput (INPUT_OBJECT): Autogenerated input type of RegenerateVerifiableDomainToken.
type RegenerateVerifiableDomainTokenPayload ¶
type RegenerateVerifiableDomainTokenPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// VerificationToken: The verification token that was generated.
VerificationToken string `json:"verificationToken,omitempty"`
}
RegenerateVerifiableDomainTokenPayload (OBJECT): Autogenerated return type of RegenerateVerifiableDomainToken.
func (*RegenerateVerifiableDomainTokenPayload) GetClientMutationId ¶
func (x *RegenerateVerifiableDomainTokenPayload) GetClientMutationId() string
func (*RegenerateVerifiableDomainTokenPayload) GetVerificationToken ¶
func (x *RegenerateVerifiableDomainTokenPayload) GetVerificationToken() string
type RejectDeploymentsInput ¶
type RejectDeploymentsInput struct {
// WorkflowRunId: The node ID of the workflow run containing the pending deployments.
//
// GraphQL type: ID!
WorkflowRunId ID `json:"workflowRunId,omitempty"`
// EnvironmentIds: The ids of environments to reject deployments.
//
// GraphQL type: [ID!]!
EnvironmentIds []ID `json:"environmentIds,omitempty"`
// Comment: Optional comment for rejecting deployments.
//
// GraphQL type: String
Comment string `json:"comment,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RejectDeploymentsInput (INPUT_OBJECT): Autogenerated input type of RejectDeployments.
type RejectDeploymentsPayload ¶
type RejectDeploymentsPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Deployments: The affected deployments.
Deployments []*Deployment `json:"deployments,omitempty"`
}
RejectDeploymentsPayload (OBJECT): Autogenerated return type of RejectDeployments.
func (*RejectDeploymentsPayload) GetClientMutationId ¶
func (x *RejectDeploymentsPayload) GetClientMutationId() string
func (*RejectDeploymentsPayload) GetDeployments ¶
func (x *RejectDeploymentsPayload) GetDeployments() []*Deployment
type Release ¶
type Release struct {
// Author: The author of the release.
Author *User `json:"author,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The description of the release.
Description string `json:"description,omitempty"`
// DescriptionHTML: The description of this release rendered to HTML.
DescriptionHTML template.HTML `json:"descriptionHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsDraft: Whether or not the release is a draft.
IsDraft bool `json:"isDraft,omitempty"`
// IsLatest: Whether or not the release is the latest releast.
IsLatest bool `json:"isLatest,omitempty"`
// IsPrerelease: Whether or not the release is a prerelease.
IsPrerelease bool `json:"isPrerelease,omitempty"`
// Mentions: A list of users mentioned in the release description.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Mentions *UserConnection `json:"mentions,omitempty"`
// Name: The title of the release.
Name string `json:"name,omitempty"`
// PublishedAt: Identifies the date and time when the release was created.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// ReleaseAssets: List of releases assets which are dependent on this release.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - name String
ReleaseAssets *ReleaseAssetConnection `json:"releaseAssets,omitempty"`
// Repository: The repository that the release belongs to.
Repository *Repository `json:"repository,omitempty"`
// ResourcePath: The HTTP path for this issue.
ResourcePath URI `json:"resourcePath,omitempty"`
// ShortDescriptionHTML: A description of the release, rendered to HTML without any links in it.
//
// Query arguments:
// - limit Int
ShortDescriptionHTML template.HTML `json:"shortDescriptionHTML,omitempty"`
// Tag: The Git tag the release points to.
Tag *Ref `json:"tag,omitempty"`
// TagCommit: The tag commit for this release.
TagCommit *Commit `json:"tagCommit,omitempty"`
// TagName: The name of the release's Git tag.
TagName string `json:"tagName,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this issue.
Url URI `json:"url,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
}
Release (OBJECT): A release contains the content for a release.
func (*Release) GetCreatedAt ¶
func (*Release) GetDatabaseId ¶
func (*Release) GetDescription ¶
func (*Release) GetDescriptionHTML ¶
func (*Release) GetIsDraft ¶
func (*Release) GetIsLatest ¶
func (*Release) GetIsPrerelease ¶
func (*Release) GetMentions ¶
func (x *Release) GetMentions() *UserConnection
func (*Release) GetPublishedAt ¶
func (*Release) GetReactionGroups ¶
func (x *Release) GetReactionGroups() []*ReactionGroup
func (*Release) GetReactions ¶
func (x *Release) GetReactions() *ReactionConnection
func (*Release) GetReleaseAssets ¶
func (x *Release) GetReleaseAssets() *ReleaseAssetConnection
func (*Release) GetRepository ¶
func (x *Release) GetRepository() *Repository
func (*Release) GetResourcePath ¶
func (*Release) GetShortDescriptionHTML ¶
func (*Release) GetTagCommit ¶
func (*Release) GetTagName ¶
func (*Release) GetUpdatedAt ¶
func (*Release) GetViewerCanReact ¶
type ReleaseAsset ¶
type ReleaseAsset struct {
// ContentType: The asset's content-type.
ContentType string `json:"contentType,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DownloadCount: The number of times this asset was downloaded.
DownloadCount int `json:"downloadCount,omitempty"`
// DownloadUrl: Identifies the URL where you can download the release asset via the browser.
DownloadUrl URI `json:"downloadUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: Identifies the title of the release asset.
Name string `json:"name,omitempty"`
// Release: Release that the asset is associated with.
Release *Release `json:"release,omitempty"`
// Size: The size (in bytes) of the asset.
Size int `json:"size,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// UploadedBy: The user that performed the upload.
UploadedBy *User `json:"uploadedBy,omitempty"`
// Url: Identifies the URL of the release asset.
Url URI `json:"url,omitempty"`
}
ReleaseAsset (OBJECT): A release asset contains the content for a release asset.
func (*ReleaseAsset) GetContentType ¶
func (x *ReleaseAsset) GetContentType() string
func (*ReleaseAsset) GetCreatedAt ¶
func (x *ReleaseAsset) GetCreatedAt() DateTime
func (*ReleaseAsset) GetDownloadCount ¶
func (x *ReleaseAsset) GetDownloadCount() int
func (*ReleaseAsset) GetDownloadUrl ¶
func (x *ReleaseAsset) GetDownloadUrl() URI
func (*ReleaseAsset) GetId ¶
func (x *ReleaseAsset) GetId() ID
func (*ReleaseAsset) GetName ¶
func (x *ReleaseAsset) GetName() string
func (*ReleaseAsset) GetRelease ¶
func (x *ReleaseAsset) GetRelease() *Release
func (*ReleaseAsset) GetSize ¶
func (x *ReleaseAsset) GetSize() int
func (*ReleaseAsset) GetUpdatedAt ¶
func (x *ReleaseAsset) GetUpdatedAt() DateTime
func (*ReleaseAsset) GetUploadedBy ¶
func (x *ReleaseAsset) GetUploadedBy() *User
func (*ReleaseAsset) GetUrl ¶
func (x *ReleaseAsset) GetUrl() URI
type ReleaseAssetConnection ¶
type ReleaseAssetConnection struct {
// Edges: A list of edges.
Edges []*ReleaseAssetEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ReleaseAsset `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReleaseAssetConnection (OBJECT): The connection type for ReleaseAsset.
func (*ReleaseAssetConnection) GetEdges ¶
func (x *ReleaseAssetConnection) GetEdges() []*ReleaseAssetEdge
func (*ReleaseAssetConnection) GetNodes ¶
func (x *ReleaseAssetConnection) GetNodes() []*ReleaseAsset
func (*ReleaseAssetConnection) GetPageInfo ¶
func (x *ReleaseAssetConnection) GetPageInfo() *PageInfo
func (*ReleaseAssetConnection) GetTotalCount ¶
func (x *ReleaseAssetConnection) GetTotalCount() int
type ReleaseAssetEdge ¶
type ReleaseAssetEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ReleaseAsset `json:"node,omitempty"`
}
ReleaseAssetEdge (OBJECT): An edge in a connection.
func (*ReleaseAssetEdge) GetCursor ¶
func (x *ReleaseAssetEdge) GetCursor() string
func (*ReleaseAssetEdge) GetNode ¶
func (x *ReleaseAssetEdge) GetNode() *ReleaseAsset
type ReleaseConnection ¶
type ReleaseConnection struct {
// Edges: A list of edges.
Edges []*ReleaseEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Release `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReleaseConnection (OBJECT): The connection type for Release.
func (*ReleaseConnection) GetEdges ¶
func (x *ReleaseConnection) GetEdges() []*ReleaseEdge
func (*ReleaseConnection) GetNodes ¶
func (x *ReleaseConnection) GetNodes() []*Release
func (*ReleaseConnection) GetPageInfo ¶
func (x *ReleaseConnection) GetPageInfo() *PageInfo
func (*ReleaseConnection) GetTotalCount ¶
func (x *ReleaseConnection) GetTotalCount() int
type ReleaseEdge ¶
type ReleaseEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Release `json:"node,omitempty"`
}
ReleaseEdge (OBJECT): An edge in a connection.
func (*ReleaseEdge) GetCursor ¶
func (x *ReleaseEdge) GetCursor() string
func (*ReleaseEdge) GetNode ¶
func (x *ReleaseEdge) GetNode() *Release
type ReleaseOrder ¶
type ReleaseOrder struct {
// Field: The field in which to order releases by.
//
// GraphQL type: ReleaseOrderField!
Field ReleaseOrderField `json:"field,omitempty"`
// Direction: The direction in which to order releases by the specified field.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
ReleaseOrder (INPUT_OBJECT): Ways in which lists of releases can be ordered upon return.
type ReleaseOrderField ¶
type ReleaseOrderField string
ReleaseOrderField (ENUM): Properties by which release connections can be ordered.
const ReleaseOrderField_CREATED_AT ReleaseOrderField = "CREATED_AT"
ReleaseOrderField_CREATED_AT: Order releases by creation time.
const ReleaseOrderField_NAME ReleaseOrderField = "NAME"
ReleaseOrderField_NAME: Order releases alphabetically by name.
type RemoveAssigneesFromAssignableInput ¶
type RemoveAssigneesFromAssignableInput struct {
// AssignableId: The id of the assignable object to remove assignees from.
//
// GraphQL type: ID!
AssignableId ID `json:"assignableId,omitempty"`
// AssigneeIds: The id of users to remove as assignees.
//
// GraphQL type: [ID!]!
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveAssigneesFromAssignableInput (INPUT_OBJECT): Autogenerated input type of RemoveAssigneesFromAssignable.
type RemoveAssigneesFromAssignablePayload ¶
type RemoveAssigneesFromAssignablePayload struct {
// Assignable: The item that was unassigned.
Assignable Assignable `json:"assignable,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveAssigneesFromAssignablePayload (OBJECT): Autogenerated return type of RemoveAssigneesFromAssignable.
func (*RemoveAssigneesFromAssignablePayload) GetAssignable ¶
func (x *RemoveAssigneesFromAssignablePayload) GetAssignable() Assignable
func (*RemoveAssigneesFromAssignablePayload) GetClientMutationId ¶
func (x *RemoveAssigneesFromAssignablePayload) GetClientMutationId() string
type RemoveEnterpriseAdminInput ¶
type RemoveEnterpriseAdminInput struct {
// EnterpriseId: The Enterprise ID from which to remove the administrator.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of the user to remove as an administrator.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveEnterpriseAdminInput (INPUT_OBJECT): Autogenerated input type of RemoveEnterpriseAdmin.
type RemoveEnterpriseAdminPayload ¶
type RemoveEnterpriseAdminPayload struct {
// Admin: The user who was removed as an administrator.
Admin *User `json:"admin,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The updated enterprise.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of removing an administrator.
Message string `json:"message,omitempty"`
// Viewer: The viewer performing the mutation.
Viewer *User `json:"viewer,omitempty"`
}
RemoveEnterpriseAdminPayload (OBJECT): Autogenerated return type of RemoveEnterpriseAdmin.
func (*RemoveEnterpriseAdminPayload) GetAdmin ¶
func (x *RemoveEnterpriseAdminPayload) GetAdmin() *User
func (*RemoveEnterpriseAdminPayload) GetClientMutationId ¶
func (x *RemoveEnterpriseAdminPayload) GetClientMutationId() string
func (*RemoveEnterpriseAdminPayload) GetEnterprise ¶
func (x *RemoveEnterpriseAdminPayload) GetEnterprise() *Enterprise
func (*RemoveEnterpriseAdminPayload) GetMessage ¶
func (x *RemoveEnterpriseAdminPayload) GetMessage() string
func (*RemoveEnterpriseAdminPayload) GetViewer ¶
func (x *RemoveEnterpriseAdminPayload) GetViewer() *User
type RemoveEnterpriseIdentityProviderInput ¶
type RemoveEnterpriseIdentityProviderInput struct {
// EnterpriseId: The ID of the enterprise from which to remove the identity provider.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveEnterpriseIdentityProviderInput (INPUT_OBJECT): Autogenerated input type of RemoveEnterpriseIdentityProvider.
type RemoveEnterpriseIdentityProviderPayload ¶
type RemoveEnterpriseIdentityProviderPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IdentityProvider: The identity provider that was removed from the enterprise.
IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}
RemoveEnterpriseIdentityProviderPayload (OBJECT): Autogenerated return type of RemoveEnterpriseIdentityProvider.
func (*RemoveEnterpriseIdentityProviderPayload) GetClientMutationId ¶
func (x *RemoveEnterpriseIdentityProviderPayload) GetClientMutationId() string
func (*RemoveEnterpriseIdentityProviderPayload) GetIdentityProvider ¶
func (x *RemoveEnterpriseIdentityProviderPayload) GetIdentityProvider() *EnterpriseIdentityProvider
type RemoveEnterpriseOrganizationInput ¶
type RemoveEnterpriseOrganizationInput struct {
// EnterpriseId: The ID of the enterprise from which the organization should be removed.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// OrganizationId: The ID of the organization to remove from the enterprise.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveEnterpriseOrganizationInput (INPUT_OBJECT): Autogenerated input type of RemoveEnterpriseOrganization.
type RemoveEnterpriseOrganizationPayload ¶
type RemoveEnterpriseOrganizationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The updated enterprise.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Organization: The organization that was removed from the enterprise.
Organization *Organization `json:"organization,omitempty"`
// Viewer: The viewer performing the mutation.
Viewer *User `json:"viewer,omitempty"`
}
RemoveEnterpriseOrganizationPayload (OBJECT): Autogenerated return type of RemoveEnterpriseOrganization.
func (*RemoveEnterpriseOrganizationPayload) GetClientMutationId ¶
func (x *RemoveEnterpriseOrganizationPayload) GetClientMutationId() string
func (*RemoveEnterpriseOrganizationPayload) GetEnterprise ¶
func (x *RemoveEnterpriseOrganizationPayload) GetEnterprise() *Enterprise
func (*RemoveEnterpriseOrganizationPayload) GetOrganization ¶
func (x *RemoveEnterpriseOrganizationPayload) GetOrganization() *Organization
func (*RemoveEnterpriseOrganizationPayload) GetViewer ¶
func (x *RemoveEnterpriseOrganizationPayload) GetViewer() *User
type RemoveEnterpriseSupportEntitlementInput ¶
type RemoveEnterpriseSupportEntitlementInput struct {
// EnterpriseId: The ID of the Enterprise which the admin belongs to.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of a member who will lose the support entitlement.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveEnterpriseSupportEntitlementInput (INPUT_OBJECT): Autogenerated input type of RemoveEnterpriseSupportEntitlement.
type RemoveEnterpriseSupportEntitlementPayload ¶
type RemoveEnterpriseSupportEntitlementPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Message: A message confirming the result of removing the support entitlement.
Message string `json:"message,omitempty"`
}
RemoveEnterpriseSupportEntitlementPayload (OBJECT): Autogenerated return type of RemoveEnterpriseSupportEntitlement.
func (*RemoveEnterpriseSupportEntitlementPayload) GetClientMutationId ¶
func (x *RemoveEnterpriseSupportEntitlementPayload) GetClientMutationId() string
func (*RemoveEnterpriseSupportEntitlementPayload) GetMessage ¶
func (x *RemoveEnterpriseSupportEntitlementPayload) GetMessage() string
type RemoveLabelsFromLabelableInput ¶
type RemoveLabelsFromLabelableInput struct {
// LabelableId: The id of the Labelable to remove labels from.
//
// GraphQL type: ID!
LabelableId ID `json:"labelableId,omitempty"`
// LabelIds: The ids of labels to remove.
//
// GraphQL type: [ID!]!
LabelIds []ID `json:"labelIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveLabelsFromLabelableInput (INPUT_OBJECT): Autogenerated input type of RemoveLabelsFromLabelable.
type RemoveLabelsFromLabelablePayload ¶
type RemoveLabelsFromLabelablePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Labelable: The Labelable the labels were removed from.
Labelable Labelable `json:"labelable,omitempty"`
}
RemoveLabelsFromLabelablePayload (OBJECT): Autogenerated return type of RemoveLabelsFromLabelable.
func (*RemoveLabelsFromLabelablePayload) GetClientMutationId ¶
func (x *RemoveLabelsFromLabelablePayload) GetClientMutationId() string
func (*RemoveLabelsFromLabelablePayload) GetLabelable ¶
func (x *RemoveLabelsFromLabelablePayload) GetLabelable() Labelable
type RemoveOutsideCollaboratorInput ¶
type RemoveOutsideCollaboratorInput struct {
// UserId: The ID of the outside collaborator to remove.
//
// GraphQL type: ID!
UserId ID `json:"userId,omitempty"`
// OrganizationId: The ID of the organization to remove the outside collaborator from.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveOutsideCollaboratorInput (INPUT_OBJECT): Autogenerated input type of RemoveOutsideCollaborator.
type RemoveOutsideCollaboratorPayload ¶
type RemoveOutsideCollaboratorPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// RemovedUser: The user that was removed as an outside collaborator.
RemovedUser *User `json:"removedUser,omitempty"`
}
RemoveOutsideCollaboratorPayload (OBJECT): Autogenerated return type of RemoveOutsideCollaborator.
func (*RemoveOutsideCollaboratorPayload) GetClientMutationId ¶
func (x *RemoveOutsideCollaboratorPayload) GetClientMutationId() string
func (*RemoveOutsideCollaboratorPayload) GetRemovedUser ¶
func (x *RemoveOutsideCollaboratorPayload) GetRemovedUser() *User
type RemoveReactionInput ¶
type RemoveReactionInput struct {
// SubjectId: The Node ID of the subject to modify.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// Content: The name of the emoji reaction to remove.
//
// GraphQL type: ReactionContent!
Content ReactionContent `json:"content,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveReactionInput (INPUT_OBJECT): Autogenerated input type of RemoveReaction.
type RemoveReactionPayload ¶
type RemoveReactionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Reaction: The reaction object.
Reaction *Reaction `json:"reaction,omitempty"`
// Subject: The reactable subject.
Subject Reactable `json:"subject,omitempty"`
}
RemoveReactionPayload (OBJECT): Autogenerated return type of RemoveReaction.
func (*RemoveReactionPayload) GetClientMutationId ¶
func (x *RemoveReactionPayload) GetClientMutationId() string
func (*RemoveReactionPayload) GetReaction ¶
func (x *RemoveReactionPayload) GetReaction() *Reaction
func (*RemoveReactionPayload) GetSubject ¶
func (x *RemoveReactionPayload) GetSubject() Reactable
type RemoveStarInput ¶
type RemoveStarInput struct {
// StarrableId: The Starrable ID to unstar.
//
// GraphQL type: ID!
StarrableId ID `json:"starrableId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveStarInput (INPUT_OBJECT): Autogenerated input type of RemoveStar.
type RemoveStarPayload ¶
type RemoveStarPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Starrable: The starrable.
Starrable Starrable `json:"starrable,omitempty"`
}
RemoveStarPayload (OBJECT): Autogenerated return type of RemoveStar.
func (*RemoveStarPayload) GetClientMutationId ¶
func (x *RemoveStarPayload) GetClientMutationId() string
func (*RemoveStarPayload) GetStarrable ¶
func (x *RemoveStarPayload) GetStarrable() Starrable
type RemoveUpvoteInput ¶
type RemoveUpvoteInput struct {
// SubjectId: The Node ID of the discussion or comment to remove upvote.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RemoveUpvoteInput (INPUT_OBJECT): Autogenerated input type of RemoveUpvote.
type RemoveUpvotePayload ¶
type RemoveUpvotePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Subject: The votable subject.
Subject Votable `json:"subject,omitempty"`
}
RemoveUpvotePayload (OBJECT): Autogenerated return type of RemoveUpvote.
func (*RemoveUpvotePayload) GetClientMutationId ¶
func (x *RemoveUpvotePayload) GetClientMutationId() string
func (*RemoveUpvotePayload) GetSubject ¶
func (x *RemoveUpvotePayload) GetSubject() Votable
type RemovedFromProjectEvent ¶
type RemovedFromProjectEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Project: Project referenced by event.
Project *Project `json:"project,omitempty"`
// ProjectColumnName: Column name referenced by this project event.
ProjectColumnName string `json:"projectColumnName,omitempty"`
}
RemovedFromProjectEvent (OBJECT): Represents a 'removed_from_project' event on a given issue or pull request.
func (*RemovedFromProjectEvent) GetActor ¶
func (x *RemovedFromProjectEvent) GetActor() Actor
func (*RemovedFromProjectEvent) GetCreatedAt ¶
func (x *RemovedFromProjectEvent) GetCreatedAt() DateTime
func (*RemovedFromProjectEvent) GetDatabaseId ¶
func (x *RemovedFromProjectEvent) GetDatabaseId() int
func (*RemovedFromProjectEvent) GetId ¶
func (x *RemovedFromProjectEvent) GetId() ID
func (*RemovedFromProjectEvent) GetProject ¶
func (x *RemovedFromProjectEvent) GetProject() *Project
func (*RemovedFromProjectEvent) GetProjectColumnName ¶
func (x *RemovedFromProjectEvent) GetProjectColumnName() string
type RenamedTitleEvent ¶
type RenamedTitleEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CurrentTitle: Identifies the current title of the issue or pull request.
CurrentTitle string `json:"currentTitle,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PreviousTitle: Identifies the previous title of the issue or pull request.
PreviousTitle string `json:"previousTitle,omitempty"`
// Subject: Subject that was renamed.
Subject RenamedTitleSubject `json:"subject,omitempty"`
}
RenamedTitleEvent (OBJECT): Represents a 'renamed' event on a given issue or pull request.
func (*RenamedTitleEvent) GetActor ¶
func (x *RenamedTitleEvent) GetActor() Actor
func (*RenamedTitleEvent) GetCreatedAt ¶
func (x *RenamedTitleEvent) GetCreatedAt() DateTime
func (*RenamedTitleEvent) GetCurrentTitle ¶
func (x *RenamedTitleEvent) GetCurrentTitle() string
func (*RenamedTitleEvent) GetId ¶
func (x *RenamedTitleEvent) GetId() ID
func (*RenamedTitleEvent) GetPreviousTitle ¶
func (x *RenamedTitleEvent) GetPreviousTitle() string
func (*RenamedTitleEvent) GetSubject ¶
func (x *RenamedTitleEvent) GetSubject() RenamedTitleSubject
type RenamedTitleSubject ¶
type RenamedTitleSubject struct {
Interface RenamedTitleSubject_Interface
}
func (*RenamedTitleSubject) MarshalJSON ¶
func (x *RenamedTitleSubject) MarshalJSON() ([]byte, error)
func (*RenamedTitleSubject) UnmarshalJSON ¶
func (x *RenamedTitleSubject) UnmarshalJSON(js []byte) error
type RenamedTitleSubject_Interface ¶
type RenamedTitleSubject_Interface interface {
// contains filtered or unexported methods
}
RenamedTitleSubject (UNION): An object which has a renamable title. RenamedTitleSubject_Interface: An object which has a renamable title.
Possible types:
- *Issue
- *PullRequest
type ReopenIssueInput ¶
type ReopenIssueInput struct {
// IssueId: ID of the issue to be opened.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ReopenIssueInput (INPUT_OBJECT): Autogenerated input type of ReopenIssue.
type ReopenIssuePayload ¶
type ReopenIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue that was opened.
Issue *Issue `json:"issue,omitempty"`
}
ReopenIssuePayload (OBJECT): Autogenerated return type of ReopenIssue.
func (*ReopenIssuePayload) GetClientMutationId ¶
func (x *ReopenIssuePayload) GetClientMutationId() string
func (*ReopenIssuePayload) GetIssue ¶
func (x *ReopenIssuePayload) GetIssue() *Issue
type ReopenPullRequestInput ¶
type ReopenPullRequestInput struct {
// PullRequestId: ID of the pull request to be reopened.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ReopenPullRequestInput (INPUT_OBJECT): Autogenerated input type of ReopenPullRequest.
type ReopenPullRequestPayload ¶
type ReopenPullRequestPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that was reopened.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
ReopenPullRequestPayload (OBJECT): Autogenerated return type of ReopenPullRequest.
func (*ReopenPullRequestPayload) GetClientMutationId ¶
func (x *ReopenPullRequestPayload) GetClientMutationId() string
func (*ReopenPullRequestPayload) GetPullRequest ¶
func (x *ReopenPullRequestPayload) GetPullRequest() *PullRequest
type ReopenedEvent ¶
type ReopenedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Closable: Object that was reopened.
Closable Closable `json:"closable,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// StateReason: The reason the issue state was changed to open.
StateReason IssueStateReason `json:"stateReason,omitempty"`
}
ReopenedEvent (OBJECT): Represents a 'reopened' event on any `Closable`.
func (*ReopenedEvent) GetActor ¶
func (x *ReopenedEvent) GetActor() Actor
func (*ReopenedEvent) GetClosable ¶
func (x *ReopenedEvent) GetClosable() Closable
func (*ReopenedEvent) GetCreatedAt ¶
func (x *ReopenedEvent) GetCreatedAt() DateTime
func (*ReopenedEvent) GetId ¶
func (x *ReopenedEvent) GetId() ID
func (*ReopenedEvent) GetStateReason ¶
func (x *ReopenedEvent) GetStateReason() IssueStateReason
type RepoAccessAuditEntry ¶
type RepoAccessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoAccessAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoAccessAuditEntry (OBJECT): Audit log entry for a repo.access event.
func (*RepoAccessAuditEntry) GetAction ¶
func (x *RepoAccessAuditEntry) GetAction() string
func (*RepoAccessAuditEntry) GetActor ¶
func (x *RepoAccessAuditEntry) GetActor() AuditEntryActor
func (*RepoAccessAuditEntry) GetActorIp ¶
func (x *RepoAccessAuditEntry) GetActorIp() string
func (*RepoAccessAuditEntry) GetActorLocation ¶
func (x *RepoAccessAuditEntry) GetActorLocation() *ActorLocation
func (*RepoAccessAuditEntry) GetActorLogin ¶
func (x *RepoAccessAuditEntry) GetActorLogin() string
func (*RepoAccessAuditEntry) GetActorResourcePath ¶
func (x *RepoAccessAuditEntry) GetActorResourcePath() URI
func (*RepoAccessAuditEntry) GetActorUrl ¶
func (x *RepoAccessAuditEntry) GetActorUrl() URI
func (*RepoAccessAuditEntry) GetCreatedAt ¶
func (x *RepoAccessAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoAccessAuditEntry) GetId ¶
func (x *RepoAccessAuditEntry) GetId() ID
func (*RepoAccessAuditEntry) GetOperationType ¶
func (x *RepoAccessAuditEntry) GetOperationType() OperationType
func (*RepoAccessAuditEntry) GetOrganization ¶
func (x *RepoAccessAuditEntry) GetOrganization() *Organization
func (*RepoAccessAuditEntry) GetOrganizationName ¶
func (x *RepoAccessAuditEntry) GetOrganizationName() string
func (*RepoAccessAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoAccessAuditEntry) GetOrganizationResourcePath() URI
func (*RepoAccessAuditEntry) GetOrganizationUrl ¶
func (x *RepoAccessAuditEntry) GetOrganizationUrl() URI
func (*RepoAccessAuditEntry) GetRepository ¶
func (x *RepoAccessAuditEntry) GetRepository() *Repository
func (*RepoAccessAuditEntry) GetRepositoryName ¶
func (x *RepoAccessAuditEntry) GetRepositoryName() string
func (*RepoAccessAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoAccessAuditEntry) GetRepositoryResourcePath() URI
func (*RepoAccessAuditEntry) GetRepositoryUrl ¶
func (x *RepoAccessAuditEntry) GetRepositoryUrl() URI
func (*RepoAccessAuditEntry) GetUser ¶
func (x *RepoAccessAuditEntry) GetUser() *User
func (*RepoAccessAuditEntry) GetUserLogin ¶
func (x *RepoAccessAuditEntry) GetUserLogin() string
func (*RepoAccessAuditEntry) GetUserResourcePath ¶
func (x *RepoAccessAuditEntry) GetUserResourcePath() URI
func (*RepoAccessAuditEntry) GetUserUrl ¶
func (x *RepoAccessAuditEntry) GetUserUrl() URI
func (*RepoAccessAuditEntry) GetVisibility ¶
func (x *RepoAccessAuditEntry) GetVisibility() RepoAccessAuditEntryVisibility
type RepoAccessAuditEntryVisibility ¶
type RepoAccessAuditEntryVisibility string
RepoAccessAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoAccessAuditEntryVisibility_INTERNAL RepoAccessAuditEntryVisibility = "INTERNAL"
RepoAccessAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoAccessAuditEntryVisibility_PRIVATE RepoAccessAuditEntryVisibility = "PRIVATE"
RepoAccessAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoAccessAuditEntryVisibility_PUBLIC RepoAccessAuditEntryVisibility = "PUBLIC"
RepoAccessAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoAddMemberAuditEntry ¶
type RepoAddMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoAddMemberAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoAddMemberAuditEntry (OBJECT): Audit log entry for a repo.add_member event.
func (*RepoAddMemberAuditEntry) GetAction ¶
func (x *RepoAddMemberAuditEntry) GetAction() string
func (*RepoAddMemberAuditEntry) GetActor ¶
func (x *RepoAddMemberAuditEntry) GetActor() AuditEntryActor
func (*RepoAddMemberAuditEntry) GetActorIp ¶
func (x *RepoAddMemberAuditEntry) GetActorIp() string
func (*RepoAddMemberAuditEntry) GetActorLocation ¶
func (x *RepoAddMemberAuditEntry) GetActorLocation() *ActorLocation
func (*RepoAddMemberAuditEntry) GetActorLogin ¶
func (x *RepoAddMemberAuditEntry) GetActorLogin() string
func (*RepoAddMemberAuditEntry) GetActorResourcePath ¶
func (x *RepoAddMemberAuditEntry) GetActorResourcePath() URI
func (*RepoAddMemberAuditEntry) GetActorUrl ¶
func (x *RepoAddMemberAuditEntry) GetActorUrl() URI
func (*RepoAddMemberAuditEntry) GetCreatedAt ¶
func (x *RepoAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoAddMemberAuditEntry) GetId ¶
func (x *RepoAddMemberAuditEntry) GetId() ID
func (*RepoAddMemberAuditEntry) GetOperationType ¶
func (x *RepoAddMemberAuditEntry) GetOperationType() OperationType
func (*RepoAddMemberAuditEntry) GetOrganization ¶
func (x *RepoAddMemberAuditEntry) GetOrganization() *Organization
func (*RepoAddMemberAuditEntry) GetOrganizationName ¶
func (x *RepoAddMemberAuditEntry) GetOrganizationName() string
func (*RepoAddMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoAddMemberAuditEntry) GetOrganizationResourcePath() URI
func (*RepoAddMemberAuditEntry) GetOrganizationUrl ¶
func (x *RepoAddMemberAuditEntry) GetOrganizationUrl() URI
func (*RepoAddMemberAuditEntry) GetRepository ¶
func (x *RepoAddMemberAuditEntry) GetRepository() *Repository
func (*RepoAddMemberAuditEntry) GetRepositoryName ¶
func (x *RepoAddMemberAuditEntry) GetRepositoryName() string
func (*RepoAddMemberAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoAddMemberAuditEntry) GetRepositoryResourcePath() URI
func (*RepoAddMemberAuditEntry) GetRepositoryUrl ¶
func (x *RepoAddMemberAuditEntry) GetRepositoryUrl() URI
func (*RepoAddMemberAuditEntry) GetUser ¶
func (x *RepoAddMemberAuditEntry) GetUser() *User
func (*RepoAddMemberAuditEntry) GetUserLogin ¶
func (x *RepoAddMemberAuditEntry) GetUserLogin() string
func (*RepoAddMemberAuditEntry) GetUserResourcePath ¶
func (x *RepoAddMemberAuditEntry) GetUserResourcePath() URI
func (*RepoAddMemberAuditEntry) GetUserUrl ¶
func (x *RepoAddMemberAuditEntry) GetUserUrl() URI
func (*RepoAddMemberAuditEntry) GetVisibility ¶
func (x *RepoAddMemberAuditEntry) GetVisibility() RepoAddMemberAuditEntryVisibility
type RepoAddMemberAuditEntryVisibility ¶
type RepoAddMemberAuditEntryVisibility string
RepoAddMemberAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoAddMemberAuditEntryVisibility_INTERNAL RepoAddMemberAuditEntryVisibility = "INTERNAL"
RepoAddMemberAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoAddMemberAuditEntryVisibility_PRIVATE RepoAddMemberAuditEntryVisibility = "PRIVATE"
RepoAddMemberAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoAddMemberAuditEntryVisibility_PUBLIC RepoAddMemberAuditEntryVisibility = "PUBLIC"
RepoAddMemberAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoAddTopicAuditEntry ¶
type RepoAddTopicAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// Topic: The name of the topic added to the repository.
Topic *Topic `json:"topic,omitempty"`
// TopicName: The name of the topic added to the repository.
TopicName string `json:"topicName,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoAddTopicAuditEntry (OBJECT): Audit log entry for a repo.add_topic event.
func (*RepoAddTopicAuditEntry) GetAction ¶
func (x *RepoAddTopicAuditEntry) GetAction() string
func (*RepoAddTopicAuditEntry) GetActor ¶
func (x *RepoAddTopicAuditEntry) GetActor() AuditEntryActor
func (*RepoAddTopicAuditEntry) GetActorIp ¶
func (x *RepoAddTopicAuditEntry) GetActorIp() string
func (*RepoAddTopicAuditEntry) GetActorLocation ¶
func (x *RepoAddTopicAuditEntry) GetActorLocation() *ActorLocation
func (*RepoAddTopicAuditEntry) GetActorLogin ¶
func (x *RepoAddTopicAuditEntry) GetActorLogin() string
func (*RepoAddTopicAuditEntry) GetActorResourcePath ¶
func (x *RepoAddTopicAuditEntry) GetActorResourcePath() URI
func (*RepoAddTopicAuditEntry) GetActorUrl ¶
func (x *RepoAddTopicAuditEntry) GetActorUrl() URI
func (*RepoAddTopicAuditEntry) GetCreatedAt ¶
func (x *RepoAddTopicAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoAddTopicAuditEntry) GetId ¶
func (x *RepoAddTopicAuditEntry) GetId() ID
func (*RepoAddTopicAuditEntry) GetOperationType ¶
func (x *RepoAddTopicAuditEntry) GetOperationType() OperationType
func (*RepoAddTopicAuditEntry) GetOrganization ¶
func (x *RepoAddTopicAuditEntry) GetOrganization() *Organization
func (*RepoAddTopicAuditEntry) GetOrganizationName ¶
func (x *RepoAddTopicAuditEntry) GetOrganizationName() string
func (*RepoAddTopicAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoAddTopicAuditEntry) GetOrganizationResourcePath() URI
func (*RepoAddTopicAuditEntry) GetOrganizationUrl ¶
func (x *RepoAddTopicAuditEntry) GetOrganizationUrl() URI
func (*RepoAddTopicAuditEntry) GetRepository ¶
func (x *RepoAddTopicAuditEntry) GetRepository() *Repository
func (*RepoAddTopicAuditEntry) GetRepositoryName ¶
func (x *RepoAddTopicAuditEntry) GetRepositoryName() string
func (*RepoAddTopicAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoAddTopicAuditEntry) GetRepositoryResourcePath() URI
func (*RepoAddTopicAuditEntry) GetRepositoryUrl ¶
func (x *RepoAddTopicAuditEntry) GetRepositoryUrl() URI
func (*RepoAddTopicAuditEntry) GetTopic ¶
func (x *RepoAddTopicAuditEntry) GetTopic() *Topic
func (*RepoAddTopicAuditEntry) GetTopicName ¶
func (x *RepoAddTopicAuditEntry) GetTopicName() string
func (*RepoAddTopicAuditEntry) GetUser ¶
func (x *RepoAddTopicAuditEntry) GetUser() *User
func (*RepoAddTopicAuditEntry) GetUserLogin ¶
func (x *RepoAddTopicAuditEntry) GetUserLogin() string
func (*RepoAddTopicAuditEntry) GetUserResourcePath ¶
func (x *RepoAddTopicAuditEntry) GetUserResourcePath() URI
func (*RepoAddTopicAuditEntry) GetUserUrl ¶
func (x *RepoAddTopicAuditEntry) GetUserUrl() URI
type RepoArchivedAuditEntry ¶
type RepoArchivedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoArchivedAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoArchivedAuditEntry (OBJECT): Audit log entry for a repo.archived event.
func (*RepoArchivedAuditEntry) GetAction ¶
func (x *RepoArchivedAuditEntry) GetAction() string
func (*RepoArchivedAuditEntry) GetActor ¶
func (x *RepoArchivedAuditEntry) GetActor() AuditEntryActor
func (*RepoArchivedAuditEntry) GetActorIp ¶
func (x *RepoArchivedAuditEntry) GetActorIp() string
func (*RepoArchivedAuditEntry) GetActorLocation ¶
func (x *RepoArchivedAuditEntry) GetActorLocation() *ActorLocation
func (*RepoArchivedAuditEntry) GetActorLogin ¶
func (x *RepoArchivedAuditEntry) GetActorLogin() string
func (*RepoArchivedAuditEntry) GetActorResourcePath ¶
func (x *RepoArchivedAuditEntry) GetActorResourcePath() URI
func (*RepoArchivedAuditEntry) GetActorUrl ¶
func (x *RepoArchivedAuditEntry) GetActorUrl() URI
func (*RepoArchivedAuditEntry) GetCreatedAt ¶
func (x *RepoArchivedAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoArchivedAuditEntry) GetId ¶
func (x *RepoArchivedAuditEntry) GetId() ID
func (*RepoArchivedAuditEntry) GetOperationType ¶
func (x *RepoArchivedAuditEntry) GetOperationType() OperationType
func (*RepoArchivedAuditEntry) GetOrganization ¶
func (x *RepoArchivedAuditEntry) GetOrganization() *Organization
func (*RepoArchivedAuditEntry) GetOrganizationName ¶
func (x *RepoArchivedAuditEntry) GetOrganizationName() string
func (*RepoArchivedAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoArchivedAuditEntry) GetOrganizationResourcePath() URI
func (*RepoArchivedAuditEntry) GetOrganizationUrl ¶
func (x *RepoArchivedAuditEntry) GetOrganizationUrl() URI
func (*RepoArchivedAuditEntry) GetRepository ¶
func (x *RepoArchivedAuditEntry) GetRepository() *Repository
func (*RepoArchivedAuditEntry) GetRepositoryName ¶
func (x *RepoArchivedAuditEntry) GetRepositoryName() string
func (*RepoArchivedAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoArchivedAuditEntry) GetRepositoryResourcePath() URI
func (*RepoArchivedAuditEntry) GetRepositoryUrl ¶
func (x *RepoArchivedAuditEntry) GetRepositoryUrl() URI
func (*RepoArchivedAuditEntry) GetUser ¶
func (x *RepoArchivedAuditEntry) GetUser() *User
func (*RepoArchivedAuditEntry) GetUserLogin ¶
func (x *RepoArchivedAuditEntry) GetUserLogin() string
func (*RepoArchivedAuditEntry) GetUserResourcePath ¶
func (x *RepoArchivedAuditEntry) GetUserResourcePath() URI
func (*RepoArchivedAuditEntry) GetUserUrl ¶
func (x *RepoArchivedAuditEntry) GetUserUrl() URI
func (*RepoArchivedAuditEntry) GetVisibility ¶
func (x *RepoArchivedAuditEntry) GetVisibility() RepoArchivedAuditEntryVisibility
type RepoArchivedAuditEntryVisibility ¶
type RepoArchivedAuditEntryVisibility string
RepoArchivedAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoArchivedAuditEntryVisibility_INTERNAL RepoArchivedAuditEntryVisibility = "INTERNAL"
RepoArchivedAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoArchivedAuditEntryVisibility_PRIVATE RepoArchivedAuditEntryVisibility = "PRIVATE"
RepoArchivedAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoArchivedAuditEntryVisibility_PUBLIC RepoArchivedAuditEntryVisibility = "PUBLIC"
RepoArchivedAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoChangeMergeSettingAuditEntry ¶
type RepoChangeMergeSettingAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsEnabled: Whether the change was to enable (true) or disable (false) the merge type.
IsEnabled bool `json:"isEnabled,omitempty"`
// MergeType: The merge method affected by the change.
MergeType RepoChangeMergeSettingAuditEntryMergeType `json:"mergeType,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoChangeMergeSettingAuditEntry (OBJECT): Audit log entry for a repo.change_merge_setting event.
func (*RepoChangeMergeSettingAuditEntry) GetAction ¶
func (x *RepoChangeMergeSettingAuditEntry) GetAction() string
func (*RepoChangeMergeSettingAuditEntry) GetActor ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActor() AuditEntryActor
func (*RepoChangeMergeSettingAuditEntry) GetActorIp ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActorIp() string
func (*RepoChangeMergeSettingAuditEntry) GetActorLocation ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActorLocation() *ActorLocation
func (*RepoChangeMergeSettingAuditEntry) GetActorLogin ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActorLogin() string
func (*RepoChangeMergeSettingAuditEntry) GetActorResourcePath ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActorResourcePath() URI
func (*RepoChangeMergeSettingAuditEntry) GetActorUrl ¶
func (x *RepoChangeMergeSettingAuditEntry) GetActorUrl() URI
func (*RepoChangeMergeSettingAuditEntry) GetCreatedAt ¶
func (x *RepoChangeMergeSettingAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoChangeMergeSettingAuditEntry) GetId ¶
func (x *RepoChangeMergeSettingAuditEntry) GetId() ID
func (*RepoChangeMergeSettingAuditEntry) GetIsEnabled ¶
func (x *RepoChangeMergeSettingAuditEntry) GetIsEnabled() bool
func (*RepoChangeMergeSettingAuditEntry) GetMergeType ¶
func (x *RepoChangeMergeSettingAuditEntry) GetMergeType() RepoChangeMergeSettingAuditEntryMergeType
func (*RepoChangeMergeSettingAuditEntry) GetOperationType ¶
func (x *RepoChangeMergeSettingAuditEntry) GetOperationType() OperationType
func (*RepoChangeMergeSettingAuditEntry) GetOrganization ¶
func (x *RepoChangeMergeSettingAuditEntry) GetOrganization() *Organization
func (*RepoChangeMergeSettingAuditEntry) GetOrganizationName ¶
func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationName() string
func (*RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath() URI
func (*RepoChangeMergeSettingAuditEntry) GetOrganizationUrl ¶
func (x *RepoChangeMergeSettingAuditEntry) GetOrganizationUrl() URI
func (*RepoChangeMergeSettingAuditEntry) GetRepository ¶
func (x *RepoChangeMergeSettingAuditEntry) GetRepository() *Repository
func (*RepoChangeMergeSettingAuditEntry) GetRepositoryName ¶
func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryName() string
func (*RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath() URI
func (*RepoChangeMergeSettingAuditEntry) GetRepositoryUrl ¶
func (x *RepoChangeMergeSettingAuditEntry) GetRepositoryUrl() URI
func (*RepoChangeMergeSettingAuditEntry) GetUser ¶
func (x *RepoChangeMergeSettingAuditEntry) GetUser() *User
func (*RepoChangeMergeSettingAuditEntry) GetUserLogin ¶
func (x *RepoChangeMergeSettingAuditEntry) GetUserLogin() string
func (*RepoChangeMergeSettingAuditEntry) GetUserResourcePath ¶
func (x *RepoChangeMergeSettingAuditEntry) GetUserResourcePath() URI
func (*RepoChangeMergeSettingAuditEntry) GetUserUrl ¶
func (x *RepoChangeMergeSettingAuditEntry) GetUserUrl() URI
type RepoChangeMergeSettingAuditEntryMergeType ¶
type RepoChangeMergeSettingAuditEntryMergeType string
RepoChangeMergeSettingAuditEntryMergeType (ENUM): The merge options available for pull requests to this repository.
const RepoChangeMergeSettingAuditEntryMergeType_MERGE RepoChangeMergeSettingAuditEntryMergeType = "MERGE"
RepoChangeMergeSettingAuditEntryMergeType_MERGE: The pull request is added to the base branch in a merge commit.
const RepoChangeMergeSettingAuditEntryMergeType_REBASE RepoChangeMergeSettingAuditEntryMergeType = "REBASE"
RepoChangeMergeSettingAuditEntryMergeType_REBASE: Commits from the pull request are added onto the base branch individually without a merge commit.
const RepoChangeMergeSettingAuditEntryMergeType_SQUASH RepoChangeMergeSettingAuditEntryMergeType = "SQUASH"
RepoChangeMergeSettingAuditEntryMergeType_SQUASH: The pull request's commits are squashed into a single commit before they are merged to the base branch.
type RepoConfigDisableAnonymousGitAccessAuditEntry ¶
type RepoConfigDisableAnonymousGitAccessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigDisableAnonymousGitAccessAuditEntry (OBJECT): Audit log entry for a repo.config.disable_anonymous_git_access event.
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIp ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIp() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorUrl ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorUrl() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetId ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetId() ID
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType() OperationType
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository() *Repository
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser() *User
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin() string
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
func (*RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserUrl ¶
func (x *RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserUrl() URI
type RepoConfigDisableCollaboratorsOnlyAuditEntry ¶
type RepoConfigDisableCollaboratorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigDisableCollaboratorsOnlyAuditEntry (OBJECT): Audit log entry for a repo.config.disable_collaborators_only event.
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIp() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetId ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetId() ID
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() string
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
func (*RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl ¶
func (x *RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
type RepoConfigDisableContributorsOnlyAuditEntry ¶
type RepoConfigDisableContributorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigDisableContributorsOnlyAuditEntry (OBJECT): Audit log entry for a repo.config.disable_contributors_only event.
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetAction ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetAction() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActor ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActorIp ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorIp() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetActorUrl ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetActorUrl() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetId ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetId() ID
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType() OperationType
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization() *Organization
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetRepository ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepository() *Repository
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetUser ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUser() *User
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin() string
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath() URI
func (*RepoConfigDisableContributorsOnlyAuditEntry) GetUserUrl ¶
func (x *RepoConfigDisableContributorsOnlyAuditEntry) GetUserUrl() URI
type RepoConfigDisableSockpuppetDisallowedAuditEntry ¶
type RepoConfigDisableSockpuppetDisallowedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigDisableSockpuppetDisallowedAuditEntry (OBJECT): Audit log entry for a repo.config.disable_sockpuppet_disallowed event.
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIp ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIp() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorUrl ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorUrl() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetId ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetId() ID
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType() OperationType
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser() *User
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin() string
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath() URI
func (*RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserUrl ¶
func (x *RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserUrl() URI
type RepoConfigEnableAnonymousGitAccessAuditEntry ¶
type RepoConfigEnableAnonymousGitAccessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigEnableAnonymousGitAccessAuditEntry (OBJECT): Audit log entry for a repo.config.enable_anonymous_git_access event.
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIp ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIp() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorUrl ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorUrl() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetId ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetId() ID
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType() OperationType
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository() *Repository
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser() *User
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin() string
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
func (*RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserUrl ¶
func (x *RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserUrl() URI
type RepoConfigEnableCollaboratorsOnlyAuditEntry ¶
type RepoConfigEnableCollaboratorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigEnableCollaboratorsOnlyAuditEntry (OBJECT): Audit log entry for a repo.config.enable_collaborators_only event.
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIp() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorUrl() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetId ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetId() ID
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() OperationType
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() string
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() URI
func (*RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl ¶
func (x *RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserUrl() URI
type RepoConfigEnableContributorsOnlyAuditEntry ¶
type RepoConfigEnableContributorsOnlyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigEnableContributorsOnlyAuditEntry (OBJECT): Audit log entry for a repo.config.enable_contributors_only event.
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetAction ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetAction() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActor ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActorIp ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorIp() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetActorUrl ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetActorUrl() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetId ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetId() ID
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType() OperationType
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization() *Organization
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetRepository ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepository() *Repository
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetUser ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUser() *User
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin() string
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath() URI
func (*RepoConfigEnableContributorsOnlyAuditEntry) GetUserUrl ¶
func (x *RepoConfigEnableContributorsOnlyAuditEntry) GetUserUrl() URI
type RepoConfigEnableSockpuppetDisallowedAuditEntry ¶
type RepoConfigEnableSockpuppetDisallowedAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigEnableSockpuppetDisallowedAuditEntry (OBJECT): Audit log entry for a repo.config.enable_sockpuppet_disallowed event.
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIp ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIp() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorUrl ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorUrl() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetId ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetId() ID
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType() OperationType
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser() *User
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin() string
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath() URI
func (*RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserUrl ¶
func (x *RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserUrl() URI
type RepoConfigLockAnonymousGitAccessAuditEntry ¶
type RepoConfigLockAnonymousGitAccessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigLockAnonymousGitAccessAuditEntry (OBJECT): Audit log entry for a repo.config.lock_anonymous_git_access event.
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetAction ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetAction() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActor ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIp ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIp() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetActorUrl ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetActorUrl() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetId ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetId() ID
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType() OperationType
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository() *Repository
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetUser ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUser() *User
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin() string
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
func (*RepoConfigLockAnonymousGitAccessAuditEntry) GetUserUrl ¶
func (x *RepoConfigLockAnonymousGitAccessAuditEntry) GetUserUrl() URI
type RepoConfigUnlockAnonymousGitAccessAuditEntry ¶
type RepoConfigUnlockAnonymousGitAccessAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoConfigUnlockAnonymousGitAccessAuditEntry (OBJECT): Audit log entry for a repo.config.unlock_anonymous_git_access event.
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIp ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIp() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorUrl ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorUrl() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetId ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetId() ID
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType() OperationType
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationUrl ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationUrl() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository() *Repository
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryUrl ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryUrl() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser() *User
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin() string
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath() URI
func (*RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserUrl ¶
func (x *RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserUrl() URI
type RepoCreateAuditEntry ¶
type RepoCreateAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// ForkParentName: The name of the parent repository for this forked repository.
ForkParentName string `json:"forkParentName,omitempty"`
// ForkSourceName: The name of the root repository for this network.
ForkSourceName string `json:"forkSourceName,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoCreateAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoCreateAuditEntry (OBJECT): Audit log entry for a repo.create event.
func (*RepoCreateAuditEntry) GetAction ¶
func (x *RepoCreateAuditEntry) GetAction() string
func (*RepoCreateAuditEntry) GetActor ¶
func (x *RepoCreateAuditEntry) GetActor() AuditEntryActor
func (*RepoCreateAuditEntry) GetActorIp ¶
func (x *RepoCreateAuditEntry) GetActorIp() string
func (*RepoCreateAuditEntry) GetActorLocation ¶
func (x *RepoCreateAuditEntry) GetActorLocation() *ActorLocation
func (*RepoCreateAuditEntry) GetActorLogin ¶
func (x *RepoCreateAuditEntry) GetActorLogin() string
func (*RepoCreateAuditEntry) GetActorResourcePath ¶
func (x *RepoCreateAuditEntry) GetActorResourcePath() URI
func (*RepoCreateAuditEntry) GetActorUrl ¶
func (x *RepoCreateAuditEntry) GetActorUrl() URI
func (*RepoCreateAuditEntry) GetCreatedAt ¶
func (x *RepoCreateAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoCreateAuditEntry) GetForkParentName ¶
func (x *RepoCreateAuditEntry) GetForkParentName() string
func (*RepoCreateAuditEntry) GetForkSourceName ¶
func (x *RepoCreateAuditEntry) GetForkSourceName() string
func (*RepoCreateAuditEntry) GetId ¶
func (x *RepoCreateAuditEntry) GetId() ID
func (*RepoCreateAuditEntry) GetOperationType ¶
func (x *RepoCreateAuditEntry) GetOperationType() OperationType
func (*RepoCreateAuditEntry) GetOrganization ¶
func (x *RepoCreateAuditEntry) GetOrganization() *Organization
func (*RepoCreateAuditEntry) GetOrganizationName ¶
func (x *RepoCreateAuditEntry) GetOrganizationName() string
func (*RepoCreateAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoCreateAuditEntry) GetOrganizationResourcePath() URI
func (*RepoCreateAuditEntry) GetOrganizationUrl ¶
func (x *RepoCreateAuditEntry) GetOrganizationUrl() URI
func (*RepoCreateAuditEntry) GetRepository ¶
func (x *RepoCreateAuditEntry) GetRepository() *Repository
func (*RepoCreateAuditEntry) GetRepositoryName ¶
func (x *RepoCreateAuditEntry) GetRepositoryName() string
func (*RepoCreateAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoCreateAuditEntry) GetRepositoryResourcePath() URI
func (*RepoCreateAuditEntry) GetRepositoryUrl ¶
func (x *RepoCreateAuditEntry) GetRepositoryUrl() URI
func (*RepoCreateAuditEntry) GetUser ¶
func (x *RepoCreateAuditEntry) GetUser() *User
func (*RepoCreateAuditEntry) GetUserLogin ¶
func (x *RepoCreateAuditEntry) GetUserLogin() string
func (*RepoCreateAuditEntry) GetUserResourcePath ¶
func (x *RepoCreateAuditEntry) GetUserResourcePath() URI
func (*RepoCreateAuditEntry) GetUserUrl ¶
func (x *RepoCreateAuditEntry) GetUserUrl() URI
func (*RepoCreateAuditEntry) GetVisibility ¶
func (x *RepoCreateAuditEntry) GetVisibility() RepoCreateAuditEntryVisibility
type RepoCreateAuditEntryVisibility ¶
type RepoCreateAuditEntryVisibility string
RepoCreateAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoCreateAuditEntryVisibility_INTERNAL RepoCreateAuditEntryVisibility = "INTERNAL"
RepoCreateAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoCreateAuditEntryVisibility_PRIVATE RepoCreateAuditEntryVisibility = "PRIVATE"
RepoCreateAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoCreateAuditEntryVisibility_PUBLIC RepoCreateAuditEntryVisibility = "PUBLIC"
RepoCreateAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoDestroyAuditEntry ¶
type RepoDestroyAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoDestroyAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoDestroyAuditEntry (OBJECT): Audit log entry for a repo.destroy event.
func (*RepoDestroyAuditEntry) GetAction ¶
func (x *RepoDestroyAuditEntry) GetAction() string
func (*RepoDestroyAuditEntry) GetActor ¶
func (x *RepoDestroyAuditEntry) GetActor() AuditEntryActor
func (*RepoDestroyAuditEntry) GetActorIp ¶
func (x *RepoDestroyAuditEntry) GetActorIp() string
func (*RepoDestroyAuditEntry) GetActorLocation ¶
func (x *RepoDestroyAuditEntry) GetActorLocation() *ActorLocation
func (*RepoDestroyAuditEntry) GetActorLogin ¶
func (x *RepoDestroyAuditEntry) GetActorLogin() string
func (*RepoDestroyAuditEntry) GetActorResourcePath ¶
func (x *RepoDestroyAuditEntry) GetActorResourcePath() URI
func (*RepoDestroyAuditEntry) GetActorUrl ¶
func (x *RepoDestroyAuditEntry) GetActorUrl() URI
func (*RepoDestroyAuditEntry) GetCreatedAt ¶
func (x *RepoDestroyAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoDestroyAuditEntry) GetId ¶
func (x *RepoDestroyAuditEntry) GetId() ID
func (*RepoDestroyAuditEntry) GetOperationType ¶
func (x *RepoDestroyAuditEntry) GetOperationType() OperationType
func (*RepoDestroyAuditEntry) GetOrganization ¶
func (x *RepoDestroyAuditEntry) GetOrganization() *Organization
func (*RepoDestroyAuditEntry) GetOrganizationName ¶
func (x *RepoDestroyAuditEntry) GetOrganizationName() string
func (*RepoDestroyAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoDestroyAuditEntry) GetOrganizationResourcePath() URI
func (*RepoDestroyAuditEntry) GetOrganizationUrl ¶
func (x *RepoDestroyAuditEntry) GetOrganizationUrl() URI
func (*RepoDestroyAuditEntry) GetRepository ¶
func (x *RepoDestroyAuditEntry) GetRepository() *Repository
func (*RepoDestroyAuditEntry) GetRepositoryName ¶
func (x *RepoDestroyAuditEntry) GetRepositoryName() string
func (*RepoDestroyAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoDestroyAuditEntry) GetRepositoryResourcePath() URI
func (*RepoDestroyAuditEntry) GetRepositoryUrl ¶
func (x *RepoDestroyAuditEntry) GetRepositoryUrl() URI
func (*RepoDestroyAuditEntry) GetUser ¶
func (x *RepoDestroyAuditEntry) GetUser() *User
func (*RepoDestroyAuditEntry) GetUserLogin ¶
func (x *RepoDestroyAuditEntry) GetUserLogin() string
func (*RepoDestroyAuditEntry) GetUserResourcePath ¶
func (x *RepoDestroyAuditEntry) GetUserResourcePath() URI
func (*RepoDestroyAuditEntry) GetUserUrl ¶
func (x *RepoDestroyAuditEntry) GetUserUrl() URI
func (*RepoDestroyAuditEntry) GetVisibility ¶
func (x *RepoDestroyAuditEntry) GetVisibility() RepoDestroyAuditEntryVisibility
type RepoDestroyAuditEntryVisibility ¶
type RepoDestroyAuditEntryVisibility string
RepoDestroyAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoDestroyAuditEntryVisibility_INTERNAL RepoDestroyAuditEntryVisibility = "INTERNAL"
RepoDestroyAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoDestroyAuditEntryVisibility_PRIVATE RepoDestroyAuditEntryVisibility = "PRIVATE"
RepoDestroyAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoDestroyAuditEntryVisibility_PUBLIC RepoDestroyAuditEntryVisibility = "PUBLIC"
RepoDestroyAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoRemoveMemberAuditEntry ¶
type RepoRemoveMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
// Visibility: The visibility of the repository.
Visibility RepoRemoveMemberAuditEntryVisibility `json:"visibility,omitempty"`
}
RepoRemoveMemberAuditEntry (OBJECT): Audit log entry for a repo.remove_member event.
func (*RepoRemoveMemberAuditEntry) GetAction ¶
func (x *RepoRemoveMemberAuditEntry) GetAction() string
func (*RepoRemoveMemberAuditEntry) GetActor ¶
func (x *RepoRemoveMemberAuditEntry) GetActor() AuditEntryActor
func (*RepoRemoveMemberAuditEntry) GetActorIp ¶
func (x *RepoRemoveMemberAuditEntry) GetActorIp() string
func (*RepoRemoveMemberAuditEntry) GetActorLocation ¶
func (x *RepoRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
func (*RepoRemoveMemberAuditEntry) GetActorLogin ¶
func (x *RepoRemoveMemberAuditEntry) GetActorLogin() string
func (*RepoRemoveMemberAuditEntry) GetActorResourcePath ¶
func (x *RepoRemoveMemberAuditEntry) GetActorResourcePath() URI
func (*RepoRemoveMemberAuditEntry) GetActorUrl ¶
func (x *RepoRemoveMemberAuditEntry) GetActorUrl() URI
func (*RepoRemoveMemberAuditEntry) GetCreatedAt ¶
func (x *RepoRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoRemoveMemberAuditEntry) GetId ¶
func (x *RepoRemoveMemberAuditEntry) GetId() ID
func (*RepoRemoveMemberAuditEntry) GetOperationType ¶
func (x *RepoRemoveMemberAuditEntry) GetOperationType() OperationType
func (*RepoRemoveMemberAuditEntry) GetOrganization ¶
func (x *RepoRemoveMemberAuditEntry) GetOrganization() *Organization
func (*RepoRemoveMemberAuditEntry) GetOrganizationName ¶
func (x *RepoRemoveMemberAuditEntry) GetOrganizationName() string
func (*RepoRemoveMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
func (*RepoRemoveMemberAuditEntry) GetOrganizationUrl ¶
func (x *RepoRemoveMemberAuditEntry) GetOrganizationUrl() URI
func (*RepoRemoveMemberAuditEntry) GetRepository ¶
func (x *RepoRemoveMemberAuditEntry) GetRepository() *Repository
func (*RepoRemoveMemberAuditEntry) GetRepositoryName ¶
func (x *RepoRemoveMemberAuditEntry) GetRepositoryName() string
func (*RepoRemoveMemberAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoRemoveMemberAuditEntry) GetRepositoryResourcePath() URI
func (*RepoRemoveMemberAuditEntry) GetRepositoryUrl ¶
func (x *RepoRemoveMemberAuditEntry) GetRepositoryUrl() URI
func (*RepoRemoveMemberAuditEntry) GetUser ¶
func (x *RepoRemoveMemberAuditEntry) GetUser() *User
func (*RepoRemoveMemberAuditEntry) GetUserLogin ¶
func (x *RepoRemoveMemberAuditEntry) GetUserLogin() string
func (*RepoRemoveMemberAuditEntry) GetUserResourcePath ¶
func (x *RepoRemoveMemberAuditEntry) GetUserResourcePath() URI
func (*RepoRemoveMemberAuditEntry) GetUserUrl ¶
func (x *RepoRemoveMemberAuditEntry) GetUserUrl() URI
func (*RepoRemoveMemberAuditEntry) GetVisibility ¶
func (x *RepoRemoveMemberAuditEntry) GetVisibility() RepoRemoveMemberAuditEntryVisibility
type RepoRemoveMemberAuditEntryVisibility ¶
type RepoRemoveMemberAuditEntryVisibility string
RepoRemoveMemberAuditEntryVisibility (ENUM): The privacy of a repository.
const RepoRemoveMemberAuditEntryVisibility_INTERNAL RepoRemoveMemberAuditEntryVisibility = "INTERNAL"
RepoRemoveMemberAuditEntryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepoRemoveMemberAuditEntryVisibility_PRIVATE RepoRemoveMemberAuditEntryVisibility = "PRIVATE"
RepoRemoveMemberAuditEntryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepoRemoveMemberAuditEntryVisibility_PUBLIC RepoRemoveMemberAuditEntryVisibility = "PUBLIC"
RepoRemoveMemberAuditEntryVisibility_PUBLIC: The repository is visible to everyone.
type RepoRemoveTopicAuditEntry ¶
type RepoRemoveTopicAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// Topic: The name of the topic added to the repository.
Topic *Topic `json:"topic,omitempty"`
// TopicName: The name of the topic added to the repository.
TopicName string `json:"topicName,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepoRemoveTopicAuditEntry (OBJECT): Audit log entry for a repo.remove_topic event.
func (*RepoRemoveTopicAuditEntry) GetAction ¶
func (x *RepoRemoveTopicAuditEntry) GetAction() string
func (*RepoRemoveTopicAuditEntry) GetActor ¶
func (x *RepoRemoveTopicAuditEntry) GetActor() AuditEntryActor
func (*RepoRemoveTopicAuditEntry) GetActorIp ¶
func (x *RepoRemoveTopicAuditEntry) GetActorIp() string
func (*RepoRemoveTopicAuditEntry) GetActorLocation ¶
func (x *RepoRemoveTopicAuditEntry) GetActorLocation() *ActorLocation
func (*RepoRemoveTopicAuditEntry) GetActorLogin ¶
func (x *RepoRemoveTopicAuditEntry) GetActorLogin() string
func (*RepoRemoveTopicAuditEntry) GetActorResourcePath ¶
func (x *RepoRemoveTopicAuditEntry) GetActorResourcePath() URI
func (*RepoRemoveTopicAuditEntry) GetActorUrl ¶
func (x *RepoRemoveTopicAuditEntry) GetActorUrl() URI
func (*RepoRemoveTopicAuditEntry) GetCreatedAt ¶
func (x *RepoRemoveTopicAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepoRemoveTopicAuditEntry) GetId ¶
func (x *RepoRemoveTopicAuditEntry) GetId() ID
func (*RepoRemoveTopicAuditEntry) GetOperationType ¶
func (x *RepoRemoveTopicAuditEntry) GetOperationType() OperationType
func (*RepoRemoveTopicAuditEntry) GetOrganization ¶
func (x *RepoRemoveTopicAuditEntry) GetOrganization() *Organization
func (*RepoRemoveTopicAuditEntry) GetOrganizationName ¶
func (x *RepoRemoveTopicAuditEntry) GetOrganizationName() string
func (*RepoRemoveTopicAuditEntry) GetOrganizationResourcePath ¶
func (x *RepoRemoveTopicAuditEntry) GetOrganizationResourcePath() URI
func (*RepoRemoveTopicAuditEntry) GetOrganizationUrl ¶
func (x *RepoRemoveTopicAuditEntry) GetOrganizationUrl() URI
func (*RepoRemoveTopicAuditEntry) GetRepository ¶
func (x *RepoRemoveTopicAuditEntry) GetRepository() *Repository
func (*RepoRemoveTopicAuditEntry) GetRepositoryName ¶
func (x *RepoRemoveTopicAuditEntry) GetRepositoryName() string
func (*RepoRemoveTopicAuditEntry) GetRepositoryResourcePath ¶
func (x *RepoRemoveTopicAuditEntry) GetRepositoryResourcePath() URI
func (*RepoRemoveTopicAuditEntry) GetRepositoryUrl ¶
func (x *RepoRemoveTopicAuditEntry) GetRepositoryUrl() URI
func (*RepoRemoveTopicAuditEntry) GetTopic ¶
func (x *RepoRemoveTopicAuditEntry) GetTopic() *Topic
func (*RepoRemoveTopicAuditEntry) GetTopicName ¶
func (x *RepoRemoveTopicAuditEntry) GetTopicName() string
func (*RepoRemoveTopicAuditEntry) GetUser ¶
func (x *RepoRemoveTopicAuditEntry) GetUser() *User
func (*RepoRemoveTopicAuditEntry) GetUserLogin ¶
func (x *RepoRemoveTopicAuditEntry) GetUserLogin() string
func (*RepoRemoveTopicAuditEntry) GetUserResourcePath ¶
func (x *RepoRemoveTopicAuditEntry) GetUserResourcePath() URI
func (*RepoRemoveTopicAuditEntry) GetUserUrl ¶
func (x *RepoRemoveTopicAuditEntry) GetUserUrl() URI
type ReportedContentClassifiers ¶
type ReportedContentClassifiers string
ReportedContentClassifiers (ENUM): The reasons a piece of content can be reported or minimized.
const ReportedContentClassifiers_ABUSE ReportedContentClassifiers = "ABUSE"
ReportedContentClassifiers_ABUSE: An abusive or harassing piece of content.
const ReportedContentClassifiers_DUPLICATE ReportedContentClassifiers = "DUPLICATE"
ReportedContentClassifiers_DUPLICATE: A duplicated piece of content.
const ReportedContentClassifiers_OFF_TOPIC ReportedContentClassifiers = "OFF_TOPIC"
ReportedContentClassifiers_OFF_TOPIC: An irrelevant piece of content.
const ReportedContentClassifiers_OUTDATED ReportedContentClassifiers = "OUTDATED"
ReportedContentClassifiers_OUTDATED: An outdated piece of content.
const ReportedContentClassifiers_RESOLVED ReportedContentClassifiers = "RESOLVED"
ReportedContentClassifiers_RESOLVED: The content has been resolved.
const ReportedContentClassifiers_SPAM ReportedContentClassifiers = "SPAM"
ReportedContentClassifiers_SPAM: A spammy piece of content.
type Repository ¶
type Repository struct {
// AllowUpdateBranch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
AllowUpdateBranch bool `json:"allowUpdateBranch,omitempty"`
// AssignableUsers: A list of users that can be assigned to issues in this repository.
//
// Query arguments:
// - query String
// - after String
// - before String
// - first Int
// - last Int
AssignableUsers *UserConnection `json:"assignableUsers,omitempty"`
// AutoMergeAllowed: Whether or not Auto-merge can be enabled on pull requests in this repository.
AutoMergeAllowed bool `json:"autoMergeAllowed,omitempty"`
// BranchProtectionRules: A list of branch protection rules for this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
BranchProtectionRules *BranchProtectionRuleConnection `json:"branchProtectionRules,omitempty"`
// CodeOfConduct: Returns the code of conduct for this repository.
CodeOfConduct *CodeOfConduct `json:"codeOfConduct,omitempty"`
// Codeowners: Information extracted from the repository's `CODEOWNERS` file.
//
// Query arguments:
// - refName String
Codeowners *RepositoryCodeowners `json:"codeowners,omitempty"`
// Collaborators: A list of collaborators associated with the repository.
//
// Query arguments:
// - affiliation CollaboratorAffiliation
// - query String
// - after String
// - before String
// - first Int
// - last Int
Collaborators *RepositoryCollaboratorConnection `json:"collaborators,omitempty"`
// CommitComments: A list of commit comments associated with the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
CommitComments *CommitCommentConnection `json:"commitComments,omitempty"`
// ContactLinks: Returns a list of contact links associated to the repository.
ContactLinks []*RepositoryContactLink `json:"contactLinks,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DefaultBranchRef: The Ref associated with the repository's default branch.
DefaultBranchRef *Ref `json:"defaultBranchRef,omitempty"`
// DeleteBranchOnMerge: Whether or not branches are automatically deleted when merged in this repository.
DeleteBranchOnMerge bool `json:"deleteBranchOnMerge,omitempty"`
// DeployKeys: A list of deploy keys that are on this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
DeployKeys *DeployKeyConnection `json:"deployKeys,omitempty"`
// Deployments: Deployments associated with the repository.
//
// Query arguments:
// - environments [String!]
// - orderBy DeploymentOrder
// - after String
// - before String
// - first Int
// - last Int
Deployments *DeploymentConnection `json:"deployments,omitempty"`
// Description: The description of the repository.
Description string `json:"description,omitempty"`
// DescriptionHTML: The description of the repository rendered to HTML.
DescriptionHTML template.HTML `json:"descriptionHTML,omitempty"`
// Discussion: Returns a single discussion from the current repository by number.
//
// Query arguments:
// - number Int!
Discussion *Discussion `json:"discussion,omitempty"`
// DiscussionCategories: A list of discussion categories that are available in the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - filterByAssignable Boolean
DiscussionCategories *DiscussionCategoryConnection `json:"discussionCategories,omitempty"`
// Discussions: A list of discussions that have been opened in the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - categoryId ID
// - orderBy DiscussionOrder
Discussions *DiscussionConnection `json:"discussions,omitempty"`
// DiskUsage: The number of kilobytes this repository occupies on disk.
DiskUsage int `json:"diskUsage,omitempty"`
// Environment: Returns a single active environment from the current repository by name.
//
// Query arguments:
// - name String!
Environment *Environment `json:"environment,omitempty"`
// Environments: A list of environments that are in this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Environments *EnvironmentConnection `json:"environments,omitempty"`
// ForkCount: Returns how many forks there are of this repository in the whole network.
ForkCount int `json:"forkCount,omitempty"`
// ForkingAllowed: Whether this repository allows forks.
ForkingAllowed bool `json:"forkingAllowed,omitempty"`
// Forks: A list of direct forked repositories.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - affiliations [RepositoryAffiliation]
// - ownerAffiliations [RepositoryAffiliation]
// - isLocked Boolean
// - after String
// - before String
// - first Int
// - last Int
Forks *RepositoryConnection `json:"forks,omitempty"`
// FundingLinks: The funding links for this repository.
FundingLinks []*FundingLink `json:"fundingLinks,omitempty"`
// HasIssuesEnabled: Indicates if the repository has issues feature enabled.
HasIssuesEnabled bool `json:"hasIssuesEnabled,omitempty"`
// HasProjectsEnabled: Indicates if the repository has the Projects feature enabled.
HasProjectsEnabled bool `json:"hasProjectsEnabled,omitempty"`
// HasWikiEnabled: Indicates if the repository has wiki feature enabled.
HasWikiEnabled bool `json:"hasWikiEnabled,omitempty"`
// HomepageUrl: The repository's URL.
HomepageUrl URI `json:"homepageUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InteractionAbility: The interaction ability settings for this repository.
InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
// IsArchived: Indicates if the repository is unmaintained.
IsArchived bool `json:"isArchived,omitempty"`
// IsBlankIssuesEnabled: Returns true if blank issue creation is allowed.
IsBlankIssuesEnabled bool `json:"isBlankIssuesEnabled,omitempty"`
// IsDisabled: Returns whether or not this repository disabled.
IsDisabled bool `json:"isDisabled,omitempty"`
// IsEmpty: Returns whether or not this repository is empty.
IsEmpty bool `json:"isEmpty,omitempty"`
// IsFork: Identifies if the repository is a fork.
IsFork bool `json:"isFork,omitempty"`
// IsInOrganization: Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
IsInOrganization bool `json:"isInOrganization,omitempty"`
// IsLocked: Indicates if the repository has been locked or not.
IsLocked bool `json:"isLocked,omitempty"`
// IsMirror: Identifies if the repository is a mirror.
IsMirror bool `json:"isMirror,omitempty"`
// IsPrivate: Identifies if the repository is private or internal.
IsPrivate bool `json:"isPrivate,omitempty"`
// IsSecurityPolicyEnabled: Returns true if this repository has a security policy.
IsSecurityPolicyEnabled bool `json:"isSecurityPolicyEnabled,omitempty"`
// IsTemplate: Identifies if the repository is a template that can be used to generate new repositories.
IsTemplate bool `json:"isTemplate,omitempty"`
// IsUserConfigurationRepository: Is this repository a user configuration repository?.
IsUserConfigurationRepository bool `json:"isUserConfigurationRepository,omitempty"`
// Issue: Returns a single issue from the current repository by number.
//
// Query arguments:
// - number Int!
Issue *Issue `json:"issue,omitempty"`
// IssueOrPullRequest: Returns a single issue-like object from the current repository by number.
//
// Query arguments:
// - number Int!
IssueOrPullRequest IssueOrPullRequest `json:"issueOrPullRequest,omitempty"`
// IssueTemplates: Returns a list of issue templates associated to the repository.
IssueTemplates []*IssueTemplate `json:"issueTemplates,omitempty"`
// Issues: A list of issues that have been opened in the repository.
//
// Query arguments:
// - orderBy IssueOrder
// - labels [String!]
// - states [IssueState!]
// - filterBy IssueFilters
// - after String
// - before String
// - first Int
// - last Int
Issues *IssueConnection `json:"issues,omitempty"`
// Label: Returns a single label by name.
//
// Query arguments:
// - name String!
Label *Label `json:"label,omitempty"`
// Labels: A list of labels associated with the repository.
//
// Query arguments:
// - orderBy LabelOrder
// - after String
// - before String
// - first Int
// - last Int
// - query String
Labels *LabelConnection `json:"labels,omitempty"`
// Languages: A list containing a breakdown of the language composition of the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy LanguageOrder
Languages *LanguageConnection `json:"languages,omitempty"`
// LatestRelease: Get the latest release for the repository if one exists.
LatestRelease *Release `json:"latestRelease,omitempty"`
// LicenseInfo: The license associated with the repository.
LicenseInfo *License `json:"licenseInfo,omitempty"`
// LockReason: The reason the repository has been locked.
LockReason RepositoryLockReason `json:"lockReason,omitempty"`
// MentionableUsers: A list of Users that can be mentioned in the context of the repository.
//
// Query arguments:
// - query String
// - after String
// - before String
// - first Int
// - last Int
MentionableUsers *UserConnection `json:"mentionableUsers,omitempty"`
// MergeCommitAllowed: Whether or not PRs are merged with a merge commit on this repository.
MergeCommitAllowed bool `json:"mergeCommitAllowed,omitempty"`
// Milestone: Returns a single milestone from the current repository by number.
//
// Query arguments:
// - number Int!
Milestone *Milestone `json:"milestone,omitempty"`
// Milestones: A list of milestones associated with the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - states [MilestoneState!]
// - orderBy MilestoneOrder
// - query String
Milestones *MilestoneConnection `json:"milestones,omitempty"`
// MirrorUrl: The repository's original mirror URL.
MirrorUrl URI `json:"mirrorUrl,omitempty"`
// Name: The name of the repository.
Name string `json:"name,omitempty"`
// NameWithOwner: The repository's name with owner.
NameWithOwner string `json:"nameWithOwner,omitempty"`
// Object: A Git object in the repository.
//
// Query arguments:
// - oid GitObjectID
// - expression String
Object GitObject `json:"object,omitempty"`
// OpenGraphImageUrl: The image used to represent this repository in Open Graph data.
OpenGraphImageUrl URI `json:"openGraphImageUrl,omitempty"`
// Owner: The User owner of the repository.
Owner RepositoryOwner `json:"owner,omitempty"`
// Packages: A list of packages under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - names [String]
// - repositoryId ID
// - packageType PackageType
// - orderBy PackageOrder
Packages *PackageConnection `json:"packages,omitempty"`
// Parent: The repository parent, if this is a fork.
Parent *Repository `json:"parent,omitempty"`
// PinnedDiscussions: A list of discussions that have been pinned in this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PinnedDiscussions *PinnedDiscussionConnection `json:"pinnedDiscussions,omitempty"`
// PinnedIssues: A list of pinned issues for this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PinnedIssues *PinnedIssueConnection `json:"pinnedIssues,omitempty"`
// PrimaryLanguage: The primary language of the repository's code.
PrimaryLanguage *Language `json:"primaryLanguage,omitempty"`
// Project: Find project by number.
//
// Query arguments:
// - number Int!
Project *Project `json:"project,omitempty"`
// ProjectNext: Finds and returns the Project (beta) according to the provided Project (beta) number.
//
// Deprecated: Finds and returns the Project (beta) according to the provided Project (beta) number.
//
// Query arguments:
// - number Int!
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
// ProjectV2: Finds and returns the Project according to the provided Project number.
//
// Query arguments:
// - number Int!
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
// Projects: A list of projects under the owner.
//
// Query arguments:
// - orderBy ProjectOrder
// - search String
// - states [ProjectState!]
// - after String
// - before String
// - first Int
// - last Int
Projects *ProjectConnection `json:"projects,omitempty"`
// ProjectsNext: List of projects (beta) linked to this repository.
//
// Deprecated: List of projects (beta) linked to this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - sortBy ProjectNextOrderField
ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"`
// ProjectsResourcePath: The HTTP path listing the repository's projects.
ProjectsResourcePath URI `json:"projectsResourcePath,omitempty"`
// ProjectsUrl: The HTTP URL listing the repository's projects.
ProjectsUrl URI `json:"projectsUrl,omitempty"`
// ProjectsV2: List of projects linked to this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy ProjectV2Order
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// PullRequest: Returns a single pull request from the current repository by number.
//
// Query arguments:
// - number Int!
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// PullRequestTemplates: Returns a list of pull request templates associated to the repository.
PullRequestTemplates []*PullRequestTemplate `json:"pullRequestTemplates,omitempty"`
// PullRequests: A list of pull requests that have been opened in the repository.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
// PushedAt: Identifies when the repository was last pushed to.
PushedAt DateTime `json:"pushedAt,omitempty"`
// RebaseMergeAllowed: Whether or not rebase-merging is enabled on this repository.
RebaseMergeAllowed bool `json:"rebaseMergeAllowed,omitempty"`
// RecentProjects: Recent projects that this user has modified in the context of the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RecentProjects *ProjectV2Connection `json:"recentProjects,omitempty"`
// Ref: Fetch a given ref from the repository.
//
// Query arguments:
// - qualifiedName String!
Ref *Ref `json:"ref,omitempty"`
// Refs: Fetch a list of refs from the repository.
//
// Query arguments:
// - query String
// - after String
// - before String
// - first Int
// - last Int
// - refPrefix String!
// - direction OrderDirection
// - orderBy RefOrder
Refs *RefConnection `json:"refs,omitempty"`
// Release: Lookup a single release given various criteria.
//
// Query arguments:
// - tagName String!
Release *Release `json:"release,omitempty"`
// Releases: List of releases which are dependent on this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy ReleaseOrder
Releases *ReleaseConnection `json:"releases,omitempty"`
// RepositoryTopics: A list of applied repository-topic associations for this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RepositoryTopics *RepositoryTopicConnection `json:"repositoryTopics,omitempty"`
// ResourcePath: The HTTP path for this repository.
ResourcePath URI `json:"resourcePath,omitempty"`
// SecurityPolicyUrl: The security policy URL.
SecurityPolicyUrl URI `json:"securityPolicyUrl,omitempty"`
// ShortDescriptionHTML: A description of the repository, rendered to HTML without any links in it.
//
// Query arguments:
// - limit Int
ShortDescriptionHTML template.HTML `json:"shortDescriptionHTML,omitempty"`
// SquashMergeAllowed: Whether or not squash-merging is enabled on this repository.
SquashMergeAllowed bool `json:"squashMergeAllowed,omitempty"`
// SquashPrTitleUsedAsDefault: Whether a squash merge commit can use the pull request title as default.
SquashPrTitleUsedAsDefault bool `json:"squashPrTitleUsedAsDefault,omitempty"`
// SshUrl: The SSH URL to clone this repository.
SshUrl GitSSHRemote `json:"sshUrl,omitempty"`
// StargazerCount: Returns a count of how many stargazers there are on this object
// .
StargazerCount int `json:"stargazerCount,omitempty"`
// Stargazers: A list of users who have starred this starrable.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy StarOrder
Stargazers *StargazerConnection `json:"stargazers,omitempty"`
// Submodules: Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Submodules *SubmoduleConnection `json:"submodules,omitempty"`
// TempCloneToken: Temporary authentication token for cloning this repository.
TempCloneToken string `json:"tempCloneToken,omitempty"`
// TemplateRepository: The repository from which this repository was generated, if any.
TemplateRepository *Repository `json:"templateRepository,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this repository.
Url URI `json:"url,omitempty"`
// UsesCustomOpenGraphImage: Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
UsesCustomOpenGraphImage bool `json:"usesCustomOpenGraphImage,omitempty"`
// ViewerCanAdminister: Indicates whether the viewer has admin permissions on this repository.
ViewerCanAdminister bool `json:"viewerCanAdminister,omitempty"`
// ViewerCanCreateProjects: Can the current viewer create new projects on this owner.
ViewerCanCreateProjects bool `json:"viewerCanCreateProjects,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerCanUpdateTopics: Indicates whether the viewer can update the topics of this repository.
ViewerCanUpdateTopics bool `json:"viewerCanUpdateTopics,omitempty"`
// ViewerDefaultCommitEmail: The last commit email for the viewer.
ViewerDefaultCommitEmail string `json:"viewerDefaultCommitEmail,omitempty"`
// ViewerDefaultMergeMethod: The last used merge method by the viewer or the default for the repository.
ViewerDefaultMergeMethod PullRequestMergeMethod `json:"viewerDefaultMergeMethod,omitempty"`
// ViewerHasStarred: Returns a boolean indicating whether the viewing user has starred this starrable.
ViewerHasStarred bool `json:"viewerHasStarred,omitempty"`
// ViewerPermission: The users permission level on the repository. Will return null if authenticated as an GitHub App.
ViewerPermission RepositoryPermission `json:"viewerPermission,omitempty"`
// ViewerPossibleCommitEmails: A list of emails this viewer can commit with.
ViewerPossibleCommitEmails []string `json:"viewerPossibleCommitEmails,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
// Visibility: Indicates the repository's visibility level.
Visibility RepositoryVisibility `json:"visibility,omitempty"`
// VulnerabilityAlerts: A list of vulnerability alerts that are on this repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - states [RepositoryVulnerabilityAlertState!]
// - dependencyScopes [RepositoryVulnerabilityAlertDependencyScope!]
VulnerabilityAlerts *RepositoryVulnerabilityAlertConnection `json:"vulnerabilityAlerts,omitempty"`
// Watchers: A list of users watching the repository.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Watchers *UserConnection `json:"watchers,omitempty"`
}
Repository (OBJECT): A repository contains the content for a project.
func (*Repository) GetAllowUpdateBranch ¶
func (x *Repository) GetAllowUpdateBranch() bool
func (*Repository) GetAssignableUsers ¶
func (x *Repository) GetAssignableUsers() *UserConnection
func (*Repository) GetAutoMergeAllowed ¶
func (x *Repository) GetAutoMergeAllowed() bool
func (*Repository) GetBranchProtectionRules ¶
func (x *Repository) GetBranchProtectionRules() *BranchProtectionRuleConnection
func (*Repository) GetCodeOfConduct ¶
func (x *Repository) GetCodeOfConduct() *CodeOfConduct
func (*Repository) GetCodeowners ¶
func (x *Repository) GetCodeowners() *RepositoryCodeowners
func (*Repository) GetCollaborators ¶
func (x *Repository) GetCollaborators() *RepositoryCollaboratorConnection
func (*Repository) GetCommitComments ¶
func (x *Repository) GetCommitComments() *CommitCommentConnection
func (*Repository) GetContactLinks ¶
func (x *Repository) GetContactLinks() []*RepositoryContactLink
func (*Repository) GetCreatedAt ¶
func (x *Repository) GetCreatedAt() DateTime
func (*Repository) GetDatabaseId ¶
func (x *Repository) GetDatabaseId() int
func (*Repository) GetDefaultBranchRef ¶
func (x *Repository) GetDefaultBranchRef() *Ref
func (*Repository) GetDeleteBranchOnMerge ¶
func (x *Repository) GetDeleteBranchOnMerge() bool
func (*Repository) GetDeployKeys ¶
func (x *Repository) GetDeployKeys() *DeployKeyConnection
func (*Repository) GetDeployments ¶
func (x *Repository) GetDeployments() *DeploymentConnection
func (*Repository) GetDescription ¶
func (x *Repository) GetDescription() string
func (*Repository) GetDescriptionHTML ¶
func (x *Repository) GetDescriptionHTML() template.HTML
func (*Repository) GetDiscussion ¶
func (x *Repository) GetDiscussion() *Discussion
func (*Repository) GetDiscussionCategories ¶
func (x *Repository) GetDiscussionCategories() *DiscussionCategoryConnection
func (*Repository) GetDiscussions ¶
func (x *Repository) GetDiscussions() *DiscussionConnection
func (*Repository) GetDiskUsage ¶
func (x *Repository) GetDiskUsage() int
func (*Repository) GetEnvironment ¶
func (x *Repository) GetEnvironment() *Environment
func (*Repository) GetEnvironments ¶
func (x *Repository) GetEnvironments() *EnvironmentConnection
func (*Repository) GetForkCount ¶
func (x *Repository) GetForkCount() int
func (*Repository) GetForkingAllowed ¶
func (x *Repository) GetForkingAllowed() bool
func (*Repository) GetForks ¶
func (x *Repository) GetForks() *RepositoryConnection
func (*Repository) GetFundingLinks ¶
func (x *Repository) GetFundingLinks() []*FundingLink
func (*Repository) GetHasIssuesEnabled ¶
func (x *Repository) GetHasIssuesEnabled() bool
func (*Repository) GetHasProjectsEnabled ¶
func (x *Repository) GetHasProjectsEnabled() bool
func (*Repository) GetHasWikiEnabled ¶
func (x *Repository) GetHasWikiEnabled() bool
func (*Repository) GetHomepageUrl ¶
func (x *Repository) GetHomepageUrl() URI
func (*Repository) GetId ¶
func (x *Repository) GetId() ID
func (*Repository) GetInteractionAbility ¶
func (x *Repository) GetInteractionAbility() *RepositoryInteractionAbility
func (*Repository) GetIsArchived ¶
func (x *Repository) GetIsArchived() bool
func (*Repository) GetIsBlankIssuesEnabled ¶
func (x *Repository) GetIsBlankIssuesEnabled() bool
func (*Repository) GetIsDisabled ¶
func (x *Repository) GetIsDisabled() bool
func (*Repository) GetIsEmpty ¶
func (x *Repository) GetIsEmpty() bool
func (*Repository) GetIsFork ¶
func (x *Repository) GetIsFork() bool
func (*Repository) GetIsInOrganization ¶
func (x *Repository) GetIsInOrganization() bool
func (*Repository) GetIsLocked ¶
func (x *Repository) GetIsLocked() bool
func (*Repository) GetIsMirror ¶
func (x *Repository) GetIsMirror() bool
func (*Repository) GetIsPrivate ¶
func (x *Repository) GetIsPrivate() bool
func (*Repository) GetIsSecurityPolicyEnabled ¶
func (x *Repository) GetIsSecurityPolicyEnabled() bool
func (*Repository) GetIsTemplate ¶
func (x *Repository) GetIsTemplate() bool
func (*Repository) GetIsUserConfigurationRepository ¶
func (x *Repository) GetIsUserConfigurationRepository() bool
func (*Repository) GetIssue ¶
func (x *Repository) GetIssue() *Issue
func (*Repository) GetIssueOrPullRequest ¶
func (x *Repository) GetIssueOrPullRequest() IssueOrPullRequest
func (*Repository) GetIssueTemplates ¶
func (x *Repository) GetIssueTemplates() []*IssueTemplate
func (*Repository) GetIssues ¶
func (x *Repository) GetIssues() *IssueConnection
func (*Repository) GetLabel ¶
func (x *Repository) GetLabel() *Label
func (*Repository) GetLabels ¶
func (x *Repository) GetLabels() *LabelConnection
func (*Repository) GetLanguages ¶
func (x *Repository) GetLanguages() *LanguageConnection
func (*Repository) GetLatestRelease ¶
func (x *Repository) GetLatestRelease() *Release
func (*Repository) GetLicenseInfo ¶
func (x *Repository) GetLicenseInfo() *License
func (*Repository) GetLockReason ¶
func (x *Repository) GetLockReason() RepositoryLockReason
func (*Repository) GetMentionableUsers ¶
func (x *Repository) GetMentionableUsers() *UserConnection
func (*Repository) GetMergeCommitAllowed ¶
func (x *Repository) GetMergeCommitAllowed() bool
func (*Repository) GetMilestone ¶
func (x *Repository) GetMilestone() *Milestone
func (*Repository) GetMilestones ¶
func (x *Repository) GetMilestones() *MilestoneConnection
func (*Repository) GetMirrorUrl ¶
func (x *Repository) GetMirrorUrl() URI
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetNameWithOwner ¶
func (x *Repository) GetNameWithOwner() string
func (*Repository) GetObject ¶
func (x *Repository) GetObject() GitObject
func (*Repository) GetOpenGraphImageUrl ¶
func (x *Repository) GetOpenGraphImageUrl() URI
func (*Repository) GetOwner ¶
func (x *Repository) GetOwner() RepositoryOwner
func (*Repository) GetPackages ¶
func (x *Repository) GetPackages() *PackageConnection
func (*Repository) GetParent ¶
func (x *Repository) GetParent() *Repository
func (*Repository) GetPinnedDiscussions ¶
func (x *Repository) GetPinnedDiscussions() *PinnedDiscussionConnection
func (*Repository) GetPinnedIssues ¶
func (x *Repository) GetPinnedIssues() *PinnedIssueConnection
func (*Repository) GetPrimaryLanguage ¶
func (x *Repository) GetPrimaryLanguage() *Language
func (*Repository) GetProject ¶
func (x *Repository) GetProject() *Project
func (*Repository) GetProjectNext ¶
func (x *Repository) GetProjectNext() *ProjectNext
func (*Repository) GetProjectV2 ¶
func (x *Repository) GetProjectV2() *ProjectV2
func (*Repository) GetProjects ¶
func (x *Repository) GetProjects() *ProjectConnection
func (*Repository) GetProjectsNext ¶
func (x *Repository) GetProjectsNext() *ProjectNextConnection
func (*Repository) GetProjectsResourcePath ¶
func (x *Repository) GetProjectsResourcePath() URI
func (*Repository) GetProjectsUrl ¶
func (x *Repository) GetProjectsUrl() URI
func (*Repository) GetProjectsV2 ¶
func (x *Repository) GetProjectsV2() *ProjectV2Connection
func (*Repository) GetPullRequest ¶
func (x *Repository) GetPullRequest() *PullRequest
func (*Repository) GetPullRequestTemplates ¶
func (x *Repository) GetPullRequestTemplates() []*PullRequestTemplate
func (*Repository) GetPullRequests ¶
func (x *Repository) GetPullRequests() *PullRequestConnection
func (*Repository) GetPushedAt ¶
func (x *Repository) GetPushedAt() DateTime
func (*Repository) GetRebaseMergeAllowed ¶
func (x *Repository) GetRebaseMergeAllowed() bool
func (*Repository) GetRecentProjects ¶
func (x *Repository) GetRecentProjects() *ProjectV2Connection
func (*Repository) GetRef ¶
func (x *Repository) GetRef() *Ref
func (*Repository) GetRefs ¶
func (x *Repository) GetRefs() *RefConnection
func (*Repository) GetRelease ¶
func (x *Repository) GetRelease() *Release
func (*Repository) GetReleases ¶
func (x *Repository) GetReleases() *ReleaseConnection
func (*Repository) GetRepositoryTopics ¶
func (x *Repository) GetRepositoryTopics() *RepositoryTopicConnection
func (*Repository) GetResourcePath ¶
func (x *Repository) GetResourcePath() URI
func (*Repository) GetSecurityPolicyUrl ¶
func (x *Repository) GetSecurityPolicyUrl() URI
func (*Repository) GetShortDescriptionHTML ¶
func (x *Repository) GetShortDescriptionHTML() template.HTML
func (*Repository) GetSquashMergeAllowed ¶
func (x *Repository) GetSquashMergeAllowed() bool
func (*Repository) GetSquashPrTitleUsedAsDefault ¶
func (x *Repository) GetSquashPrTitleUsedAsDefault() bool
func (*Repository) GetSshUrl ¶
func (x *Repository) GetSshUrl() GitSSHRemote
func (*Repository) GetStargazerCount ¶
func (x *Repository) GetStargazerCount() int
func (*Repository) GetStargazers ¶
func (x *Repository) GetStargazers() *StargazerConnection
func (*Repository) GetSubmodules ¶
func (x *Repository) GetSubmodules() *SubmoduleConnection
func (*Repository) GetTempCloneToken ¶
func (x *Repository) GetTempCloneToken() string
func (*Repository) GetTemplateRepository ¶
func (x *Repository) GetTemplateRepository() *Repository
func (*Repository) GetUpdatedAt ¶
func (x *Repository) GetUpdatedAt() DateTime
func (*Repository) GetUrl ¶
func (x *Repository) GetUrl() URI
func (*Repository) GetUsesCustomOpenGraphImage ¶
func (x *Repository) GetUsesCustomOpenGraphImage() bool
func (*Repository) GetViewerCanAdminister ¶
func (x *Repository) GetViewerCanAdminister() bool
func (*Repository) GetViewerCanCreateProjects ¶
func (x *Repository) GetViewerCanCreateProjects() bool
func (*Repository) GetViewerCanSubscribe ¶
func (x *Repository) GetViewerCanSubscribe() bool
func (*Repository) GetViewerCanUpdateTopics ¶
func (x *Repository) GetViewerCanUpdateTopics() bool
func (*Repository) GetViewerDefaultCommitEmail ¶
func (x *Repository) GetViewerDefaultCommitEmail() string
func (*Repository) GetViewerDefaultMergeMethod ¶
func (x *Repository) GetViewerDefaultMergeMethod() PullRequestMergeMethod
func (*Repository) GetViewerHasStarred ¶
func (x *Repository) GetViewerHasStarred() bool
func (*Repository) GetViewerPermission ¶
func (x *Repository) GetViewerPermission() RepositoryPermission
func (*Repository) GetViewerPossibleCommitEmails ¶
func (x *Repository) GetViewerPossibleCommitEmails() []string
func (*Repository) GetViewerSubscription ¶
func (x *Repository) GetViewerSubscription() SubscriptionState
func (*Repository) GetVisibility ¶
func (x *Repository) GetVisibility() RepositoryVisibility
func (*Repository) GetVulnerabilityAlerts ¶
func (x *Repository) GetVulnerabilityAlerts() *RepositoryVulnerabilityAlertConnection
func (*Repository) GetWatchers ¶
func (x *Repository) GetWatchers() *UserConnection
type RepositoryAffiliation ¶
type RepositoryAffiliation string
RepositoryAffiliation (ENUM): The affiliation of a user to a repository.
const RepositoryAffiliation_COLLABORATOR RepositoryAffiliation = "COLLABORATOR"
RepositoryAffiliation_COLLABORATOR: Repositories that the user has been added to as a collaborator.
const RepositoryAffiliation_ORGANIZATION_MEMBER RepositoryAffiliation = "ORGANIZATION_MEMBER"
RepositoryAffiliation_ORGANIZATION_MEMBER: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
const RepositoryAffiliation_OWNER RepositoryAffiliation = "OWNER"
RepositoryAffiliation_OWNER: Repositories that are owned by the authenticated user.
type RepositoryAuditEntryData ¶
type RepositoryAuditEntryData struct {
Interface RepositoryAuditEntryData_Interface
}
func (*RepositoryAuditEntryData) MarshalJSON ¶
func (x *RepositoryAuditEntryData) MarshalJSON() ([]byte, error)
func (*RepositoryAuditEntryData) UnmarshalJSON ¶
func (x *RepositoryAuditEntryData) UnmarshalJSON(js []byte) error
type RepositoryAuditEntryData_Interface ¶
type RepositoryAuditEntryData_Interface interface {
GetRepository() *Repository
GetRepositoryName() string
GetRepositoryResourcePath() URI
GetRepositoryUrl() URI
// contains filtered or unexported methods
}
RepositoryAuditEntryData (INTERFACE): Metadata for an audit entry with action repo.*. RepositoryAuditEntryData_Interface: Metadata for an audit entry with action repo.*.
Possible types:
- *OrgRestoreMemberMembershipRepositoryAuditEntryData
- *PrivateRepositoryForkingDisableAuditEntry
- *PrivateRepositoryForkingEnableAuditEntry
- *RepoAccessAuditEntry
- *RepoAddMemberAuditEntry
- *RepoAddTopicAuditEntry
- *RepoArchivedAuditEntry
- *RepoChangeMergeSettingAuditEntry
- *RepoConfigDisableAnonymousGitAccessAuditEntry
- *RepoConfigDisableCollaboratorsOnlyAuditEntry
- *RepoConfigDisableContributorsOnlyAuditEntry
- *RepoConfigDisableSockpuppetDisallowedAuditEntry
- *RepoConfigEnableAnonymousGitAccessAuditEntry
- *RepoConfigEnableCollaboratorsOnlyAuditEntry
- *RepoConfigEnableContributorsOnlyAuditEntry
- *RepoConfigEnableSockpuppetDisallowedAuditEntry
- *RepoConfigLockAnonymousGitAccessAuditEntry
- *RepoConfigUnlockAnonymousGitAccessAuditEntry
- *RepoCreateAuditEntry
- *RepoDestroyAuditEntry
- *RepoRemoveMemberAuditEntry
- *RepoRemoveTopicAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamRemoveRepositoryAuditEntry
type RepositoryCodeowners ¶
type RepositoryCodeowners struct {
// Errors: Any problems that were encountered while parsing the `CODEOWNERS` file.
Errors []*RepositoryCodeownersError `json:"errors,omitempty"`
}
RepositoryCodeowners (OBJECT): Information extracted from a repository's `CODEOWNERS` file.
func (*RepositoryCodeowners) GetErrors ¶
func (x *RepositoryCodeowners) GetErrors() []*RepositoryCodeownersError
type RepositoryCodeownersError ¶
type RepositoryCodeownersError struct {
// Column: The column number where the error occurs.
Column int `json:"column,omitempty"`
// Kind: A short string describing the type of error.
Kind string `json:"kind,omitempty"`
// Line: The line number where the error occurs.
Line int `json:"line,omitempty"`
// Message: A complete description of the error, combining information from other fields.
Message string `json:"message,omitempty"`
// Path: The path to the file when the error occurs.
Path string `json:"path,omitempty"`
// Source: The content of the line where the error occurs.
Source string `json:"source,omitempty"`
// Suggestion: A suggestion of how to fix the error.
Suggestion string `json:"suggestion,omitempty"`
}
RepositoryCodeownersError (OBJECT): An error in a `CODEOWNERS` file.
func (*RepositoryCodeownersError) GetColumn ¶
func (x *RepositoryCodeownersError) GetColumn() int
func (*RepositoryCodeownersError) GetKind ¶
func (x *RepositoryCodeownersError) GetKind() string
func (*RepositoryCodeownersError) GetLine ¶
func (x *RepositoryCodeownersError) GetLine() int
func (*RepositoryCodeownersError) GetMessage ¶
func (x *RepositoryCodeownersError) GetMessage() string
func (*RepositoryCodeownersError) GetPath ¶
func (x *RepositoryCodeownersError) GetPath() string
func (*RepositoryCodeownersError) GetSource ¶
func (x *RepositoryCodeownersError) GetSource() string
func (*RepositoryCodeownersError) GetSuggestion ¶
func (x *RepositoryCodeownersError) GetSuggestion() string
type RepositoryCollaboratorConnection ¶
type RepositoryCollaboratorConnection struct {
// Edges: A list of edges.
Edges []*RepositoryCollaboratorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RepositoryCollaboratorConnection (OBJECT): The connection type for User.
func (*RepositoryCollaboratorConnection) GetEdges ¶
func (x *RepositoryCollaboratorConnection) GetEdges() []*RepositoryCollaboratorEdge
func (*RepositoryCollaboratorConnection) GetNodes ¶
func (x *RepositoryCollaboratorConnection) GetNodes() []*User
func (*RepositoryCollaboratorConnection) GetPageInfo ¶
func (x *RepositoryCollaboratorConnection) GetPageInfo() *PageInfo
func (*RepositoryCollaboratorConnection) GetTotalCount ¶
func (x *RepositoryCollaboratorConnection) GetTotalCount() int
type RepositoryCollaboratorEdge ¶
type RepositoryCollaboratorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *User `json:"node,omitempty"`
// Permission: The permission the user has on the repository.
Permission RepositoryPermission `json:"permission,omitempty"`
// PermissionSources: A list of sources for the user's access to the repository.
PermissionSources []*PermissionSource `json:"permissionSources,omitempty"`
}
RepositoryCollaboratorEdge (OBJECT): Represents a user who is a collaborator of a repository.
func (*RepositoryCollaboratorEdge) GetCursor ¶
func (x *RepositoryCollaboratorEdge) GetCursor() string
func (*RepositoryCollaboratorEdge) GetNode ¶
func (x *RepositoryCollaboratorEdge) GetNode() *User
func (*RepositoryCollaboratorEdge) GetPermission ¶
func (x *RepositoryCollaboratorEdge) GetPermission() RepositoryPermission
func (*RepositoryCollaboratorEdge) GetPermissionSources ¶
func (x *RepositoryCollaboratorEdge) GetPermissionSources() []*PermissionSource
type RepositoryConnection ¶
type RepositoryConnection struct {
// Edges: A list of edges.
Edges []*RepositoryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Repository `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// TotalDiskUsage: The total size in kilobytes of all repositories in the connection.
TotalDiskUsage int `json:"totalDiskUsage,omitempty"`
}
RepositoryConnection (OBJECT): A list of repositories owned by the subject.
func (*RepositoryConnection) GetEdges ¶
func (x *RepositoryConnection) GetEdges() []*RepositoryEdge
func (*RepositoryConnection) GetNodes ¶
func (x *RepositoryConnection) GetNodes() []*Repository
func (*RepositoryConnection) GetPageInfo ¶
func (x *RepositoryConnection) GetPageInfo() *PageInfo
func (*RepositoryConnection) GetTotalCount ¶
func (x *RepositoryConnection) GetTotalCount() int
func (*RepositoryConnection) GetTotalDiskUsage ¶
func (x *RepositoryConnection) GetTotalDiskUsage() int
type RepositoryContactLink ¶
type RepositoryContactLink struct {
// About: The contact link purpose.
About string `json:"about,omitempty"`
// Name: The contact link name.
Name string `json:"name,omitempty"`
// Url: The contact link URL.
Url URI `json:"url,omitempty"`
}
RepositoryContactLink (OBJECT): A repository contact link.
func (*RepositoryContactLink) GetAbout ¶
func (x *RepositoryContactLink) GetAbout() string
func (*RepositoryContactLink) GetName ¶
func (x *RepositoryContactLink) GetName() string
func (*RepositoryContactLink) GetUrl ¶
func (x *RepositoryContactLink) GetUrl() URI
type RepositoryContributionType ¶
type RepositoryContributionType string
RepositoryContributionType (ENUM): The reason a repository is listed as 'contributed'.
const RepositoryContributionType_COMMIT RepositoryContributionType = "COMMIT"
RepositoryContributionType_COMMIT: Created a commit.
const RepositoryContributionType_ISSUE RepositoryContributionType = "ISSUE"
RepositoryContributionType_ISSUE: Created an issue.
const RepositoryContributionType_PULL_REQUEST RepositoryContributionType = "PULL_REQUEST"
RepositoryContributionType_PULL_REQUEST: Created a pull request.
const RepositoryContributionType_PULL_REQUEST_REVIEW RepositoryContributionType = "PULL_REQUEST_REVIEW"
RepositoryContributionType_PULL_REQUEST_REVIEW: Reviewed a pull request.
const RepositoryContributionType_REPOSITORY RepositoryContributionType = "REPOSITORY"
RepositoryContributionType_REPOSITORY: Created the repository.
type RepositoryDiscussionAuthor ¶
type RepositoryDiscussionAuthor struct {
Interface RepositoryDiscussionAuthor_Interface
}
func (*RepositoryDiscussionAuthor) MarshalJSON ¶
func (x *RepositoryDiscussionAuthor) MarshalJSON() ([]byte, error)
func (*RepositoryDiscussionAuthor) UnmarshalJSON ¶
func (x *RepositoryDiscussionAuthor) UnmarshalJSON(js []byte) error
type RepositoryDiscussionAuthor_Interface ¶
type RepositoryDiscussionAuthor_Interface interface {
GetRepositoryDiscussions() *DiscussionConnection
// contains filtered or unexported methods
}
RepositoryDiscussionAuthor (INTERFACE): Represents an author of discussions in repositories. RepositoryDiscussionAuthor_Interface: Represents an author of discussions in repositories.
Possible types:
- *Organization
- *User
type RepositoryDiscussionCommentAuthor ¶
type RepositoryDiscussionCommentAuthor struct {
Interface RepositoryDiscussionCommentAuthor_Interface
}
func (*RepositoryDiscussionCommentAuthor) MarshalJSON ¶
func (x *RepositoryDiscussionCommentAuthor) MarshalJSON() ([]byte, error)
func (*RepositoryDiscussionCommentAuthor) UnmarshalJSON ¶
func (x *RepositoryDiscussionCommentAuthor) UnmarshalJSON(js []byte) error
type RepositoryDiscussionCommentAuthor_Interface ¶
type RepositoryDiscussionCommentAuthor_Interface interface {
GetRepositoryDiscussionComments() *DiscussionCommentConnection
// contains filtered or unexported methods
}
RepositoryDiscussionCommentAuthor (INTERFACE): Represents an author of discussion comments in repositories. RepositoryDiscussionCommentAuthor_Interface: Represents an author of discussion comments in repositories.
Possible types:
- *Organization
- *User
type RepositoryEdge ¶
type RepositoryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Repository `json:"node,omitempty"`
}
RepositoryEdge (OBJECT): An edge in a connection.
func (*RepositoryEdge) GetCursor ¶
func (x *RepositoryEdge) GetCursor() string
func (*RepositoryEdge) GetNode ¶
func (x *RepositoryEdge) GetNode() *Repository
type RepositoryInfo ¶
type RepositoryInfo struct {
Interface RepositoryInfo_Interface
}
func (*RepositoryInfo) MarshalJSON ¶
func (x *RepositoryInfo) MarshalJSON() ([]byte, error)
func (*RepositoryInfo) UnmarshalJSON ¶
func (x *RepositoryInfo) UnmarshalJSON(js []byte) error
type RepositoryInfo_Interface ¶
type RepositoryInfo_Interface interface {
GetCreatedAt() DateTime
GetDescription() string
GetDescriptionHTML() template.HTML
GetForkCount() int
GetHasIssuesEnabled() bool
GetHasProjectsEnabled() bool
GetHasWikiEnabled() bool
GetHomepageUrl() URI
GetIsArchived() bool
GetIsFork() bool
GetIsInOrganization() bool
GetIsLocked() bool
GetIsMirror() bool
GetIsPrivate() bool
GetIsTemplate() bool
GetLicenseInfo() *License
GetLockReason() RepositoryLockReason
GetMirrorUrl() URI
GetName() string
GetNameWithOwner() string
GetOpenGraphImageUrl() URI
GetOwner() RepositoryOwner
GetPushedAt() DateTime
GetResourcePath() URI
GetShortDescriptionHTML() template.HTML
GetUpdatedAt() DateTime
GetUrl() URI
GetUsesCustomOpenGraphImage() bool
GetVisibility() RepositoryVisibility
// contains filtered or unexported methods
}
RepositoryInfo (INTERFACE): A subset of repository info. RepositoryInfo_Interface: A subset of repository info.
Possible types:
- *Repository
type RepositoryInteractionAbility ¶
type RepositoryInteractionAbility struct {
// ExpiresAt: The time the currently active limit expires.
ExpiresAt DateTime `json:"expiresAt,omitempty"`
// Limit: The current limit that is enabled on this object.
Limit RepositoryInteractionLimit `json:"limit,omitempty"`
// Origin: The origin of the currently active interaction limit.
Origin RepositoryInteractionLimitOrigin `json:"origin,omitempty"`
}
RepositoryInteractionAbility (OBJECT): Repository interaction limit that applies to this object.
func (*RepositoryInteractionAbility) GetExpiresAt ¶
func (x *RepositoryInteractionAbility) GetExpiresAt() DateTime
func (*RepositoryInteractionAbility) GetLimit ¶
func (x *RepositoryInteractionAbility) GetLimit() RepositoryInteractionLimit
func (*RepositoryInteractionAbility) GetOrigin ¶
func (x *RepositoryInteractionAbility) GetOrigin() RepositoryInteractionLimitOrigin
type RepositoryInteractionLimit ¶
type RepositoryInteractionLimit string
RepositoryInteractionLimit (ENUM): A repository interaction limit.
const RepositoryInteractionLimit_COLLABORATORS_ONLY RepositoryInteractionLimit = "COLLABORATORS_ONLY"
RepositoryInteractionLimit_COLLABORATORS_ONLY: Users that are not collaborators will not be able to interact with the repository.
const RepositoryInteractionLimit_CONTRIBUTORS_ONLY RepositoryInteractionLimit = "CONTRIBUTORS_ONLY"
RepositoryInteractionLimit_CONTRIBUTORS_ONLY: Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.
const RepositoryInteractionLimit_EXISTING_USERS RepositoryInteractionLimit = "EXISTING_USERS"
RepositoryInteractionLimit_EXISTING_USERS: Users that have recently created their account will be unable to interact with the repository.
const RepositoryInteractionLimit_NO_LIMIT RepositoryInteractionLimit = "NO_LIMIT"
RepositoryInteractionLimit_NO_LIMIT: No interaction limits are enabled.
type RepositoryInteractionLimitExpiry ¶
type RepositoryInteractionLimitExpiry string
RepositoryInteractionLimitExpiry (ENUM): The length for a repository interaction limit to be enabled for.
const RepositoryInteractionLimitExpiry_ONE_DAY RepositoryInteractionLimitExpiry = "ONE_DAY"
RepositoryInteractionLimitExpiry_ONE_DAY: The interaction limit will expire after 1 day.
const RepositoryInteractionLimitExpiry_ONE_MONTH RepositoryInteractionLimitExpiry = "ONE_MONTH"
RepositoryInteractionLimitExpiry_ONE_MONTH: The interaction limit will expire after 1 month.
const RepositoryInteractionLimitExpiry_ONE_WEEK RepositoryInteractionLimitExpiry = "ONE_WEEK"
RepositoryInteractionLimitExpiry_ONE_WEEK: The interaction limit will expire after 1 week.
const RepositoryInteractionLimitExpiry_SIX_MONTHS RepositoryInteractionLimitExpiry = "SIX_MONTHS"
RepositoryInteractionLimitExpiry_SIX_MONTHS: The interaction limit will expire after 6 months.
const RepositoryInteractionLimitExpiry_THREE_DAYS RepositoryInteractionLimitExpiry = "THREE_DAYS"
RepositoryInteractionLimitExpiry_THREE_DAYS: The interaction limit will expire after 3 days.
type RepositoryInteractionLimitOrigin ¶
type RepositoryInteractionLimitOrigin string
RepositoryInteractionLimitOrigin (ENUM): Indicates where an interaction limit is configured.
const RepositoryInteractionLimitOrigin_ORGANIZATION RepositoryInteractionLimitOrigin = "ORGANIZATION"
RepositoryInteractionLimitOrigin_ORGANIZATION: A limit that is configured at the organization level.
const RepositoryInteractionLimitOrigin_REPOSITORY RepositoryInteractionLimitOrigin = "REPOSITORY"
RepositoryInteractionLimitOrigin_REPOSITORY: A limit that is configured at the repository level.
const RepositoryInteractionLimitOrigin_USER RepositoryInteractionLimitOrigin = "USER"
RepositoryInteractionLimitOrigin_USER: A limit that is configured at the user-wide level.
type RepositoryInvitation ¶
type RepositoryInvitation struct {
// Email: The email address that received the invitation.
Email string `json:"email,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Invitee: The user who received the invitation.
Invitee *User `json:"invitee,omitempty"`
// Inviter: The user who created the invitation.
Inviter *User `json:"inviter,omitempty"`
// Permalink: The permalink for this repository invitation.
Permalink URI `json:"permalink,omitempty"`
// Permission: The permission granted on this repository by this invitation.
Permission RepositoryPermission `json:"permission,omitempty"`
// Repository: The Repository the user is invited to.
Repository RepositoryInfo `json:"repository,omitempty"`
}
RepositoryInvitation (OBJECT): An invitation for a user to be added to a repository.
func (*RepositoryInvitation) GetEmail ¶
func (x *RepositoryInvitation) GetEmail() string
func (*RepositoryInvitation) GetId ¶
func (x *RepositoryInvitation) GetId() ID
func (*RepositoryInvitation) GetInvitee ¶
func (x *RepositoryInvitation) GetInvitee() *User
func (*RepositoryInvitation) GetInviter ¶
func (x *RepositoryInvitation) GetInviter() *User
func (*RepositoryInvitation) GetPermalink ¶
func (x *RepositoryInvitation) GetPermalink() URI
func (*RepositoryInvitation) GetPermission ¶
func (x *RepositoryInvitation) GetPermission() RepositoryPermission
func (*RepositoryInvitation) GetRepository ¶
func (x *RepositoryInvitation) GetRepository() RepositoryInfo
type RepositoryInvitationConnection ¶
type RepositoryInvitationConnection struct {
// Edges: A list of edges.
Edges []*RepositoryInvitationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*RepositoryInvitation `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RepositoryInvitationConnection (OBJECT): A list of repository invitations.
func (*RepositoryInvitationConnection) GetEdges ¶
func (x *RepositoryInvitationConnection) GetEdges() []*RepositoryInvitationEdge
func (*RepositoryInvitationConnection) GetNodes ¶
func (x *RepositoryInvitationConnection) GetNodes() []*RepositoryInvitation
func (*RepositoryInvitationConnection) GetPageInfo ¶
func (x *RepositoryInvitationConnection) GetPageInfo() *PageInfo
func (*RepositoryInvitationConnection) GetTotalCount ¶
func (x *RepositoryInvitationConnection) GetTotalCount() int
type RepositoryInvitationEdge ¶
type RepositoryInvitationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *RepositoryInvitation `json:"node,omitempty"`
}
RepositoryInvitationEdge (OBJECT): An edge in a connection.
func (*RepositoryInvitationEdge) GetCursor ¶
func (x *RepositoryInvitationEdge) GetCursor() string
func (*RepositoryInvitationEdge) GetNode ¶
func (x *RepositoryInvitationEdge) GetNode() *RepositoryInvitation
type RepositoryInvitationOrder ¶
type RepositoryInvitationOrder struct {
// Field: The field to order repository invitations by.
//
// GraphQL type: RepositoryInvitationOrderField!
Field RepositoryInvitationOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
RepositoryInvitationOrder (INPUT_OBJECT): Ordering options for repository invitation connections.
type RepositoryInvitationOrderField ¶
type RepositoryInvitationOrderField string
RepositoryInvitationOrderField (ENUM): Properties by which repository invitation connections can be ordered.
const RepositoryInvitationOrderField_CREATED_AT RepositoryInvitationOrderField = "CREATED_AT"
RepositoryInvitationOrderField_CREATED_AT: Order repository invitations by creation time.
type RepositoryLockReason ¶
type RepositoryLockReason string
RepositoryLockReason (ENUM): The possible reasons a given repository could be in a locked state.
const RepositoryLockReason_BILLING RepositoryLockReason = "BILLING"
RepositoryLockReason_BILLING: The repository is locked due to a billing related reason.
const RepositoryLockReason_MIGRATING RepositoryLockReason = "MIGRATING"
RepositoryLockReason_MIGRATING: The repository is locked due to a migration.
const RepositoryLockReason_MOVING RepositoryLockReason = "MOVING"
RepositoryLockReason_MOVING: The repository is locked due to a move.
const RepositoryLockReason_RENAME RepositoryLockReason = "RENAME"
RepositoryLockReason_RENAME: The repository is locked due to a rename.
type RepositoryMigration ¶
type RepositoryMigration struct {
// ContinueOnError: The Octoshift migration flag to continue on error.
ContinueOnError bool `json:"continueOnError,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// FailureReason: The reason the migration failed.
FailureReason string `json:"failureReason,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// MigrationLogUrl: The URL for the migration log (expires 1 day after migration completes).
MigrationLogUrl URI `json:"migrationLogUrl,omitempty"`
// MigrationSource: The Octoshift migration source.
MigrationSource *MigrationSource `json:"migrationSource,omitempty"`
// RepositoryName: The target repository name.
RepositoryName string `json:"repositoryName,omitempty"`
// SourceUrl: The Octoshift migration source URL.
SourceUrl URI `json:"sourceUrl,omitempty"`
// State: The Octoshift migration state.
State MigrationState `json:"state,omitempty"`
}
RepositoryMigration (OBJECT): An Octoshift repository migration.
func (*RepositoryMigration) GetContinueOnError ¶
func (x *RepositoryMigration) GetContinueOnError() bool
func (*RepositoryMigration) GetCreatedAt ¶
func (x *RepositoryMigration) GetCreatedAt() DateTime
func (*RepositoryMigration) GetFailureReason ¶
func (x *RepositoryMigration) GetFailureReason() string
func (*RepositoryMigration) GetId ¶
func (x *RepositoryMigration) GetId() ID
func (*RepositoryMigration) GetMigrationLogUrl ¶
func (x *RepositoryMigration) GetMigrationLogUrl() URI
func (*RepositoryMigration) GetMigrationSource ¶
func (x *RepositoryMigration) GetMigrationSource() *MigrationSource
func (*RepositoryMigration) GetRepositoryName ¶
func (x *RepositoryMigration) GetRepositoryName() string
func (*RepositoryMigration) GetSourceUrl ¶
func (x *RepositoryMigration) GetSourceUrl() URI
func (*RepositoryMigration) GetState ¶
func (x *RepositoryMigration) GetState() MigrationState
type RepositoryMigrationConnection ¶
type RepositoryMigrationConnection struct {
// Edges: A list of edges.
Edges []*RepositoryMigrationEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*RepositoryMigration `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RepositoryMigrationConnection (OBJECT): The connection type for RepositoryMigration.
func (*RepositoryMigrationConnection) GetEdges ¶
func (x *RepositoryMigrationConnection) GetEdges() []*RepositoryMigrationEdge
func (*RepositoryMigrationConnection) GetNodes ¶
func (x *RepositoryMigrationConnection) GetNodes() []*RepositoryMigration
func (*RepositoryMigrationConnection) GetPageInfo ¶
func (x *RepositoryMigrationConnection) GetPageInfo() *PageInfo
func (*RepositoryMigrationConnection) GetTotalCount ¶
func (x *RepositoryMigrationConnection) GetTotalCount() int
type RepositoryMigrationEdge ¶
type RepositoryMigrationEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *RepositoryMigration `json:"node,omitempty"`
}
RepositoryMigrationEdge (OBJECT): Represents a repository migration.
func (*RepositoryMigrationEdge) GetCursor ¶
func (x *RepositoryMigrationEdge) GetCursor() string
func (*RepositoryMigrationEdge) GetNode ¶
func (x *RepositoryMigrationEdge) GetNode() *RepositoryMigration
type RepositoryMigrationOrder ¶
type RepositoryMigrationOrder struct {
// Field: The field to order repository migrations by.
//
// GraphQL type: RepositoryMigrationOrderField!
Field RepositoryMigrationOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: RepositoryMigrationOrderDirection!
Direction RepositoryMigrationOrderDirection `json:"direction,omitempty"`
}
RepositoryMigrationOrder (INPUT_OBJECT): Ordering options for repository migrations.
type RepositoryMigrationOrderDirection ¶
type RepositoryMigrationOrderDirection string
RepositoryMigrationOrderDirection (ENUM): Possible directions in which to order a list of repository migrations when provided an `orderBy` argument.
const RepositoryMigrationOrderDirection_ASC RepositoryMigrationOrderDirection = "ASC"
RepositoryMigrationOrderDirection_ASC: Specifies an ascending order for a given `orderBy` argument.
const RepositoryMigrationOrderDirection_DESC RepositoryMigrationOrderDirection = "DESC"
RepositoryMigrationOrderDirection_DESC: Specifies a descending order for a given `orderBy` argument.
type RepositoryMigrationOrderField ¶
type RepositoryMigrationOrderField string
RepositoryMigrationOrderField (ENUM): Properties by which repository migrations can be ordered.
const RepositoryMigrationOrderField_CREATED_AT RepositoryMigrationOrderField = "CREATED_AT"
RepositoryMigrationOrderField_CREATED_AT: Order mannequins why when they were created.
type RepositoryNode ¶
type RepositoryNode struct {
Interface RepositoryNode_Interface
}
func (*RepositoryNode) MarshalJSON ¶
func (x *RepositoryNode) MarshalJSON() ([]byte, error)
func (*RepositoryNode) UnmarshalJSON ¶
func (x *RepositoryNode) UnmarshalJSON(js []byte) error
type RepositoryNode_Interface ¶
type RepositoryNode_Interface interface {
GetRepository() *Repository
// contains filtered or unexported methods
}
RepositoryNode (INTERFACE): Represents a object that belongs to a repository. RepositoryNode_Interface: Represents a object that belongs to a repository.
Possible types:
- *CommitComment
- *CommitCommentThread
- *DependabotUpdate
- *Discussion
- *DiscussionCategory
- *Issue
- *IssueComment
- *PinnedDiscussion
- *PullRequest
- *PullRequestCommitCommentThread
- *PullRequestReview
- *PullRequestReviewComment
- *RepositoryVulnerabilityAlert
type RepositoryOrder ¶
type RepositoryOrder struct {
// Field: The field to order repositories by.
//
// GraphQL type: RepositoryOrderField!
Field RepositoryOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
RepositoryOrder (INPUT_OBJECT): Ordering options for repository connections.
type RepositoryOrderField ¶
type RepositoryOrderField string
RepositoryOrderField (ENUM): Properties by which repository connections can be ordered.
const RepositoryOrderField_CREATED_AT RepositoryOrderField = "CREATED_AT"
RepositoryOrderField_CREATED_AT: Order repositories by creation time.
const RepositoryOrderField_NAME RepositoryOrderField = "NAME"
RepositoryOrderField_NAME: Order repositories by name.
const RepositoryOrderField_PUSHED_AT RepositoryOrderField = "PUSHED_AT"
RepositoryOrderField_PUSHED_AT: Order repositories by push time.
const RepositoryOrderField_STARGAZERS RepositoryOrderField = "STARGAZERS"
RepositoryOrderField_STARGAZERS: Order repositories by number of stargazers.
const RepositoryOrderField_UPDATED_AT RepositoryOrderField = "UPDATED_AT"
RepositoryOrderField_UPDATED_AT: Order repositories by update time.
type RepositoryOwner ¶
type RepositoryOwner struct {
Interface RepositoryOwner_Interface
}
func (*RepositoryOwner) MarshalJSON ¶
func (x *RepositoryOwner) MarshalJSON() ([]byte, error)
func (*RepositoryOwner) UnmarshalJSON ¶
func (x *RepositoryOwner) UnmarshalJSON(js []byte) error
type RepositoryOwner_Interface ¶
type RepositoryOwner_Interface interface {
GetAvatarUrl() URI
GetId() ID
GetLogin() string
GetRepositories() *RepositoryConnection
GetRepository() *Repository
GetResourcePath() URI
GetUrl() URI
// contains filtered or unexported methods
}
RepositoryOwner (INTERFACE): Represents an owner of a Repository. RepositoryOwner_Interface: Represents an owner of a Repository.
Possible types:
- *Organization
- *User
type RepositoryPermission ¶
type RepositoryPermission string
RepositoryPermission (ENUM): The access level to a repository.
const RepositoryPermission_ADMIN RepositoryPermission = "ADMIN"
RepositoryPermission_ADMIN: Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators.
const RepositoryPermission_MAINTAIN RepositoryPermission = "MAINTAIN"
RepositoryPermission_MAINTAIN: Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings.
const RepositoryPermission_READ RepositoryPermission = "READ"
RepositoryPermission_READ: Can read and clone this repository. Can also open and comment on issues and pull requests.
const RepositoryPermission_TRIAGE RepositoryPermission = "TRIAGE"
RepositoryPermission_TRIAGE: Can read and clone this repository. Can also manage issues and pull requests.
const RepositoryPermission_WRITE RepositoryPermission = "WRITE"
RepositoryPermission_WRITE: Can read, clone, and push to this repository. Can also manage issues and pull requests.
type RepositoryPrivacy ¶
type RepositoryPrivacy string
RepositoryPrivacy (ENUM): The privacy of a repository.
const RepositoryPrivacy_PRIVATE RepositoryPrivacy = "PRIVATE"
RepositoryPrivacy_PRIVATE: Private.
const RepositoryPrivacy_PUBLIC RepositoryPrivacy = "PUBLIC"
RepositoryPrivacy_PUBLIC: Public.
type RepositoryTopic ¶
type RepositoryTopic struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// ResourcePath: The HTTP path for this repository-topic.
ResourcePath URI `json:"resourcePath,omitempty"`
// Topic: The topic.
Topic *Topic `json:"topic,omitempty"`
// Url: The HTTP URL for this repository-topic.
Url URI `json:"url,omitempty"`
}
RepositoryTopic (OBJECT): A repository-topic connects a repository to a topic.
func (*RepositoryTopic) GetId ¶
func (x *RepositoryTopic) GetId() ID
func (*RepositoryTopic) GetResourcePath ¶
func (x *RepositoryTopic) GetResourcePath() URI
func (*RepositoryTopic) GetTopic ¶
func (x *RepositoryTopic) GetTopic() *Topic
func (*RepositoryTopic) GetUrl ¶
func (x *RepositoryTopic) GetUrl() URI
type RepositoryTopicConnection ¶
type RepositoryTopicConnection struct {
// Edges: A list of edges.
Edges []*RepositoryTopicEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*RepositoryTopic `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RepositoryTopicConnection (OBJECT): The connection type for RepositoryTopic.
func (*RepositoryTopicConnection) GetEdges ¶
func (x *RepositoryTopicConnection) GetEdges() []*RepositoryTopicEdge
func (*RepositoryTopicConnection) GetNodes ¶
func (x *RepositoryTopicConnection) GetNodes() []*RepositoryTopic
func (*RepositoryTopicConnection) GetPageInfo ¶
func (x *RepositoryTopicConnection) GetPageInfo() *PageInfo
func (*RepositoryTopicConnection) GetTotalCount ¶
func (x *RepositoryTopicConnection) GetTotalCount() int
type RepositoryTopicEdge ¶
type RepositoryTopicEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *RepositoryTopic `json:"node,omitempty"`
}
RepositoryTopicEdge (OBJECT): An edge in a connection.
func (*RepositoryTopicEdge) GetCursor ¶
func (x *RepositoryTopicEdge) GetCursor() string
func (*RepositoryTopicEdge) GetNode ¶
func (x *RepositoryTopicEdge) GetNode() *RepositoryTopic
type RepositoryVisibility ¶
type RepositoryVisibility string
RepositoryVisibility (ENUM): The repository's visibility level.
const RepositoryVisibility_INTERNAL RepositoryVisibility = "INTERNAL"
RepositoryVisibility_INTERNAL: The repository is visible only to users in the same business.
const RepositoryVisibility_PRIVATE RepositoryVisibility = "PRIVATE"
RepositoryVisibility_PRIVATE: The repository is visible only to those with explicit access.
const RepositoryVisibility_PUBLIC RepositoryVisibility = "PUBLIC"
RepositoryVisibility_PUBLIC: The repository is visible to everyone.
type RepositoryVisibilityChangeDisableAuditEntry ¶
type RepositoryVisibilityChangeDisableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepositoryVisibilityChangeDisableAuditEntry (OBJECT): Audit log entry for a repository_visibility_change.disable event.
func (*RepositoryVisibilityChangeDisableAuditEntry) GetAction ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetAction() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActor ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActor() AuditEntryActor
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActorIp ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorIp() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation() *ActorLocation
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetActorUrl ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetActorUrl() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseUrl ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseUrl() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetId ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetId() ID
func (*RepositoryVisibilityChangeDisableAuditEntry) GetOperationType ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOperationType() OperationType
func (*RepositoryVisibilityChangeDisableAuditEntry) GetOrganization ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganization() *Organization
func (*RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationUrl ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationUrl() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetUser ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUser() *User
func (*RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin() string
func (*RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath() URI
func (*RepositoryVisibilityChangeDisableAuditEntry) GetUserUrl ¶
func (x *RepositoryVisibilityChangeDisableAuditEntry) GetUserUrl() URI
type RepositoryVisibilityChangeEnableAuditEntry ¶
type RepositoryVisibilityChangeEnableAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// EnterpriseResourcePath: The HTTP path for this enterprise.
EnterpriseResourcePath URI `json:"enterpriseResourcePath,omitempty"`
// EnterpriseSlug: The slug of the enterprise.
EnterpriseSlug string `json:"enterpriseSlug,omitempty"`
// EnterpriseUrl: The HTTP URL for this enterprise.
EnterpriseUrl URI `json:"enterpriseUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
RepositoryVisibilityChangeEnableAuditEntry (OBJECT): Audit log entry for a repository_visibility_change.enable event.
func (*RepositoryVisibilityChangeEnableAuditEntry) GetAction ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetAction() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActor ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActor() AuditEntryActor
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActorIp ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorIp() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation() *ActorLocation
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetActorUrl ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetActorUrl() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt() PreciseDateTime
func (*RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseUrl ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseUrl() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetId ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetId() ID
func (*RepositoryVisibilityChangeEnableAuditEntry) GetOperationType ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOperationType() OperationType
func (*RepositoryVisibilityChangeEnableAuditEntry) GetOrganization ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganization() *Organization
func (*RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationUrl ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationUrl() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetUser ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUser() *User
func (*RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin() string
func (*RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath() URI
func (*RepositoryVisibilityChangeEnableAuditEntry) GetUserUrl ¶
func (x *RepositoryVisibilityChangeEnableAuditEntry) GetUserUrl() URI
type RepositoryVulnerabilityAlert ¶
type RepositoryVulnerabilityAlert struct {
// CreatedAt: When was the alert created?.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DependabotUpdate: The associated Dependabot update.
DependabotUpdate *DependabotUpdate `json:"dependabotUpdate,omitempty"`
// DependencyScope: The scope of an alert's dependency.
DependencyScope RepositoryVulnerabilityAlertDependencyScope `json:"dependencyScope,omitempty"`
// DismissReason: The reason the alert was dismissed.
DismissReason string `json:"dismissReason,omitempty"`
// DismissedAt: When was the alert dismissed?.
DismissedAt DateTime `json:"dismissedAt,omitempty"`
// Dismisser: The user who dismissed the alert.
Dismisser *User `json:"dismisser,omitempty"`
// FixReason: The reason the alert was marked as fixed.
//
// Deprecated: The reason the alert was marked as fixed.
FixReason string `json:"fixReason,omitempty"`
// FixedAt: When was the alert fixed?.
FixedAt DateTime `json:"fixedAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Number: Identifies the alert number.
Number int `json:"number,omitempty"`
// Repository: The associated repository.
Repository *Repository `json:"repository,omitempty"`
// SecurityAdvisory: The associated security advisory.
SecurityAdvisory *SecurityAdvisory `json:"securityAdvisory,omitempty"`
// SecurityVulnerability: The associated security vulnerability.
SecurityVulnerability *SecurityVulnerability `json:"securityVulnerability,omitempty"`
// State: Identifies the state of the alert.
State RepositoryVulnerabilityAlertState `json:"state,omitempty"`
// VulnerableManifestFilename: The vulnerable manifest filename.
VulnerableManifestFilename string `json:"vulnerableManifestFilename,omitempty"`
// VulnerableManifestPath: The vulnerable manifest path.
VulnerableManifestPath string `json:"vulnerableManifestPath,omitempty"`
// VulnerableRequirements: The vulnerable requirements.
VulnerableRequirements string `json:"vulnerableRequirements,omitempty"`
}
RepositoryVulnerabilityAlert (OBJECT): A Dependabot alert for a repository with a dependency affected by a security vulnerability.
func (*RepositoryVulnerabilityAlert) GetCreatedAt ¶
func (x *RepositoryVulnerabilityAlert) GetCreatedAt() DateTime
func (*RepositoryVulnerabilityAlert) GetDependabotUpdate ¶
func (x *RepositoryVulnerabilityAlert) GetDependabotUpdate() *DependabotUpdate
func (*RepositoryVulnerabilityAlert) GetDependencyScope ¶
func (x *RepositoryVulnerabilityAlert) GetDependencyScope() RepositoryVulnerabilityAlertDependencyScope
func (*RepositoryVulnerabilityAlert) GetDismissReason ¶
func (x *RepositoryVulnerabilityAlert) GetDismissReason() string
func (*RepositoryVulnerabilityAlert) GetDismissedAt ¶
func (x *RepositoryVulnerabilityAlert) GetDismissedAt() DateTime
func (*RepositoryVulnerabilityAlert) GetDismisser ¶
func (x *RepositoryVulnerabilityAlert) GetDismisser() *User
func (*RepositoryVulnerabilityAlert) GetFixReason ¶
func (x *RepositoryVulnerabilityAlert) GetFixReason() string
func (*RepositoryVulnerabilityAlert) GetFixedAt ¶
func (x *RepositoryVulnerabilityAlert) GetFixedAt() DateTime
func (*RepositoryVulnerabilityAlert) GetId ¶
func (x *RepositoryVulnerabilityAlert) GetId() ID
func (*RepositoryVulnerabilityAlert) GetNumber ¶
func (x *RepositoryVulnerabilityAlert) GetNumber() int
func (*RepositoryVulnerabilityAlert) GetRepository ¶
func (x *RepositoryVulnerabilityAlert) GetRepository() *Repository
func (*RepositoryVulnerabilityAlert) GetSecurityAdvisory ¶
func (x *RepositoryVulnerabilityAlert) GetSecurityAdvisory() *SecurityAdvisory
func (*RepositoryVulnerabilityAlert) GetSecurityVulnerability ¶
func (x *RepositoryVulnerabilityAlert) GetSecurityVulnerability() *SecurityVulnerability
func (*RepositoryVulnerabilityAlert) GetState ¶
func (x *RepositoryVulnerabilityAlert) GetState() RepositoryVulnerabilityAlertState
func (*RepositoryVulnerabilityAlert) GetVulnerableManifestFilename ¶
func (x *RepositoryVulnerabilityAlert) GetVulnerableManifestFilename() string
func (*RepositoryVulnerabilityAlert) GetVulnerableManifestPath ¶
func (x *RepositoryVulnerabilityAlert) GetVulnerableManifestPath() string
func (*RepositoryVulnerabilityAlert) GetVulnerableRequirements ¶
func (x *RepositoryVulnerabilityAlert) GetVulnerableRequirements() string
type RepositoryVulnerabilityAlertConnection ¶
type RepositoryVulnerabilityAlertConnection struct {
// Edges: A list of edges.
Edges []*RepositoryVulnerabilityAlertEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*RepositoryVulnerabilityAlert `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RepositoryVulnerabilityAlertConnection (OBJECT): The connection type for RepositoryVulnerabilityAlert.
func (*RepositoryVulnerabilityAlertConnection) GetEdges ¶
func (x *RepositoryVulnerabilityAlertConnection) GetEdges() []*RepositoryVulnerabilityAlertEdge
func (*RepositoryVulnerabilityAlertConnection) GetNodes ¶
func (x *RepositoryVulnerabilityAlertConnection) GetNodes() []*RepositoryVulnerabilityAlert
func (*RepositoryVulnerabilityAlertConnection) GetPageInfo ¶
func (x *RepositoryVulnerabilityAlertConnection) GetPageInfo() *PageInfo
func (*RepositoryVulnerabilityAlertConnection) GetTotalCount ¶
func (x *RepositoryVulnerabilityAlertConnection) GetTotalCount() int
type RepositoryVulnerabilityAlertDependencyScope ¶
type RepositoryVulnerabilityAlertDependencyScope string
RepositoryVulnerabilityAlertDependencyScope (ENUM): The possible scopes of an alert's dependency.
const RepositoryVulnerabilityAlertDependencyScope_DEVELOPMENT RepositoryVulnerabilityAlertDependencyScope = "DEVELOPMENT"
RepositoryVulnerabilityAlertDependencyScope_DEVELOPMENT: A dependency that is only used in development.
const RepositoryVulnerabilityAlertDependencyScope_RUNTIME RepositoryVulnerabilityAlertDependencyScope = "RUNTIME"
RepositoryVulnerabilityAlertDependencyScope_RUNTIME: A dependency that is leveraged during application runtime.
type RepositoryVulnerabilityAlertEdge ¶
type RepositoryVulnerabilityAlertEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *RepositoryVulnerabilityAlert `json:"node,omitempty"`
}
RepositoryVulnerabilityAlertEdge (OBJECT): An edge in a connection.
func (*RepositoryVulnerabilityAlertEdge) GetCursor ¶
func (x *RepositoryVulnerabilityAlertEdge) GetCursor() string
func (*RepositoryVulnerabilityAlertEdge) GetNode ¶
func (x *RepositoryVulnerabilityAlertEdge) GetNode() *RepositoryVulnerabilityAlert
type RepositoryVulnerabilityAlertState ¶
type RepositoryVulnerabilityAlertState string
RepositoryVulnerabilityAlertState (ENUM): The possible states of an alert.
const RepositoryVulnerabilityAlertState_DISMISSED RepositoryVulnerabilityAlertState = "DISMISSED"
RepositoryVulnerabilityAlertState_DISMISSED: An alert that has been manually closed by a user.
const RepositoryVulnerabilityAlertState_FIXED RepositoryVulnerabilityAlertState = "FIXED"
RepositoryVulnerabilityAlertState_FIXED: An alert that has been resolved by a code change.
const RepositoryVulnerabilityAlertState_OPEN RepositoryVulnerabilityAlertState = "OPEN"
RepositoryVulnerabilityAlertState_OPEN: An alert that is still open.
type RequestReviewsInput ¶
type RequestReviewsInput struct {
// PullRequestId: The Node ID of the pull request to modify.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// UserIds: The Node IDs of the user to request.
//
// GraphQL type: [ID!]
UserIds []ID `json:"userIds,omitempty"`
// TeamIds: The Node IDs of the team to request.
//
// GraphQL type: [ID!]
TeamIds []ID `json:"teamIds,omitempty"`
// Union: Add users to the set rather than replace.
//
// GraphQL type: Boolean
Union bool `json:"union,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RequestReviewsInput (INPUT_OBJECT): Autogenerated input type of RequestReviews.
type RequestReviewsPayload ¶
type RequestReviewsPayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The pull request that is getting requests.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// RequestedReviewersEdge: The edge from the pull request to the requested reviewers.
RequestedReviewersEdge *UserEdge `json:"requestedReviewersEdge,omitempty"`
}
RequestReviewsPayload (OBJECT): Autogenerated return type of RequestReviews.
func (*RequestReviewsPayload) GetActor ¶
func (x *RequestReviewsPayload) GetActor() Actor
func (*RequestReviewsPayload) GetClientMutationId ¶
func (x *RequestReviewsPayload) GetClientMutationId() string
func (*RequestReviewsPayload) GetPullRequest ¶
func (x *RequestReviewsPayload) GetPullRequest() *PullRequest
func (*RequestReviewsPayload) GetRequestedReviewersEdge ¶
func (x *RequestReviewsPayload) GetRequestedReviewersEdge() *UserEdge
type RequestableCheckStatusState ¶
type RequestableCheckStatusState string
RequestableCheckStatusState (ENUM): The possible states that can be requested when creating a check run.
const RequestableCheckStatusState_COMPLETED RequestableCheckStatusState = "COMPLETED"
RequestableCheckStatusState_COMPLETED: The check suite or run has been completed.
const RequestableCheckStatusState_IN_PROGRESS RequestableCheckStatusState = "IN_PROGRESS"
RequestableCheckStatusState_IN_PROGRESS: The check suite or run is in progress.
const RequestableCheckStatusState_PENDING RequestableCheckStatusState = "PENDING"
RequestableCheckStatusState_PENDING: The check suite or run is in pending state.
const RequestableCheckStatusState_QUEUED RequestableCheckStatusState = "QUEUED"
RequestableCheckStatusState_QUEUED: The check suite or run has been queued.
const RequestableCheckStatusState_WAITING RequestableCheckStatusState = "WAITING"
RequestableCheckStatusState_WAITING: The check suite or run is in waiting state.
type RequestedReviewer ¶
type RequestedReviewer struct {
Interface RequestedReviewer_Interface
}
func (*RequestedReviewer) MarshalJSON ¶
func (x *RequestedReviewer) MarshalJSON() ([]byte, error)
func (*RequestedReviewer) UnmarshalJSON ¶
func (x *RequestedReviewer) UnmarshalJSON(js []byte) error
type RequestedReviewerConnection ¶
type RequestedReviewerConnection struct {
// Edges: A list of edges.
Edges []*RequestedReviewerEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []RequestedReviewer `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
RequestedReviewerConnection (OBJECT): The connection type for RequestedReviewer.
func (*RequestedReviewerConnection) GetEdges ¶
func (x *RequestedReviewerConnection) GetEdges() []*RequestedReviewerEdge
func (*RequestedReviewerConnection) GetNodes ¶
func (x *RequestedReviewerConnection) GetNodes() []RequestedReviewer
func (*RequestedReviewerConnection) GetPageInfo ¶
func (x *RequestedReviewerConnection) GetPageInfo() *PageInfo
func (*RequestedReviewerConnection) GetTotalCount ¶
func (x *RequestedReviewerConnection) GetTotalCount() int
type RequestedReviewerEdge ¶
type RequestedReviewerEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node RequestedReviewer `json:"node,omitempty"`
}
RequestedReviewerEdge (OBJECT): An edge in a connection.
func (*RequestedReviewerEdge) GetCursor ¶
func (x *RequestedReviewerEdge) GetCursor() string
func (*RequestedReviewerEdge) GetNode ¶
func (x *RequestedReviewerEdge) GetNode() RequestedReviewer
type RequestedReviewer_Interface ¶
type RequestedReviewer_Interface interface {
// contains filtered or unexported methods
}
RequestedReviewer (UNION): Types that can be requested reviewers. RequestedReviewer_Interface: Types that can be requested reviewers.
Possible types:
- *Mannequin
- *Team
- *User
type RequirableByPullRequest ¶
type RequirableByPullRequest struct {
Interface RequirableByPullRequest_Interface
}
func (*RequirableByPullRequest) MarshalJSON ¶
func (x *RequirableByPullRequest) MarshalJSON() ([]byte, error)
func (*RequirableByPullRequest) UnmarshalJSON ¶
func (x *RequirableByPullRequest) UnmarshalJSON(js []byte) error
type RequirableByPullRequest_Interface ¶
type RequirableByPullRequest_Interface interface {
GetIsRequired() bool
// contains filtered or unexported methods
}
RequirableByPullRequest (INTERFACE): Represents a type that can be required by a pull request for merging. RequirableByPullRequest_Interface: Represents a type that can be required by a pull request for merging.
Possible types:
- *CheckRun
- *StatusContext
type RequiredStatusCheckDescription ¶
type RequiredStatusCheckDescription struct {
// App: The App that must provide this status in order for it to be accepted.
App *App `json:"app,omitempty"`
// Context: The name of this status.
Context string `json:"context,omitempty"`
}
RequiredStatusCheckDescription (OBJECT): Represents a required status check for a protected branch, but not any specific run of that check.
func (*RequiredStatusCheckDescription) GetApp ¶
func (x *RequiredStatusCheckDescription) GetApp() *App
func (*RequiredStatusCheckDescription) GetContext ¶
func (x *RequiredStatusCheckDescription) GetContext() string
type RequiredStatusCheckInput ¶
type RequiredStatusCheckInput struct {
// Context: Status check context that must pass for commits to be accepted to the matching branch.
//
// GraphQL type: String!
Context string `json:"context,omitempty"`
// AppId: The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use "any" to allow any app to set the status.
//
// GraphQL type: ID
AppId ID `json:"appId,omitempty"`
}
RequiredStatusCheckInput (INPUT_OBJECT): Specifies the attributes for a new or updated required status check.
type RerequestCheckSuiteInput ¶
type RerequestCheckSuiteInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// CheckSuiteId: The Node ID of the check suite.
//
// GraphQL type: ID!
CheckSuiteId ID `json:"checkSuiteId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RerequestCheckSuiteInput (INPUT_OBJECT): Autogenerated input type of RerequestCheckSuite.
type RerequestCheckSuitePayload ¶
type RerequestCheckSuitePayload struct {
// CheckSuite: The requested check suite.
CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RerequestCheckSuitePayload (OBJECT): Autogenerated return type of RerequestCheckSuite.
func (*RerequestCheckSuitePayload) GetCheckSuite ¶
func (x *RerequestCheckSuitePayload) GetCheckSuite() *CheckSuite
func (*RerequestCheckSuitePayload) GetClientMutationId ¶
func (x *RerequestCheckSuitePayload) GetClientMutationId() string
type ResolveReviewThreadInput ¶
type ResolveReviewThreadInput struct {
// ThreadId: The ID of the thread to resolve.
//
// GraphQL type: ID!
ThreadId ID `json:"threadId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
ResolveReviewThreadInput (INPUT_OBJECT): Autogenerated input type of ResolveReviewThread.
type ResolveReviewThreadPayload ¶
type ResolveReviewThreadPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Thread: The thread to resolve.
Thread *PullRequestReviewThread `json:"thread,omitempty"`
}
ResolveReviewThreadPayload (OBJECT): Autogenerated return type of ResolveReviewThread.
func (*ResolveReviewThreadPayload) GetClientMutationId ¶
func (x *ResolveReviewThreadPayload) GetClientMutationId() string
func (*ResolveReviewThreadPayload) GetThread ¶
func (x *ResolveReviewThreadPayload) GetThread() *PullRequestReviewThread
type RestrictedContribution ¶
type RestrictedContribution struct {
// IsRestricted: Whether this contribution is associated with a record you do not have access to. For
// example, your own 'first issue' contribution may have been made on a repository you can no
// longer access.
// .
IsRestricted bool `json:"isRestricted,omitempty"`
// OccurredAt: When this contribution was made.
OccurredAt DateTime `json:"occurredAt,omitempty"`
// ResourcePath: The HTTP path for this contribution.
ResourcePath URI `json:"resourcePath,omitempty"`
// Url: The HTTP URL for this contribution.
Url URI `json:"url,omitempty"`
// User: The user who made this contribution.
// .
User *User `json:"user,omitempty"`
}
RestrictedContribution (OBJECT): Represents a private contribution a user made on GitHub.
func (*RestrictedContribution) GetIsRestricted ¶
func (x *RestrictedContribution) GetIsRestricted() bool
func (*RestrictedContribution) GetOccurredAt ¶
func (x *RestrictedContribution) GetOccurredAt() DateTime
func (*RestrictedContribution) GetResourcePath ¶
func (x *RestrictedContribution) GetResourcePath() URI
func (*RestrictedContribution) GetUrl ¶
func (x *RestrictedContribution) GetUrl() URI
func (*RestrictedContribution) GetUser ¶
func (x *RestrictedContribution) GetUser() *User
type ReviewDismissalAllowance ¶
type ReviewDismissalAllowance struct {
// Actor: The actor that can dismiss.
Actor ReviewDismissalAllowanceActor `json:"actor,omitempty"`
// BranchProtectionRule: Identifies the branch protection rule associated with the allowed user, team, or app.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
}
ReviewDismissalAllowance (OBJECT): A user, team, or app who has the ability to dismiss a review on a protected branch.
func (*ReviewDismissalAllowance) GetActor ¶
func (x *ReviewDismissalAllowance) GetActor() ReviewDismissalAllowanceActor
func (*ReviewDismissalAllowance) GetBranchProtectionRule ¶
func (x *ReviewDismissalAllowance) GetBranchProtectionRule() *BranchProtectionRule
func (*ReviewDismissalAllowance) GetId ¶
func (x *ReviewDismissalAllowance) GetId() ID
type ReviewDismissalAllowanceActor ¶
type ReviewDismissalAllowanceActor struct {
Interface ReviewDismissalAllowanceActor_Interface
}
func (*ReviewDismissalAllowanceActor) MarshalJSON ¶
func (x *ReviewDismissalAllowanceActor) MarshalJSON() ([]byte, error)
func (*ReviewDismissalAllowanceActor) UnmarshalJSON ¶
func (x *ReviewDismissalAllowanceActor) UnmarshalJSON(js []byte) error
type ReviewDismissalAllowanceActor_Interface ¶
type ReviewDismissalAllowanceActor_Interface interface {
// contains filtered or unexported methods
}
ReviewDismissalAllowanceActor (UNION): Types that can be an actor. ReviewDismissalAllowanceActor_Interface: Types that can be an actor.
Possible types:
- *App
- *Team
- *User
type ReviewDismissalAllowanceConnection ¶
type ReviewDismissalAllowanceConnection struct {
// Edges: A list of edges.
Edges []*ReviewDismissalAllowanceEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ReviewDismissalAllowance `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReviewDismissalAllowanceConnection (OBJECT): The connection type for ReviewDismissalAllowance.
func (*ReviewDismissalAllowanceConnection) GetEdges ¶
func (x *ReviewDismissalAllowanceConnection) GetEdges() []*ReviewDismissalAllowanceEdge
func (*ReviewDismissalAllowanceConnection) GetNodes ¶
func (x *ReviewDismissalAllowanceConnection) GetNodes() []*ReviewDismissalAllowance
func (*ReviewDismissalAllowanceConnection) GetPageInfo ¶
func (x *ReviewDismissalAllowanceConnection) GetPageInfo() *PageInfo
func (*ReviewDismissalAllowanceConnection) GetTotalCount ¶
func (x *ReviewDismissalAllowanceConnection) GetTotalCount() int
type ReviewDismissalAllowanceEdge ¶
type ReviewDismissalAllowanceEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ReviewDismissalAllowance `json:"node,omitempty"`
}
ReviewDismissalAllowanceEdge (OBJECT): An edge in a connection.
func (*ReviewDismissalAllowanceEdge) GetCursor ¶
func (x *ReviewDismissalAllowanceEdge) GetCursor() string
func (*ReviewDismissalAllowanceEdge) GetNode ¶
func (x *ReviewDismissalAllowanceEdge) GetNode() *ReviewDismissalAllowance
type ReviewDismissedEvent ¶
type ReviewDismissedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DismissalMessage: Identifies the optional message associated with the 'review_dismissed' event.
DismissalMessage string `json:"dismissalMessage,omitempty"`
// DismissalMessageHTML: Identifies the optional message associated with the event, rendered to HTML.
DismissalMessageHTML string `json:"dismissalMessageHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PreviousReviewState: Identifies the previous state of the review with the 'review_dismissed' event.
PreviousReviewState PullRequestReviewState `json:"previousReviewState,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// PullRequestCommit: Identifies the commit which caused the review to become stale.
PullRequestCommit *PullRequestCommit `json:"pullRequestCommit,omitempty"`
// ResourcePath: The HTTP path for this review dismissed event.
ResourcePath URI `json:"resourcePath,omitempty"`
// Review: Identifies the review associated with the 'review_dismissed' event.
Review *PullRequestReview `json:"review,omitempty"`
// Url: The HTTP URL for this review dismissed event.
Url URI `json:"url,omitempty"`
}
ReviewDismissedEvent (OBJECT): Represents a 'review_dismissed' event on a given issue or pull request.
func (*ReviewDismissedEvent) GetActor ¶
func (x *ReviewDismissedEvent) GetActor() Actor
func (*ReviewDismissedEvent) GetCreatedAt ¶
func (x *ReviewDismissedEvent) GetCreatedAt() DateTime
func (*ReviewDismissedEvent) GetDatabaseId ¶
func (x *ReviewDismissedEvent) GetDatabaseId() int
func (*ReviewDismissedEvent) GetDismissalMessage ¶
func (x *ReviewDismissedEvent) GetDismissalMessage() string
func (*ReviewDismissedEvent) GetDismissalMessageHTML ¶
func (x *ReviewDismissedEvent) GetDismissalMessageHTML() string
func (*ReviewDismissedEvent) GetId ¶
func (x *ReviewDismissedEvent) GetId() ID
func (*ReviewDismissedEvent) GetPreviousReviewState ¶
func (x *ReviewDismissedEvent) GetPreviousReviewState() PullRequestReviewState
func (*ReviewDismissedEvent) GetPullRequest ¶
func (x *ReviewDismissedEvent) GetPullRequest() *PullRequest
func (*ReviewDismissedEvent) GetPullRequestCommit ¶
func (x *ReviewDismissedEvent) GetPullRequestCommit() *PullRequestCommit
func (*ReviewDismissedEvent) GetResourcePath ¶
func (x *ReviewDismissedEvent) GetResourcePath() URI
func (*ReviewDismissedEvent) GetReview ¶
func (x *ReviewDismissedEvent) GetReview() *PullRequestReview
func (*ReviewDismissedEvent) GetUrl ¶
func (x *ReviewDismissedEvent) GetUrl() URI
type ReviewRequest ¶
type ReviewRequest struct {
// AsCodeOwner: Whether this request was created for a code owner.
AsCodeOwner bool `json:"asCodeOwner,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: Identifies the pull request associated with this review request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// RequestedReviewer: The reviewer that is requested.
RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}
ReviewRequest (OBJECT): A request for a user to review a pull request.
func (*ReviewRequest) GetAsCodeOwner ¶
func (x *ReviewRequest) GetAsCodeOwner() bool
func (*ReviewRequest) GetDatabaseId ¶
func (x *ReviewRequest) GetDatabaseId() int
func (*ReviewRequest) GetId ¶
func (x *ReviewRequest) GetId() ID
func (*ReviewRequest) GetPullRequest ¶
func (x *ReviewRequest) GetPullRequest() *PullRequest
func (*ReviewRequest) GetRequestedReviewer ¶
func (x *ReviewRequest) GetRequestedReviewer() RequestedReviewer
type ReviewRequestConnection ¶
type ReviewRequestConnection struct {
// Edges: A list of edges.
Edges []*ReviewRequestEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*ReviewRequest `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
ReviewRequestConnection (OBJECT): The connection type for ReviewRequest.
func (*ReviewRequestConnection) GetEdges ¶
func (x *ReviewRequestConnection) GetEdges() []*ReviewRequestEdge
func (*ReviewRequestConnection) GetNodes ¶
func (x *ReviewRequestConnection) GetNodes() []*ReviewRequest
func (*ReviewRequestConnection) GetPageInfo ¶
func (x *ReviewRequestConnection) GetPageInfo() *PageInfo
func (*ReviewRequestConnection) GetTotalCount ¶
func (x *ReviewRequestConnection) GetTotalCount() int
type ReviewRequestEdge ¶
type ReviewRequestEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *ReviewRequest `json:"node,omitempty"`
}
ReviewRequestEdge (OBJECT): An edge in a connection.
func (*ReviewRequestEdge) GetCursor ¶
func (x *ReviewRequestEdge) GetCursor() string
func (*ReviewRequestEdge) GetNode ¶
func (x *ReviewRequestEdge) GetNode() *ReviewRequest
type ReviewRequestRemovedEvent ¶
type ReviewRequestRemovedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// RequestedReviewer: Identifies the reviewer whose review request was removed.
RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}
ReviewRequestRemovedEvent (OBJECT): Represents an 'review_request_removed' event on a given pull request.
func (*ReviewRequestRemovedEvent) GetActor ¶
func (x *ReviewRequestRemovedEvent) GetActor() Actor
func (*ReviewRequestRemovedEvent) GetCreatedAt ¶
func (x *ReviewRequestRemovedEvent) GetCreatedAt() DateTime
func (*ReviewRequestRemovedEvent) GetId ¶
func (x *ReviewRequestRemovedEvent) GetId() ID
func (*ReviewRequestRemovedEvent) GetPullRequest ¶
func (x *ReviewRequestRemovedEvent) GetPullRequest() *PullRequest
func (*ReviewRequestRemovedEvent) GetRequestedReviewer ¶
func (x *ReviewRequestRemovedEvent) GetRequestedReviewer() RequestedReviewer
type ReviewRequestedEvent ¶
type ReviewRequestedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PullRequest: PullRequest referenced by event.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
// RequestedReviewer: Identifies the reviewer whose review was requested.
RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}
ReviewRequestedEvent (OBJECT): Represents an 'review_requested' event on a given pull request.
func (*ReviewRequestedEvent) GetActor ¶
func (x *ReviewRequestedEvent) GetActor() Actor
func (*ReviewRequestedEvent) GetCreatedAt ¶
func (x *ReviewRequestedEvent) GetCreatedAt() DateTime
func (*ReviewRequestedEvent) GetId ¶
func (x *ReviewRequestedEvent) GetId() ID
func (*ReviewRequestedEvent) GetPullRequest ¶
func (x *ReviewRequestedEvent) GetPullRequest() *PullRequest
func (*ReviewRequestedEvent) GetRequestedReviewer ¶
func (x *ReviewRequestedEvent) GetRequestedReviewer() RequestedReviewer
type ReviewStatusHovercardContext ¶
type ReviewStatusHovercardContext struct {
// Message: A string describing this context.
Message string `json:"message,omitempty"`
// Octicon: An octicon to accompany this context.
Octicon string `json:"octicon,omitempty"`
// ReviewDecision: The current status of the pull request with respect to code review.
ReviewDecision PullRequestReviewDecision `json:"reviewDecision,omitempty"`
}
ReviewStatusHovercardContext (OBJECT): A hovercard context with a message describing the current code review state of the pull request. .
func (*ReviewStatusHovercardContext) GetMessage ¶
func (x *ReviewStatusHovercardContext) GetMessage() string
func (*ReviewStatusHovercardContext) GetOcticon ¶
func (x *ReviewStatusHovercardContext) GetOcticon() string
func (*ReviewStatusHovercardContext) GetReviewDecision ¶
func (x *ReviewStatusHovercardContext) GetReviewDecision() PullRequestReviewDecision
type RevokeEnterpriseOrganizationsMigratorRoleInput ¶
type RevokeEnterpriseOrganizationsMigratorRoleInput struct {
// EnterpriseId: The ID of the enterprise to which all organizations managed by it will be granted the migrator role.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of the user to revoke the migrator role.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RevokeEnterpriseOrganizationsMigratorRoleInput (INPUT_OBJECT): Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole.
type RevokeEnterpriseOrganizationsMigratorRolePayload ¶
type RevokeEnterpriseOrganizationsMigratorRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Organizations: The organizations that had the migrator role revoked for the given user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Organizations *OrganizationConnection `json:"organizations,omitempty"`
}
RevokeEnterpriseOrganizationsMigratorRolePayload (OBJECT): Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole.
func (*RevokeEnterpriseOrganizationsMigratorRolePayload) GetClientMutationId ¶
func (x *RevokeEnterpriseOrganizationsMigratorRolePayload) GetClientMutationId() string
func (*RevokeEnterpriseOrganizationsMigratorRolePayload) GetOrganizations ¶
func (x *RevokeEnterpriseOrganizationsMigratorRolePayload) GetOrganizations() *OrganizationConnection
type RevokeMigratorRoleInput ¶
type RevokeMigratorRoleInput struct {
// OrganizationId: The ID of the organization that the user/team belongs to.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// Actor: The user login or Team slug to revoke the migrator role from.
//
// GraphQL type: String!
Actor string `json:"actor,omitempty"`
// ActorType: Specifies the type of the actor, can be either USER or TEAM.
//
// GraphQL type: ActorType!
ActorType ActorType `json:"actorType,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
RevokeMigratorRoleInput (INPUT_OBJECT): Autogenerated input type of RevokeMigratorRole.
type RevokeMigratorRolePayload ¶
type RevokeMigratorRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Success: Did the operation succeed?.
Success bool `json:"success,omitempty"`
}
RevokeMigratorRolePayload (OBJECT): Autogenerated return type of RevokeMigratorRole.
func (*RevokeMigratorRolePayload) GetClientMutationId ¶
func (x *RevokeMigratorRolePayload) GetClientMutationId() string
func (*RevokeMigratorRolePayload) GetSuccess ¶
func (x *RevokeMigratorRolePayload) GetSuccess() bool
type RoleInOrganization ¶
type RoleInOrganization string
RoleInOrganization (ENUM): Possible roles a user may have in relation to an organization.
const RoleInOrganization_DIRECT_MEMBER RoleInOrganization = "DIRECT_MEMBER"
RoleInOrganization_DIRECT_MEMBER: A user who is a direct member of the organization.
const RoleInOrganization_OWNER RoleInOrganization = "OWNER"
RoleInOrganization_OWNER: A user with full administrative access to the organization.
const RoleInOrganization_UNAFFILIATED RoleInOrganization = "UNAFFILIATED"
RoleInOrganization_UNAFFILIATED: A user who is unaffiliated with the organization.
type SamlDigestAlgorithm ¶
type SamlDigestAlgorithm string
SamlDigestAlgorithm (ENUM): The possible digest algorithms used to sign SAML requests for an identity provider.
const SamlDigestAlgorithm_SHA1 SamlDigestAlgorithm = "SHA1"
SamlDigestAlgorithm_SHA1: SHA1.
const SamlDigestAlgorithm_SHA256 SamlDigestAlgorithm = "SHA256"
SamlDigestAlgorithm_SHA256: SHA256.
const SamlDigestAlgorithm_SHA384 SamlDigestAlgorithm = "SHA384"
SamlDigestAlgorithm_SHA384: SHA384.
const SamlDigestAlgorithm_SHA512 SamlDigestAlgorithm = "SHA512"
SamlDigestAlgorithm_SHA512: SHA512.
type SamlSignatureAlgorithm ¶
type SamlSignatureAlgorithm string
SamlSignatureAlgorithm (ENUM): The possible signature algorithms used to sign SAML requests for a Identity Provider.
const SamlSignatureAlgorithm_RSA_SHA1 SamlSignatureAlgorithm = "RSA_SHA1"
SamlSignatureAlgorithm_RSA_SHA1: RSA-SHA1.
const SamlSignatureAlgorithm_RSA_SHA256 SamlSignatureAlgorithm = "RSA_SHA256"
SamlSignatureAlgorithm_RSA_SHA256: RSA-SHA256.
const SamlSignatureAlgorithm_RSA_SHA384 SamlSignatureAlgorithm = "RSA_SHA384"
SamlSignatureAlgorithm_RSA_SHA384: RSA-SHA384.
const SamlSignatureAlgorithm_RSA_SHA512 SamlSignatureAlgorithm = "RSA_SHA512"
SamlSignatureAlgorithm_RSA_SHA512: RSA-SHA512.
type SavedReply ¶
type SavedReply struct {
// Body: The body of the saved reply.
Body string `json:"body,omitempty"`
// BodyHTML: The saved reply body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Title: The title of the saved reply.
Title string `json:"title,omitempty"`
// User: The user that saved this reply.
User Actor `json:"user,omitempty"`
}
SavedReply (OBJECT): A Saved Reply is text a user can use to reply quickly.
func (*SavedReply) GetBody ¶
func (x *SavedReply) GetBody() string
func (*SavedReply) GetBodyHTML ¶
func (x *SavedReply) GetBodyHTML() template.HTML
func (*SavedReply) GetDatabaseId ¶
func (x *SavedReply) GetDatabaseId() int
func (*SavedReply) GetId ¶
func (x *SavedReply) GetId() ID
func (*SavedReply) GetTitle ¶
func (x *SavedReply) GetTitle() string
func (*SavedReply) GetUser ¶
func (x *SavedReply) GetUser() Actor
type SavedReplyConnection ¶
type SavedReplyConnection struct {
// Edges: A list of edges.
Edges []*SavedReplyEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SavedReply `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SavedReplyConnection (OBJECT): The connection type for SavedReply.
func (*SavedReplyConnection) GetEdges ¶
func (x *SavedReplyConnection) GetEdges() []*SavedReplyEdge
func (*SavedReplyConnection) GetNodes ¶
func (x *SavedReplyConnection) GetNodes() []*SavedReply
func (*SavedReplyConnection) GetPageInfo ¶
func (x *SavedReplyConnection) GetPageInfo() *PageInfo
func (*SavedReplyConnection) GetTotalCount ¶
func (x *SavedReplyConnection) GetTotalCount() int
type SavedReplyEdge ¶
type SavedReplyEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SavedReply `json:"node,omitempty"`
}
SavedReplyEdge (OBJECT): An edge in a connection.
func (*SavedReplyEdge) GetCursor ¶
func (x *SavedReplyEdge) GetCursor() string
func (*SavedReplyEdge) GetNode ¶
func (x *SavedReplyEdge) GetNode() *SavedReply
type SavedReplyOrder ¶
type SavedReplyOrder struct {
// Field: The field to order saved replies by.
//
// GraphQL type: SavedReplyOrderField!
Field SavedReplyOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SavedReplyOrder (INPUT_OBJECT): Ordering options for saved reply connections.
type SavedReplyOrderField ¶
type SavedReplyOrderField string
SavedReplyOrderField (ENUM): Properties by which saved reply connections can be ordered.
const SavedReplyOrderField_UPDATED_AT SavedReplyOrderField = "UPDATED_AT"
SavedReplyOrderField_UPDATED_AT: Order saved reply by when they were updated.
type SearchResultItem ¶
type SearchResultItem struct {
Interface SearchResultItem_Interface
}
func (*SearchResultItem) MarshalJSON ¶
func (x *SearchResultItem) MarshalJSON() ([]byte, error)
func (*SearchResultItem) UnmarshalJSON ¶
func (x *SearchResultItem) UnmarshalJSON(js []byte) error
type SearchResultItemConnection ¶
type SearchResultItemConnection struct {
// CodeCount: The number of pieces of code that matched the search query.
CodeCount int `json:"codeCount,omitempty"`
// DiscussionCount: The number of discussions that matched the search query.
DiscussionCount int `json:"discussionCount,omitempty"`
// Edges: A list of edges.
Edges []*SearchResultItemEdge `json:"edges,omitempty"`
// IssueCount: The number of issues that matched the search query.
IssueCount int `json:"issueCount,omitempty"`
// Nodes: A list of nodes.
Nodes []SearchResultItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// RepositoryCount: The number of repositories that matched the search query.
RepositoryCount int `json:"repositoryCount,omitempty"`
// UserCount: The number of users that matched the search query.
UserCount int `json:"userCount,omitempty"`
// WikiCount: The number of wiki pages that matched the search query.
WikiCount int `json:"wikiCount,omitempty"`
}
SearchResultItemConnection (OBJECT): A list of results that matched against a search query.
func (*SearchResultItemConnection) GetCodeCount ¶
func (x *SearchResultItemConnection) GetCodeCount() int
func (*SearchResultItemConnection) GetDiscussionCount ¶
func (x *SearchResultItemConnection) GetDiscussionCount() int
func (*SearchResultItemConnection) GetEdges ¶
func (x *SearchResultItemConnection) GetEdges() []*SearchResultItemEdge
func (*SearchResultItemConnection) GetIssueCount ¶
func (x *SearchResultItemConnection) GetIssueCount() int
func (*SearchResultItemConnection) GetNodes ¶
func (x *SearchResultItemConnection) GetNodes() []SearchResultItem
func (*SearchResultItemConnection) GetPageInfo ¶
func (x *SearchResultItemConnection) GetPageInfo() *PageInfo
func (*SearchResultItemConnection) GetRepositoryCount ¶
func (x *SearchResultItemConnection) GetRepositoryCount() int
func (*SearchResultItemConnection) GetUserCount ¶
func (x *SearchResultItemConnection) GetUserCount() int
func (*SearchResultItemConnection) GetWikiCount ¶
func (x *SearchResultItemConnection) GetWikiCount() int
type SearchResultItemEdge ¶
type SearchResultItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node SearchResultItem `json:"node,omitempty"`
// TextMatches: Text matches on the result found.
TextMatches []*TextMatch `json:"textMatches,omitempty"`
}
SearchResultItemEdge (OBJECT): An edge in a connection.
func (*SearchResultItemEdge) GetCursor ¶
func (x *SearchResultItemEdge) GetCursor() string
func (*SearchResultItemEdge) GetNode ¶
func (x *SearchResultItemEdge) GetNode() SearchResultItem
func (*SearchResultItemEdge) GetTextMatches ¶
func (x *SearchResultItemEdge) GetTextMatches() []*TextMatch
type SearchResultItem_Interface ¶
type SearchResultItem_Interface interface {
// contains filtered or unexported methods
}
SearchResultItem (UNION): The results of a search. SearchResultItem_Interface: The results of a search.
Possible types:
- *App
- *Discussion
- *Issue
- *MarketplaceListing
- *Organization
- *PullRequest
- *Repository
- *User
type SearchType ¶
type SearchType string
SearchType (ENUM): Represents the individual results of a search.
const SearchType_DISCUSSION SearchType = "DISCUSSION"
SearchType_DISCUSSION: Returns matching discussions in repositories.
const SearchType_ISSUE SearchType = "ISSUE"
SearchType_ISSUE: Returns results matching issues in repositories.
const SearchType_REPOSITORY SearchType = "REPOSITORY"
SearchType_REPOSITORY: Returns results matching repositories.
const SearchType_USER SearchType = "USER"
SearchType_USER: Returns results matching users and organizations on GitHub.
type SecurityAdvisory ¶
type SecurityAdvisory struct {
// Classification: The classification of the advisory.
Classification SecurityAdvisoryClassification `json:"classification,omitempty"`
// Cvss: The CVSS associated with this advisory.
Cvss *CVSS `json:"cvss,omitempty"`
// Cwes: CWEs associated with this Advisory.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Cwes *CWEConnection `json:"cwes,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: This is a long plaintext description of the advisory.
Description string `json:"description,omitempty"`
// GhsaId: The GitHub Security Advisory ID.
GhsaId string `json:"ghsaId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Identifiers: A list of identifiers for this advisory.
Identifiers []*SecurityAdvisoryIdentifier `json:"identifiers,omitempty"`
// NotificationsPermalink: The permalink for the advisory's dependabot alerts page.
NotificationsPermalink URI `json:"notificationsPermalink,omitempty"`
// Origin: The organization that originated the advisory.
Origin string `json:"origin,omitempty"`
// Permalink: The permalink for the advisory.
Permalink URI `json:"permalink,omitempty"`
// PublishedAt: When the advisory was published.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// References: A list of references for this advisory.
References []*SecurityAdvisoryReference `json:"references,omitempty"`
// Severity: The severity of the advisory.
Severity SecurityAdvisorySeverity `json:"severity,omitempty"`
// Summary: A short plaintext summary of the advisory.
Summary string `json:"summary,omitempty"`
// UpdatedAt: When the advisory was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Vulnerabilities: Vulnerabilities associated with this Advisory.
//
// Query arguments:
// - orderBy SecurityVulnerabilityOrder
// - ecosystem SecurityAdvisoryEcosystem
// - package String
// - severities [SecurityAdvisorySeverity!]
// - classifications [SecurityAdvisoryClassification!]
// - after String
// - before String
// - first Int
// - last Int
Vulnerabilities *SecurityVulnerabilityConnection `json:"vulnerabilities,omitempty"`
// WithdrawnAt: When the advisory was withdrawn, if it has been withdrawn.
WithdrawnAt DateTime `json:"withdrawnAt,omitempty"`
}
SecurityAdvisory (OBJECT): A GitHub Security Advisory.
func (*SecurityAdvisory) GetClassification ¶
func (x *SecurityAdvisory) GetClassification() SecurityAdvisoryClassification
func (*SecurityAdvisory) GetCvss ¶
func (x *SecurityAdvisory) GetCvss() *CVSS
func (*SecurityAdvisory) GetCwes ¶
func (x *SecurityAdvisory) GetCwes() *CWEConnection
func (*SecurityAdvisory) GetDatabaseId ¶
func (x *SecurityAdvisory) GetDatabaseId() int
func (*SecurityAdvisory) GetDescription ¶
func (x *SecurityAdvisory) GetDescription() string
func (*SecurityAdvisory) GetGhsaId ¶
func (x *SecurityAdvisory) GetGhsaId() string
func (*SecurityAdvisory) GetId ¶
func (x *SecurityAdvisory) GetId() ID
func (*SecurityAdvisory) GetIdentifiers ¶
func (x *SecurityAdvisory) GetIdentifiers() []*SecurityAdvisoryIdentifier
func (*SecurityAdvisory) GetNotificationsPermalink ¶
func (x *SecurityAdvisory) GetNotificationsPermalink() URI
func (*SecurityAdvisory) GetOrigin ¶
func (x *SecurityAdvisory) GetOrigin() string
func (*SecurityAdvisory) GetPermalink ¶
func (x *SecurityAdvisory) GetPermalink() URI
func (*SecurityAdvisory) GetPublishedAt ¶
func (x *SecurityAdvisory) GetPublishedAt() DateTime
func (*SecurityAdvisory) GetReferences ¶
func (x *SecurityAdvisory) GetReferences() []*SecurityAdvisoryReference
func (*SecurityAdvisory) GetSeverity ¶
func (x *SecurityAdvisory) GetSeverity() SecurityAdvisorySeverity
func (*SecurityAdvisory) GetSummary ¶
func (x *SecurityAdvisory) GetSummary() string
func (*SecurityAdvisory) GetUpdatedAt ¶
func (x *SecurityAdvisory) GetUpdatedAt() DateTime
func (*SecurityAdvisory) GetVulnerabilities ¶
func (x *SecurityAdvisory) GetVulnerabilities() *SecurityVulnerabilityConnection
func (*SecurityAdvisory) GetWithdrawnAt ¶
func (x *SecurityAdvisory) GetWithdrawnAt() DateTime
type SecurityAdvisoryClassification ¶
type SecurityAdvisoryClassification string
SecurityAdvisoryClassification (ENUM): Classification of the advisory.
const SecurityAdvisoryClassification_GENERAL SecurityAdvisoryClassification = "GENERAL"
SecurityAdvisoryClassification_GENERAL: Classification of general advisories.
const SecurityAdvisoryClassification_MALWARE SecurityAdvisoryClassification = "MALWARE"
SecurityAdvisoryClassification_MALWARE: Classification of malware advisories.
type SecurityAdvisoryConnection ¶
type SecurityAdvisoryConnection struct {
// Edges: A list of edges.
Edges []*SecurityAdvisoryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SecurityAdvisory `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SecurityAdvisoryConnection (OBJECT): The connection type for SecurityAdvisory.
func (*SecurityAdvisoryConnection) GetEdges ¶
func (x *SecurityAdvisoryConnection) GetEdges() []*SecurityAdvisoryEdge
func (*SecurityAdvisoryConnection) GetNodes ¶
func (x *SecurityAdvisoryConnection) GetNodes() []*SecurityAdvisory
func (*SecurityAdvisoryConnection) GetPageInfo ¶
func (x *SecurityAdvisoryConnection) GetPageInfo() *PageInfo
func (*SecurityAdvisoryConnection) GetTotalCount ¶
func (x *SecurityAdvisoryConnection) GetTotalCount() int
type SecurityAdvisoryEcosystem ¶
type SecurityAdvisoryEcosystem string
SecurityAdvisoryEcosystem (ENUM): The possible ecosystems of a security vulnerability's package.
const SecurityAdvisoryEcosystem_ACTIONS SecurityAdvisoryEcosystem = "ACTIONS"
SecurityAdvisoryEcosystem_ACTIONS: GitHub Actions.
const SecurityAdvisoryEcosystem_COMPOSER SecurityAdvisoryEcosystem = "COMPOSER"
SecurityAdvisoryEcosystem_COMPOSER: PHP packages hosted at packagist.org.
const SecurityAdvisoryEcosystem_ERLANG SecurityAdvisoryEcosystem = "ERLANG"
SecurityAdvisoryEcosystem_ERLANG: Erlang/Elixir packages hosted at hex.pm.
const SecurityAdvisoryEcosystem_GO SecurityAdvisoryEcosystem = "GO"
SecurityAdvisoryEcosystem_GO: Go modules.
const SecurityAdvisoryEcosystem_MAVEN SecurityAdvisoryEcosystem = "MAVEN"
SecurityAdvisoryEcosystem_MAVEN: Java artifacts hosted at the Maven central repository.
const SecurityAdvisoryEcosystem_NPM SecurityAdvisoryEcosystem = "NPM"
SecurityAdvisoryEcosystem_NPM: JavaScript packages hosted at npmjs.com.
const SecurityAdvisoryEcosystem_NUGET SecurityAdvisoryEcosystem = "NUGET"
SecurityAdvisoryEcosystem_NUGET: .NET packages hosted at the NuGet Gallery.
const SecurityAdvisoryEcosystem_PIP SecurityAdvisoryEcosystem = "PIP"
SecurityAdvisoryEcosystem_PIP: Python packages hosted at PyPI.org.
const SecurityAdvisoryEcosystem_RUBYGEMS SecurityAdvisoryEcosystem = "RUBYGEMS"
SecurityAdvisoryEcosystem_RUBYGEMS: Ruby gems hosted at RubyGems.org.
const SecurityAdvisoryEcosystem_RUST SecurityAdvisoryEcosystem = "RUST"
SecurityAdvisoryEcosystem_RUST: Rust crates.
type SecurityAdvisoryEdge ¶
type SecurityAdvisoryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SecurityAdvisory `json:"node,omitempty"`
}
SecurityAdvisoryEdge (OBJECT): An edge in a connection.
func (*SecurityAdvisoryEdge) GetCursor ¶
func (x *SecurityAdvisoryEdge) GetCursor() string
func (*SecurityAdvisoryEdge) GetNode ¶
func (x *SecurityAdvisoryEdge) GetNode() *SecurityAdvisory
type SecurityAdvisoryIdentifier ¶
type SecurityAdvisoryIdentifier struct {
// Type: The identifier type, e.g. GHSA, CVE.
Type string `json:"type,omitempty"`
// Value: The identifier.
Value string `json:"value,omitempty"`
}
SecurityAdvisoryIdentifier (OBJECT): A GitHub Security Advisory Identifier.
func (*SecurityAdvisoryIdentifier) GetType ¶
func (x *SecurityAdvisoryIdentifier) GetType() string
func (*SecurityAdvisoryIdentifier) GetValue ¶
func (x *SecurityAdvisoryIdentifier) GetValue() string
type SecurityAdvisoryIdentifierFilter ¶
type SecurityAdvisoryIdentifierFilter struct {
// Type: The identifier type.
//
// GraphQL type: SecurityAdvisoryIdentifierType!
Type SecurityAdvisoryIdentifierType `json:"type,omitempty"`
// Value: The identifier string. Supports exact or partial matching.
//
// GraphQL type: String!
Value string `json:"value,omitempty"`
}
SecurityAdvisoryIdentifierFilter (INPUT_OBJECT): An advisory identifier to filter results on.
type SecurityAdvisoryIdentifierType ¶
type SecurityAdvisoryIdentifierType string
SecurityAdvisoryIdentifierType (ENUM): Identifier formats available for advisories.
const SecurityAdvisoryIdentifierType_CVE SecurityAdvisoryIdentifierType = "CVE"
SecurityAdvisoryIdentifierType_CVE: Common Vulnerabilities and Exposures Identifier.
const SecurityAdvisoryIdentifierType_GHSA SecurityAdvisoryIdentifierType = "GHSA"
SecurityAdvisoryIdentifierType_GHSA: GitHub Security Advisory ID.
type SecurityAdvisoryOrder ¶
type SecurityAdvisoryOrder struct {
// Field: The field to order security advisories by.
//
// GraphQL type: SecurityAdvisoryOrderField!
Field SecurityAdvisoryOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SecurityAdvisoryOrder (INPUT_OBJECT): Ordering options for security advisory connections.
type SecurityAdvisoryOrderField ¶
type SecurityAdvisoryOrderField string
SecurityAdvisoryOrderField (ENUM): Properties by which security advisory connections can be ordered.
const SecurityAdvisoryOrderField_PUBLISHED_AT SecurityAdvisoryOrderField = "PUBLISHED_AT"
SecurityAdvisoryOrderField_PUBLISHED_AT: Order advisories by publication time.
const SecurityAdvisoryOrderField_UPDATED_AT SecurityAdvisoryOrderField = "UPDATED_AT"
SecurityAdvisoryOrderField_UPDATED_AT: Order advisories by update time.
type SecurityAdvisoryPackage ¶
type SecurityAdvisoryPackage struct {
// Ecosystem: The ecosystem the package belongs to, e.g. RUBYGEMS, NPM.
Ecosystem SecurityAdvisoryEcosystem `json:"ecosystem,omitempty"`
// Name: The package name.
Name string `json:"name,omitempty"`
}
SecurityAdvisoryPackage (OBJECT): An individual package.
func (*SecurityAdvisoryPackage) GetEcosystem ¶
func (x *SecurityAdvisoryPackage) GetEcosystem() SecurityAdvisoryEcosystem
func (*SecurityAdvisoryPackage) GetName ¶
func (x *SecurityAdvisoryPackage) GetName() string
type SecurityAdvisoryPackageVersion ¶
type SecurityAdvisoryPackageVersion struct {
// Identifier: The package name or version.
Identifier string `json:"identifier,omitempty"`
}
SecurityAdvisoryPackageVersion (OBJECT): An individual package version.
func (*SecurityAdvisoryPackageVersion) GetIdentifier ¶
func (x *SecurityAdvisoryPackageVersion) GetIdentifier() string
type SecurityAdvisoryReference ¶
type SecurityAdvisoryReference struct {
// Url: A publicly accessible reference.
Url URI `json:"url,omitempty"`
}
SecurityAdvisoryReference (OBJECT): A GitHub Security Advisory Reference.
func (*SecurityAdvisoryReference) GetUrl ¶
func (x *SecurityAdvisoryReference) GetUrl() URI
type SecurityAdvisorySeverity ¶
type SecurityAdvisorySeverity string
SecurityAdvisorySeverity (ENUM): Severity of the vulnerability.
const SecurityAdvisorySeverity_CRITICAL SecurityAdvisorySeverity = "CRITICAL"
SecurityAdvisorySeverity_CRITICAL: Critical.
const SecurityAdvisorySeverity_HIGH SecurityAdvisorySeverity = "HIGH"
SecurityAdvisorySeverity_HIGH: High.
const SecurityAdvisorySeverity_LOW SecurityAdvisorySeverity = "LOW"
SecurityAdvisorySeverity_LOW: Low.
const SecurityAdvisorySeverity_MODERATE SecurityAdvisorySeverity = "MODERATE"
SecurityAdvisorySeverity_MODERATE: Moderate.
type SecurityVulnerability ¶
type SecurityVulnerability struct {
// Advisory: The Advisory associated with this Vulnerability.
Advisory *SecurityAdvisory `json:"advisory,omitempty"`
// FirstPatchedVersion: The first version containing a fix for the vulnerability.
FirstPatchedVersion *SecurityAdvisoryPackageVersion `json:"firstPatchedVersion,omitempty"`
// Package: A description of the vulnerable package.
Package *SecurityAdvisoryPackage `json:"package,omitempty"`
// Severity: The severity of the vulnerability within this package.
Severity SecurityAdvisorySeverity `json:"severity,omitempty"`
// UpdatedAt: When the vulnerability was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// VulnerableVersionRange: A string that describes the vulnerable package versions.
// This string follows a basic syntax with a few forms.
// + `= 0.2.0` denotes a single vulnerable version.
// + `<= 1.0.8` denotes a version range up to and including the specified version
// + `< 0.1.11` denotes a version range up to, but excluding, the specified version
// + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version.
// + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum
// .
VulnerableVersionRange string `json:"vulnerableVersionRange,omitempty"`
}
SecurityVulnerability (OBJECT): An individual vulnerability within an Advisory.
func (*SecurityVulnerability) GetAdvisory ¶
func (x *SecurityVulnerability) GetAdvisory() *SecurityAdvisory
func (*SecurityVulnerability) GetFirstPatchedVersion ¶
func (x *SecurityVulnerability) GetFirstPatchedVersion() *SecurityAdvisoryPackageVersion
func (*SecurityVulnerability) GetPackage ¶
func (x *SecurityVulnerability) GetPackage() *SecurityAdvisoryPackage
func (*SecurityVulnerability) GetSeverity ¶
func (x *SecurityVulnerability) GetSeverity() SecurityAdvisorySeverity
func (*SecurityVulnerability) GetUpdatedAt ¶
func (x *SecurityVulnerability) GetUpdatedAt() DateTime
func (*SecurityVulnerability) GetVulnerableVersionRange ¶
func (x *SecurityVulnerability) GetVulnerableVersionRange() string
type SecurityVulnerabilityConnection ¶
type SecurityVulnerabilityConnection struct {
// Edges: A list of edges.
Edges []*SecurityVulnerabilityEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SecurityVulnerability `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SecurityVulnerabilityConnection (OBJECT): The connection type for SecurityVulnerability.
func (*SecurityVulnerabilityConnection) GetEdges ¶
func (x *SecurityVulnerabilityConnection) GetEdges() []*SecurityVulnerabilityEdge
func (*SecurityVulnerabilityConnection) GetNodes ¶
func (x *SecurityVulnerabilityConnection) GetNodes() []*SecurityVulnerability
func (*SecurityVulnerabilityConnection) GetPageInfo ¶
func (x *SecurityVulnerabilityConnection) GetPageInfo() *PageInfo
func (*SecurityVulnerabilityConnection) GetTotalCount ¶
func (x *SecurityVulnerabilityConnection) GetTotalCount() int
type SecurityVulnerabilityEdge ¶
type SecurityVulnerabilityEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SecurityVulnerability `json:"node,omitempty"`
}
SecurityVulnerabilityEdge (OBJECT): An edge in a connection.
func (*SecurityVulnerabilityEdge) GetCursor ¶
func (x *SecurityVulnerabilityEdge) GetCursor() string
func (*SecurityVulnerabilityEdge) GetNode ¶
func (x *SecurityVulnerabilityEdge) GetNode() *SecurityVulnerability
type SecurityVulnerabilityOrder ¶
type SecurityVulnerabilityOrder struct {
// Field: The field to order security vulnerabilities by.
//
// GraphQL type: SecurityVulnerabilityOrderField!
Field SecurityVulnerabilityOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SecurityVulnerabilityOrder (INPUT_OBJECT): Ordering options for security vulnerability connections.
type SecurityVulnerabilityOrderField ¶
type SecurityVulnerabilityOrderField string
SecurityVulnerabilityOrderField (ENUM): Properties by which security vulnerability connections can be ordered.
const SecurityVulnerabilityOrderField_UPDATED_AT SecurityVulnerabilityOrderField = "UPDATED_AT"
SecurityVulnerabilityOrderField_UPDATED_AT: Order vulnerability by update time.
type SetEnterpriseIdentityProviderInput ¶
type SetEnterpriseIdentityProviderInput struct {
// EnterpriseId: The ID of the enterprise on which to set an identity provider.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SsoUrl: The URL endpoint for the identity provider's SAML SSO.
//
// GraphQL type: URI!
SsoUrl URI `json:"ssoUrl,omitempty"`
// Issuer: The Issuer Entity ID for the SAML identity provider.
//
// GraphQL type: String
Issuer string `json:"issuer,omitempty"`
// IdpCertificate: The x509 certificate used by the identity provider to sign assertions and responses.
//
// GraphQL type: String!
IdpCertificate string `json:"idpCertificate,omitempty"`
// SignatureMethod: The signature algorithm used to sign SAML requests for the identity provider.
//
// GraphQL type: SamlSignatureAlgorithm!
SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod,omitempty"`
// DigestMethod: The digest algorithm used to sign SAML requests for the identity provider.
//
// GraphQL type: SamlDigestAlgorithm!
DigestMethod SamlDigestAlgorithm `json:"digestMethod,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
SetEnterpriseIdentityProviderInput (INPUT_OBJECT): Autogenerated input type of SetEnterpriseIdentityProvider.
type SetEnterpriseIdentityProviderPayload ¶
type SetEnterpriseIdentityProviderPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IdentityProvider: The identity provider for the enterprise.
IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}
SetEnterpriseIdentityProviderPayload (OBJECT): Autogenerated return type of SetEnterpriseIdentityProvider.
func (*SetEnterpriseIdentityProviderPayload) GetClientMutationId ¶
func (x *SetEnterpriseIdentityProviderPayload) GetClientMutationId() string
func (*SetEnterpriseIdentityProviderPayload) GetIdentityProvider ¶
func (x *SetEnterpriseIdentityProviderPayload) GetIdentityProvider() *EnterpriseIdentityProvider
type SetOrganizationInteractionLimitInput ¶
type SetOrganizationInteractionLimitInput struct {
// OrganizationId: The ID of the organization to set a limit for.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// Limit: The limit to set.
//
// GraphQL type: RepositoryInteractionLimit!
Limit RepositoryInteractionLimit `json:"limit,omitempty"`
// Expiry: When this limit should expire.
//
// GraphQL type: RepositoryInteractionLimitExpiry
Expiry RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
SetOrganizationInteractionLimitInput (INPUT_OBJECT): Autogenerated input type of SetOrganizationInteractionLimit.
type SetOrganizationInteractionLimitPayload ¶
type SetOrganizationInteractionLimitPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Organization: The organization that the interaction limit was set for.
Organization *Organization `json:"organization,omitempty"`
}
SetOrganizationInteractionLimitPayload (OBJECT): Autogenerated return type of SetOrganizationInteractionLimit.
func (*SetOrganizationInteractionLimitPayload) GetClientMutationId ¶
func (x *SetOrganizationInteractionLimitPayload) GetClientMutationId() string
func (*SetOrganizationInteractionLimitPayload) GetOrganization ¶
func (x *SetOrganizationInteractionLimitPayload) GetOrganization() *Organization
type SetRepositoryInteractionLimitInput ¶
type SetRepositoryInteractionLimitInput struct {
// RepositoryId: The ID of the repository to set a limit for.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Limit: The limit to set.
//
// GraphQL type: RepositoryInteractionLimit!
Limit RepositoryInteractionLimit `json:"limit,omitempty"`
// Expiry: When this limit should expire.
//
// GraphQL type: RepositoryInteractionLimitExpiry
Expiry RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
SetRepositoryInteractionLimitInput (INPUT_OBJECT): Autogenerated input type of SetRepositoryInteractionLimit.
type SetRepositoryInteractionLimitPayload ¶
type SetRepositoryInteractionLimitPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The repository that the interaction limit was set for.
Repository *Repository `json:"repository,omitempty"`
}
SetRepositoryInteractionLimitPayload (OBJECT): Autogenerated return type of SetRepositoryInteractionLimit.
func (*SetRepositoryInteractionLimitPayload) GetClientMutationId ¶
func (x *SetRepositoryInteractionLimitPayload) GetClientMutationId() string
func (*SetRepositoryInteractionLimitPayload) GetRepository ¶
func (x *SetRepositoryInteractionLimitPayload) GetRepository() *Repository
type SetUserInteractionLimitInput ¶
type SetUserInteractionLimitInput struct {
// UserId: The ID of the user to set a limit for.
//
// GraphQL type: ID!
UserId ID `json:"userId,omitempty"`
// Limit: The limit to set.
//
// GraphQL type: RepositoryInteractionLimit!
Limit RepositoryInteractionLimit `json:"limit,omitempty"`
// Expiry: When this limit should expire.
//
// GraphQL type: RepositoryInteractionLimitExpiry
Expiry RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
SetUserInteractionLimitInput (INPUT_OBJECT): Autogenerated input type of SetUserInteractionLimit.
type SetUserInteractionLimitPayload ¶
type SetUserInteractionLimitPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// User: The user that the interaction limit was set for.
User *User `json:"user,omitempty"`
}
SetUserInteractionLimitPayload (OBJECT): Autogenerated return type of SetUserInteractionLimit.
func (*SetUserInteractionLimitPayload) GetClientMutationId ¶
func (x *SetUserInteractionLimitPayload) GetClientMutationId() string
func (*SetUserInteractionLimitPayload) GetUser ¶
func (x *SetUserInteractionLimitPayload) GetUser() *User
type SmimeSignature ¶
type SmimeSignature struct {
// Email: Email used to sign this object.
Email string `json:"email,omitempty"`
// IsValid: True if the signature is valid and verified by GitHub.
IsValid bool `json:"isValid,omitempty"`
// Payload: Payload for GPG signing object. Raw ODB object without the signature header.
Payload string `json:"payload,omitempty"`
// Signature: ASCII-armored signature header from object.
Signature string `json:"signature,omitempty"`
// Signer: GitHub user corresponding to the email signing this commit.
Signer *User `json:"signer,omitempty"`
// State: The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
State GitSignatureState `json:"state,omitempty"`
// WasSignedByGitHub: True if the signature was made with GitHub's signing key.
WasSignedByGitHub bool `json:"wasSignedByGitHub,omitempty"`
}
SmimeSignature (OBJECT): Represents an S/MIME signature on a Commit or Tag.
func (*SmimeSignature) GetEmail ¶
func (x *SmimeSignature) GetEmail() string
func (*SmimeSignature) GetIsValid ¶
func (x *SmimeSignature) GetIsValid() bool
func (*SmimeSignature) GetPayload ¶
func (x *SmimeSignature) GetPayload() string
func (*SmimeSignature) GetSignature ¶
func (x *SmimeSignature) GetSignature() string
func (*SmimeSignature) GetSigner ¶
func (x *SmimeSignature) GetSigner() *User
func (*SmimeSignature) GetState ¶
func (x *SmimeSignature) GetState() GitSignatureState
func (*SmimeSignature) GetWasSignedByGitHub ¶
func (x *SmimeSignature) GetWasSignedByGitHub() bool
type SortBy ¶
type SortBy struct {
// Direction: The direction of the sorting. Possible values are ASC and DESC.
Direction OrderDirection `json:"direction,omitempty"`
// Field: The id of the field by which the column is sorted.
Field int `json:"field,omitempty"`
}
SortBy (OBJECT): Represents a sort by field and direction.
func (*SortBy) GetDirection ¶
func (x *SortBy) GetDirection() OrderDirection
type Sponsor ¶
type Sponsor struct {
Interface Sponsor_Interface
}
func (*Sponsor) MarshalJSON ¶
func (*Sponsor) UnmarshalJSON ¶
type SponsorConnection ¶
type SponsorConnection struct {
// Edges: A list of edges.
Edges []*SponsorEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []Sponsor `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SponsorConnection (OBJECT): The connection type for Sponsor.
func (*SponsorConnection) GetEdges ¶
func (x *SponsorConnection) GetEdges() []*SponsorEdge
func (*SponsorConnection) GetNodes ¶
func (x *SponsorConnection) GetNodes() []Sponsor
func (*SponsorConnection) GetPageInfo ¶
func (x *SponsorConnection) GetPageInfo() *PageInfo
func (*SponsorConnection) GetTotalCount ¶
func (x *SponsorConnection) GetTotalCount() int
type SponsorEdge ¶
type SponsorEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node Sponsor `json:"node,omitempty"`
}
SponsorEdge (OBJECT): Represents a user or organization who is sponsoring someone in GitHub Sponsors.
func (*SponsorEdge) GetCursor ¶
func (x *SponsorEdge) GetCursor() string
func (*SponsorEdge) GetNode ¶
func (x *SponsorEdge) GetNode() Sponsor
type SponsorOrder ¶
type SponsorOrder struct {
// Field: The field to order sponsor entities by.
//
// GraphQL type: SponsorOrderField!
Field SponsorOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorOrder (INPUT_OBJECT): Ordering options for connections to get sponsor entities for GitHub Sponsors.
type SponsorOrderField ¶
type SponsorOrderField string
SponsorOrderField (ENUM): Properties by which sponsor connections can be ordered.
const SponsorOrderField_LOGIN SponsorOrderField = "LOGIN"
SponsorOrderField_LOGIN: Order sponsorable entities by login (username).
const SponsorOrderField_RELEVANCE SponsorOrderField = "RELEVANCE"
SponsorOrderField_RELEVANCE: Order sponsors by their relevance to the viewer.
type Sponsor_Interface ¶
type Sponsor_Interface interface {
// contains filtered or unexported methods
}
Sponsor (UNION): Entities that can sponsor others via GitHub Sponsors. Sponsor_Interface: Entities that can sponsor others via GitHub Sponsors.
Possible types:
- *Organization
- *User
type Sponsorable ¶
type Sponsorable struct {
Interface Sponsorable_Interface
}
func (*Sponsorable) MarshalJSON ¶
func (x *Sponsorable) MarshalJSON() ([]byte, error)
func (*Sponsorable) UnmarshalJSON ¶
func (x *Sponsorable) UnmarshalJSON(js []byte) error
type SponsorableItem ¶
type SponsorableItem struct {
Interface SponsorableItem_Interface
}
func (*SponsorableItem) MarshalJSON ¶
func (x *SponsorableItem) MarshalJSON() ([]byte, error)
func (*SponsorableItem) UnmarshalJSON ¶
func (x *SponsorableItem) UnmarshalJSON(js []byte) error
type SponsorableItemConnection ¶
type SponsorableItemConnection struct {
// Edges: A list of edges.
Edges []*SponsorableItemEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []SponsorableItem `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SponsorableItemConnection (OBJECT): The connection type for SponsorableItem.
func (*SponsorableItemConnection) GetEdges ¶
func (x *SponsorableItemConnection) GetEdges() []*SponsorableItemEdge
func (*SponsorableItemConnection) GetNodes ¶
func (x *SponsorableItemConnection) GetNodes() []SponsorableItem
func (*SponsorableItemConnection) GetPageInfo ¶
func (x *SponsorableItemConnection) GetPageInfo() *PageInfo
func (*SponsorableItemConnection) GetTotalCount ¶
func (x *SponsorableItemConnection) GetTotalCount() int
type SponsorableItemEdge ¶
type SponsorableItemEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node SponsorableItem `json:"node,omitempty"`
}
SponsorableItemEdge (OBJECT): An edge in a connection.
func (*SponsorableItemEdge) GetCursor ¶
func (x *SponsorableItemEdge) GetCursor() string
func (*SponsorableItemEdge) GetNode ¶
func (x *SponsorableItemEdge) GetNode() SponsorableItem
type SponsorableItem_Interface ¶
type SponsorableItem_Interface interface {
// contains filtered or unexported methods
}
SponsorableItem (UNION): Entities that can be sponsored via GitHub Sponsors. SponsorableItem_Interface: Entities that can be sponsored via GitHub Sponsors.
Possible types:
- *Organization
- *User
type SponsorableOrder ¶
type SponsorableOrder struct {
// Field: The field to order sponsorable entities by.
//
// GraphQL type: SponsorableOrderField!
Field SponsorableOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorableOrder (INPUT_OBJECT): Ordering options for connections to get sponsorable entities for GitHub Sponsors.
type SponsorableOrderField ¶
type SponsorableOrderField string
SponsorableOrderField (ENUM): Properties by which sponsorable connections can be ordered.
const SponsorableOrderField_LOGIN SponsorableOrderField = "LOGIN"
SponsorableOrderField_LOGIN: Order sponsorable entities by login (username).
type Sponsorable_Interface ¶
type Sponsorable_Interface interface {
GetEstimatedNextSponsorsPayoutInCents() int
GetHasSponsorsListing() bool
GetIsSponsoredBy() bool
GetIsSponsoringViewer() bool
GetMonthlyEstimatedSponsorsIncomeInCents() int
GetSponsoring() *SponsorConnection
GetSponsors() *SponsorConnection
GetSponsorsActivities() *SponsorsActivityConnection
GetSponsorsListing() *SponsorsListing
GetSponsorshipForViewerAsSponsor() *Sponsorship
GetSponsorshipForViewerAsSponsorable() *Sponsorship
GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
GetSponsorshipsAsMaintainer() *SponsorshipConnection
GetSponsorshipsAsSponsor() *SponsorshipConnection
GetViewerCanSponsor() bool
GetViewerIsSponsoring() bool
// contains filtered or unexported methods
}
Sponsorable (INTERFACE): Entities that can be sponsored through GitHub Sponsors. Sponsorable_Interface: Entities that can be sponsored through GitHub Sponsors.
Possible types:
- *Organization
- *User
type SponsorsActivity ¶
type SponsorsActivity struct {
// Action: What action this activity indicates took place.
Action SponsorsActivityAction `json:"action,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PreviousSponsorsTier: The tier that the sponsorship used to use, for tier change events.
PreviousSponsorsTier *SponsorsTier `json:"previousSponsorsTier,omitempty"`
// Sponsor: The user or organization who triggered this activity and was/is sponsoring the sponsorable.
Sponsor Sponsor `json:"sponsor,omitempty"`
// Sponsorable: The user or organization that is being sponsored, the maintainer.
Sponsorable Sponsorable `json:"sponsorable,omitempty"`
// SponsorsTier: The associated sponsorship tier.
SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
// Timestamp: The timestamp of this event.
Timestamp DateTime `json:"timestamp,omitempty"`
}
SponsorsActivity (OBJECT): An event related to sponsorship activity.
func (*SponsorsActivity) GetAction ¶
func (x *SponsorsActivity) GetAction() SponsorsActivityAction
func (*SponsorsActivity) GetId ¶
func (x *SponsorsActivity) GetId() ID
func (*SponsorsActivity) GetPreviousSponsorsTier ¶
func (x *SponsorsActivity) GetPreviousSponsorsTier() *SponsorsTier
func (*SponsorsActivity) GetSponsor ¶
func (x *SponsorsActivity) GetSponsor() Sponsor
func (*SponsorsActivity) GetSponsorable ¶
func (x *SponsorsActivity) GetSponsorable() Sponsorable
func (*SponsorsActivity) GetSponsorsTier ¶
func (x *SponsorsActivity) GetSponsorsTier() *SponsorsTier
func (*SponsorsActivity) GetTimestamp ¶
func (x *SponsorsActivity) GetTimestamp() DateTime
type SponsorsActivityAction ¶
type SponsorsActivityAction string
SponsorsActivityAction (ENUM): The possible actions that GitHub Sponsors activities can represent.
const SponsorsActivityAction_CANCELLED_SPONSORSHIP SponsorsActivityAction = "CANCELLED_SPONSORSHIP"
SponsorsActivityAction_CANCELLED_SPONSORSHIP: The activity was cancelling a sponsorship.
const SponsorsActivityAction_NEW_SPONSORSHIP SponsorsActivityAction = "NEW_SPONSORSHIP"
SponsorsActivityAction_NEW_SPONSORSHIP: The activity was starting a sponsorship.
const SponsorsActivityAction_PENDING_CHANGE SponsorsActivityAction = "PENDING_CHANGE"
SponsorsActivityAction_PENDING_CHANGE: The activity was scheduling a downgrade or cancellation.
const SponsorsActivityAction_REFUND SponsorsActivityAction = "REFUND"
SponsorsActivityAction_REFUND: The activity was funds being refunded to the sponsor or GitHub.
const SponsorsActivityAction_SPONSOR_MATCH_DISABLED SponsorsActivityAction = "SPONSOR_MATCH_DISABLED"
SponsorsActivityAction_SPONSOR_MATCH_DISABLED: The activity was disabling matching for a previously matched sponsorship.
const SponsorsActivityAction_TIER_CHANGE SponsorsActivityAction = "TIER_CHANGE"
SponsorsActivityAction_TIER_CHANGE: The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change.
type SponsorsActivityConnection ¶
type SponsorsActivityConnection struct {
// Edges: A list of edges.
Edges []*SponsorsActivityEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SponsorsActivity `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SponsorsActivityConnection (OBJECT): The connection type for SponsorsActivity.
func (*SponsorsActivityConnection) GetEdges ¶
func (x *SponsorsActivityConnection) GetEdges() []*SponsorsActivityEdge
func (*SponsorsActivityConnection) GetNodes ¶
func (x *SponsorsActivityConnection) GetNodes() []*SponsorsActivity
func (*SponsorsActivityConnection) GetPageInfo ¶
func (x *SponsorsActivityConnection) GetPageInfo() *PageInfo
func (*SponsorsActivityConnection) GetTotalCount ¶
func (x *SponsorsActivityConnection) GetTotalCount() int
type SponsorsActivityEdge ¶
type SponsorsActivityEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SponsorsActivity `json:"node,omitempty"`
}
SponsorsActivityEdge (OBJECT): An edge in a connection.
func (*SponsorsActivityEdge) GetCursor ¶
func (x *SponsorsActivityEdge) GetCursor() string
func (*SponsorsActivityEdge) GetNode ¶
func (x *SponsorsActivityEdge) GetNode() *SponsorsActivity
type SponsorsActivityOrder ¶
type SponsorsActivityOrder struct {
// Field: The field to order activity by.
//
// GraphQL type: SponsorsActivityOrderField!
Field SponsorsActivityOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorsActivityOrder (INPUT_OBJECT): Ordering options for GitHub Sponsors activity connections.
type SponsorsActivityOrderField ¶
type SponsorsActivityOrderField string
SponsorsActivityOrderField (ENUM): Properties by which GitHub Sponsors activity connections can be ordered.
const SponsorsActivityOrderField_TIMESTAMP SponsorsActivityOrderField = "TIMESTAMP"
SponsorsActivityOrderField_TIMESTAMP: Order activities by when they happened.
type SponsorsActivityPeriod ¶
type SponsorsActivityPeriod string
SponsorsActivityPeriod (ENUM): The possible time periods for which Sponsors activities can be requested.
const SponsorsActivityPeriod_ALL SponsorsActivityPeriod = "ALL"
SponsorsActivityPeriod_ALL: Don't restrict the activity to any date range, include all activity.
const SponsorsActivityPeriod_DAY SponsorsActivityPeriod = "DAY"
SponsorsActivityPeriod_DAY: The previous calendar day.
const SponsorsActivityPeriod_MONTH SponsorsActivityPeriod = "MONTH"
SponsorsActivityPeriod_MONTH: The previous thirty days.
const SponsorsActivityPeriod_WEEK SponsorsActivityPeriod = "WEEK"
SponsorsActivityPeriod_WEEK: The previous seven days.
type SponsorsGoal ¶
type SponsorsGoal struct {
// Description: A description of the goal from the maintainer.
Description string `json:"description,omitempty"`
// Kind: What the objective of this goal is.
Kind SponsorsGoalKind `json:"kind,omitempty"`
// PercentComplete: The percentage representing how complete this goal is, between 0-100.
PercentComplete int `json:"percentComplete,omitempty"`
// TargetValue: What the goal amount is. Represents an amount in USD for monthly sponsorship amount goals. Represents a count of unique sponsors for total sponsors count goals.
TargetValue int `json:"targetValue,omitempty"`
// Title: A brief summary of the kind and target value of this goal.
Title string `json:"title,omitempty"`
}
SponsorsGoal (OBJECT): A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.
func (*SponsorsGoal) GetDescription ¶
func (x *SponsorsGoal) GetDescription() string
func (*SponsorsGoal) GetKind ¶
func (x *SponsorsGoal) GetKind() SponsorsGoalKind
func (*SponsorsGoal) GetPercentComplete ¶
func (x *SponsorsGoal) GetPercentComplete() int
func (*SponsorsGoal) GetTargetValue ¶
func (x *SponsorsGoal) GetTargetValue() int
func (*SponsorsGoal) GetTitle ¶
func (x *SponsorsGoal) GetTitle() string
type SponsorsGoalKind ¶
type SponsorsGoalKind string
SponsorsGoalKind (ENUM): The different kinds of goals a GitHub Sponsors member can have.
const SponsorsGoalKind_MONTHLY_SPONSORSHIP_AMOUNT SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT"
SponsorsGoalKind_MONTHLY_SPONSORSHIP_AMOUNT: The goal is about getting a certain amount in USD from sponsorships each month.
const SponsorsGoalKind_TOTAL_SPONSORS_COUNT SponsorsGoalKind = "TOTAL_SPONSORS_COUNT"
SponsorsGoalKind_TOTAL_SPONSORS_COUNT: The goal is about reaching a certain number of sponsors.
type SponsorsListing ¶
type SponsorsListing struct {
// ActiveGoal: The current goal the maintainer is trying to reach with GitHub Sponsors, if any.
ActiveGoal *SponsorsGoal `json:"activeGoal,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// FullDescription: The full description of the listing.
FullDescription string `json:"fullDescription,omitempty"`
// FullDescriptionHTML: The full description of the listing rendered to HTML.
FullDescriptionHTML template.HTML `json:"fullDescriptionHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsPublic: Whether this listing is publicly visible.
IsPublic bool `json:"isPublic,omitempty"`
// Name: The listing's full name.
Name string `json:"name,omitempty"`
// NextPayoutDate: A future date on which this listing is eligible to receive a payout.
NextPayoutDate Date `json:"nextPayoutDate,omitempty"`
// ShortDescription: The short description of the listing.
ShortDescription string `json:"shortDescription,omitempty"`
// Slug: The short name of the listing.
Slug string `json:"slug,omitempty"`
// Sponsorable: The entity this listing represents who can be sponsored on GitHub Sponsors.
Sponsorable Sponsorable `json:"sponsorable,omitempty"`
// Tiers: The published tiers for this GitHub Sponsors listing.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorsTierOrder
Tiers *SponsorsTierConnection `json:"tiers,omitempty"`
}
SponsorsListing (OBJECT): A GitHub Sponsors listing.
func (*SponsorsListing) GetActiveGoal ¶
func (x *SponsorsListing) GetActiveGoal() *SponsorsGoal
func (*SponsorsListing) GetCreatedAt ¶
func (x *SponsorsListing) GetCreatedAt() DateTime
func (*SponsorsListing) GetFullDescription ¶
func (x *SponsorsListing) GetFullDescription() string
func (*SponsorsListing) GetFullDescriptionHTML ¶
func (x *SponsorsListing) GetFullDescriptionHTML() template.HTML
func (*SponsorsListing) GetId ¶
func (x *SponsorsListing) GetId() ID
func (*SponsorsListing) GetIsPublic ¶
func (x *SponsorsListing) GetIsPublic() bool
func (*SponsorsListing) GetName ¶
func (x *SponsorsListing) GetName() string
func (*SponsorsListing) GetNextPayoutDate ¶
func (x *SponsorsListing) GetNextPayoutDate() Date
func (*SponsorsListing) GetShortDescription ¶
func (x *SponsorsListing) GetShortDescription() string
func (*SponsorsListing) GetSlug ¶
func (x *SponsorsListing) GetSlug() string
func (*SponsorsListing) GetSponsorable ¶
func (x *SponsorsListing) GetSponsorable() Sponsorable
func (*SponsorsListing) GetTiers ¶
func (x *SponsorsListing) GetTiers() *SponsorsTierConnection
type SponsorsTier ¶
type SponsorsTier struct {
// AdminInfo: SponsorsTier information only visible to users that can administer the associated Sponsors listing.
AdminInfo *SponsorsTierAdminInfo `json:"adminInfo,omitempty"`
// ClosestLesserValueTier: Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over.
ClosestLesserValueTier *SponsorsTier `json:"closestLesserValueTier,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Description: The description of the tier.
Description string `json:"description,omitempty"`
// DescriptionHTML: The tier description rendered to HTML.
DescriptionHTML template.HTML `json:"descriptionHTML,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCustomAmount: Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing.
IsCustomAmount bool `json:"isCustomAmount,omitempty"`
// IsOneTime: Whether this tier is only for use with one-time sponsorships.
IsOneTime bool `json:"isOneTime,omitempty"`
// MonthlyPriceInCents: How much this tier costs per month in cents.
MonthlyPriceInCents int `json:"monthlyPriceInCents,omitempty"`
// MonthlyPriceInDollars: How much this tier costs per month in USD.
MonthlyPriceInDollars int `json:"monthlyPriceInDollars,omitempty"`
// Name: The name of the tier.
Name string `json:"name,omitempty"`
// SponsorsListing: The sponsors listing that this tier belongs to.
SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
SponsorsTier (OBJECT): A GitHub Sponsors tier associated with a GitHub Sponsors listing.
func (*SponsorsTier) GetAdminInfo ¶
func (x *SponsorsTier) GetAdminInfo() *SponsorsTierAdminInfo
func (*SponsorsTier) GetClosestLesserValueTier ¶
func (x *SponsorsTier) GetClosestLesserValueTier() *SponsorsTier
func (*SponsorsTier) GetCreatedAt ¶
func (x *SponsorsTier) GetCreatedAt() DateTime
func (*SponsorsTier) GetDescription ¶
func (x *SponsorsTier) GetDescription() string
func (*SponsorsTier) GetDescriptionHTML ¶
func (x *SponsorsTier) GetDescriptionHTML() template.HTML
func (*SponsorsTier) GetId ¶
func (x *SponsorsTier) GetId() ID
func (*SponsorsTier) GetIsCustomAmount ¶
func (x *SponsorsTier) GetIsCustomAmount() bool
func (*SponsorsTier) GetIsOneTime ¶
func (x *SponsorsTier) GetIsOneTime() bool
func (*SponsorsTier) GetMonthlyPriceInCents ¶
func (x *SponsorsTier) GetMonthlyPriceInCents() int
func (*SponsorsTier) GetMonthlyPriceInDollars ¶
func (x *SponsorsTier) GetMonthlyPriceInDollars() int
func (*SponsorsTier) GetName ¶
func (x *SponsorsTier) GetName() string
func (*SponsorsTier) GetSponsorsListing ¶
func (x *SponsorsTier) GetSponsorsListing() *SponsorsListing
func (*SponsorsTier) GetUpdatedAt ¶
func (x *SponsorsTier) GetUpdatedAt() DateTime
type SponsorsTierAdminInfo ¶
type SponsorsTierAdminInfo struct {
// Sponsorships: The sponsorships associated with this tier.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - includePrivate Boolean
// - orderBy SponsorshipOrder
Sponsorships *SponsorshipConnection `json:"sponsorships,omitempty"`
}
SponsorsTierAdminInfo (OBJECT): SponsorsTier information only visible to users that can administer the associated Sponsors listing.
func (*SponsorsTierAdminInfo) GetSponsorships ¶
func (x *SponsorsTierAdminInfo) GetSponsorships() *SponsorshipConnection
type SponsorsTierConnection ¶
type SponsorsTierConnection struct {
// Edges: A list of edges.
Edges []*SponsorsTierEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SponsorsTier `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SponsorsTierConnection (OBJECT): The connection type for SponsorsTier.
func (*SponsorsTierConnection) GetEdges ¶
func (x *SponsorsTierConnection) GetEdges() []*SponsorsTierEdge
func (*SponsorsTierConnection) GetNodes ¶
func (x *SponsorsTierConnection) GetNodes() []*SponsorsTier
func (*SponsorsTierConnection) GetPageInfo ¶
func (x *SponsorsTierConnection) GetPageInfo() *PageInfo
func (*SponsorsTierConnection) GetTotalCount ¶
func (x *SponsorsTierConnection) GetTotalCount() int
type SponsorsTierEdge ¶
type SponsorsTierEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SponsorsTier `json:"node,omitempty"`
}
SponsorsTierEdge (OBJECT): An edge in a connection.
func (*SponsorsTierEdge) GetCursor ¶
func (x *SponsorsTierEdge) GetCursor() string
func (*SponsorsTierEdge) GetNode ¶
func (x *SponsorsTierEdge) GetNode() *SponsorsTier
type SponsorsTierOrder ¶
type SponsorsTierOrder struct {
// Field: The field to order tiers by.
//
// GraphQL type: SponsorsTierOrderField!
Field SponsorsTierOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorsTierOrder (INPUT_OBJECT): Ordering options for Sponsors tiers connections.
type SponsorsTierOrderField ¶
type SponsorsTierOrderField string
SponsorsTierOrderField (ENUM): Properties by which Sponsors tiers connections can be ordered.
const SponsorsTierOrderField_CREATED_AT SponsorsTierOrderField = "CREATED_AT"
SponsorsTierOrderField_CREATED_AT: Order tiers by creation time.
const SponsorsTierOrderField_MONTHLY_PRICE_IN_CENTS SponsorsTierOrderField = "MONTHLY_PRICE_IN_CENTS"
SponsorsTierOrderField_MONTHLY_PRICE_IN_CENTS: Order tiers by their monthly price in cents.
type Sponsorship ¶
type Sponsorship struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsOneTimePayment: Whether this sponsorship represents a one-time payment versus a recurring sponsorship.
IsOneTimePayment bool `json:"isOneTimePayment,omitempty"`
// IsSponsorOptedIntoEmail: Check if the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this.
IsSponsorOptedIntoEmail bool `json:"isSponsorOptedIntoEmail,omitempty"`
// Maintainer: The entity that is being sponsored.
//
// Deprecated: The entity that is being sponsored.
Maintainer *User `json:"maintainer,omitempty"`
// PrivacyLevel: The privacy level for this sponsorship.
PrivacyLevel SponsorshipPrivacy `json:"privacyLevel,omitempty"`
// Sponsor: The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.
//
// Deprecated: The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.
Sponsor *User `json:"sponsor,omitempty"`
// SponsorEntity: The user or organization that is sponsoring, if you have permission to view them.
SponsorEntity Sponsor `json:"sponsorEntity,omitempty"`
// Sponsorable: The entity that is being sponsored.
Sponsorable Sponsorable `json:"sponsorable,omitempty"`
// Tier: The associated sponsorship tier.
Tier *SponsorsTier `json:"tier,omitempty"`
// TierSelectedAt: Identifies the date and time when the current tier was chosen for this sponsorship.
TierSelectedAt DateTime `json:"tierSelectedAt,omitempty"`
}
Sponsorship (OBJECT): A sponsorship relationship between a sponsor and a maintainer.
func (*Sponsorship) GetCreatedAt ¶
func (x *Sponsorship) GetCreatedAt() DateTime
func (*Sponsorship) GetId ¶
func (x *Sponsorship) GetId() ID
func (*Sponsorship) GetIsOneTimePayment ¶
func (x *Sponsorship) GetIsOneTimePayment() bool
func (*Sponsorship) GetIsSponsorOptedIntoEmail ¶
func (x *Sponsorship) GetIsSponsorOptedIntoEmail() bool
func (*Sponsorship) GetMaintainer ¶
func (x *Sponsorship) GetMaintainer() *User
func (*Sponsorship) GetPrivacyLevel ¶
func (x *Sponsorship) GetPrivacyLevel() SponsorshipPrivacy
func (*Sponsorship) GetSponsor ¶
func (x *Sponsorship) GetSponsor() *User
func (*Sponsorship) GetSponsorEntity ¶
func (x *Sponsorship) GetSponsorEntity() Sponsor
func (*Sponsorship) GetSponsorable ¶
func (x *Sponsorship) GetSponsorable() Sponsorable
func (*Sponsorship) GetTier ¶
func (x *Sponsorship) GetTier() *SponsorsTier
func (*Sponsorship) GetTierSelectedAt ¶
func (x *Sponsorship) GetTierSelectedAt() DateTime
type SponsorshipConnection ¶
type SponsorshipConnection struct {
// Edges: A list of edges.
Edges []*SponsorshipEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Sponsorship `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
// TotalRecurringMonthlyPriceInCents: The total amount in cents of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.
TotalRecurringMonthlyPriceInCents int `json:"totalRecurringMonthlyPriceInCents,omitempty"`
// TotalRecurringMonthlyPriceInDollars: The total amount in USD of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.
TotalRecurringMonthlyPriceInDollars int `json:"totalRecurringMonthlyPriceInDollars,omitempty"`
}
SponsorshipConnection (OBJECT): The connection type for Sponsorship.
func (*SponsorshipConnection) GetEdges ¶
func (x *SponsorshipConnection) GetEdges() []*SponsorshipEdge
func (*SponsorshipConnection) GetNodes ¶
func (x *SponsorshipConnection) GetNodes() []*Sponsorship
func (*SponsorshipConnection) GetPageInfo ¶
func (x *SponsorshipConnection) GetPageInfo() *PageInfo
func (*SponsorshipConnection) GetTotalCount ¶
func (x *SponsorshipConnection) GetTotalCount() int
func (*SponsorshipConnection) GetTotalRecurringMonthlyPriceInCents ¶
func (x *SponsorshipConnection) GetTotalRecurringMonthlyPriceInCents() int
func (*SponsorshipConnection) GetTotalRecurringMonthlyPriceInDollars ¶
func (x *SponsorshipConnection) GetTotalRecurringMonthlyPriceInDollars() int
type SponsorshipEdge ¶
type SponsorshipEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Sponsorship `json:"node,omitempty"`
}
SponsorshipEdge (OBJECT): An edge in a connection.
func (*SponsorshipEdge) GetCursor ¶
func (x *SponsorshipEdge) GetCursor() string
func (*SponsorshipEdge) GetNode ¶
func (x *SponsorshipEdge) GetNode() *Sponsorship
type SponsorshipNewsletter ¶
type SponsorshipNewsletter struct {
// Body: The contents of the newsletter, the message the sponsorable wanted to give.
Body string `json:"body,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsPublished: Indicates if the newsletter has been made available to sponsors.
IsPublished bool `json:"isPublished,omitempty"`
// Sponsorable: The user or organization this newsletter is from.
Sponsorable Sponsorable `json:"sponsorable,omitempty"`
// Subject: The subject of the newsletter, what it's about.
Subject string `json:"subject,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
SponsorshipNewsletter (OBJECT): An update sent to sponsors of a user or organization on GitHub Sponsors.
func (*SponsorshipNewsletter) GetBody ¶
func (x *SponsorshipNewsletter) GetBody() string
func (*SponsorshipNewsletter) GetCreatedAt ¶
func (x *SponsorshipNewsletter) GetCreatedAt() DateTime
func (*SponsorshipNewsletter) GetId ¶
func (x *SponsorshipNewsletter) GetId() ID
func (*SponsorshipNewsletter) GetIsPublished ¶
func (x *SponsorshipNewsletter) GetIsPublished() bool
func (*SponsorshipNewsletter) GetSponsorable ¶
func (x *SponsorshipNewsletter) GetSponsorable() Sponsorable
func (*SponsorshipNewsletter) GetSubject ¶
func (x *SponsorshipNewsletter) GetSubject() string
func (*SponsorshipNewsletter) GetUpdatedAt ¶
func (x *SponsorshipNewsletter) GetUpdatedAt() DateTime
type SponsorshipNewsletterConnection ¶
type SponsorshipNewsletterConnection struct {
// Edges: A list of edges.
Edges []*SponsorshipNewsletterEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*SponsorshipNewsletter `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SponsorshipNewsletterConnection (OBJECT): The connection type for SponsorshipNewsletter.
func (*SponsorshipNewsletterConnection) GetEdges ¶
func (x *SponsorshipNewsletterConnection) GetEdges() []*SponsorshipNewsletterEdge
func (*SponsorshipNewsletterConnection) GetNodes ¶
func (x *SponsorshipNewsletterConnection) GetNodes() []*SponsorshipNewsletter
func (*SponsorshipNewsletterConnection) GetPageInfo ¶
func (x *SponsorshipNewsletterConnection) GetPageInfo() *PageInfo
func (*SponsorshipNewsletterConnection) GetTotalCount ¶
func (x *SponsorshipNewsletterConnection) GetTotalCount() int
type SponsorshipNewsletterEdge ¶
type SponsorshipNewsletterEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *SponsorshipNewsletter `json:"node,omitempty"`
}
SponsorshipNewsletterEdge (OBJECT): An edge in a connection.
func (*SponsorshipNewsletterEdge) GetCursor ¶
func (x *SponsorshipNewsletterEdge) GetCursor() string
func (*SponsorshipNewsletterEdge) GetNode ¶
func (x *SponsorshipNewsletterEdge) GetNode() *SponsorshipNewsletter
type SponsorshipNewsletterOrder ¶
type SponsorshipNewsletterOrder struct {
// Field: The field to order sponsorship newsletters by.
//
// GraphQL type: SponsorshipNewsletterOrderField!
Field SponsorshipNewsletterOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorshipNewsletterOrder (INPUT_OBJECT): Ordering options for sponsorship newsletter connections.
type SponsorshipNewsletterOrderField ¶
type SponsorshipNewsletterOrderField string
SponsorshipNewsletterOrderField (ENUM): Properties by which sponsorship update connections can be ordered.
const SponsorshipNewsletterOrderField_CREATED_AT SponsorshipNewsletterOrderField = "CREATED_AT"
SponsorshipNewsletterOrderField_CREATED_AT: Order sponsorship newsletters by when they were created.
type SponsorshipOrder ¶
type SponsorshipOrder struct {
// Field: The field to order sponsorship by.
//
// GraphQL type: SponsorshipOrderField!
Field SponsorshipOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
SponsorshipOrder (INPUT_OBJECT): Ordering options for sponsorship connections.
type SponsorshipOrderField ¶
type SponsorshipOrderField string
SponsorshipOrderField (ENUM): Properties by which sponsorship connections can be ordered.
const SponsorshipOrderField_CREATED_AT SponsorshipOrderField = "CREATED_AT"
SponsorshipOrderField_CREATED_AT: Order sponsorship by creation time.
type SponsorshipPrivacy ¶
type SponsorshipPrivacy string
SponsorshipPrivacy (ENUM): The privacy of a sponsorship.
const SponsorshipPrivacy_PRIVATE SponsorshipPrivacy = "PRIVATE"
SponsorshipPrivacy_PRIVATE: Private.
const SponsorshipPrivacy_PUBLIC SponsorshipPrivacy = "PUBLIC"
SponsorshipPrivacy_PUBLIC: Public.
type StarOrder ¶
type StarOrder struct {
// Field: The field in which to order nodes by.
//
// GraphQL type: StarOrderField!
Field StarOrderField `json:"field,omitempty"`
// Direction: The direction in which to order nodes.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
StarOrder (INPUT_OBJECT): Ways in which star connections can be ordered.
type StarOrderField ¶
type StarOrderField string
StarOrderField (ENUM): Properties by which star connections can be ordered.
const StarOrderField_STARRED_AT StarOrderField = "STARRED_AT"
StarOrderField_STARRED_AT: Allows ordering a list of stars by when they were created.
type StargazerConnection ¶
type StargazerConnection struct {
// Edges: A list of edges.
Edges []*StargazerEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
StargazerConnection (OBJECT): The connection type for User.
func (*StargazerConnection) GetEdges ¶
func (x *StargazerConnection) GetEdges() []*StargazerEdge
func (*StargazerConnection) GetNodes ¶
func (x *StargazerConnection) GetNodes() []*User
func (*StargazerConnection) GetPageInfo ¶
func (x *StargazerConnection) GetPageInfo() *PageInfo
func (*StargazerConnection) GetTotalCount ¶
func (x *StargazerConnection) GetTotalCount() int
type StargazerEdge ¶
type StargazerEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *User `json:"node,omitempty"`
// StarredAt: Identifies when the item was starred.
StarredAt DateTime `json:"starredAt,omitempty"`
}
StargazerEdge (OBJECT): Represents a user that's starred a repository.
func (*StargazerEdge) GetCursor ¶
func (x *StargazerEdge) GetCursor() string
func (*StargazerEdge) GetNode ¶
func (x *StargazerEdge) GetNode() *User
func (*StargazerEdge) GetStarredAt ¶
func (x *StargazerEdge) GetStarredAt() DateTime
type Starrable ¶
type Starrable struct {
Interface Starrable_Interface
}
func (*Starrable) MarshalJSON ¶
func (*Starrable) UnmarshalJSON ¶
type Starrable_Interface ¶
type Starrable_Interface interface {
GetId() ID
GetStargazerCount() int
GetStargazers() *StargazerConnection
GetViewerHasStarred() bool
// contains filtered or unexported methods
}
Starrable (INTERFACE): Things that can be starred. Starrable_Interface: Things that can be starred.
Possible types:
- *Gist
- *Repository
- *Topic
type StarredRepositoryConnection ¶
type StarredRepositoryConnection struct {
// Edges: A list of edges.
Edges []*StarredRepositoryEdge `json:"edges,omitempty"`
// IsOverLimit: Is the list of stars for this user truncated? This is true for users that have many stars.
IsOverLimit bool `json:"isOverLimit,omitempty"`
// Nodes: A list of nodes.
Nodes []*Repository `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
StarredRepositoryConnection (OBJECT): The connection type for Repository.
func (*StarredRepositoryConnection) GetEdges ¶
func (x *StarredRepositoryConnection) GetEdges() []*StarredRepositoryEdge
func (*StarredRepositoryConnection) GetIsOverLimit ¶
func (x *StarredRepositoryConnection) GetIsOverLimit() bool
func (*StarredRepositoryConnection) GetNodes ¶
func (x *StarredRepositoryConnection) GetNodes() []*Repository
func (*StarredRepositoryConnection) GetPageInfo ¶
func (x *StarredRepositoryConnection) GetPageInfo() *PageInfo
func (*StarredRepositoryConnection) GetTotalCount ¶
func (x *StarredRepositoryConnection) GetTotalCount() int
type StarredRepositoryEdge ¶
type StarredRepositoryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *Repository `json:"node,omitempty"`
// StarredAt: Identifies when the item was starred.
StarredAt DateTime `json:"starredAt,omitempty"`
}
StarredRepositoryEdge (OBJECT): Represents a starred repository.
func (*StarredRepositoryEdge) GetCursor ¶
func (x *StarredRepositoryEdge) GetCursor() string
func (*StarredRepositoryEdge) GetNode ¶
func (x *StarredRepositoryEdge) GetNode() *Repository
func (*StarredRepositoryEdge) GetStarredAt ¶
func (x *StarredRepositoryEdge) GetStarredAt() DateTime
type StartRepositoryMigrationInput ¶
type StartRepositoryMigrationInput struct {
// SourceId: The ID of the Octoshift migration source.
//
// GraphQL type: ID!
SourceId ID `json:"sourceId,omitempty"`
// OwnerId: The ID of the organization that will own the imported repository.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// SourceRepositoryUrl: The Octoshift migration source repository URL.
//
// GraphQL type: URI!
SourceRepositoryUrl URI `json:"sourceRepositoryUrl,omitempty"`
// RepositoryName: The name of the imported repository.
//
// GraphQL type: String!
RepositoryName string `json:"repositoryName,omitempty"`
// ContinueOnError: Whether to continue the migration on error.
//
// GraphQL type: Boolean
ContinueOnError bool `json:"continueOnError,omitempty"`
// GitArchiveUrl: The signed URL to access the user-uploaded git archive.
//
// GraphQL type: String
GitArchiveUrl string `json:"gitArchiveUrl,omitempty"`
// MetadataArchiveUrl: The signed URL to access the user-uploaded metadata archive.
//
// GraphQL type: String
MetadataArchiveUrl string `json:"metadataArchiveUrl,omitempty"`
// AccessToken: The Octoshift migration source access token.
//
// GraphQL type: String!
AccessToken string `json:"accessToken,omitempty"`
// GithubPat: The GitHub personal access token of the user importing to the target repository.
//
// GraphQL type: String
GithubPat string `json:"githubPat,omitempty"`
// SkipReleases: Whether to skip migrating releases for the repository.
//
// GraphQL type: Boolean
SkipReleases bool `json:"skipReleases,omitempty"`
// TargetRepoVisibility: The visibility of the imported repository.
//
// GraphQL type: String
TargetRepoVisibility string `json:"targetRepoVisibility,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
StartRepositoryMigrationInput (INPUT_OBJECT): Autogenerated input type of StartRepositoryMigration.
type StartRepositoryMigrationPayload ¶
type StartRepositoryMigrationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// RepositoryMigration: The new Octoshift repository migration.
RepositoryMigration *RepositoryMigration `json:"repositoryMigration,omitempty"`
}
StartRepositoryMigrationPayload (OBJECT): Autogenerated return type of StartRepositoryMigration.
func (*StartRepositoryMigrationPayload) GetClientMutationId ¶
func (x *StartRepositoryMigrationPayload) GetClientMutationId() string
func (*StartRepositoryMigrationPayload) GetRepositoryMigration ¶
func (x *StartRepositoryMigrationPayload) GetRepositoryMigration() *RepositoryMigration
type Status ¶
type Status struct {
// CombinedContexts: A list of status contexts and check runs for this commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
CombinedContexts *StatusCheckRollupContextConnection `json:"combinedContexts,omitempty"`
// Commit: The commit this status is attached to.
Commit *Commit `json:"commit,omitempty"`
// Context: Looks up an individual status context by context name.
//
// Query arguments:
// - name String!
Context *StatusContext `json:"context,omitempty"`
// Contexts: The individual status contexts for this commit.
Contexts []*StatusContext `json:"contexts,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// State: The combined commit status.
State StatusState `json:"state,omitempty"`
}
Status (OBJECT): Represents a commit status.
func (*Status) GetCombinedContexts ¶
func (x *Status) GetCombinedContexts() *StatusCheckRollupContextConnection
func (*Status) GetContext ¶
func (x *Status) GetContext() *StatusContext
func (*Status) GetContexts ¶
func (x *Status) GetContexts() []*StatusContext
func (*Status) GetState ¶
func (x *Status) GetState() StatusState
type StatusCheckRollup ¶
type StatusCheckRollup struct {
// Commit: The commit the status and check runs are attached to.
Commit *Commit `json:"commit,omitempty"`
// Contexts: A list of status contexts and check runs for this commit.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Contexts *StatusCheckRollupContextConnection `json:"contexts,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// State: The combined status for the commit.
State StatusState `json:"state,omitempty"`
}
StatusCheckRollup (OBJECT): Represents the rollup for both the check runs and status for a commit.
func (*StatusCheckRollup) GetCommit ¶
func (x *StatusCheckRollup) GetCommit() *Commit
func (*StatusCheckRollup) GetContexts ¶
func (x *StatusCheckRollup) GetContexts() *StatusCheckRollupContextConnection
func (*StatusCheckRollup) GetId ¶
func (x *StatusCheckRollup) GetId() ID
func (*StatusCheckRollup) GetState ¶
func (x *StatusCheckRollup) GetState() StatusState
type StatusCheckRollupContext ¶
type StatusCheckRollupContext struct {
Interface StatusCheckRollupContext_Interface
}
func (*StatusCheckRollupContext) MarshalJSON ¶
func (x *StatusCheckRollupContext) MarshalJSON() ([]byte, error)
func (*StatusCheckRollupContext) UnmarshalJSON ¶
func (x *StatusCheckRollupContext) UnmarshalJSON(js []byte) error
type StatusCheckRollupContextConnection ¶
type StatusCheckRollupContextConnection struct {
// Edges: A list of edges.
Edges []*StatusCheckRollupContextEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []StatusCheckRollupContext `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
StatusCheckRollupContextConnection (OBJECT): The connection type for StatusCheckRollupContext.
func (*StatusCheckRollupContextConnection) GetEdges ¶
func (x *StatusCheckRollupContextConnection) GetEdges() []*StatusCheckRollupContextEdge
func (*StatusCheckRollupContextConnection) GetNodes ¶
func (x *StatusCheckRollupContextConnection) GetNodes() []StatusCheckRollupContext
func (*StatusCheckRollupContextConnection) GetPageInfo ¶
func (x *StatusCheckRollupContextConnection) GetPageInfo() *PageInfo
func (*StatusCheckRollupContextConnection) GetTotalCount ¶
func (x *StatusCheckRollupContextConnection) GetTotalCount() int
type StatusCheckRollupContextEdge ¶
type StatusCheckRollupContextEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node StatusCheckRollupContext `json:"node,omitempty"`
}
StatusCheckRollupContextEdge (OBJECT): An edge in a connection.
func (*StatusCheckRollupContextEdge) GetCursor ¶
func (x *StatusCheckRollupContextEdge) GetCursor() string
func (*StatusCheckRollupContextEdge) GetNode ¶
func (x *StatusCheckRollupContextEdge) GetNode() StatusCheckRollupContext
type StatusCheckRollupContext_Interface ¶
type StatusCheckRollupContext_Interface interface {
// contains filtered or unexported methods
}
StatusCheckRollupContext (UNION): Types that can be inside a StatusCheckRollup context. StatusCheckRollupContext_Interface: Types that can be inside a StatusCheckRollup context.
Possible types:
- *CheckRun
- *StatusContext
type StatusContext ¶
type StatusContext struct {
// AvatarUrl: The avatar of the OAuth application or the user that created the status.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// Commit: This commit this status context is attached to.
Commit *Commit `json:"commit,omitempty"`
// Context: The name of this status context.
Context string `json:"context,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Creator: The actor who created this status context.
Creator Actor `json:"creator,omitempty"`
// Description: The description for this status context.
Description string `json:"description,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsRequired: Whether this is required to pass before merging for a specific pull request.
//
// Query arguments:
// - pullRequestId ID
// - pullRequestNumber Int
IsRequired bool `json:"isRequired,omitempty"`
// State: The state of this status context.
State StatusState `json:"state,omitempty"`
// TargetUrl: The URL for this status context.
TargetUrl URI `json:"targetUrl,omitempty"`
}
StatusContext (OBJECT): Represents an individual commit status context.
func (*StatusContext) GetAvatarUrl ¶
func (x *StatusContext) GetAvatarUrl() URI
func (*StatusContext) GetCommit ¶
func (x *StatusContext) GetCommit() *Commit
func (*StatusContext) GetContext ¶
func (x *StatusContext) GetContext() string
func (*StatusContext) GetCreatedAt ¶
func (x *StatusContext) GetCreatedAt() DateTime
func (*StatusContext) GetCreator ¶
func (x *StatusContext) GetCreator() Actor
func (*StatusContext) GetDescription ¶
func (x *StatusContext) GetDescription() string
func (*StatusContext) GetId ¶
func (x *StatusContext) GetId() ID
func (*StatusContext) GetIsRequired ¶
func (x *StatusContext) GetIsRequired() bool
func (*StatusContext) GetState ¶
func (x *StatusContext) GetState() StatusState
func (*StatusContext) GetTargetUrl ¶
func (x *StatusContext) GetTargetUrl() URI
type StatusState ¶
type StatusState string
StatusState (ENUM): The possible commit status states.
const StatusState_ERROR StatusState = "ERROR"
StatusState_ERROR: Status is errored.
const StatusState_EXPECTED StatusState = "EXPECTED"
StatusState_EXPECTED: Status is expected.
const StatusState_FAILURE StatusState = "FAILURE"
StatusState_FAILURE: Status is failing.
const StatusState_PENDING StatusState = "PENDING"
StatusState_PENDING: Status is pending.
const StatusState_SUCCESS StatusState = "SUCCESS"
StatusState_SUCCESS: Status is successful.
type String ¶
type String string
String (SCALAR): Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.
type SubmitPullRequestReviewInput ¶
type SubmitPullRequestReviewInput struct {
// PullRequestId: The Pull Request ID to submit any pending reviews.
//
// GraphQL type: ID
PullRequestId ID `json:"pullRequestId,omitempty"`
// PullRequestReviewId: The Pull Request Review ID to submit.
//
// GraphQL type: ID
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// Event: The event to send to the Pull Request Review.
//
// GraphQL type: PullRequestReviewEvent!
Event PullRequestReviewEvent `json:"event,omitempty"`
// Body: The text field to set on the Pull Request Review.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
SubmitPullRequestReviewInput (INPUT_OBJECT): Autogenerated input type of SubmitPullRequestReview.
type SubmitPullRequestReviewPayload ¶
type SubmitPullRequestReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The submitted pull request review.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}
SubmitPullRequestReviewPayload (OBJECT): Autogenerated return type of SubmitPullRequestReview.
func (*SubmitPullRequestReviewPayload) GetClientMutationId ¶
func (x *SubmitPullRequestReviewPayload) GetClientMutationId() string
func (*SubmitPullRequestReviewPayload) GetPullRequestReview ¶
func (x *SubmitPullRequestReviewPayload) GetPullRequestReview() *PullRequestReview
type Submodule ¶
type Submodule struct {
// Branch: The branch of the upstream submodule for tracking updates.
Branch string `json:"branch,omitempty"`
// GitUrl: The git URL of the submodule repository.
GitUrl URI `json:"gitUrl,omitempty"`
// Name: The name of the submodule in .gitmodules.
Name string `json:"name,omitempty"`
// Path: The path in the superproject that this submodule is located in.
Path string `json:"path,omitempty"`
// SubprojectCommitOid: The commit revision of the subproject repository being tracked by the submodule.
SubprojectCommitOid GitObjectID `json:"subprojectCommitOid,omitempty"`
}
Submodule (OBJECT): A pointer to a repository at a specific revision embedded inside another repository.
func (*Submodule) GetSubprojectCommitOid ¶
func (x *Submodule) GetSubprojectCommitOid() GitObjectID
type SubmoduleConnection ¶
type SubmoduleConnection struct {
// Edges: A list of edges.
Edges []*SubmoduleEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Submodule `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
SubmoduleConnection (OBJECT): The connection type for Submodule.
func (*SubmoduleConnection) GetEdges ¶
func (x *SubmoduleConnection) GetEdges() []*SubmoduleEdge
func (*SubmoduleConnection) GetNodes ¶
func (x *SubmoduleConnection) GetNodes() []*Submodule
func (*SubmoduleConnection) GetPageInfo ¶
func (x *SubmoduleConnection) GetPageInfo() *PageInfo
func (*SubmoduleConnection) GetTotalCount ¶
func (x *SubmoduleConnection) GetTotalCount() int
type SubmoduleEdge ¶
type SubmoduleEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Submodule `json:"node,omitempty"`
}
SubmoduleEdge (OBJECT): An edge in a connection.
func (*SubmoduleEdge) GetCursor ¶
func (x *SubmoduleEdge) GetCursor() string
func (*SubmoduleEdge) GetNode ¶
func (x *SubmoduleEdge) GetNode() *Submodule
type Subscribable ¶
type Subscribable struct {
Interface Subscribable_Interface
}
func (*Subscribable) MarshalJSON ¶
func (x *Subscribable) MarshalJSON() ([]byte, error)
func (*Subscribable) UnmarshalJSON ¶
func (x *Subscribable) UnmarshalJSON(js []byte) error
type Subscribable_Interface ¶
type Subscribable_Interface interface {
GetId() ID
GetViewerCanSubscribe() bool
GetViewerSubscription() SubscriptionState
// contains filtered or unexported methods
}
Subscribable (INTERFACE): Entities that can be subscribed to for web and email notifications. Subscribable_Interface: Entities that can be subscribed to for web and email notifications.
Possible types:
- *Commit
- *Discussion
- *Issue
- *PullRequest
- *Repository
- *Team
- *TeamDiscussion
type SubscribedEvent ¶
type SubscribedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Subscribable: Object referenced by event.
Subscribable Subscribable `json:"subscribable,omitempty"`
}
SubscribedEvent (OBJECT): Represents a 'subscribed' event on a given `Subscribable`.
func (*SubscribedEvent) GetActor ¶
func (x *SubscribedEvent) GetActor() Actor
func (*SubscribedEvent) GetCreatedAt ¶
func (x *SubscribedEvent) GetCreatedAt() DateTime
func (*SubscribedEvent) GetId ¶
func (x *SubscribedEvent) GetId() ID
func (*SubscribedEvent) GetSubscribable ¶
func (x *SubscribedEvent) GetSubscribable() Subscribable
type SubscriptionState ¶
type SubscriptionState string
SubscriptionState (ENUM): The possible states of a subscription.
const SubscriptionState_IGNORED SubscriptionState = "IGNORED"
SubscriptionState_IGNORED: The User is never notified.
const SubscriptionState_SUBSCRIBED SubscriptionState = "SUBSCRIBED"
SubscriptionState_SUBSCRIBED: The User is notified of all conversations.
const SubscriptionState_UNSUBSCRIBED SubscriptionState = "UNSUBSCRIBED"
SubscriptionState_UNSUBSCRIBED: The User is only notified when participating or @mentioned.
type SuggestedReviewer ¶
type SuggestedReviewer struct {
// IsAuthor: Is this suggestion based on past commits?.
IsAuthor bool `json:"isAuthor,omitempty"`
// IsCommenter: Is this suggestion based on past review comments?.
IsCommenter bool `json:"isCommenter,omitempty"`
// Reviewer: Identifies the user suggested to review the pull request.
Reviewer *User `json:"reviewer,omitempty"`
}
SuggestedReviewer (OBJECT): A suggestion to review a pull request based on a user's commit history and review comments.
func (*SuggestedReviewer) GetIsAuthor ¶
func (x *SuggestedReviewer) GetIsAuthor() bool
func (*SuggestedReviewer) GetIsCommenter ¶
func (x *SuggestedReviewer) GetIsCommenter() bool
func (*SuggestedReviewer) GetReviewer ¶
func (x *SuggestedReviewer) GetReviewer() *User
type Tag ¶
type Tag struct {
// AbbreviatedOid: An abbreviated version of the Git object ID.
AbbreviatedOid string `json:"abbreviatedOid,omitempty"`
// CommitResourcePath: The HTTP path for this Git object.
CommitResourcePath URI `json:"commitResourcePath,omitempty"`
// CommitUrl: The HTTP URL for this Git object.
CommitUrl URI `json:"commitUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Message: The Git tag message.
Message string `json:"message,omitempty"`
// Name: The Git tag name.
Name string `json:"name,omitempty"`
// Oid: The Git object ID.
Oid GitObjectID `json:"oid,omitempty"`
// Repository: The Repository the Git object belongs to.
Repository *Repository `json:"repository,omitempty"`
// Tagger: Details about the tag author.
Tagger *GitActor `json:"tagger,omitempty"`
// Target: The Git object the tag points to.
Target GitObject `json:"target,omitempty"`
}
Tag (OBJECT): Represents a Git tag.
func (*Tag) GetAbbreviatedOid ¶
func (*Tag) GetCommitResourcePath ¶
func (*Tag) GetCommitUrl ¶
func (*Tag) GetMessage ¶
func (*Tag) GetOid ¶
func (x *Tag) GetOid() GitObjectID
func (*Tag) GetRepository ¶
func (x *Tag) GetRepository() *Repository
type Team ¶
type Team struct {
// Ancestors: A list of teams that are ancestors of this team.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Ancestors *TeamConnection `json:"ancestors,omitempty"`
// AvatarUrl: A URL pointing to the team's avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// ChildTeams: List of child teams belonging to this team.
//
// Query arguments:
// - orderBy TeamOrder
// - userLogins [String!]
// - immediateOnly Boolean
// - after String
// - before String
// - first Int
// - last Int
ChildTeams *TeamConnection `json:"childTeams,omitempty"`
// CombinedSlug: The slug corresponding to the organization and team.
CombinedSlug string `json:"combinedSlug,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Description: The description of the team.
Description string `json:"description,omitempty"`
// Discussion: Find a team discussion by its number.
//
// Query arguments:
// - number Int!
Discussion *TeamDiscussion `json:"discussion,omitempty"`
// Discussions: A list of team discussions.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - isPinned Boolean
// - orderBy TeamDiscussionOrder
Discussions *TeamDiscussionConnection `json:"discussions,omitempty"`
// DiscussionsResourcePath: The HTTP path for team discussions.
DiscussionsResourcePath URI `json:"discussionsResourcePath,omitempty"`
// DiscussionsUrl: The HTTP URL for team discussions.
DiscussionsUrl URI `json:"discussionsUrl,omitempty"`
// EditTeamResourcePath: The HTTP path for editing this team.
EditTeamResourcePath URI `json:"editTeamResourcePath,omitempty"`
// EditTeamUrl: The HTTP URL for editing this team.
EditTeamUrl URI `json:"editTeamUrl,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Invitations: A list of pending invitations for users to this team.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Invitations *OrganizationInvitationConnection `json:"invitations,omitempty"`
// MemberStatuses: Get the status messages members of this entity have set that are either public or visible only to the organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy UserStatusOrder
MemberStatuses *UserStatusConnection `json:"memberStatuses,omitempty"`
// Members: A list of users who are members of this team.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - membership TeamMembershipType
// - role TeamMemberRole
// - orderBy TeamMemberOrder
Members *TeamMemberConnection `json:"members,omitempty"`
// MembersResourcePath: The HTTP path for the team' members.
MembersResourcePath URI `json:"membersResourcePath,omitempty"`
// MembersUrl: The HTTP URL for the team' members.
MembersUrl URI `json:"membersUrl,omitempty"`
// Name: The name of the team.
Name string `json:"name,omitempty"`
// NewTeamResourcePath: The HTTP path creating a new team.
NewTeamResourcePath URI `json:"newTeamResourcePath,omitempty"`
// NewTeamUrl: The HTTP URL creating a new team.
NewTeamUrl URI `json:"newTeamUrl,omitempty"`
// Organization: The organization that owns this team.
Organization *Organization `json:"organization,omitempty"`
// ParentTeam: The parent team of the team.
ParentTeam *Team `json:"parentTeam,omitempty"`
// Privacy: The level of privacy the team has.
Privacy TeamPrivacy `json:"privacy,omitempty"`
// Repositories: A list of repositories this team has access to.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy TeamRepositoryOrder
Repositories *TeamRepositoryConnection `json:"repositories,omitempty"`
// RepositoriesResourcePath: The HTTP path for this team's repositories.
RepositoriesResourcePath URI `json:"repositoriesResourcePath,omitempty"`
// RepositoriesUrl: The HTTP URL for this team's repositories.
RepositoriesUrl URI `json:"repositoriesUrl,omitempty"`
// ResourcePath: The HTTP path for this team.
ResourcePath URI `json:"resourcePath,omitempty"`
// Slug: The slug corresponding to the team.
Slug string `json:"slug,omitempty"`
// TeamsResourcePath: The HTTP path for this team's teams.
TeamsResourcePath URI `json:"teamsResourcePath,omitempty"`
// TeamsUrl: The HTTP URL for this team's teams.
TeamsUrl URI `json:"teamsUrl,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this team.
Url URI `json:"url,omitempty"`
// ViewerCanAdminister: Team is adminable by the viewer.
ViewerCanAdminister bool `json:"viewerCanAdminister,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
}
Team (OBJECT): A team of users in an organization.
func (*Team) GetAncestors ¶
func (x *Team) GetAncestors() *TeamConnection
func (*Team) GetAvatarUrl ¶
func (*Team) GetChildTeams ¶
func (x *Team) GetChildTeams() *TeamConnection
func (*Team) GetCombinedSlug ¶
func (*Team) GetCreatedAt ¶
func (*Team) GetDatabaseId ¶
func (*Team) GetDescription ¶
func (*Team) GetDiscussion ¶
func (x *Team) GetDiscussion() *TeamDiscussion
func (*Team) GetDiscussions ¶
func (x *Team) GetDiscussions() *TeamDiscussionConnection
func (*Team) GetDiscussionsResourcePath ¶
func (*Team) GetDiscussionsUrl ¶
func (*Team) GetEditTeamResourcePath ¶
func (*Team) GetEditTeamUrl ¶
func (*Team) GetInvitations ¶
func (x *Team) GetInvitations() *OrganizationInvitationConnection
func (*Team) GetMemberStatuses ¶
func (x *Team) GetMemberStatuses() *UserStatusConnection
func (*Team) GetMembers ¶
func (x *Team) GetMembers() *TeamMemberConnection
func (*Team) GetMembersResourcePath ¶
func (*Team) GetMembersUrl ¶
func (*Team) GetNewTeamResourcePath ¶
func (*Team) GetNewTeamUrl ¶
func (*Team) GetOrganization ¶
func (x *Team) GetOrganization() *Organization
func (*Team) GetParentTeam ¶
func (*Team) GetPrivacy ¶
func (x *Team) GetPrivacy() TeamPrivacy
func (*Team) GetRepositories ¶
func (x *Team) GetRepositories() *TeamRepositoryConnection
func (*Team) GetRepositoriesResourcePath ¶
func (*Team) GetRepositoriesUrl ¶
func (*Team) GetResourcePath ¶
func (*Team) GetTeamsResourcePath ¶
func (*Team) GetTeamsUrl ¶
func (*Team) GetUpdatedAt ¶
func (*Team) GetViewerCanAdminister ¶
func (*Team) GetViewerCanSubscribe ¶
func (*Team) GetViewerSubscription ¶
func (x *Team) GetViewerSubscription() SubscriptionState
type TeamAddMemberAuditEntry ¶
type TeamAddMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsLdapMapped: Whether the team was mapped to an LDAP Group.
IsLdapMapped bool `json:"isLdapMapped,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
TeamAddMemberAuditEntry (OBJECT): Audit log entry for a team.add_member event.
func (*TeamAddMemberAuditEntry) GetAction ¶
func (x *TeamAddMemberAuditEntry) GetAction() string
func (*TeamAddMemberAuditEntry) GetActor ¶
func (x *TeamAddMemberAuditEntry) GetActor() AuditEntryActor
func (*TeamAddMemberAuditEntry) GetActorIp ¶
func (x *TeamAddMemberAuditEntry) GetActorIp() string
func (*TeamAddMemberAuditEntry) GetActorLocation ¶
func (x *TeamAddMemberAuditEntry) GetActorLocation() *ActorLocation
func (*TeamAddMemberAuditEntry) GetActorLogin ¶
func (x *TeamAddMemberAuditEntry) GetActorLogin() string
func (*TeamAddMemberAuditEntry) GetActorResourcePath ¶
func (x *TeamAddMemberAuditEntry) GetActorResourcePath() URI
func (*TeamAddMemberAuditEntry) GetActorUrl ¶
func (x *TeamAddMemberAuditEntry) GetActorUrl() URI
func (*TeamAddMemberAuditEntry) GetCreatedAt ¶
func (x *TeamAddMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*TeamAddMemberAuditEntry) GetId ¶
func (x *TeamAddMemberAuditEntry) GetId() ID
func (*TeamAddMemberAuditEntry) GetIsLdapMapped ¶
func (x *TeamAddMemberAuditEntry) GetIsLdapMapped() bool
func (*TeamAddMemberAuditEntry) GetOperationType ¶
func (x *TeamAddMemberAuditEntry) GetOperationType() OperationType
func (*TeamAddMemberAuditEntry) GetOrganization ¶
func (x *TeamAddMemberAuditEntry) GetOrganization() *Organization
func (*TeamAddMemberAuditEntry) GetOrganizationName ¶
func (x *TeamAddMemberAuditEntry) GetOrganizationName() string
func (*TeamAddMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *TeamAddMemberAuditEntry) GetOrganizationResourcePath() URI
func (*TeamAddMemberAuditEntry) GetOrganizationUrl ¶
func (x *TeamAddMemberAuditEntry) GetOrganizationUrl() URI
func (*TeamAddMemberAuditEntry) GetTeam ¶
func (x *TeamAddMemberAuditEntry) GetTeam() *Team
func (*TeamAddMemberAuditEntry) GetTeamName ¶
func (x *TeamAddMemberAuditEntry) GetTeamName() string
func (*TeamAddMemberAuditEntry) GetTeamResourcePath ¶
func (x *TeamAddMemberAuditEntry) GetTeamResourcePath() URI
func (*TeamAddMemberAuditEntry) GetTeamUrl ¶
func (x *TeamAddMemberAuditEntry) GetTeamUrl() URI
func (*TeamAddMemberAuditEntry) GetUser ¶
func (x *TeamAddMemberAuditEntry) GetUser() *User
func (*TeamAddMemberAuditEntry) GetUserLogin ¶
func (x *TeamAddMemberAuditEntry) GetUserLogin() string
func (*TeamAddMemberAuditEntry) GetUserResourcePath ¶
func (x *TeamAddMemberAuditEntry) GetUserResourcePath() URI
func (*TeamAddMemberAuditEntry) GetUserUrl ¶
func (x *TeamAddMemberAuditEntry) GetUserUrl() URI
type TeamAddRepositoryAuditEntry ¶
type TeamAddRepositoryAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsLdapMapped: Whether the team was mapped to an LDAP Group.
IsLdapMapped bool `json:"isLdapMapped,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
TeamAddRepositoryAuditEntry (OBJECT): Audit log entry for a team.add_repository event.
func (*TeamAddRepositoryAuditEntry) GetAction ¶
func (x *TeamAddRepositoryAuditEntry) GetAction() string
func (*TeamAddRepositoryAuditEntry) GetActor ¶
func (x *TeamAddRepositoryAuditEntry) GetActor() AuditEntryActor
func (*TeamAddRepositoryAuditEntry) GetActorIp ¶
func (x *TeamAddRepositoryAuditEntry) GetActorIp() string
func (*TeamAddRepositoryAuditEntry) GetActorLocation ¶
func (x *TeamAddRepositoryAuditEntry) GetActorLocation() *ActorLocation
func (*TeamAddRepositoryAuditEntry) GetActorLogin ¶
func (x *TeamAddRepositoryAuditEntry) GetActorLogin() string
func (*TeamAddRepositoryAuditEntry) GetActorResourcePath ¶
func (x *TeamAddRepositoryAuditEntry) GetActorResourcePath() URI
func (*TeamAddRepositoryAuditEntry) GetActorUrl ¶
func (x *TeamAddRepositoryAuditEntry) GetActorUrl() URI
func (*TeamAddRepositoryAuditEntry) GetCreatedAt ¶
func (x *TeamAddRepositoryAuditEntry) GetCreatedAt() PreciseDateTime
func (*TeamAddRepositoryAuditEntry) GetId ¶
func (x *TeamAddRepositoryAuditEntry) GetId() ID
func (*TeamAddRepositoryAuditEntry) GetIsLdapMapped ¶
func (x *TeamAddRepositoryAuditEntry) GetIsLdapMapped() bool
func (*TeamAddRepositoryAuditEntry) GetOperationType ¶
func (x *TeamAddRepositoryAuditEntry) GetOperationType() OperationType
func (*TeamAddRepositoryAuditEntry) GetOrganization ¶
func (x *TeamAddRepositoryAuditEntry) GetOrganization() *Organization
func (*TeamAddRepositoryAuditEntry) GetOrganizationName ¶
func (x *TeamAddRepositoryAuditEntry) GetOrganizationName() string
func (*TeamAddRepositoryAuditEntry) GetOrganizationResourcePath ¶
func (x *TeamAddRepositoryAuditEntry) GetOrganizationResourcePath() URI
func (*TeamAddRepositoryAuditEntry) GetOrganizationUrl ¶
func (x *TeamAddRepositoryAuditEntry) GetOrganizationUrl() URI
func (*TeamAddRepositoryAuditEntry) GetRepository ¶
func (x *TeamAddRepositoryAuditEntry) GetRepository() *Repository
func (*TeamAddRepositoryAuditEntry) GetRepositoryName ¶
func (x *TeamAddRepositoryAuditEntry) GetRepositoryName() string
func (*TeamAddRepositoryAuditEntry) GetRepositoryResourcePath ¶
func (x *TeamAddRepositoryAuditEntry) GetRepositoryResourcePath() URI
func (*TeamAddRepositoryAuditEntry) GetRepositoryUrl ¶
func (x *TeamAddRepositoryAuditEntry) GetRepositoryUrl() URI
func (*TeamAddRepositoryAuditEntry) GetTeam ¶
func (x *TeamAddRepositoryAuditEntry) GetTeam() *Team
func (*TeamAddRepositoryAuditEntry) GetTeamName ¶
func (x *TeamAddRepositoryAuditEntry) GetTeamName() string
func (*TeamAddRepositoryAuditEntry) GetTeamResourcePath ¶
func (x *TeamAddRepositoryAuditEntry) GetTeamResourcePath() URI
func (*TeamAddRepositoryAuditEntry) GetTeamUrl ¶
func (x *TeamAddRepositoryAuditEntry) GetTeamUrl() URI
func (*TeamAddRepositoryAuditEntry) GetUser ¶
func (x *TeamAddRepositoryAuditEntry) GetUser() *User
func (*TeamAddRepositoryAuditEntry) GetUserLogin ¶
func (x *TeamAddRepositoryAuditEntry) GetUserLogin() string
func (*TeamAddRepositoryAuditEntry) GetUserResourcePath ¶
func (x *TeamAddRepositoryAuditEntry) GetUserResourcePath() URI
func (*TeamAddRepositoryAuditEntry) GetUserUrl ¶
func (x *TeamAddRepositoryAuditEntry) GetUserUrl() URI
type TeamAuditEntryData ¶
type TeamAuditEntryData struct {
Interface TeamAuditEntryData_Interface
}
func (*TeamAuditEntryData) MarshalJSON ¶
func (x *TeamAuditEntryData) MarshalJSON() ([]byte, error)
func (*TeamAuditEntryData) UnmarshalJSON ¶
func (x *TeamAuditEntryData) UnmarshalJSON(js []byte) error
type TeamAuditEntryData_Interface ¶
type TeamAuditEntryData_Interface interface {
GetTeam() *Team
GetTeamName() string
GetTeamResourcePath() URI
GetTeamUrl() URI
// contains filtered or unexported methods
}
TeamAuditEntryData (INTERFACE): Metadata for an audit entry with action team.*. TeamAuditEntryData_Interface: Metadata for an audit entry with action team.*.
Possible types:
- *OrgRestoreMemberMembershipTeamAuditEntryData
- *TeamAddMemberAuditEntry
- *TeamAddRepositoryAuditEntry
- *TeamChangeParentTeamAuditEntry
- *TeamRemoveMemberAuditEntry
- *TeamRemoveRepositoryAuditEntry
type TeamChangeParentTeamAuditEntry ¶
type TeamChangeParentTeamAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsLdapMapped: Whether the team was mapped to an LDAP Group.
IsLdapMapped bool `json:"isLdapMapped,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// ParentTeam: The new parent team.
ParentTeam *Team `json:"parentTeam,omitempty"`
// ParentTeamName: The name of the new parent team.
ParentTeamName string `json:"parentTeamName,omitempty"`
// ParentTeamNameWas: The name of the former parent team.
ParentTeamNameWas string `json:"parentTeamNameWas,omitempty"`
// ParentTeamResourcePath: The HTTP path for the parent team.
ParentTeamResourcePath URI `json:"parentTeamResourcePath,omitempty"`
// ParentTeamUrl: The HTTP URL for the parent team.
ParentTeamUrl URI `json:"parentTeamUrl,omitempty"`
// ParentTeamWas: The former parent team.
ParentTeamWas *Team `json:"parentTeamWas,omitempty"`
// ParentTeamWasResourcePath: The HTTP path for the previous parent team.
ParentTeamWasResourcePath URI `json:"parentTeamWasResourcePath,omitempty"`
// ParentTeamWasUrl: The HTTP URL for the previous parent team.
ParentTeamWasUrl URI `json:"parentTeamWasUrl,omitempty"`
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
TeamChangeParentTeamAuditEntry (OBJECT): Audit log entry for a team.change_parent_team event.
func (*TeamChangeParentTeamAuditEntry) GetAction ¶
func (x *TeamChangeParentTeamAuditEntry) GetAction() string
func (*TeamChangeParentTeamAuditEntry) GetActor ¶
func (x *TeamChangeParentTeamAuditEntry) GetActor() AuditEntryActor
func (*TeamChangeParentTeamAuditEntry) GetActorIp ¶
func (x *TeamChangeParentTeamAuditEntry) GetActorIp() string
func (*TeamChangeParentTeamAuditEntry) GetActorLocation ¶
func (x *TeamChangeParentTeamAuditEntry) GetActorLocation() *ActorLocation
func (*TeamChangeParentTeamAuditEntry) GetActorLogin ¶
func (x *TeamChangeParentTeamAuditEntry) GetActorLogin() string
func (*TeamChangeParentTeamAuditEntry) GetActorResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetActorResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetActorUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetActorUrl() URI
func (*TeamChangeParentTeamAuditEntry) GetCreatedAt ¶
func (x *TeamChangeParentTeamAuditEntry) GetCreatedAt() PreciseDateTime
func (*TeamChangeParentTeamAuditEntry) GetId ¶
func (x *TeamChangeParentTeamAuditEntry) GetId() ID
func (*TeamChangeParentTeamAuditEntry) GetIsLdapMapped ¶
func (x *TeamChangeParentTeamAuditEntry) GetIsLdapMapped() bool
func (*TeamChangeParentTeamAuditEntry) GetOperationType ¶
func (x *TeamChangeParentTeamAuditEntry) GetOperationType() OperationType
func (*TeamChangeParentTeamAuditEntry) GetOrganization ¶
func (x *TeamChangeParentTeamAuditEntry) GetOrganization() *Organization
func (*TeamChangeParentTeamAuditEntry) GetOrganizationName ¶
func (x *TeamChangeParentTeamAuditEntry) GetOrganizationName() string
func (*TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetOrganizationUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetOrganizationUrl() URI
func (*TeamChangeParentTeamAuditEntry) GetParentTeam ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeam() *Team
func (*TeamChangeParentTeamAuditEntry) GetParentTeamName ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamName() string
func (*TeamChangeParentTeamAuditEntry) GetParentTeamNameWas ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamNameWas() string
func (*TeamChangeParentTeamAuditEntry) GetParentTeamResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetParentTeamUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamUrl() URI
func (*TeamChangeParentTeamAuditEntry) GetParentTeamWas ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWas() *Team
func (*TeamChangeParentTeamAuditEntry) GetParentTeamWasResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWasResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetParentTeamWasUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetParentTeamWasUrl() URI
func (*TeamChangeParentTeamAuditEntry) GetTeam ¶
func (x *TeamChangeParentTeamAuditEntry) GetTeam() *Team
func (*TeamChangeParentTeamAuditEntry) GetTeamName ¶
func (x *TeamChangeParentTeamAuditEntry) GetTeamName() string
func (*TeamChangeParentTeamAuditEntry) GetTeamResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetTeamResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetTeamUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetTeamUrl() URI
func (*TeamChangeParentTeamAuditEntry) GetUser ¶
func (x *TeamChangeParentTeamAuditEntry) GetUser() *User
func (*TeamChangeParentTeamAuditEntry) GetUserLogin ¶
func (x *TeamChangeParentTeamAuditEntry) GetUserLogin() string
func (*TeamChangeParentTeamAuditEntry) GetUserResourcePath ¶
func (x *TeamChangeParentTeamAuditEntry) GetUserResourcePath() URI
func (*TeamChangeParentTeamAuditEntry) GetUserUrl ¶
func (x *TeamChangeParentTeamAuditEntry) GetUserUrl() URI
type TeamConnection ¶
type TeamConnection struct {
// Edges: A list of edges.
Edges []*TeamEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Team `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
TeamConnection (OBJECT): The connection type for Team.
func (*TeamConnection) GetEdges ¶
func (x *TeamConnection) GetEdges() []*TeamEdge
func (*TeamConnection) GetNodes ¶
func (x *TeamConnection) GetNodes() []*Team
func (*TeamConnection) GetPageInfo ¶
func (x *TeamConnection) GetPageInfo() *PageInfo
func (*TeamConnection) GetTotalCount ¶
func (x *TeamConnection) GetTotalCount() int
type TeamDiscussion ¶
type TeamDiscussion struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the discussion's team.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The body as Markdown.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// BodyVersion: Identifies the discussion body hash.
BodyVersion string `json:"bodyVersion,omitempty"`
// Comments: A list of comments on this discussion.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy TeamDiscussionCommentOrder
// - fromComment Int
Comments *TeamDiscussionCommentConnection `json:"comments,omitempty"`
// CommentsResourcePath: The HTTP path for discussion comments.
CommentsResourcePath URI `json:"commentsResourcePath,omitempty"`
// CommentsUrl: The HTTP URL for discussion comments.
CommentsUrl URI `json:"commentsUrl,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// IsPinned: Whether or not the discussion is pinned.
IsPinned bool `json:"isPinned,omitempty"`
// IsPrivate: Whether or not the discussion is only visible to team members and org admins.
IsPrivate bool `json:"isPrivate,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// Number: Identifies the discussion within its team.
Number int `json:"number,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// ResourcePath: The HTTP path for this discussion.
ResourcePath URI `json:"resourcePath,omitempty"`
// Team: The team that defines the context of this discussion.
Team *Team `json:"team,omitempty"`
// Title: The title of the discussion.
Title string `json:"title,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this discussion.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanPin: Whether or not the current viewer can pin this discussion.
ViewerCanPin bool `json:"viewerCanPin,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanSubscribe: Check if the viewer is able to change their subscription status for the repository.
ViewerCanSubscribe bool `json:"viewerCanSubscribe,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
// ViewerSubscription: Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
ViewerSubscription SubscriptionState `json:"viewerSubscription,omitempty"`
}
TeamDiscussion (OBJECT): A team discussion.
func (*TeamDiscussion) GetAuthor ¶
func (x *TeamDiscussion) GetAuthor() Actor
func (*TeamDiscussion) GetAuthorAssociation ¶
func (x *TeamDiscussion) GetAuthorAssociation() CommentAuthorAssociation
func (*TeamDiscussion) GetBody ¶
func (x *TeamDiscussion) GetBody() string
func (*TeamDiscussion) GetBodyHTML ¶
func (x *TeamDiscussion) GetBodyHTML() template.HTML
func (*TeamDiscussion) GetBodyText ¶
func (x *TeamDiscussion) GetBodyText() string
func (*TeamDiscussion) GetBodyVersion ¶
func (x *TeamDiscussion) GetBodyVersion() string
func (*TeamDiscussion) GetComments ¶
func (x *TeamDiscussion) GetComments() *TeamDiscussionCommentConnection
func (*TeamDiscussion) GetCommentsResourcePath ¶
func (x *TeamDiscussion) GetCommentsResourcePath() URI
func (*TeamDiscussion) GetCommentsUrl ¶
func (x *TeamDiscussion) GetCommentsUrl() URI
func (*TeamDiscussion) GetCreatedAt ¶
func (x *TeamDiscussion) GetCreatedAt() DateTime
func (*TeamDiscussion) GetCreatedViaEmail ¶
func (x *TeamDiscussion) GetCreatedViaEmail() bool
func (*TeamDiscussion) GetDatabaseId ¶
func (x *TeamDiscussion) GetDatabaseId() int
func (*TeamDiscussion) GetEditor ¶
func (x *TeamDiscussion) GetEditor() Actor
func (*TeamDiscussion) GetId ¶
func (x *TeamDiscussion) GetId() ID
func (*TeamDiscussion) GetIncludesCreatedEdit ¶
func (x *TeamDiscussion) GetIncludesCreatedEdit() bool
func (*TeamDiscussion) GetIsPinned ¶
func (x *TeamDiscussion) GetIsPinned() bool
func (*TeamDiscussion) GetIsPrivate ¶
func (x *TeamDiscussion) GetIsPrivate() bool
func (*TeamDiscussion) GetLastEditedAt ¶
func (x *TeamDiscussion) GetLastEditedAt() DateTime
func (*TeamDiscussion) GetNumber ¶
func (x *TeamDiscussion) GetNumber() int
func (*TeamDiscussion) GetPublishedAt ¶
func (x *TeamDiscussion) GetPublishedAt() DateTime
func (*TeamDiscussion) GetReactionGroups ¶
func (x *TeamDiscussion) GetReactionGroups() []*ReactionGroup
func (*TeamDiscussion) GetReactions ¶
func (x *TeamDiscussion) GetReactions() *ReactionConnection
func (*TeamDiscussion) GetResourcePath ¶
func (x *TeamDiscussion) GetResourcePath() URI
func (*TeamDiscussion) GetTeam ¶
func (x *TeamDiscussion) GetTeam() *Team
func (*TeamDiscussion) GetTitle ¶
func (x *TeamDiscussion) GetTitle() string
func (*TeamDiscussion) GetUpdatedAt ¶
func (x *TeamDiscussion) GetUpdatedAt() DateTime
func (*TeamDiscussion) GetUrl ¶
func (x *TeamDiscussion) GetUrl() URI
func (*TeamDiscussion) GetUserContentEdits ¶
func (x *TeamDiscussion) GetUserContentEdits() *UserContentEditConnection
func (*TeamDiscussion) GetViewerCanDelete ¶
func (x *TeamDiscussion) GetViewerCanDelete() bool
func (*TeamDiscussion) GetViewerCanPin ¶
func (x *TeamDiscussion) GetViewerCanPin() bool
func (*TeamDiscussion) GetViewerCanReact ¶
func (x *TeamDiscussion) GetViewerCanReact() bool
func (*TeamDiscussion) GetViewerCanSubscribe ¶
func (x *TeamDiscussion) GetViewerCanSubscribe() bool
func (*TeamDiscussion) GetViewerCanUpdate ¶
func (x *TeamDiscussion) GetViewerCanUpdate() bool
func (*TeamDiscussion) GetViewerCannotUpdateReasons ¶
func (x *TeamDiscussion) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*TeamDiscussion) GetViewerDidAuthor ¶
func (x *TeamDiscussion) GetViewerDidAuthor() bool
func (*TeamDiscussion) GetViewerSubscription ¶
func (x *TeamDiscussion) GetViewerSubscription() SubscriptionState
type TeamDiscussionComment ¶
type TeamDiscussionComment struct {
// Author: The actor who authored the comment.
Author Actor `json:"author,omitempty"`
// AuthorAssociation: Author's association with the comment's team.
AuthorAssociation CommentAuthorAssociation `json:"authorAssociation,omitempty"`
// Body: The body as Markdown.
Body string `json:"body,omitempty"`
// BodyHTML: The body rendered to HTML.
BodyHTML template.HTML `json:"bodyHTML,omitempty"`
// BodyText: The body rendered to text.
BodyText string `json:"bodyText,omitempty"`
// BodyVersion: The current version of the body content.
BodyVersion string `json:"bodyVersion,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// CreatedViaEmail: Check if this comment was created via an email reply.
CreatedViaEmail bool `json:"createdViaEmail,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Discussion: The discussion this comment is about.
Discussion *TeamDiscussion `json:"discussion,omitempty"`
// Editor: The actor who edited the comment.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IncludesCreatedEdit: Check if this comment was edited and includes an edit with the creation data.
IncludesCreatedEdit bool `json:"includesCreatedEdit,omitempty"`
// LastEditedAt: The moment the editor made the last edit.
LastEditedAt DateTime `json:"lastEditedAt,omitempty"`
// Number: Identifies the comment number.
Number int `json:"number,omitempty"`
// PublishedAt: Identifies when the comment was published at.
PublishedAt DateTime `json:"publishedAt,omitempty"`
// ReactionGroups: A list of reactions grouped by content left on the subject.
ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
// Reactions: A list of Reactions left on the Issue.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - content ReactionContent
// - orderBy ReactionOrder
Reactions *ReactionConnection `json:"reactions,omitempty"`
// ResourcePath: The HTTP path for this comment.
ResourcePath URI `json:"resourcePath,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this comment.
Url URI `json:"url,omitempty"`
// UserContentEdits: A list of edits to this content.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
// ViewerCanDelete: Check if the current viewer can delete this object.
ViewerCanDelete bool `json:"viewerCanDelete,omitempty"`
// ViewerCanReact: Can user react to this subject.
ViewerCanReact bool `json:"viewerCanReact,omitempty"`
// ViewerCanUpdate: Check if the current viewer can update this object.
ViewerCanUpdate bool `json:"viewerCanUpdate,omitempty"`
// ViewerCannotUpdateReasons: Reasons why the current viewer can not update this comment.
ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons,omitempty"`
// ViewerDidAuthor: Did the viewer author this comment.
ViewerDidAuthor bool `json:"viewerDidAuthor,omitempty"`
}
TeamDiscussionComment (OBJECT): A comment on a team discussion.
func (*TeamDiscussionComment) GetAuthor ¶
func (x *TeamDiscussionComment) GetAuthor() Actor
func (*TeamDiscussionComment) GetAuthorAssociation ¶
func (x *TeamDiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
func (*TeamDiscussionComment) GetBody ¶
func (x *TeamDiscussionComment) GetBody() string
func (*TeamDiscussionComment) GetBodyHTML ¶
func (x *TeamDiscussionComment) GetBodyHTML() template.HTML
func (*TeamDiscussionComment) GetBodyText ¶
func (x *TeamDiscussionComment) GetBodyText() string
func (*TeamDiscussionComment) GetBodyVersion ¶
func (x *TeamDiscussionComment) GetBodyVersion() string
func (*TeamDiscussionComment) GetCreatedAt ¶
func (x *TeamDiscussionComment) GetCreatedAt() DateTime
func (*TeamDiscussionComment) GetCreatedViaEmail ¶
func (x *TeamDiscussionComment) GetCreatedViaEmail() bool
func (*TeamDiscussionComment) GetDatabaseId ¶
func (x *TeamDiscussionComment) GetDatabaseId() int
func (*TeamDiscussionComment) GetDiscussion ¶
func (x *TeamDiscussionComment) GetDiscussion() *TeamDiscussion
func (*TeamDiscussionComment) GetEditor ¶
func (x *TeamDiscussionComment) GetEditor() Actor
func (*TeamDiscussionComment) GetId ¶
func (x *TeamDiscussionComment) GetId() ID
func (*TeamDiscussionComment) GetIncludesCreatedEdit ¶
func (x *TeamDiscussionComment) GetIncludesCreatedEdit() bool
func (*TeamDiscussionComment) GetLastEditedAt ¶
func (x *TeamDiscussionComment) GetLastEditedAt() DateTime
func (*TeamDiscussionComment) GetNumber ¶
func (x *TeamDiscussionComment) GetNumber() int
func (*TeamDiscussionComment) GetPublishedAt ¶
func (x *TeamDiscussionComment) GetPublishedAt() DateTime
func (*TeamDiscussionComment) GetReactionGroups ¶
func (x *TeamDiscussionComment) GetReactionGroups() []*ReactionGroup
func (*TeamDiscussionComment) GetReactions ¶
func (x *TeamDiscussionComment) GetReactions() *ReactionConnection
func (*TeamDiscussionComment) GetResourcePath ¶
func (x *TeamDiscussionComment) GetResourcePath() URI
func (*TeamDiscussionComment) GetUpdatedAt ¶
func (x *TeamDiscussionComment) GetUpdatedAt() DateTime
func (*TeamDiscussionComment) GetUrl ¶
func (x *TeamDiscussionComment) GetUrl() URI
func (*TeamDiscussionComment) GetUserContentEdits ¶
func (x *TeamDiscussionComment) GetUserContentEdits() *UserContentEditConnection
func (*TeamDiscussionComment) GetViewerCanDelete ¶
func (x *TeamDiscussionComment) GetViewerCanDelete() bool
func (*TeamDiscussionComment) GetViewerCanReact ¶
func (x *TeamDiscussionComment) GetViewerCanReact() bool
func (*TeamDiscussionComment) GetViewerCanUpdate ¶
func (x *TeamDiscussionComment) GetViewerCanUpdate() bool
func (*TeamDiscussionComment) GetViewerCannotUpdateReasons ¶
func (x *TeamDiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
func (*TeamDiscussionComment) GetViewerDidAuthor ¶
func (x *TeamDiscussionComment) GetViewerDidAuthor() bool
type TeamDiscussionCommentConnection ¶
type TeamDiscussionCommentConnection struct {
// Edges: A list of edges.
Edges []*TeamDiscussionCommentEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*TeamDiscussionComment `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
TeamDiscussionCommentConnection (OBJECT): The connection type for TeamDiscussionComment.
func (*TeamDiscussionCommentConnection) GetEdges ¶
func (x *TeamDiscussionCommentConnection) GetEdges() []*TeamDiscussionCommentEdge
func (*TeamDiscussionCommentConnection) GetNodes ¶
func (x *TeamDiscussionCommentConnection) GetNodes() []*TeamDiscussionComment
func (*TeamDiscussionCommentConnection) GetPageInfo ¶
func (x *TeamDiscussionCommentConnection) GetPageInfo() *PageInfo
func (*TeamDiscussionCommentConnection) GetTotalCount ¶
func (x *TeamDiscussionCommentConnection) GetTotalCount() int
type TeamDiscussionCommentEdge ¶
type TeamDiscussionCommentEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *TeamDiscussionComment `json:"node,omitempty"`
}
TeamDiscussionCommentEdge (OBJECT): An edge in a connection.
func (*TeamDiscussionCommentEdge) GetCursor ¶
func (x *TeamDiscussionCommentEdge) GetCursor() string
func (*TeamDiscussionCommentEdge) GetNode ¶
func (x *TeamDiscussionCommentEdge) GetNode() *TeamDiscussionComment
type TeamDiscussionCommentOrder ¶
type TeamDiscussionCommentOrder struct {
// Field: The field by which to order nodes.
//
// GraphQL type: TeamDiscussionCommentOrderField!
Field TeamDiscussionCommentOrderField `json:"field,omitempty"`
// Direction: The direction in which to order nodes.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
TeamDiscussionCommentOrder (INPUT_OBJECT): Ways in which team discussion comment connections can be ordered.
type TeamDiscussionCommentOrderField ¶
type TeamDiscussionCommentOrderField string
TeamDiscussionCommentOrderField (ENUM): Properties by which team discussion comment connections can be ordered.
const TeamDiscussionCommentOrderField_NUMBER TeamDiscussionCommentOrderField = "NUMBER"
TeamDiscussionCommentOrderField_NUMBER: Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).
type TeamDiscussionConnection ¶
type TeamDiscussionConnection struct {
// Edges: A list of edges.
Edges []*TeamDiscussionEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*TeamDiscussion `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
TeamDiscussionConnection (OBJECT): The connection type for TeamDiscussion.
func (*TeamDiscussionConnection) GetEdges ¶
func (x *TeamDiscussionConnection) GetEdges() []*TeamDiscussionEdge
func (*TeamDiscussionConnection) GetNodes ¶
func (x *TeamDiscussionConnection) GetNodes() []*TeamDiscussion
func (*TeamDiscussionConnection) GetPageInfo ¶
func (x *TeamDiscussionConnection) GetPageInfo() *PageInfo
func (*TeamDiscussionConnection) GetTotalCount ¶
func (x *TeamDiscussionConnection) GetTotalCount() int
type TeamDiscussionEdge ¶
type TeamDiscussionEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *TeamDiscussion `json:"node,omitempty"`
}
TeamDiscussionEdge (OBJECT): An edge in a connection.
func (*TeamDiscussionEdge) GetCursor ¶
func (x *TeamDiscussionEdge) GetCursor() string
func (*TeamDiscussionEdge) GetNode ¶
func (x *TeamDiscussionEdge) GetNode() *TeamDiscussion
type TeamDiscussionOrder ¶
type TeamDiscussionOrder struct {
// Field: The field by which to order nodes.
//
// GraphQL type: TeamDiscussionOrderField!
Field TeamDiscussionOrderField `json:"field,omitempty"`
// Direction: The direction in which to order nodes.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
TeamDiscussionOrder (INPUT_OBJECT): Ways in which team discussion connections can be ordered.
type TeamDiscussionOrderField ¶
type TeamDiscussionOrderField string
TeamDiscussionOrderField (ENUM): Properties by which team discussion connections can be ordered.
const TeamDiscussionOrderField_CREATED_AT TeamDiscussionOrderField = "CREATED_AT"
TeamDiscussionOrderField_CREATED_AT: Allows chronological ordering of team discussions.
type TeamEdge ¶
type TeamEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *Team `json:"node,omitempty"`
}
TeamEdge (OBJECT): An edge in a connection.
type TeamMemberConnection ¶
type TeamMemberConnection struct {
// Edges: A list of edges.
Edges []*TeamMemberEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
TeamMemberConnection (OBJECT): The connection type for User.
func (*TeamMemberConnection) GetEdges ¶
func (x *TeamMemberConnection) GetEdges() []*TeamMemberEdge
func (*TeamMemberConnection) GetNodes ¶
func (x *TeamMemberConnection) GetNodes() []*User
func (*TeamMemberConnection) GetPageInfo ¶
func (x *TeamMemberConnection) GetPageInfo() *PageInfo
func (*TeamMemberConnection) GetTotalCount ¶
func (x *TeamMemberConnection) GetTotalCount() int
type TeamMemberEdge ¶
type TeamMemberEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// MemberAccessResourcePath: The HTTP path to the organization's member access page.
MemberAccessResourcePath URI `json:"memberAccessResourcePath,omitempty"`
// MemberAccessUrl: The HTTP URL to the organization's member access page.
MemberAccessUrl URI `json:"memberAccessUrl,omitempty"`
// Node: undocumented.
Node *User `json:"node,omitempty"`
// Role: The role the member has on the team.
Role TeamMemberRole `json:"role,omitempty"`
}
TeamMemberEdge (OBJECT): Represents a user who is a member of a team.
func (*TeamMemberEdge) GetCursor ¶
func (x *TeamMemberEdge) GetCursor() string
func (*TeamMemberEdge) GetMemberAccessResourcePath ¶
func (x *TeamMemberEdge) GetMemberAccessResourcePath() URI
func (*TeamMemberEdge) GetMemberAccessUrl ¶
func (x *TeamMemberEdge) GetMemberAccessUrl() URI
func (*TeamMemberEdge) GetNode ¶
func (x *TeamMemberEdge) GetNode() *User
func (*TeamMemberEdge) GetRole ¶
func (x *TeamMemberEdge) GetRole() TeamMemberRole
type TeamMemberOrder ¶
type TeamMemberOrder struct {
// Field: The field to order team members by.
//
// GraphQL type: TeamMemberOrderField!
Field TeamMemberOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
TeamMemberOrder (INPUT_OBJECT): Ordering options for team member connections.
type TeamMemberOrderField ¶
type TeamMemberOrderField string
TeamMemberOrderField (ENUM): Properties by which team member connections can be ordered.
const TeamMemberOrderField_CREATED_AT TeamMemberOrderField = "CREATED_AT"
TeamMemberOrderField_CREATED_AT: Order team members by creation time.
const TeamMemberOrderField_LOGIN TeamMemberOrderField = "LOGIN"
TeamMemberOrderField_LOGIN: Order team members by login.
type TeamMemberRole ¶
type TeamMemberRole string
TeamMemberRole (ENUM): The possible team member roles; either 'maintainer' or 'member'.
const TeamMemberRole_MAINTAINER TeamMemberRole = "MAINTAINER"
TeamMemberRole_MAINTAINER: A team maintainer has permission to add and remove team members.
const TeamMemberRole_MEMBER TeamMemberRole = "MEMBER"
TeamMemberRole_MEMBER: A team member has no administrative permissions on the team.
type TeamMembershipType ¶
type TeamMembershipType string
TeamMembershipType (ENUM): Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.
const TeamMembershipType_ALL TeamMembershipType = "ALL"
TeamMembershipType_ALL: Includes immediate and child team members for the team.
const TeamMembershipType_CHILD_TEAM TeamMembershipType = "CHILD_TEAM"
TeamMembershipType_CHILD_TEAM: Includes only child team members for the team.
const TeamMembershipType_IMMEDIATE TeamMembershipType = "IMMEDIATE"
TeamMembershipType_IMMEDIATE: Includes only immediate members of the team.
type TeamOrder ¶
type TeamOrder struct {
// Field: The field in which to order nodes by.
//
// GraphQL type: TeamOrderField!
Field TeamOrderField `json:"field,omitempty"`
// Direction: The direction in which to order nodes.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
TeamOrder (INPUT_OBJECT): Ways in which team connections can be ordered.
type TeamOrderField ¶
type TeamOrderField string
TeamOrderField (ENUM): Properties by which team connections can be ordered.
const TeamOrderField_NAME TeamOrderField = "NAME"
TeamOrderField_NAME: Allows ordering a list of teams by name.
type TeamPrivacy ¶
type TeamPrivacy string
TeamPrivacy (ENUM): The possible team privacy values.
const TeamPrivacy_SECRET TeamPrivacy = "SECRET"
TeamPrivacy_SECRET: A secret team can only be seen by its members.
const TeamPrivacy_VISIBLE TeamPrivacy = "VISIBLE"
TeamPrivacy_VISIBLE: A visible team can be seen and @mentioned by every member of the organization.
type TeamRemoveMemberAuditEntry ¶
type TeamRemoveMemberAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsLdapMapped: Whether the team was mapped to an LDAP Group.
IsLdapMapped bool `json:"isLdapMapped,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
TeamRemoveMemberAuditEntry (OBJECT): Audit log entry for a team.remove_member event.
func (*TeamRemoveMemberAuditEntry) GetAction ¶
func (x *TeamRemoveMemberAuditEntry) GetAction() string
func (*TeamRemoveMemberAuditEntry) GetActor ¶
func (x *TeamRemoveMemberAuditEntry) GetActor() AuditEntryActor
func (*TeamRemoveMemberAuditEntry) GetActorIp ¶
func (x *TeamRemoveMemberAuditEntry) GetActorIp() string
func (*TeamRemoveMemberAuditEntry) GetActorLocation ¶
func (x *TeamRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
func (*TeamRemoveMemberAuditEntry) GetActorLogin ¶
func (x *TeamRemoveMemberAuditEntry) GetActorLogin() string
func (*TeamRemoveMemberAuditEntry) GetActorResourcePath ¶
func (x *TeamRemoveMemberAuditEntry) GetActorResourcePath() URI
func (*TeamRemoveMemberAuditEntry) GetActorUrl ¶
func (x *TeamRemoveMemberAuditEntry) GetActorUrl() URI
func (*TeamRemoveMemberAuditEntry) GetCreatedAt ¶
func (x *TeamRemoveMemberAuditEntry) GetCreatedAt() PreciseDateTime
func (*TeamRemoveMemberAuditEntry) GetId ¶
func (x *TeamRemoveMemberAuditEntry) GetId() ID
func (*TeamRemoveMemberAuditEntry) GetIsLdapMapped ¶
func (x *TeamRemoveMemberAuditEntry) GetIsLdapMapped() bool
func (*TeamRemoveMemberAuditEntry) GetOperationType ¶
func (x *TeamRemoveMemberAuditEntry) GetOperationType() OperationType
func (*TeamRemoveMemberAuditEntry) GetOrganization ¶
func (x *TeamRemoveMemberAuditEntry) GetOrganization() *Organization
func (*TeamRemoveMemberAuditEntry) GetOrganizationName ¶
func (x *TeamRemoveMemberAuditEntry) GetOrganizationName() string
func (*TeamRemoveMemberAuditEntry) GetOrganizationResourcePath ¶
func (x *TeamRemoveMemberAuditEntry) GetOrganizationResourcePath() URI
func (*TeamRemoveMemberAuditEntry) GetOrganizationUrl ¶
func (x *TeamRemoveMemberAuditEntry) GetOrganizationUrl() URI
func (*TeamRemoveMemberAuditEntry) GetTeam ¶
func (x *TeamRemoveMemberAuditEntry) GetTeam() *Team
func (*TeamRemoveMemberAuditEntry) GetTeamName ¶
func (x *TeamRemoveMemberAuditEntry) GetTeamName() string
func (*TeamRemoveMemberAuditEntry) GetTeamResourcePath ¶
func (x *TeamRemoveMemberAuditEntry) GetTeamResourcePath() URI
func (*TeamRemoveMemberAuditEntry) GetTeamUrl ¶
func (x *TeamRemoveMemberAuditEntry) GetTeamUrl() URI
func (*TeamRemoveMemberAuditEntry) GetUser ¶
func (x *TeamRemoveMemberAuditEntry) GetUser() *User
func (*TeamRemoveMemberAuditEntry) GetUserLogin ¶
func (x *TeamRemoveMemberAuditEntry) GetUserLogin() string
func (*TeamRemoveMemberAuditEntry) GetUserResourcePath ¶
func (x *TeamRemoveMemberAuditEntry) GetUserResourcePath() URI
func (*TeamRemoveMemberAuditEntry) GetUserUrl ¶
func (x *TeamRemoveMemberAuditEntry) GetUserUrl() URI
type TeamRemoveRepositoryAuditEntry ¶
type TeamRemoveRepositoryAuditEntry struct {
// Action: The action name.
Action string `json:"action,omitempty"`
// Actor: The user who initiated the action.
Actor AuditEntryActor `json:"actor,omitempty"`
// ActorIp: The IP address of the actor.
ActorIp string `json:"actorIp,omitempty"`
// ActorLocation: A readable representation of the actor's location.
ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
// ActorLogin: The username of the user who initiated the action.
ActorLogin string `json:"actorLogin,omitempty"`
// ActorResourcePath: The HTTP path for the actor.
ActorResourcePath URI `json:"actorResourcePath,omitempty"`
// ActorUrl: The HTTP URL for the actor.
ActorUrl URI `json:"actorUrl,omitempty"`
// CreatedAt: The time the action was initiated.
CreatedAt PreciseDateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsLdapMapped: Whether the team was mapped to an LDAP Group.
IsLdapMapped bool `json:"isLdapMapped,omitempty"`
// OperationType: The corresponding operation type for the action.
OperationType OperationType `json:"operationType,omitempty"`
// Organization: The Organization associated with the Audit Entry.
Organization *Organization `json:"organization,omitempty"`
// OrganizationName: The name of the Organization.
OrganizationName string `json:"organizationName,omitempty"`
// OrganizationResourcePath: The HTTP path for the organization.
OrganizationResourcePath URI `json:"organizationResourcePath,omitempty"`
// OrganizationUrl: The HTTP URL for the organization.
OrganizationUrl URI `json:"organizationUrl,omitempty"`
// Repository: The repository associated with the action.
Repository *Repository `json:"repository,omitempty"`
// RepositoryName: The name of the repository.
RepositoryName string `json:"repositoryName,omitempty"`
// RepositoryResourcePath: The HTTP path for the repository.
RepositoryResourcePath URI `json:"repositoryResourcePath,omitempty"`
// RepositoryUrl: The HTTP URL for the repository.
RepositoryUrl URI `json:"repositoryUrl,omitempty"`
// Team: The team associated with the action.
Team *Team `json:"team,omitempty"`
// TeamName: The name of the team.
TeamName string `json:"teamName,omitempty"`
// TeamResourcePath: The HTTP path for this team.
TeamResourcePath URI `json:"teamResourcePath,omitempty"`
// TeamUrl: The HTTP URL for this team.
TeamUrl URI `json:"teamUrl,omitempty"`
// User: The user affected by the action.
User *User `json:"user,omitempty"`
// UserLogin: For actions involving two users, the actor is the initiator and the user is the affected user.
UserLogin string `json:"userLogin,omitempty"`
// UserResourcePath: The HTTP path for the user.
UserResourcePath URI `json:"userResourcePath,omitempty"`
// UserUrl: The HTTP URL for the user.
UserUrl URI `json:"userUrl,omitempty"`
}
TeamRemoveRepositoryAuditEntry (OBJECT): Audit log entry for a team.remove_repository event.
func (*TeamRemoveRepositoryAuditEntry) GetAction ¶
func (x *TeamRemoveRepositoryAuditEntry) GetAction() string
func (*TeamRemoveRepositoryAuditEntry) GetActor ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActor() AuditEntryActor
func (*TeamRemoveRepositoryAuditEntry) GetActorIp ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActorIp() string
func (*TeamRemoveRepositoryAuditEntry) GetActorLocation ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActorLocation() *ActorLocation
func (*TeamRemoveRepositoryAuditEntry) GetActorLogin ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActorLogin() string
func (*TeamRemoveRepositoryAuditEntry) GetActorResourcePath ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActorResourcePath() URI
func (*TeamRemoveRepositoryAuditEntry) GetActorUrl ¶
func (x *TeamRemoveRepositoryAuditEntry) GetActorUrl() URI
func (*TeamRemoveRepositoryAuditEntry) GetCreatedAt ¶
func (x *TeamRemoveRepositoryAuditEntry) GetCreatedAt() PreciseDateTime
func (*TeamRemoveRepositoryAuditEntry) GetId ¶
func (x *TeamRemoveRepositoryAuditEntry) GetId() ID
func (*TeamRemoveRepositoryAuditEntry) GetIsLdapMapped ¶
func (x *TeamRemoveRepositoryAuditEntry) GetIsLdapMapped() bool
func (*TeamRemoveRepositoryAuditEntry) GetOperationType ¶
func (x *TeamRemoveRepositoryAuditEntry) GetOperationType() OperationType
func (*TeamRemoveRepositoryAuditEntry) GetOrganization ¶
func (x *TeamRemoveRepositoryAuditEntry) GetOrganization() *Organization
func (*TeamRemoveRepositoryAuditEntry) GetOrganizationName ¶
func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationName() string
func (*TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath ¶
func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath() URI
func (*TeamRemoveRepositoryAuditEntry) GetOrganizationUrl ¶
func (x *TeamRemoveRepositoryAuditEntry) GetOrganizationUrl() URI
func (*TeamRemoveRepositoryAuditEntry) GetRepository ¶
func (x *TeamRemoveRepositoryAuditEntry) GetRepository() *Repository
func (*TeamRemoveRepositoryAuditEntry) GetRepositoryName ¶
func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryName() string
func (*TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath ¶
func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath() URI
func (*TeamRemoveRepositoryAuditEntry) GetRepositoryUrl ¶
func (x *TeamRemoveRepositoryAuditEntry) GetRepositoryUrl() URI
func (*TeamRemoveRepositoryAuditEntry) GetTeam ¶
func (x *TeamRemoveRepositoryAuditEntry) GetTeam() *Team
func (*TeamRemoveRepositoryAuditEntry) GetTeamName ¶
func (x *TeamRemoveRepositoryAuditEntry) GetTeamName() string
func (*TeamRemoveRepositoryAuditEntry) GetTeamResourcePath ¶
func (x *TeamRemoveRepositoryAuditEntry) GetTeamResourcePath() URI
func (*TeamRemoveRepositoryAuditEntry) GetTeamUrl ¶
func (x *TeamRemoveRepositoryAuditEntry) GetTeamUrl() URI
func (*TeamRemoveRepositoryAuditEntry) GetUser ¶
func (x *TeamRemoveRepositoryAuditEntry) GetUser() *User
func (*TeamRemoveRepositoryAuditEntry) GetUserLogin ¶
func (x *TeamRemoveRepositoryAuditEntry) GetUserLogin() string
func (*TeamRemoveRepositoryAuditEntry) GetUserResourcePath ¶
func (x *TeamRemoveRepositoryAuditEntry) GetUserResourcePath() URI
func (*TeamRemoveRepositoryAuditEntry) GetUserUrl ¶
func (x *TeamRemoveRepositoryAuditEntry) GetUserUrl() URI
type TeamRepositoryConnection ¶
type TeamRepositoryConnection struct {
// Edges: A list of edges.
Edges []*TeamRepositoryEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*Repository `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
TeamRepositoryConnection (OBJECT): The connection type for Repository.
func (*TeamRepositoryConnection) GetEdges ¶
func (x *TeamRepositoryConnection) GetEdges() []*TeamRepositoryEdge
func (*TeamRepositoryConnection) GetNodes ¶
func (x *TeamRepositoryConnection) GetNodes() []*Repository
func (*TeamRepositoryConnection) GetPageInfo ¶
func (x *TeamRepositoryConnection) GetPageInfo() *PageInfo
func (*TeamRepositoryConnection) GetTotalCount ¶
func (x *TeamRepositoryConnection) GetTotalCount() int
type TeamRepositoryEdge ¶
type TeamRepositoryEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: undocumented.
Node *Repository `json:"node,omitempty"`
// Permission: The permission level the team has on the repository.
Permission RepositoryPermission `json:"permission,omitempty"`
}
TeamRepositoryEdge (OBJECT): Represents a team repository.
func (*TeamRepositoryEdge) GetCursor ¶
func (x *TeamRepositoryEdge) GetCursor() string
func (*TeamRepositoryEdge) GetNode ¶
func (x *TeamRepositoryEdge) GetNode() *Repository
func (*TeamRepositoryEdge) GetPermission ¶
func (x *TeamRepositoryEdge) GetPermission() RepositoryPermission
type TeamRepositoryOrder ¶
type TeamRepositoryOrder struct {
// Field: The field to order repositories by.
//
// GraphQL type: TeamRepositoryOrderField!
Field TeamRepositoryOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
TeamRepositoryOrder (INPUT_OBJECT): Ordering options for team repository connections.
type TeamRepositoryOrderField ¶
type TeamRepositoryOrderField string
TeamRepositoryOrderField (ENUM): Properties by which team repository connections can be ordered.
const TeamRepositoryOrderField_CREATED_AT TeamRepositoryOrderField = "CREATED_AT"
TeamRepositoryOrderField_CREATED_AT: Order repositories by creation time.
const TeamRepositoryOrderField_NAME TeamRepositoryOrderField = "NAME"
TeamRepositoryOrderField_NAME: Order repositories by name.
const TeamRepositoryOrderField_PERMISSION TeamRepositoryOrderField = "PERMISSION"
TeamRepositoryOrderField_PERMISSION: Order repositories by permission.
const TeamRepositoryOrderField_PUSHED_AT TeamRepositoryOrderField = "PUSHED_AT"
TeamRepositoryOrderField_PUSHED_AT: Order repositories by push time.
const TeamRepositoryOrderField_STARGAZERS TeamRepositoryOrderField = "STARGAZERS"
TeamRepositoryOrderField_STARGAZERS: Order repositories by number of stargazers.
const TeamRepositoryOrderField_UPDATED_AT TeamRepositoryOrderField = "UPDATED_AT"
TeamRepositoryOrderField_UPDATED_AT: Order repositories by update time.
type TeamRole ¶
type TeamRole string
TeamRole (ENUM): The role of a user on a team.
const TeamRole_ADMIN TeamRole = "ADMIN"
TeamRole_ADMIN: User has admin rights on the team.
const TeamRole_MEMBER TeamRole = "MEMBER"
TeamRole_MEMBER: User is a member of the team.
type TextMatch ¶
type TextMatch struct {
// Fragment: The specific text fragment within the property matched on.
Fragment string `json:"fragment,omitempty"`
// Highlights: Highlights within the matched fragment.
Highlights []*TextMatchHighlight `json:"highlights,omitempty"`
// Property: The property matched on.
Property string `json:"property,omitempty"`
}
TextMatch (OBJECT): A text match within a search result.
func (*TextMatch) GetFragment ¶
func (*TextMatch) GetHighlights ¶
func (x *TextMatch) GetHighlights() []*TextMatchHighlight
func (*TextMatch) GetProperty ¶
type TextMatchHighlight ¶
type TextMatchHighlight struct {
// BeginIndice: The indice in the fragment where the matched text begins.
BeginIndice int `json:"beginIndice,omitempty"`
// EndIndice: The indice in the fragment where the matched text ends.
EndIndice int `json:"endIndice,omitempty"`
// Text: The text matched.
Text string `json:"text,omitempty"`
}
TextMatchHighlight (OBJECT): Represents a single highlight in a search result match.
func (*TextMatchHighlight) GetBeginIndice ¶
func (x *TextMatchHighlight) GetBeginIndice() int
func (*TextMatchHighlight) GetEndIndice ¶
func (x *TextMatchHighlight) GetEndIndice() int
func (*TextMatchHighlight) GetText ¶
func (x *TextMatchHighlight) GetText() string
type Topic ¶
type Topic struct {
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The topic's name.
Name string `json:"name,omitempty"`
// RelatedTopics: A list of related topics, including aliases of this topic, sorted with the most relevant
// first. Returns up to 10 Topics.
// .
//
// Query arguments:
// - first Int
RelatedTopics []*Topic `json:"relatedTopics,omitempty"`
// Repositories: A list of repositories.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - affiliations [RepositoryAffiliation]
// - ownerAffiliations [RepositoryAffiliation]
// - isLocked Boolean
// - after String
// - before String
// - first Int
// - last Int
// - sponsorableOnly Boolean
Repositories *RepositoryConnection `json:"repositories,omitempty"`
// StargazerCount: Returns a count of how many stargazers there are on this object
// .
StargazerCount int `json:"stargazerCount,omitempty"`
// Stargazers: A list of users who have starred this starrable.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy StarOrder
Stargazers *StargazerConnection `json:"stargazers,omitempty"`
// ViewerHasStarred: Returns a boolean indicating whether the viewing user has starred this starrable.
ViewerHasStarred bool `json:"viewerHasStarred,omitempty"`
}
Topic (OBJECT): A topic aggregates entities that are related to a subject.
func (*Topic) GetRelatedTopics ¶
func (*Topic) GetRepositories ¶
func (x *Topic) GetRepositories() *RepositoryConnection
func (*Topic) GetStargazerCount ¶
func (*Topic) GetStargazers ¶
func (x *Topic) GetStargazers() *StargazerConnection
func (*Topic) GetViewerHasStarred ¶
type TopicAuditEntryData ¶
type TopicAuditEntryData struct {
Interface TopicAuditEntryData_Interface
}
func (*TopicAuditEntryData) MarshalJSON ¶
func (x *TopicAuditEntryData) MarshalJSON() ([]byte, error)
func (*TopicAuditEntryData) UnmarshalJSON ¶
func (x *TopicAuditEntryData) UnmarshalJSON(js []byte) error
type TopicAuditEntryData_Interface ¶
type TopicAuditEntryData_Interface interface {
GetTopic() *Topic
GetTopicName() string
// contains filtered or unexported methods
}
TopicAuditEntryData (INTERFACE): Metadata for an audit entry with a topic. TopicAuditEntryData_Interface: Metadata for an audit entry with a topic.
Possible types:
- *RepoAddTopicAuditEntry
- *RepoRemoveTopicAuditEntry
type TopicSuggestionDeclineReason ¶
type TopicSuggestionDeclineReason string
TopicSuggestionDeclineReason (ENUM): Reason that the suggested topic is declined.
const TopicSuggestionDeclineReason_NOT_RELEVANT TopicSuggestionDeclineReason = "NOT_RELEVANT"
TopicSuggestionDeclineReason_NOT_RELEVANT: The suggested topic is not relevant to the repository.
const TopicSuggestionDeclineReason_PERSONAL_PREFERENCE TopicSuggestionDeclineReason = "PERSONAL_PREFERENCE"
TopicSuggestionDeclineReason_PERSONAL_PREFERENCE: The viewer does not like the suggested topic.
const TopicSuggestionDeclineReason_TOO_GENERAL TopicSuggestionDeclineReason = "TOO_GENERAL"
TopicSuggestionDeclineReason_TOO_GENERAL: The suggested topic is too general for the repository.
const TopicSuggestionDeclineReason_TOO_SPECIFIC TopicSuggestionDeclineReason = "TOO_SPECIFIC"
TopicSuggestionDeclineReason_TOO_SPECIFIC: The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1).
type TrackedIssueStates ¶
type TrackedIssueStates string
TrackedIssueStates (ENUM): The possible states of a tracked issue.
const TrackedIssueStates_CLOSED TrackedIssueStates = "CLOSED"
TrackedIssueStates_CLOSED: The tracked issue is closed.
const TrackedIssueStates_OPEN TrackedIssueStates = "OPEN"
TrackedIssueStates_OPEN: The tracked issue is open.
type TransferIssueInput ¶
type TransferIssueInput struct {
// IssueId: The Node ID of the issue to be transferred.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// RepositoryId: The Node ID of the repository the issue should be transferred to.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
TransferIssueInput (INPUT_OBJECT): Autogenerated input type of TransferIssue.
type TransferIssuePayload ¶
type TransferIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue that was transferred.
Issue *Issue `json:"issue,omitempty"`
}
TransferIssuePayload (OBJECT): Autogenerated return type of TransferIssue.
func (*TransferIssuePayload) GetClientMutationId ¶
func (x *TransferIssuePayload) GetClientMutationId() string
func (*TransferIssuePayload) GetIssue ¶
func (x *TransferIssuePayload) GetIssue() *Issue
type TransferredEvent ¶
type TransferredEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// FromRepository: The repository this came from.
FromRepository *Repository `json:"fromRepository,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Issue: Identifies the issue associated with the event.
Issue *Issue `json:"issue,omitempty"`
}
TransferredEvent (OBJECT): Represents a 'transferred' event on a given issue or pull request.
func (*TransferredEvent) GetActor ¶
func (x *TransferredEvent) GetActor() Actor
func (*TransferredEvent) GetCreatedAt ¶
func (x *TransferredEvent) GetCreatedAt() DateTime
func (*TransferredEvent) GetFromRepository ¶
func (x *TransferredEvent) GetFromRepository() *Repository
func (*TransferredEvent) GetId ¶
func (x *TransferredEvent) GetId() ID
func (*TransferredEvent) GetIssue ¶
func (x *TransferredEvent) GetIssue() *Issue
type Tree ¶
type Tree struct {
// AbbreviatedOid: An abbreviated version of the Git object ID.
AbbreviatedOid string `json:"abbreviatedOid,omitempty"`
// CommitResourcePath: The HTTP path for this Git object.
CommitResourcePath URI `json:"commitResourcePath,omitempty"`
// CommitUrl: The HTTP URL for this Git object.
CommitUrl URI `json:"commitUrl,omitempty"`
// Entries: A list of tree entries.
Entries []*TreeEntry `json:"entries,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Oid: The Git object ID.
Oid GitObjectID `json:"oid,omitempty"`
// Repository: The Repository the Git object belongs to.
Repository *Repository `json:"repository,omitempty"`
}
Tree (OBJECT): Represents a Git tree.
func (*Tree) GetAbbreviatedOid ¶
func (*Tree) GetCommitResourcePath ¶
func (*Tree) GetCommitUrl ¶
func (*Tree) GetEntries ¶
func (*Tree) GetOid ¶
func (x *Tree) GetOid() GitObjectID
func (*Tree) GetRepository ¶
func (x *Tree) GetRepository() *Repository
type TreeEntry ¶
type TreeEntry struct {
// Extension: The extension of the file.
Extension string `json:"extension,omitempty"`
// IsGenerated: Whether or not this tree entry is generated.
IsGenerated bool `json:"isGenerated,omitempty"`
// LineCount: Number of lines in the file.
LineCount int `json:"lineCount,omitempty"`
// Mode: Entry file mode.
Mode int `json:"mode,omitempty"`
// Name: Entry file name.
Name string `json:"name,omitempty"`
// Object: Entry file object.
Object GitObject `json:"object,omitempty"`
// Oid: Entry file Git object ID.
Oid GitObjectID `json:"oid,omitempty"`
// Path: The full path of the file.
Path string `json:"path,omitempty"`
// Repository: The Repository the tree entry belongs to.
Repository *Repository `json:"repository,omitempty"`
// Size: Entry byte size.
Size int `json:"size,omitempty"`
// Submodule: If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.
Submodule *Submodule `json:"submodule,omitempty"`
// Type: Entry file type.
Type string `json:"type,omitempty"`
}
TreeEntry (OBJECT): Represents a Git tree entry.
func (*TreeEntry) GetExtension ¶
func (*TreeEntry) GetIsGenerated ¶
func (*TreeEntry) GetLineCount ¶
func (*TreeEntry) GetOid ¶
func (x *TreeEntry) GetOid() GitObjectID
func (*TreeEntry) GetRepository ¶
func (x *TreeEntry) GetRepository() *Repository
func (*TreeEntry) GetSubmodule ¶
type URI ¶
type URI string
URI (SCALAR): An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
type UnarchiveRepositoryInput ¶
type UnarchiveRepositoryInput struct {
// RepositoryId: The ID of the repository to unarchive.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnarchiveRepositoryInput (INPUT_OBJECT): Autogenerated input type of UnarchiveRepository.
type UnarchiveRepositoryPayload ¶
type UnarchiveRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The repository that was unarchived.
Repository *Repository `json:"repository,omitempty"`
}
UnarchiveRepositoryPayload (OBJECT): Autogenerated return type of UnarchiveRepository.
func (*UnarchiveRepositoryPayload) GetClientMutationId ¶
func (x *UnarchiveRepositoryPayload) GetClientMutationId() string
func (*UnarchiveRepositoryPayload) GetRepository ¶
func (x *UnarchiveRepositoryPayload) GetRepository() *Repository
type UnassignedEvent ¶
type UnassignedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Assignable: Identifies the assignable associated with the event.
Assignable Assignable `json:"assignable,omitempty"`
// Assignee: Identifies the user or mannequin that was unassigned.
Assignee Assignee `json:"assignee,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// User: Identifies the subject (user) who was unassigned.
//
// Deprecated: Identifies the subject (user) who was unassigned.
User *User `json:"user,omitempty"`
}
UnassignedEvent (OBJECT): Represents an 'unassigned' event on any assignable object.
func (*UnassignedEvent) GetActor ¶
func (x *UnassignedEvent) GetActor() Actor
func (*UnassignedEvent) GetAssignable ¶
func (x *UnassignedEvent) GetAssignable() Assignable
func (*UnassignedEvent) GetAssignee ¶
func (x *UnassignedEvent) GetAssignee() Assignee
func (*UnassignedEvent) GetCreatedAt ¶
func (x *UnassignedEvent) GetCreatedAt() DateTime
func (*UnassignedEvent) GetId ¶
func (x *UnassignedEvent) GetId() ID
func (*UnassignedEvent) GetUser ¶
func (x *UnassignedEvent) GetUser() *User
type UnfollowOrganizationInput ¶
type UnfollowOrganizationInput struct {
// OrganizationId: ID of the organization to unfollow.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnfollowOrganizationInput (INPUT_OBJECT): Autogenerated input type of UnfollowOrganization.
type UnfollowOrganizationPayload ¶
type UnfollowOrganizationPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Organization: The organization that was unfollowed.
Organization *Organization `json:"organization,omitempty"`
}
UnfollowOrganizationPayload (OBJECT): Autogenerated return type of UnfollowOrganization.
func (*UnfollowOrganizationPayload) GetClientMutationId ¶
func (x *UnfollowOrganizationPayload) GetClientMutationId() string
func (*UnfollowOrganizationPayload) GetOrganization ¶
func (x *UnfollowOrganizationPayload) GetOrganization() *Organization
type UnfollowUserInput ¶
type UnfollowUserInput struct {
// UserId: ID of the user to unfollow.
//
// GraphQL type: ID!
UserId ID `json:"userId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnfollowUserInput (INPUT_OBJECT): Autogenerated input type of UnfollowUser.
type UnfollowUserPayload ¶
type UnfollowUserPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// User: The user that was unfollowed.
User *User `json:"user,omitempty"`
}
UnfollowUserPayload (OBJECT): Autogenerated return type of UnfollowUser.
func (*UnfollowUserPayload) GetClientMutationId ¶
func (x *UnfollowUserPayload) GetClientMutationId() string
func (*UnfollowUserPayload) GetUser ¶
func (x *UnfollowUserPayload) GetUser() *User
type UniformResourceLocatable ¶
type UniformResourceLocatable struct {
Interface UniformResourceLocatable_Interface
}
func (*UniformResourceLocatable) MarshalJSON ¶
func (x *UniformResourceLocatable) MarshalJSON() ([]byte, error)
func (*UniformResourceLocatable) UnmarshalJSON ¶
func (x *UniformResourceLocatable) UnmarshalJSON(js []byte) error
type UniformResourceLocatable_Interface ¶
type UniformResourceLocatable_Interface interface {
GetResourcePath() URI
GetUrl() URI
// contains filtered or unexported methods
}
UniformResourceLocatable (INTERFACE): Represents a type that can be retrieved by a URL. UniformResourceLocatable_Interface: Represents a type that can be retrieved by a URL.
Possible types:
- *Bot
- *CheckRun
- *ClosedEvent
- *Commit
- *ConvertToDraftEvent
- *CrossReferencedEvent
- *Gist
- *Issue
- *Mannequin
- *MergedEvent
- *Milestone
- *Organization
- *PullRequest
- *PullRequestCommit
- *ReadyForReviewEvent
- *Release
- *Repository
- *RepositoryTopic
- *ReviewDismissedEvent
- *TeamDiscussion
- *TeamDiscussionComment
- *User
type UnknownSignature ¶
type UnknownSignature struct {
// Email: Email used to sign this object.
Email string `json:"email,omitempty"`
// IsValid: True if the signature is valid and verified by GitHub.
IsValid bool `json:"isValid,omitempty"`
// Payload: Payload for GPG signing object. Raw ODB object without the signature header.
Payload string `json:"payload,omitempty"`
// Signature: ASCII-armored signature header from object.
Signature string `json:"signature,omitempty"`
// Signer: GitHub user corresponding to the email signing this commit.
Signer *User `json:"signer,omitempty"`
// State: The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
State GitSignatureState `json:"state,omitempty"`
// WasSignedByGitHub: True if the signature was made with GitHub's signing key.
WasSignedByGitHub bool `json:"wasSignedByGitHub,omitempty"`
}
UnknownSignature (OBJECT): Represents an unknown signature on a Commit or Tag.
func (*UnknownSignature) GetEmail ¶
func (x *UnknownSignature) GetEmail() string
func (*UnknownSignature) GetIsValid ¶
func (x *UnknownSignature) GetIsValid() bool
func (*UnknownSignature) GetPayload ¶
func (x *UnknownSignature) GetPayload() string
func (*UnknownSignature) GetSignature ¶
func (x *UnknownSignature) GetSignature() string
func (*UnknownSignature) GetSigner ¶
func (x *UnknownSignature) GetSigner() *User
func (*UnknownSignature) GetState ¶
func (x *UnknownSignature) GetState() GitSignatureState
func (*UnknownSignature) GetWasSignedByGitHub ¶
func (x *UnknownSignature) GetWasSignedByGitHub() bool
type UnlabeledEvent ¶
type UnlabeledEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Label: Identifies the label associated with the 'unlabeled' event.
Label *Label `json:"label,omitempty"`
// Labelable: Identifies the `Labelable` associated with the event.
Labelable Labelable `json:"labelable,omitempty"`
}
UnlabeledEvent (OBJECT): Represents an 'unlabeled' event on a given issue or pull request.
func (*UnlabeledEvent) GetActor ¶
func (x *UnlabeledEvent) GetActor() Actor
func (*UnlabeledEvent) GetCreatedAt ¶
func (x *UnlabeledEvent) GetCreatedAt() DateTime
func (*UnlabeledEvent) GetId ¶
func (x *UnlabeledEvent) GetId() ID
func (*UnlabeledEvent) GetLabel ¶
func (x *UnlabeledEvent) GetLabel() *Label
func (*UnlabeledEvent) GetLabelable ¶
func (x *UnlabeledEvent) GetLabelable() Labelable
type UnlinkRepositoryFromProjectInput ¶
type UnlinkRepositoryFromProjectInput struct {
// ProjectId: The ID of the Project linked to the Repository.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// RepositoryId: The ID of the Repository linked to the Project.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnlinkRepositoryFromProjectInput (INPUT_OBJECT): Autogenerated input type of UnlinkRepositoryFromProject.
type UnlinkRepositoryFromProjectPayload ¶
type UnlinkRepositoryFromProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Project: The linked Project.
Project *Project `json:"project,omitempty"`
// Repository: The linked Repository.
Repository *Repository `json:"repository,omitempty"`
}
UnlinkRepositoryFromProjectPayload (OBJECT): Autogenerated return type of UnlinkRepositoryFromProject.
func (*UnlinkRepositoryFromProjectPayload) GetClientMutationId ¶
func (x *UnlinkRepositoryFromProjectPayload) GetClientMutationId() string
func (*UnlinkRepositoryFromProjectPayload) GetProject ¶
func (x *UnlinkRepositoryFromProjectPayload) GetProject() *Project
func (*UnlinkRepositoryFromProjectPayload) GetRepository ¶
func (x *UnlinkRepositoryFromProjectPayload) GetRepository() *Repository
type UnlockLockableInput ¶
type UnlockLockableInput struct {
// LockableId: ID of the item to be unlocked.
//
// GraphQL type: ID!
LockableId ID `json:"lockableId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnlockLockableInput (INPUT_OBJECT): Autogenerated input type of UnlockLockable.
type UnlockLockablePayload ¶
type UnlockLockablePayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// UnlockedRecord: The item that was unlocked.
UnlockedRecord Lockable `json:"unlockedRecord,omitempty"`
}
UnlockLockablePayload (OBJECT): Autogenerated return type of UnlockLockable.
func (*UnlockLockablePayload) GetActor ¶
func (x *UnlockLockablePayload) GetActor() Actor
func (*UnlockLockablePayload) GetClientMutationId ¶
func (x *UnlockLockablePayload) GetClientMutationId() string
func (*UnlockLockablePayload) GetUnlockedRecord ¶
func (x *UnlockLockablePayload) GetUnlockedRecord() Lockable
type UnlockedEvent ¶
type UnlockedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Lockable: Object that was unlocked.
Lockable Lockable `json:"lockable,omitempty"`
}
UnlockedEvent (OBJECT): Represents an 'unlocked' event on a given issue or pull request.
func (*UnlockedEvent) GetActor ¶
func (x *UnlockedEvent) GetActor() Actor
func (*UnlockedEvent) GetCreatedAt ¶
func (x *UnlockedEvent) GetCreatedAt() DateTime
func (*UnlockedEvent) GetId ¶
func (x *UnlockedEvent) GetId() ID
func (*UnlockedEvent) GetLockable ¶
func (x *UnlockedEvent) GetLockable() Lockable
type UnmarkDiscussionCommentAsAnswerInput ¶
type UnmarkDiscussionCommentAsAnswerInput struct {
// Id: The Node ID of the discussion comment to unmark as an answer.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnmarkDiscussionCommentAsAnswerInput (INPUT_OBJECT): Autogenerated input type of UnmarkDiscussionCommentAsAnswer.
type UnmarkDiscussionCommentAsAnswerPayload ¶
type UnmarkDiscussionCommentAsAnswerPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Discussion: The discussion that includes the comment.
Discussion *Discussion `json:"discussion,omitempty"`
}
UnmarkDiscussionCommentAsAnswerPayload (OBJECT): Autogenerated return type of UnmarkDiscussionCommentAsAnswer.
func (*UnmarkDiscussionCommentAsAnswerPayload) GetClientMutationId ¶
func (x *UnmarkDiscussionCommentAsAnswerPayload) GetClientMutationId() string
func (*UnmarkDiscussionCommentAsAnswerPayload) GetDiscussion ¶
func (x *UnmarkDiscussionCommentAsAnswerPayload) GetDiscussion() *Discussion
type UnmarkFileAsViewedInput ¶
type UnmarkFileAsViewedInput struct {
// PullRequestId: The Node ID of the pull request.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// Path: The path of the file to mark as unviewed.
//
// GraphQL type: String!
Path string `json:"path,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnmarkFileAsViewedInput (INPUT_OBJECT): Autogenerated input type of UnmarkFileAsViewed.
type UnmarkFileAsViewedPayload ¶
type UnmarkFileAsViewedPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The updated pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
UnmarkFileAsViewedPayload (OBJECT): Autogenerated return type of UnmarkFileAsViewed.
func (*UnmarkFileAsViewedPayload) GetClientMutationId ¶
func (x *UnmarkFileAsViewedPayload) GetClientMutationId() string
func (*UnmarkFileAsViewedPayload) GetPullRequest ¶
func (x *UnmarkFileAsViewedPayload) GetPullRequest() *PullRequest
type UnmarkIssueAsDuplicateInput ¶
type UnmarkIssueAsDuplicateInput struct {
// DuplicateId: ID of the issue or pull request currently marked as a duplicate.
//
// GraphQL type: ID!
DuplicateId ID `json:"duplicateId,omitempty"`
// CanonicalId: ID of the issue or pull request currently considered canonical/authoritative/original.
//
// GraphQL type: ID!
CanonicalId ID `json:"canonicalId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnmarkIssueAsDuplicateInput (INPUT_OBJECT): Autogenerated input type of UnmarkIssueAsDuplicate.
type UnmarkIssueAsDuplicatePayload ¶
type UnmarkIssueAsDuplicatePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Duplicate: The issue or pull request that was marked as a duplicate.
Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
}
UnmarkIssueAsDuplicatePayload (OBJECT): Autogenerated return type of UnmarkIssueAsDuplicate.
func (*UnmarkIssueAsDuplicatePayload) GetClientMutationId ¶
func (x *UnmarkIssueAsDuplicatePayload) GetClientMutationId() string
func (*UnmarkIssueAsDuplicatePayload) GetDuplicate ¶
func (x *UnmarkIssueAsDuplicatePayload) GetDuplicate() IssueOrPullRequest
type UnmarkedAsDuplicateEvent ¶
type UnmarkedAsDuplicateEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// Canonical: The authoritative issue or pull request which has been duplicated by another.
Canonical IssueOrPullRequest `json:"canonical,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Duplicate: The issue or pull request which has been marked as a duplicate of another.
Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsCrossRepository: Canonical and duplicate belong to different repositories.
IsCrossRepository bool `json:"isCrossRepository,omitempty"`
}
UnmarkedAsDuplicateEvent (OBJECT): Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
func (*UnmarkedAsDuplicateEvent) GetActor ¶
func (x *UnmarkedAsDuplicateEvent) GetActor() Actor
func (*UnmarkedAsDuplicateEvent) GetCanonical ¶
func (x *UnmarkedAsDuplicateEvent) GetCanonical() IssueOrPullRequest
func (*UnmarkedAsDuplicateEvent) GetCreatedAt ¶
func (x *UnmarkedAsDuplicateEvent) GetCreatedAt() DateTime
func (*UnmarkedAsDuplicateEvent) GetDuplicate ¶
func (x *UnmarkedAsDuplicateEvent) GetDuplicate() IssueOrPullRequest
func (*UnmarkedAsDuplicateEvent) GetId ¶
func (x *UnmarkedAsDuplicateEvent) GetId() ID
func (*UnmarkedAsDuplicateEvent) GetIsCrossRepository ¶
func (x *UnmarkedAsDuplicateEvent) GetIsCrossRepository() bool
type UnminimizeCommentInput ¶
type UnminimizeCommentInput struct {
// SubjectId: The Node ID of the subject to modify.
//
// GraphQL type: ID!
SubjectId ID `json:"subjectId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnminimizeCommentInput (INPUT_OBJECT): Autogenerated input type of UnminimizeComment.
type UnminimizeCommentPayload ¶
type UnminimizeCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// UnminimizedComment: The comment that was unminimized.
UnminimizedComment Minimizable `json:"unminimizedComment,omitempty"`
}
UnminimizeCommentPayload (OBJECT): Autogenerated return type of UnminimizeComment.
func (*UnminimizeCommentPayload) GetClientMutationId ¶
func (x *UnminimizeCommentPayload) GetClientMutationId() string
func (*UnminimizeCommentPayload) GetUnminimizedComment ¶
func (x *UnminimizeCommentPayload) GetUnminimizedComment() Minimizable
type UnpinIssueInput ¶
type UnpinIssueInput struct {
// IssueId: The ID of the issue to be unpinned.
//
// GraphQL type: ID!
IssueId ID `json:"issueId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnpinIssueInput (INPUT_OBJECT): Autogenerated input type of UnpinIssue.
type UnpinIssuePayload ¶
type UnpinIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue that was unpinned.
Issue *Issue `json:"issue,omitempty"`
}
UnpinIssuePayload (OBJECT): Autogenerated return type of UnpinIssue.
func (*UnpinIssuePayload) GetClientMutationId ¶
func (x *UnpinIssuePayload) GetClientMutationId() string
func (*UnpinIssuePayload) GetIssue ¶
func (x *UnpinIssuePayload) GetIssue() *Issue
type UnpinnedEvent ¶
type UnpinnedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Issue: Identifies the issue associated with the event.
Issue *Issue `json:"issue,omitempty"`
}
UnpinnedEvent (OBJECT): Represents an 'unpinned' event on a given issue or pull request.
func (*UnpinnedEvent) GetActor ¶
func (x *UnpinnedEvent) GetActor() Actor
func (*UnpinnedEvent) GetCreatedAt ¶
func (x *UnpinnedEvent) GetCreatedAt() DateTime
func (*UnpinnedEvent) GetId ¶
func (x *UnpinnedEvent) GetId() ID
func (*UnpinnedEvent) GetIssue ¶
func (x *UnpinnedEvent) GetIssue() *Issue
type UnresolveReviewThreadInput ¶
type UnresolveReviewThreadInput struct {
// ThreadId: The ID of the thread to unresolve.
//
// GraphQL type: ID!
ThreadId ID `json:"threadId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UnresolveReviewThreadInput (INPUT_OBJECT): Autogenerated input type of UnresolveReviewThread.
type UnresolveReviewThreadPayload ¶
type UnresolveReviewThreadPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Thread: The thread to resolve.
Thread *PullRequestReviewThread `json:"thread,omitempty"`
}
UnresolveReviewThreadPayload (OBJECT): Autogenerated return type of UnresolveReviewThread.
func (*UnresolveReviewThreadPayload) GetClientMutationId ¶
func (x *UnresolveReviewThreadPayload) GetClientMutationId() string
func (*UnresolveReviewThreadPayload) GetThread ¶
func (x *UnresolveReviewThreadPayload) GetThread() *PullRequestReviewThread
type UnsubscribedEvent ¶
type UnsubscribedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Subscribable: Object referenced by event.
Subscribable Subscribable `json:"subscribable,omitempty"`
}
UnsubscribedEvent (OBJECT): Represents an 'unsubscribed' event on a given `Subscribable`.
func (*UnsubscribedEvent) GetActor ¶
func (x *UnsubscribedEvent) GetActor() Actor
func (*UnsubscribedEvent) GetCreatedAt ¶
func (x *UnsubscribedEvent) GetCreatedAt() DateTime
func (*UnsubscribedEvent) GetId ¶
func (x *UnsubscribedEvent) GetId() ID
func (*UnsubscribedEvent) GetSubscribable ¶
func (x *UnsubscribedEvent) GetSubscribable() Subscribable
type Updatable ¶
type Updatable struct {
Interface Updatable_Interface
}
func (*Updatable) MarshalJSON ¶
func (*Updatable) UnmarshalJSON ¶
type UpdatableComment ¶
type UpdatableComment struct {
Interface UpdatableComment_Interface
}
func (*UpdatableComment) MarshalJSON ¶
func (x *UpdatableComment) MarshalJSON() ([]byte, error)
func (*UpdatableComment) UnmarshalJSON ¶
func (x *UpdatableComment) UnmarshalJSON(js []byte) error
type UpdatableComment_Interface ¶
type UpdatableComment_Interface interface {
GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
// contains filtered or unexported methods
}
UpdatableComment (INTERFACE): Comments that can be updated. UpdatableComment_Interface: Comments that can be updated.
Possible types:
- *CommitComment
- *DiscussionComment
- *GistComment
- *Issue
- *IssueComment
- *PullRequest
- *PullRequestReview
- *PullRequestReviewComment
- *TeamDiscussion
- *TeamDiscussionComment
type Updatable_Interface ¶
type Updatable_Interface interface {
GetViewerCanUpdate() bool
// contains filtered or unexported methods
}
Updatable (INTERFACE): Entities that can be updated. Updatable_Interface: Entities that can be updated.
Possible types:
- *CommitComment
- *Discussion
- *DiscussionComment
- *GistComment
- *Issue
- *IssueComment
- *Project
- *ProjectNext
- *ProjectV2
- *PullRequest
- *PullRequestReview
- *PullRequestReviewComment
- *TeamDiscussion
- *TeamDiscussionComment
type UpdateBranchProtectionRuleInput ¶
type UpdateBranchProtectionRuleInput struct {
// BranchProtectionRuleId: The global relay id of the branch protection rule to be updated.
//
// GraphQL type: ID!
BranchProtectionRuleId ID `json:"branchProtectionRuleId,omitempty"`
// Pattern: The glob-like pattern used to determine matching branches.
//
// GraphQL type: String
Pattern string `json:"pattern,omitempty"`
// RequiresApprovingReviews: Are approving reviews required to update matching branches.
//
// GraphQL type: Boolean
RequiresApprovingReviews bool `json:"requiresApprovingReviews,omitempty"`
// RequiredApprovingReviewCount: Number of approving reviews required to update matching branches.
//
// GraphQL type: Int
RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount,omitempty"`
// RequiresCommitSignatures: Are commits required to be signed.
//
// GraphQL type: Boolean
RequiresCommitSignatures bool `json:"requiresCommitSignatures,omitempty"`
// RequiresLinearHistory: Are merge commits prohibited from being pushed to this branch.
//
// GraphQL type: Boolean
RequiresLinearHistory bool `json:"requiresLinearHistory,omitempty"`
// BlocksCreations: Is branch creation a protected operation.
//
// GraphQL type: Boolean
BlocksCreations bool `json:"blocksCreations,omitempty"`
// AllowsForcePushes: Are force pushes allowed on this branch.
//
// GraphQL type: Boolean
AllowsForcePushes bool `json:"allowsForcePushes,omitempty"`
// AllowsDeletions: Can this branch be deleted.
//
// GraphQL type: Boolean
AllowsDeletions bool `json:"allowsDeletions,omitempty"`
// IsAdminEnforced: Can admins overwrite branch protection.
//
// GraphQL type: Boolean
IsAdminEnforced bool `json:"isAdminEnforced,omitempty"`
// RequiresStatusChecks: Are status checks required to update matching branches.
//
// GraphQL type: Boolean
RequiresStatusChecks bool `json:"requiresStatusChecks,omitempty"`
// RequiresStrictStatusChecks: Are branches required to be up to date before merging.
//
// GraphQL type: Boolean
RequiresStrictStatusChecks bool `json:"requiresStrictStatusChecks,omitempty"`
// RequiresCodeOwnerReviews: Are reviews from code owners required to update matching branches.
//
// GraphQL type: Boolean
RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews,omitempty"`
// DismissesStaleReviews: Will new commits pushed to matching branches dismiss pull request review approvals.
//
// GraphQL type: Boolean
DismissesStaleReviews bool `json:"dismissesStaleReviews,omitempty"`
// RestrictsReviewDismissals: Is dismissal of pull request reviews restricted.
//
// GraphQL type: Boolean
RestrictsReviewDismissals bool `json:"restrictsReviewDismissals,omitempty"`
// ReviewDismissalActorIds: A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches.
//
// GraphQL type: [ID!]
ReviewDismissalActorIds []ID `json:"reviewDismissalActorIds,omitempty"`
// BypassPullRequestActorIds: A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches.
//
// GraphQL type: [ID!]
BypassPullRequestActorIds []ID `json:"bypassPullRequestActorIds,omitempty"`
// BypassForcePushActorIds: A list of User, Team, or App IDs allowed to bypass force push targeting matching branches.
//
// GraphQL type: [ID!]
BypassForcePushActorIds []ID `json:"bypassForcePushActorIds,omitempty"`
// RestrictsPushes: Is pushing to matching branches restricted.
//
// GraphQL type: Boolean
RestrictsPushes bool `json:"restrictsPushes,omitempty"`
// PushActorIds: A list of User, Team, or App IDs allowed to push to matching branches.
//
// GraphQL type: [ID!]
PushActorIds []ID `json:"pushActorIds,omitempty"`
// RequiredStatusCheckContexts: List of required status check contexts that must pass for commits to be accepted to matching branches.
//
// GraphQL type: [String!]
RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
// RequiredStatusChecks: The list of required status checks.
//
// GraphQL type: [RequiredStatusCheckInput!]
RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"`
// RequiresConversationResolution: Are conversations required to be resolved before merging.
//
// GraphQL type: Boolean
RequiresConversationResolution bool `json:"requiresConversationResolution,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateBranchProtectionRuleInput (INPUT_OBJECT): Autogenerated input type of UpdateBranchProtectionRule.
type UpdateBranchProtectionRulePayload ¶
type UpdateBranchProtectionRulePayload struct {
// BranchProtectionRule: The newly created BranchProtectionRule.
BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateBranchProtectionRulePayload (OBJECT): Autogenerated return type of UpdateBranchProtectionRule.
func (*UpdateBranchProtectionRulePayload) GetBranchProtectionRule ¶
func (x *UpdateBranchProtectionRulePayload) GetBranchProtectionRule() *BranchProtectionRule
func (*UpdateBranchProtectionRulePayload) GetClientMutationId ¶
func (x *UpdateBranchProtectionRulePayload) GetClientMutationId() string
type UpdateCheckRunInput ¶
type UpdateCheckRunInput struct {
// RepositoryId: The node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// CheckRunId: The node of the check.
//
// GraphQL type: ID!
CheckRunId ID `json:"checkRunId,omitempty"`
// Name: The name of the check.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// DetailsUrl: The URL of the integrator's site that has the full details of the check.
//
// GraphQL type: URI
DetailsUrl URI `json:"detailsUrl,omitempty"`
// ExternalId: A reference for the run on the integrator's system.
//
// GraphQL type: String
ExternalId string `json:"externalId,omitempty"`
// Status: The current status.
//
// GraphQL type: RequestableCheckStatusState
Status RequestableCheckStatusState `json:"status,omitempty"`
// StartedAt: The time that the check run began.
//
// GraphQL type: DateTime
StartedAt DateTime `json:"startedAt,omitempty"`
// Conclusion: The final conclusion of the check.
//
// GraphQL type: CheckConclusionState
Conclusion CheckConclusionState `json:"conclusion,omitempty"`
// CompletedAt: The time that the check run finished.
//
// GraphQL type: DateTime
CompletedAt DateTime `json:"completedAt,omitempty"`
// Output: Descriptive details about the run.
//
// GraphQL type: CheckRunOutput
Output *CheckRunOutput `json:"output,omitempty"`
// Actions: Possible further actions the integrator can perform, which a user may trigger.
//
// GraphQL type: [CheckRunAction!]
Actions []*CheckRunAction `json:"actions,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateCheckRunInput (INPUT_OBJECT): Autogenerated input type of UpdateCheckRun.
type UpdateCheckRunPayload ¶
type UpdateCheckRunPayload struct {
// CheckRun: The updated check run.
CheckRun *CheckRun `json:"checkRun,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateCheckRunPayload (OBJECT): Autogenerated return type of UpdateCheckRun.
func (*UpdateCheckRunPayload) GetCheckRun ¶
func (x *UpdateCheckRunPayload) GetCheckRun() *CheckRun
func (*UpdateCheckRunPayload) GetClientMutationId ¶
func (x *UpdateCheckRunPayload) GetClientMutationId() string
type UpdateCheckSuitePreferencesInput ¶
type UpdateCheckSuitePreferencesInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// AutoTriggerPreferences: The check suite preferences to modify.
//
// GraphQL type: [CheckSuiteAutoTriggerPreference!]!
AutoTriggerPreferences []*CheckSuiteAutoTriggerPreference `json:"autoTriggerPreferences,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateCheckSuitePreferencesInput (INPUT_OBJECT): Autogenerated input type of UpdateCheckSuitePreferences.
type UpdateCheckSuitePreferencesPayload ¶
type UpdateCheckSuitePreferencesPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The updated repository.
Repository *Repository `json:"repository,omitempty"`
}
UpdateCheckSuitePreferencesPayload (OBJECT): Autogenerated return type of UpdateCheckSuitePreferences.
func (*UpdateCheckSuitePreferencesPayload) GetClientMutationId ¶
func (x *UpdateCheckSuitePreferencesPayload) GetClientMutationId() string
func (*UpdateCheckSuitePreferencesPayload) GetRepository ¶
func (x *UpdateCheckSuitePreferencesPayload) GetRepository() *Repository
type UpdateDiscussionCommentInput ¶
type UpdateDiscussionCommentInput struct {
// CommentId: The Node ID of the discussion comment to update.
//
// GraphQL type: ID!
CommentId ID `json:"commentId,omitempty"`
// Body: The new contents of the comment body.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of UpdateDiscussionComment.
type UpdateDiscussionCommentPayload ¶
type UpdateDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Comment: The modified discussion comment.
Comment *DiscussionComment `json:"comment,omitempty"`
}
UpdateDiscussionCommentPayload (OBJECT): Autogenerated return type of UpdateDiscussionComment.
func (*UpdateDiscussionCommentPayload) GetClientMutationId ¶
func (x *UpdateDiscussionCommentPayload) GetClientMutationId() string
func (*UpdateDiscussionCommentPayload) GetComment ¶
func (x *UpdateDiscussionCommentPayload) GetComment() *DiscussionComment
type UpdateDiscussionInput ¶
type UpdateDiscussionInput struct {
// DiscussionId: The Node ID of the discussion to update.
//
// GraphQL type: ID!
DiscussionId ID `json:"discussionId,omitempty"`
// Title: The new discussion title.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The new contents of the discussion body.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// CategoryId: The Node ID of a discussion category within the same repository to change this discussion to.
//
// GraphQL type: ID
CategoryId ID `json:"categoryId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateDiscussionInput (INPUT_OBJECT): Autogenerated input type of UpdateDiscussion.
type UpdateDiscussionPayload ¶
type UpdateDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Discussion: The modified discussion.
Discussion *Discussion `json:"discussion,omitempty"`
}
UpdateDiscussionPayload (OBJECT): Autogenerated return type of UpdateDiscussion.
func (*UpdateDiscussionPayload) GetClientMutationId ¶
func (x *UpdateDiscussionPayload) GetClientMutationId() string
func (*UpdateDiscussionPayload) GetDiscussion ¶
func (x *UpdateDiscussionPayload) GetDiscussion() *Discussion
type UpdateEnterpriseAdministratorRoleInput ¶
type UpdateEnterpriseAdministratorRoleInput struct {
// EnterpriseId: The ID of the Enterprise which the admin belongs to.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Login: The login of a administrator whose role is being changed.
//
// GraphQL type: String!
Login string `json:"login,omitempty"`
// Role: The new role for the Enterprise administrator.
//
// GraphQL type: EnterpriseAdministratorRole!
Role EnterpriseAdministratorRole `json:"role,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseAdministratorRoleInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseAdministratorRole.
type UpdateEnterpriseAdministratorRolePayload ¶
type UpdateEnterpriseAdministratorRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Message: A message confirming the result of changing the administrator's role.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseAdministratorRolePayload (OBJECT): Autogenerated return type of UpdateEnterpriseAdministratorRole.
func (*UpdateEnterpriseAdministratorRolePayload) GetClientMutationId ¶
func (x *UpdateEnterpriseAdministratorRolePayload) GetClientMutationId() string
func (*UpdateEnterpriseAdministratorRolePayload) GetMessage ¶
func (x *UpdateEnterpriseAdministratorRolePayload) GetMessage() string
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput ¶
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the allow private repository forking setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the allow private repository forking setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting.
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload ¶
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated allow private repository forking setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the allow private repository forking setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting.
func (*UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload) GetMessage() string
type UpdateEnterpriseDefaultRepositoryPermissionSettingInput ¶
type UpdateEnterpriseDefaultRepositoryPermissionSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the base repository permission setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the base repository permission setting on the enterprise.
//
// GraphQL type: EnterpriseDefaultRepositoryPermissionSettingValue!
SettingValue EnterpriseDefaultRepositoryPermissionSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseDefaultRepositoryPermissionSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting.
type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload ¶
type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated base repository permission setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the base repository permission setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseDefaultRepositoryPermissionSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting.
func (*UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput ¶
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can change repository visibility setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can change repository visibility setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting.
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload ¶
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can change repository visibility setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can change repository visibility setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting.
func (*UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput ¶
type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can create repositories setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided.
//
// GraphQL type: EnterpriseMembersCanCreateRepositoriesSettingValue
SettingValue EnterpriseMembersCanCreateRepositoriesSettingValue `json:"settingValue,omitempty"`
// MembersCanCreateRepositoriesPolicyEnabled: When false, allow member organizations to set their own repository creation member privileges.
//
// GraphQL type: Boolean
MembersCanCreateRepositoriesPolicyEnabled bool `json:"membersCanCreateRepositoriesPolicyEnabled,omitempty"`
// MembersCanCreatePublicRepositories: Allow members to create public repositories. Defaults to current value.
//
// GraphQL type: Boolean
MembersCanCreatePublicRepositories bool `json:"membersCanCreatePublicRepositories,omitempty"`
// MembersCanCreatePrivateRepositories: Allow members to create private repositories. Defaults to current value.
//
// GraphQL type: Boolean
MembersCanCreatePrivateRepositories bool `json:"membersCanCreatePrivateRepositories,omitempty"`
// MembersCanCreateInternalRepositories: Allow members to create internal repositories. Defaults to current value.
//
// GraphQL type: Boolean
MembersCanCreateInternalRepositories bool `json:"membersCanCreateInternalRepositories,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanCreateRepositoriesSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting.
type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload ¶
type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can create repositories setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can create repositories setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting.
func (*UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanDeleteIssuesSettingInput ¶
type UpdateEnterpriseMembersCanDeleteIssuesSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can delete issues setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can delete issues setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanDeleteIssuesSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting.
type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload ¶
type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can delete issues setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can delete issues setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanDeleteIssuesSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting.
func (*UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput ¶
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can delete repositories setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can delete repositories setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting.
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload ¶
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can delete repositories setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can delete repositories setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting.
func (*UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput ¶
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can invite collaborators setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can invite collaborators setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting.
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload ¶
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can invite collaborators setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can invite collaborators setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting.
func (*UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanMakePurchasesSettingInput ¶
type UpdateEnterpriseMembersCanMakePurchasesSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can make purchases setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can make purchases setting on the enterprise.
//
// GraphQL type: EnterpriseMembersCanMakePurchasesSettingValue!
SettingValue EnterpriseMembersCanMakePurchasesSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanMakePurchasesSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting.
type UpdateEnterpriseMembersCanMakePurchasesSettingPayload ¶
type UpdateEnterpriseMembersCanMakePurchasesSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can make purchases setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can make purchases setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanMakePurchasesSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting.
func (*UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanMakePurchasesSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput ¶
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can update protected branches setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can update protected branches setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting.
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload ¶
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can update protected branches setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can update protected branches setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting.
func (*UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload) GetMessage() string
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput ¶
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the members can view dependency insights setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the members can view dependency insights setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting.
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload ¶
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated members can view dependency insights setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the members can view dependency insights setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting.
func (*UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload) GetMessage() string
type UpdateEnterpriseOrganizationProjectsSettingInput ¶
type UpdateEnterpriseOrganizationProjectsSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the organization projects setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the organization projects setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseOrganizationProjectsSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting.
type UpdateEnterpriseOrganizationProjectsSettingPayload ¶
type UpdateEnterpriseOrganizationProjectsSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated organization projects setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the organization projects setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseOrganizationProjectsSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting.
func (*UpdateEnterpriseOrganizationProjectsSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseOrganizationProjectsSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseOrganizationProjectsSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseOrganizationProjectsSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseOrganizationProjectsSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseOrganizationProjectsSettingPayload) GetMessage() string
type UpdateEnterpriseOwnerOrganizationRoleInput ¶
type UpdateEnterpriseOwnerOrganizationRoleInput struct {
// EnterpriseId: The ID of the Enterprise which the owner belongs to.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// OrganizationId: The ID of the organization for membership change.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// OrganizationRole: The role to assume in the organization.
//
// GraphQL type: RoleInOrganization!
OrganizationRole RoleInOrganization `json:"organizationRole,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseOwnerOrganizationRoleInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole.
type UpdateEnterpriseOwnerOrganizationRolePayload ¶
type UpdateEnterpriseOwnerOrganizationRolePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Message: A message confirming the result of changing the owner's organization role.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseOwnerOrganizationRolePayload (OBJECT): Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole.
func (*UpdateEnterpriseOwnerOrganizationRolePayload) GetClientMutationId ¶
func (x *UpdateEnterpriseOwnerOrganizationRolePayload) GetClientMutationId() string
func (*UpdateEnterpriseOwnerOrganizationRolePayload) GetMessage ¶
func (x *UpdateEnterpriseOwnerOrganizationRolePayload) GetMessage() string
type UpdateEnterpriseProfileInput ¶
type UpdateEnterpriseProfileInput struct {
// EnterpriseId: The Enterprise ID to update.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// Name: The name of the enterprise.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// Description: The description of the enterprise.
//
// GraphQL type: String
Description string `json:"description,omitempty"`
// WebsiteUrl: The URL of the enterprise's website.
//
// GraphQL type: String
WebsiteUrl string `json:"websiteUrl,omitempty"`
// Location: The location of the enterprise.
//
// GraphQL type: String
Location string `json:"location,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseProfileInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseProfile.
type UpdateEnterpriseProfilePayload ¶
type UpdateEnterpriseProfilePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The updated enterprise.
Enterprise *Enterprise `json:"enterprise,omitempty"`
}
UpdateEnterpriseProfilePayload (OBJECT): Autogenerated return type of UpdateEnterpriseProfile.
func (*UpdateEnterpriseProfilePayload) GetClientMutationId ¶
func (x *UpdateEnterpriseProfilePayload) GetClientMutationId() string
func (*UpdateEnterpriseProfilePayload) GetEnterprise ¶
func (x *UpdateEnterpriseProfilePayload) GetEnterprise() *Enterprise
type UpdateEnterpriseRepositoryProjectsSettingInput ¶
type UpdateEnterpriseRepositoryProjectsSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the repository projects setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the repository projects setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseRepositoryProjectsSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting.
type UpdateEnterpriseRepositoryProjectsSettingPayload ¶
type UpdateEnterpriseRepositoryProjectsSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated repository projects setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the repository projects setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseRepositoryProjectsSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting.
func (*UpdateEnterpriseRepositoryProjectsSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseRepositoryProjectsSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseRepositoryProjectsSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseRepositoryProjectsSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseRepositoryProjectsSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseRepositoryProjectsSettingPayload) GetMessage() string
type UpdateEnterpriseTeamDiscussionsSettingInput ¶
type UpdateEnterpriseTeamDiscussionsSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the team discussions setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the team discussions setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledDisabledSettingValue!
SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseTeamDiscussionsSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting.
type UpdateEnterpriseTeamDiscussionsSettingPayload ¶
type UpdateEnterpriseTeamDiscussionsSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated team discussions setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the team discussions setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseTeamDiscussionsSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting.
func (*UpdateEnterpriseTeamDiscussionsSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseTeamDiscussionsSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseTeamDiscussionsSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseTeamDiscussionsSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseTeamDiscussionsSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseTeamDiscussionsSettingPayload) GetMessage() string
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput ¶
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput struct {
// EnterpriseId: The ID of the enterprise on which to set the two factor authentication required setting.
//
// GraphQL type: ID!
EnterpriseId ID `json:"enterpriseId,omitempty"`
// SettingValue: The value for the two factor authentication required setting on the enterprise.
//
// GraphQL type: EnterpriseEnabledSettingValue!
SettingValue EnterpriseEnabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting.
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload ¶
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Enterprise: The enterprise with the updated two factor authentication required setting.
Enterprise *Enterprise `json:"enterprise,omitempty"`
// Message: A message confirming the result of updating the two factor authentication required setting.
Message string `json:"message,omitempty"`
}
UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload (OBJECT): Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting.
func (*UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetClientMutationId ¶
func (x *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetClientMutationId() string
func (*UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetEnterprise ¶
func (x *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetEnterprise() *Enterprise
func (*UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetMessage ¶
func (x *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload) GetMessage() string
type UpdateEnvironmentInput ¶
type UpdateEnvironmentInput struct {
// EnvironmentId: The node ID of the environment.
//
// GraphQL type: ID!
EnvironmentId ID `json:"environmentId,omitempty"`
// WaitTimer: The wait timer in minutes.
//
// GraphQL type: Int
WaitTimer int `json:"waitTimer,omitempty"`
// Reviewers: The ids of users or teams that can approve deployments to this environment.
//
// GraphQL type: [ID!]
Reviewers []ID `json:"reviewers,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateEnvironmentInput (INPUT_OBJECT): Autogenerated input type of UpdateEnvironment.
type UpdateEnvironmentPayload ¶
type UpdateEnvironmentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Environment: The updated environment.
Environment *Environment `json:"environment,omitempty"`
}
UpdateEnvironmentPayload (OBJECT): Autogenerated return type of UpdateEnvironment.
func (*UpdateEnvironmentPayload) GetClientMutationId ¶
func (x *UpdateEnvironmentPayload) GetClientMutationId() string
func (*UpdateEnvironmentPayload) GetEnvironment ¶
func (x *UpdateEnvironmentPayload) GetEnvironment() *Environment
type UpdateIpAllowListEnabledSettingInput ¶
type UpdateIpAllowListEnabledSettingInput struct {
// OwnerId: The ID of the owner on which to set the IP allow list enabled setting.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// SettingValue: The value for the IP allow list enabled setting.
//
// GraphQL type: IpAllowListEnabledSettingValue!
SettingValue IpAllowListEnabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateIpAllowListEnabledSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateIpAllowListEnabledSetting.
type UpdateIpAllowListEnabledSettingPayload ¶
type UpdateIpAllowListEnabledSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Owner: The IP allow list owner on which the setting was updated.
Owner IpAllowListOwner `json:"owner,omitempty"`
}
UpdateIpAllowListEnabledSettingPayload (OBJECT): Autogenerated return type of UpdateIpAllowListEnabledSetting.
func (*UpdateIpAllowListEnabledSettingPayload) GetClientMutationId ¶
func (x *UpdateIpAllowListEnabledSettingPayload) GetClientMutationId() string
func (*UpdateIpAllowListEnabledSettingPayload) GetOwner ¶
func (x *UpdateIpAllowListEnabledSettingPayload) GetOwner() IpAllowListOwner
type UpdateIpAllowListEntryInput ¶
type UpdateIpAllowListEntryInput struct {
// IpAllowListEntryId: The ID of the IP allow list entry to update.
//
// GraphQL type: ID!
IpAllowListEntryId ID `json:"ipAllowListEntryId,omitempty"`
// AllowListValue: An IP address or range of addresses in CIDR notation.
//
// GraphQL type: String!
AllowListValue string `json:"allowListValue,omitempty"`
// Name: An optional name for the IP allow list entry.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// IsActive: Whether the IP allow list entry is active when an IP allow list is enabled.
//
// GraphQL type: Boolean!
IsActive bool `json:"isActive,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateIpAllowListEntryInput (INPUT_OBJECT): Autogenerated input type of UpdateIpAllowListEntry.
type UpdateIpAllowListEntryPayload ¶
type UpdateIpAllowListEntryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IpAllowListEntry: The IP allow list entry that was updated.
IpAllowListEntry *IpAllowListEntry `json:"ipAllowListEntry,omitempty"`
}
UpdateIpAllowListEntryPayload (OBJECT): Autogenerated return type of UpdateIpAllowListEntry.
func (*UpdateIpAllowListEntryPayload) GetClientMutationId ¶
func (x *UpdateIpAllowListEntryPayload) GetClientMutationId() string
func (*UpdateIpAllowListEntryPayload) GetIpAllowListEntry ¶
func (x *UpdateIpAllowListEntryPayload) GetIpAllowListEntry() *IpAllowListEntry
type UpdateIpAllowListForInstalledAppsEnabledSettingInput ¶
type UpdateIpAllowListForInstalledAppsEnabledSettingInput struct {
// OwnerId: The ID of the owner.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// SettingValue: The value for the IP allow list configuration for installed GitHub Apps setting.
//
// GraphQL type: IpAllowListForInstalledAppsEnabledSettingValue!
SettingValue IpAllowListForInstalledAppsEnabledSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateIpAllowListForInstalledAppsEnabledSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting.
type UpdateIpAllowListForInstalledAppsEnabledSettingPayload ¶
type UpdateIpAllowListForInstalledAppsEnabledSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Owner: The IP allow list owner on which the setting was updated.
Owner IpAllowListOwner `json:"owner,omitempty"`
}
UpdateIpAllowListForInstalledAppsEnabledSettingPayload (OBJECT): Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting.
func (*UpdateIpAllowListForInstalledAppsEnabledSettingPayload) GetClientMutationId ¶
func (x *UpdateIpAllowListForInstalledAppsEnabledSettingPayload) GetClientMutationId() string
func (*UpdateIpAllowListForInstalledAppsEnabledSettingPayload) GetOwner ¶
func (x *UpdateIpAllowListForInstalledAppsEnabledSettingPayload) GetOwner() IpAllowListOwner
type UpdateIssueCommentInput ¶
type UpdateIssueCommentInput struct {
// Id: The ID of the IssueComment to modify.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// Body: The updated text of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateIssueCommentInput (INPUT_OBJECT): Autogenerated input type of UpdateIssueComment.
type UpdateIssueCommentPayload ¶
type UpdateIssueCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// IssueComment: The updated comment.
IssueComment *IssueComment `json:"issueComment,omitempty"`
}
UpdateIssueCommentPayload (OBJECT): Autogenerated return type of UpdateIssueComment.
func (*UpdateIssueCommentPayload) GetClientMutationId ¶
func (x *UpdateIssueCommentPayload) GetClientMutationId() string
func (*UpdateIssueCommentPayload) GetIssueComment ¶
func (x *UpdateIssueCommentPayload) GetIssueComment() *IssueComment
type UpdateIssueInput ¶
type UpdateIssueInput struct {
// Id: The ID of the Issue to modify.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// Title: The title for the issue.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The body for the issue description.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: An array of Node IDs of users for this issue.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// MilestoneId: The Node ID of the milestone for this issue.
//
// GraphQL type: ID
MilestoneId ID `json:"milestoneId,omitempty"`
// LabelIds: An array of Node IDs of labels for this issue.
//
// GraphQL type: [ID!]
LabelIds []ID `json:"labelIds,omitempty"`
// State: The desired issue state.
//
// GraphQL type: IssueState
State IssueState `json:"state,omitempty"`
// ProjectIds: An array of Node IDs for projects associated with this issue.
//
// GraphQL type: [ID!]
ProjectIds []ID `json:"projectIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateIssueInput (INPUT_OBJECT): Autogenerated input type of UpdateIssue.
type UpdateIssuePayload ¶
type UpdateIssuePayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Issue: The issue.
Issue *Issue `json:"issue,omitempty"`
}
UpdateIssuePayload (OBJECT): Autogenerated return type of UpdateIssue.
func (*UpdateIssuePayload) GetActor ¶
func (x *UpdateIssuePayload) GetActor() Actor
func (*UpdateIssuePayload) GetClientMutationId ¶
func (x *UpdateIssuePayload) GetClientMutationId() string
func (*UpdateIssuePayload) GetIssue ¶
func (x *UpdateIssuePayload) GetIssue() *Issue
type UpdateNotificationRestrictionSettingInput ¶
type UpdateNotificationRestrictionSettingInput struct {
// OwnerId: The ID of the owner on which to set the restrict notifications setting.
//
// GraphQL type: ID!
OwnerId ID `json:"ownerId,omitempty"`
// SettingValue: The value for the restrict notifications setting.
//
// GraphQL type: NotificationRestrictionSettingValue!
SettingValue NotificationRestrictionSettingValue `json:"settingValue,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateNotificationRestrictionSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateNotificationRestrictionSetting.
type UpdateNotificationRestrictionSettingPayload ¶
type UpdateNotificationRestrictionSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Owner: The owner on which the setting was updated.
Owner VerifiableDomainOwner `json:"owner,omitempty"`
}
UpdateNotificationRestrictionSettingPayload (OBJECT): Autogenerated return type of UpdateNotificationRestrictionSetting.
func (*UpdateNotificationRestrictionSettingPayload) GetClientMutationId ¶
func (x *UpdateNotificationRestrictionSettingPayload) GetClientMutationId() string
func (*UpdateNotificationRestrictionSettingPayload) GetOwner ¶
func (x *UpdateNotificationRestrictionSettingPayload) GetOwner() VerifiableDomainOwner
type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput ¶
type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput struct {
// OrganizationId: The ID of the organization on which to set the allow private repository forking setting.
//
// GraphQL type: ID!
OrganizationId ID `json:"organizationId,omitempty"`
// ForkingEnabled: Enable forking of private repositories in the organization?.
//
// GraphQL type: Boolean!
ForkingEnabled bool `json:"forkingEnabled,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateOrganizationAllowPrivateRepositoryForkingSettingInput (INPUT_OBJECT): Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting.
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload ¶
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Message: A message confirming the result of updating the allow private repository forking setting.
Message string `json:"message,omitempty"`
// Organization: The organization with the updated allow private repository forking setting.
Organization *Organization `json:"organization,omitempty"`
}
UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload (OBJECT): Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting.
func (*UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetClientMutationId ¶
func (x *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetClientMutationId() string
func (*UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetMessage ¶
func (x *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetMessage() string
func (*UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetOrganization ¶
func (x *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload) GetOrganization() *Organization
type UpdateProjectCardInput ¶
type UpdateProjectCardInput struct {
// ProjectCardId: The ProjectCard ID to update.
//
// GraphQL type: ID!
ProjectCardId ID `json:"projectCardId,omitempty"`
// IsArchived: Whether or not the ProjectCard should be archived.
//
// GraphQL type: Boolean
IsArchived bool `json:"isArchived,omitempty"`
// Note: The note of ProjectCard.
//
// GraphQL type: String
Note string `json:"note,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectCardInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectCard.
type UpdateProjectCardPayload ¶
type UpdateProjectCardPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectCard: The updated ProjectCard.
ProjectCard *ProjectCard `json:"projectCard,omitempty"`
}
UpdateProjectCardPayload (OBJECT): Autogenerated return type of UpdateProjectCard.
func (*UpdateProjectCardPayload) GetClientMutationId ¶
func (x *UpdateProjectCardPayload) GetClientMutationId() string
func (*UpdateProjectCardPayload) GetProjectCard ¶
func (x *UpdateProjectCardPayload) GetProjectCard() *ProjectCard
type UpdateProjectColumnInput ¶
type UpdateProjectColumnInput struct {
// ProjectColumnId: The ProjectColumn ID to update.
//
// GraphQL type: ID!
ProjectColumnId ID `json:"projectColumnId,omitempty"`
// Name: The name of project column.
//
// GraphQL type: String!
Name string `json:"name,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectColumnInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectColumn.
type UpdateProjectColumnPayload ¶
type UpdateProjectColumnPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectColumn: The updated project column.
ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"`
}
UpdateProjectColumnPayload (OBJECT): Autogenerated return type of UpdateProjectColumn.
func (*UpdateProjectColumnPayload) GetClientMutationId ¶
func (x *UpdateProjectColumnPayload) GetClientMutationId() string
func (*UpdateProjectColumnPayload) GetProjectColumn ¶
func (x *UpdateProjectColumnPayload) GetProjectColumn() *ProjectColumn
type UpdateProjectDraftIssueInput ¶
type UpdateProjectDraftIssueInput struct {
// DraftIssueId: The ID of the draft issue to update.
//
// GraphQL type: ID!
DraftIssueId ID `json:"draftIssueId,omitempty"`
// Title: The title of the draft issue.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The body of the draft issue.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: The IDs of the assignees of the draft issue.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectDraftIssueInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectDraftIssue.
type UpdateProjectDraftIssuePayload ¶
type UpdateProjectDraftIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// DraftIssue: The draft issue updated in the project.
DraftIssue *DraftIssue `json:"draftIssue,omitempty"`
}
UpdateProjectDraftIssuePayload (OBJECT): Autogenerated return type of UpdateProjectDraftIssue.
func (*UpdateProjectDraftIssuePayload) GetClientMutationId ¶
func (x *UpdateProjectDraftIssuePayload) GetClientMutationId() string
func (*UpdateProjectDraftIssuePayload) GetDraftIssue ¶
func (x *UpdateProjectDraftIssuePayload) GetDraftIssue() *DraftIssue
type UpdateProjectInput ¶
type UpdateProjectInput struct {
// ProjectId: The Project ID to update.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// Name: The name of project.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// Body: The description of project.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// State: Whether the project is open or closed.
//
// GraphQL type: ProjectState
State ProjectState `json:"state,omitempty"`
// Public: Whether the project is public or not.
//
// GraphQL type: Boolean
Public bool `json:"public,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectInput (INPUT_OBJECT): Autogenerated input type of UpdateProject.
type UpdateProjectNextInput ¶
type UpdateProjectNextInput struct {
// ProjectId: The ID of the Project to update. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `projectId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ProjectId ID `json:"projectId,omitempty"`
// Title: Set the title of the project.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `title` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Description: Set the readme description of the project.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `description` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
Description string `json:"description,omitempty"`
// ShortDescription: Set the short description of the project.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `shortDescription` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
ShortDescription string `json:"shortDescription,omitempty"`
// Closed: Set the project to closed or open.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `closed` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: Boolean
Closed bool `json:"closed,omitempty"`
// Public: Set the project to public or private.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `public` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: Boolean
Public bool `json:"public,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectNextInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectNext.
type UpdateProjectNextItemFieldInput ¶
type UpdateProjectNextItemFieldInput struct {
// ProjectId: The ID of the Project. This field is required.
//
// GraphQL type: ID
ProjectId ID `json:"projectId,omitempty"`
// ItemId: The id of the item to be updated. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `itemId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
ItemId ID `json:"itemId,omitempty"`
// FieldId: The id of the field to be updated.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `fieldId` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: ID
FieldId ID `json:"fieldId,omitempty"`
// Value: The value which will be set on the field. This field is required.
//
// **Upcoming Change on 2022-10-01 UTC**
// **Description:** `value` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.
// **Reason:** The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
// .
//
// GraphQL type: String
Value string `json:"value,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectNextItemFieldInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectNextItemField.
type UpdateProjectNextItemFieldPayload ¶
type UpdateProjectNextItemFieldPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectNextItem: The updated item.
//
// Deprecated: The updated item.
ProjectNextItem *ProjectNextItem `json:"projectNextItem,omitempty"`
}
UpdateProjectNextItemFieldPayload (OBJECT): Autogenerated return type of UpdateProjectNextItemField.
func (*UpdateProjectNextItemFieldPayload) GetClientMutationId ¶
func (x *UpdateProjectNextItemFieldPayload) GetClientMutationId() string
func (*UpdateProjectNextItemFieldPayload) GetProjectNextItem ¶
func (x *UpdateProjectNextItemFieldPayload) GetProjectNextItem() *ProjectNextItem
type UpdateProjectNextPayload ¶
type UpdateProjectNextPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectNext: The updated Project.
//
// Deprecated: The updated Project.
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
}
UpdateProjectNextPayload (OBJECT): Autogenerated return type of UpdateProjectNext.
func (*UpdateProjectNextPayload) GetClientMutationId ¶
func (x *UpdateProjectNextPayload) GetClientMutationId() string
func (*UpdateProjectNextPayload) GetProjectNext ¶
func (x *UpdateProjectNextPayload) GetProjectNext() *ProjectNext
type UpdateProjectPayload ¶
type UpdateProjectPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Project: The updated project.
Project *Project `json:"project,omitempty"`
}
UpdateProjectPayload (OBJECT): Autogenerated return type of UpdateProject.
func (*UpdateProjectPayload) GetClientMutationId ¶
func (x *UpdateProjectPayload) GetClientMutationId() string
func (*UpdateProjectPayload) GetProject ¶
func (x *UpdateProjectPayload) GetProject() *Project
type UpdateProjectV2DraftIssueInput ¶
type UpdateProjectV2DraftIssueInput struct {
// DraftIssueId: The ID of the draft issue to update.
//
// GraphQL type: ID!
DraftIssueId ID `json:"draftIssueId,omitempty"`
// Title: The title of the draft issue.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The body of the draft issue.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// AssigneeIds: The IDs of the assignees of the draft issue.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectV2DraftIssueInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectV2DraftIssue.
type UpdateProjectV2DraftIssuePayload ¶
type UpdateProjectV2DraftIssuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// DraftIssue: The draft issue updated in the project.
DraftIssue *DraftIssue `json:"draftIssue,omitempty"`
}
UpdateProjectV2DraftIssuePayload (OBJECT): Autogenerated return type of UpdateProjectV2DraftIssue.
func (*UpdateProjectV2DraftIssuePayload) GetClientMutationId ¶
func (x *UpdateProjectV2DraftIssuePayload) GetClientMutationId() string
func (*UpdateProjectV2DraftIssuePayload) GetDraftIssue ¶
func (x *UpdateProjectV2DraftIssuePayload) GetDraftIssue() *DraftIssue
type UpdateProjectV2Input ¶
type UpdateProjectV2Input struct {
// ProjectId: The ID of the Project to update.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// Title: Set the title of the project.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// ShortDescription: Set the short description of the project.
//
// GraphQL type: String
ShortDescription string `json:"shortDescription,omitempty"`
// Readme: Set the readme description of the project.
//
// GraphQL type: String
Readme string `json:"readme,omitempty"`
// Closed: Set the project to closed or open.
//
// GraphQL type: Boolean
Closed bool `json:"closed,omitempty"`
// Public: Set the project to public or private.
//
// GraphQL type: Boolean
Public bool `json:"public,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectV2Input (INPUT_OBJECT): Autogenerated input type of UpdateProjectV2.
type UpdateProjectV2ItemFieldValueInput ¶
type UpdateProjectV2ItemFieldValueInput struct {
// ProjectId: The ID of the Project.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// ItemId: The ID of the item to be updated.
//
// GraphQL type: ID!
ItemId ID `json:"itemId,omitempty"`
// FieldId: The ID of the field to be updated.
//
// GraphQL type: ID!
FieldId ID `json:"fieldId,omitempty"`
// Value: The value which will be set on the field.
//
// GraphQL type: ProjectV2FieldValue!
Value *ProjectV2FieldValue `json:"value,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectV2ItemFieldValueInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectV2ItemFieldValue.
type UpdateProjectV2ItemFieldValuePayload ¶
type UpdateProjectV2ItemFieldValuePayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectV2Item: The updated item.
ProjectV2Item *ProjectV2Item `json:"projectV2Item,omitempty"`
}
UpdateProjectV2ItemFieldValuePayload (OBJECT): Autogenerated return type of UpdateProjectV2ItemFieldValue.
func (*UpdateProjectV2ItemFieldValuePayload) GetClientMutationId ¶
func (x *UpdateProjectV2ItemFieldValuePayload) GetClientMutationId() string
func (*UpdateProjectV2ItemFieldValuePayload) GetProjectV2Item ¶
func (x *UpdateProjectV2ItemFieldValuePayload) GetProjectV2Item() *ProjectV2Item
type UpdateProjectV2ItemPositionInput ¶
type UpdateProjectV2ItemPositionInput struct {
// ProjectId: The ID of the Project.
//
// GraphQL type: ID!
ProjectId ID `json:"projectId,omitempty"`
// ItemId: The ID of the item to be moved.
//
// GraphQL type: ID!
ItemId ID `json:"itemId,omitempty"`
// AfterId: The ID of the item to position this item after. If omitted or set to null the item will be moved to top.
//
// GraphQL type: ID
AfterId ID `json:"afterId,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateProjectV2ItemPositionInput (INPUT_OBJECT): Autogenerated input type of UpdateProjectV2ItemPosition.
type UpdateProjectV2ItemPositionPayload ¶
type UpdateProjectV2ItemPositionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Items: The items in the new order.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Items *ProjectV2ItemConnection `json:"items,omitempty"`
}
UpdateProjectV2ItemPositionPayload (OBJECT): Autogenerated return type of UpdateProjectV2ItemPosition.
func (*UpdateProjectV2ItemPositionPayload) GetClientMutationId ¶
func (x *UpdateProjectV2ItemPositionPayload) GetClientMutationId() string
func (*UpdateProjectV2ItemPositionPayload) GetItems ¶
func (x *UpdateProjectV2ItemPositionPayload) GetItems() *ProjectV2ItemConnection
type UpdateProjectV2Payload ¶
type UpdateProjectV2Payload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// ProjectV2: The updated Project.
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}
UpdateProjectV2Payload (OBJECT): Autogenerated return type of UpdateProjectV2.
func (*UpdateProjectV2Payload) GetClientMutationId ¶
func (x *UpdateProjectV2Payload) GetClientMutationId() string
func (*UpdateProjectV2Payload) GetProjectV2 ¶
func (x *UpdateProjectV2Payload) GetProjectV2() *ProjectV2
type UpdatePullRequestBranchInput ¶
type UpdatePullRequestBranchInput struct {
// PullRequestId: The Node ID of the pull request.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// ExpectedHeadOid: The head ref oid for the upstream branch.
//
// GraphQL type: GitObjectID
ExpectedHeadOid GitObjectID `json:"expectedHeadOid,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdatePullRequestBranchInput (INPUT_OBJECT): Autogenerated input type of UpdatePullRequestBranch.
type UpdatePullRequestBranchPayload ¶
type UpdatePullRequestBranchPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The updated pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
UpdatePullRequestBranchPayload (OBJECT): Autogenerated return type of UpdatePullRequestBranch.
func (*UpdatePullRequestBranchPayload) GetClientMutationId ¶
func (x *UpdatePullRequestBranchPayload) GetClientMutationId() string
func (*UpdatePullRequestBranchPayload) GetPullRequest ¶
func (x *UpdatePullRequestBranchPayload) GetPullRequest() *PullRequest
type UpdatePullRequestInput ¶
type UpdatePullRequestInput struct {
// PullRequestId: The Node ID of the pull request.
//
// GraphQL type: ID!
PullRequestId ID `json:"pullRequestId,omitempty"`
// BaseRefName: The name of the branch you want your changes pulled into. This should be an existing branch
// on the current repository.
// .
//
// GraphQL type: String
BaseRefName string `json:"baseRefName,omitempty"`
// Title: The title of the pull request.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The contents of the pull request.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// State: The target state of the pull request.
//
// GraphQL type: PullRequestUpdateState
State PullRequestUpdateState `json:"state,omitempty"`
// MaintainerCanModify: Indicates whether maintainers can modify the pull request.
//
// GraphQL type: Boolean
MaintainerCanModify bool `json:"maintainerCanModify,omitempty"`
// AssigneeIds: An array of Node IDs of users for this pull request.
//
// GraphQL type: [ID!]
AssigneeIds []ID `json:"assigneeIds,omitempty"`
// MilestoneId: The Node ID of the milestone for this pull request.
//
// GraphQL type: ID
MilestoneId ID `json:"milestoneId,omitempty"`
// LabelIds: An array of Node IDs of labels for this pull request.
//
// GraphQL type: [ID!]
LabelIds []ID `json:"labelIds,omitempty"`
// ProjectIds: An array of Node IDs for projects associated with this pull request.
//
// GraphQL type: [ID!]
ProjectIds []ID `json:"projectIds,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdatePullRequestInput (INPUT_OBJECT): Autogenerated input type of UpdatePullRequest.
type UpdatePullRequestPayload ¶
type UpdatePullRequestPayload struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequest: The updated pull request.
PullRequest *PullRequest `json:"pullRequest,omitempty"`
}
UpdatePullRequestPayload (OBJECT): Autogenerated return type of UpdatePullRequest.
func (*UpdatePullRequestPayload) GetActor ¶
func (x *UpdatePullRequestPayload) GetActor() Actor
func (*UpdatePullRequestPayload) GetClientMutationId ¶
func (x *UpdatePullRequestPayload) GetClientMutationId() string
func (*UpdatePullRequestPayload) GetPullRequest ¶
func (x *UpdatePullRequestPayload) GetPullRequest() *PullRequest
type UpdatePullRequestReviewCommentInput ¶
type UpdatePullRequestReviewCommentInput struct {
// PullRequestReviewCommentId: The Node ID of the comment to modify.
//
// GraphQL type: ID!
PullRequestReviewCommentId ID `json:"pullRequestReviewCommentId,omitempty"`
// Body: The text of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdatePullRequestReviewCommentInput (INPUT_OBJECT): Autogenerated input type of UpdatePullRequestReviewComment.
type UpdatePullRequestReviewCommentPayload ¶
type UpdatePullRequestReviewCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReviewComment: The updated comment.
PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment,omitempty"`
}
UpdatePullRequestReviewCommentPayload (OBJECT): Autogenerated return type of UpdatePullRequestReviewComment.
func (*UpdatePullRequestReviewCommentPayload) GetClientMutationId ¶
func (x *UpdatePullRequestReviewCommentPayload) GetClientMutationId() string
func (*UpdatePullRequestReviewCommentPayload) GetPullRequestReviewComment ¶
func (x *UpdatePullRequestReviewCommentPayload) GetPullRequestReviewComment() *PullRequestReviewComment
type UpdatePullRequestReviewInput ¶
type UpdatePullRequestReviewInput struct {
// PullRequestReviewId: The Node ID of the pull request review to modify.
//
// GraphQL type: ID!
PullRequestReviewId ID `json:"pullRequestReviewId,omitempty"`
// Body: The contents of the pull request review body.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdatePullRequestReviewInput (INPUT_OBJECT): Autogenerated input type of UpdatePullRequestReview.
type UpdatePullRequestReviewPayload ¶
type UpdatePullRequestReviewPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// PullRequestReview: The updated pull request review.
PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}
UpdatePullRequestReviewPayload (OBJECT): Autogenerated return type of UpdatePullRequestReview.
func (*UpdatePullRequestReviewPayload) GetClientMutationId ¶
func (x *UpdatePullRequestReviewPayload) GetClientMutationId() string
func (*UpdatePullRequestReviewPayload) GetPullRequestReview ¶
func (x *UpdatePullRequestReviewPayload) GetPullRequestReview() *PullRequestReview
type UpdateRefInput ¶
type UpdateRefInput struct {
// RefId: The Node ID of the Ref to be updated.
//
// GraphQL type: ID!
RefId ID `json:"refId,omitempty"`
// Oid: The GitObjectID that the Ref shall be updated to target.
//
// GraphQL type: GitObjectID!
Oid GitObjectID `json:"oid,omitempty"`
// Force: Permit updates of branch Refs that are not fast-forwards?.
//
// GraphQL type: Boolean
Force bool `json:"force,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateRefInput (INPUT_OBJECT): Autogenerated input type of UpdateRef.
type UpdateRefPayload ¶
type UpdateRefPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Ref: The updated Ref.
Ref *Ref `json:"ref,omitempty"`
}
UpdateRefPayload (OBJECT): Autogenerated return type of UpdateRef.
func (*UpdateRefPayload) GetClientMutationId ¶
func (x *UpdateRefPayload) GetClientMutationId() string
func (*UpdateRefPayload) GetRef ¶
func (x *UpdateRefPayload) GetRef() *Ref
type UpdateRepositoryInput ¶
type UpdateRepositoryInput struct {
// RepositoryId: The ID of the repository to update.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// Name: The new name of the repository.
//
// GraphQL type: String
Name string `json:"name,omitempty"`
// Description: A new description for the repository. Pass an empty string to erase the existing description.
//
// GraphQL type: String
Description string `json:"description,omitempty"`
// Template: Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.
//
// GraphQL type: Boolean
Template bool `json:"template,omitempty"`
// HomepageUrl: The URL for a web page about this repository. Pass an empty string to erase the existing URL.
//
// GraphQL type: URI
HomepageUrl URI `json:"homepageUrl,omitempty"`
// HasWikiEnabled: Indicates if the repository should have the wiki feature enabled.
//
// GraphQL type: Boolean
HasWikiEnabled bool `json:"hasWikiEnabled,omitempty"`
// HasIssuesEnabled: Indicates if the repository should have the issues feature enabled.
//
// GraphQL type: Boolean
HasIssuesEnabled bool `json:"hasIssuesEnabled,omitempty"`
// HasProjectsEnabled: Indicates if the repository should have the project boards feature enabled.
//
// GraphQL type: Boolean
HasProjectsEnabled bool `json:"hasProjectsEnabled,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateRepositoryInput (INPUT_OBJECT): Autogenerated input type of UpdateRepository.
type UpdateRepositoryPayload ¶
type UpdateRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The updated repository.
Repository *Repository `json:"repository,omitempty"`
}
UpdateRepositoryPayload (OBJECT): Autogenerated return type of UpdateRepository.
func (*UpdateRepositoryPayload) GetClientMutationId ¶
func (x *UpdateRepositoryPayload) GetClientMutationId() string
func (*UpdateRepositoryPayload) GetRepository ¶
func (x *UpdateRepositoryPayload) GetRepository() *Repository
type UpdateSponsorshipPreferencesInput ¶
type UpdateSponsorshipPreferencesInput struct {
// SponsorId: The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
//
// GraphQL type: ID
SponsorId ID `json:"sponsorId,omitempty"`
// SponsorLogin: The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
//
// GraphQL type: String
SponsorLogin string `json:"sponsorLogin,omitempty"`
// SponsorableId: The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
//
// GraphQL type: ID
SponsorableId ID `json:"sponsorableId,omitempty"`
// SponsorableLogin: The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
//
// GraphQL type: String
SponsorableLogin string `json:"sponsorableLogin,omitempty"`
// ReceiveEmails: Whether the sponsor should receive email updates from the sponsorable.
//
// GraphQL type: Boolean
ReceiveEmails bool `json:"receiveEmails,omitempty"`
// PrivacyLevel: Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used.
//
// GraphQL type: SponsorshipPrivacy
PrivacyLevel SponsorshipPrivacy `json:"privacyLevel,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateSponsorshipPreferencesInput (INPUT_OBJECT): Autogenerated input type of UpdateSponsorshipPreferences.
type UpdateSponsorshipPreferencesPayload ¶
type UpdateSponsorshipPreferencesPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Sponsorship: The sponsorship that was updated.
Sponsorship *Sponsorship `json:"sponsorship,omitempty"`
}
UpdateSponsorshipPreferencesPayload (OBJECT): Autogenerated return type of UpdateSponsorshipPreferences.
func (*UpdateSponsorshipPreferencesPayload) GetClientMutationId ¶
func (x *UpdateSponsorshipPreferencesPayload) GetClientMutationId() string
func (*UpdateSponsorshipPreferencesPayload) GetSponsorship ¶
func (x *UpdateSponsorshipPreferencesPayload) GetSponsorship() *Sponsorship
type UpdateSubscriptionInput ¶
type UpdateSubscriptionInput struct {
// SubscribableId: The Node ID of the subscribable object to modify.
//
// GraphQL type: ID!
SubscribableId ID `json:"subscribableId,omitempty"`
// State: The new state of the subscription.
//
// GraphQL type: SubscriptionState!
State SubscriptionState `json:"state,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateSubscriptionInput (INPUT_OBJECT): Autogenerated input type of UpdateSubscription.
type UpdateSubscriptionPayload ¶
type UpdateSubscriptionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Subscribable: The input subscribable entity.
Subscribable Subscribable `json:"subscribable,omitempty"`
}
UpdateSubscriptionPayload (OBJECT): Autogenerated return type of UpdateSubscription.
func (*UpdateSubscriptionPayload) GetClientMutationId ¶
func (x *UpdateSubscriptionPayload) GetClientMutationId() string
func (*UpdateSubscriptionPayload) GetSubscribable ¶
func (x *UpdateSubscriptionPayload) GetSubscribable() Subscribable
type UpdateTeamDiscussionCommentInput ¶
type UpdateTeamDiscussionCommentInput struct {
// Id: The ID of the comment to modify.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// Body: The updated text of the comment.
//
// GraphQL type: String!
Body string `json:"body,omitempty"`
// BodyVersion: The current version of the body content.
//
// GraphQL type: String
BodyVersion string `json:"bodyVersion,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateTeamDiscussionCommentInput (INPUT_OBJECT): Autogenerated input type of UpdateTeamDiscussionComment.
type UpdateTeamDiscussionCommentPayload ¶
type UpdateTeamDiscussionCommentPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// TeamDiscussionComment: The updated comment.
TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"`
}
UpdateTeamDiscussionCommentPayload (OBJECT): Autogenerated return type of UpdateTeamDiscussionComment.
func (*UpdateTeamDiscussionCommentPayload) GetClientMutationId ¶
func (x *UpdateTeamDiscussionCommentPayload) GetClientMutationId() string
func (*UpdateTeamDiscussionCommentPayload) GetTeamDiscussionComment ¶
func (x *UpdateTeamDiscussionCommentPayload) GetTeamDiscussionComment() *TeamDiscussionComment
type UpdateTeamDiscussionInput ¶
type UpdateTeamDiscussionInput struct {
// Id: The Node ID of the discussion to modify.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// Title: The updated title of the discussion.
//
// GraphQL type: String
Title string `json:"title,omitempty"`
// Body: The updated text of the discussion.
//
// GraphQL type: String
Body string `json:"body,omitempty"`
// BodyVersion: The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.
//
// GraphQL type: String
BodyVersion string `json:"bodyVersion,omitempty"`
// Pinned: If provided, sets the pinned state of the updated discussion.
//
// GraphQL type: Boolean
Pinned bool `json:"pinned,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateTeamDiscussionInput (INPUT_OBJECT): Autogenerated input type of UpdateTeamDiscussion.
type UpdateTeamDiscussionPayload ¶
type UpdateTeamDiscussionPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// TeamDiscussion: The updated discussion.
TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"`
}
UpdateTeamDiscussionPayload (OBJECT): Autogenerated return type of UpdateTeamDiscussion.
func (*UpdateTeamDiscussionPayload) GetClientMutationId ¶
func (x *UpdateTeamDiscussionPayload) GetClientMutationId() string
func (*UpdateTeamDiscussionPayload) GetTeamDiscussion ¶
func (x *UpdateTeamDiscussionPayload) GetTeamDiscussion() *TeamDiscussion
type UpdateTeamsRepositoryInput ¶
type UpdateTeamsRepositoryInput struct {
// RepositoryId: Repository ID being granted access to.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// TeamIds: A list of teams being granted access. Limit: 10.
//
// GraphQL type: [ID!]!
TeamIds []ID `json:"teamIds,omitempty"`
// Permission: Permission that should be granted to the teams.
//
// GraphQL type: RepositoryPermission!
Permission RepositoryPermission `json:"permission,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateTeamsRepositoryInput (INPUT_OBJECT): Autogenerated input type of UpdateTeamsRepository.
type UpdateTeamsRepositoryPayload ¶
type UpdateTeamsRepositoryPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Repository: The repository that was updated.
Repository *Repository `json:"repository,omitempty"`
// Teams: The teams granted permission on the repository.
Teams []*Team `json:"teams,omitempty"`
}
UpdateTeamsRepositoryPayload (OBJECT): Autogenerated return type of UpdateTeamsRepository.
func (*UpdateTeamsRepositoryPayload) GetClientMutationId ¶
func (x *UpdateTeamsRepositoryPayload) GetClientMutationId() string
func (*UpdateTeamsRepositoryPayload) GetRepository ¶
func (x *UpdateTeamsRepositoryPayload) GetRepository() *Repository
func (*UpdateTeamsRepositoryPayload) GetTeams ¶
func (x *UpdateTeamsRepositoryPayload) GetTeams() []*Team
type UpdateTopicsInput ¶
type UpdateTopicsInput struct {
// RepositoryId: The Node ID of the repository.
//
// GraphQL type: ID!
RepositoryId ID `json:"repositoryId,omitempty"`
// TopicNames: An array of topic names.
//
// GraphQL type: [String!]!
TopicNames []string `json:"topicNames,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
UpdateTopicsInput (INPUT_OBJECT): Autogenerated input type of UpdateTopics.
type UpdateTopicsPayload ¶
type UpdateTopicsPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// InvalidTopicNames: Names of the provided topics that are not valid.
InvalidTopicNames []string `json:"invalidTopicNames,omitempty"`
// Repository: The updated repository.
Repository *Repository `json:"repository,omitempty"`
}
UpdateTopicsPayload (OBJECT): Autogenerated return type of UpdateTopics.
func (*UpdateTopicsPayload) GetClientMutationId ¶
func (x *UpdateTopicsPayload) GetClientMutationId() string
func (*UpdateTopicsPayload) GetInvalidTopicNames ¶
func (x *UpdateTopicsPayload) GetInvalidTopicNames() []string
func (*UpdateTopicsPayload) GetRepository ¶
func (x *UpdateTopicsPayload) GetRepository() *Repository
type User ¶
type User struct {
// AnyPinnableItems: Determine if this repository owner has any items that can be pinned to their profile.
//
// Query arguments:
// - type PinnableItemType
AnyPinnableItems bool `json:"anyPinnableItems,omitempty"`
// AvatarUrl: A URL pointing to the user's public avatar.
//
// Query arguments:
// - size Int
AvatarUrl URI `json:"avatarUrl,omitempty"`
// Bio: The user's public profile bio.
Bio string `json:"bio,omitempty"`
// BioHTML: The user's public profile bio as HTML.
BioHTML template.HTML `json:"bioHTML,omitempty"`
// CanReceiveOrganizationEmailsWhenNotificationsRestricted: Could this user receive email notifications, if the organization had notification restrictions enabled?.
//
// Query arguments:
// - login String!
CanReceiveOrganizationEmailsWhenNotificationsRestricted bool `json:"canReceiveOrganizationEmailsWhenNotificationsRestricted,omitempty"`
// CommitComments: A list of commit comments made by this user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
CommitComments *CommitCommentConnection `json:"commitComments,omitempty"`
// Company: The user's public profile company.
Company string `json:"company,omitempty"`
// CompanyHTML: The user's public profile company as HTML.
CompanyHTML template.HTML `json:"companyHTML,omitempty"`
// ContributionsCollection: The collection of contributions this user has made to different repositories.
//
// Query arguments:
// - organizationID ID
// - from DateTime
// - to DateTime
ContributionsCollection *ContributionsCollection `json:"contributionsCollection,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Email: The user's publicly visible profile email.
Email string `json:"email,omitempty"`
// EstimatedNextSponsorsPayoutInCents: The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents,omitempty"`
// Followers: A list of users the given user is followed by.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Followers *FollowerConnection `json:"followers,omitempty"`
// Following: A list of users the given user is following.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Following *FollowingConnection `json:"following,omitempty"`
// Gist: Find gist by repo name.
//
// Query arguments:
// - name String!
Gist *Gist `json:"gist,omitempty"`
// GistComments: A list of gist comments made by this user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
GistComments *GistCommentConnection `json:"gistComments,omitempty"`
// Gists: A list of the Gists the user has created.
//
// Query arguments:
// - privacy GistPrivacy
// - orderBy GistOrder
// - after String
// - before String
// - first Int
// - last Int
Gists *GistConnection `json:"gists,omitempty"`
// HasSponsorsListing: True if this user/organization has a GitHub Sponsors listing.
HasSponsorsListing bool `json:"hasSponsorsListing,omitempty"`
// Hovercard: The hovercard information for this user in a given context.
//
// Query arguments:
// - primarySubjectId ID
Hovercard *Hovercard `json:"hovercard,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// InteractionAbility: The interaction ability settings for this user.
InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
// IsBountyHunter: Whether or not this user is a participant in the GitHub Security Bug Bounty.
IsBountyHunter bool `json:"isBountyHunter,omitempty"`
// IsCampusExpert: Whether or not this user is a participant in the GitHub Campus Experts Program.
IsCampusExpert bool `json:"isCampusExpert,omitempty"`
// IsDeveloperProgramMember: Whether or not this user is a GitHub Developer Program member.
IsDeveloperProgramMember bool `json:"isDeveloperProgramMember,omitempty"`
// IsEmployee: Whether or not this user is a GitHub employee.
IsEmployee bool `json:"isEmployee,omitempty"`
// IsFollowingViewer: Whether or not this user is following the viewer. Inverse of viewer_is_following.
IsFollowingViewer bool `json:"isFollowingViewer,omitempty"`
// IsGitHubStar: Whether or not this user is a member of the GitHub Stars Program.
IsGitHubStar bool `json:"isGitHubStar,omitempty"`
// IsHireable: Whether or not the user has marked themselves as for hire.
IsHireable bool `json:"isHireable,omitempty"`
// IsSiteAdmin: Whether or not this user is a site administrator.
IsSiteAdmin bool `json:"isSiteAdmin,omitempty"`
// IsSponsoredBy: Check if the given account is sponsoring this user/organization.
//
// Query arguments:
// - accountLogin String!
IsSponsoredBy bool `json:"isSponsoredBy,omitempty"`
// IsSponsoringViewer: True if the viewer is sponsored by this user/organization.
IsSponsoringViewer bool `json:"isSponsoringViewer,omitempty"`
// IsViewer: Whether or not this user is the viewing user.
IsViewer bool `json:"isViewer,omitempty"`
// IssueComments: A list of issue comments made by this user.
//
// Query arguments:
// - orderBy IssueCommentOrder
// - after String
// - before String
// - first Int
// - last Int
IssueComments *IssueCommentConnection `json:"issueComments,omitempty"`
// Issues: A list of issues associated with this user.
//
// Query arguments:
// - orderBy IssueOrder
// - labels [String!]
// - states [IssueState!]
// - filterBy IssueFilters
// - after String
// - before String
// - first Int
// - last Int
Issues *IssueConnection `json:"issues,omitempty"`
// ItemShowcase: Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
ItemShowcase *ProfileItemShowcase `json:"itemShowcase,omitempty"`
// Location: The user's public profile location.
Location string `json:"location,omitempty"`
// Login: The username used to login.
Login string `json:"login,omitempty"`
// MonthlyEstimatedSponsorsIncomeInCents: The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents,omitempty"`
// Name: The user's public profile name.
Name string `json:"name,omitempty"`
// Organization: Find an organization by its login that the user belongs to.
//
// Query arguments:
// - login String!
Organization *Organization `json:"organization,omitempty"`
// OrganizationVerifiedDomainEmails: Verified email addresses that match verified domains for a specified organization the user is a member of.
//
// Query arguments:
// - login String!
OrganizationVerifiedDomainEmails []string `json:"organizationVerifiedDomainEmails,omitempty"`
// Organizations: A list of organizations the user belongs to.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
Organizations *OrganizationConnection `json:"organizations,omitempty"`
// Packages: A list of packages under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - names [String]
// - repositoryId ID
// - packageType PackageType
// - orderBy PackageOrder
Packages *PackageConnection `json:"packages,omitempty"`
// PinnableItems: A list of repositories and gists this profile owner can pin to their profile.
//
// Query arguments:
// - types [PinnableItemType!]
// - after String
// - before String
// - first Int
// - last Int
PinnableItems *PinnableItemConnection `json:"pinnableItems,omitempty"`
// PinnedItems: A list of repositories and gists this profile owner has pinned to their profile.
//
// Query arguments:
// - types [PinnableItemType!]
// - after String
// - before String
// - first Int
// - last Int
PinnedItems *PinnableItemConnection `json:"pinnedItems,omitempty"`
// PinnedItemsRemaining: Returns how many more items this profile owner can pin to their profile.
PinnedItemsRemaining int `json:"pinnedItemsRemaining,omitempty"`
// Project: Find project by number.
//
// Query arguments:
// - number Int!
Project *Project `json:"project,omitempty"`
// ProjectNext: Find a project by project (beta) number.
//
// Deprecated: Find a project by project (beta) number.
//
// Query arguments:
// - number Int!
ProjectNext *ProjectNext `json:"projectNext,omitempty"`
// ProjectV2: Find a project by number.
//
// Query arguments:
// - number Int!
ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
// Projects: A list of projects under the owner.
//
// Query arguments:
// - orderBy ProjectOrder
// - search String
// - states [ProjectState!]
// - after String
// - before String
// - first Int
// - last Int
Projects *ProjectConnection `json:"projects,omitempty"`
// ProjectsNext: A list of projects (beta) under the owner.
//
// Deprecated: A list of projects (beta) under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - sortBy ProjectNextOrderField
ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"`
// ProjectsResourcePath: The HTTP path listing user's projects.
ProjectsResourcePath URI `json:"projectsResourcePath,omitempty"`
// ProjectsUrl: The HTTP URL listing user's projects.
ProjectsUrl URI `json:"projectsUrl,omitempty"`
// ProjectsV2: A list of projects under the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - query String
// - orderBy ProjectV2Order
ProjectsV2 *ProjectV2Connection `json:"projectsV2,omitempty"`
// PublicKeys: A list of public keys associated with this user.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PublicKeys *PublicKeyConnection `json:"publicKeys,omitempty"`
// PullRequests: A list of pull requests associated with this user.
//
// Query arguments:
// - states [PullRequestState!]
// - labels [String!]
// - headRefName String
// - baseRefName String
// - orderBy IssueOrder
// - after String
// - before String
// - first Int
// - last Int
PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
// RecentProjects: Recent projects that this user has modified in the context of the owner.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
RecentProjects *ProjectV2Connection `json:"recentProjects,omitempty"`
// Repositories: A list of repositories that the user owns.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - affiliations [RepositoryAffiliation]
// - ownerAffiliations [RepositoryAffiliation]
// - isLocked Boolean
// - after String
// - before String
// - first Int
// - last Int
// - isFork Boolean
Repositories *RepositoryConnection `json:"repositories,omitempty"`
// RepositoriesContributedTo: A list of repositories that the user recently contributed to.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - isLocked Boolean
// - includeUserRepositories Boolean
// - contributionTypes [RepositoryContributionType]
// - after String
// - before String
// - first Int
// - last Int
RepositoriesContributedTo *RepositoryConnection `json:"repositoriesContributedTo,omitempty"`
// Repository: Find Repository.
//
// Query arguments:
// - name String!
// - followRenames Boolean
Repository *Repository `json:"repository,omitempty"`
// RepositoryDiscussionComments: Discussion comments this user has authored.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - repositoryId ID
// - onlyAnswers Boolean
RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments,omitempty"`
// RepositoryDiscussions: Discussions this user has started.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy DiscussionOrder
// - repositoryId ID
// - answered Boolean
RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions,omitempty"`
// ResourcePath: The HTTP path for this user.
ResourcePath URI `json:"resourcePath,omitempty"`
// SavedReplies: Replies this user has saved.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SavedReplyOrder
SavedReplies *SavedReplyConnection `json:"savedReplies,omitempty"`
// Sponsoring: List of users and organizations this entity is sponsoring.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorOrder
Sponsoring *SponsorConnection `json:"sponsoring,omitempty"`
// Sponsors: List of sponsors for this user or organization.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - tierId ID
// - orderBy SponsorOrder
Sponsors *SponsorConnection `json:"sponsors,omitempty"`
// SponsorsActivities: Events involving this sponsorable, such as new sponsorships.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - period SponsorsActivityPeriod
// - orderBy SponsorsActivityOrder
// - actions [SponsorsActivityAction!]
SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities,omitempty"`
// SponsorsListing: The GitHub Sponsors listing for this user or organization.
SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
// SponsorshipForViewerAsSponsor: The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active.
SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"`
// SponsorshipForViewerAsSponsorable: The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active.
SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"`
// SponsorshipNewsletters: List of sponsorship updates sent from this sponsorable to sponsors.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorshipNewsletterOrder
SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters,omitempty"`
// SponsorshipsAsMaintainer: This object's sponsorships as the maintainer.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - includePrivate Boolean
// - orderBy SponsorshipOrder
SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer,omitempty"`
// SponsorshipsAsSponsor: This object's sponsorships as the sponsor.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy SponsorshipOrder
SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor,omitempty"`
// StarredRepositories: Repositories the user has starred.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - ownedByViewer Boolean
// - orderBy StarOrder
StarredRepositories *StarredRepositoryConnection `json:"starredRepositories,omitempty"`
// Status: The user's description of what they're currently doing.
Status *UserStatus `json:"status,omitempty"`
// TopRepositories: Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created
// .
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
// - orderBy RepositoryOrder!
// - since DateTime
TopRepositories *RepositoryConnection `json:"topRepositories,omitempty"`
// TwitterUsername: The user's Twitter username.
TwitterUsername string `json:"twitterUsername,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this user.
Url URI `json:"url,omitempty"`
// ViewerCanChangePinnedItems: Can the viewer pin repositories and gists to the profile?.
ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems,omitempty"`
// ViewerCanCreateProjects: Can the current viewer create new projects on this owner.
ViewerCanCreateProjects bool `json:"viewerCanCreateProjects,omitempty"`
// ViewerCanFollow: Whether or not the viewer is able to follow the user.
ViewerCanFollow bool `json:"viewerCanFollow,omitempty"`
// ViewerCanSponsor: Whether or not the viewer is able to sponsor this user/organization.
ViewerCanSponsor bool `json:"viewerCanSponsor,omitempty"`
// ViewerIsFollowing: Whether or not this user is followed by the viewer. Inverse of is_following_viewer.
ViewerIsFollowing bool `json:"viewerIsFollowing,omitempty"`
// ViewerIsSponsoring: True if the viewer is sponsoring this user/organization.
ViewerIsSponsoring bool `json:"viewerIsSponsoring,omitempty"`
// Watching: A list of repositories the given user is watching.
//
// Query arguments:
// - privacy RepositoryPrivacy
// - orderBy RepositoryOrder
// - affiliations [RepositoryAffiliation]
// - ownerAffiliations [RepositoryAffiliation]
// - isLocked Boolean
// - after String
// - before String
// - first Int
// - last Int
Watching *RepositoryConnection `json:"watching,omitempty"`
// WebsiteUrl: A URL pointing to the user's public website/blog.
WebsiteUrl URI `json:"websiteUrl,omitempty"`
}
User (OBJECT): A user is an individual's account on GitHub that owns repositories and can make new content.
func (*User) GetAnyPinnableItems ¶
func (*User) GetAvatarUrl ¶
func (*User) GetBioHTML ¶
func (*User) GetCommitComments ¶
func (x *User) GetCommitComments() *CommitCommentConnection
func (*User) GetCompany ¶
func (*User) GetCompanyHTML ¶
func (*User) GetContributionsCollection ¶
func (x *User) GetContributionsCollection() *ContributionsCollection
func (*User) GetCreatedAt ¶
func (*User) GetDatabaseId ¶
func (*User) GetEstimatedNextSponsorsPayoutInCents ¶
func (*User) GetFollowers ¶
func (x *User) GetFollowers() *FollowerConnection
func (*User) GetFollowing ¶
func (x *User) GetFollowing() *FollowingConnection
func (*User) GetGistComments ¶
func (x *User) GetGistComments() *GistCommentConnection
func (*User) GetGists ¶
func (x *User) GetGists() *GistConnection
func (*User) GetHasSponsorsListing ¶
func (*User) GetHovercard ¶
func (*User) GetInteractionAbility ¶
func (x *User) GetInteractionAbility() *RepositoryInteractionAbility
func (*User) GetIsBountyHunter ¶
func (*User) GetIsCampusExpert ¶
func (*User) GetIsDeveloperProgramMember ¶
func (*User) GetIsEmployee ¶
func (*User) GetIsFollowingViewer ¶
func (*User) GetIsGitHubStar ¶
func (*User) GetIsHireable ¶
func (*User) GetIsSiteAdmin ¶
func (*User) GetIsSponsoredBy ¶
func (*User) GetIsSponsoringViewer ¶
func (*User) GetIsViewer ¶
func (*User) GetIssueComments ¶
func (x *User) GetIssueComments() *IssueCommentConnection
func (*User) GetIssues ¶
func (x *User) GetIssues() *IssueConnection
func (*User) GetItemShowcase ¶
func (x *User) GetItemShowcase() *ProfileItemShowcase
func (*User) GetLocation ¶
func (*User) GetMonthlyEstimatedSponsorsIncomeInCents ¶
func (*User) GetOrganization ¶
func (x *User) GetOrganization() *Organization
func (*User) GetOrganizationVerifiedDomainEmails ¶
func (*User) GetOrganizations ¶
func (x *User) GetOrganizations() *OrganizationConnection
func (*User) GetPackages ¶
func (x *User) GetPackages() *PackageConnection
func (*User) GetPinnableItems ¶
func (x *User) GetPinnableItems() *PinnableItemConnection
func (*User) GetPinnedItems ¶
func (x *User) GetPinnedItems() *PinnableItemConnection
func (*User) GetPinnedItemsRemaining ¶
func (*User) GetProject ¶
func (*User) GetProjectNext ¶
func (x *User) GetProjectNext() *ProjectNext
func (*User) GetProjectV2 ¶
func (*User) GetProjects ¶
func (x *User) GetProjects() *ProjectConnection
func (*User) GetProjectsNext ¶
func (x *User) GetProjectsNext() *ProjectNextConnection
func (*User) GetProjectsResourcePath ¶
func (*User) GetProjectsUrl ¶
func (*User) GetProjectsV2 ¶
func (x *User) GetProjectsV2() *ProjectV2Connection
func (*User) GetPublicKeys ¶
func (x *User) GetPublicKeys() *PublicKeyConnection
func (*User) GetPullRequests ¶
func (x *User) GetPullRequests() *PullRequestConnection
func (*User) GetRecentProjects ¶
func (x *User) GetRecentProjects() *ProjectV2Connection
func (*User) GetRepositories ¶
func (x *User) GetRepositories() *RepositoryConnection
func (*User) GetRepositoriesContributedTo ¶
func (x *User) GetRepositoriesContributedTo() *RepositoryConnection
func (*User) GetRepository ¶
func (x *User) GetRepository() *Repository
func (*User) GetRepositoryDiscussionComments ¶
func (x *User) GetRepositoryDiscussionComments() *DiscussionCommentConnection
func (*User) GetRepositoryDiscussions ¶
func (x *User) GetRepositoryDiscussions() *DiscussionConnection
func (*User) GetResourcePath ¶
func (*User) GetSavedReplies ¶
func (x *User) GetSavedReplies() *SavedReplyConnection
func (*User) GetSponsoring ¶
func (x *User) GetSponsoring() *SponsorConnection
func (*User) GetSponsors ¶
func (x *User) GetSponsors() *SponsorConnection
func (*User) GetSponsorsActivities ¶
func (x *User) GetSponsorsActivities() *SponsorsActivityConnection
func (*User) GetSponsorsListing ¶
func (x *User) GetSponsorsListing() *SponsorsListing
func (*User) GetSponsorshipForViewerAsSponsor ¶
func (x *User) GetSponsorshipForViewerAsSponsor() *Sponsorship
func (*User) GetSponsorshipForViewerAsSponsorable ¶
func (x *User) GetSponsorshipForViewerAsSponsorable() *Sponsorship
func (*User) GetSponsorshipNewsletters ¶
func (x *User) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
func (*User) GetSponsorshipsAsMaintainer ¶
func (x *User) GetSponsorshipsAsMaintainer() *SponsorshipConnection
func (*User) GetSponsorshipsAsSponsor ¶
func (x *User) GetSponsorshipsAsSponsor() *SponsorshipConnection
func (*User) GetStarredRepositories ¶
func (x *User) GetStarredRepositories() *StarredRepositoryConnection
func (*User) GetStatus ¶
func (x *User) GetStatus() *UserStatus
func (*User) GetTopRepositories ¶
func (x *User) GetTopRepositories() *RepositoryConnection
func (*User) GetTwitterUsername ¶
func (*User) GetUpdatedAt ¶
func (*User) GetViewerCanChangePinnedItems ¶
func (*User) GetViewerCanCreateProjects ¶
func (*User) GetViewerCanFollow ¶
func (*User) GetViewerCanSponsor ¶
func (*User) GetViewerIsFollowing ¶
func (*User) GetViewerIsSponsoring ¶
func (*User) GetWatching ¶
func (x *User) GetWatching() *RepositoryConnection
func (*User) GetWebsiteUrl ¶
type UserBlockDuration ¶
type UserBlockDuration string
UserBlockDuration (ENUM): The possible durations that a user can be blocked for.
const UserBlockDuration_ONE_DAY UserBlockDuration = "ONE_DAY"
UserBlockDuration_ONE_DAY: The user was blocked for 1 day.
const UserBlockDuration_ONE_MONTH UserBlockDuration = "ONE_MONTH"
UserBlockDuration_ONE_MONTH: The user was blocked for 30 days.
const UserBlockDuration_ONE_WEEK UserBlockDuration = "ONE_WEEK"
UserBlockDuration_ONE_WEEK: The user was blocked for 7 days.
const UserBlockDuration_PERMANENT UserBlockDuration = "PERMANENT"
UserBlockDuration_PERMANENT: The user was blocked permanently.
const UserBlockDuration_THREE_DAYS UserBlockDuration = "THREE_DAYS"
UserBlockDuration_THREE_DAYS: The user was blocked for 3 days.
type UserBlockedEvent ¶
type UserBlockedEvent struct {
// Actor: Identifies the actor who performed the event.
Actor Actor `json:"actor,omitempty"`
// BlockDuration: Number of days that the user was blocked for.
BlockDuration UserBlockDuration `json:"blockDuration,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Subject: The user who was blocked.
Subject *User `json:"subject,omitempty"`
}
UserBlockedEvent (OBJECT): Represents a 'user_blocked' event on a given user.
func (*UserBlockedEvent) GetActor ¶
func (x *UserBlockedEvent) GetActor() Actor
func (*UserBlockedEvent) GetBlockDuration ¶
func (x *UserBlockedEvent) GetBlockDuration() UserBlockDuration
func (*UserBlockedEvent) GetCreatedAt ¶
func (x *UserBlockedEvent) GetCreatedAt() DateTime
func (*UserBlockedEvent) GetId ¶
func (x *UserBlockedEvent) GetId() ID
func (*UserBlockedEvent) GetSubject ¶
func (x *UserBlockedEvent) GetSubject() *User
type UserConnection ¶
type UserConnection struct {
// Edges: A list of edges.
Edges []*UserEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*User `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
UserConnection (OBJECT): The connection type for User.
func (*UserConnection) GetEdges ¶
func (x *UserConnection) GetEdges() []*UserEdge
func (*UserConnection) GetNodes ¶
func (x *UserConnection) GetNodes() []*User
func (*UserConnection) GetPageInfo ¶
func (x *UserConnection) GetPageInfo() *PageInfo
func (*UserConnection) GetTotalCount ¶
func (x *UserConnection) GetTotalCount() int
type UserContentEdit ¶
type UserContentEdit struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DeletedAt: Identifies the date and time when the object was deleted.
DeletedAt DateTime `json:"deletedAt,omitempty"`
// DeletedBy: The actor who deleted this content.
DeletedBy Actor `json:"deletedBy,omitempty"`
// Diff: A summary of the changes for this edit.
Diff string `json:"diff,omitempty"`
// EditedAt: When this content was edited.
EditedAt DateTime `json:"editedAt,omitempty"`
// Editor: The actor who edited this content.
Editor Actor `json:"editor,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
UserContentEdit (OBJECT): An edit on user content.
func (*UserContentEdit) GetCreatedAt ¶
func (x *UserContentEdit) GetCreatedAt() DateTime
func (*UserContentEdit) GetDeletedAt ¶
func (x *UserContentEdit) GetDeletedAt() DateTime
func (*UserContentEdit) GetDeletedBy ¶
func (x *UserContentEdit) GetDeletedBy() Actor
func (*UserContentEdit) GetDiff ¶
func (x *UserContentEdit) GetDiff() string
func (*UserContentEdit) GetEditedAt ¶
func (x *UserContentEdit) GetEditedAt() DateTime
func (*UserContentEdit) GetEditor ¶
func (x *UserContentEdit) GetEditor() Actor
func (*UserContentEdit) GetId ¶
func (x *UserContentEdit) GetId() ID
func (*UserContentEdit) GetUpdatedAt ¶
func (x *UserContentEdit) GetUpdatedAt() DateTime
type UserContentEditConnection ¶
type UserContentEditConnection struct {
// Edges: A list of edges.
Edges []*UserContentEditEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*UserContentEdit `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
UserContentEditConnection (OBJECT): A list of edits to content.
func (*UserContentEditConnection) GetEdges ¶
func (x *UserContentEditConnection) GetEdges() []*UserContentEditEdge
func (*UserContentEditConnection) GetNodes ¶
func (x *UserContentEditConnection) GetNodes() []*UserContentEdit
func (*UserContentEditConnection) GetPageInfo ¶
func (x *UserContentEditConnection) GetPageInfo() *PageInfo
func (*UserContentEditConnection) GetTotalCount ¶
func (x *UserContentEditConnection) GetTotalCount() int
type UserContentEditEdge ¶
type UserContentEditEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *UserContentEdit `json:"node,omitempty"`
}
UserContentEditEdge (OBJECT): An edge in a connection.
func (*UserContentEditEdge) GetCursor ¶
func (x *UserContentEditEdge) GetCursor() string
func (*UserContentEditEdge) GetNode ¶
func (x *UserContentEditEdge) GetNode() *UserContentEdit
type UserEdge ¶
type UserEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *User `json:"node,omitempty"`
}
UserEdge (OBJECT): Represents a user.
type UserEmailMetadata ¶
type UserEmailMetadata struct {
// Primary: Boolean to identify primary emails.
Primary bool `json:"primary,omitempty"`
// Type: Type of email.
Type string `json:"type,omitempty"`
// Value: Email id.
Value string `json:"value,omitempty"`
}
UserEmailMetadata (OBJECT): Email attributes from External Identity.
func (*UserEmailMetadata) GetPrimary ¶
func (x *UserEmailMetadata) GetPrimary() bool
func (*UserEmailMetadata) GetType ¶
func (x *UserEmailMetadata) GetType() string
func (*UserEmailMetadata) GetValue ¶
func (x *UserEmailMetadata) GetValue() string
type UserStatus ¶
type UserStatus struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// Emoji: An emoji summarizing the user's status.
Emoji string `json:"emoji,omitempty"`
// EmojiHTML: The status emoji as HTML.
EmojiHTML template.HTML `json:"emojiHTML,omitempty"`
// ExpiresAt: If set, the status will not be shown after this date.
ExpiresAt DateTime `json:"expiresAt,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IndicatesLimitedAvailability: Whether this status indicates the user is not fully available on GitHub.
IndicatesLimitedAvailability bool `json:"indicatesLimitedAvailability,omitempty"`
// Message: A brief message describing what the user is doing.
Message string `json:"message,omitempty"`
// Organization: The organization whose members can see this status. If null, this status is publicly visible.
Organization *Organization `json:"organization,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// User: The user who has this status.
User *User `json:"user,omitempty"`
}
UserStatus (OBJECT): The user's description of what they're currently doing.
func (*UserStatus) GetCreatedAt ¶
func (x *UserStatus) GetCreatedAt() DateTime
func (*UserStatus) GetEmoji ¶
func (x *UserStatus) GetEmoji() string
func (*UserStatus) GetEmojiHTML ¶
func (x *UserStatus) GetEmojiHTML() template.HTML
func (*UserStatus) GetExpiresAt ¶
func (x *UserStatus) GetExpiresAt() DateTime
func (*UserStatus) GetId ¶
func (x *UserStatus) GetId() ID
func (*UserStatus) GetIndicatesLimitedAvailability ¶
func (x *UserStatus) GetIndicatesLimitedAvailability() bool
func (*UserStatus) GetMessage ¶
func (x *UserStatus) GetMessage() string
func (*UserStatus) GetOrganization ¶
func (x *UserStatus) GetOrganization() *Organization
func (*UserStatus) GetUpdatedAt ¶
func (x *UserStatus) GetUpdatedAt() DateTime
func (*UserStatus) GetUser ¶
func (x *UserStatus) GetUser() *User
type UserStatusConnection ¶
type UserStatusConnection struct {
// Edges: A list of edges.
Edges []*UserStatusEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*UserStatus `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
UserStatusConnection (OBJECT): The connection type for UserStatus.
func (*UserStatusConnection) GetEdges ¶
func (x *UserStatusConnection) GetEdges() []*UserStatusEdge
func (*UserStatusConnection) GetNodes ¶
func (x *UserStatusConnection) GetNodes() []*UserStatus
func (*UserStatusConnection) GetPageInfo ¶
func (x *UserStatusConnection) GetPageInfo() *PageInfo
func (*UserStatusConnection) GetTotalCount ¶
func (x *UserStatusConnection) GetTotalCount() int
type UserStatusEdge ¶
type UserStatusEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *UserStatus `json:"node,omitempty"`
}
UserStatusEdge (OBJECT): An edge in a connection.
func (*UserStatusEdge) GetCursor ¶
func (x *UserStatusEdge) GetCursor() string
func (*UserStatusEdge) GetNode ¶
func (x *UserStatusEdge) GetNode() *UserStatus
type UserStatusOrder ¶
type UserStatusOrder struct {
// Field: The field to order user statuses by.
//
// GraphQL type: UserStatusOrderField!
Field UserStatusOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
UserStatusOrder (INPUT_OBJECT): Ordering options for user status connections.
type UserStatusOrderField ¶
type UserStatusOrderField string
UserStatusOrderField (ENUM): Properties by which user status connections can be ordered.
const UserStatusOrderField_UPDATED_AT UserStatusOrderField = "UPDATED_AT"
UserStatusOrderField_UPDATED_AT: Order user statuses by when they were updated.
type VerifiableDomain ¶
type VerifiableDomain struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DnsHostName: The DNS host name that should be used for verification.
DnsHostName URI `json:"dnsHostName,omitempty"`
// Domain: The unicode encoded domain.
Domain URI `json:"domain,omitempty"`
// HasFoundHostName: Whether a TXT record for verification with the expected host name was found.
HasFoundHostName bool `json:"hasFoundHostName,omitempty"`
// HasFoundVerificationToken: Whether a TXT record for verification with the expected verification token was found.
HasFoundVerificationToken bool `json:"hasFoundVerificationToken,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// IsApproved: Whether or not the domain is approved.
IsApproved bool `json:"isApproved,omitempty"`
// IsRequiredForPolicyEnforcement: Whether this domain is required to exist for an organization or enterprise policy to be enforced.
IsRequiredForPolicyEnforcement bool `json:"isRequiredForPolicyEnforcement,omitempty"`
// IsVerified: Whether or not the domain is verified.
IsVerified bool `json:"isVerified,omitempty"`
// Owner: The owner of the domain.
Owner VerifiableDomainOwner `json:"owner,omitempty"`
// PunycodeEncodedDomain: The punycode encoded domain.
PunycodeEncodedDomain URI `json:"punycodeEncodedDomain,omitempty"`
// TokenExpirationTime: The time that the current verification token will expire.
TokenExpirationTime DateTime `json:"tokenExpirationTime,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// VerificationToken: The current verification token for the domain.
VerificationToken string `json:"verificationToken,omitempty"`
}
VerifiableDomain (OBJECT): A domain that can be verified or approved for an organization or an enterprise.
func (*VerifiableDomain) GetCreatedAt ¶
func (x *VerifiableDomain) GetCreatedAt() DateTime
func (*VerifiableDomain) GetDatabaseId ¶
func (x *VerifiableDomain) GetDatabaseId() int
func (*VerifiableDomain) GetDnsHostName ¶
func (x *VerifiableDomain) GetDnsHostName() URI
func (*VerifiableDomain) GetDomain ¶
func (x *VerifiableDomain) GetDomain() URI
func (*VerifiableDomain) GetHasFoundHostName ¶
func (x *VerifiableDomain) GetHasFoundHostName() bool
func (*VerifiableDomain) GetHasFoundVerificationToken ¶
func (x *VerifiableDomain) GetHasFoundVerificationToken() bool
func (*VerifiableDomain) GetId ¶
func (x *VerifiableDomain) GetId() ID
func (*VerifiableDomain) GetIsApproved ¶
func (x *VerifiableDomain) GetIsApproved() bool
func (*VerifiableDomain) GetIsRequiredForPolicyEnforcement ¶
func (x *VerifiableDomain) GetIsRequiredForPolicyEnforcement() bool
func (*VerifiableDomain) GetIsVerified ¶
func (x *VerifiableDomain) GetIsVerified() bool
func (*VerifiableDomain) GetOwner ¶
func (x *VerifiableDomain) GetOwner() VerifiableDomainOwner
func (*VerifiableDomain) GetPunycodeEncodedDomain ¶
func (x *VerifiableDomain) GetPunycodeEncodedDomain() URI
func (*VerifiableDomain) GetTokenExpirationTime ¶
func (x *VerifiableDomain) GetTokenExpirationTime() DateTime
func (*VerifiableDomain) GetUpdatedAt ¶
func (x *VerifiableDomain) GetUpdatedAt() DateTime
func (*VerifiableDomain) GetVerificationToken ¶
func (x *VerifiableDomain) GetVerificationToken() string
type VerifiableDomainConnection ¶
type VerifiableDomainConnection struct {
// Edges: A list of edges.
Edges []*VerifiableDomainEdge `json:"edges,omitempty"`
// Nodes: A list of nodes.
Nodes []*VerifiableDomain `json:"nodes,omitempty"`
// PageInfo: Information to aid in pagination.
PageInfo *PageInfo `json:"pageInfo,omitempty"`
// TotalCount: Identifies the total count of items in the connection.
TotalCount int `json:"totalCount,omitempty"`
}
VerifiableDomainConnection (OBJECT): The connection type for VerifiableDomain.
func (*VerifiableDomainConnection) GetEdges ¶
func (x *VerifiableDomainConnection) GetEdges() []*VerifiableDomainEdge
func (*VerifiableDomainConnection) GetNodes ¶
func (x *VerifiableDomainConnection) GetNodes() []*VerifiableDomain
func (*VerifiableDomainConnection) GetPageInfo ¶
func (x *VerifiableDomainConnection) GetPageInfo() *PageInfo
func (*VerifiableDomainConnection) GetTotalCount ¶
func (x *VerifiableDomainConnection) GetTotalCount() int
type VerifiableDomainEdge ¶
type VerifiableDomainEdge struct {
// Cursor: A cursor for use in pagination.
Cursor string `json:"cursor,omitempty"`
// Node: The item at the end of the edge.
Node *VerifiableDomain `json:"node,omitempty"`
}
VerifiableDomainEdge (OBJECT): An edge in a connection.
func (*VerifiableDomainEdge) GetCursor ¶
func (x *VerifiableDomainEdge) GetCursor() string
func (*VerifiableDomainEdge) GetNode ¶
func (x *VerifiableDomainEdge) GetNode() *VerifiableDomain
type VerifiableDomainOrder ¶
type VerifiableDomainOrder struct {
// Field: The field to order verifiable domains by.
//
// GraphQL type: VerifiableDomainOrderField!
Field VerifiableDomainOrderField `json:"field,omitempty"`
// Direction: The ordering direction.
//
// GraphQL type: OrderDirection!
Direction OrderDirection `json:"direction,omitempty"`
}
VerifiableDomainOrder (INPUT_OBJECT): Ordering options for verifiable domain connections.
type VerifiableDomainOrderField ¶
type VerifiableDomainOrderField string
VerifiableDomainOrderField (ENUM): Properties by which verifiable domain connections can be ordered.
const VerifiableDomainOrderField_CREATED_AT VerifiableDomainOrderField = "CREATED_AT"
VerifiableDomainOrderField_CREATED_AT: Order verifiable domains by their creation date.
const VerifiableDomainOrderField_DOMAIN VerifiableDomainOrderField = "DOMAIN"
VerifiableDomainOrderField_DOMAIN: Order verifiable domains by the domain name.
type VerifiableDomainOwner ¶
type VerifiableDomainOwner struct {
Interface VerifiableDomainOwner_Interface
}
func (*VerifiableDomainOwner) MarshalJSON ¶
func (x *VerifiableDomainOwner) MarshalJSON() ([]byte, error)
func (*VerifiableDomainOwner) UnmarshalJSON ¶
func (x *VerifiableDomainOwner) UnmarshalJSON(js []byte) error
type VerifiableDomainOwner_Interface ¶
type VerifiableDomainOwner_Interface interface {
// contains filtered or unexported methods
}
VerifiableDomainOwner (UNION): Types that can own a verifiable domain. VerifiableDomainOwner_Interface: Types that can own a verifiable domain.
Possible types:
- *Enterprise
- *Organization
type VerifyVerifiableDomainInput ¶
type VerifyVerifiableDomainInput struct {
// Id: The ID of the verifiable domain to verify.
//
// GraphQL type: ID!
Id ID `json:"id,omitempty"`
// ClientMutationId: A unique identifier for the client performing the mutation.
//
// GraphQL type: String
ClientMutationId string `json:"clientMutationId,omitempty"`
}
VerifyVerifiableDomainInput (INPUT_OBJECT): Autogenerated input type of VerifyVerifiableDomain.
type VerifyVerifiableDomainPayload ¶
type VerifyVerifiableDomainPayload struct {
// ClientMutationId: A unique identifier for the client performing the mutation.
ClientMutationId string `json:"clientMutationId,omitempty"`
// Domain: The verifiable domain that was verified.
Domain *VerifiableDomain `json:"domain,omitempty"`
}
VerifyVerifiableDomainPayload (OBJECT): Autogenerated return type of VerifyVerifiableDomain.
func (*VerifyVerifiableDomainPayload) GetClientMutationId ¶
func (x *VerifyVerifiableDomainPayload) GetClientMutationId() string
func (*VerifyVerifiableDomainPayload) GetDomain ¶
func (x *VerifyVerifiableDomainPayload) GetDomain() *VerifiableDomain
type ViewerHovercardContext ¶
type ViewerHovercardContext struct {
// Message: A string describing this context.
Message string `json:"message,omitempty"`
// Octicon: An octicon to accompany this context.
Octicon string `json:"octicon,omitempty"`
// Viewer: Identifies the user who is related to this context.
Viewer *User `json:"viewer,omitempty"`
}
ViewerHovercardContext (OBJECT): A hovercard context with a message describing how the viewer is related.
func (*ViewerHovercardContext) GetMessage ¶
func (x *ViewerHovercardContext) GetMessage() string
func (*ViewerHovercardContext) GetOcticon ¶
func (x *ViewerHovercardContext) GetOcticon() string
func (*ViewerHovercardContext) GetViewer ¶
func (x *ViewerHovercardContext) GetViewer() *User
type Votable ¶
type Votable struct {
Interface Votable_Interface
}
func (*Votable) MarshalJSON ¶
func (*Votable) UnmarshalJSON ¶
type Votable_Interface ¶
type Votable_Interface interface {
GetUpvoteCount() int
GetViewerCanUpvote() bool
GetViewerHasUpvoted() bool
// contains filtered or unexported methods
}
Votable (INTERFACE): A subject that may be upvoted. Votable_Interface: A subject that may be upvoted.
Possible types:
- *Discussion
- *DiscussionComment
type Workflow ¶
type Workflow struct {
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// Name: The name of the workflow.
Name string `json:"name,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
}
Workflow (OBJECT): A workflow contains meta information about an Actions workflow file.
func (*Workflow) GetCreatedAt ¶
func (*Workflow) GetDatabaseId ¶
func (*Workflow) GetUpdatedAt ¶
type WorkflowRun ¶
type WorkflowRun struct {
// CheckSuite: The check suite this workflow run belongs to.
CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
// CreatedAt: Identifies the date and time when the object was created.
CreatedAt DateTime `json:"createdAt,omitempty"`
// DatabaseId: Identifies the primary key from the database.
DatabaseId int `json:"databaseId,omitempty"`
// DeploymentReviews: The log of deployment reviews.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
DeploymentReviews *DeploymentReviewConnection `json:"deploymentReviews,omitempty"`
// Id: undocumented.
Id ID `json:"id,omitempty"`
// PendingDeploymentRequests: The pending deployment requests of all check runs in this workflow run.
//
// Query arguments:
// - after String
// - before String
// - first Int
// - last Int
PendingDeploymentRequests *DeploymentRequestConnection `json:"pendingDeploymentRequests,omitempty"`
// ResourcePath: The HTTP path for this workflow run.
ResourcePath URI `json:"resourcePath,omitempty"`
// RunNumber: A number that uniquely identifies this workflow run in its parent workflow.
RunNumber int `json:"runNumber,omitempty"`
// UpdatedAt: Identifies the date and time when the object was last updated.
UpdatedAt DateTime `json:"updatedAt,omitempty"`
// Url: The HTTP URL for this workflow run.
Url URI `json:"url,omitempty"`
// Workflow: The workflow executed in this workflow run.
Workflow *Workflow `json:"workflow,omitempty"`
}
WorkflowRun (OBJECT): A workflow run.
func (*WorkflowRun) GetCheckSuite ¶
func (x *WorkflowRun) GetCheckSuite() *CheckSuite
func (*WorkflowRun) GetCreatedAt ¶
func (x *WorkflowRun) GetCreatedAt() DateTime
func (*WorkflowRun) GetDatabaseId ¶
func (x *WorkflowRun) GetDatabaseId() int
func (*WorkflowRun) GetDeploymentReviews ¶
func (x *WorkflowRun) GetDeploymentReviews() *DeploymentReviewConnection
func (*WorkflowRun) GetId ¶
func (x *WorkflowRun) GetId() ID
func (*WorkflowRun) GetPendingDeploymentRequests ¶
func (x *WorkflowRun) GetPendingDeploymentRequests() *DeploymentRequestConnection
func (*WorkflowRun) GetResourcePath ¶
func (x *WorkflowRun) GetResourcePath() URI
func (*WorkflowRun) GetRunNumber ¶
func (x *WorkflowRun) GetRunNumber() int
func (*WorkflowRun) GetUpdatedAt ¶
func (x *WorkflowRun) GetUpdatedAt() DateTime
func (*WorkflowRun) GetUrl ¶
func (x *WorkflowRun) GetUrl() URI
func (*WorkflowRun) GetWorkflow ¶
func (x *WorkflowRun) GetWorkflow() *Workflow
type X509Certificate ¶
type X509Certificate string
X509Certificate (SCALAR): A valid x509 certificate string.