Documentation ¶
Index ¶
- Constants
- Variables
- type AbortQueuedMigrationsInput
- type AbortQueuedMigrationsPayload
- type AcceptEnterpriseAdministratorInvitationInput
- type AcceptEnterpriseAdministratorInvitationPayload
- type AcceptTopicSuggestionInput
- type AcceptTopicSuggestionPayload
- type Actor
- type ActorLocation
- type ActorType
- type AddAssigneesToAssignableInput
- type AddAssigneesToAssignablePayload
- type AddCommentInput
- type AddCommentPayload
- type AddDiscussionCommentInput
- type AddDiscussionCommentPayload
- type AddDiscussionPollVoteInput
- type AddDiscussionPollVotePayload
- type AddEnterpriseOrganizationMemberInput
- type AddEnterpriseOrganizationMemberPayload
- type AddEnterpriseSupportEntitlementInput
- type AddEnterpriseSupportEntitlementPayload
- type AddLabelsToLabelableInput
- type AddLabelsToLabelablePayload
- type AddProjectCardInput
- type AddProjectCardPayload
- type AddProjectColumnInput
- type AddProjectColumnPayload
- 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 AddStar
- type AddStarInput
- type AddStarPayload
- type AddStar_AddStar
- type AddStar_AddStar_Starrable
- type AddStar_AddStar_Starrable_Repository
- type AddUpvoteInput
- type AddUpvotePayload
- type AddVerifiableDomainInput
- type AddVerifiableDomainPayload
- type AddedToProjectEvent
- type AnnouncementBanner
- type App
- type ApproveDeploymentsInput
- type ApproveDeploymentsPayload
- type ApproveVerifiableDomainInput
- type ApproveVerifiableDomainPayload
- type ArchiveProjectV2ItemInput
- type ArchiveProjectV2ItemPayload
- type ArchiveRepositoryInput
- type ArchiveRepositoryPayload
- type Assignable
- type AssignedEvent
- type Assignee
- type AuditEntry
- type AuditEntryActor
- type AuditLogOrder
- type AuditLogOrderField
- type AutoMergeDisabledEvent
- type AutoMergeEnabledEvent
- type AutoMergeRequest
- type AutoRebaseEnabledEvent
- type AutoSquashEnabledEvent
- type AutomaticBaseChangeFailedEvent
- type AutomaticBaseChangeSucceededEvent
- type BaseRefChangedEvent
- type BaseRefDeletedEvent
- type BaseRefForcePushedEvent
- type Blame
- type BlameRange
- type Blob
- type Bot
- func (this Bot) GetAvatarURL() string
- func (this Bot) GetID() string
- func (this Bot) GetLogin() string
- func (this Bot) GetResourcePath() string
- func (this Bot) GetURL() string
- func (Bot) IsActor()
- func (Bot) IsAssignee()
- func (Bot) IsAuditEntryActor()
- func (Bot) IsNode()
- func (Bot) IsReactor()
- func (Bot) IsUniformResourceLocatable()
- type BranchActorAllowanceActor
- type BranchProtectionRule
- type BranchProtectionRuleConflict
- type BranchProtectionRuleConflictConnection
- type BranchProtectionRuleConflictEdge
- type BranchProtectionRuleConnection
- type BranchProtectionRuleEdge
- type BypassForcePushAllowance
- type BypassForcePushAllowanceConnection
- type BypassForcePushAllowanceEdge
- type BypassPullRequestAllowance
- type BypassPullRequestAllowanceConnection
- type BypassPullRequestAllowanceEdge
- type CWEConnection
- type CWEEdge
- type CancelEnterpriseAdminInvitationInput
- type CancelEnterpriseAdminInvitationPayload
- type CancelSponsorshipInput
- type CancelSponsorshipPayload
- type ChangeUserStatusInput
- type ChangeUserStatusPayload
- type CheckAnnotation
- type CheckAnnotationConnection
- type CheckAnnotationData
- type CheckAnnotationEdge
- type CheckAnnotationLevel
- type CheckAnnotationPosition
- type CheckAnnotationRange
- type CheckAnnotationSpan
- type CheckConclusionState
- type CheckRun
- func (this CheckRun) GetID() string
- func (this CheckRun) GetIsRequired() bool
- func (this CheckRun) GetResourcePath() string
- func (this CheckRun) GetURL() string
- func (CheckRun) IsNode()
- func (CheckRun) IsRequirableByPullRequest()
- func (CheckRun) IsStatusCheckRollupContext()
- func (CheckRun) IsUniformResourceLocatable()
- type CheckRunAction
- type CheckRunConnection
- type CheckRunEdge
- type CheckRunFilter
- type CheckRunOutput
- type CheckRunOutputImage
- type CheckRunState
- type CheckRunStateCount
- type CheckRunType
- type CheckStatusState
- type CheckStep
- type CheckStepConnection
- type CheckStepEdge
- type CheckSuite
- type CheckSuiteAutoTriggerPreference
- type CheckSuiteConnection
- type CheckSuiteEdge
- type CheckSuiteFilter
- type Claimable
- type ClearLabelsFromLabelableInput
- type ClearLabelsFromLabelablePayload
- type ClearProjectV2ItemFieldValueInput
- type ClearProjectV2ItemFieldValuePayload
- type Client
- func (c *Client) AddStar(ctx context.Context, input AddStarInput, ...) (*AddStar, error)
- func (c *Client) GetNode(ctx context.Context, id string, interceptors ...clientv2.RequestInterceptor) (*GetNode, error)
- func (c *Client) GetNode2(ctx context.Context, id string, interceptors ...clientv2.RequestInterceptor) (*GetNode2, error)
- func (c *Client) GetUser(ctx context.Context, repositoryFirst int, languageFirst int, ...) (*GetUser, error)
- type CloneProjectInput
- type CloneProjectPayload
- type CloneTemplateRepositoryInput
- type CloneTemplateRepositoryPayload
- type Closable
- type CloseIssueInput
- type CloseIssuePayload
- type ClosePullRequestInput
- type ClosePullRequestPayload
- type ClosedEvent
- func (this ClosedEvent) GetID() string
- func (this ClosedEvent) GetResourcePath() string
- func (this ClosedEvent) GetURL() string
- func (ClosedEvent) IsIssueTimelineItem()
- func (ClosedEvent) IsIssueTimelineItems()
- func (ClosedEvent) IsNode()
- func (ClosedEvent) IsPullRequestTimelineItem()
- func (ClosedEvent) IsPullRequestTimelineItems()
- func (ClosedEvent) IsUniformResourceLocatable()
- type Closer
- type CodeOfConduct
- type CollaboratorAffiliation
- type Comment
- type CommentAuthorAssociation
- type CommentCannotUpdateReason
- type CommentDeletedEvent
- type Commit
- func (this Commit) GetAbbreviatedOid() string
- func (this Commit) GetCommitResourcePath() string
- func (this Commit) GetCommitURL() string
- func (this Commit) GetID() string
- func (this Commit) GetOid() string
- func (this Commit) GetRepository() Repository
- func (this Commit) GetResourcePath() string
- func (this Commit) GetURL() string
- func (this Commit) GetViewerCanSubscribe() bool
- func (this Commit) GetViewerSubscription() *SubscriptionState
- func (Commit) IsCloser()
- func (Commit) IsGitObject()
- func (Commit) IsIssueTimelineItem()
- func (Commit) IsNode()
- func (Commit) IsPullRequestTimelineItem()
- func (Commit) IsSubscribable()
- func (Commit) IsUniformResourceLocatable()
- type CommitAuthor
- type CommitComment
- func (this CommitComment) GetAuthor() Actor
- func (this CommitComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this CommitComment) GetBody() string
- func (this CommitComment) GetBodyHTML() string
- func (this CommitComment) GetBodyText() string
- func (this CommitComment) GetCreatedAt() time.Time
- func (this CommitComment) GetCreatedViaEmail() bool
- func (this CommitComment) GetDatabaseID() *int
- func (this CommitComment) GetEditor() Actor
- func (this CommitComment) GetID() string
- func (this CommitComment) GetIncludesCreatedEdit() bool
- func (this CommitComment) GetIsMinimized() bool
- func (this CommitComment) GetLastEditedAt() *time.Time
- func (this CommitComment) GetMinimizedReason() *string
- func (this CommitComment) GetPublishedAt() *time.Time
- func (this CommitComment) GetReactionGroups() []*ReactionGroup
- func (this CommitComment) GetReactions() ReactionConnection
- func (this CommitComment) GetRepository() Repository
- func (this CommitComment) GetUpdatedAt() time.Time
- func (this CommitComment) GetUserContentEdits() *UserContentEditConnection
- func (this CommitComment) GetViewerCanDelete() bool
- func (this CommitComment) GetViewerCanMinimize() bool
- func (this CommitComment) GetViewerCanReact() bool
- func (this CommitComment) GetViewerCanUpdate() bool
- func (this CommitComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this CommitComment) GetViewerDidAuthor() bool
- func (CommitComment) IsComment()
- func (CommitComment) IsDeletable()
- func (CommitComment) IsMinimizable()
- func (CommitComment) IsNode()
- func (CommitComment) IsReactable()
- func (CommitComment) IsRepositoryNode()
- func (CommitComment) IsUpdatable()
- func (CommitComment) IsUpdatableComment()
- type CommitCommentConnection
- type CommitCommentEdge
- type CommitCommentThread
- type CommitConnection
- type CommitContributionOrder
- type CommitContributionOrderField
- type CommitContributionsByRepository
- type CommitEdge
- type CommitHistoryConnection
- type CommitMessage
- type CommittableBranch
- type Comparison
- type ComparisonCommitConnection
- type ComparisonStatus
- type ConnectedEvent
- type Contribution
- type ContributionCalendar
- type ContributionCalendarDay
- type ContributionCalendarMonth
- type ContributionCalendarWeek
- type ContributionLevel
- type ContributionOrder
- type ContributionsCollection
- type ConvertProjectCardNoteToIssueInput
- type ConvertProjectCardNoteToIssuePayload
- type ConvertPullRequestToDraftInput
- type ConvertPullRequestToDraftPayload
- type ConvertToDraftEvent
- type ConvertedNoteToIssueEvent
- type ConvertedToDiscussionEvent
- type CopyProjectV2Input
- type CopyProjectV2Payload
- type CreateAttributionInvitationInput
- type CreateAttributionInvitationPayload
- 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 CreateLinkedBranchInput
- type CreateLinkedBranchPayload
- type CreateMigrationSourceInput
- type CreateMigrationSourcePayload
- type CreateProjectInput
- type CreateProjectPayload
- type CreateProjectV2FieldInput
- type CreateProjectV2FieldPayload
- type CreateProjectV2Input
- type CreateProjectV2Payload
- type CreatePullRequestInput
- type CreatePullRequestPayload
- type CreateRefInput
- type CreateRefPayload
- type CreateRepositoryInput
- type CreateRepositoryPayload
- type CreateSponsorsListingInput
- type CreateSponsorsListingPayload
- type CreateSponsorsTierInput
- type CreateSponsorsTierPayload
- type CreateSponsorshipInput
- type CreateSponsorshipPayload
- type CreateTeamDiscussionCommentInput
- type CreateTeamDiscussionCommentPayload
- type CreateTeamDiscussionInput
- type CreateTeamDiscussionPayload
- type CreatedCommitContribution
- func (this CreatedCommitContribution) GetIsRestricted() bool
- func (this CreatedCommitContribution) GetOccurredAt() time.Time
- func (this CreatedCommitContribution) GetResourcePath() string
- func (this CreatedCommitContribution) GetURL() string
- func (this CreatedCommitContribution) GetUser() User
- func (CreatedCommitContribution) IsContribution()
- type CreatedCommitContributionConnection
- type CreatedCommitContributionEdge
- type CreatedIssueContribution
- func (this CreatedIssueContribution) GetIsRestricted() bool
- func (this CreatedIssueContribution) GetOccurredAt() time.Time
- func (this CreatedIssueContribution) GetResourcePath() string
- func (this CreatedIssueContribution) GetURL() string
- func (this CreatedIssueContribution) GetUser() User
- func (CreatedIssueContribution) IsContribution()
- func (CreatedIssueContribution) IsCreatedIssueOrRestrictedContribution()
- type CreatedIssueContributionConnection
- type CreatedIssueContributionEdge
- type CreatedIssueOrRestrictedContribution
- type CreatedPullRequestContribution
- func (this CreatedPullRequestContribution) GetIsRestricted() bool
- func (this CreatedPullRequestContribution) GetOccurredAt() time.Time
- func (this CreatedPullRequestContribution) GetResourcePath() string
- func (this CreatedPullRequestContribution) GetURL() string
- func (this CreatedPullRequestContribution) GetUser() User
- func (CreatedPullRequestContribution) IsContribution()
- func (CreatedPullRequestContribution) IsCreatedPullRequestOrRestrictedContribution()
- type CreatedPullRequestContributionConnection
- type CreatedPullRequestContributionEdge
- type CreatedPullRequestOrRestrictedContribution
- type CreatedPullRequestReviewContribution
- func (this CreatedPullRequestReviewContribution) GetIsRestricted() bool
- func (this CreatedPullRequestReviewContribution) GetOccurredAt() time.Time
- func (this CreatedPullRequestReviewContribution) GetResourcePath() string
- func (this CreatedPullRequestReviewContribution) GetURL() string
- func (this CreatedPullRequestReviewContribution) GetUser() User
- func (CreatedPullRequestReviewContribution) IsContribution()
- type CreatedPullRequestReviewContributionConnection
- type CreatedPullRequestReviewContributionEdge
- type CreatedRepositoryContribution
- func (this CreatedRepositoryContribution) GetIsRestricted() bool
- func (this CreatedRepositoryContribution) GetOccurredAt() time.Time
- func (this CreatedRepositoryContribution) GetResourcePath() string
- func (this CreatedRepositoryContribution) GetURL() string
- func (this CreatedRepositoryContribution) GetUser() User
- func (CreatedRepositoryContribution) IsContribution()
- func (CreatedRepositoryContribution) IsCreatedRepositoryOrRestrictedContribution()
- type CreatedRepositoryContributionConnection
- type CreatedRepositoryContributionEdge
- type CreatedRepositoryOrRestrictedContribution
- type CrossReferencedEvent
- func (this CrossReferencedEvent) GetID() string
- func (this CrossReferencedEvent) GetResourcePath() string
- func (this CrossReferencedEvent) GetURL() string
- func (CrossReferencedEvent) IsIssueTimelineItem()
- func (CrossReferencedEvent) IsIssueTimelineItems()
- func (CrossReferencedEvent) IsNode()
- func (CrossReferencedEvent) IsPullRequestTimelineItem()
- func (CrossReferencedEvent) IsPullRequestTimelineItems()
- func (CrossReferencedEvent) IsUniformResourceLocatable()
- type Cvss
- type Cwe
- type DeclineTopicSuggestionInput
- type DeclineTopicSuggestionPayload
- type DefaultRepositoryPermissionField
- type Deletable
- 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 DeleteLinkedBranchInput
- type DeleteLinkedBranchPayload
- type DeleteProjectCardInput
- type DeleteProjectCardPayload
- type DeleteProjectColumnInput
- type DeleteProjectColumnPayload
- type DeleteProjectInput
- type DeleteProjectPayload
- type DeleteProjectV2FieldInput
- type DeleteProjectV2FieldPayload
- type DeleteProjectV2Input
- type DeleteProjectV2ItemInput
- type DeleteProjectV2ItemPayload
- type DeleteProjectV2Payload
- 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
- type Deployment
- type DeploymentConnection
- type DeploymentEdge
- type DeploymentEnvironmentChangedEvent
- type DeploymentOrder
- type DeploymentOrderField
- type DeploymentProtectionRule
- type DeploymentProtectionRuleConnection
- type DeploymentProtectionRuleEdge
- type DeploymentProtectionRuleType
- type DeploymentRequest
- type DeploymentRequestConnection
- type DeploymentRequestEdge
- type DeploymentReview
- type DeploymentReviewConnection
- type DeploymentReviewEdge
- type DeploymentReviewState
- type DeploymentReviewer
- type DeploymentReviewerConnection
- type DeploymentReviewerEdge
- type DeploymentState
- type DeploymentStatus
- type DeploymentStatusConnection
- type DeploymentStatusEdge
- type DeploymentStatusState
- type DiffSide
- type DisablePullRequestAutoMergeInput
- type DisablePullRequestAutoMergePayload
- type DisconnectedEvent
- type Discussion
- func (this Discussion) GetActiveLockReason() *LockReason
- func (this Discussion) GetAuthor() Actor
- func (this Discussion) GetAuthorAssociation() CommentAuthorAssociation
- func (this Discussion) GetBody() string
- func (this Discussion) GetBodyHTML() string
- func (this Discussion) GetBodyText() string
- func (this Discussion) GetClosed() bool
- func (this Discussion) GetClosedAt() *time.Time
- func (this Discussion) GetCreatedAt() time.Time
- func (this Discussion) GetCreatedViaEmail() bool
- func (this Discussion) GetDatabaseID() *int
- func (this Discussion) GetEditor() Actor
- func (this Discussion) GetID() string
- func (this Discussion) GetIncludesCreatedEdit() bool
- func (this Discussion) GetLabels() *LabelConnection
- func (this Discussion) GetLastEditedAt() *time.Time
- func (this Discussion) GetLocked() bool
- func (this Discussion) GetPublishedAt() *time.Time
- func (this Discussion) GetReactionGroups() []*ReactionGroup
- func (this Discussion) GetReactions() ReactionConnection
- func (this Discussion) GetRepository() Repository
- func (this Discussion) GetUpdatedAt() time.Time
- func (this Discussion) GetUpvoteCount() int
- func (this Discussion) GetUserContentEdits() *UserContentEditConnection
- func (this Discussion) GetViewerCanDelete() bool
- func (this Discussion) GetViewerCanReact() bool
- func (this Discussion) GetViewerCanSubscribe() bool
- func (this Discussion) GetViewerCanUpdate() bool
- func (this Discussion) GetViewerCanUpvote() bool
- func (this Discussion) GetViewerDidAuthor() bool
- func (this Discussion) GetViewerHasUpvoted() bool
- func (this Discussion) GetViewerSubscription() *SubscriptionState
- func (Discussion) IsClosable()
- func (Discussion) IsComment()
- func (Discussion) IsDeletable()
- func (Discussion) IsLabelable()
- func (Discussion) IsLockable()
- func (Discussion) IsNode()
- func (Discussion) IsReactable()
- func (Discussion) IsRepositoryNode()
- func (Discussion) IsSearchResultItem()
- func (Discussion) IsSubscribable()
- func (Discussion) IsUpdatable()
- func (Discussion) IsVotable()
- type DiscussionCategory
- type DiscussionCategoryConnection
- type DiscussionCategoryEdge
- type DiscussionComment
- func (this DiscussionComment) GetAuthor() Actor
- func (this DiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this DiscussionComment) GetBody() string
- func (this DiscussionComment) GetBodyHTML() string
- func (this DiscussionComment) GetBodyText() string
- func (this DiscussionComment) GetCreatedAt() time.Time
- func (this DiscussionComment) GetCreatedViaEmail() bool
- func (this DiscussionComment) GetDatabaseID() *int
- func (this DiscussionComment) GetEditor() Actor
- func (this DiscussionComment) GetID() string
- func (this DiscussionComment) GetIncludesCreatedEdit() bool
- func (this DiscussionComment) GetIsMinimized() bool
- func (this DiscussionComment) GetLastEditedAt() *time.Time
- func (this DiscussionComment) GetMinimizedReason() *string
- func (this DiscussionComment) GetPublishedAt() *time.Time
- func (this DiscussionComment) GetReactionGroups() []*ReactionGroup
- func (this DiscussionComment) GetReactions() ReactionConnection
- func (this DiscussionComment) GetUpdatedAt() time.Time
- func (this DiscussionComment) GetUpvoteCount() int
- func (this DiscussionComment) GetUserContentEdits() *UserContentEditConnection
- func (this DiscussionComment) GetViewerCanDelete() bool
- func (this DiscussionComment) GetViewerCanMinimize() bool
- func (this DiscussionComment) GetViewerCanReact() bool
- func (this DiscussionComment) GetViewerCanUpdate() bool
- func (this DiscussionComment) GetViewerCanUpvote() bool
- func (this DiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this DiscussionComment) GetViewerDidAuthor() bool
- func (this DiscussionComment) GetViewerHasUpvoted() bool
- func (DiscussionComment) IsComment()
- func (DiscussionComment) IsDeletable()
- func (DiscussionComment) IsMinimizable()
- func (DiscussionComment) IsNode()
- func (DiscussionComment) IsReactable()
- func (DiscussionComment) IsUpdatable()
- func (DiscussionComment) IsUpdatableComment()
- func (DiscussionComment) IsVotable()
- type DiscussionCommentConnection
- type DiscussionCommentEdge
- type DiscussionConnection
- type DiscussionEdge
- type DiscussionOrder
- type DiscussionOrderField
- type DiscussionPoll
- type DiscussionPollOption
- type DiscussionPollOptionConnection
- type DiscussionPollOptionEdge
- type DiscussionPollOptionOrder
- type DiscussionPollOptionOrderField
- type DismissPullRequestReviewInput
- type DismissPullRequestReviewPayload
- type DismissReason
- type DismissRepositoryVulnerabilityAlertInput
- type DismissRepositoryVulnerabilityAlertPayload
- type DraftIssue
- type DraftPullRequestReviewComment
- type DraftPullRequestReviewThread
- type EnablePullRequestAutoMergeInput
- type EnablePullRequestAutoMergePayload
- type Enterprise
- func (this Enterprise) GetAnnouncement() *string
- func (this Enterprise) GetAnnouncementExpiresAt() *time.Time
- func (this Enterprise) GetAnnouncementUserDismissible() *bool
- func (this Enterprise) GetID() string
- func (Enterprise) IsAnnouncementBanner()
- func (Enterprise) IsIPAllowListOwner()
- func (Enterprise) IsNode()
- func (Enterprise) IsVerifiableDomainOwner()
- type EnterpriseAdministratorConnection
- type EnterpriseAdministratorEdge
- type EnterpriseAdministratorInvitation
- type EnterpriseAdministratorInvitationConnection
- type EnterpriseAdministratorInvitationEdge
- type EnterpriseAdministratorInvitationOrder
- type EnterpriseAdministratorInvitationOrderField
- func (e EnterpriseAdministratorInvitationOrderField) IsValid() bool
- func (e EnterpriseAdministratorInvitationOrderField) MarshalGQL(w io.Writer)
- func (e EnterpriseAdministratorInvitationOrderField) String() string
- func (e *EnterpriseAdministratorInvitationOrderField) UnmarshalGQL(v interface{}) error
- type EnterpriseAdministratorRole
- type EnterpriseAllowPrivateRepositoryForkingPolicyValue
- func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) IsValid() bool
- func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) MarshalGQL(w io.Writer)
- func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) String() string
- func (e *EnterpriseAllowPrivateRepositoryForkingPolicyValue) UnmarshalGQL(v interface{}) error
- type EnterpriseAuditEntryData
- type EnterpriseBillingInfo
- type EnterpriseDefaultRepositoryPermissionSettingValue
- func (e EnterpriseDefaultRepositoryPermissionSettingValue) IsValid() bool
- func (e EnterpriseDefaultRepositoryPermissionSettingValue) MarshalGQL(w io.Writer)
- func (e EnterpriseDefaultRepositoryPermissionSettingValue) String() string
- func (e *EnterpriseDefaultRepositoryPermissionSettingValue) UnmarshalGQL(v interface{}) error
- type EnterpriseEnabledDisabledSettingValue
- type EnterpriseEnabledSettingValue
- type EnterpriseFailedInvitationConnection
- type EnterpriseFailedInvitationEdge
- type EnterpriseIdentityProvider
- type EnterpriseMember
- type EnterpriseMemberConnection
- type EnterpriseMemberEdge
- type EnterpriseMemberOrder
- type EnterpriseMemberOrderField
- type EnterpriseMembersCanCreateRepositoriesSettingValue
- func (e EnterpriseMembersCanCreateRepositoriesSettingValue) IsValid() bool
- func (e EnterpriseMembersCanCreateRepositoriesSettingValue) MarshalGQL(w io.Writer)
- func (e EnterpriseMembersCanCreateRepositoriesSettingValue) String() string
- func (e *EnterpriseMembersCanCreateRepositoriesSettingValue) UnmarshalGQL(v interface{}) error
- type EnterpriseMembersCanMakePurchasesSettingValue
- func (e EnterpriseMembersCanMakePurchasesSettingValue) IsValid() bool
- func (e EnterpriseMembersCanMakePurchasesSettingValue) MarshalGQL(w io.Writer)
- func (e EnterpriseMembersCanMakePurchasesSettingValue) String() string
- func (e *EnterpriseMembersCanMakePurchasesSettingValue) UnmarshalGQL(v interface{}) error
- type EnterpriseOrganizationMembershipConnection
- type EnterpriseOrganizationMembershipEdge
- type EnterpriseOutsideCollaboratorConnection
- type EnterpriseOutsideCollaboratorEdge
- type EnterpriseOwnerInfo
- type EnterprisePendingMemberInvitationConnection
- type EnterprisePendingMemberInvitationEdge
- type EnterpriseRepositoryInfo
- type EnterpriseRepositoryInfoConnection
- type EnterpriseRepositoryInfoEdge
- type EnterpriseServerInstallation
- type EnterpriseServerInstallationConnection
- type EnterpriseServerInstallationEdge
- type EnterpriseServerInstallationOrder
- type EnterpriseServerInstallationOrderField
- type EnterpriseServerUserAccount
- type EnterpriseServerUserAccountConnection
- type EnterpriseServerUserAccountEdge
- type EnterpriseServerUserAccountEmail
- type EnterpriseServerUserAccountEmailConnection
- type EnterpriseServerUserAccountEmailEdge
- type EnterpriseServerUserAccountEmailOrder
- type EnterpriseServerUserAccountEmailOrderField
- type EnterpriseServerUserAccountOrder
- type EnterpriseServerUserAccountOrderField
- type EnterpriseServerUserAccountsUpload
- type EnterpriseServerUserAccountsUploadConnection
- type EnterpriseServerUserAccountsUploadEdge
- type EnterpriseServerUserAccountsUploadOrder
- type EnterpriseServerUserAccountsUploadOrderField
- func (e EnterpriseServerUserAccountsUploadOrderField) IsValid() bool
- func (e EnterpriseServerUserAccountsUploadOrderField) MarshalGQL(w io.Writer)
- func (e EnterpriseServerUserAccountsUploadOrderField) String() string
- func (e *EnterpriseServerUserAccountsUploadOrderField) UnmarshalGQL(v interface{}) error
- type EnterpriseServerUserAccountsUploadSyncState
- func (e EnterpriseServerUserAccountsUploadSyncState) IsValid() bool
- func (e EnterpriseServerUserAccountsUploadSyncState) MarshalGQL(w io.Writer)
- func (e EnterpriseServerUserAccountsUploadSyncState) String() string
- func (e *EnterpriseServerUserAccountsUploadSyncState) UnmarshalGQL(v interface{}) error
- type EnterpriseUserAccount
- func (this EnterpriseUserAccount) GetAvatarURL() string
- func (this EnterpriseUserAccount) GetID() string
- func (this EnterpriseUserAccount) GetLogin() string
- func (this EnterpriseUserAccount) GetResourcePath() string
- func (this EnterpriseUserAccount) GetURL() string
- func (EnterpriseUserAccount) IsActor()
- func (EnterpriseUserAccount) IsEnterpriseMember()
- func (EnterpriseUserAccount) IsNode()
- type EnterpriseUserAccountMembershipRole
- type EnterpriseUserDeployment
- type Environment
- type EnvironmentConnection
- type EnvironmentEdge
- type ExternalIdentity
- type ExternalIdentityAttribute
- type ExternalIdentityConnection
- type ExternalIdentityEdge
- type ExternalIdentitySamlAttributes
- type ExternalIdentityScimAttributes
- type FileAddition
- type FileChanges
- type FileDeletion
- type FileViewedState
- type FollowOrganizationInput
- type FollowOrganizationPayload
- type FollowUserInput
- type FollowUserPayload
- type FollowerConnection
- type FollowingConnection
- type FundingLink
- type FundingPlatform
- type GenericHovercardContext
- type GetNode
- type GetNode2
- type GetNode2_Node_Release
- type GetNode_Node
- type GetNode_Node_Reaction
- type GetNode_Node_Reaction_User
- type GetUser
- type GetUser_Viewer
- type GetUser_Viewer_Repositories
- type GetUser_Viewer_Repositories_Nodes
- type GetUser_Viewer_Repositories_Nodes_Languages
- type Gist
- func (this Gist) GetID() string
- func (this Gist) GetResourcePath() string
- func (this Gist) GetStargazerCount() int
- func (this Gist) GetStargazers() StargazerConnection
- func (this Gist) GetURL() string
- func (this Gist) GetViewerHasStarred() bool
- func (Gist) IsNode()
- func (Gist) IsPinnableItem()
- func (Gist) IsStarrable()
- func (Gist) IsUniformResourceLocatable()
- type GistComment
- func (this GistComment) GetAuthor() Actor
- func (this GistComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this GistComment) GetBody() string
- func (this GistComment) GetBodyHTML() string
- func (this GistComment) GetBodyText() string
- func (this GistComment) GetCreatedAt() time.Time
- func (this GistComment) GetCreatedViaEmail() bool
- func (this GistComment) GetEditor() Actor
- func (this GistComment) GetID() string
- func (this GistComment) GetIncludesCreatedEdit() bool
- func (this GistComment) GetIsMinimized() bool
- func (this GistComment) GetLastEditedAt() *time.Time
- func (this GistComment) GetMinimizedReason() *string
- func (this GistComment) GetPublishedAt() *time.Time
- func (this GistComment) GetUpdatedAt() time.Time
- func (this GistComment) GetUserContentEdits() *UserContentEditConnection
- func (this GistComment) GetViewerCanDelete() bool
- func (this GistComment) GetViewerCanMinimize() bool
- func (this GistComment) GetViewerCanUpdate() bool
- func (this GistComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this GistComment) GetViewerDidAuthor() bool
- func (GistComment) IsComment()
- func (GistComment) IsDeletable()
- func (GistComment) IsMinimizable()
- func (GistComment) IsNode()
- func (GistComment) IsUpdatable()
- func (GistComment) IsUpdatableComment()
- type GistCommentConnection
- type GistCommentEdge
- type GistConnection
- type GistEdge
- type GistFile
- type GistOrder
- type GistOrderField
- type GistPrivacy
- type GitActor
- type GitActorConnection
- type GitActorEdge
- type GitHubMetadata
- type GitObject
- type GitSignature
- type GitSignatureState
- type GithubGraphQLClient
- type GpgSignature
- func (this GpgSignature) GetEmail() string
- func (this GpgSignature) GetIsValid() bool
- func (this GpgSignature) GetPayload() string
- func (this GpgSignature) GetSignature() string
- func (this GpgSignature) GetSigner() *User
- func (this GpgSignature) GetState() GitSignatureState
- func (this GpgSignature) GetWasSignedByGitHub() bool
- func (GpgSignature) IsGitSignature()
- type GrantEnterpriseOrganizationsMigratorRoleInput
- type GrantEnterpriseOrganizationsMigratorRolePayload
- type GrantMigratorRoleInput
- type GrantMigratorRolePayload
- type HeadRefDeletedEvent
- type HeadRefForcePushedEvent
- type HeadRefRestoredEvent
- type Hovercard
- type HovercardContext
- type IPAllowListEnabledSettingValue
- type IPAllowListEntry
- type IPAllowListEntryConnection
- type IPAllowListEntryEdge
- type IPAllowListEntryOrder
- type IPAllowListEntryOrderField
- type IPAllowListForInstalledAppsEnabledSettingValue
- func (e IPAllowListForInstalledAppsEnabledSettingValue) IsValid() bool
- func (e IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL(w io.Writer)
- func (e IPAllowListForInstalledAppsEnabledSettingValue) String() string
- func (e *IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL(v interface{}) error
- type IPAllowListOwner
- type IdentityProviderConfigurationState
- type InviteEnterpriseAdminInput
- type InviteEnterpriseAdminPayload
- type Issue
- func (this Issue) GetActiveLockReason() *LockReason
- func (this Issue) GetAssignees() UserConnection
- func (this Issue) GetAuthor() Actor
- func (this Issue) GetAuthorAssociation() CommentAuthorAssociation
- func (this Issue) GetBody() string
- func (this Issue) GetBodyHTML() string
- func (this Issue) GetBodyText() string
- func (this Issue) GetClosed() bool
- func (this Issue) GetClosedAt() *time.Time
- func (this Issue) GetCreatedAt() time.Time
- func (this Issue) GetCreatedViaEmail() bool
- func (this Issue) GetDatabaseID() *int
- func (this Issue) GetEditor() Actor
- func (this Issue) GetID() string
- func (this Issue) GetIncludesCreatedEdit() bool
- func (this Issue) GetLabels() *LabelConnection
- func (this Issue) GetLastEditedAt() *time.Time
- func (this Issue) GetLocked() bool
- func (this Issue) GetProjectV2() *ProjectV2
- func (this Issue) GetProjectsV2() ProjectV2Connection
- func (this Issue) GetPublishedAt() *time.Time
- func (this Issue) GetReactionGroups() []*ReactionGroup
- func (this Issue) GetReactions() ReactionConnection
- func (this Issue) GetRepository() Repository
- func (this Issue) GetResourcePath() string
- func (this Issue) GetURL() string
- func (this Issue) GetUpdatedAt() time.Time
- func (this Issue) GetUserContentEdits() *UserContentEditConnection
- func (this Issue) GetViewerCanReact() bool
- func (this Issue) GetViewerCanSubscribe() bool
- func (this Issue) GetViewerCanUpdate() bool
- func (this Issue) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this Issue) GetViewerDidAuthor() bool
- func (this Issue) GetViewerSubscription() *SubscriptionState
- func (Issue) IsAssignable()
- func (Issue) IsClosable()
- func (Issue) IsComment()
- func (Issue) IsIssueOrPullRequest()
- func (Issue) IsLabelable()
- func (Issue) IsLockable()
- func (Issue) IsMilestoneItem()
- func (Issue) IsNode()
- func (Issue) IsProjectCardItem()
- func (Issue) IsProjectV2ItemContent()
- func (Issue) IsProjectV2Owner()
- func (Issue) IsReactable()
- func (Issue) IsReferencedSubject()
- func (Issue) IsRenamedTitleSubject()
- func (Issue) IsRepositoryNode()
- func (Issue) IsSearchResultItem()
- func (Issue) IsSubscribable()
- func (Issue) IsUniformResourceLocatable()
- func (Issue) IsUpdatable()
- func (Issue) IsUpdatableComment()
- type IssueClosedStateReason
- type IssueComment
- func (this IssueComment) GetAuthor() Actor
- func (this IssueComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this IssueComment) GetBody() string
- func (this IssueComment) GetBodyHTML() string
- func (this IssueComment) GetBodyText() string
- func (this IssueComment) GetCreatedAt() time.Time
- func (this IssueComment) GetCreatedViaEmail() bool
- func (this IssueComment) GetDatabaseID() *int
- func (this IssueComment) GetEditor() Actor
- func (this IssueComment) GetID() string
- func (this IssueComment) GetIncludesCreatedEdit() bool
- func (this IssueComment) GetIsMinimized() bool
- func (this IssueComment) GetLastEditedAt() *time.Time
- func (this IssueComment) GetMinimizedReason() *string
- func (this IssueComment) GetPublishedAt() *time.Time
- func (this IssueComment) GetReactionGroups() []*ReactionGroup
- func (this IssueComment) GetReactions() ReactionConnection
- func (this IssueComment) GetRepository() Repository
- func (this IssueComment) GetUpdatedAt() time.Time
- func (this IssueComment) GetUserContentEdits() *UserContentEditConnection
- func (this IssueComment) GetViewerCanDelete() bool
- func (this IssueComment) GetViewerCanMinimize() bool
- func (this IssueComment) GetViewerCanReact() bool
- func (this IssueComment) GetViewerCanUpdate() bool
- func (this IssueComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this IssueComment) GetViewerDidAuthor() bool
- func (IssueComment) IsComment()
- func (IssueComment) IsDeletable()
- func (IssueComment) IsIssueTimelineItem()
- func (IssueComment) IsIssueTimelineItems()
- func (IssueComment) IsMinimizable()
- func (IssueComment) IsNode()
- func (IssueComment) IsPullRequestTimelineItem()
- func (IssueComment) IsPullRequestTimelineItems()
- func (IssueComment) IsReactable()
- func (IssueComment) IsRepositoryNode()
- func (IssueComment) IsUpdatable()
- func (IssueComment) IsUpdatableComment()
- type IssueCommentConnection
- type IssueCommentEdge
- type IssueCommentOrder
- type IssueCommentOrderField
- type IssueConnection
- type IssueContributionsByRepository
- type IssueEdge
- type IssueFilters
- type IssueOrPullRequest
- type IssueOrder
- type IssueOrderField
- type IssueState
- type IssueStateReason
- type IssueTemplate
- type IssueTimelineConnection
- type IssueTimelineItem
- type IssueTimelineItemEdge
- type IssueTimelineItems
- type IssueTimelineItemsConnection
- type IssueTimelineItemsEdge
- type IssueTimelineItemsItemType
- type JoinedGitHubContribution
- func (this JoinedGitHubContribution) GetIsRestricted() bool
- func (this JoinedGitHubContribution) GetOccurredAt() time.Time
- func (this JoinedGitHubContribution) GetResourcePath() string
- func (this JoinedGitHubContribution) GetURL() string
- func (this JoinedGitHubContribution) GetUser() User
- func (JoinedGitHubContribution) IsContribution()
- type Label
- type LabelConnection
- type LabelEdge
- type LabelOrder
- type LabelOrderField
- type Labelable
- type LabeledEvent
- type Language
- type LanguageConnection
- type LanguageEdge
- type LanguageFragment
- type LanguageOrder
- type LanguageOrderField
- type License
- type LicenseRule
- type LinkProjectV2ToRepositoryInput
- type LinkProjectV2ToRepositoryPayload
- type LinkProjectV2ToTeamInput
- type LinkProjectV2ToTeamPayload
- type LinkRepositoryToProjectInput
- type LinkRepositoryToProjectPayload
- type LinkedBranch
- type LinkedBranchConnection
- type LinkedBranchEdge
- type LockLockableInput
- type LockLockablePayload
- type LockReason
- type Lockable
- type LockedEvent
- type Mannequin
- func (this Mannequin) GetAvatarURL() string
- func (this Mannequin) GetID() string
- func (this Mannequin) GetLogin() string
- func (this Mannequin) GetResourcePath() string
- func (this Mannequin) GetURL() string
- func (Mannequin) IsActor()
- func (Mannequin) IsAssignee()
- func (Mannequin) IsClaimable()
- func (Mannequin) IsNode()
- func (Mannequin) IsReactor()
- func (Mannequin) IsRequestedReviewer()
- func (Mannequin) IsUniformResourceLocatable()
- type MannequinConnection
- type MannequinEdge
- type MannequinOrder
- type MannequinOrderField
- type MarkDiscussionCommentAsAnswerInput
- type MarkDiscussionCommentAsAnswerPayload
- type MarkFileAsViewedInput
- type MarkFileAsViewedPayload
- type MarkPullRequestReadyForReviewInput
- type MarkPullRequestReadyForReviewPayload
- type MarkedAsDuplicateEvent
- type MarketplaceCategory
- type MarketplaceListing
- type MarketplaceListingConnection
- type MarketplaceListingEdge
- type MemberStatusable
- type MembersCanDeleteReposClearAuditEntry
- func (this MembersCanDeleteReposClearAuditEntry) GetAction() string
- func (this MembersCanDeleteReposClearAuditEntry) GetActor() AuditEntryActor
- func (this MembersCanDeleteReposClearAuditEntry) GetActorIP() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetActorLocation() *ActorLocation
- func (this MembersCanDeleteReposClearAuditEntry) GetActorLogin() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetActorResourcePath() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetActorURL() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetCreatedAt() string
- func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseURL() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetID() string
- func (this MembersCanDeleteReposClearAuditEntry) GetOperationType() *OperationType
- func (this MembersCanDeleteReposClearAuditEntry) GetOrganization() *Organization
- func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationName() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationURL() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetUser() *User
- func (this MembersCanDeleteReposClearAuditEntry) GetUserLogin() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetUserResourcePath() *string
- func (this MembersCanDeleteReposClearAuditEntry) GetUserURL() *string
- func (MembersCanDeleteReposClearAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposClearAuditEntry) IsNode()
- func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData()
- type MembersCanDeleteReposDisableAuditEntry
- func (this MembersCanDeleteReposDisableAuditEntry) GetAction() string
- func (this MembersCanDeleteReposDisableAuditEntry) GetActor() AuditEntryActor
- func (this MembersCanDeleteReposDisableAuditEntry) GetActorIP() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetActorLocation() *ActorLocation
- func (this MembersCanDeleteReposDisableAuditEntry) GetActorLogin() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetActorURL() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetCreatedAt() string
- func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseURL() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetID() string
- func (this MembersCanDeleteReposDisableAuditEntry) GetOperationType() *OperationType
- func (this MembersCanDeleteReposDisableAuditEntry) GetOrganization() *Organization
- func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationName() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationURL() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetUser() *User
- func (this MembersCanDeleteReposDisableAuditEntry) GetUserLogin() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath() *string
- func (this MembersCanDeleteReposDisableAuditEntry) GetUserURL() *string
- func (MembersCanDeleteReposDisableAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposDisableAuditEntry) IsNode()
- func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData()
- type MembersCanDeleteReposEnableAuditEntry
- func (this MembersCanDeleteReposEnableAuditEntry) GetAction() string
- func (this MembersCanDeleteReposEnableAuditEntry) GetActor() AuditEntryActor
- func (this MembersCanDeleteReposEnableAuditEntry) GetActorIP() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetActorLocation() *ActorLocation
- func (this MembersCanDeleteReposEnableAuditEntry) GetActorLogin() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetActorURL() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetCreatedAt() string
- func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseURL() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetID() string
- func (this MembersCanDeleteReposEnableAuditEntry) GetOperationType() *OperationType
- func (this MembersCanDeleteReposEnableAuditEntry) GetOrganization() *Organization
- func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationName() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationURL() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetUser() *User
- func (this MembersCanDeleteReposEnableAuditEntry) GetUserLogin() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath() *string
- func (this MembersCanDeleteReposEnableAuditEntry) GetUserURL() *string
- func (MembersCanDeleteReposEnableAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposEnableAuditEntry) IsNode()
- func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData()
- type MentionedEvent
- type MergeBranchInput
- type MergeBranchPayload
- type MergeCommitMessage
- type MergeCommitTitle
- type MergePullRequestInput
- type MergePullRequestPayload
- type MergeableState
- type MergedEvent
- type Migration
- type MigrationSource
- type MigrationSourceType
- type MigrationState
- type Milestone
- func (this Milestone) GetClosed() bool
- func (this Milestone) GetClosedAt() *time.Time
- func (this Milestone) GetID() string
- func (this Milestone) GetResourcePath() string
- func (this Milestone) GetURL() string
- func (Milestone) IsClosable()
- func (Milestone) IsNode()
- func (Milestone) IsUniformResourceLocatable()
- type MilestoneConnection
- type MilestoneEdge
- type MilestoneItem
- type MilestoneOrder
- type MilestoneOrderField
- type MilestoneState
- type MilestonedEvent
- type Minimizable
- type MinimizeCommentInput
- type MinimizeCommentPayload
- type MoveProjectCardInput
- type MoveProjectCardPayload
- type MoveProjectColumnInput
- type MoveProjectColumnPayload
- type MovedColumnsInProjectEvent
- type Mutation
- type Node
- type NotificationRestrictionSettingValue
- type OIDCProvider
- type OIDCProviderType
- type OauthApplicationAuditEntryData
- type OauthApplicationCreateAuditEntry
- func (this OauthApplicationCreateAuditEntry) GetAction() string
- func (this OauthApplicationCreateAuditEntry) GetActor() AuditEntryActor
- func (this OauthApplicationCreateAuditEntry) GetActorIP() *string
- func (this OauthApplicationCreateAuditEntry) GetActorLocation() *ActorLocation
- func (this OauthApplicationCreateAuditEntry) GetActorLogin() *string
- func (this OauthApplicationCreateAuditEntry) GetActorResourcePath() *string
- func (this OauthApplicationCreateAuditEntry) GetActorURL() *string
- func (this OauthApplicationCreateAuditEntry) GetCreatedAt() string
- func (this OauthApplicationCreateAuditEntry) GetID() string
- func (this OauthApplicationCreateAuditEntry) GetOauthApplicationName() *string
- func (this OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath() *string
- func (this OauthApplicationCreateAuditEntry) GetOauthApplicationURL() *string
- func (this OauthApplicationCreateAuditEntry) GetOperationType() *OperationType
- func (this OauthApplicationCreateAuditEntry) GetOrganization() *Organization
- func (this OauthApplicationCreateAuditEntry) GetOrganizationName() *string
- func (this OauthApplicationCreateAuditEntry) GetOrganizationResourcePath() *string
- func (this OauthApplicationCreateAuditEntry) GetOrganizationURL() *string
- func (this OauthApplicationCreateAuditEntry) GetUser() *User
- func (this OauthApplicationCreateAuditEntry) GetUserLogin() *string
- func (this OauthApplicationCreateAuditEntry) GetUserResourcePath() *string
- func (this OauthApplicationCreateAuditEntry) GetUserURL() *string
- func (OauthApplicationCreateAuditEntry) IsAuditEntry()
- func (OauthApplicationCreateAuditEntry) IsNode()
- func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData()
- func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry()
- func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData()
- type OauthApplicationCreateAuditEntryState
- type OperationType
- type OrderDirection
- type OrgAddBillingManagerAuditEntry
- func (this OrgAddBillingManagerAuditEntry) GetAction() string
- func (this OrgAddBillingManagerAuditEntry) GetActor() AuditEntryActor
- func (this OrgAddBillingManagerAuditEntry) GetActorIP() *string
- func (this OrgAddBillingManagerAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgAddBillingManagerAuditEntry) GetActorLogin() *string
- func (this OrgAddBillingManagerAuditEntry) GetActorResourcePath() *string
- func (this OrgAddBillingManagerAuditEntry) GetActorURL() *string
- func (this OrgAddBillingManagerAuditEntry) GetCreatedAt() string
- func (this OrgAddBillingManagerAuditEntry) GetID() string
- func (this OrgAddBillingManagerAuditEntry) GetOperationType() *OperationType
- func (this OrgAddBillingManagerAuditEntry) GetOrganization() *Organization
- func (this OrgAddBillingManagerAuditEntry) GetOrganizationName() *string
- func (this OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgAddBillingManagerAuditEntry) GetOrganizationURL() *string
- func (this OrgAddBillingManagerAuditEntry) GetUser() *User
- func (this OrgAddBillingManagerAuditEntry) GetUserLogin() *string
- func (this OrgAddBillingManagerAuditEntry) GetUserResourcePath() *string
- func (this OrgAddBillingManagerAuditEntry) GetUserURL() *string
- func (OrgAddBillingManagerAuditEntry) IsAuditEntry()
- func (OrgAddBillingManagerAuditEntry) IsNode()
- func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntry()
- func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntryData()
- type OrgAddMemberAuditEntry
- func (this OrgAddMemberAuditEntry) GetAction() string
- func (this OrgAddMemberAuditEntry) GetActor() AuditEntryActor
- func (this OrgAddMemberAuditEntry) GetActorIP() *string
- func (this OrgAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgAddMemberAuditEntry) GetActorLogin() *string
- func (this OrgAddMemberAuditEntry) GetActorResourcePath() *string
- func (this OrgAddMemberAuditEntry) GetActorURL() *string
- func (this OrgAddMemberAuditEntry) GetCreatedAt() string
- func (this OrgAddMemberAuditEntry) GetID() string
- func (this OrgAddMemberAuditEntry) GetOperationType() *OperationType
- func (this OrgAddMemberAuditEntry) GetOrganization() *Organization
- func (this OrgAddMemberAuditEntry) GetOrganizationName() *string
- func (this OrgAddMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgAddMemberAuditEntry) GetOrganizationURL() *string
- func (this OrgAddMemberAuditEntry) GetUser() *User
- func (this OrgAddMemberAuditEntry) GetUserLogin() *string
- func (this OrgAddMemberAuditEntry) GetUserResourcePath() *string
- func (this OrgAddMemberAuditEntry) GetUserURL() *string
- func (OrgAddMemberAuditEntry) IsAuditEntry()
- func (OrgAddMemberAuditEntry) IsNode()
- func (OrgAddMemberAuditEntry) IsOrganizationAuditEntry()
- func (OrgAddMemberAuditEntry) IsOrganizationAuditEntryData()
- type OrgAddMemberAuditEntryPermission
- type OrgBlockUserAuditEntry
- func (this OrgBlockUserAuditEntry) GetAction() string
- func (this OrgBlockUserAuditEntry) GetActor() AuditEntryActor
- func (this OrgBlockUserAuditEntry) GetActorIP() *string
- func (this OrgBlockUserAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgBlockUserAuditEntry) GetActorLogin() *string
- func (this OrgBlockUserAuditEntry) GetActorResourcePath() *string
- func (this OrgBlockUserAuditEntry) GetActorURL() *string
- func (this OrgBlockUserAuditEntry) GetCreatedAt() string
- func (this OrgBlockUserAuditEntry) GetID() string
- func (this OrgBlockUserAuditEntry) GetOperationType() *OperationType
- func (this OrgBlockUserAuditEntry) GetOrganization() *Organization
- func (this OrgBlockUserAuditEntry) GetOrganizationName() *string
- func (this OrgBlockUserAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgBlockUserAuditEntry) GetOrganizationURL() *string
- func (this OrgBlockUserAuditEntry) GetUser() *User
- func (this OrgBlockUserAuditEntry) GetUserLogin() *string
- func (this OrgBlockUserAuditEntry) GetUserResourcePath() *string
- func (this OrgBlockUserAuditEntry) GetUserURL() *string
- func (OrgBlockUserAuditEntry) IsAuditEntry()
- func (OrgBlockUserAuditEntry) IsNode()
- func (OrgBlockUserAuditEntry) IsOrganizationAuditEntry()
- func (OrgBlockUserAuditEntry) IsOrganizationAuditEntryData()
- type OrgConfigDisableCollaboratorsOnlyAuditEntry
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetID() string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL() *string
- func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsNode()
- func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- type OrgConfigEnableCollaboratorsOnlyAuditEntry
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetID() string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL() *string
- func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsNode()
- func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- type OrgCreateAuditEntry
- func (this OrgCreateAuditEntry) GetAction() string
- func (this OrgCreateAuditEntry) GetActor() AuditEntryActor
- func (this OrgCreateAuditEntry) GetActorIP() *string
- func (this OrgCreateAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgCreateAuditEntry) GetActorLogin() *string
- func (this OrgCreateAuditEntry) GetActorResourcePath() *string
- func (this OrgCreateAuditEntry) GetActorURL() *string
- func (this OrgCreateAuditEntry) GetCreatedAt() string
- func (this OrgCreateAuditEntry) GetID() string
- func (this OrgCreateAuditEntry) GetOperationType() *OperationType
- func (this OrgCreateAuditEntry) GetOrganization() *Organization
- func (this OrgCreateAuditEntry) GetOrganizationName() *string
- func (this OrgCreateAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgCreateAuditEntry) GetOrganizationURL() *string
- func (this OrgCreateAuditEntry) GetUser() *User
- func (this OrgCreateAuditEntry) GetUserLogin() *string
- func (this OrgCreateAuditEntry) GetUserResourcePath() *string
- func (this OrgCreateAuditEntry) GetUserURL() *string
- func (OrgCreateAuditEntry) IsAuditEntry()
- func (OrgCreateAuditEntry) IsNode()
- func (OrgCreateAuditEntry) IsOrganizationAuditEntry()
- func (OrgCreateAuditEntry) IsOrganizationAuditEntryData()
- type OrgCreateAuditEntryBillingPlan
- type OrgDisableOauthAppRestrictionsAuditEntry
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetAction() string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorIP() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorURL() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt() string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetID() string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType() *OperationType
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUser() *User
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string
- func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserURL() *string
- func (OrgDisableOauthAppRestrictionsAuditEntry) IsAuditEntry()
- func (OrgDisableOauthAppRestrictionsAuditEntry) IsNode()
- func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()
- func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()
- type OrgDisableSamlAuditEntry
- func (this OrgDisableSamlAuditEntry) GetAction() string
- func (this OrgDisableSamlAuditEntry) GetActor() AuditEntryActor
- func (this OrgDisableSamlAuditEntry) GetActorIP() *string
- func (this OrgDisableSamlAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgDisableSamlAuditEntry) GetActorLogin() *string
- func (this OrgDisableSamlAuditEntry) GetActorResourcePath() *string
- func (this OrgDisableSamlAuditEntry) GetActorURL() *string
- func (this OrgDisableSamlAuditEntry) GetCreatedAt() string
- func (this OrgDisableSamlAuditEntry) GetID() string
- func (this OrgDisableSamlAuditEntry) GetOperationType() *OperationType
- func (this OrgDisableSamlAuditEntry) GetOrganization() *Organization
- func (this OrgDisableSamlAuditEntry) GetOrganizationName() *string
- func (this OrgDisableSamlAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgDisableSamlAuditEntry) GetOrganizationURL() *string
- func (this OrgDisableSamlAuditEntry) GetUser() *User
- func (this OrgDisableSamlAuditEntry) GetUserLogin() *string
- func (this OrgDisableSamlAuditEntry) GetUserResourcePath() *string
- func (this OrgDisableSamlAuditEntry) GetUserURL() *string
- func (OrgDisableSamlAuditEntry) IsAuditEntry()
- func (OrgDisableSamlAuditEntry) IsNode()
- func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntry()
- func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntryData()
- type OrgDisableTwoFactorRequirementAuditEntry
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetAction() string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorIP() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorURL() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt() string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetID() string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetOperationType() *OperationType
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetUser() *User
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string
- func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserURL() *string
- func (OrgDisableTwoFactorRequirementAuditEntry) IsAuditEntry()
- func (OrgDisableTwoFactorRequirementAuditEntry) IsNode()
- func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()
- func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()
- type OrgEnableOauthAppRestrictionsAuditEntry
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetAction() string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorIP() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorURL() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt() string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetID() string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType() *OperationType
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUser() *User
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string
- func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserURL() *string
- func (OrgEnableOauthAppRestrictionsAuditEntry) IsAuditEntry()
- func (OrgEnableOauthAppRestrictionsAuditEntry) IsNode()
- func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()
- func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()
- type OrgEnableSamlAuditEntry
- func (this OrgEnableSamlAuditEntry) GetAction() string
- func (this OrgEnableSamlAuditEntry) GetActor() AuditEntryActor
- func (this OrgEnableSamlAuditEntry) GetActorIP() *string
- func (this OrgEnableSamlAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgEnableSamlAuditEntry) GetActorLogin() *string
- func (this OrgEnableSamlAuditEntry) GetActorResourcePath() *string
- func (this OrgEnableSamlAuditEntry) GetActorURL() *string
- func (this OrgEnableSamlAuditEntry) GetCreatedAt() string
- func (this OrgEnableSamlAuditEntry) GetID() string
- func (this OrgEnableSamlAuditEntry) GetOperationType() *OperationType
- func (this OrgEnableSamlAuditEntry) GetOrganization() *Organization
- func (this OrgEnableSamlAuditEntry) GetOrganizationName() *string
- func (this OrgEnableSamlAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgEnableSamlAuditEntry) GetOrganizationURL() *string
- func (this OrgEnableSamlAuditEntry) GetUser() *User
- func (this OrgEnableSamlAuditEntry) GetUserLogin() *string
- func (this OrgEnableSamlAuditEntry) GetUserResourcePath() *string
- func (this OrgEnableSamlAuditEntry) GetUserURL() *string
- func (OrgEnableSamlAuditEntry) IsAuditEntry()
- func (OrgEnableSamlAuditEntry) IsNode()
- func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntry()
- func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntryData()
- type OrgEnableTwoFactorRequirementAuditEntry
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetAction() string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorIP() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorURL() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt() string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetID() string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetOperationType() *OperationType
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetUser() *User
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string
- func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserURL() *string
- func (OrgEnableTwoFactorRequirementAuditEntry) IsAuditEntry()
- func (OrgEnableTwoFactorRequirementAuditEntry) IsNode()
- func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()
- func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()
- type OrgEnterpriseOwnerOrder
- type OrgEnterpriseOwnerOrderField
- type OrgInviteMemberAuditEntry
- func (this OrgInviteMemberAuditEntry) GetAction() string
- func (this OrgInviteMemberAuditEntry) GetActor() AuditEntryActor
- func (this OrgInviteMemberAuditEntry) GetActorIP() *string
- func (this OrgInviteMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgInviteMemberAuditEntry) GetActorLogin() *string
- func (this OrgInviteMemberAuditEntry) GetActorResourcePath() *string
- func (this OrgInviteMemberAuditEntry) GetActorURL() *string
- func (this OrgInviteMemberAuditEntry) GetCreatedAt() string
- func (this OrgInviteMemberAuditEntry) GetID() string
- func (this OrgInviteMemberAuditEntry) GetOperationType() *OperationType
- func (this OrgInviteMemberAuditEntry) GetOrganization() *Organization
- func (this OrgInviteMemberAuditEntry) GetOrganizationName() *string
- func (this OrgInviteMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgInviteMemberAuditEntry) GetOrganizationURL() *string
- func (this OrgInviteMemberAuditEntry) GetUser() *User
- func (this OrgInviteMemberAuditEntry) GetUserLogin() *string
- func (this OrgInviteMemberAuditEntry) GetUserResourcePath() *string
- func (this OrgInviteMemberAuditEntry) GetUserURL() *string
- func (OrgInviteMemberAuditEntry) IsAuditEntry()
- func (OrgInviteMemberAuditEntry) IsNode()
- func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntry()
- func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntryData()
- type OrgInviteToBusinessAuditEntry
- func (this OrgInviteToBusinessAuditEntry) GetAction() string
- func (this OrgInviteToBusinessAuditEntry) GetActor() AuditEntryActor
- func (this OrgInviteToBusinessAuditEntry) GetActorIP() *string
- func (this OrgInviteToBusinessAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgInviteToBusinessAuditEntry) GetActorLogin() *string
- func (this OrgInviteToBusinessAuditEntry) GetActorResourcePath() *string
- func (this OrgInviteToBusinessAuditEntry) GetActorURL() *string
- func (this OrgInviteToBusinessAuditEntry) GetCreatedAt() string
- func (this OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath() *string
- func (this OrgInviteToBusinessAuditEntry) GetEnterpriseSlug() *string
- func (this OrgInviteToBusinessAuditEntry) GetEnterpriseURL() *string
- func (this OrgInviteToBusinessAuditEntry) GetID() string
- func (this OrgInviteToBusinessAuditEntry) GetOperationType() *OperationType
- func (this OrgInviteToBusinessAuditEntry) GetOrganization() *Organization
- func (this OrgInviteToBusinessAuditEntry) GetOrganizationName() *string
- func (this OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgInviteToBusinessAuditEntry) GetOrganizationURL() *string
- func (this OrgInviteToBusinessAuditEntry) GetUser() *User
- func (this OrgInviteToBusinessAuditEntry) GetUserLogin() *string
- func (this OrgInviteToBusinessAuditEntry) GetUserResourcePath() *string
- func (this OrgInviteToBusinessAuditEntry) GetUserURL() *string
- func (OrgInviteToBusinessAuditEntry) IsAuditEntry()
- func (OrgInviteToBusinessAuditEntry) IsEnterpriseAuditEntryData()
- func (OrgInviteToBusinessAuditEntry) IsNode()
- func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntry()
- func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntryData()
- type OrgOauthAppAccessApprovedAuditEntry
- func (this OrgOauthAppAccessApprovedAuditEntry) GetAction() string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActor() AuditEntryActor
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActorIP() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLogin() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetActorURL() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt() string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetID() string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationURL() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOperationType() *OperationType
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganization() *Organization
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationURL() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetUser() *User
- func (this OrgOauthAppAccessApprovedAuditEntry) GetUserLogin() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath() *string
- func (this OrgOauthAppAccessApprovedAuditEntry) GetUserURL() *string
- func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessApprovedAuditEntry) IsNode()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData()
- type OrgOauthAppAccessDeniedAuditEntry
- func (this OrgOauthAppAccessDeniedAuditEntry) GetAction() string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActor() AuditEntryActor
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActorIP() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLogin() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetActorURL() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt() string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetID() string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationURL() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOperationType() *OperationType
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganization() *Organization
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationURL() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetUser() *User
- func (this OrgOauthAppAccessDeniedAuditEntry) GetUserLogin() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath() *string
- func (this OrgOauthAppAccessDeniedAuditEntry) GetUserURL() *string
- func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessDeniedAuditEntry) IsNode()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData()
- type OrgOauthAppAccessRequestedAuditEntry
- func (this OrgOauthAppAccessRequestedAuditEntry) GetAction() string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActor() AuditEntryActor
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActorIP() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLogin() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetActorURL() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt() string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetID() string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationURL() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOperationType() *OperationType
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganization() *Organization
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationURL() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetUser() *User
- func (this OrgOauthAppAccessRequestedAuditEntry) GetUserLogin() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath() *string
- func (this OrgOauthAppAccessRequestedAuditEntry) GetUserURL() *string
- func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessRequestedAuditEntry) IsNode()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData()
- type OrgRemoveBillingManagerAuditEntry
- func (this OrgRemoveBillingManagerAuditEntry) GetAction() string
- func (this OrgRemoveBillingManagerAuditEntry) GetActor() AuditEntryActor
- func (this OrgRemoveBillingManagerAuditEntry) GetActorIP() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgRemoveBillingManagerAuditEntry) GetActorLogin() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetActorResourcePath() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetActorURL() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetCreatedAt() string
- func (this OrgRemoveBillingManagerAuditEntry) GetID() string
- func (this OrgRemoveBillingManagerAuditEntry) GetOperationType() *OperationType
- func (this OrgRemoveBillingManagerAuditEntry) GetOrganization() *Organization
- func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationName() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationURL() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetUser() *User
- func (this OrgRemoveBillingManagerAuditEntry) GetUserLogin() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetUserResourcePath() *string
- func (this OrgRemoveBillingManagerAuditEntry) GetUserURL() *string
- func (OrgRemoveBillingManagerAuditEntry) IsAuditEntry()
- func (OrgRemoveBillingManagerAuditEntry) IsNode()
- func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntry()
- func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntryData()
- type OrgRemoveBillingManagerAuditEntryReason
- type OrgRemoveMemberAuditEntry
- func (this OrgRemoveMemberAuditEntry) GetAction() string
- func (this OrgRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (this OrgRemoveMemberAuditEntry) GetActorIP() *string
- func (this OrgRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgRemoveMemberAuditEntry) GetActorLogin() *string
- func (this OrgRemoveMemberAuditEntry) GetActorResourcePath() *string
- func (this OrgRemoveMemberAuditEntry) GetActorURL() *string
- func (this OrgRemoveMemberAuditEntry) GetCreatedAt() string
- func (this OrgRemoveMemberAuditEntry) GetID() string
- func (this OrgRemoveMemberAuditEntry) GetOperationType() *OperationType
- func (this OrgRemoveMemberAuditEntry) GetOrganization() *Organization
- func (this OrgRemoveMemberAuditEntry) GetOrganizationName() *string
- func (this OrgRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgRemoveMemberAuditEntry) GetOrganizationURL() *string
- func (this OrgRemoveMemberAuditEntry) GetUser() *User
- func (this OrgRemoveMemberAuditEntry) GetUserLogin() *string
- func (this OrgRemoveMemberAuditEntry) GetUserResourcePath() *string
- func (this OrgRemoveMemberAuditEntry) GetUserURL() *string
- func (OrgRemoveMemberAuditEntry) IsAuditEntry()
- func (OrgRemoveMemberAuditEntry) IsNode()
- func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntry()
- func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
- type OrgRemoveMemberAuditEntryMembershipType
- type OrgRemoveMemberAuditEntryReason
- type OrgRemoveOutsideCollaboratorAuditEntry
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetAction() string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActor() AuditEntryActor
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorIP() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorURL() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt() string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetID() string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType() *OperationType
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization() *Organization
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationURL() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUser() *User
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath() *string
- func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserURL() *string
- func (OrgRemoveOutsideCollaboratorAuditEntry) IsAuditEntry()
- func (OrgRemoveOutsideCollaboratorAuditEntry) IsNode()
- func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntry()
- func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntryData()
- type OrgRemoveOutsideCollaboratorAuditEntryMembershipType
- func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) IsValid() bool
- func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) MarshalGQL(w io.Writer)
- func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) String() string
- func (e *OrgRemoveOutsideCollaboratorAuditEntryMembershipType) UnmarshalGQL(v interface{}) error
- type OrgRemoveOutsideCollaboratorAuditEntryReason
- func (e OrgRemoveOutsideCollaboratorAuditEntryReason) IsValid() bool
- func (e OrgRemoveOutsideCollaboratorAuditEntryReason) MarshalGQL(w io.Writer)
- func (e OrgRemoveOutsideCollaboratorAuditEntryReason) String() string
- func (e *OrgRemoveOutsideCollaboratorAuditEntryReason) UnmarshalGQL(v interface{}) error
- type OrgRestoreMemberAuditEntry
- func (this OrgRestoreMemberAuditEntry) GetAction() string
- func (this OrgRestoreMemberAuditEntry) GetActor() AuditEntryActor
- func (this OrgRestoreMemberAuditEntry) GetActorIP() *string
- func (this OrgRestoreMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgRestoreMemberAuditEntry) GetActorLogin() *string
- func (this OrgRestoreMemberAuditEntry) GetActorResourcePath() *string
- func (this OrgRestoreMemberAuditEntry) GetActorURL() *string
- func (this OrgRestoreMemberAuditEntry) GetCreatedAt() string
- func (this OrgRestoreMemberAuditEntry) GetID() string
- func (this OrgRestoreMemberAuditEntry) GetOperationType() *OperationType
- func (this OrgRestoreMemberAuditEntry) GetOrganization() *Organization
- func (this OrgRestoreMemberAuditEntry) GetOrganizationName() *string
- func (this OrgRestoreMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgRestoreMemberAuditEntry) GetOrganizationURL() *string
- func (this OrgRestoreMemberAuditEntry) GetUser() *User
- func (this OrgRestoreMemberAuditEntry) GetUserLogin() *string
- func (this OrgRestoreMemberAuditEntry) GetUserResourcePath() *string
- func (this OrgRestoreMemberAuditEntry) GetUserURL() *string
- func (OrgRestoreMemberAuditEntry) IsAuditEntry()
- func (OrgRestoreMemberAuditEntry) IsNode()
- func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntry()
- func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntryData()
- type OrgRestoreMemberAuditEntryMembership
- type OrgRestoreMemberMembershipOrganizationAuditEntryData
- func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization() *Organization
- func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName() *string
- func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath() *string
- func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationURL() *string
- func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
- func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrganizationAuditEntryData()
- type OrgRestoreMemberMembershipRepositoryAuditEntryData
- func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository() *Repository
- func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName() *string
- func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath() *string
- func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryURL() *string
- func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
- func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsRepositoryAuditEntryData()
- type OrgRestoreMemberMembershipTeamAuditEntryData
- func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam() *Team
- func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName() *string
- func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath() *string
- func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamURL() *string
- func (OrgRestoreMemberMembershipTeamAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
- func (OrgRestoreMemberMembershipTeamAuditEntryData) IsTeamAuditEntryData()
- type OrgUnblockUserAuditEntry
- func (this OrgUnblockUserAuditEntry) GetAction() string
- func (this OrgUnblockUserAuditEntry) GetActor() AuditEntryActor
- func (this OrgUnblockUserAuditEntry) GetActorIP() *string
- func (this OrgUnblockUserAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgUnblockUserAuditEntry) GetActorLogin() *string
- func (this OrgUnblockUserAuditEntry) GetActorResourcePath() *string
- func (this OrgUnblockUserAuditEntry) GetActorURL() *string
- func (this OrgUnblockUserAuditEntry) GetCreatedAt() string
- func (this OrgUnblockUserAuditEntry) GetID() string
- func (this OrgUnblockUserAuditEntry) GetOperationType() *OperationType
- func (this OrgUnblockUserAuditEntry) GetOrganization() *Organization
- func (this OrgUnblockUserAuditEntry) GetOrganizationName() *string
- func (this OrgUnblockUserAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgUnblockUserAuditEntry) GetOrganizationURL() *string
- func (this OrgUnblockUserAuditEntry) GetUser() *User
- func (this OrgUnblockUserAuditEntry) GetUserLogin() *string
- func (this OrgUnblockUserAuditEntry) GetUserResourcePath() *string
- func (this OrgUnblockUserAuditEntry) GetUserURL() *string
- func (OrgUnblockUserAuditEntry) IsAuditEntry()
- func (OrgUnblockUserAuditEntry) IsNode()
- func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntry()
- func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntryData()
- type OrgUpdateDefaultRepositoryPermissionAuditEntry
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction() string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor() AuditEntryActor
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIP() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorURL() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt() string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetID() string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType() *OperationType
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization() *Organization
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationURL() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser() *User
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath() *string
- func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserURL() *string
- func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsAuditEntry()
- func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsNode()
- func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntry()
- func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntryData()
- type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission
- func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) IsValid() bool
- func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) MarshalGQL(w io.Writer)
- func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) String() string
- func (e *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL(v interface{}) error
- type OrgUpdateMemberAuditEntry
- func (this OrgUpdateMemberAuditEntry) GetAction() string
- func (this OrgUpdateMemberAuditEntry) GetActor() AuditEntryActor
- func (this OrgUpdateMemberAuditEntry) GetActorIP() *string
- func (this OrgUpdateMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgUpdateMemberAuditEntry) GetActorLogin() *string
- func (this OrgUpdateMemberAuditEntry) GetActorResourcePath() *string
- func (this OrgUpdateMemberAuditEntry) GetActorURL() *string
- func (this OrgUpdateMemberAuditEntry) GetCreatedAt() string
- func (this OrgUpdateMemberAuditEntry) GetID() string
- func (this OrgUpdateMemberAuditEntry) GetOperationType() *OperationType
- func (this OrgUpdateMemberAuditEntry) GetOrganization() *Organization
- func (this OrgUpdateMemberAuditEntry) GetOrganizationName() *string
- func (this OrgUpdateMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgUpdateMemberAuditEntry) GetOrganizationURL() *string
- func (this OrgUpdateMemberAuditEntry) GetUser() *User
- func (this OrgUpdateMemberAuditEntry) GetUserLogin() *string
- func (this OrgUpdateMemberAuditEntry) GetUserResourcePath() *string
- func (this OrgUpdateMemberAuditEntry) GetUserURL() *string
- func (OrgUpdateMemberAuditEntry) IsAuditEntry()
- func (OrgUpdateMemberAuditEntry) IsNode()
- func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntry()
- func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntryData()
- type OrgUpdateMemberAuditEntryPermission
- type OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction() string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor() AuditEntryActor
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIP() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorURL() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt() string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetID() string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType() *OperationType
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization() *Organization
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationURL() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser() *User
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath() *string
- func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserURL() *string
- func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsAuditEntry()
- func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsNode()
- func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntry()
- func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntryData()
- type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility
- func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) IsValid() bool
- func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) MarshalGQL(w io.Writer)
- func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) String() string
- func (e *OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) UnmarshalGQL(v interface{}) error
- type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction() string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor() AuditEntryActor
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIP() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation() *ActorLocation
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorURL() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt() string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetID() string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType() *OperationType
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization() *Organization
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationURL() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser() *User
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath() *string
- func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserURL() *string
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsAuditEntry()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsNode()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntry()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData()
- type Organization
- func (this Organization) GetAnnouncement() *string
- func (this Organization) GetAnnouncementExpiresAt() *time.Time
- func (this Organization) GetAnnouncementUserDismissible() *bool
- func (this Organization) GetAnyPinnableItems() bool
- func (this Organization) GetAvatarURL() string
- func (this Organization) GetEmail() *string
- func (this Organization) GetEstimatedNextSponsorsPayoutInCents() int
- func (this Organization) GetHasSponsorsListing() bool
- func (this Organization) GetID() string
- func (this Organization) GetIsSponsoredBy() bool
- func (this Organization) GetIsSponsoringViewer() bool
- func (this Organization) GetItemShowcase() ProfileItemShowcase
- func (this Organization) GetLocation() *string
- func (this Organization) GetLogin() string
- func (this Organization) GetMemberStatuses() UserStatusConnection
- func (this Organization) GetMonthlyEstimatedSponsorsIncomeInCents() int
- func (this Organization) GetName() *string
- func (this Organization) GetPackages() PackageConnection
- func (this Organization) GetPinnableItems() PinnableItemConnection
- func (this Organization) GetPinnedItems() PinnableItemConnection
- func (this Organization) GetPinnedItemsRemaining() int
- func (this Organization) GetProject() *Project
- func (this Organization) GetProjectV2() *ProjectV2
- func (this Organization) GetProjects() ProjectConnection
- func (this Organization) GetProjectsResourcePath() string
- func (this Organization) GetProjectsURL() string
- func (this Organization) GetProjectsV2() ProjectV2Connection
- func (this Organization) GetRecentProjects() ProjectV2Connection
- func (this Organization) GetRepositories() RepositoryConnection
- func (this Organization) GetRepository() *Repository
- func (this Organization) GetRepositoryDiscussionComments() DiscussionCommentConnection
- func (this Organization) GetRepositoryDiscussions() DiscussionConnection
- func (this Organization) GetResourcePath() string
- func (this Organization) GetSponsoring() SponsorConnection
- func (this Organization) GetSponsors() SponsorConnection
- func (this Organization) GetSponsorsActivities() SponsorsActivityConnection
- func (this Organization) GetSponsorsListing() *SponsorsListing
- func (this Organization) GetSponsorshipForViewerAsSponsor() *Sponsorship
- func (this Organization) GetSponsorshipForViewerAsSponsorable() *Sponsorship
- func (this Organization) GetSponsorshipNewsletters() SponsorshipNewsletterConnection
- func (this Organization) GetSponsorshipsAsMaintainer() SponsorshipConnection
- func (this Organization) GetSponsorshipsAsSponsor() SponsorshipConnection
- func (this Organization) GetTotalSponsorshipAmountAsSponsorInCents() *int
- func (this Organization) GetURL() string
- func (this Organization) GetViewerCanChangePinnedItems() bool
- func (this Organization) GetViewerCanCreateProjects() bool
- func (this Organization) GetViewerCanSponsor() bool
- func (this Organization) GetViewerIsSponsoring() bool
- func (this Organization) GetWebsiteURL() *string
- func (Organization) IsActor()
- func (Organization) IsAnnouncementBanner()
- func (Organization) IsAssignee()
- func (Organization) IsAuditEntryActor()
- func (Organization) IsIPAllowListOwner()
- func (Organization) IsMemberStatusable()
- func (Organization) IsNode()
- func (Organization) IsOrganizationOrUser()
- func (Organization) IsPackageOwner()
- func (Organization) IsPermissionGranter()
- func (Organization) IsProfileOwner()
- func (Organization) IsProjectOwner()
- func (Organization) IsProjectV2Owner()
- func (Organization) IsProjectV2Recent()
- func (Organization) IsReactor()
- func (Organization) IsRepositoryDiscussionAuthor()
- func (Organization) IsRepositoryDiscussionCommentAuthor()
- func (Organization) IsRepositoryOwner()
- func (Organization) IsSearchResultItem()
- func (Organization) IsSponsor()
- func (Organization) IsSponsorable()
- func (Organization) IsSponsorableItem()
- func (Organization) IsUniformResourceLocatable()
- func (Organization) IsVerifiableDomainOwner()
- type OrganizationAuditEntry
- type OrganizationAuditEntryConnection
- type OrganizationAuditEntryData
- type OrganizationAuditEntryEdge
- type OrganizationConnection
- type OrganizationEdge
- type OrganizationEnterpriseOwnerConnection
- type OrganizationEnterpriseOwnerEdge
- type OrganizationIdentityProvider
- type OrganizationInvitation
- type OrganizationInvitationConnection
- type OrganizationInvitationEdge
- type OrganizationInvitationRole
- type OrganizationInvitationSource
- type OrganizationInvitationType
- type OrganizationMemberConnection
- type OrganizationMemberEdge
- type OrganizationMemberRole
- type OrganizationMembersCanCreateRepositoriesSettingValue
- func (e OrganizationMembersCanCreateRepositoriesSettingValue) IsValid() bool
- func (e OrganizationMembersCanCreateRepositoriesSettingValue) MarshalGQL(w io.Writer)
- func (e OrganizationMembersCanCreateRepositoriesSettingValue) String() string
- func (e *OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL(v interface{}) error
- type OrganizationMigration
- type OrganizationMigrationState
- type OrganizationOrUser
- type OrganizationOrder
- type OrganizationOrderField
- type OrganizationTeamsHovercardContext
- type OrganizationsHovercardContext
- type Package
- type PackageConnection
- type PackageEdge
- type PackageFile
- type PackageFileConnection
- type PackageFileEdge
- type PackageFileOrder
- type PackageFileOrderField
- type PackageOrder
- type PackageOrderField
- type PackageOwner
- type PackageStatistics
- type PackageTag
- type PackageType
- type PackageVersion
- type PackageVersionConnection
- type PackageVersionEdge
- type PackageVersionOrder
- type PackageVersionOrderField
- type PackageVersionStatistics
- type PageInfo
- type PatchStatus
- type PermissionGranter
- type PermissionSource
- type PinIssueInput
- type PinIssuePayload
- type PinnableItem
- type PinnableItemConnection
- type PinnableItemEdge
- type PinnableItemType
- type PinnedDiscussion
- type PinnedDiscussionConnection
- type PinnedDiscussionEdge
- type PinnedDiscussionGradient
- type PinnedDiscussionPattern
- type PinnedEvent
- type PinnedIssue
- type PinnedIssueConnection
- type PinnedIssueEdge
- type PrivateRepositoryForkingDisableAuditEntry
- func (this PrivateRepositoryForkingDisableAuditEntry) GetAction() string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActor() AuditEntryActor
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActorIP() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActorLocation() *ActorLocation
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActorLogin() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetActorURL() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt() string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseURL() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetID() string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetOperationType() *OperationType
- func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganization() *Organization
- func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationURL() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetRepository() *Repository
- func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryURL() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetUser() *User
- func (this PrivateRepositoryForkingDisableAuditEntry) GetUserLogin() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath() *string
- func (this PrivateRepositoryForkingDisableAuditEntry) GetUserURL() *string
- func (PrivateRepositoryForkingDisableAuditEntry) IsAuditEntry()
- func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (PrivateRepositoryForkingDisableAuditEntry) IsNode()
- func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry()
- func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData()
- func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData()
- type PrivateRepositoryForkingEnableAuditEntry
- func (this PrivateRepositoryForkingEnableAuditEntry) GetAction() string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActor() AuditEntryActor
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActorIP() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActorLocation() *ActorLocation
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActorLogin() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetActorURL() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt() string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseURL() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetID() string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetOperationType() *OperationType
- func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganization() *Organization
- func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationURL() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetRepository() *Repository
- func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryURL() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetUser() *User
- func (this PrivateRepositoryForkingEnableAuditEntry) GetUserLogin() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath() *string
- func (this PrivateRepositoryForkingEnableAuditEntry) GetUserURL() *string
- func (PrivateRepositoryForkingEnableAuditEntry) IsAuditEntry()
- func (PrivateRepositoryForkingEnableAuditEntry) IsEnterpriseAuditEntryData()
- func (PrivateRepositoryForkingEnableAuditEntry) IsNode()
- func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntry()
- func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntryData()
- func (PrivateRepositoryForkingEnableAuditEntry) IsRepositoryAuditEntryData()
- type ProfileItemShowcase
- type ProfileOwner
- type Project
- type ProjectCard
- type ProjectCardArchivedState
- type ProjectCardConnection
- type ProjectCardEdge
- type ProjectCardItem
- type ProjectCardState
- type ProjectColumn
- type ProjectColumnConnection
- type ProjectColumnEdge
- type ProjectColumnPurpose
- type ProjectConnection
- type ProjectEdge
- type ProjectOrder
- type ProjectOrderField
- type ProjectOwner
- type ProjectProgress
- type ProjectState
- type ProjectTemplate
- type ProjectV2
- type ProjectV2Connection
- type ProjectV2CustomFieldType
- type ProjectV2Edge
- type ProjectV2Field
- func (this ProjectV2Field) GetCreatedAt() time.Time
- func (this ProjectV2Field) GetDataType() ProjectV2FieldType
- func (this ProjectV2Field) GetDatabaseID() *int
- func (this ProjectV2Field) GetID() string
- func (this ProjectV2Field) GetName() string
- func (this ProjectV2Field) GetProject() ProjectV2
- func (this ProjectV2Field) GetUpdatedAt() time.Time
- func (ProjectV2Field) IsNode()
- func (ProjectV2Field) IsProjectV2FieldCommon()
- func (ProjectV2Field) IsProjectV2FieldConfiguration()
- type ProjectV2FieldCommon
- type ProjectV2FieldConfiguration
- type ProjectV2FieldConfigurationConnection
- type ProjectV2FieldConfigurationEdge
- type ProjectV2FieldConnection
- type ProjectV2FieldEdge
- type ProjectV2FieldOrder
- type ProjectV2FieldOrderField
- type ProjectV2FieldType
- type ProjectV2FieldValue
- type ProjectV2Filters
- type ProjectV2Item
- type ProjectV2ItemConnection
- type ProjectV2ItemContent
- type ProjectV2ItemEdge
- type ProjectV2ItemFieldDateValue
- func (this ProjectV2ItemFieldDateValue) GetCreatedAt() time.Time
- func (this ProjectV2ItemFieldDateValue) GetCreator() Actor
- func (this ProjectV2ItemFieldDateValue) GetDatabaseID() *int
- func (this ProjectV2ItemFieldDateValue) GetField() ProjectV2FieldConfiguration
- func (this ProjectV2ItemFieldDateValue) GetID() string
- func (this ProjectV2ItemFieldDateValue) GetItem() ProjectV2Item
- func (this ProjectV2ItemFieldDateValue) GetUpdatedAt() time.Time
- func (ProjectV2ItemFieldDateValue) IsNode()
- func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValue()
- func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValueCommon()
- type ProjectV2ItemFieldIterationValue
- func (this ProjectV2ItemFieldIterationValue) GetCreatedAt() time.Time
- func (this ProjectV2ItemFieldIterationValue) GetCreator() Actor
- func (this ProjectV2ItemFieldIterationValue) GetDatabaseID() *int
- func (this ProjectV2ItemFieldIterationValue) GetField() ProjectV2FieldConfiguration
- func (this ProjectV2ItemFieldIterationValue) GetID() string
- func (this ProjectV2ItemFieldIterationValue) GetItem() ProjectV2Item
- func (this ProjectV2ItemFieldIterationValue) GetUpdatedAt() time.Time
- func (ProjectV2ItemFieldIterationValue) IsNode()
- func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValue()
- func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValueCommon()
- type ProjectV2ItemFieldLabelValue
- type ProjectV2ItemFieldMilestoneValue
- type ProjectV2ItemFieldNumberValue
- func (this ProjectV2ItemFieldNumberValue) GetCreatedAt() time.Time
- func (this ProjectV2ItemFieldNumberValue) GetCreator() Actor
- func (this ProjectV2ItemFieldNumberValue) GetDatabaseID() *int
- func (this ProjectV2ItemFieldNumberValue) GetField() ProjectV2FieldConfiguration
- func (this ProjectV2ItemFieldNumberValue) GetID() string
- func (this ProjectV2ItemFieldNumberValue) GetItem() ProjectV2Item
- func (this ProjectV2ItemFieldNumberValue) GetUpdatedAt() time.Time
- func (ProjectV2ItemFieldNumberValue) IsNode()
- func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValue()
- func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValueCommon()
- type ProjectV2ItemFieldPullRequestValue
- type ProjectV2ItemFieldRepositoryValue
- type ProjectV2ItemFieldReviewerValue
- type ProjectV2ItemFieldSingleSelectValue
- func (this ProjectV2ItemFieldSingleSelectValue) GetCreatedAt() time.Time
- func (this ProjectV2ItemFieldSingleSelectValue) GetCreator() Actor
- func (this ProjectV2ItemFieldSingleSelectValue) GetDatabaseID() *int
- func (this ProjectV2ItemFieldSingleSelectValue) GetField() ProjectV2FieldConfiguration
- func (this ProjectV2ItemFieldSingleSelectValue) GetID() string
- func (this ProjectV2ItemFieldSingleSelectValue) GetItem() ProjectV2Item
- func (this ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt() time.Time
- func (ProjectV2ItemFieldSingleSelectValue) IsNode()
- func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValue()
- func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValueCommon()
- type ProjectV2ItemFieldTextValue
- func (this ProjectV2ItemFieldTextValue) GetCreatedAt() time.Time
- func (this ProjectV2ItemFieldTextValue) GetCreator() Actor
- func (this ProjectV2ItemFieldTextValue) GetDatabaseID() *int
- func (this ProjectV2ItemFieldTextValue) GetField() ProjectV2FieldConfiguration
- func (this ProjectV2ItemFieldTextValue) GetID() string
- func (this ProjectV2ItemFieldTextValue) GetItem() ProjectV2Item
- func (this ProjectV2ItemFieldTextValue) GetUpdatedAt() time.Time
- func (ProjectV2ItemFieldTextValue) IsNode()
- func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValue()
- func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValueCommon()
- type ProjectV2ItemFieldUserValue
- type ProjectV2ItemFieldValue
- type ProjectV2ItemFieldValueCommon
- type ProjectV2ItemFieldValueConnection
- type ProjectV2ItemFieldValueEdge
- type ProjectV2ItemFieldValueOrder
- type ProjectV2ItemFieldValueOrderField
- type ProjectV2ItemOrder
- type ProjectV2ItemOrderField
- type ProjectV2ItemType
- type ProjectV2IterationField
- func (this ProjectV2IterationField) GetCreatedAt() time.Time
- func (this ProjectV2IterationField) GetDataType() ProjectV2FieldType
- func (this ProjectV2IterationField) GetDatabaseID() *int
- func (this ProjectV2IterationField) GetID() string
- func (this ProjectV2IterationField) GetName() string
- func (this ProjectV2IterationField) GetProject() ProjectV2
- func (this ProjectV2IterationField) GetUpdatedAt() time.Time
- func (ProjectV2IterationField) IsNode()
- func (ProjectV2IterationField) IsProjectV2FieldCommon()
- func (ProjectV2IterationField) IsProjectV2FieldConfiguration()
- type ProjectV2IterationFieldConfiguration
- type ProjectV2IterationFieldIteration
- type ProjectV2Order
- type ProjectV2OrderField
- type ProjectV2Owner
- type ProjectV2Recent
- type ProjectV2SingleSelectField
- func (this ProjectV2SingleSelectField) GetCreatedAt() time.Time
- func (this ProjectV2SingleSelectField) GetDataType() ProjectV2FieldType
- func (this ProjectV2SingleSelectField) GetDatabaseID() *int
- func (this ProjectV2SingleSelectField) GetID() string
- func (this ProjectV2SingleSelectField) GetName() string
- func (this ProjectV2SingleSelectField) GetProject() ProjectV2
- func (this ProjectV2SingleSelectField) GetUpdatedAt() time.Time
- func (ProjectV2SingleSelectField) IsNode()
- func (ProjectV2SingleSelectField) IsProjectV2FieldCommon()
- func (ProjectV2SingleSelectField) IsProjectV2FieldConfiguration()
- type ProjectV2SingleSelectFieldOption
- type ProjectV2SingleSelectFieldOptionColor
- type ProjectV2SingleSelectFieldOptionInput
- type ProjectV2SortBy
- type ProjectV2SortByConnection
- type ProjectV2SortByEdge
- type ProjectV2SortByField
- type ProjectV2SortByFieldConnection
- type ProjectV2SortByFieldEdge
- type ProjectV2State
- type ProjectV2View
- type ProjectV2ViewConnection
- type ProjectV2ViewEdge
- type ProjectV2ViewLayout
- type ProjectV2ViewOrder
- type ProjectV2ViewOrderField
- type ProjectV2Workflow
- type ProjectV2WorkflowConnection
- type ProjectV2WorkflowEdge
- type ProjectV2WorkflowOrder
- type ProjectV2WorkflowsOrderField
- type PublicKey
- type PublicKeyConnection
- type PublicKeyEdge
- type PublishSponsorsTierInput
- type PublishSponsorsTierPayload
- type PullRequest
- func (this PullRequest) GetActiveLockReason() *LockReason
- func (this PullRequest) GetAssignees() UserConnection
- func (this PullRequest) GetAuthor() Actor
- func (this PullRequest) GetAuthorAssociation() CommentAuthorAssociation
- func (this PullRequest) GetBody() string
- func (this PullRequest) GetBodyHTML() string
- func (this PullRequest) GetBodyText() string
- func (this PullRequest) GetClosed() bool
- func (this PullRequest) GetClosedAt() *time.Time
- func (this PullRequest) GetCreatedAt() time.Time
- func (this PullRequest) GetCreatedViaEmail() bool
- func (this PullRequest) GetDatabaseID() *int
- func (this PullRequest) GetEditor() Actor
- func (this PullRequest) GetID() string
- func (this PullRequest) GetIncludesCreatedEdit() bool
- func (this PullRequest) GetLabels() *LabelConnection
- func (this PullRequest) GetLastEditedAt() *time.Time
- func (this PullRequest) GetLocked() bool
- func (this PullRequest) GetProjectV2() *ProjectV2
- func (this PullRequest) GetProjectsV2() ProjectV2Connection
- func (this PullRequest) GetPublishedAt() *time.Time
- func (this PullRequest) GetReactionGroups() []*ReactionGroup
- func (this PullRequest) GetReactions() ReactionConnection
- func (this PullRequest) GetRepository() Repository
- func (this PullRequest) GetResourcePath() string
- func (this PullRequest) GetURL() string
- func (this PullRequest) GetUpdatedAt() time.Time
- func (this PullRequest) GetUserContentEdits() *UserContentEditConnection
- func (this PullRequest) GetViewerCanReact() bool
- func (this PullRequest) GetViewerCanSubscribe() bool
- func (this PullRequest) GetViewerCanUpdate() bool
- func (this PullRequest) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this PullRequest) GetViewerDidAuthor() bool
- func (this PullRequest) GetViewerSubscription() *SubscriptionState
- func (PullRequest) IsAssignable()
- func (PullRequest) IsClosable()
- func (PullRequest) IsCloser()
- func (PullRequest) IsComment()
- func (PullRequest) IsIssueOrPullRequest()
- func (PullRequest) IsLabelable()
- func (PullRequest) IsLockable()
- func (PullRequest) IsMilestoneItem()
- func (PullRequest) IsNode()
- func (PullRequest) IsProjectCardItem()
- func (PullRequest) IsProjectV2ItemContent()
- func (PullRequest) IsProjectV2Owner()
- func (PullRequest) IsReactable()
- func (PullRequest) IsReferencedSubject()
- func (PullRequest) IsRenamedTitleSubject()
- func (PullRequest) IsRepositoryNode()
- func (PullRequest) IsSearchResultItem()
- func (PullRequest) IsSubscribable()
- func (PullRequest) IsUniformResourceLocatable()
- func (PullRequest) IsUpdatable()
- func (PullRequest) IsUpdatableComment()
- type PullRequestChangedFile
- type PullRequestChangedFileConnection
- type PullRequestChangedFileEdge
- type PullRequestCommit
- type PullRequestCommitCommentThread
- type PullRequestCommitConnection
- type PullRequestCommitEdge
- type PullRequestConnection
- type PullRequestContributionsByRepository
- type PullRequestEdge
- type PullRequestMergeMethod
- type PullRequestOrder
- type PullRequestOrderField
- type PullRequestReview
- func (this PullRequestReview) GetAuthor() Actor
- func (this PullRequestReview) GetAuthorAssociation() CommentAuthorAssociation
- func (this PullRequestReview) GetBody() string
- func (this PullRequestReview) GetBodyHTML() string
- func (this PullRequestReview) GetBodyText() string
- func (this PullRequestReview) GetCreatedAt() time.Time
- func (this PullRequestReview) GetCreatedViaEmail() bool
- func (this PullRequestReview) GetDatabaseID() *int
- func (this PullRequestReview) GetEditor() Actor
- func (this PullRequestReview) GetID() string
- func (this PullRequestReview) GetIncludesCreatedEdit() bool
- func (this PullRequestReview) GetLastEditedAt() *time.Time
- func (this PullRequestReview) GetPublishedAt() *time.Time
- func (this PullRequestReview) GetReactionGroups() []*ReactionGroup
- func (this PullRequestReview) GetReactions() ReactionConnection
- func (this PullRequestReview) GetRepository() Repository
- func (this PullRequestReview) GetUpdatedAt() time.Time
- func (this PullRequestReview) GetUserContentEdits() *UserContentEditConnection
- func (this PullRequestReview) GetViewerCanDelete() bool
- func (this PullRequestReview) GetViewerCanReact() bool
- func (this PullRequestReview) GetViewerCanUpdate() bool
- func (this PullRequestReview) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this PullRequestReview) GetViewerDidAuthor() bool
- func (PullRequestReview) IsComment()
- func (PullRequestReview) IsDeletable()
- func (PullRequestReview) IsNode()
- func (PullRequestReview) IsPullRequestTimelineItem()
- func (PullRequestReview) IsPullRequestTimelineItems()
- func (PullRequestReview) IsReactable()
- func (PullRequestReview) IsRepositoryNode()
- func (PullRequestReview) IsUpdatable()
- func (PullRequestReview) IsUpdatableComment()
- type PullRequestReviewComment
- func (this PullRequestReviewComment) GetAuthor() Actor
- func (this PullRequestReviewComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this PullRequestReviewComment) GetBody() string
- func (this PullRequestReviewComment) GetBodyHTML() string
- func (this PullRequestReviewComment) GetBodyText() string
- func (this PullRequestReviewComment) GetCreatedAt() time.Time
- func (this PullRequestReviewComment) GetCreatedViaEmail() bool
- func (this PullRequestReviewComment) GetDatabaseID() *int
- func (this PullRequestReviewComment) GetEditor() Actor
- func (this PullRequestReviewComment) GetID() string
- func (this PullRequestReviewComment) GetIncludesCreatedEdit() bool
- func (this PullRequestReviewComment) GetIsMinimized() bool
- func (this PullRequestReviewComment) GetLastEditedAt() *time.Time
- func (this PullRequestReviewComment) GetMinimizedReason() *string
- func (this PullRequestReviewComment) GetPublishedAt() *time.Time
- func (this PullRequestReviewComment) GetReactionGroups() []*ReactionGroup
- func (this PullRequestReviewComment) GetReactions() ReactionConnection
- func (this PullRequestReviewComment) GetRepository() Repository
- func (this PullRequestReviewComment) GetUpdatedAt() time.Time
- func (this PullRequestReviewComment) GetUserContentEdits() *UserContentEditConnection
- func (this PullRequestReviewComment) GetViewerCanDelete() bool
- func (this PullRequestReviewComment) GetViewerCanMinimize() bool
- func (this PullRequestReviewComment) GetViewerCanReact() bool
- func (this PullRequestReviewComment) GetViewerCanUpdate() bool
- func (this PullRequestReviewComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this PullRequestReviewComment) GetViewerDidAuthor() bool
- func (PullRequestReviewComment) IsComment()
- func (PullRequestReviewComment) IsDeletable()
- func (PullRequestReviewComment) IsMinimizable()
- func (PullRequestReviewComment) IsNode()
- func (PullRequestReviewComment) IsPullRequestTimelineItem()
- func (PullRequestReviewComment) IsReactable()
- func (PullRequestReviewComment) IsRepositoryNode()
- func (PullRequestReviewComment) IsUpdatable()
- func (PullRequestReviewComment) IsUpdatableComment()
- type PullRequestReviewCommentConnection
- type PullRequestReviewCommentEdge
- type PullRequestReviewCommentState
- type PullRequestReviewConnection
- type PullRequestReviewContributionsByRepository
- type PullRequestReviewDecision
- type PullRequestReviewEdge
- type PullRequestReviewEvent
- type PullRequestReviewState
- type PullRequestReviewThread
- type PullRequestReviewThreadConnection
- type PullRequestReviewThreadEdge
- type PullRequestRevisionMarker
- type PullRequestState
- type PullRequestTemplate
- type PullRequestThread
- type PullRequestTimelineConnection
- type PullRequestTimelineItem
- type PullRequestTimelineItemEdge
- type PullRequestTimelineItems
- type PullRequestTimelineItemsConnection
- type PullRequestTimelineItemsEdge
- type PullRequestTimelineItemsItemType
- type PullRequestUpdateState
- type Push
- type PushAllowance
- type PushAllowanceActor
- type PushAllowanceConnection
- type PushAllowanceEdge
- type Query
- type RateLimit
- type Reactable
- type ReactingUserConnection
- type ReactingUserEdge
- type Reaction
- type ReactionConnection
- type ReactionContent
- type ReactionEdge
- type ReactionGroup
- type ReactionOrder
- type ReactionOrderField
- type Reactor
- type ReactorConnection
- type ReactorEdge
- type ReadyForReviewEvent
- type Ref
- type RefConnection
- type RefEdge
- type RefOrder
- type RefOrderField
- type RefUpdateRule
- type ReferencedEvent
- type ReferencedSubject
- type RegenerateEnterpriseIdentityProviderRecoveryCodesInput
- type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload
- type RegenerateVerifiableDomainTokenInput
- type RegenerateVerifiableDomainTokenPayload
- type RejectDeploymentsInput
- type RejectDeploymentsPayload
- type Release
- func (this Release) GetDatabaseID() *int
- func (this Release) GetID() string
- func (this Release) GetReactionGroups() []*ReactionGroup
- func (this Release) GetReactions() ReactionConnection
- func (this Release) GetResourcePath() string
- func (this Release) GetURL() string
- func (this Release) GetViewerCanReact() bool
- func (Release) IsNode()
- func (Release) IsReactable()
- func (Release) IsUniformResourceLocatable()
- type ReleaseAsset
- type ReleaseAssetConnection
- type ReleaseAssetEdge
- type ReleaseConnection
- type ReleaseEdge
- type ReleaseOrder
- type ReleaseOrderField
- type RemoveAssigneesFromAssignableInput
- type RemoveAssigneesFromAssignablePayload
- type RemoveEnterpriseAdminInput
- type RemoveEnterpriseAdminPayload
- type RemoveEnterpriseIdentityProviderInput
- type RemoveEnterpriseIdentityProviderPayload
- type RemoveEnterpriseMemberInput
- type RemoveEnterpriseMemberPayload
- 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
- type RenamedTitleEvent
- type RenamedTitleSubject
- type ReopenIssueInput
- type ReopenIssuePayload
- type ReopenPullRequestInput
- type ReopenPullRequestPayload
- type ReopenedEvent
- type RepoAccessAuditEntry
- func (this RepoAccessAuditEntry) GetAction() string
- func (this RepoAccessAuditEntry) GetActor() AuditEntryActor
- func (this RepoAccessAuditEntry) GetActorIP() *string
- func (this RepoAccessAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoAccessAuditEntry) GetActorLogin() *string
- func (this RepoAccessAuditEntry) GetActorResourcePath() *string
- func (this RepoAccessAuditEntry) GetActorURL() *string
- func (this RepoAccessAuditEntry) GetCreatedAt() string
- func (this RepoAccessAuditEntry) GetID() string
- func (this RepoAccessAuditEntry) GetOperationType() *OperationType
- func (this RepoAccessAuditEntry) GetOrganization() *Organization
- func (this RepoAccessAuditEntry) GetOrganizationName() *string
- func (this RepoAccessAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoAccessAuditEntry) GetOrganizationURL() *string
- func (this RepoAccessAuditEntry) GetRepository() *Repository
- func (this RepoAccessAuditEntry) GetRepositoryName() *string
- func (this RepoAccessAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoAccessAuditEntry) GetRepositoryURL() *string
- func (this RepoAccessAuditEntry) GetUser() *User
- func (this RepoAccessAuditEntry) GetUserLogin() *string
- func (this RepoAccessAuditEntry) GetUserResourcePath() *string
- func (this RepoAccessAuditEntry) GetUserURL() *string
- func (RepoAccessAuditEntry) IsAuditEntry()
- func (RepoAccessAuditEntry) IsNode()
- func (RepoAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoAccessAuditEntryVisibility
- type RepoAddMemberAuditEntry
- func (this RepoAddMemberAuditEntry) GetAction() string
- func (this RepoAddMemberAuditEntry) GetActor() AuditEntryActor
- func (this RepoAddMemberAuditEntry) GetActorIP() *string
- func (this RepoAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoAddMemberAuditEntry) GetActorLogin() *string
- func (this RepoAddMemberAuditEntry) GetActorResourcePath() *string
- func (this RepoAddMemberAuditEntry) GetActorURL() *string
- func (this RepoAddMemberAuditEntry) GetCreatedAt() string
- func (this RepoAddMemberAuditEntry) GetID() string
- func (this RepoAddMemberAuditEntry) GetOperationType() *OperationType
- func (this RepoAddMemberAuditEntry) GetOrganization() *Organization
- func (this RepoAddMemberAuditEntry) GetOrganizationName() *string
- func (this RepoAddMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoAddMemberAuditEntry) GetOrganizationURL() *string
- func (this RepoAddMemberAuditEntry) GetRepository() *Repository
- func (this RepoAddMemberAuditEntry) GetRepositoryName() *string
- func (this RepoAddMemberAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoAddMemberAuditEntry) GetRepositoryURL() *string
- func (this RepoAddMemberAuditEntry) GetUser() *User
- func (this RepoAddMemberAuditEntry) GetUserLogin() *string
- func (this RepoAddMemberAuditEntry) GetUserResourcePath() *string
- func (this RepoAddMemberAuditEntry) GetUserURL() *string
- func (RepoAddMemberAuditEntry) IsAuditEntry()
- func (RepoAddMemberAuditEntry) IsNode()
- func (RepoAddMemberAuditEntry) IsOrganizationAuditEntry()
- func (RepoAddMemberAuditEntry) IsOrganizationAuditEntryData()
- func (RepoAddMemberAuditEntry) IsRepositoryAuditEntryData()
- type RepoAddMemberAuditEntryVisibility
- type RepoAddTopicAuditEntry
- func (this RepoAddTopicAuditEntry) GetAction() string
- func (this RepoAddTopicAuditEntry) GetActor() AuditEntryActor
- func (this RepoAddTopicAuditEntry) GetActorIP() *string
- func (this RepoAddTopicAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoAddTopicAuditEntry) GetActorLogin() *string
- func (this RepoAddTopicAuditEntry) GetActorResourcePath() *string
- func (this RepoAddTopicAuditEntry) GetActorURL() *string
- func (this RepoAddTopicAuditEntry) GetCreatedAt() string
- func (this RepoAddTopicAuditEntry) GetID() string
- func (this RepoAddTopicAuditEntry) GetOperationType() *OperationType
- func (this RepoAddTopicAuditEntry) GetOrganization() *Organization
- func (this RepoAddTopicAuditEntry) GetOrganizationName() *string
- func (this RepoAddTopicAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoAddTopicAuditEntry) GetOrganizationURL() *string
- func (this RepoAddTopicAuditEntry) GetRepository() *Repository
- func (this RepoAddTopicAuditEntry) GetRepositoryName() *string
- func (this RepoAddTopicAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoAddTopicAuditEntry) GetRepositoryURL() *string
- func (this RepoAddTopicAuditEntry) GetTopic() *Topic
- func (this RepoAddTopicAuditEntry) GetTopicName() *string
- func (this RepoAddTopicAuditEntry) GetUser() *User
- func (this RepoAddTopicAuditEntry) GetUserLogin() *string
- func (this RepoAddTopicAuditEntry) GetUserResourcePath() *string
- func (this RepoAddTopicAuditEntry) GetUserURL() *string
- func (RepoAddTopicAuditEntry) IsAuditEntry()
- func (RepoAddTopicAuditEntry) IsNode()
- func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry()
- func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData()
- func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData()
- func (RepoAddTopicAuditEntry) IsTopicAuditEntryData()
- type RepoArchivedAuditEntry
- func (this RepoArchivedAuditEntry) GetAction() string
- func (this RepoArchivedAuditEntry) GetActor() AuditEntryActor
- func (this RepoArchivedAuditEntry) GetActorIP() *string
- func (this RepoArchivedAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoArchivedAuditEntry) GetActorLogin() *string
- func (this RepoArchivedAuditEntry) GetActorResourcePath() *string
- func (this RepoArchivedAuditEntry) GetActorURL() *string
- func (this RepoArchivedAuditEntry) GetCreatedAt() string
- func (this RepoArchivedAuditEntry) GetID() string
- func (this RepoArchivedAuditEntry) GetOperationType() *OperationType
- func (this RepoArchivedAuditEntry) GetOrganization() *Organization
- func (this RepoArchivedAuditEntry) GetOrganizationName() *string
- func (this RepoArchivedAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoArchivedAuditEntry) GetOrganizationURL() *string
- func (this RepoArchivedAuditEntry) GetRepository() *Repository
- func (this RepoArchivedAuditEntry) GetRepositoryName() *string
- func (this RepoArchivedAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoArchivedAuditEntry) GetRepositoryURL() *string
- func (this RepoArchivedAuditEntry) GetUser() *User
- func (this RepoArchivedAuditEntry) GetUserLogin() *string
- func (this RepoArchivedAuditEntry) GetUserResourcePath() *string
- func (this RepoArchivedAuditEntry) GetUserURL() *string
- func (RepoArchivedAuditEntry) IsAuditEntry()
- func (RepoArchivedAuditEntry) IsNode()
- func (RepoArchivedAuditEntry) IsOrganizationAuditEntry()
- func (RepoArchivedAuditEntry) IsOrganizationAuditEntryData()
- func (RepoArchivedAuditEntry) IsRepositoryAuditEntryData()
- type RepoArchivedAuditEntryVisibility
- type RepoChangeMergeSettingAuditEntry
- func (this RepoChangeMergeSettingAuditEntry) GetAction() string
- func (this RepoChangeMergeSettingAuditEntry) GetActor() AuditEntryActor
- func (this RepoChangeMergeSettingAuditEntry) GetActorIP() *string
- func (this RepoChangeMergeSettingAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoChangeMergeSettingAuditEntry) GetActorLogin() *string
- func (this RepoChangeMergeSettingAuditEntry) GetActorResourcePath() *string
- func (this RepoChangeMergeSettingAuditEntry) GetActorURL() *string
- func (this RepoChangeMergeSettingAuditEntry) GetCreatedAt() string
- func (this RepoChangeMergeSettingAuditEntry) GetID() string
- func (this RepoChangeMergeSettingAuditEntry) GetOperationType() *OperationType
- func (this RepoChangeMergeSettingAuditEntry) GetOrganization() *Organization
- func (this RepoChangeMergeSettingAuditEntry) GetOrganizationName() *string
- func (this RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoChangeMergeSettingAuditEntry) GetOrganizationURL() *string
- func (this RepoChangeMergeSettingAuditEntry) GetRepository() *Repository
- func (this RepoChangeMergeSettingAuditEntry) GetRepositoryName() *string
- func (this RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoChangeMergeSettingAuditEntry) GetRepositoryURL() *string
- func (this RepoChangeMergeSettingAuditEntry) GetUser() *User
- func (this RepoChangeMergeSettingAuditEntry) GetUserLogin() *string
- func (this RepoChangeMergeSettingAuditEntry) GetUserResourcePath() *string
- func (this RepoChangeMergeSettingAuditEntry) GetUserURL() *string
- func (RepoChangeMergeSettingAuditEntry) IsAuditEntry()
- func (RepoChangeMergeSettingAuditEntry) IsNode()
- func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry()
- func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData()
- func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData()
- type RepoChangeMergeSettingAuditEntryMergeType
- type RepoConfigDisableAnonymousGitAccessAuditEntry
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction() string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIP() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorURL() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt() string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetID() string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser() *User
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserURL() *string
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableCollaboratorsOnlyAuditEntry
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetID() string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL() *string
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsNode()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableContributorsOnlyAuditEntry
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetAction() string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorIP() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorURL() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt() string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetID() string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization() *Organization
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepository() *Repository
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUser() *User
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserURL() *string
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsNode()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableSockpuppetDisallowedAuditEntry
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction() string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIP() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorURL() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt() string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetID() string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser() *User
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserURL() *string
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsAuditEntry()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsNode()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableAnonymousGitAccessAuditEntry
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction() string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIP() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorURL() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt() string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetID() string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser() *User
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserURL() *string
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableCollaboratorsOnlyAuditEntry
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetID() string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL() *string
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsNode()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableContributorsOnlyAuditEntry
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetAction() string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorIP() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorURL() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt() string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetID() string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization() *Organization
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepository() *Repository
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUser() *User
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserURL() *string
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsNode()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableSockpuppetDisallowedAuditEntry
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction() string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIP() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorURL() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt() string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetID() string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser() *User
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserURL() *string
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsAuditEntry()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsNode()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigLockAnonymousGitAccessAuditEntry
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetAction() string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIP() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorURL() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt() string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetID() string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUser() *User
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserURL() *string
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigUnlockAnonymousGitAccessAuditEntry
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction() string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIP() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorURL() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt() string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetID() string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository() *Repository
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser() *User
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
- func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserURL() *string
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoCreateAuditEntry
- func (this RepoCreateAuditEntry) GetAction() string
- func (this RepoCreateAuditEntry) GetActor() AuditEntryActor
- func (this RepoCreateAuditEntry) GetActorIP() *string
- func (this RepoCreateAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoCreateAuditEntry) GetActorLogin() *string
- func (this RepoCreateAuditEntry) GetActorResourcePath() *string
- func (this RepoCreateAuditEntry) GetActorURL() *string
- func (this RepoCreateAuditEntry) GetCreatedAt() string
- func (this RepoCreateAuditEntry) GetID() string
- func (this RepoCreateAuditEntry) GetOperationType() *OperationType
- func (this RepoCreateAuditEntry) GetOrganization() *Organization
- func (this RepoCreateAuditEntry) GetOrganizationName() *string
- func (this RepoCreateAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoCreateAuditEntry) GetOrganizationURL() *string
- func (this RepoCreateAuditEntry) GetRepository() *Repository
- func (this RepoCreateAuditEntry) GetRepositoryName() *string
- func (this RepoCreateAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoCreateAuditEntry) GetRepositoryURL() *string
- func (this RepoCreateAuditEntry) GetUser() *User
- func (this RepoCreateAuditEntry) GetUserLogin() *string
- func (this RepoCreateAuditEntry) GetUserResourcePath() *string
- func (this RepoCreateAuditEntry) GetUserURL() *string
- func (RepoCreateAuditEntry) IsAuditEntry()
- func (RepoCreateAuditEntry) IsNode()
- func (RepoCreateAuditEntry) IsOrganizationAuditEntry()
- func (RepoCreateAuditEntry) IsOrganizationAuditEntryData()
- func (RepoCreateAuditEntry) IsRepositoryAuditEntryData()
- type RepoCreateAuditEntryVisibility
- type RepoDestroyAuditEntry
- func (this RepoDestroyAuditEntry) GetAction() string
- func (this RepoDestroyAuditEntry) GetActor() AuditEntryActor
- func (this RepoDestroyAuditEntry) GetActorIP() *string
- func (this RepoDestroyAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoDestroyAuditEntry) GetActorLogin() *string
- func (this RepoDestroyAuditEntry) GetActorResourcePath() *string
- func (this RepoDestroyAuditEntry) GetActorURL() *string
- func (this RepoDestroyAuditEntry) GetCreatedAt() string
- func (this RepoDestroyAuditEntry) GetID() string
- func (this RepoDestroyAuditEntry) GetOperationType() *OperationType
- func (this RepoDestroyAuditEntry) GetOrganization() *Organization
- func (this RepoDestroyAuditEntry) GetOrganizationName() *string
- func (this RepoDestroyAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoDestroyAuditEntry) GetOrganizationURL() *string
- func (this RepoDestroyAuditEntry) GetRepository() *Repository
- func (this RepoDestroyAuditEntry) GetRepositoryName() *string
- func (this RepoDestroyAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoDestroyAuditEntry) GetRepositoryURL() *string
- func (this RepoDestroyAuditEntry) GetUser() *User
- func (this RepoDestroyAuditEntry) GetUserLogin() *string
- func (this RepoDestroyAuditEntry) GetUserResourcePath() *string
- func (this RepoDestroyAuditEntry) GetUserURL() *string
- func (RepoDestroyAuditEntry) IsAuditEntry()
- func (RepoDestroyAuditEntry) IsNode()
- func (RepoDestroyAuditEntry) IsOrganizationAuditEntry()
- func (RepoDestroyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoDestroyAuditEntry) IsRepositoryAuditEntryData()
- type RepoDestroyAuditEntryVisibility
- type RepoRemoveMemberAuditEntry
- func (this RepoRemoveMemberAuditEntry) GetAction() string
- func (this RepoRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (this RepoRemoveMemberAuditEntry) GetActorIP() *string
- func (this RepoRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoRemoveMemberAuditEntry) GetActorLogin() *string
- func (this RepoRemoveMemberAuditEntry) GetActorResourcePath() *string
- func (this RepoRemoveMemberAuditEntry) GetActorURL() *string
- func (this RepoRemoveMemberAuditEntry) GetCreatedAt() string
- func (this RepoRemoveMemberAuditEntry) GetID() string
- func (this RepoRemoveMemberAuditEntry) GetOperationType() *OperationType
- func (this RepoRemoveMemberAuditEntry) GetOrganization() *Organization
- func (this RepoRemoveMemberAuditEntry) GetOrganizationName() *string
- func (this RepoRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoRemoveMemberAuditEntry) GetOrganizationURL() *string
- func (this RepoRemoveMemberAuditEntry) GetRepository() *Repository
- func (this RepoRemoveMemberAuditEntry) GetRepositoryName() *string
- func (this RepoRemoveMemberAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoRemoveMemberAuditEntry) GetRepositoryURL() *string
- func (this RepoRemoveMemberAuditEntry) GetUser() *User
- func (this RepoRemoveMemberAuditEntry) GetUserLogin() *string
- func (this RepoRemoveMemberAuditEntry) GetUserResourcePath() *string
- func (this RepoRemoveMemberAuditEntry) GetUserURL() *string
- func (RepoRemoveMemberAuditEntry) IsAuditEntry()
- func (RepoRemoveMemberAuditEntry) IsNode()
- func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntry()
- func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
- func (RepoRemoveMemberAuditEntry) IsRepositoryAuditEntryData()
- type RepoRemoveMemberAuditEntryVisibility
- type RepoRemoveTopicAuditEntry
- func (this RepoRemoveTopicAuditEntry) GetAction() string
- func (this RepoRemoveTopicAuditEntry) GetActor() AuditEntryActor
- func (this RepoRemoveTopicAuditEntry) GetActorIP() *string
- func (this RepoRemoveTopicAuditEntry) GetActorLocation() *ActorLocation
- func (this RepoRemoveTopicAuditEntry) GetActorLogin() *string
- func (this RepoRemoveTopicAuditEntry) GetActorResourcePath() *string
- func (this RepoRemoveTopicAuditEntry) GetActorURL() *string
- func (this RepoRemoveTopicAuditEntry) GetCreatedAt() string
- func (this RepoRemoveTopicAuditEntry) GetID() string
- func (this RepoRemoveTopicAuditEntry) GetOperationType() *OperationType
- func (this RepoRemoveTopicAuditEntry) GetOrganization() *Organization
- func (this RepoRemoveTopicAuditEntry) GetOrganizationName() *string
- func (this RepoRemoveTopicAuditEntry) GetOrganizationResourcePath() *string
- func (this RepoRemoveTopicAuditEntry) GetOrganizationURL() *string
- func (this RepoRemoveTopicAuditEntry) GetRepository() *Repository
- func (this RepoRemoveTopicAuditEntry) GetRepositoryName() *string
- func (this RepoRemoveTopicAuditEntry) GetRepositoryResourcePath() *string
- func (this RepoRemoveTopicAuditEntry) GetRepositoryURL() *string
- func (this RepoRemoveTopicAuditEntry) GetTopic() *Topic
- func (this RepoRemoveTopicAuditEntry) GetTopicName() *string
- func (this RepoRemoveTopicAuditEntry) GetUser() *User
- func (this RepoRemoveTopicAuditEntry) GetUserLogin() *string
- func (this RepoRemoveTopicAuditEntry) GetUserResourcePath() *string
- func (this RepoRemoveTopicAuditEntry) GetUserURL() *string
- func (RepoRemoveTopicAuditEntry) IsAuditEntry()
- func (RepoRemoveTopicAuditEntry) IsNode()
- func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry()
- func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData()
- func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData()
- func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData()
- type ReportedContentClassifiers
- type Repository
- func (this Repository) GetCreatedAt() time.Time
- func (this Repository) GetDescription() *string
- func (this Repository) GetDescriptionHTML() string
- func (this Repository) GetForkCount() int
- func (this Repository) GetHasDiscussionsEnabled() bool
- func (this Repository) GetHasIssuesEnabled() bool
- func (this Repository) GetHasProjectsEnabled() bool
- func (this Repository) GetHasWikiEnabled() bool
- func (this Repository) GetHomepageURL() *string
- func (this Repository) GetID() string
- func (this Repository) GetIsArchived() bool
- func (this Repository) GetIsFork() bool
- func (this Repository) GetIsInOrganization() bool
- func (this Repository) GetIsLocked() bool
- func (this Repository) GetIsMirror() bool
- func (this Repository) GetIsPrivate() bool
- func (this Repository) GetIsTemplate() bool
- func (this Repository) GetLicenseInfo() *License
- func (this Repository) GetLockReason() *RepositoryLockReason
- func (this Repository) GetMirrorURL() *string
- func (this Repository) GetName() string
- func (this Repository) GetNameWithOwner() string
- func (this Repository) GetOpenGraphImageURL() string
- func (this Repository) GetOwner() RepositoryOwner
- func (this Repository) GetPackages() PackageConnection
- func (this Repository) GetProject() *Project
- func (this Repository) GetProjects() ProjectConnection
- func (this Repository) GetProjectsResourcePath() string
- func (this Repository) GetProjectsURL() string
- func (this Repository) GetPushedAt() *time.Time
- func (this Repository) GetRecentProjects() ProjectV2Connection
- func (this Repository) GetResourcePath() string
- func (this Repository) GetShortDescriptionHTML() string
- func (this Repository) GetStargazerCount() int
- func (this Repository) GetStargazers() StargazerConnection
- func (this Repository) GetURL() string
- func (this Repository) GetUpdatedAt() time.Time
- func (this Repository) GetUsesCustomOpenGraphImage() bool
- func (this Repository) GetViewerCanCreateProjects() bool
- func (this Repository) GetViewerCanSubscribe() bool
- func (this Repository) GetViewerHasStarred() bool
- func (this Repository) GetViewerSubscription() *SubscriptionState
- func (this Repository) GetVisibility() RepositoryVisibility
- func (Repository) IsNode()
- func (Repository) IsPackageOwner()
- func (Repository) IsPermissionGranter()
- func (Repository) IsPinnableItem()
- func (Repository) IsProjectOwner()
- func (Repository) IsProjectV2Recent()
- func (Repository) IsRepositoryInfo()
- func (Repository) IsSearchResultItem()
- func (Repository) IsSponsorsListingFeatureableItem()
- func (Repository) IsStarrable()
- func (Repository) IsSubscribable()
- func (Repository) IsUniformResourceLocatable()
- type RepositoryAffiliation
- type RepositoryAuditEntryData
- type RepositoryCodeowners
- type RepositoryCodeownersError
- type RepositoryCollaboratorConnection
- type RepositoryCollaboratorEdge
- type RepositoryConnection
- type RepositoryContactLink
- type RepositoryContributionType
- type RepositoryDiscussionAuthor
- type RepositoryDiscussionCommentAuthor
- type RepositoryEdge
- type RepositoryFragment
- type RepositoryInfo
- type RepositoryInteractionAbility
- type RepositoryInteractionLimit
- type RepositoryInteractionLimitExpiry
- type RepositoryInteractionLimitOrigin
- type RepositoryInvitation
- type RepositoryInvitationConnection
- type RepositoryInvitationEdge
- type RepositoryInvitationOrder
- type RepositoryInvitationOrderField
- type RepositoryLockReason
- type RepositoryMigration
- func (this RepositoryMigration) GetContinueOnError() bool
- func (this RepositoryMigration) GetCreatedAt() time.Time
- func (this RepositoryMigration) GetDatabaseID() *string
- func (this RepositoryMigration) GetFailureReason() *string
- func (this RepositoryMigration) GetID() string
- func (this RepositoryMigration) GetMigrationLogURL() *string
- func (this RepositoryMigration) GetMigrationSource() MigrationSource
- func (this RepositoryMigration) GetRepositoryName() string
- func (this RepositoryMigration) GetSourceURL() string
- func (this RepositoryMigration) GetState() MigrationState
- func (RepositoryMigration) IsMigration()
- func (RepositoryMigration) IsNode()
- type RepositoryMigrationConnection
- type RepositoryMigrationEdge
- type RepositoryMigrationOrder
- type RepositoryMigrationOrderDirection
- type RepositoryMigrationOrderField
- type RepositoryNode
- type RepositoryOrder
- type RepositoryOrderField
- type RepositoryOwner
- type RepositoryPermission
- type RepositoryPrivacy
- type RepositoryTopic
- type RepositoryTopicConnection
- type RepositoryTopicEdge
- type RepositoryVisibility
- type RepositoryVisibilityChangeDisableAuditEntry
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetAction() string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActor() AuditEntryActor
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorIP() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation() *ActorLocation
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorURL() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt() string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseURL() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetID() string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetOperationType() *OperationType
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganization() *Organization
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationURL() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetUser() *User
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath() *string
- func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserURL() *string
- func (RepositoryVisibilityChangeDisableAuditEntry) IsAuditEntry()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsNode()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData()
- type RepositoryVisibilityChangeEnableAuditEntry
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetAction() string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActor() AuditEntryActor
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorIP() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation() *ActorLocation
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorURL() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt() string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseURL() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetID() string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetOperationType() *OperationType
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganization() *Organization
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationURL() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetUser() *User
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath() *string
- func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserURL() *string
- func (RepositoryVisibilityChangeEnableAuditEntry) IsAuditEntry()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsNode()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData()
- type RepositoryVulnerabilityAlert
- type RepositoryVulnerabilityAlertConnection
- type RepositoryVulnerabilityAlertDependencyScope
- func (e RepositoryVulnerabilityAlertDependencyScope) IsValid() bool
- func (e RepositoryVulnerabilityAlertDependencyScope) MarshalGQL(w io.Writer)
- func (e RepositoryVulnerabilityAlertDependencyScope) String() string
- func (e *RepositoryVulnerabilityAlertDependencyScope) UnmarshalGQL(v interface{}) error
- type RepositoryVulnerabilityAlertEdge
- type RepositoryVulnerabilityAlertState
- type RequestReviewsInput
- type RequestReviewsPayload
- type RequestableCheckStatusState
- type RequestedReviewer
- type RequestedReviewerConnection
- type RequestedReviewerEdge
- type RequirableByPullRequest
- type RequiredStatusCheckDescription
- type RequiredStatusCheckInput
- type RerequestCheckSuiteInput
- type RerequestCheckSuitePayload
- type ResolveReviewThreadInput
- type ResolveReviewThreadPayload
- type RestrictedContribution
- func (this RestrictedContribution) GetIsRestricted() bool
- func (this RestrictedContribution) GetOccurredAt() time.Time
- func (this RestrictedContribution) GetResourcePath() string
- func (this RestrictedContribution) GetURL() string
- func (this RestrictedContribution) GetUser() User
- func (RestrictedContribution) IsContribution()
- func (RestrictedContribution) IsCreatedIssueOrRestrictedContribution()
- func (RestrictedContribution) IsCreatedPullRequestOrRestrictedContribution()
- func (RestrictedContribution) IsCreatedRepositoryOrRestrictedContribution()
- type RetireSponsorsTierInput
- type RetireSponsorsTierPayload
- type RevertPullRequestInput
- type RevertPullRequestPayload
- type ReviewDismissalAllowance
- type ReviewDismissalAllowanceActor
- type ReviewDismissalAllowanceConnection
- type ReviewDismissalAllowanceEdge
- type ReviewDismissedEvent
- func (this ReviewDismissedEvent) GetID() string
- func (this ReviewDismissedEvent) GetResourcePath() string
- func (this ReviewDismissedEvent) GetURL() string
- func (ReviewDismissedEvent) IsNode()
- func (ReviewDismissedEvent) IsPullRequestTimelineItem()
- func (ReviewDismissedEvent) IsPullRequestTimelineItems()
- func (ReviewDismissedEvent) IsUniformResourceLocatable()
- type ReviewRequest
- type ReviewRequestConnection
- type ReviewRequestEdge
- type ReviewRequestRemovedEvent
- type ReviewRequestedEvent
- type ReviewStatusHovercardContext
- type RevokeEnterpriseOrganizationsMigratorRoleInput
- type RevokeEnterpriseOrganizationsMigratorRolePayload
- type RevokeMigratorRoleInput
- type RevokeMigratorRolePayload
- type RoleInOrganization
- type SSHSignature
- func (this SSHSignature) GetEmail() string
- func (this SSHSignature) GetIsValid() bool
- func (this SSHSignature) GetPayload() string
- func (this SSHSignature) GetSignature() string
- func (this SSHSignature) GetSigner() *User
- func (this SSHSignature) GetState() GitSignatureState
- func (this SSHSignature) GetWasSignedByGitHub() bool
- func (SSHSignature) IsGitSignature()
- type SamlDigestAlgorithm
- type SamlSignatureAlgorithm
- type SavedReply
- type SavedReplyConnection
- type SavedReplyEdge
- type SavedReplyOrder
- type SavedReplyOrderField
- type SearchResultItem
- type SearchResultItemConnection
- type SearchResultItemEdge
- type SearchType
- type SecurityAdvisory
- 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
- 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 (this SmimeSignature) GetEmail() string
- func (this SmimeSignature) GetIsValid() bool
- func (this SmimeSignature) GetPayload() string
- func (this SmimeSignature) GetSignature() string
- func (this SmimeSignature) GetSigner() *User
- func (this SmimeSignature) GetState() GitSignatureState
- func (this SmimeSignature) GetWasSignedByGitHub() bool
- func (SmimeSignature) IsGitSignature()
- type Sponsor
- type SponsorConnection
- type SponsorEdge
- type SponsorOrder
- type SponsorOrderField
- type Sponsorable
- type SponsorableItem
- type SponsorableItemConnection
- type SponsorableItemEdge
- type SponsorableOrder
- type SponsorableOrderField
- type SponsorsActivity
- type SponsorsActivityAction
- type SponsorsActivityConnection
- type SponsorsActivityEdge
- type SponsorsActivityOrder
- type SponsorsActivityOrderField
- type SponsorsActivityPeriod
- type SponsorsCountryOrRegionCode
- type SponsorsGoal
- type SponsorsGoalKind
- type SponsorsListing
- type SponsorsListingFeatureableItem
- type SponsorsListingFeaturedItem
- type SponsorsListingFeaturedItemFeatureableType
- type SponsorsTier
- type SponsorsTierAdminInfo
- type SponsorsTierConnection
- type SponsorsTierEdge
- type SponsorsTierOrder
- type SponsorsTierOrderField
- type Sponsorship
- type SponsorshipConnection
- type SponsorshipEdge
- type SponsorshipNewsletter
- type SponsorshipNewsletterConnection
- type SponsorshipNewsletterEdge
- type SponsorshipNewsletterOrder
- type SponsorshipNewsletterOrderField
- type SponsorshipOrder
- type SponsorshipOrderField
- type SponsorshipPrivacy
- type SquashMergeCommitMessage
- type SquashMergeCommitTitle
- type StarOrder
- type StarOrderField
- type StargazerConnection
- type StargazerEdge
- type Starrable
- type StarredRepositoryConnection
- type StarredRepositoryEdge
- type StartOrganizationMigrationInput
- type StartOrganizationMigrationPayload
- type StartRepositoryMigrationInput
- type StartRepositoryMigrationPayload
- type Status
- type StatusCheckRollup
- type StatusCheckRollupContext
- type StatusCheckRollupContextConnection
- type StatusCheckRollupContextEdge
- type StatusContext
- type StatusContextStateCount
- type StatusState
- type StripeConnectAccount
- type SubmitPullRequestReviewInput
- type SubmitPullRequestReviewPayload
- type Submodule
- type SubmoduleConnection
- type SubmoduleEdge
- type Subscribable
- type SubscribedEvent
- type SubscriptionState
- type SuggestedReviewer
- type Tag
- type Team
- func (this Team) GetID() string
- func (this Team) GetMemberStatuses() UserStatusConnection
- func (this Team) GetViewerCanSubscribe() bool
- func (this Team) GetViewerSubscription() *SubscriptionState
- func (Team) IsBranchActorAllowanceActor()
- func (Team) IsDeploymentReviewer()
- func (Team) IsMemberStatusable()
- func (Team) IsNode()
- func (Team) IsPermissionGranter()
- func (Team) IsPushAllowanceActor()
- func (Team) IsRequestedReviewer()
- func (Team) IsReviewDismissalAllowanceActor()
- func (Team) IsSubscribable()
- type TeamAddMemberAuditEntry
- func (this TeamAddMemberAuditEntry) GetAction() string
- func (this TeamAddMemberAuditEntry) GetActor() AuditEntryActor
- func (this TeamAddMemberAuditEntry) GetActorIP() *string
- func (this TeamAddMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this TeamAddMemberAuditEntry) GetActorLogin() *string
- func (this TeamAddMemberAuditEntry) GetActorResourcePath() *string
- func (this TeamAddMemberAuditEntry) GetActorURL() *string
- func (this TeamAddMemberAuditEntry) GetCreatedAt() string
- func (this TeamAddMemberAuditEntry) GetID() string
- func (this TeamAddMemberAuditEntry) GetOperationType() *OperationType
- func (this TeamAddMemberAuditEntry) GetOrganization() *Organization
- func (this TeamAddMemberAuditEntry) GetOrganizationName() *string
- func (this TeamAddMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this TeamAddMemberAuditEntry) GetOrganizationURL() *string
- func (this TeamAddMemberAuditEntry) GetTeam() *Team
- func (this TeamAddMemberAuditEntry) GetTeamName() *string
- func (this TeamAddMemberAuditEntry) GetTeamResourcePath() *string
- func (this TeamAddMemberAuditEntry) GetTeamURL() *string
- func (this TeamAddMemberAuditEntry) GetUser() *User
- func (this TeamAddMemberAuditEntry) GetUserLogin() *string
- func (this TeamAddMemberAuditEntry) GetUserResourcePath() *string
- func (this TeamAddMemberAuditEntry) GetUserURL() *string
- func (TeamAddMemberAuditEntry) IsAuditEntry()
- func (TeamAddMemberAuditEntry) IsNode()
- func (TeamAddMemberAuditEntry) IsOrganizationAuditEntry()
- func (TeamAddMemberAuditEntry) IsOrganizationAuditEntryData()
- func (TeamAddMemberAuditEntry) IsTeamAuditEntryData()
- type TeamAddRepositoryAuditEntry
- func (this TeamAddRepositoryAuditEntry) GetAction() string
- func (this TeamAddRepositoryAuditEntry) GetActor() AuditEntryActor
- func (this TeamAddRepositoryAuditEntry) GetActorIP() *string
- func (this TeamAddRepositoryAuditEntry) GetActorLocation() *ActorLocation
- func (this TeamAddRepositoryAuditEntry) GetActorLogin() *string
- func (this TeamAddRepositoryAuditEntry) GetActorResourcePath() *string
- func (this TeamAddRepositoryAuditEntry) GetActorURL() *string
- func (this TeamAddRepositoryAuditEntry) GetCreatedAt() string
- func (this TeamAddRepositoryAuditEntry) GetID() string
- func (this TeamAddRepositoryAuditEntry) GetOperationType() *OperationType
- func (this TeamAddRepositoryAuditEntry) GetOrganization() *Organization
- func (this TeamAddRepositoryAuditEntry) GetOrganizationName() *string
- func (this TeamAddRepositoryAuditEntry) GetOrganizationResourcePath() *string
- func (this TeamAddRepositoryAuditEntry) GetOrganizationURL() *string
- func (this TeamAddRepositoryAuditEntry) GetRepository() *Repository
- func (this TeamAddRepositoryAuditEntry) GetRepositoryName() *string
- func (this TeamAddRepositoryAuditEntry) GetRepositoryResourcePath() *string
- func (this TeamAddRepositoryAuditEntry) GetRepositoryURL() *string
- func (this TeamAddRepositoryAuditEntry) GetTeam() *Team
- func (this TeamAddRepositoryAuditEntry) GetTeamName() *string
- func (this TeamAddRepositoryAuditEntry) GetTeamResourcePath() *string
- func (this TeamAddRepositoryAuditEntry) GetTeamURL() *string
- func (this TeamAddRepositoryAuditEntry) GetUser() *User
- func (this TeamAddRepositoryAuditEntry) GetUserLogin() *string
- func (this TeamAddRepositoryAuditEntry) GetUserResourcePath() *string
- func (this TeamAddRepositoryAuditEntry) GetUserURL() *string
- func (TeamAddRepositoryAuditEntry) IsAuditEntry()
- func (TeamAddRepositoryAuditEntry) IsNode()
- func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry()
- func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData()
- func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData()
- func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData()
- type TeamAuditEntryData
- type TeamChangeParentTeamAuditEntry
- func (this TeamChangeParentTeamAuditEntry) GetAction() string
- func (this TeamChangeParentTeamAuditEntry) GetActor() AuditEntryActor
- func (this TeamChangeParentTeamAuditEntry) GetActorIP() *string
- func (this TeamChangeParentTeamAuditEntry) GetActorLocation() *ActorLocation
- func (this TeamChangeParentTeamAuditEntry) GetActorLogin() *string
- func (this TeamChangeParentTeamAuditEntry) GetActorResourcePath() *string
- func (this TeamChangeParentTeamAuditEntry) GetActorURL() *string
- func (this TeamChangeParentTeamAuditEntry) GetCreatedAt() string
- func (this TeamChangeParentTeamAuditEntry) GetID() string
- func (this TeamChangeParentTeamAuditEntry) GetOperationType() *OperationType
- func (this TeamChangeParentTeamAuditEntry) GetOrganization() *Organization
- func (this TeamChangeParentTeamAuditEntry) GetOrganizationName() *string
- func (this TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath() *string
- func (this TeamChangeParentTeamAuditEntry) GetOrganizationURL() *string
- func (this TeamChangeParentTeamAuditEntry) GetTeam() *Team
- func (this TeamChangeParentTeamAuditEntry) GetTeamName() *string
- func (this TeamChangeParentTeamAuditEntry) GetTeamResourcePath() *string
- func (this TeamChangeParentTeamAuditEntry) GetTeamURL() *string
- func (this TeamChangeParentTeamAuditEntry) GetUser() *User
- func (this TeamChangeParentTeamAuditEntry) GetUserLogin() *string
- func (this TeamChangeParentTeamAuditEntry) GetUserResourcePath() *string
- func (this TeamChangeParentTeamAuditEntry) GetUserURL() *string
- func (TeamChangeParentTeamAuditEntry) IsAuditEntry()
- func (TeamChangeParentTeamAuditEntry) IsNode()
- func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntry()
- func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntryData()
- func (TeamChangeParentTeamAuditEntry) IsTeamAuditEntryData()
- type TeamConnection
- type TeamDiscussion
- func (this TeamDiscussion) GetAuthor() Actor
- func (this TeamDiscussion) GetAuthorAssociation() CommentAuthorAssociation
- func (this TeamDiscussion) GetBody() string
- func (this TeamDiscussion) GetBodyHTML() string
- func (this TeamDiscussion) GetBodyText() string
- func (this TeamDiscussion) GetCreatedAt() time.Time
- func (this TeamDiscussion) GetCreatedViaEmail() bool
- func (this TeamDiscussion) GetDatabaseID() *int
- func (this TeamDiscussion) GetEditor() Actor
- func (this TeamDiscussion) GetID() string
- func (this TeamDiscussion) GetIncludesCreatedEdit() bool
- func (this TeamDiscussion) GetLastEditedAt() *time.Time
- func (this TeamDiscussion) GetPublishedAt() *time.Time
- func (this TeamDiscussion) GetReactionGroups() []*ReactionGroup
- func (this TeamDiscussion) GetReactions() ReactionConnection
- func (this TeamDiscussion) GetResourcePath() string
- func (this TeamDiscussion) GetURL() string
- func (this TeamDiscussion) GetUpdatedAt() time.Time
- func (this TeamDiscussion) GetUserContentEdits() *UserContentEditConnection
- func (this TeamDiscussion) GetViewerCanDelete() bool
- func (this TeamDiscussion) GetViewerCanReact() bool
- func (this TeamDiscussion) GetViewerCanSubscribe() bool
- func (this TeamDiscussion) GetViewerCanUpdate() bool
- func (this TeamDiscussion) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this TeamDiscussion) GetViewerDidAuthor() bool
- func (this TeamDiscussion) GetViewerSubscription() *SubscriptionState
- func (TeamDiscussion) IsComment()
- func (TeamDiscussion) IsDeletable()
- func (TeamDiscussion) IsNode()
- func (TeamDiscussion) IsReactable()
- func (TeamDiscussion) IsSubscribable()
- func (TeamDiscussion) IsUniformResourceLocatable()
- func (TeamDiscussion) IsUpdatable()
- func (TeamDiscussion) IsUpdatableComment()
- type TeamDiscussionComment
- func (this TeamDiscussionComment) GetAuthor() Actor
- func (this TeamDiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
- func (this TeamDiscussionComment) GetBody() string
- func (this TeamDiscussionComment) GetBodyHTML() string
- func (this TeamDiscussionComment) GetBodyText() string
- func (this TeamDiscussionComment) GetCreatedAt() time.Time
- func (this TeamDiscussionComment) GetCreatedViaEmail() bool
- func (this TeamDiscussionComment) GetDatabaseID() *int
- func (this TeamDiscussionComment) GetEditor() Actor
- func (this TeamDiscussionComment) GetID() string
- func (this TeamDiscussionComment) GetIncludesCreatedEdit() bool
- func (this TeamDiscussionComment) GetLastEditedAt() *time.Time
- func (this TeamDiscussionComment) GetPublishedAt() *time.Time
- func (this TeamDiscussionComment) GetReactionGroups() []*ReactionGroup
- func (this TeamDiscussionComment) GetReactions() ReactionConnection
- func (this TeamDiscussionComment) GetResourcePath() string
- func (this TeamDiscussionComment) GetURL() string
- func (this TeamDiscussionComment) GetUpdatedAt() time.Time
- func (this TeamDiscussionComment) GetUserContentEdits() *UserContentEditConnection
- func (this TeamDiscussionComment) GetViewerCanDelete() bool
- func (this TeamDiscussionComment) GetViewerCanReact() bool
- func (this TeamDiscussionComment) GetViewerCanUpdate() bool
- func (this TeamDiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
- func (this TeamDiscussionComment) GetViewerDidAuthor() bool
- func (TeamDiscussionComment) IsComment()
- func (TeamDiscussionComment) IsDeletable()
- func (TeamDiscussionComment) IsNode()
- func (TeamDiscussionComment) IsReactable()
- func (TeamDiscussionComment) IsUniformResourceLocatable()
- func (TeamDiscussionComment) IsUpdatable()
- func (TeamDiscussionComment) IsUpdatableComment()
- 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 (this TeamRemoveMemberAuditEntry) GetAction() string
- func (this TeamRemoveMemberAuditEntry) GetActor() AuditEntryActor
- func (this TeamRemoveMemberAuditEntry) GetActorIP() *string
- func (this TeamRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
- func (this TeamRemoveMemberAuditEntry) GetActorLogin() *string
- func (this TeamRemoveMemberAuditEntry) GetActorResourcePath() *string
- func (this TeamRemoveMemberAuditEntry) GetActorURL() *string
- func (this TeamRemoveMemberAuditEntry) GetCreatedAt() string
- func (this TeamRemoveMemberAuditEntry) GetID() string
- func (this TeamRemoveMemberAuditEntry) GetOperationType() *OperationType
- func (this TeamRemoveMemberAuditEntry) GetOrganization() *Organization
- func (this TeamRemoveMemberAuditEntry) GetOrganizationName() *string
- func (this TeamRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
- func (this TeamRemoveMemberAuditEntry) GetOrganizationURL() *string
- func (this TeamRemoveMemberAuditEntry) GetTeam() *Team
- func (this TeamRemoveMemberAuditEntry) GetTeamName() *string
- func (this TeamRemoveMemberAuditEntry) GetTeamResourcePath() *string
- func (this TeamRemoveMemberAuditEntry) GetTeamURL() *string
- func (this TeamRemoveMemberAuditEntry) GetUser() *User
- func (this TeamRemoveMemberAuditEntry) GetUserLogin() *string
- func (this TeamRemoveMemberAuditEntry) GetUserResourcePath() *string
- func (this TeamRemoveMemberAuditEntry) GetUserURL() *string
- func (TeamRemoveMemberAuditEntry) IsAuditEntry()
- func (TeamRemoveMemberAuditEntry) IsNode()
- func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntry()
- func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
- func (TeamRemoveMemberAuditEntry) IsTeamAuditEntryData()
- type TeamRemoveRepositoryAuditEntry
- func (this TeamRemoveRepositoryAuditEntry) GetAction() string
- func (this TeamRemoveRepositoryAuditEntry) GetActor() AuditEntryActor
- func (this TeamRemoveRepositoryAuditEntry) GetActorIP() *string
- func (this TeamRemoveRepositoryAuditEntry) GetActorLocation() *ActorLocation
- func (this TeamRemoveRepositoryAuditEntry) GetActorLogin() *string
- func (this TeamRemoveRepositoryAuditEntry) GetActorResourcePath() *string
- func (this TeamRemoveRepositoryAuditEntry) GetActorURL() *string
- func (this TeamRemoveRepositoryAuditEntry) GetCreatedAt() string
- func (this TeamRemoveRepositoryAuditEntry) GetID() string
- func (this TeamRemoveRepositoryAuditEntry) GetOperationType() *OperationType
- func (this TeamRemoveRepositoryAuditEntry) GetOrganization() *Organization
- func (this TeamRemoveRepositoryAuditEntry) GetOrganizationName() *string
- func (this TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath() *string
- func (this TeamRemoveRepositoryAuditEntry) GetOrganizationURL() *string
- func (this TeamRemoveRepositoryAuditEntry) GetRepository() *Repository
- func (this TeamRemoveRepositoryAuditEntry) GetRepositoryName() *string
- func (this TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath() *string
- func (this TeamRemoveRepositoryAuditEntry) GetRepositoryURL() *string
- func (this TeamRemoveRepositoryAuditEntry) GetTeam() *Team
- func (this TeamRemoveRepositoryAuditEntry) GetTeamName() *string
- func (this TeamRemoveRepositoryAuditEntry) GetTeamResourcePath() *string
- func (this TeamRemoveRepositoryAuditEntry) GetTeamURL() *string
- func (this TeamRemoveRepositoryAuditEntry) GetUser() *User
- func (this TeamRemoveRepositoryAuditEntry) GetUserLogin() *string
- func (this TeamRemoveRepositoryAuditEntry) GetUserResourcePath() *string
- func (this TeamRemoveRepositoryAuditEntry) GetUserURL() *string
- func (TeamRemoveRepositoryAuditEntry) IsAuditEntry()
- func (TeamRemoveRepositoryAuditEntry) IsNode()
- func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntry()
- func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntryData()
- func (TeamRemoveRepositoryAuditEntry) IsRepositoryAuditEntryData()
- func (TeamRemoveRepositoryAuditEntry) IsTeamAuditEntryData()
- type TeamRepositoryConnection
- type TeamRepositoryEdge
- type TeamRepositoryOrder
- type TeamRepositoryOrderField
- type TeamRole
- type TextMatch
- type TextMatchHighlight
- type Topic
- type TopicAuditEntryData
- type TopicSuggestionDeclineReason
- type TrackedIssueStates
- type TransferEnterpriseOrganizationInput
- type TransferEnterpriseOrganizationPayload
- type TransferIssueInput
- type TransferIssuePayload
- type TransferredEvent
- type Tree
- type TreeEntry
- type UnarchiveProjectV2ItemInput
- type UnarchiveProjectV2ItemPayload
- type UnarchiveRepositoryInput
- type UnarchiveRepositoryPayload
- type UnassignedEvent
- type UnfollowOrganizationInput
- type UnfollowOrganizationPayload
- type UnfollowUserInput
- type UnfollowUserPayload
- type UniformResourceLocatable
- type UnknownSignature
- func (this UnknownSignature) GetEmail() string
- func (this UnknownSignature) GetIsValid() bool
- func (this UnknownSignature) GetPayload() string
- func (this UnknownSignature) GetSignature() string
- func (this UnknownSignature) GetSigner() *User
- func (this UnknownSignature) GetState() GitSignatureState
- func (this UnknownSignature) GetWasSignedByGitHub() bool
- func (UnknownSignature) IsGitSignature()
- type UnlabeledEvent
- type UnlinkProjectV2FromRepositoryInput
- type UnlinkProjectV2FromRepositoryPayload
- type UnlinkProjectV2FromTeamInput
- type UnlinkProjectV2FromTeamPayload
- type UnlinkRepositoryFromProjectInput
- type UnlinkRepositoryFromProjectPayload
- type UnlockLockableInput
- type UnlockLockablePayload
- type UnlockedEvent
- type UnmarkDiscussionCommentAsAnswerInput
- type UnmarkDiscussionCommentAsAnswerPayload
- type UnmarkFileAsViewedInput
- type UnmarkFileAsViewedPayload
- type UnmarkIssueAsDuplicateInput
- type UnmarkIssueAsDuplicatePayload
- type UnmarkedAsDuplicateEvent
- type UnminimizeCommentInput
- type UnminimizeCommentPayload
- type UnpinIssueInput
- type UnpinIssuePayload
- type UnpinnedEvent
- type UnresolveReviewThreadInput
- type UnresolveReviewThreadPayload
- type UnsubscribedEvent
- type Updatable
- type UpdatableComment
- 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
- 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 UpdateOrganizationWebCommitSignoffSettingInput
- type UpdateOrganizationWebCommitSignoffSettingPayload
- type UpdateProjectCardInput
- type UpdateProjectCardPayload
- type UpdateProjectColumnInput
- type UpdateProjectColumnPayload
- type UpdateProjectInput
- 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 UpdateRepositoryWebCommitSignoffSettingInput
- type UpdateRepositoryWebCommitSignoffSettingPayload
- 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 (this User) GetAnyPinnableItems() bool
- func (this User) GetAvatarURL() string
- func (this User) GetEmail() *string
- func (this User) GetEstimatedNextSponsorsPayoutInCents() int
- func (this User) GetHasSponsorsListing() bool
- func (this User) GetID() string
- func (this User) GetIsSponsoredBy() bool
- func (this User) GetIsSponsoringViewer() bool
- func (this User) GetItemShowcase() ProfileItemShowcase
- func (this User) GetLocation() *string
- func (this User) GetLogin() string
- func (this User) GetMonthlyEstimatedSponsorsIncomeInCents() int
- func (this User) GetName() *string
- func (this User) GetPackages() PackageConnection
- func (this User) GetPinnableItems() PinnableItemConnection
- func (this User) GetPinnedItems() PinnableItemConnection
- func (this User) GetPinnedItemsRemaining() int
- func (this User) GetProject() *Project
- func (this User) GetProjectV2() *ProjectV2
- func (this User) GetProjects() ProjectConnection
- func (this User) GetProjectsResourcePath() string
- func (this User) GetProjectsURL() string
- func (this User) GetProjectsV2() ProjectV2Connection
- func (this User) GetRecentProjects() ProjectV2Connection
- func (this User) GetRepositories() RepositoryConnection
- func (this User) GetRepository() *Repository
- func (this User) GetRepositoryDiscussionComments() DiscussionCommentConnection
- func (this User) GetRepositoryDiscussions() DiscussionConnection
- func (this User) GetResourcePath() string
- func (this User) GetSponsoring() SponsorConnection
- func (this User) GetSponsors() SponsorConnection
- func (this User) GetSponsorsActivities() SponsorsActivityConnection
- func (this User) GetSponsorsListing() *SponsorsListing
- func (this User) GetSponsorshipForViewerAsSponsor() *Sponsorship
- func (this User) GetSponsorshipForViewerAsSponsorable() *Sponsorship
- func (this User) GetSponsorshipNewsletters() SponsorshipNewsletterConnection
- func (this User) GetSponsorshipsAsMaintainer() SponsorshipConnection
- func (this User) GetSponsorshipsAsSponsor() SponsorshipConnection
- func (this User) GetTotalSponsorshipAmountAsSponsorInCents() *int
- func (this User) GetURL() string
- func (this User) GetViewerCanChangePinnedItems() bool
- func (this User) GetViewerCanCreateProjects() bool
- func (this User) GetViewerCanSponsor() bool
- func (this User) GetViewerIsSponsoring() bool
- func (this User) GetWebsiteURL() *string
- func (User) IsActor()
- func (User) IsAssignee()
- func (User) IsAuditEntryActor()
- func (User) IsBranchActorAllowanceActor()
- func (User) IsClaimable()
- func (User) IsDeploymentReviewer()
- func (User) IsEnterpriseMember()
- func (User) IsNode()
- func (User) IsOrganizationOrUser()
- func (User) IsPackageOwner()
- func (User) IsProfileOwner()
- func (User) IsProjectOwner()
- func (User) IsProjectV2Owner()
- func (User) IsProjectV2Recent()
- func (User) IsPushAllowanceActor()
- func (User) IsReactor()
- func (User) IsRepositoryDiscussionAuthor()
- func (User) IsRepositoryDiscussionCommentAuthor()
- func (User) IsRepositoryOwner()
- func (User) IsRequestedReviewer()
- func (User) IsReviewDismissalAllowanceActor()
- func (User) IsSearchResultItem()
- func (User) IsSponsor()
- func (User) IsSponsorable()
- func (User) IsSponsorableItem()
- func (User) IsSponsorsListingFeatureableItem()
- func (User) IsUniformResourceLocatable()
- type UserBlockDuration
- type UserBlockedEvent
- type UserConnection
- type UserContentEdit
- type UserContentEditConnection
- type UserContentEditEdge
- type UserEdge
- type UserEmailMetadata
- type UserStatus
- type UserStatusConnection
- type UserStatusEdge
- type UserStatusOrder
- type UserStatusOrderField
- type VerifiableDomain
- type VerifiableDomainConnection
- type VerifiableDomainEdge
- type VerifiableDomainOrder
- type VerifiableDomainOrderField
- type VerifiableDomainOwner
- type VerifyVerifiableDomainInput
- type VerifyVerifiableDomainPayload
- type ViewerHovercardContext
- type Votable
- type Workflow
- type WorkflowRun
- type WorkflowRunConnection
- type WorkflowRunEdge
- type WorkflowRunOrder
- type WorkflowRunOrderField
Constants ¶
const AddStarDocument = `` /* 162-byte string literal not displayed */
const GetNode2Document = `query GetNode2 ($id: ID!) {
node(id: $id) {
... on Release {
id
name
}
}
}
`
const GetNodeDocument = `` /* 214-byte string literal not displayed */
const GetUserDocument = `` /* 356-byte string literal not displayed */
Variables ¶
var AllActorType = []ActorType{ ActorTypeUser, ActorTypeTeam, }
var AllAuditLogOrderField = []AuditLogOrderField{ AuditLogOrderFieldCreatedAt, }
var AllCheckAnnotationLevel = []CheckAnnotationLevel{ CheckAnnotationLevelFailure, CheckAnnotationLevelNotice, CheckAnnotationLevelWarning, }
var AllCheckConclusionState = []CheckConclusionState{ CheckConclusionStateActionRequired, CheckConclusionStateTimedOut, CheckConclusionStateCancelled, CheckConclusionStateFailure, CheckConclusionStateSuccess, CheckConclusionStateNeutral, CheckConclusionStateSkipped, CheckConclusionStateStartupFailure, CheckConclusionStateStale, }
var AllCheckRunState = []CheckRunState{ CheckRunStateActionRequired, CheckRunStateCancelled, CheckRunStateCompleted, CheckRunStateFailure, CheckRunStateInProgress, CheckRunStateNeutral, CheckRunStatePending, CheckRunStateQueued, CheckRunStateSkipped, CheckRunStateStale, CheckRunStateStartupFailure, CheckRunStateSuccess, CheckRunStateTimedOut, CheckRunStateWaiting, }
var AllCheckRunType = []CheckRunType{ CheckRunTypeAll, CheckRunTypeLatest, }
var AllCheckStatusState = []CheckStatusState{ CheckStatusStateQueued, CheckStatusStateInProgress, CheckStatusStateCompleted, CheckStatusStateWaiting, CheckStatusStatePending, CheckStatusStateRequested, }
var AllCollaboratorAffiliation = []CollaboratorAffiliation{ CollaboratorAffiliationOutside, CollaboratorAffiliationDirect, CollaboratorAffiliationAll, }
var AllCommentAuthorAssociation = []CommentAuthorAssociation{ CommentAuthorAssociationMember, CommentAuthorAssociationOwner, CommentAuthorAssociationMannequin, CommentAuthorAssociationCollaborator, CommentAuthorAssociationContributor, CommentAuthorAssociationFirstTimeContributor, CommentAuthorAssociationFirstTimer, CommentAuthorAssociationNone, }
var AllCommentCannotUpdateReason = []CommentCannotUpdateReason{ CommentCannotUpdateReasonArchived, CommentCannotUpdateReasonInsufficientAccess, CommentCannotUpdateReasonLocked, CommentCannotUpdateReasonLoginRequired, CommentCannotUpdateReasonMaintenance, CommentCannotUpdateReasonVerifiedEmailRequired, CommentCannotUpdateReasonDenied, }
var AllCommitContributionOrderField = []CommitContributionOrderField{ CommitContributionOrderFieldOccurredAt, CommitContributionOrderFieldCommitCount, }
var AllComparisonStatus = []ComparisonStatus{ ComparisonStatusDiverged, ComparisonStatusAhead, ComparisonStatusBehind, ComparisonStatusIDEntical, }
var AllContributionLevel = []ContributionLevel{ ContributionLevelNone, ContributionLevelFirstQuartile, ContributionLevelSecondQuartile, ContributionLevelThirdQuartile, ContributionLevelFourthQuartile, }
var AllDefaultRepositoryPermissionField = []DefaultRepositoryPermissionField{ DefaultRepositoryPermissionFieldNone, DefaultRepositoryPermissionFieldRead, DefaultRepositoryPermissionFieldWrite, DefaultRepositoryPermissionFieldAdmin, }
var AllDependencyGraphEcosystem = []DependencyGraphEcosystem{ DependencyGraphEcosystemRubygems, DependencyGraphEcosystemNpm, DependencyGraphEcosystemPip, DependencyGraphEcosystemMaven, DependencyGraphEcosystemNuget, DependencyGraphEcosystemComposer, DependencyGraphEcosystemGo, DependencyGraphEcosystemActions, DependencyGraphEcosystemRust, DependencyGraphEcosystemPub, }
var AllDeploymentOrderField = []DeploymentOrderField{ DeploymentOrderFieldCreatedAt, }
var AllDeploymentProtectionRuleType = []DeploymentProtectionRuleType{ DeploymentProtectionRuleTypeRequiredReviewers, DeploymentProtectionRuleTypeWaitTimer, }
var AllDeploymentReviewState = []DeploymentReviewState{ DeploymentReviewStateApproved, DeploymentReviewStateRejected, }
var AllDeploymentState = []DeploymentState{ DeploymentStateAbandoned, DeploymentStateActive, DeploymentStateDestroyed, DeploymentStateError, DeploymentStateFailure, DeploymentStateInactive, DeploymentStatePending, DeploymentStateQueued, DeploymentStateInProgress, DeploymentStateWaiting, }
var AllDeploymentStatusState = []DeploymentStatusState{ DeploymentStatusStatePending, DeploymentStatusStateSuccess, DeploymentStatusStateFailure, DeploymentStatusStateInactive, DeploymentStatusStateError, DeploymentStatusStateQueued, DeploymentStatusStateInProgress, DeploymentStatusStateWaiting, }
var AllDiffSide = []DiffSide{ DiffSideLeft, DiffSideRight, }
var AllDiscussionOrderField = []DiscussionOrderField{ DiscussionOrderFieldCreatedAt, DiscussionOrderFieldUpdatedAt, }
var AllDiscussionPollOptionOrderField = []DiscussionPollOptionOrderField{ DiscussionPollOptionOrderFieldAuthoredOrder, DiscussionPollOptionOrderFieldVoteCount, }
var AllDismissReason = []DismissReason{ DismissReasonFixStarted, DismissReasonNoBandwidth, DismissReasonTolerableRisk, DismissReasonInaccurate, DismissReasonNotUsed, }
var AllEnterpriseAdministratorInvitationOrderField = []EnterpriseAdministratorInvitationOrderField{ EnterpriseAdministratorInvitationOrderFieldCreatedAt, }
var AllEnterpriseAdministratorRole = []EnterpriseAdministratorRole{ EnterpriseAdministratorRoleOwner, EnterpriseAdministratorRoleBillingManager, }
var AllEnterpriseAllowPrivateRepositoryForkingPolicyValue = []EnterpriseAllowPrivateRepositoryForkingPolicyValue{ EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizations, EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganization, EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganizationUserAccounts, EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizationsUserAccounts, EnterpriseAllowPrivateRepositoryForkingPolicyValueUserAccounts, EnterpriseAllowPrivateRepositoryForkingPolicyValueEverywhere, }
var AllEnterpriseDefaultRepositoryPermissionSettingValue = []EnterpriseDefaultRepositoryPermissionSettingValue{ EnterpriseDefaultRepositoryPermissionSettingValueNoPolicy, EnterpriseDefaultRepositoryPermissionSettingValueAdmin, EnterpriseDefaultRepositoryPermissionSettingValueWrite, EnterpriseDefaultRepositoryPermissionSettingValueRead, EnterpriseDefaultRepositoryPermissionSettingValueNone, }
var AllEnterpriseEnabledDisabledSettingValue = []EnterpriseEnabledDisabledSettingValue{ EnterpriseEnabledDisabledSettingValueEnabled, EnterpriseEnabledDisabledSettingValueDisabled, EnterpriseEnabledDisabledSettingValueNoPolicy, }
var AllEnterpriseEnabledSettingValue = []EnterpriseEnabledSettingValue{ EnterpriseEnabledSettingValueEnabled, EnterpriseEnabledSettingValueNoPolicy, }
var AllEnterpriseMemberOrderField = []EnterpriseMemberOrderField{ EnterpriseMemberOrderFieldLogin, EnterpriseMemberOrderFieldCreatedAt, }
var AllEnterpriseMembersCanCreateRepositoriesSettingValue = []EnterpriseMembersCanCreateRepositoriesSettingValue{ EnterpriseMembersCanCreateRepositoriesSettingValueNoPolicy, EnterpriseMembersCanCreateRepositoriesSettingValueAll, EnterpriseMembersCanCreateRepositoriesSettingValuePublic, EnterpriseMembersCanCreateRepositoriesSettingValuePrivate, EnterpriseMembersCanCreateRepositoriesSettingValueDisabled, }
var AllEnterpriseMembersCanMakePurchasesSettingValue = []EnterpriseMembersCanMakePurchasesSettingValue{ EnterpriseMembersCanMakePurchasesSettingValueEnabled, EnterpriseMembersCanMakePurchasesSettingValueDisabled, }
var AllEnterpriseServerInstallationOrderField = []EnterpriseServerInstallationOrderField{ EnterpriseServerInstallationOrderFieldHostName, EnterpriseServerInstallationOrderFieldCustomerName, EnterpriseServerInstallationOrderFieldCreatedAt, }
var AllEnterpriseServerUserAccountEmailOrderField = []EnterpriseServerUserAccountEmailOrderField{ EnterpriseServerUserAccountEmailOrderFieldEmail, }
var AllEnterpriseServerUserAccountOrderField = []EnterpriseServerUserAccountOrderField{ EnterpriseServerUserAccountOrderFieldLogin, EnterpriseServerUserAccountOrderFieldRemoteCreatedAt, }
var AllEnterpriseServerUserAccountsUploadOrderField = []EnterpriseServerUserAccountsUploadOrderField{ EnterpriseServerUserAccountsUploadOrderFieldCreatedAt, }
var AllEnterpriseServerUserAccountsUploadSyncState = []EnterpriseServerUserAccountsUploadSyncState{ EnterpriseServerUserAccountsUploadSyncStatePending, EnterpriseServerUserAccountsUploadSyncStateSuccess, EnterpriseServerUserAccountsUploadSyncStateFailure, }
var AllEnterpriseUserAccountMembershipRole = []EnterpriseUserAccountMembershipRole{ EnterpriseUserAccountMembershipRoleMember, EnterpriseUserAccountMembershipRoleOwner, EnterpriseUserAccountMembershipRoleUnaffiliated, }
var AllEnterpriseUserDeployment = []EnterpriseUserDeployment{ EnterpriseUserDeploymentCloud, EnterpriseUserDeploymentServer, }
var AllFileViewedState = []FileViewedState{ FileViewedStateDismissed, FileViewedStateViewed, FileViewedStateUnviewed, }
var AllFundingPlatform = []FundingPlatform{ FundingPlatformGithub, FundingPlatformPatreon, FundingPlatformOpenCollective, FundingPlatformKoFi, FundingPlatformTidelift, FundingPlatformCommunityBridge, FundingPlatformLiberapay, FundingPlatformIssuehunt, FundingPlatformOtechie, FundingPlatformLfxCrowdfunding, FundingPlatformCustom, }
var AllGistOrderField = []GistOrderField{ GistOrderFieldCreatedAt, GistOrderFieldUpdatedAt, GistOrderFieldPushedAt, }
var AllGistPrivacy = []GistPrivacy{ GistPrivacyPublic, GistPrivacySecret, GistPrivacyAll, }
var AllGitSignatureState = []GitSignatureState{ GitSignatureStateValid, GitSignatureStateInvalid, GitSignatureStateMalformedSig, GitSignatureStateUnknownKey, GitSignatureStateBadEmail, GitSignatureStateUnverifiedEmail, GitSignatureStateNoUser, GitSignatureStateUnknownSigType, GitSignatureStateUnsigned, GitSignatureStateGpgverifyUnavailable, GitSignatureStateGpgverifyError, GitSignatureStateNotSigningKey, GitSignatureStateExpiredKey, GitSignatureStateOcspPending, GitSignatureStateOcspError, GitSignatureStateBadCert, GitSignatureStateOcspRevoked, }
var AllIPAllowListEnabledSettingValue = []IPAllowListEnabledSettingValue{ IPAllowListEnabledSettingValueEnabled, IPAllowListEnabledSettingValueDisabled, }
var AllIPAllowListEntryOrderField = []IPAllowListEntryOrderField{ IPAllowListEntryOrderFieldCreatedAt, IPAllowListEntryOrderFieldAllowListValue, }
var AllIPAllowListForInstalledAppsEnabledSettingValue = []IPAllowListForInstalledAppsEnabledSettingValue{ IPAllowListForInstalledAppsEnabledSettingValueEnabled, IPAllowListForInstalledAppsEnabledSettingValueDisabled, }
var AllIdentityProviderConfigurationState = []IdentityProviderConfigurationState{ IdentityProviderConfigurationStateEnforced, IdentityProviderConfigurationStateConfigured, IdentityProviderConfigurationStateUnconfigured, }
var AllIssueClosedStateReason = []IssueClosedStateReason{ IssueClosedStateReasonCompleted, IssueClosedStateReasonNotPlanned, }
var AllIssueCommentOrderField = []IssueCommentOrderField{ IssueCommentOrderFieldUpdatedAt, }
var AllIssueOrderField = []IssueOrderField{ IssueOrderFieldCreatedAt, IssueOrderFieldUpdatedAt, IssueOrderFieldComments, }
var AllIssueState = []IssueState{ IssueStateOpen, IssueStateClosed, }
var AllIssueStateReason = []IssueStateReason{ IssueStateReasonReopened, IssueStateReasonNotPlanned, IssueStateReasonCompleted, }
var AllIssueTimelineItemsItemType = []IssueTimelineItemsItemType{ IssueTimelineItemsItemTypeIssueComment, IssueTimelineItemsItemTypeCrossReferencedEvent, IssueTimelineItemsItemTypeAddedToProjectEvent, IssueTimelineItemsItemTypeAssignedEvent, IssueTimelineItemsItemTypeClosedEvent, IssueTimelineItemsItemTypeCommentDeletedEvent, IssueTimelineItemsItemTypeConnectedEvent, IssueTimelineItemsItemTypeConvertedNoteToIssueEvent, IssueTimelineItemsItemTypeConvertedToDiscussionEvent, IssueTimelineItemsItemTypeDemilestonedEvent, IssueTimelineItemsItemTypeDisconnectedEvent, IssueTimelineItemsItemTypeLabeledEvent, IssueTimelineItemsItemTypeLockedEvent, IssueTimelineItemsItemTypeMarkedAsDuplicateEvent, IssueTimelineItemsItemTypeMentionedEvent, IssueTimelineItemsItemTypeMilestonedEvent, IssueTimelineItemsItemTypeMovedColumnsInProjectEvent, IssueTimelineItemsItemTypePinnedEvent, IssueTimelineItemsItemTypeReferencedEvent, IssueTimelineItemsItemTypeRemovedFromProjectEvent, IssueTimelineItemsItemTypeRenamedTitleEvent, IssueTimelineItemsItemTypeReopenedEvent, IssueTimelineItemsItemTypeSubscribedEvent, IssueTimelineItemsItemTypeTransferredEvent, IssueTimelineItemsItemTypeUnassignedEvent, IssueTimelineItemsItemTypeUnlabeledEvent, IssueTimelineItemsItemTypeUnlockedEvent, IssueTimelineItemsItemTypeUserBlockedEvent, IssueTimelineItemsItemTypeUnmarkedAsDuplicateEvent, IssueTimelineItemsItemTypeUnpinnedEvent, IssueTimelineItemsItemTypeUnsubscribedEvent, }
var AllLabelOrderField = []LabelOrderField{ LabelOrderFieldName, LabelOrderFieldCreatedAt, }
var AllLanguageOrderField = []LanguageOrderField{ LanguageOrderFieldSize, }
var AllLockReason = []LockReason{ LockReasonOffTopic, LockReasonTooHeated, LockReasonResolved, LockReasonSpam, }
var AllMannequinOrderField = []MannequinOrderField{ MannequinOrderFieldLogin, MannequinOrderFieldCreatedAt, }
var AllMergeCommitMessage = []MergeCommitMessage{ MergeCommitMessagePrTitle, MergeCommitMessagePrBody, MergeCommitMessageBlank, }
var AllMergeCommitTitle = []MergeCommitTitle{ MergeCommitTitlePrTitle, MergeCommitTitleMergeMessage, }
var AllMergeableState = []MergeableState{ MergeableStateMergeable, MergeableStateConflicting, MergeableStateUnknown, }
var AllMigrationSourceType = []MigrationSourceType{ MigrationSourceTypeAzureDevops, MigrationSourceTypeBitbucketServer, MigrationSourceTypeGithubArchive, }
var AllMigrationState = []MigrationState{ MigrationStateNotStarted, MigrationStateQueued, MigrationStateInProgress, MigrationStateSucceeded, MigrationStateFailed, MigrationStatePendingValidation, MigrationStateFailedValidation, }
var AllMilestoneOrderField = []MilestoneOrderField{ MilestoneOrderFieldDueDate, MilestoneOrderFieldCreatedAt, MilestoneOrderFieldUpdatedAt, MilestoneOrderFieldNumber, }
var AllMilestoneState = []MilestoneState{ MilestoneStateOpen, MilestoneStateClosed, }
var AllNotificationRestrictionSettingValue = []NotificationRestrictionSettingValue{ NotificationRestrictionSettingValueEnabled, NotificationRestrictionSettingValueDisabled, }
var AllOIDCProviderType = []OIDCProviderType{ OIDCProviderTypeAad, }
var AllOauthApplicationCreateAuditEntryState = []OauthApplicationCreateAuditEntryState{ OauthApplicationCreateAuditEntryStateActive, OauthApplicationCreateAuditEntryStateSuspended, OauthApplicationCreateAuditEntryStatePendingDeletion, }
var AllOperationType = []OperationType{ OperationTypeAccess, OperationTypeAuthentication, OperationTypeCreate, OperationTypeModify, OperationTypeRemove, OperationTypeRestore, OperationTypeTransfer, }
var AllOrderDirection = []OrderDirection{ OrderDirectionAsc, OrderDirectionDesc, }
var AllOrgAddMemberAuditEntryPermission = []OrgAddMemberAuditEntryPermission{ OrgAddMemberAuditEntryPermissionRead, OrgAddMemberAuditEntryPermissionAdmin, }
var AllOrgCreateAuditEntryBillingPlan = []OrgCreateAuditEntryBillingPlan{ OrgCreateAuditEntryBillingPlanFree, OrgCreateAuditEntryBillingPlanBusiness, OrgCreateAuditEntryBillingPlanBusinessPlus, OrgCreateAuditEntryBillingPlanUnlimited, OrgCreateAuditEntryBillingPlanTieredPerSeat, }
var AllOrgEnterpriseOwnerOrderField = []OrgEnterpriseOwnerOrderField{ OrgEnterpriseOwnerOrderFieldLogin, }
var AllOrgRemoveBillingManagerAuditEntryReason = []OrgRemoveBillingManagerAuditEntryReason{ OrgRemoveBillingManagerAuditEntryReasonTwoFactorRequirementNonCompliance, OrgRemoveBillingManagerAuditEntryReasonSamlExternalIDEntityMissing, OrgRemoveBillingManagerAuditEntryReasonSamlSsoEnforcementRequiresExternalIDEntity, }
var AllOrgRemoveMemberAuditEntryMembershipType = []OrgRemoveMemberAuditEntryMembershipType{ OrgRemoveMemberAuditEntryMembershipTypeSuspended, OrgRemoveMemberAuditEntryMembershipTypeDirectMember, OrgRemoveMemberAuditEntryMembershipTypeAdmin, OrgRemoveMemberAuditEntryMembershipTypeBillingManager, OrgRemoveMemberAuditEntryMembershipTypeUnaffiliated, OrgRemoveMemberAuditEntryMembershipTypeOutsideCollaborator, }
var AllOrgRemoveMemberAuditEntryReason = []OrgRemoveMemberAuditEntryReason{ OrgRemoveMemberAuditEntryReasonTwoFactorRequirementNonCompliance, OrgRemoveMemberAuditEntryReasonSamlExternalIDEntityMissing, OrgRemoveMemberAuditEntryReasonSamlSsoEnforcementRequiresExternalIDEntity, OrgRemoveMemberAuditEntryReasonUserAccountDeleted, OrgRemoveMemberAuditEntryReasonTwoFactorAccountRecovery, }
var AllOrgRemoveOutsideCollaboratorAuditEntryMembershipType = []OrgRemoveOutsideCollaboratorAuditEntryMembershipType{ OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeOutsideCollaborator, OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeUnaffiliated, OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeBillingManager, }
var AllOrgRemoveOutsideCollaboratorAuditEntryReason = []OrgRemoveOutsideCollaboratorAuditEntryReason{ OrgRemoveOutsideCollaboratorAuditEntryReasonTwoFactorRequirementNonCompliance, OrgRemoveOutsideCollaboratorAuditEntryReasonSamlExternalIDEntityMissing, }
var AllOrgUpdateDefaultRepositoryPermissionAuditEntryPermission = []OrgUpdateDefaultRepositoryPermissionAuditEntryPermission{ OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionRead, OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionWrite, OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionAdmin, OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionNone, }
var AllOrgUpdateMemberAuditEntryPermission = []OrgUpdateMemberAuditEntryPermission{ OrgUpdateMemberAuditEntryPermissionRead, OrgUpdateMemberAuditEntryPermissionAdmin, }
var AllOrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = []OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility{ OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityAll, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublic, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityNone, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivate, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityInternal, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicInternal, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivateInternal, OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicPrivate, }
var AllOrganizationInvitationRole = []OrganizationInvitationRole{ OrganizationInvitationRoleDirectMember, OrganizationInvitationRoleAdmin, OrganizationInvitationRoleBillingManager, OrganizationInvitationRoleReinstate, }
var AllOrganizationInvitationSource = []OrganizationInvitationSource{ OrganizationInvitationSourceUnknown, OrganizationInvitationSourceMember, OrganizationInvitationSourceScim, }
var AllOrganizationInvitationType = []OrganizationInvitationType{ OrganizationInvitationTypeUser, OrganizationInvitationTypeEmail, }
var AllOrganizationMemberRole = []OrganizationMemberRole{ OrganizationMemberRoleMember, OrganizationMemberRoleAdmin, }
var AllOrganizationMembersCanCreateRepositoriesSettingValue = []OrganizationMembersCanCreateRepositoriesSettingValue{ OrganizationMembersCanCreateRepositoriesSettingValueAll, OrganizationMembersCanCreateRepositoriesSettingValuePrivate, OrganizationMembersCanCreateRepositoriesSettingValueInternal, OrganizationMembersCanCreateRepositoriesSettingValueDisabled, }
var AllOrganizationMigrationState = []OrganizationMigrationState{ OrganizationMigrationStateNotStarted, OrganizationMigrationStateQueued, OrganizationMigrationStateInProgress, OrganizationMigrationStatePreRepoMigration, OrganizationMigrationStateRepoMigration, OrganizationMigrationStatePostRepoMigration, OrganizationMigrationStateSucceeded, OrganizationMigrationStateFailed, }
var AllOrganizationOrderField = []OrganizationOrderField{ OrganizationOrderFieldCreatedAt, OrganizationOrderFieldLogin, }
var AllPackageFileOrderField = []PackageFileOrderField{ PackageFileOrderFieldCreatedAt, }
var AllPackageOrderField = []PackageOrderField{ PackageOrderFieldCreatedAt, }
var AllPackageType = []PackageType{ PackageTypeNpm, PackageTypeRubygems, PackageTypeMaven, PackageTypeDocker, PackageTypeDebian, PackageTypeNuget, PackageTypePypi, }
var AllPackageVersionOrderField = []PackageVersionOrderField{ PackageVersionOrderFieldCreatedAt, }
var AllPatchStatus = []PatchStatus{ PatchStatusAdded, PatchStatusDeleted, PatchStatusRenamed, PatchStatusCopied, PatchStatusModified, PatchStatusChanged, }
var AllPinnableItemType = []PinnableItemType{ PinnableItemTypeRepository, PinnableItemTypeGist, PinnableItemTypeIssue, PinnableItemTypeProject, PinnableItemTypePullRequest, PinnableItemTypeUser, PinnableItemTypeOrganization, PinnableItemTypeTeam, }
var AllPinnedDiscussionGradient = []PinnedDiscussionGradient{ PinnedDiscussionGradientRedOrange, PinnedDiscussionGradientBlueMint, PinnedDiscussionGradientBluePurple, PinnedDiscussionGradientPinkBlue, PinnedDiscussionGradientPurpleCoral, }
var AllPinnedDiscussionPattern = []PinnedDiscussionPattern{ PinnedDiscussionPatternDotFill, PinnedDiscussionPatternPlus, PinnedDiscussionPatternZap, PinnedDiscussionPatternChevronUp, PinnedDiscussionPatternDot, PinnedDiscussionPatternHeartFill, }
var AllProjectCardArchivedState = []ProjectCardArchivedState{ ProjectCardArchivedStateArchived, ProjectCardArchivedStateNotArchived, }
var AllProjectCardState = []ProjectCardState{ ProjectCardStateContentOnly, ProjectCardStateNoteOnly, ProjectCardStateRedacted, }
var AllProjectColumnPurpose = []ProjectColumnPurpose{ ProjectColumnPurposeTodo, ProjectColumnPurposeInProgress, ProjectColumnPurposeDone, }
var AllProjectOrderField = []ProjectOrderField{ ProjectOrderFieldCreatedAt, ProjectOrderFieldUpdatedAt, ProjectOrderFieldName, }
var AllProjectState = []ProjectState{ ProjectStateOpen, ProjectStateClosed, }
var AllProjectTemplate = []ProjectTemplate{ ProjectTemplateBasicKanban, ProjectTemplateAutomatedKanbanV2, ProjectTemplateAutomatedReviewsKanban, ProjectTemplateBugTriage, }
var AllProjectV2CustomFieldType = []ProjectV2CustomFieldType{ ProjectV2CustomFieldTypeText, ProjectV2CustomFieldTypeSingleSelect, ProjectV2CustomFieldTypeNumber, ProjectV2CustomFieldTypeDate, }
var AllProjectV2FieldOrderField = []ProjectV2FieldOrderField{ ProjectV2FieldOrderFieldPosition, ProjectV2FieldOrderFieldCreatedAt, ProjectV2FieldOrderFieldName, }
var AllProjectV2FieldType = []ProjectV2FieldType{ ProjectV2FieldTypeAssignees, ProjectV2FieldTypeLinkedPullRequests, ProjectV2FieldTypeReviewers, ProjectV2FieldTypeLabels, ProjectV2FieldTypeMilestone, ProjectV2FieldTypeRepository, ProjectV2FieldTypeTitle, ProjectV2FieldTypeText, ProjectV2FieldTypeSingleSelect, ProjectV2FieldTypeNumber, ProjectV2FieldTypeDate, ProjectV2FieldTypeIteration, ProjectV2FieldTypeTracks, ProjectV2FieldTypeTrackedBy, }
var AllProjectV2ItemFieldValueOrderField = []ProjectV2ItemFieldValueOrderField{ ProjectV2ItemFieldValueOrderFieldPosition, }
var AllProjectV2ItemOrderField = []ProjectV2ItemOrderField{ ProjectV2ItemOrderFieldPosition, }
var AllProjectV2ItemType = []ProjectV2ItemType{ ProjectV2ItemTypeIssue, ProjectV2ItemTypePullRequest, ProjectV2ItemTypeDraftIssue, ProjectV2ItemTypeRedacted, }
var AllProjectV2OrderField = []ProjectV2OrderField{ ProjectV2OrderFieldTitle, ProjectV2OrderFieldNumber, ProjectV2OrderFieldUpdatedAt, ProjectV2OrderFieldCreatedAt, }
var AllProjectV2SingleSelectFieldOptionColor = []ProjectV2SingleSelectFieldOptionColor{ ProjectV2SingleSelectFieldOptionColorGray, ProjectV2SingleSelectFieldOptionColorBlue, ProjectV2SingleSelectFieldOptionColorGreen, ProjectV2SingleSelectFieldOptionColorYellow, ProjectV2SingleSelectFieldOptionColorOrange, ProjectV2SingleSelectFieldOptionColorRed, ProjectV2SingleSelectFieldOptionColorPink, ProjectV2SingleSelectFieldOptionColorPurple, }
var AllProjectV2State = []ProjectV2State{ ProjectV2StateOpen, ProjectV2StateClosed, }
var AllProjectV2ViewLayout = []ProjectV2ViewLayout{ ProjectV2ViewLayoutBoardLayout, ProjectV2ViewLayoutTableLayout, ProjectV2ViewLayoutRoadmapLayout, }
var AllProjectV2ViewOrderField = []ProjectV2ViewOrderField{ ProjectV2ViewOrderFieldPosition, ProjectV2ViewOrderFieldCreatedAt, ProjectV2ViewOrderFieldName, }
var AllProjectV2WorkflowsOrderField = []ProjectV2WorkflowsOrderField{ ProjectV2WorkflowsOrderFieldName, ProjectV2WorkflowsOrderFieldNumber, ProjectV2WorkflowsOrderFieldUpdatedAt, ProjectV2WorkflowsOrderFieldCreatedAt, }
var AllPullRequestMergeMethod = []PullRequestMergeMethod{ PullRequestMergeMethodMerge, PullRequestMergeMethodSquash, PullRequestMergeMethodRebase, }
var AllPullRequestOrderField = []PullRequestOrderField{ PullRequestOrderFieldCreatedAt, PullRequestOrderFieldUpdatedAt, }
var AllPullRequestReviewCommentState = []PullRequestReviewCommentState{ PullRequestReviewCommentStatePending, PullRequestReviewCommentStateSubmitted, }
var AllPullRequestReviewDecision = []PullRequestReviewDecision{ PullRequestReviewDecisionChangesRequested, PullRequestReviewDecisionApproved, PullRequestReviewDecisionReviewRequired, }
var AllPullRequestReviewEvent = []PullRequestReviewEvent{ PullRequestReviewEventComment, PullRequestReviewEventApprove, PullRequestReviewEventRequestChanges, PullRequestReviewEventDismiss, }
var AllPullRequestReviewState = []PullRequestReviewState{ PullRequestReviewStatePending, PullRequestReviewStateCommented, PullRequestReviewStateApproved, PullRequestReviewStateChangesRequested, PullRequestReviewStateDismissed, }
var AllPullRequestState = []PullRequestState{ PullRequestStateOpen, PullRequestStateClosed, PullRequestStateMerged, }
var AllPullRequestTimelineItemsItemType = []PullRequestTimelineItemsItemType{ PullRequestTimelineItemsItemTypePullRequestCommit, PullRequestTimelineItemsItemTypePullRequestCommitCommentThread, PullRequestTimelineItemsItemTypePullRequestReview, PullRequestTimelineItemsItemTypePullRequestReviewThread, PullRequestTimelineItemsItemTypePullRequestRevisionMarker, PullRequestTimelineItemsItemTypeAutomaticBaseChangeFailedEvent, PullRequestTimelineItemsItemTypeAutomaticBaseChangeSucceededEvent, PullRequestTimelineItemsItemTypeAutoMergeDisabledEvent, PullRequestTimelineItemsItemTypeAutoMergeEnabledEvent, PullRequestTimelineItemsItemTypeAutoRebaseEnabledEvent, PullRequestTimelineItemsItemTypeAutoSquashEnabledEvent, PullRequestTimelineItemsItemTypeBaseRefChangedEvent, PullRequestTimelineItemsItemTypeBaseRefForcePushedEvent, PullRequestTimelineItemsItemTypeBaseRefDeletedEvent, PullRequestTimelineItemsItemTypeDeployedEvent, PullRequestTimelineItemsItemTypeDeploymentEnvironmentChangedEvent, PullRequestTimelineItemsItemTypeHeadRefDeletedEvent, PullRequestTimelineItemsItemTypeHeadRefForcePushedEvent, PullRequestTimelineItemsItemTypeHeadRefRestoredEvent, PullRequestTimelineItemsItemTypeMergedEvent, PullRequestTimelineItemsItemTypeReviewDismissedEvent, PullRequestTimelineItemsItemTypeReviewRequestedEvent, PullRequestTimelineItemsItemTypeReviewRequestRemovedEvent, PullRequestTimelineItemsItemTypeReadyForReviewEvent, PullRequestTimelineItemsItemTypeConvertToDraftEvent, PullRequestTimelineItemsItemTypeAddedToMergeQueueEvent, PullRequestTimelineItemsItemTypeRemovedFromMergeQueueEvent, PullRequestTimelineItemsItemTypeIssueComment, PullRequestTimelineItemsItemTypeCrossReferencedEvent, PullRequestTimelineItemsItemTypeAddedToProjectEvent, PullRequestTimelineItemsItemTypeAssignedEvent, PullRequestTimelineItemsItemTypeClosedEvent, PullRequestTimelineItemsItemTypeCommentDeletedEvent, PullRequestTimelineItemsItemTypeConnectedEvent, PullRequestTimelineItemsItemTypeConvertedNoteToIssueEvent, PullRequestTimelineItemsItemTypeConvertedToDiscussionEvent, PullRequestTimelineItemsItemTypeDemilestonedEvent, PullRequestTimelineItemsItemTypeDisconnectedEvent, PullRequestTimelineItemsItemTypeLabeledEvent, PullRequestTimelineItemsItemTypeLockedEvent, PullRequestTimelineItemsItemTypeMarkedAsDuplicateEvent, PullRequestTimelineItemsItemTypeMentionedEvent, PullRequestTimelineItemsItemTypeMilestonedEvent, PullRequestTimelineItemsItemTypeMovedColumnsInProjectEvent, PullRequestTimelineItemsItemTypePinnedEvent, PullRequestTimelineItemsItemTypeReferencedEvent, PullRequestTimelineItemsItemTypeRemovedFromProjectEvent, PullRequestTimelineItemsItemTypeRenamedTitleEvent, PullRequestTimelineItemsItemTypeReopenedEvent, PullRequestTimelineItemsItemTypeSubscribedEvent, PullRequestTimelineItemsItemTypeTransferredEvent, PullRequestTimelineItemsItemTypeUnassignedEvent, PullRequestTimelineItemsItemTypeUnlabeledEvent, PullRequestTimelineItemsItemTypeUnlockedEvent, PullRequestTimelineItemsItemTypeUserBlockedEvent, PullRequestTimelineItemsItemTypeUnmarkedAsDuplicateEvent, PullRequestTimelineItemsItemTypeUnpinnedEvent, PullRequestTimelineItemsItemTypeUnsubscribedEvent, }
var AllPullRequestUpdateState = []PullRequestUpdateState{ PullRequestUpdateStateOpen, PullRequestUpdateStateClosed, }
var AllReactionContent = []ReactionContent{ ReactionContentThumbsUp, ReactionContentThumbsDown, ReactionContentLaugh, ReactionContentHooray, ReactionContentConfused, ReactionContentHeart, ReactionContentRocket, ReactionContentEyes, }
var AllReactionOrderField = []ReactionOrderField{ ReactionOrderFieldCreatedAt, }
var AllRefOrderField = []RefOrderField{ RefOrderFieldTagCommitDate, RefOrderFieldAlphabetical, }
var AllReleaseOrderField = []ReleaseOrderField{ ReleaseOrderFieldCreatedAt, ReleaseOrderFieldName, }
var AllRepoAccessAuditEntryVisibility = []RepoAccessAuditEntryVisibility{ RepoAccessAuditEntryVisibilityInternal, RepoAccessAuditEntryVisibilityPrivate, RepoAccessAuditEntryVisibilityPublic, }
var AllRepoAddMemberAuditEntryVisibility = []RepoAddMemberAuditEntryVisibility{ RepoAddMemberAuditEntryVisibilityInternal, RepoAddMemberAuditEntryVisibilityPrivate, RepoAddMemberAuditEntryVisibilityPublic, }
var AllRepoArchivedAuditEntryVisibility = []RepoArchivedAuditEntryVisibility{ RepoArchivedAuditEntryVisibilityInternal, RepoArchivedAuditEntryVisibilityPrivate, RepoArchivedAuditEntryVisibilityPublic, }
var AllRepoChangeMergeSettingAuditEntryMergeType = []RepoChangeMergeSettingAuditEntryMergeType{ RepoChangeMergeSettingAuditEntryMergeTypeMerge, RepoChangeMergeSettingAuditEntryMergeTypeRebase, RepoChangeMergeSettingAuditEntryMergeTypeSquash, }
var AllRepoCreateAuditEntryVisibility = []RepoCreateAuditEntryVisibility{ RepoCreateAuditEntryVisibilityInternal, RepoCreateAuditEntryVisibilityPrivate, RepoCreateAuditEntryVisibilityPublic, }
var AllRepoDestroyAuditEntryVisibility = []RepoDestroyAuditEntryVisibility{ RepoDestroyAuditEntryVisibilityInternal, RepoDestroyAuditEntryVisibilityPrivate, RepoDestroyAuditEntryVisibilityPublic, }
var AllRepoRemoveMemberAuditEntryVisibility = []RepoRemoveMemberAuditEntryVisibility{ RepoRemoveMemberAuditEntryVisibilityInternal, RepoRemoveMemberAuditEntryVisibilityPrivate, RepoRemoveMemberAuditEntryVisibilityPublic, }
var AllReportedContentClassifiers = []ReportedContentClassifiers{ ReportedContentClassifiersSpam, ReportedContentClassifiersAbuse, ReportedContentClassifiersOffTopic, ReportedContentClassifiersOutdated, ReportedContentClassifiersDuplicate, ReportedContentClassifiersResolved, }
var AllRepositoryAffiliation = []RepositoryAffiliation{ RepositoryAffiliationOwner, RepositoryAffiliationCollaborator, RepositoryAffiliationOrganizationMember, }
var AllRepositoryContributionType = []RepositoryContributionType{ RepositoryContributionTypeCommit, RepositoryContributionTypeIssue, RepositoryContributionTypePullRequest, RepositoryContributionTypeRepository, RepositoryContributionTypePullRequestReview, }
var AllRepositoryInteractionLimit = []RepositoryInteractionLimit{ RepositoryInteractionLimitExistingUsers, RepositoryInteractionLimitContributorsOnly, RepositoryInteractionLimitCollaboratorsOnly, RepositoryInteractionLimitNoLimit, }
var AllRepositoryInteractionLimitExpiry = []RepositoryInteractionLimitExpiry{ RepositoryInteractionLimitExpiryOneDay, RepositoryInteractionLimitExpiryThreeDays, RepositoryInteractionLimitExpiryOneWeek, RepositoryInteractionLimitExpiryOneMonth, RepositoryInteractionLimitExpirySixMonths, }
var AllRepositoryInteractionLimitOrigin = []RepositoryInteractionLimitOrigin{ RepositoryInteractionLimitOriginRepository, RepositoryInteractionLimitOriginOrganization, RepositoryInteractionLimitOriginUser, }
var AllRepositoryInvitationOrderField = []RepositoryInvitationOrderField{ RepositoryInvitationOrderFieldCreatedAt, }
var AllRepositoryLockReason = []RepositoryLockReason{ RepositoryLockReasonMoving, RepositoryLockReasonBilling, RepositoryLockReasonRename, RepositoryLockReasonMigrating, RepositoryLockReasonTradeRestriction, }
var AllRepositoryMigrationOrderDirection = []RepositoryMigrationOrderDirection{ RepositoryMigrationOrderDirectionAsc, RepositoryMigrationOrderDirectionDesc, }
var AllRepositoryMigrationOrderField = []RepositoryMigrationOrderField{ RepositoryMigrationOrderFieldCreatedAt, }
var AllRepositoryOrderField = []RepositoryOrderField{ RepositoryOrderFieldCreatedAt, RepositoryOrderFieldUpdatedAt, RepositoryOrderFieldPushedAt, RepositoryOrderFieldName, RepositoryOrderFieldStargazers, }
var AllRepositoryPermission = []RepositoryPermission{ RepositoryPermissionAdmin, RepositoryPermissionMaintain, RepositoryPermissionWrite, RepositoryPermissionTriage, RepositoryPermissionRead, }
var AllRepositoryPrivacy = []RepositoryPrivacy{ RepositoryPrivacyPublic, RepositoryPrivacyPrivate, }
var AllRepositoryVisibility = []RepositoryVisibility{ RepositoryVisibilityPrivate, RepositoryVisibilityPublic, RepositoryVisibilityInternal, }
var AllRepositoryVulnerabilityAlertDependencyScope = []RepositoryVulnerabilityAlertDependencyScope{ RepositoryVulnerabilityAlertDependencyScopeRuntime, RepositoryVulnerabilityAlertDependencyScopeDevelopment, }
var AllRepositoryVulnerabilityAlertState = []RepositoryVulnerabilityAlertState{ RepositoryVulnerabilityAlertStateOpen, RepositoryVulnerabilityAlertStateFixed, RepositoryVulnerabilityAlertStateDismissed, }
var AllRequestableCheckStatusState = []RequestableCheckStatusState{ RequestableCheckStatusStateQueued, RequestableCheckStatusStateInProgress, RequestableCheckStatusStateCompleted, RequestableCheckStatusStateWaiting, RequestableCheckStatusStatePending, }
var AllRoleInOrganization = []RoleInOrganization{ RoleInOrganizationOwner, RoleInOrganizationDirectMember, RoleInOrganizationUnaffiliated, }
var AllSamlDigestAlgorithm = []SamlDigestAlgorithm{ SamlDigestAlgorithmSha1, SamlDigestAlgorithmSha256, SamlDigestAlgorithmSha384, SamlDigestAlgorithmSha512, }
var AllSamlSignatureAlgorithm = []SamlSignatureAlgorithm{ SamlSignatureAlgorithmRsaSha1, SamlSignatureAlgorithmRsaSha256, SamlSignatureAlgorithmRsaSha384, SamlSignatureAlgorithmRsaSha512, }
var AllSavedReplyOrderField = []SavedReplyOrderField{ SavedReplyOrderFieldUpdatedAt, }
var AllSearchType = []SearchType{ SearchTypeIssue, SearchTypeRepository, SearchTypeUser, SearchTypeDiscussion, }
var AllSecurityAdvisoryClassification = []SecurityAdvisoryClassification{ SecurityAdvisoryClassificationGeneral, SecurityAdvisoryClassificationMalware, }
var AllSecurityAdvisoryEcosystem = []SecurityAdvisoryEcosystem{ SecurityAdvisoryEcosystemComposer, SecurityAdvisoryEcosystemErlang, SecurityAdvisoryEcosystemActions, SecurityAdvisoryEcosystemGo, SecurityAdvisoryEcosystemMaven, SecurityAdvisoryEcosystemNpm, SecurityAdvisoryEcosystemNuget, SecurityAdvisoryEcosystemPip, SecurityAdvisoryEcosystemPub, SecurityAdvisoryEcosystemRubygems, SecurityAdvisoryEcosystemRust, }
var AllSecurityAdvisoryIdentifierType = []SecurityAdvisoryIdentifierType{ SecurityAdvisoryIdentifierTypeCve, SecurityAdvisoryIdentifierTypeGhsa, }
var AllSecurityAdvisoryOrderField = []SecurityAdvisoryOrderField{ SecurityAdvisoryOrderFieldPublishedAt, SecurityAdvisoryOrderFieldUpdatedAt, }
var AllSecurityAdvisorySeverity = []SecurityAdvisorySeverity{ SecurityAdvisorySeverityLow, SecurityAdvisorySeverityModerate, SecurityAdvisorySeverityHigh, SecurityAdvisorySeverityCritical, }
var AllSecurityVulnerabilityOrderField = []SecurityVulnerabilityOrderField{ SecurityVulnerabilityOrderFieldUpdatedAt, }
var AllSponsorOrderField = []SponsorOrderField{ SponsorOrderFieldLogin, SponsorOrderFieldRelevance, }
var AllSponsorableOrderField = []SponsorableOrderField{ SponsorableOrderFieldLogin, }
var AllSponsorsActivityAction = []SponsorsActivityAction{ SponsorsActivityActionNewSponsorship, SponsorsActivityActionCancelledSponsorship, SponsorsActivityActionTierChange, SponsorsActivityActionRefund, SponsorsActivityActionPendingChange, SponsorsActivityActionSponsorMatchDisabled, }
var AllSponsorsActivityOrderField = []SponsorsActivityOrderField{ SponsorsActivityOrderFieldTimestamp, }
var AllSponsorsActivityPeriod = []SponsorsActivityPeriod{ SponsorsActivityPeriodDay, SponsorsActivityPeriodWeek, SponsorsActivityPeriodMonth, SponsorsActivityPeriodAll, }
var AllSponsorsCountryOrRegionCode = []SponsorsCountryOrRegionCode{}/* 246 elements not displayed */
var AllSponsorsGoalKind = []SponsorsGoalKind{ SponsorsGoalKindTotalSponsorsCount, SponsorsGoalKindMonthlySponsorshipAmount, }
var AllSponsorsListingFeaturedItemFeatureableType = []SponsorsListingFeaturedItemFeatureableType{ SponsorsListingFeaturedItemFeatureableTypeRepository, SponsorsListingFeaturedItemFeatureableTypeUser, }
var AllSponsorsTierOrderField = []SponsorsTierOrderField{ SponsorsTierOrderFieldCreatedAt, SponsorsTierOrderFieldMonthlyPriceInCents, }
var AllSponsorshipNewsletterOrderField = []SponsorshipNewsletterOrderField{ SponsorshipNewsletterOrderFieldCreatedAt, }
var AllSponsorshipOrderField = []SponsorshipOrderField{ SponsorshipOrderFieldCreatedAt, }
var AllSponsorshipPrivacy = []SponsorshipPrivacy{ SponsorshipPrivacyPublic, SponsorshipPrivacyPrivate, }
var AllSquashMergeCommitMessage = []SquashMergeCommitMessage{ SquashMergeCommitMessagePrBody, SquashMergeCommitMessageCommitMessages, SquashMergeCommitMessageBlank, }
var AllSquashMergeCommitTitle = []SquashMergeCommitTitle{ SquashMergeCommitTitlePrTitle, SquashMergeCommitTitleCommitOrPrTitle, }
var AllStarOrderField = []StarOrderField{ StarOrderFieldStarredAt, }
var AllStatusState = []StatusState{ StatusStateExpected, StatusStateError, StatusStateFailure, StatusStatePending, StatusStateSuccess, }
var AllSubscriptionState = []SubscriptionState{ SubscriptionStateUnsubscribed, SubscriptionStateSubscribed, SubscriptionStateIgnored, }
var AllTeamDiscussionCommentOrderField = []TeamDiscussionCommentOrderField{ TeamDiscussionCommentOrderFieldNumber, }
var AllTeamDiscussionOrderField = []TeamDiscussionOrderField{ TeamDiscussionOrderFieldCreatedAt, }
var AllTeamMemberOrderField = []TeamMemberOrderField{ TeamMemberOrderFieldLogin, TeamMemberOrderFieldCreatedAt, }
var AllTeamMemberRole = []TeamMemberRole{ TeamMemberRoleMaintainer, TeamMemberRoleMember, }
var AllTeamMembershipType = []TeamMembershipType{ TeamMembershipTypeImmediate, TeamMembershipTypeChildTeam, TeamMembershipTypeAll, }
var AllTeamOrderField = []TeamOrderField{ TeamOrderFieldName, }
var AllTeamPrivacy = []TeamPrivacy{ TeamPrivacySecret, TeamPrivacyVisible, }
var AllTeamRepositoryOrderField = []TeamRepositoryOrderField{ TeamRepositoryOrderFieldCreatedAt, TeamRepositoryOrderFieldUpdatedAt, TeamRepositoryOrderFieldPushedAt, TeamRepositoryOrderFieldName, TeamRepositoryOrderFieldPermission, TeamRepositoryOrderFieldStargazers, }
var AllTeamRole = []TeamRole{ TeamRoleAdmin, TeamRoleMember, }
var AllTopicSuggestionDeclineReason = []TopicSuggestionDeclineReason{ TopicSuggestionDeclineReasonNotRelevant, TopicSuggestionDeclineReasonTooSpecific, TopicSuggestionDeclineReasonPersonalPreference, TopicSuggestionDeclineReasonTooGeneral, }
var AllTrackedIssueStates = []TrackedIssueStates{ TrackedIssueStatesOpen, TrackedIssueStatesClosed, }
var AllUserBlockDuration = []UserBlockDuration{ UserBlockDurationOneDay, UserBlockDurationThreeDays, UserBlockDurationOneWeek, UserBlockDurationOneMonth, UserBlockDurationPermanent, }
var AllUserStatusOrderField = []UserStatusOrderField{ UserStatusOrderFieldUpdatedAt, }
var AllVerifiableDomainOrderField = []VerifiableDomainOrderField{ VerifiableDomainOrderFieldDomain, VerifiableDomainOrderFieldCreatedAt, }
var AllWorkflowRunOrderField = []WorkflowRunOrderField{ WorkflowRunOrderFieldCreatedAt, }
Functions ¶
This section is empty.
Types ¶
type AbortQueuedMigrationsInput ¶ added in v0.0.4
type AbortQueuedMigrationsInput struct { // The ID of the organization that is running the migrations. OwnerID string `json:"ownerId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AbortQueuedMigrations
type AbortQueuedMigrationsPayload ¶ added in v0.0.4
type AbortQueuedMigrationsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // Did the operation succeed? Success *bool `json:"success"` }
Autogenerated return type of AbortQueuedMigrations
type AcceptEnterpriseAdministratorInvitationInput ¶
type AcceptEnterpriseAdministratorInvitationInput struct { // The id of the invitation being accepted InvitationID string `json:"invitationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AcceptEnterpriseAdministratorInvitation
type AcceptEnterpriseAdministratorInvitationPayload ¶
type AcceptEnterpriseAdministratorInvitationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The invitation that was accepted. Invitation *EnterpriseAdministratorInvitation `json:"invitation"` // A message confirming the result of accepting an administrator invitation. Message *string `json:"message"` }
Autogenerated return type of AcceptEnterpriseAdministratorInvitation
type AcceptTopicSuggestionInput ¶
type AcceptTopicSuggestionInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The name of the suggested topic. Name string `json:"name"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AcceptTopicSuggestion
type AcceptTopicSuggestionPayload ¶
type AcceptTopicSuggestionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The accepted topic. Topic *Topic `json:"topic"` }
Autogenerated return type of AcceptTopicSuggestion
type Actor ¶
type Actor interface { IsActor() // A URL pointing to the actor's public avatar. GetAvatarURL() string // The username of the actor. GetLogin() string // The HTTP path for this actor. GetResourcePath() string // The HTTP URL for this actor. GetURL() string }
Represents an object which can take actions on GitHub. Typically a User or Bot.
type ActorLocation ¶
type ActorLocation struct { // City City *string `json:"city"` // Country name Country *string `json:"country"` // Country code CountryCode *string `json:"countryCode"` // Region name Region *string `json:"region"` // Region or state code RegionCode *string `json:"regionCode"` }
Location information for an actor
type ActorType ¶ added in v0.0.4
type ActorType string
The actor's type.
func (ActorType) MarshalGQL ¶ added in v0.0.4
func (*ActorType) UnmarshalGQL ¶ added in v0.0.4
type AddAssigneesToAssignableInput ¶
type AddAssigneesToAssignableInput struct { // The id of the assignable object to add assignees to. AssignableID string `json:"assignableId"` // The id of users to add as assignees. AssigneeIds []string `json:"assigneeIds"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddAssigneesToAssignable
type AddAssigneesToAssignablePayload ¶
type AddAssigneesToAssignablePayload struct { // The item that was assigned. Assignable Assignable `json:"assignable"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of AddAssigneesToAssignable
type AddCommentInput ¶
type AddCommentInput struct { // The Node ID of the subject to modify. SubjectID string `json:"subjectId"` // The contents of the comment. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddComment
type AddCommentPayload ¶
type AddCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The edge from the subject's comment connection. CommentEdge *IssueCommentEdge `json:"commentEdge"` // The subject Subject Node `json:"subject"` // The edge from the subject's timeline connection. TimelineEdge *IssueTimelineItemEdge `json:"timelineEdge"` }
Autogenerated return type of AddComment
type AddDiscussionCommentInput ¶ added in v0.0.3
type AddDiscussionCommentInput struct { // The Node ID of the discussion to comment on. DiscussionID string `json:"discussionId"` // The Node ID of the discussion comment within this discussion to reply to. ReplyToID *string `json:"replyToId,omitempty"` // The contents of the comment. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddDiscussionComment
type AddDiscussionCommentPayload ¶ added in v0.0.3
type AddDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The newly created discussion comment. Comment *DiscussionComment `json:"comment"` }
Autogenerated return type of AddDiscussionComment
type AddDiscussionPollVoteInput ¶ added in v0.11.4
type AddDiscussionPollVoteInput struct { // The Node ID of the discussion poll option to vote for. PollOptionID string `json:"pollOptionId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddDiscussionPollVote
type AddDiscussionPollVotePayload ¶ added in v0.11.4
type AddDiscussionPollVotePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The poll option that a vote was added to. PollOption *DiscussionPollOption `json:"pollOption"` }
Autogenerated return type of AddDiscussionPollVote
type AddEnterpriseOrganizationMemberInput ¶ added in v0.11.4
type AddEnterpriseOrganizationMemberInput struct { // The ID of the enterprise which owns the organization. EnterpriseID string `json:"enterpriseId"` // The ID of the organization the users will be added to. OrganizationID string `json:"organizationId"` // The IDs of the enterprise members to add. UserIds []string `json:"userIds"` // The role to assign the users in the organization Role *OrganizationMemberRole `json:"role,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddEnterpriseOrganizationMember
type AddEnterpriseOrganizationMemberPayload ¶ added in v0.11.4
type AddEnterpriseOrganizationMemberPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The users who were added to the organization. Users []*User `json:"users"` }
Autogenerated return type of AddEnterpriseOrganizationMember
type AddEnterpriseSupportEntitlementInput ¶
type AddEnterpriseSupportEntitlementInput struct { // The ID of the Enterprise which the admin belongs to. EnterpriseID string `json:"enterpriseId"` // The login of a member who will receive the support entitlement. Login string `json:"login"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddEnterpriseSupportEntitlement
type AddEnterpriseSupportEntitlementPayload ¶
type AddEnterpriseSupportEntitlementPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of adding the support entitlement. Message *string `json:"message"` }
Autogenerated return type of AddEnterpriseSupportEntitlement
type AddLabelsToLabelableInput ¶
type AddLabelsToLabelableInput struct { // The id of the labelable object to add labels to. LabelableID string `json:"labelableId"` // The ids of the labels to add. LabelIds []string `json:"labelIds"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddLabelsToLabelable
type AddLabelsToLabelablePayload ¶
type AddLabelsToLabelablePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item that was labeled. Labelable Labelable `json:"labelable"` }
Autogenerated return type of AddLabelsToLabelable
type AddProjectCardInput ¶
type AddProjectCardInput struct { // The Node ID of the ProjectColumn. ProjectColumnID string `json:"projectColumnId"` // The content of the card. Must be a member of the ProjectCardItem union ContentID *string `json:"contentId,omitempty"` // The note on the card. Note *string `json:"note,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddProjectCard
type AddProjectCardPayload ¶
type AddProjectCardPayload struct { // The edge from the ProjectColumn's card connection. CardEdge *ProjectCardEdge `json:"cardEdge"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The ProjectColumn ProjectColumn *ProjectColumn `json:"projectColumn"` }
Autogenerated return type of AddProjectCard
type AddProjectColumnInput ¶
type AddProjectColumnInput struct { // The Node ID of the project. ProjectID string `json:"projectId"` // The name of the column. Name string `json:"name"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddProjectColumn
type AddProjectColumnPayload ¶
type AddProjectColumnPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The edge from the project's column connection. ColumnEdge *ProjectColumnEdge `json:"columnEdge"` // The project Project *Project `json:"project"` }
Autogenerated return type of AddProjectColumn
type AddProjectV2DraftIssueInput ¶ added in v0.11.4
type AddProjectV2DraftIssueInput struct { // The ID of the Project to add the draft issue to. ProjectID string `json:"projectId"` // The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. Title string `json:"title"` // The body of the draft issue. Body *string `json:"body,omitempty"` // The IDs of the assignees of the draft issue. AssigneeIds []string `json:"assigneeIds,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddProjectV2DraftIssue
type AddProjectV2DraftIssuePayload ¶ added in v0.11.4
type AddProjectV2DraftIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The draft issue added to the project. ProjectItem *ProjectV2Item `json:"projectItem"` }
Autogenerated return type of AddProjectV2DraftIssue
type AddProjectV2ItemByIDInput ¶ added in v0.11.4
type AddProjectV2ItemByIDInput struct { // The ID of the Project to add the item to. ProjectID string `json:"projectId"` // The id of the Issue or Pull Request to add. ContentID string `json:"contentId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddProjectV2ItemById
type AddProjectV2ItemByIDPayload ¶ added in v0.11.4
type AddProjectV2ItemByIDPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item added to the project. Item *ProjectV2Item `json:"item"` }
Autogenerated return type of AddProjectV2ItemById
type AddPullRequestReviewCommentInput ¶
type AddPullRequestReviewCommentInput struct { // The node ID of the pull request reviewing PullRequestID *string `json:"pullRequestId,omitempty"` // The Node ID of the review to modify. PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"` // The SHA of the commit to comment on. CommitOid *string `json:"commitOID,omitempty"` // The text of the comment. Body string `json:"body"` // The relative path of the file to comment on. Path *string `json:"path,omitempty"` // The line index in the diff to comment on. Position *int `json:"position,omitempty"` // The comment id to reply to. InReplyTo *string `json:"inReplyTo,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddPullRequestReviewComment
type AddPullRequestReviewCommentPayload ¶
type AddPullRequestReviewCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The newly created comment. Comment *PullRequestReviewComment `json:"comment"` // The edge from the review's comment connection. CommentEdge *PullRequestReviewCommentEdge `json:"commentEdge"` }
Autogenerated return type of AddPullRequestReviewComment
type AddPullRequestReviewInput ¶
type AddPullRequestReviewInput struct { // The Node ID of the pull request to modify. PullRequestID string `json:"pullRequestId"` // The commit OID the review pertains to. CommitOid *string `json:"commitOID,omitempty"` // The contents of the review body comment. Body *string `json:"body,omitempty"` // The event to perform on the pull request review. Event *PullRequestReviewEvent `json:"event,omitempty"` // The review line comments. Comments []*DraftPullRequestReviewComment `json:"comments,omitempty"` // The review line comment threads. Threads []*DraftPullRequestReviewThread `json:"threads,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddPullRequestReview
type AddPullRequestReviewPayload ¶
type AddPullRequestReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The newly created pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview"` // The edge from the pull request's review connection. ReviewEdge *PullRequestReviewEdge `json:"reviewEdge"` }
Autogenerated return type of AddPullRequestReview
type AddPullRequestReviewThreadInput ¶
type AddPullRequestReviewThreadInput struct { // Path to the file being commented on. Path string `json:"path"` // Body of the thread's first comment. Body string `json:"body"` // The node ID of the pull request reviewing PullRequestID *string `json:"pullRequestId,omitempty"` // The Node ID of the review to modify. PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"` // The line of the blob to which the thread refers. The end of the line range for multi-line comments. Line int `json:"line"` // 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. Side *DiffSide `json:"side,omitempty"` // The first line of the range to which the comment refers. StartLine *int `json:"startLine,omitempty"` // The side of the diff on which the start line resides. StartSide *DiffSide `json:"startSide,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddPullRequestReviewThread
type AddPullRequestReviewThreadPayload ¶
type AddPullRequestReviewThreadPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The newly created thread. Thread *PullRequestReviewThread `json:"thread"` }
Autogenerated return type of AddPullRequestReviewThread
type AddReactionInput ¶
type AddReactionInput struct { // The Node ID of the subject to modify. SubjectID string `json:"subjectId"` // The name of the emoji to react with. Content ReactionContent `json:"content"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddReaction
type AddReactionPayload ¶
type AddReactionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The reaction object. Reaction *Reaction `json:"reaction"` // The reaction groups for the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // The reactable subject. Subject Reactable `json:"subject"` }
Autogenerated return type of AddReaction
type AddStar ¶ added in v0.0.3
type AddStar struct {
AddStar *AddStar_AddStar "json:\"addStar,omitempty\" graphql:\"addStar\""
}
type AddStarInput ¶
type AddStarInput struct { // The Starrable ID to star. StarrableID string `json:"starrableId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddStar
type AddStarPayload ¶
type AddStarPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The starrable. Starrable Starrable `json:"starrable"` }
Autogenerated return type of AddStar
type AddStar_AddStar ¶ added in v0.0.3
type AddStar_AddStar struct {
Starrable *AddStar_AddStar_Starrable "json:\"starrable,omitempty\" graphql:\"starrable\""
}
type AddStar_AddStar_Starrable ¶ added in v0.0.3
type AddStar_AddStar_Starrable struct { ID string "json:\"id\" graphql:\"id\"" ViewerHasStarred bool "json:\"viewerHasStarred\" graphql:\"viewerHasStarred\"" Repository AddStar_AddStar_Starrable_Repository "graphql:\"... on Repository\"" }
type AddStar_AddStar_Starrable_Repository ¶ added in v0.0.3
type AddUpvoteInput ¶ added in v0.0.3
type AddUpvoteInput struct { // The Node ID of the discussion or comment to upvote. SubjectID string `json:"subjectId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddUpvote
type AddUpvotePayload ¶ added in v0.0.3
type AddUpvotePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The votable subject. Subject Votable `json:"subject"` }
Autogenerated return type of AddUpvote
type AddVerifiableDomainInput ¶
type AddVerifiableDomainInput struct { // The ID of the owner to add the domain to OwnerID string `json:"ownerId"` // The URL of the domain Domain string `json:"domain"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddVerifiableDomain
type AddVerifiableDomainPayload ¶
type AddVerifiableDomainPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The verifiable domain that was added. Domain *VerifiableDomain `json:"domain"` }
Autogenerated return type of AddVerifiableDomain
type AddedToProjectEvent ¶
type AddedToProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` }
Represents a 'added_to_project' event on a given issue or pull request.
func (AddedToProjectEvent) GetID ¶ added in v0.11.4
func (this AddedToProjectEvent) GetID() string
ID of the object.
func (AddedToProjectEvent) IsIssueTimelineItems ¶
func (AddedToProjectEvent) IsIssueTimelineItems()
func (AddedToProjectEvent) IsNode ¶
func (AddedToProjectEvent) IsNode()
func (AddedToProjectEvent) IsPullRequestTimelineItems ¶
func (AddedToProjectEvent) IsPullRequestTimelineItems()
type AnnouncementBanner ¶ added in v0.11.4
type AnnouncementBanner interface { IsAnnouncementBanner() // The text of the announcement GetAnnouncement() *string // The expiration date of the announcement, if any GetAnnouncementExpiresAt() *time.Time // Whether the announcement can be dismissed by the user GetAnnouncementUserDismissible() *bool }
Represents an announcement banner.
type App ¶
type App struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The description of the app. Description *string `json:"description"` ID string `json:"id"` // The IP addresses of the app. IPAllowListEntries IPAllowListEntryConnection `json:"ipAllowListEntries"` // The hex color code, without the leading '#', for the logo background. LogoBackgroundColor string `json:"logoBackgroundColor"` // A URL pointing to the app's logo. LogoURL string `json:"logoUrl"` // The name of the app. Name string `json:"name"` // A slug based on the name of the app for use in URLs. Slug string `json:"slug"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The URL to the app's homepage. URL string `json:"url"` }
A GitHub App.
func (App) IsBranchActorAllowanceActor ¶ added in v0.11.4
func (App) IsBranchActorAllowanceActor()
func (App) IsIPAllowListOwner ¶ added in v0.0.3
func (App) IsIPAllowListOwner()
func (App) IsPushAllowanceActor ¶
func (App) IsPushAllowanceActor()
func (App) IsReviewDismissalAllowanceActor ¶ added in v0.11.4
func (App) IsReviewDismissalAllowanceActor()
func (App) IsSearchResultItem ¶
func (App) IsSearchResultItem()
type ApproveDeploymentsInput ¶ added in v0.0.3
type ApproveDeploymentsInput struct { // The node ID of the workflow run containing the pending deployments. WorkflowRunID string `json:"workflowRunId"` // The ids of environments to reject deployments EnvironmentIds []string `json:"environmentIds"` // Optional comment for approving deployments Comment *string `json:"comment,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ApproveDeployments
type ApproveDeploymentsPayload ¶ added in v0.0.3
type ApproveDeploymentsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The affected deployments. Deployments []*Deployment `json:"deployments"` }
Autogenerated return type of ApproveDeployments
type ApproveVerifiableDomainInput ¶
type ApproveVerifiableDomainInput struct { // The ID of the verifiable domain to approve. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ApproveVerifiableDomain
type ApproveVerifiableDomainPayload ¶
type ApproveVerifiableDomainPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The verifiable domain that was approved. Domain *VerifiableDomain `json:"domain"` }
Autogenerated return type of ApproveVerifiableDomain
type ArchiveProjectV2ItemInput ¶ added in v0.11.4
type ArchiveProjectV2ItemInput struct { // The ID of the Project to archive the item from. ProjectID string `json:"projectId"` // The ID of the ProjectV2Item to archive. ItemID string `json:"itemId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ArchiveProjectV2Item
type ArchiveProjectV2ItemPayload ¶ added in v0.11.4
type ArchiveProjectV2ItemPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item archived from the project. Item *ProjectV2Item `json:"item"` }
Autogenerated return type of ArchiveProjectV2Item
type ArchiveRepositoryInput ¶
type ArchiveRepositoryInput struct { // The ID of the repository to mark as archived. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ArchiveRepository
type ArchiveRepositoryPayload ¶
type ArchiveRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository that was marked as archived. Repository *Repository `json:"repository"` }
Autogenerated return type of ArchiveRepository
type Assignable ¶
type Assignable interface { IsAssignable() // A list of Users assigned to this object. GetAssignees() UserConnection }
An object that can have users assigned to it.
type AssignedEvent ¶
type AssignedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the assignable associated with the event. Assignable Assignable `json:"assignable"` // Identifies the user or mannequin that was assigned. Assignee Assignee `json:"assignee"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the user who was assigned. User *User `json:"user"` }
Represents an 'assigned' event on any assignable object.
func (AssignedEvent) GetID ¶ added in v0.11.4
func (this AssignedEvent) GetID() string
ID of the object.
func (AssignedEvent) IsIssueTimelineItem ¶
func (AssignedEvent) IsIssueTimelineItem()
func (AssignedEvent) IsIssueTimelineItems ¶
func (AssignedEvent) IsIssueTimelineItems()
func (AssignedEvent) IsNode ¶
func (AssignedEvent) IsNode()
func (AssignedEvent) IsPullRequestTimelineItem ¶
func (AssignedEvent) IsPullRequestTimelineItem()
func (AssignedEvent) IsPullRequestTimelineItems ¶
func (AssignedEvent) IsPullRequestTimelineItems()
type AuditEntry ¶
type AuditEntry interface { IsAuditEntry() // The action name GetAction() string // The user who initiated the action GetActor() AuditEntryActor // The IP address of the actor GetActorIP() *string // A readable representation of the actor's location GetActorLocation() *ActorLocation // The username of the user who initiated the action GetActorLogin() *string // The HTTP path for the actor. GetActorResourcePath() *string // The HTTP URL for the actor. GetActorURL() *string // The time the action was initiated GetCreatedAt() string // The corresponding operation type for the action GetOperationType() *OperationType // The user affected by the action GetUser() *User // For actions involving two users, the actor is the initiator and the user is the affected user. GetUserLogin() *string // The HTTP path for the user. GetUserResourcePath() *string // The HTTP URL for the user. GetUserURL() *string }
An entry in the audit log.
type AuditEntryActor ¶
type AuditEntryActor interface {
IsAuditEntryActor()
}
Types that can initiate an audit log event.
type AuditLogOrder ¶
type AuditLogOrder struct { // The field to order Audit Logs by. Field *AuditLogOrderField `json:"field,omitempty"` // The ordering direction. Direction *OrderDirection `json:"direction,omitempty"` }
Ordering options for Audit Log connections.
type AuditLogOrderField ¶
type AuditLogOrderField string
Properties by which Audit Log connections can be ordered.
const ( // Order audit log entries by timestamp AuditLogOrderFieldCreatedAt AuditLogOrderField = "CREATED_AT" )
func (AuditLogOrderField) IsValid ¶
func (e AuditLogOrderField) IsValid() bool
func (AuditLogOrderField) MarshalGQL ¶
func (e AuditLogOrderField) MarshalGQL(w io.Writer)
func (AuditLogOrderField) String ¶
func (e AuditLogOrderField) String() string
func (*AuditLogOrderField) UnmarshalGQL ¶
func (e *AuditLogOrderField) UnmarshalGQL(v interface{}) error
type AutoMergeDisabledEvent ¶
type AutoMergeDisabledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The user who disabled auto-merge for this Pull Request Disabler *User `json:"disabler"` ID string `json:"id"` // PullRequest referenced by event PullRequest *PullRequest `json:"pullRequest"` // The reason auto-merge was disabled Reason *string `json:"reason"` // The reason_code relating to why auto-merge was disabled ReasonCode *string `json:"reasonCode"` }
Represents a 'auto_merge_disabled' event on a given pull request.
func (AutoMergeDisabledEvent) GetID ¶ added in v0.11.4
func (this AutoMergeDisabledEvent) GetID() string
ID of the object.
func (AutoMergeDisabledEvent) IsNode ¶
func (AutoMergeDisabledEvent) IsNode()
func (AutoMergeDisabledEvent) IsPullRequestTimelineItems ¶
func (AutoMergeDisabledEvent) IsPullRequestTimelineItems()
type AutoMergeEnabledEvent ¶
type AutoMergeEnabledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The user who enabled auto-merge for this Pull Request Enabler *User `json:"enabler"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest"` }
Represents a 'auto_merge_enabled' event on a given pull request.
func (AutoMergeEnabledEvent) GetID ¶ added in v0.11.4
func (this AutoMergeEnabledEvent) GetID() string
ID of the object.
func (AutoMergeEnabledEvent) IsNode ¶
func (AutoMergeEnabledEvent) IsNode()
func (AutoMergeEnabledEvent) IsPullRequestTimelineItems ¶
func (AutoMergeEnabledEvent) IsPullRequestTimelineItems()
type AutoMergeRequest ¶
type AutoMergeRequest struct { // The email address of the author of this auto-merge request. AuthorEmail *string `json:"authorEmail"` // 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"` // 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"` // When was this auto-merge request was enabled. EnabledAt *time.Time `json:"enabledAt"` // The actor who created the auto-merge request. EnabledBy Actor `json:"enabledBy"` // 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"` // The pull request that this auto-merge request is set against. PullRequest PullRequest `json:"pullRequest"` }
Represents an auto-merge request for a pull request
type AutoRebaseEnabledEvent ¶
type AutoRebaseEnabledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The user who enabled auto-merge (rebase) for this Pull Request Enabler *User `json:"enabler"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest"` }
Represents a 'auto_rebase_enabled' event on a given pull request.
func (AutoRebaseEnabledEvent) GetID ¶ added in v0.11.4
func (this AutoRebaseEnabledEvent) GetID() string
ID of the object.
func (AutoRebaseEnabledEvent) IsNode ¶
func (AutoRebaseEnabledEvent) IsNode()
func (AutoRebaseEnabledEvent) IsPullRequestTimelineItems ¶
func (AutoRebaseEnabledEvent) IsPullRequestTimelineItems()
type AutoSquashEnabledEvent ¶
type AutoSquashEnabledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The user who enabled auto-merge (squash) for this Pull Request Enabler *User `json:"enabler"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest"` }
Represents a 'auto_squash_enabled' event on a given pull request.
func (AutoSquashEnabledEvent) GetID ¶ added in v0.11.4
func (this AutoSquashEnabledEvent) GetID() string
ID of the object.
func (AutoSquashEnabledEvent) IsNode ¶
func (AutoSquashEnabledEvent) IsNode()
func (AutoSquashEnabledEvent) IsPullRequestTimelineItems ¶
func (AutoSquashEnabledEvent) IsPullRequestTimelineItems()
type AutomaticBaseChangeFailedEvent ¶
type AutomaticBaseChangeFailedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The new base for this PR NewBase string `json:"newBase"` // The old base for this PR OldBase string `json:"oldBase"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'automatic_base_change_failed' event on a given pull request.
func (AutomaticBaseChangeFailedEvent) GetID ¶ added in v0.11.4
func (this AutomaticBaseChangeFailedEvent) GetID() string
ID of the object.
func (AutomaticBaseChangeFailedEvent) IsNode ¶
func (AutomaticBaseChangeFailedEvent) IsNode()
func (AutomaticBaseChangeFailedEvent) IsPullRequestTimelineItems ¶
func (AutomaticBaseChangeFailedEvent) IsPullRequestTimelineItems()
type AutomaticBaseChangeSucceededEvent ¶
type AutomaticBaseChangeSucceededEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The new base for this PR NewBase string `json:"newBase"` // The old base for this PR OldBase string `json:"oldBase"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'automatic_base_change_succeeded' event on a given pull request.
func (AutomaticBaseChangeSucceededEvent) GetID ¶ added in v0.11.4
func (this AutomaticBaseChangeSucceededEvent) GetID() string
ID of the object.
func (AutomaticBaseChangeSucceededEvent) IsNode ¶
func (AutomaticBaseChangeSucceededEvent) IsNode()
func (AutomaticBaseChangeSucceededEvent) IsPullRequestTimelineItems ¶
func (AutomaticBaseChangeSucceededEvent) IsPullRequestTimelineItems()
type BaseRefChangedEvent ¶
type BaseRefChangedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the name of the base ref for the pull request after it was changed. CurrentRefName string `json:"currentRefName"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // Identifies the name of the base ref for the pull request before it was changed. PreviousRefName string `json:"previousRefName"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'base_ref_changed' event on a given issue or pull request.
func (BaseRefChangedEvent) GetID ¶ added in v0.11.4
func (this BaseRefChangedEvent) GetID() string
ID of the object.
func (BaseRefChangedEvent) IsNode ¶
func (BaseRefChangedEvent) IsNode()
func (BaseRefChangedEvent) IsPullRequestTimelineItems ¶
func (BaseRefChangedEvent) IsPullRequestTimelineItems()
type BaseRefDeletedEvent ¶
type BaseRefDeletedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the name of the Ref associated with the `base_ref_deleted` event. BaseRefName *string `json:"baseRefName"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest"` }
Represents a 'base_ref_deleted' event on a given pull request.
func (BaseRefDeletedEvent) GetID ¶ added in v0.11.4
func (this BaseRefDeletedEvent) GetID() string
ID of the object.
func (BaseRefDeletedEvent) IsNode ¶
func (BaseRefDeletedEvent) IsNode()
func (BaseRefDeletedEvent) IsPullRequestTimelineItem ¶
func (BaseRefDeletedEvent) IsPullRequestTimelineItem()
func (BaseRefDeletedEvent) IsPullRequestTimelineItems ¶
func (BaseRefDeletedEvent) IsPullRequestTimelineItems()
type BaseRefForcePushedEvent ¶
type BaseRefForcePushedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the after commit SHA for the 'base_ref_force_pushed' event. AfterCommit *Commit `json:"afterCommit"` // Identifies the before commit SHA for the 'base_ref_force_pushed' event. BeforeCommit *Commit `json:"beforeCommit"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. Ref *Ref `json:"ref"` }
Represents a 'base_ref_force_pushed' event on a given pull request.
func (BaseRefForcePushedEvent) GetID ¶ added in v0.11.4
func (this BaseRefForcePushedEvent) GetID() string
ID of the object.
func (BaseRefForcePushedEvent) IsNode ¶
func (BaseRefForcePushedEvent) IsNode()
func (BaseRefForcePushedEvent) IsPullRequestTimelineItem ¶
func (BaseRefForcePushedEvent) IsPullRequestTimelineItem()
func (BaseRefForcePushedEvent) IsPullRequestTimelineItems ¶
func (BaseRefForcePushedEvent) IsPullRequestTimelineItems()
type Blame ¶
type Blame struct { // The list of ranges from a Git blame. Ranges []*BlameRange `json:"ranges"` }
Represents a Git blame.
type BlameRange ¶
type BlameRange struct { // 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"` // Identifies the line author Commit Commit `json:"commit"` // The ending line for the range EndingLine int `json:"endingLine"` // The starting line for the range StartingLine int `json:"startingLine"` }
Represents a range of information from a Git blame.
type Blob ¶
type Blob struct { // An abbreviated version of the Git object ID AbbreviatedOid string `json:"abbreviatedOid"` // Byte size of Blob object ByteSize int `json:"byteSize"` // The HTTP path for this Git object CommitResourcePath string `json:"commitResourcePath"` // The HTTP URL for this Git object CommitURL string `json:"commitUrl"` ID string `json:"id"` // Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. IsBinary *bool `json:"isBinary"` // Indicates whether the contents is truncated IsTruncated bool `json:"isTruncated"` // The Git object ID Oid string `json:"oid"` // The Repository the Git object belongs to Repository Repository `json:"repository"` // UTF8 text data or null if the Blob is binary Text *string `json:"text"` }
Represents a Git blob.
func (Blob) GetAbbreviatedOid ¶ added in v0.11.4
An abbreviated version of the Git object ID
func (Blob) GetCommitResourcePath ¶ added in v0.11.4
The HTTP path for this Git object
func (Blob) GetCommitURL ¶ added in v0.11.4
The HTTP URL for this Git object
func (Blob) GetRepository ¶ added in v0.11.4
func (this Blob) GetRepository() Repository
The Repository the Git object belongs to
func (Blob) IsGitObject ¶
func (Blob) IsGitObject()
type Bot ¶
type Bot struct { // A URL pointing to the GitHub App's public avatar. AvatarURL string `json:"avatarUrl"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The username of the actor. Login string `json:"login"` // The HTTP path for this bot ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this bot URL string `json:"url"` }
A special type of user which takes actions on behalf of GitHub Apps.
func (Bot) GetAvatarURL ¶ added in v0.11.4
A URL pointing to the actor's public avatar.
func (Bot) GetResourcePath ¶ added in v0.11.4
The HTTP path for this actor.
func (Bot) IsAssignee ¶
func (Bot) IsAssignee()
func (Bot) IsAuditEntryActor ¶
func (Bot) IsAuditEntryActor()
func (Bot) IsUniformResourceLocatable ¶
func (Bot) IsUniformResourceLocatable()
type BranchActorAllowanceActor ¶ added in v0.0.4
type BranchActorAllowanceActor interface {
IsBranchActorAllowanceActor()
}
Types which can be actors for `BranchActorAllowance` objects.
type BranchProtectionRule ¶
type BranchProtectionRule struct { // Can this branch be deleted. AllowsDeletions bool `json:"allowsDeletions"` // Are force pushes allowed on this branch. AllowsForcePushes bool `json:"allowsForcePushes"` // Is branch creation a protected operation. BlocksCreations bool `json:"blocksCreations"` // A list of conflicts matching branches protection rule and other branch protection rules BranchProtectionRuleConflicts BranchProtectionRuleConflictConnection `json:"branchProtectionRuleConflicts"` // A list of actors able to force push for this branch protection rule. BypassForcePushAllowances BypassForcePushAllowanceConnection `json:"bypassForcePushAllowances"` // A list of actors able to bypass PRs for this branch protection rule. BypassPullRequestAllowances BypassPullRequestAllowanceConnection `json:"bypassPullRequestAllowances"` // The actor who created this branch protection rule. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // Will new commits pushed to matching branches dismiss pull request review approvals. DismissesStaleReviews bool `json:"dismissesStaleReviews"` ID string `json:"id"` // Can admins overwrite branch protection. IsAdminEnforced bool `json:"isAdminEnforced"` // Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. LockAllowsFetchAndMerge bool `json:"lockAllowsFetchAndMerge"` // Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. LockBranch bool `json:"lockBranch"` // Repository refs that are protected by this rule MatchingRefs RefConnection `json:"matchingRefs"` // Identifies the protection rule pattern. Pattern string `json:"pattern"` // A list push allowances for this branch protection rule. PushAllowances PushAllowanceConnection `json:"pushAllowances"` // The repository associated with this branch protection rule. Repository *Repository `json:"repository"` // Whether the most recent push must be approved by someone other than the person who pushed it RequireLastPushApproval bool `json:"requireLastPushApproval"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts"` // List of required status checks that must pass for commits to be accepted to matching branches. RequiredStatusChecks []*RequiredStatusCheckDescription `json:"requiredStatusChecks"` // Are approving reviews required to update matching branches. RequiresApprovingReviews bool `json:"requiresApprovingReviews"` // Are reviews from code owners required to update matching branches. RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews"` // Are commits required to be signed. RequiresCommitSignatures bool `json:"requiresCommitSignatures"` // Are conversations required to be resolved before merging. RequiresConversationResolution bool `json:"requiresConversationResolution"` // Are merge commits prohibited from being pushed to this branch. RequiresLinearHistory bool `json:"requiresLinearHistory"` // Are status checks required to update matching branches. RequiresStatusChecks bool `json:"requiresStatusChecks"` // Are branches required to be up to date before merging. RequiresStrictStatusChecks bool `json:"requiresStrictStatusChecks"` // Is pushing to matching branches restricted. RestrictsPushes bool `json:"restrictsPushes"` // Is dismissal of pull request reviews restricted. RestrictsReviewDismissals bool `json:"restrictsReviewDismissals"` // A list review dismissal allowances for this branch protection rule. ReviewDismissalAllowances ReviewDismissalAllowanceConnection `json:"reviewDismissalAllowances"` }
A branch protection rule.
func (BranchProtectionRule) GetID ¶ added in v0.11.4
func (this BranchProtectionRule) GetID() string
ID of the object.
func (BranchProtectionRule) IsNode ¶
func (BranchProtectionRule) IsNode()
type BranchProtectionRuleConflict ¶
type BranchProtectionRuleConflict struct { // Identifies the branch protection rule. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` // Identifies the conflicting branch protection rule. ConflictingBranchProtectionRule *BranchProtectionRule `json:"conflictingBranchProtectionRule"` // Identifies the branch ref that has conflicting rules Ref *Ref `json:"ref"` }
A conflict between two branch protection rules.
type BranchProtectionRuleConflictConnection ¶
type BranchProtectionRuleConflictConnection struct { // A list of edges. Edges []*BranchProtectionRuleConflictEdge `json:"edges"` // A list of nodes. Nodes []*BranchProtectionRuleConflict `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BranchProtectionRuleConflict.
type BranchProtectionRuleConflictEdge ¶
type BranchProtectionRuleConflictEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *BranchProtectionRuleConflict `json:"node"` }
An edge in a connection.
type BranchProtectionRuleConnection ¶
type BranchProtectionRuleConnection struct { // A list of edges. Edges []*BranchProtectionRuleEdge `json:"edges"` // A list of nodes. Nodes []*BranchProtectionRule `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BranchProtectionRule.
type BranchProtectionRuleEdge ¶
type BranchProtectionRuleEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *BranchProtectionRule `json:"node"` }
An edge in a connection.
type BypassForcePushAllowance ¶ added in v0.0.4
type BypassForcePushAllowance struct { // The actor that can force push. Actor BranchActorAllowanceActor `json:"actor"` // Identifies the branch protection rule associated with the allowed user, team, or app. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` ID string `json:"id"` }
A user, team, or app who has the ability to bypass a force push requirement on a protected branch.
func (BypassForcePushAllowance) GetID ¶ added in v0.11.4
func (this BypassForcePushAllowance) GetID() string
ID of the object.
func (BypassForcePushAllowance) IsNode ¶ added in v0.0.4
func (BypassForcePushAllowance) IsNode()
type BypassForcePushAllowanceConnection ¶ added in v0.0.4
type BypassForcePushAllowanceConnection struct { // A list of edges. Edges []*BypassForcePushAllowanceEdge `json:"edges"` // A list of nodes. Nodes []*BypassForcePushAllowance `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BypassForcePushAllowance.
type BypassForcePushAllowanceEdge ¶ added in v0.0.4
type BypassForcePushAllowanceEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *BypassForcePushAllowance `json:"node"` }
An edge in a connection.
type BypassPullRequestAllowance ¶ added in v0.0.4
type BypassPullRequestAllowance struct { // The actor that can bypass. Actor BranchActorAllowanceActor `json:"actor"` // Identifies the branch protection rule associated with the allowed user, team, or app. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` ID string `json:"id"` }
A user, team, or app who has the ability to bypass a pull request requirement on a protected branch.
func (BypassPullRequestAllowance) GetID ¶ added in v0.11.4
func (this BypassPullRequestAllowance) GetID() string
ID of the object.
func (BypassPullRequestAllowance) IsNode ¶ added in v0.0.4
func (BypassPullRequestAllowance) IsNode()
type BypassPullRequestAllowanceConnection ¶ added in v0.0.4
type BypassPullRequestAllowanceConnection struct { // A list of edges. Edges []*BypassPullRequestAllowanceEdge `json:"edges"` // A list of nodes. Nodes []*BypassPullRequestAllowance `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BypassPullRequestAllowance.
type BypassPullRequestAllowanceEdge ¶ added in v0.0.4
type BypassPullRequestAllowanceEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *BypassPullRequestAllowance `json:"node"` }
An edge in a connection.
type CWEConnection ¶
type CWEConnection struct { // A list of edges. Edges []*CWEEdge `json:"edges"` // A list of nodes. Nodes []*Cwe `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CWE.
type CWEEdge ¶
type CWEEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Cwe `json:"node"` }
An edge in a connection.
type CancelEnterpriseAdminInvitationInput ¶
type CancelEnterpriseAdminInvitationInput struct { // The Node ID of the pending enterprise administrator invitation. InvitationID string `json:"invitationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CancelEnterpriseAdminInvitation
type CancelEnterpriseAdminInvitationPayload ¶
type CancelEnterpriseAdminInvitationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The invitation that was canceled. Invitation *EnterpriseAdministratorInvitation `json:"invitation"` // A message confirming the result of canceling an administrator invitation. Message *string `json:"message"` }
Autogenerated return type of CancelEnterpriseAdminInvitation
type CancelSponsorshipInput ¶ added in v0.0.4
type CancelSponsorshipInput struct { // The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. SponsorID *string `json:"sponsorId,omitempty"` // The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. SponsorLogin *string `json:"sponsorLogin,omitempty"` // The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. SponsorableID *string `json:"sponsorableId,omitempty"` // The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. SponsorableLogin *string `json:"sponsorableLogin,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CancelSponsorship
type CancelSponsorshipPayload ¶ added in v0.0.4
type CancelSponsorshipPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The tier that was being used at the time of cancellation. SponsorsTier *SponsorsTier `json:"sponsorsTier"` }
Autogenerated return type of CancelSponsorship
type ChangeUserStatusInput ¶
type ChangeUserStatusInput struct { // The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. Emoji *string `json:"emoji,omitempty"` // A short description of your current status. Message *string `json:"message,omitempty"` // The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. OrganizationID *string `json:"organizationId,omitempty"` // Whether this status should indicate you are not fully available on GitHub, e.g., you are away. LimitedAvailability *bool `json:"limitedAvailability,omitempty"` // If set, the user status will not be shown after this date. ExpiresAt *time.Time `json:"expiresAt,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ChangeUserStatus
type ChangeUserStatusPayload ¶
type ChangeUserStatusPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // Your updated status. Status *UserStatus `json:"status"` }
Autogenerated return type of ChangeUserStatus
type CheckAnnotation ¶
type CheckAnnotation struct { // The annotation's severity level. AnnotationLevel *CheckAnnotationLevel `json:"annotationLevel"` // The path to the file that this annotation was made on. BlobURL string `json:"blobUrl"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The position of this annotation. Location CheckAnnotationSpan `json:"location"` // The annotation's message. Message string `json:"message"` // The path that this annotation was made on. Path string `json:"path"` // Additional information about the annotation. RawDetails *string `json:"rawDetails"` // The annotation's title Title *string `json:"title"` }
A single check annotation.
type CheckAnnotationConnection ¶
type CheckAnnotationConnection struct { // A list of edges. Edges []*CheckAnnotationEdge `json:"edges"` // A list of nodes. Nodes []*CheckAnnotation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CheckAnnotation.
type CheckAnnotationData ¶
type CheckAnnotationData struct { // The path of the file to add an annotation to. Path string `json:"path"` // The location of the annotation Location CheckAnnotationRange `json:"location"` // Represents an annotation's information level AnnotationLevel CheckAnnotationLevel `json:"annotationLevel"` // A short description of the feedback for these lines of code. Message string `json:"message"` // The title that represents the annotation. Title *string `json:"title,omitempty"` // Details about this annotation. RawDetails *string `json:"rawDetails,omitempty"` }
Information from a check run analysis to specific lines of code.
type CheckAnnotationEdge ¶
type CheckAnnotationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CheckAnnotation `json:"node"` }
An edge in a connection.
type CheckAnnotationLevel ¶
type CheckAnnotationLevel string
Represents an annotation's information level.
const ( // An annotation indicating an inescapable error. CheckAnnotationLevelFailure CheckAnnotationLevel = "FAILURE" // An annotation indicating some information. CheckAnnotationLevelNotice CheckAnnotationLevel = "NOTICE" // An annotation indicating an ignorable error. CheckAnnotationLevelWarning CheckAnnotationLevel = "WARNING" )
func (CheckAnnotationLevel) IsValid ¶
func (e CheckAnnotationLevel) IsValid() bool
func (CheckAnnotationLevel) MarshalGQL ¶
func (e CheckAnnotationLevel) MarshalGQL(w io.Writer)
func (CheckAnnotationLevel) String ¶
func (e CheckAnnotationLevel) String() string
func (*CheckAnnotationLevel) UnmarshalGQL ¶
func (e *CheckAnnotationLevel) UnmarshalGQL(v interface{}) error
type CheckAnnotationPosition ¶
type CheckAnnotationPosition struct { // Column number (1 indexed). Column *int `json:"column"` // Line number (1 indexed). Line int `json:"line"` }
A character position in a check annotation.
type CheckAnnotationRange ¶
type CheckAnnotationRange struct { // The starting line of the range. StartLine int `json:"startLine"` // The starting column of the range. StartColumn *int `json:"startColumn,omitempty"` // The ending line of the range. EndLine int `json:"endLine"` // The ending column of the range. EndColumn *int `json:"endColumn,omitempty"` }
Information from a check run analysis to specific lines of code.
type CheckAnnotationSpan ¶
type CheckAnnotationSpan struct { // End position (inclusive). End CheckAnnotationPosition `json:"end"` // Start position (inclusive). Start CheckAnnotationPosition `json:"start"` }
An inclusive pair of positions for a check annotation.
type CheckConclusionState ¶
type CheckConclusionState string
The possible states for a check suite or run conclusion.
const ( // The check suite or run requires action. CheckConclusionStateActionRequired CheckConclusionState = "ACTION_REQUIRED" // The check suite or run has timed out. CheckConclusionStateTimedOut CheckConclusionState = "TIMED_OUT" // The check suite or run has been cancelled. CheckConclusionStateCancelled CheckConclusionState = "CANCELLED" // The check suite or run has failed. CheckConclusionStateFailure CheckConclusionState = "FAILURE" // The check suite or run has succeeded. CheckConclusionStateSuccess CheckConclusionState = "SUCCESS" // The check suite or run was neutral. CheckConclusionStateNeutral CheckConclusionState = "NEUTRAL" // The check suite or run was skipped. CheckConclusionStateSkipped CheckConclusionState = "SKIPPED" // The check suite or run has failed at startup. CheckConclusionStateStartupFailure CheckConclusionState = "STARTUP_FAILURE" // The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. CheckConclusionStateStale CheckConclusionState = "STALE" )
func (CheckConclusionState) IsValid ¶
func (e CheckConclusionState) IsValid() bool
func (CheckConclusionState) MarshalGQL ¶
func (e CheckConclusionState) MarshalGQL(w io.Writer)
func (CheckConclusionState) String ¶
func (e CheckConclusionState) String() string
func (*CheckConclusionState) UnmarshalGQL ¶
func (e *CheckConclusionState) UnmarshalGQL(v interface{}) error
type CheckRun ¶
type CheckRun struct { // The check run's annotations Annotations *CheckAnnotationConnection `json:"annotations"` // The check suite that this run is a part of. CheckSuite CheckSuite `json:"checkSuite"` // Identifies the date and time when the check run was completed. CompletedAt *time.Time `json:"completedAt"` // The conclusion of the check run. Conclusion *CheckConclusionState `json:"conclusion"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The corresponding deployment for this job, if any Deployment *Deployment `json:"deployment"` // The URL from which to find full details of the check run on the integrator's site. DetailsURL *string `json:"detailsUrl"` // A reference for the check run on the integrator's system. ExternalID *string `json:"externalId"` ID string `json:"id"` // Whether this is required to pass before merging for a specific pull request. IsRequired bool `json:"isRequired"` // The name of the check for this check run. Name string `json:"name"` // Information about a pending deployment, if any, in this check run PendingDeploymentRequest *DeploymentRequest `json:"pendingDeploymentRequest"` // The permalink to the check run summary. Permalink string `json:"permalink"` // The repository associated with this check run. Repository Repository `json:"repository"` // The HTTP path for this check run. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the check run was started. StartedAt *time.Time `json:"startedAt"` // The current status of the check run. Status CheckStatusState `json:"status"` // The check run's steps Steps *CheckStepConnection `json:"steps"` // A string representing the check run's summary Summary *string `json:"summary"` // A string representing the check run's text Text *string `json:"text"` // A string representing the check run Title *string `json:"title"` // The HTTP URL for this check run. URL string `json:"url"` }
A check run.
func (CheckRun) GetIsRequired ¶ added in v0.11.4
Whether this is required to pass before merging for a specific pull request.
func (CheckRun) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (CheckRun) IsRequirableByPullRequest ¶
func (CheckRun) IsRequirableByPullRequest()
func (CheckRun) IsStatusCheckRollupContext ¶
func (CheckRun) IsStatusCheckRollupContext()
func (CheckRun) IsUniformResourceLocatable ¶
func (CheckRun) IsUniformResourceLocatable()
type CheckRunAction ¶
type CheckRunAction struct { // The text to be displayed on a button in the web UI. Label string `json:"label"` // A short explanation of what this action would do. Description string `json:"description"` // A reference for the action on the integrator's system. Identifier string `json:"identifier"` }
Possible further actions the integrator can perform.
type CheckRunConnection ¶
type CheckRunConnection struct { // A list of edges. Edges []*CheckRunEdge `json:"edges"` // A list of nodes. Nodes []*CheckRun `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CheckRun.
type CheckRunEdge ¶
type CheckRunEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CheckRun `json:"node"` }
An edge in a connection.
type CheckRunFilter ¶
type CheckRunFilter struct { // Filters the check runs by this type. CheckType *CheckRunType `json:"checkType,omitempty"` // Filters the check runs created by this application ID. AppID *int `json:"appId,omitempty"` // Filters the check runs by this name. CheckName *string `json:"checkName,omitempty"` // Filters the check runs by this status. Superceded by statuses. Status *CheckStatusState `json:"status,omitempty"` // Filters the check runs by this status. Overrides status. Statuses []CheckStatusState `json:"statuses,omitempty"` // Filters the check runs by these conclusions. Conclusions []CheckConclusionState `json:"conclusions,omitempty"` }
The filters that are available when fetching check runs.
type CheckRunOutput ¶
type CheckRunOutput struct { // A title to provide for this check run. Title string `json:"title"` // The summary of the check run (supports Commonmark). Summary string `json:"summary"` // The details of the check run (supports Commonmark). Text *string `json:"text,omitempty"` // The annotations that are made as part of the check run. Annotations []*CheckAnnotationData `json:"annotations,omitempty"` // Images attached to the check run output displayed in the GitHub pull request UI. Images []*CheckRunOutputImage `json:"images,omitempty"` }
Descriptive details about the check run.
type CheckRunOutputImage ¶
type CheckRunOutputImage struct { // The alternative text for the image. Alt string `json:"alt"` // The full URL of the image. ImageURL string `json:"imageUrl"` // A short image description. Caption *string `json:"caption,omitempty"` }
Images attached to the check run output displayed in the GitHub pull request UI.
type CheckRunState ¶ added in v0.11.4
type CheckRunState string
The possible states of a check run in a status rollup.
const ( // The check run requires action. CheckRunStateActionRequired CheckRunState = "ACTION_REQUIRED" // The check run has been cancelled. CheckRunStateCancelled CheckRunState = "CANCELLED" // The check run has been completed. CheckRunStateCompleted CheckRunState = "COMPLETED" // The check run has failed. CheckRunStateFailure CheckRunState = "FAILURE" // The check run is in progress. CheckRunStateInProgress CheckRunState = "IN_PROGRESS" // The check run was neutral. CheckRunStateNeutral CheckRunState = "NEUTRAL" // The check run is in pending state. CheckRunStatePending CheckRunState = "PENDING" // The check run has been queued. CheckRunStateQueued CheckRunState = "QUEUED" // The check run was skipped. CheckRunStateSkipped CheckRunState = "SKIPPED" // The check run was marked stale by GitHub. Only GitHub can use this conclusion. CheckRunStateStale CheckRunState = "STALE" // The check run has failed at startup. CheckRunStateStartupFailure CheckRunState = "STARTUP_FAILURE" // The check run has succeeded. CheckRunStateSuccess CheckRunState = "SUCCESS" // The check run has timed out. CheckRunStateTimedOut CheckRunState = "TIMED_OUT" // The check run is in waiting state. CheckRunStateWaiting CheckRunState = "WAITING" )
func (CheckRunState) IsValid ¶ added in v0.11.4
func (e CheckRunState) IsValid() bool
func (CheckRunState) MarshalGQL ¶ added in v0.11.4
func (e CheckRunState) MarshalGQL(w io.Writer)
func (CheckRunState) String ¶ added in v0.11.4
func (e CheckRunState) String() string
func (*CheckRunState) UnmarshalGQL ¶ added in v0.11.4
func (e *CheckRunState) UnmarshalGQL(v interface{}) error
type CheckRunStateCount ¶ added in v0.11.4
type CheckRunStateCount struct { // The number of check runs with this state. Count int `json:"count"` // The state of a check run. State CheckRunState `json:"state"` }
Represents a count of the state of a check run.
type CheckRunType ¶
type CheckRunType string
The possible types of check runs.
const ( // Every check run available. CheckRunTypeAll CheckRunType = "ALL" // The latest check run. CheckRunTypeLatest CheckRunType = "LATEST" )
func (CheckRunType) IsValid ¶
func (e CheckRunType) IsValid() bool
func (CheckRunType) MarshalGQL ¶
func (e CheckRunType) MarshalGQL(w io.Writer)
func (CheckRunType) String ¶
func (e CheckRunType) String() string
func (*CheckRunType) UnmarshalGQL ¶
func (e *CheckRunType) UnmarshalGQL(v interface{}) error
type CheckStatusState ¶
type CheckStatusState string
The possible states for a check suite or run status.
const ( // The check suite or run has been queued. CheckStatusStateQueued CheckStatusState = "QUEUED" // The check suite or run is in progress. CheckStatusStateInProgress CheckStatusState = "IN_PROGRESS" // The check suite or run has been completed. CheckStatusStateCompleted CheckStatusState = "COMPLETED" // The check suite or run is in waiting state. CheckStatusStateWaiting CheckStatusState = "WAITING" // The check suite or run is in pending state. CheckStatusStatePending CheckStatusState = "PENDING" // The check suite or run has been requested. CheckStatusStateRequested CheckStatusState = "REQUESTED" )
func (CheckStatusState) IsValid ¶
func (e CheckStatusState) IsValid() bool
func (CheckStatusState) MarshalGQL ¶
func (e CheckStatusState) MarshalGQL(w io.Writer)
func (CheckStatusState) String ¶
func (e CheckStatusState) String() string
func (*CheckStatusState) UnmarshalGQL ¶
func (e *CheckStatusState) UnmarshalGQL(v interface{}) error
type CheckStep ¶ added in v0.0.3
type CheckStep struct { // Identifies the date and time when the check step was completed. CompletedAt *time.Time `json:"completedAt"` // The conclusion of the check step. Conclusion *CheckConclusionState `json:"conclusion"` // A reference for the check step on the integrator's system. ExternalID *string `json:"externalId"` // The step's name. Name string `json:"name"` // The index of the step in the list of steps of the parent check run. Number int `json:"number"` // Number of seconds to completion. SecondsToCompletion *int `json:"secondsToCompletion"` // Identifies the date and time when the check step was started. StartedAt *time.Time `json:"startedAt"` // The current status of the check step. Status CheckStatusState `json:"status"` }
A single check step.
type CheckStepConnection ¶ added in v0.0.3
type CheckStepConnection struct { // A list of edges. Edges []*CheckStepEdge `json:"edges"` // A list of nodes. Nodes []*CheckStep `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CheckStep.
type CheckStepEdge ¶ added in v0.0.3
type CheckStepEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CheckStep `json:"node"` }
An edge in a connection.
type CheckSuite ¶
type CheckSuite struct { // The GitHub App which created this check suite. App *App `json:"app"` // The name of the branch for this check suite. Branch *Ref `json:"branch"` // The check runs associated with a check suite. CheckRuns *CheckRunConnection `json:"checkRuns"` // The commit for this check suite Commit Commit `json:"commit"` // The conclusion of this check suite. Conclusion *CheckConclusionState `json:"conclusion"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The user who triggered the check suite. Creator *User `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // A list of open pull requests matching the check suite. MatchingPullRequests *PullRequestConnection `json:"matchingPullRequests"` // The push that triggered this check suite. Push *Push `json:"push"` // The repository associated with this check suite. Repository Repository `json:"repository"` // The HTTP path for this check suite ResourcePath string `json:"resourcePath"` // The status of this check suite. Status CheckStatusState `json:"status"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this check suite URL string `json:"url"` // The workflow run associated with this check suite. WorkflowRun *WorkflowRun `json:"workflowRun"` }
A check suite.
func (CheckSuite) IsNode ¶
func (CheckSuite) IsNode()
type CheckSuiteAutoTriggerPreference ¶
type CheckSuiteAutoTriggerPreference struct { // The node ID of the application that owns the check suite. AppID string `json:"appId"` // Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. Setting bool `json:"setting"` }
The auto-trigger preferences that are available for check suites.
type CheckSuiteConnection ¶
type CheckSuiteConnection struct { // A list of edges. Edges []*CheckSuiteEdge `json:"edges"` // A list of nodes. Nodes []*CheckSuite `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CheckSuite.
type CheckSuiteEdge ¶
type CheckSuiteEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CheckSuite `json:"node"` }
An edge in a connection.
type CheckSuiteFilter ¶
type CheckSuiteFilter struct { // Filters the check suites created by this application ID. AppID *int `json:"appId,omitempty"` // Filters the check suites by this name. CheckName *string `json:"checkName,omitempty"` }
The filters that are available when fetching check suites.
type Claimable ¶ added in v0.11.4
type Claimable interface {
IsClaimable()
}
An object which can have its data claimed or claim data from another.
type ClearLabelsFromLabelableInput ¶
type ClearLabelsFromLabelableInput struct { // The id of the labelable object to clear the labels from. LabelableID string `json:"labelableId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ClearLabelsFromLabelable
type ClearLabelsFromLabelablePayload ¶
type ClearLabelsFromLabelablePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item that was unlabeled. Labelable Labelable `json:"labelable"` }
Autogenerated return type of ClearLabelsFromLabelable
type ClearProjectV2ItemFieldValueInput ¶ added in v0.11.4
type ClearProjectV2ItemFieldValueInput struct { // The ID of the Project. ProjectID string `json:"projectId"` // The ID of the item to be cleared. ItemID string `json:"itemId"` // The ID of the field to be cleared. FieldID string `json:"fieldId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ClearProjectV2ItemFieldValue
type ClearProjectV2ItemFieldValuePayload ¶ added in v0.11.4
type ClearProjectV2ItemFieldValuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated item. ProjectV2Item *ProjectV2Item `json:"projectV2Item"` }
Autogenerated return type of ClearProjectV2ItemFieldValue
type Client ¶
func (*Client) AddStar ¶ added in v0.0.3
func (c *Client) AddStar(ctx context.Context, input AddStarInput, interceptors ...clientv2.RequestInterceptor) (*AddStar, error)
type CloneProjectInput ¶
type CloneProjectInput struct { // The owner ID to create the project under. TargetOwnerID string `json:"targetOwnerId"` // The source project to clone. SourceID string `json:"sourceId"` // Whether or not to clone the source project's workflows. IncludeWorkflows bool `json:"includeWorkflows"` // The name of the project. Name string `json:"name"` // The description of the project. Body *string `json:"body,omitempty"` // The visibility of the project, defaults to false (private). Public *bool `json:"public,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CloneProject
type CloneProjectPayload ¶
type CloneProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The id of the JobStatus for populating cloned fields. JobStatusID *string `json:"jobStatusId"` // The new cloned project. Project *Project `json:"project"` }
Autogenerated return type of CloneProject
type CloneTemplateRepositoryInput ¶
type CloneTemplateRepositoryInput struct { // The Node ID of the template repository. RepositoryID string `json:"repositoryId"` // The name of the new repository. Name string `json:"name"` // The ID of the owner for the new repository. OwnerID string `json:"ownerId"` // A short description of the new repository. Description *string `json:"description,omitempty"` // Indicates the repository's visibility level. Visibility RepositoryVisibility `json:"visibility"` // Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. IncludeAllBranches *bool `json:"includeAllBranches,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CloneTemplateRepository
type CloneTemplateRepositoryPayload ¶
type CloneTemplateRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new repository. Repository *Repository `json:"repository"` }
Autogenerated return type of CloneTemplateRepository
type Closable ¶
type Closable interface { IsClosable() // Indicates if the object is closed (definition of closed may depend on type) GetClosed() bool // Identifies the date and time when the object was closed. GetClosedAt() *time.Time }
An object that can be closed
type CloseIssueInput ¶
type CloseIssueInput struct { // ID of the issue to be closed. IssueID string `json:"issueId"` // The reason the issue is to be closed. StateReason *IssueClosedStateReason `json:"stateReason,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CloseIssue
type CloseIssuePayload ¶
type CloseIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue that was closed. Issue *Issue `json:"issue"` }
Autogenerated return type of CloseIssue
type ClosePullRequestInput ¶
type ClosePullRequestInput struct { // ID of the pull request to be closed. PullRequestID string `json:"pullRequestId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ClosePullRequest
type ClosePullRequestPayload ¶
type ClosePullRequestPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that was closed. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of ClosePullRequest
type ClosedEvent ¶
type ClosedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Object that was closed. Closable Closable `json:"closable"` // Object which triggered the creation of this event. Closer Closer `json:"closer"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The HTTP path for this closed event. ResourcePath string `json:"resourcePath"` // The reason the issue state was changed to closed. StateReason *IssueStateReason `json:"stateReason"` // The HTTP URL for this closed event. URL string `json:"url"` }
Represents a 'closed' event on any `Closable`.
func (ClosedEvent) GetID ¶ added in v0.11.4
func (this ClosedEvent) GetID() string
ID of the object.
func (ClosedEvent) GetResourcePath ¶ added in v0.11.4
func (this ClosedEvent) GetResourcePath() string
The HTML path to this resource.
func (ClosedEvent) GetURL ¶ added in v0.11.4
func (this ClosedEvent) GetURL() string
The URL to this resource.
func (ClosedEvent) IsIssueTimelineItem ¶
func (ClosedEvent) IsIssueTimelineItem()
func (ClosedEvent) IsIssueTimelineItems ¶
func (ClosedEvent) IsIssueTimelineItems()
func (ClosedEvent) IsNode ¶
func (ClosedEvent) IsNode()
func (ClosedEvent) IsPullRequestTimelineItem ¶
func (ClosedEvent) IsPullRequestTimelineItem()
func (ClosedEvent) IsPullRequestTimelineItems ¶
func (ClosedEvent) IsPullRequestTimelineItems()
func (ClosedEvent) IsUniformResourceLocatable ¶
func (ClosedEvent) IsUniformResourceLocatable()
type CodeOfConduct ¶
type CodeOfConduct struct { // The body of the Code of Conduct Body *string `json:"body"` ID string `json:"id"` // The key for the Code of Conduct Key string `json:"key"` // The formal name of the Code of Conduct Name string `json:"name"` // The HTTP path for this Code of Conduct ResourcePath *string `json:"resourcePath"` // The HTTP URL for this Code of Conduct URL *string `json:"url"` }
The Code of Conduct for a repository
func (CodeOfConduct) GetID ¶ added in v0.11.4
func (this CodeOfConduct) GetID() string
ID of the object.
func (CodeOfConduct) IsNode ¶
func (CodeOfConduct) IsNode()
type CollaboratorAffiliation ¶
type CollaboratorAffiliation string
Collaborators affiliation level with a subject.
const ( // All outside collaborators of an organization-owned subject. CollaboratorAffiliationOutside CollaboratorAffiliation = "OUTSIDE" // All collaborators with permissions to an organization-owned subject, regardless of organization membership status. CollaboratorAffiliationDirect CollaboratorAffiliation = "DIRECT" // All collaborators the authenticated user can see. CollaboratorAffiliationAll CollaboratorAffiliation = "ALL" )
func (CollaboratorAffiliation) IsValid ¶
func (e CollaboratorAffiliation) IsValid() bool
func (CollaboratorAffiliation) MarshalGQL ¶
func (e CollaboratorAffiliation) MarshalGQL(w io.Writer)
func (CollaboratorAffiliation) String ¶
func (e CollaboratorAffiliation) String() string
func (*CollaboratorAffiliation) UnmarshalGQL ¶
func (e *CollaboratorAffiliation) UnmarshalGQL(v interface{}) error
type Comment ¶
type Comment interface { IsComment() // The actor who authored the comment. GetAuthor() Actor // Author's association with the subject of the comment. GetAuthorAssociation() CommentAuthorAssociation // The body as Markdown. GetBody() string // The body rendered to HTML. GetBodyHTML() string // The body rendered to text. GetBodyText() string // Identifies the date and time when the object was created. GetCreatedAt() time.Time // Check if this comment was created via an email reply. GetCreatedViaEmail() bool // The actor who edited the comment. GetEditor() Actor GetID() string // Check if this comment was edited and includes an edit with the creation data GetIncludesCreatedEdit() bool // The moment the editor made the last edit GetLastEditedAt() *time.Time // Identifies when the comment was published at. GetPublishedAt() *time.Time // Identifies the date and time when the object was last updated. GetUpdatedAt() time.Time // A list of edits to this content. GetUserContentEdits() *UserContentEditConnection // Did the viewer author this comment. GetViewerDidAuthor() bool }
Represents a comment.
type CommentAuthorAssociation ¶
type CommentAuthorAssociation string
A comment author association with repository.
const ( // Author is a member of the organization that owns the repository. CommentAuthorAssociationMember CommentAuthorAssociation = "MEMBER" // Author is the owner of the repository. CommentAuthorAssociationOwner CommentAuthorAssociation = "OWNER" // Author is a placeholder for an unclaimed user. CommentAuthorAssociationMannequin CommentAuthorAssociation = "MANNEQUIN" // Author has been invited to collaborate on the repository. CommentAuthorAssociationCollaborator CommentAuthorAssociation = "COLLABORATOR" // Author has previously committed to the repository. CommentAuthorAssociationContributor CommentAuthorAssociation = "CONTRIBUTOR" // Author has not previously committed to the repository. CommentAuthorAssociationFirstTimeContributor CommentAuthorAssociation = "FIRST_TIME_CONTRIBUTOR" // Author has not previously committed to GitHub. CommentAuthorAssociationFirstTimer CommentAuthorAssociation = "FIRST_TIMER" // Author has no association with the repository. CommentAuthorAssociationNone CommentAuthorAssociation = "NONE" )
func (CommentAuthorAssociation) IsValid ¶
func (e CommentAuthorAssociation) IsValid() bool
func (CommentAuthorAssociation) MarshalGQL ¶
func (e CommentAuthorAssociation) MarshalGQL(w io.Writer)
func (CommentAuthorAssociation) String ¶
func (e CommentAuthorAssociation) String() string
func (*CommentAuthorAssociation) UnmarshalGQL ¶
func (e *CommentAuthorAssociation) UnmarshalGQL(v interface{}) error
type CommentCannotUpdateReason ¶
type CommentCannotUpdateReason string
The possible errors that will prevent a user from updating a comment.
const ( // Unable to create comment because repository is archived. CommentCannotUpdateReasonArchived CommentCannotUpdateReason = "ARCHIVED" // You must be the author or have write access to this repository to update this comment. CommentCannotUpdateReasonInsufficientAccess CommentCannotUpdateReason = "INSUFFICIENT_ACCESS" // Unable to create comment because issue is locked. CommentCannotUpdateReasonLocked CommentCannotUpdateReason = "LOCKED" // You must be logged in to update this comment. CommentCannotUpdateReasonLoginRequired CommentCannotUpdateReason = "LOGIN_REQUIRED" // Repository is under maintenance. CommentCannotUpdateReasonMaintenance CommentCannotUpdateReason = "MAINTENANCE" // At least one email address must be verified to update this comment. CommentCannotUpdateReasonVerifiedEmailRequired CommentCannotUpdateReason = "VERIFIED_EMAIL_REQUIRED" // You cannot update this comment CommentCannotUpdateReasonDenied CommentCannotUpdateReason = "DENIED" )
func (CommentCannotUpdateReason) IsValid ¶
func (e CommentCannotUpdateReason) IsValid() bool
func (CommentCannotUpdateReason) MarshalGQL ¶
func (e CommentCannotUpdateReason) MarshalGQL(w io.Writer)
func (CommentCannotUpdateReason) String ¶
func (e CommentCannotUpdateReason) String() string
func (*CommentCannotUpdateReason) UnmarshalGQL ¶
func (e *CommentCannotUpdateReason) UnmarshalGQL(v interface{}) error
type CommentDeletedEvent ¶
type CommentDeletedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The user who authored the deleted comment. DeletedCommentAuthor Actor `json:"deletedCommentAuthor"` ID string `json:"id"` }
Represents a 'comment_deleted' event on a given issue or pull request.
func (CommentDeletedEvent) GetID ¶ added in v0.11.4
func (this CommentDeletedEvent) GetID() string
ID of the object.
func (CommentDeletedEvent) IsIssueTimelineItems ¶
func (CommentDeletedEvent) IsIssueTimelineItems()
func (CommentDeletedEvent) IsNode ¶
func (CommentDeletedEvent) IsNode()
func (CommentDeletedEvent) IsPullRequestTimelineItems ¶
func (CommentDeletedEvent) IsPullRequestTimelineItems()
type Commit ¶
type Commit struct { // An abbreviated version of the Git object ID AbbreviatedOid string `json:"abbreviatedOid"` // The number of additions in this commit. Additions int `json:"additions"` // 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 AssociatedPullRequests *PullRequestConnection `json:"associatedPullRequests"` // Authorship details of the commit. Author *GitActor `json:"author"` // Check if the committer and the author match. AuthoredByCommitter bool `json:"authoredByCommitter"` // The datetime when this commit was authored. AuthoredDate time.Time `json:"authoredDate"` // 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. // Authors GitActorConnection `json:"authors"` // Fetches `git blame` information. Blame Blame `json:"blame"` // We recommend using the `changedFielsIfAvailable` field instead of `changedFiles`, as `changedFiles` will cause your request to return an error if GitHub is unable to calculate the number of changed files. ChangedFiles int `json:"changedFiles"` // The number of changed files in this commit. If GitHub is unable to calculate the number of changed files (for example due to a timeout), this will return `null`. We recommend using this field instead of `changedFiles`. ChangedFilesIfAvailable *int `json:"changedFilesIfAvailable"` // The check suites associated with a commit. CheckSuites *CheckSuiteConnection `json:"checkSuites"` // Comments made on the commit. Comments CommitCommentConnection `json:"comments"` // The HTTP path for this Git object CommitResourcePath string `json:"commitResourcePath"` // The HTTP URL for this Git object CommitURL string `json:"commitUrl"` // The datetime when this commit was committed. CommittedDate time.Time `json:"committedDate"` // Check if committed via GitHub web UI. CommittedViaWeb bool `json:"committedViaWeb"` // Committer details of the commit. Committer *GitActor `json:"committer"` // The number of deletions in this commit. Deletions int `json:"deletions"` // The deployments associated with a commit. Deployments *DeploymentConnection `json:"deployments"` // The tree entry representing the file located at the given path. File *TreeEntry `json:"file"` // The linear commit history starting from (and including) this commit, in the same order as `git log`. History CommitHistoryConnection `json:"history"` ID string `json:"id"` // The Git commit message Message string `json:"message"` // The Git commit message body MessageBody string `json:"messageBody"` // The commit message body rendered to HTML. MessageBodyHTML string `json:"messageBodyHTML"` // The Git commit message headline MessageHeadline string `json:"messageHeadline"` // The commit message headline rendered to HTML. MessageHeadlineHTML string `json:"messageHeadlineHTML"` // The Git object ID Oid string `json:"oid"` // The organization this commit was made on behalf of. OnBehalfOf *Organization `json:"onBehalfOf"` // The parents of a commit. Parents CommitConnection `json:"parents"` // The datetime when this commit was pushed. PushedDate *time.Time `json:"pushedDate"` // The Repository this commit belongs to Repository Repository `json:"repository"` // The HTTP path for this commit ResourcePath string `json:"resourcePath"` // Commit signing information, if present. Signature GitSignature `json:"signature"` // Status information for this commit Status *Status `json:"status"` // Check and Status rollup information for this commit. StatusCheckRollup *StatusCheckRollup `json:"statusCheckRollup"` // Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. Submodules SubmoduleConnection `json:"submodules"` // 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 string `json:"tarballUrl"` // Commit's root Tree Tree Tree `json:"tree"` // The HTTP path for the tree of this commit TreeResourcePath string `json:"treeResourcePath"` // The HTTP URL for the tree of this commit TreeURL string `json:"treeUrl"` // The HTTP URL for this commit URL string `json:"url"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` // 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 string `json:"zipballUrl"` }
Represents a Git commit.
func (Commit) GetAbbreviatedOid ¶ added in v0.11.4
An abbreviated version of the Git object ID
func (Commit) GetCommitResourcePath ¶ added in v0.11.4
The HTTP path for this Git object
func (Commit) GetCommitURL ¶ added in v0.11.4
The HTTP URL for this Git object
func (Commit) GetRepository ¶ added in v0.11.4
func (this Commit) GetRepository() Repository
The Repository the Git object belongs to
func (Commit) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (Commit) GetViewerCanSubscribe ¶ added in v0.11.4
Check if the viewer is able to change their subscription status for the repository.
func (Commit) GetViewerSubscription ¶ added in v0.11.4
func (this Commit) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (Commit) IsGitObject ¶
func (Commit) IsGitObject()
func (Commit) IsIssueTimelineItem ¶
func (Commit) IsIssueTimelineItem()
func (Commit) IsPullRequestTimelineItem ¶
func (Commit) IsPullRequestTimelineItem()
func (Commit) IsSubscribable ¶
func (Commit) IsSubscribable()
func (Commit) IsUniformResourceLocatable ¶
func (Commit) IsUniformResourceLocatable()
type CommitAuthor ¶
type CommitAuthor struct { // 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. ID *string `json:"id,omitempty"` // Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. Emails []string `json:"emails,omitempty"` }
Specifies an author for filtering Git commits.
type CommitComment ¶
type CommitComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // Identifies the comment body. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // Identifies the commit associated with the comment, if the commit exists. Commit *Commit `json:"commit"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Returns whether or not a comment has been minimized. IsMinimized bool `json:"isMinimized"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. MinimizedReason *string `json:"minimizedReason"` // Identifies the file path associated with the comment. Path *string `json:"path"` // Identifies the line position associated with the comment. Position *int `json:"position"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path permalink for this commit comment. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL permalink for this commit comment. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Check if the current viewer can minimize this object. ViewerCanMinimize bool `json:"viewerCanMinimize"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on a given Commit.
func (CommitComment) GetAuthor ¶ added in v0.11.4
func (this CommitComment) GetAuthor() Actor
The actor who authored the comment.
func (CommitComment) GetAuthorAssociation ¶ added in v0.11.4
func (this CommitComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (CommitComment) GetBody ¶ added in v0.11.4
func (this CommitComment) GetBody() string
The body as Markdown.
func (CommitComment) GetBodyHTML ¶ added in v0.11.4
func (this CommitComment) GetBodyHTML() string
The body rendered to HTML.
func (CommitComment) GetBodyText ¶ added in v0.11.4
func (this CommitComment) GetBodyText() string
The body rendered to text.
func (CommitComment) GetCreatedAt ¶ added in v0.11.4
func (this CommitComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (CommitComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this CommitComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (CommitComment) GetDatabaseID ¶ added in v0.11.4
func (this CommitComment) GetDatabaseID() *int
Identifies the primary key from the database.
func (CommitComment) GetEditor ¶ added in v0.11.4
func (this CommitComment) GetEditor() Actor
The actor who edited the comment.
func (CommitComment) GetID ¶ added in v0.11.4
func (this CommitComment) GetID() string
func (CommitComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this CommitComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (CommitComment) GetIsMinimized ¶ added in v0.11.4
func (this CommitComment) GetIsMinimized() bool
Returns whether or not a comment has been minimized.
func (CommitComment) GetLastEditedAt ¶ added in v0.11.4
func (this CommitComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (CommitComment) GetMinimizedReason ¶ added in v0.11.4
func (this CommitComment) GetMinimizedReason() *string
Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
func (CommitComment) GetPublishedAt ¶ added in v0.11.4
func (this CommitComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (CommitComment) GetReactionGroups ¶ added in v0.11.4
func (this CommitComment) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (CommitComment) GetReactions ¶ added in v0.11.4
func (this CommitComment) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (CommitComment) GetRepository ¶ added in v0.11.4
func (this CommitComment) GetRepository() Repository
The repository associated with this node.
func (CommitComment) GetUpdatedAt ¶ added in v0.11.4
func (this CommitComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (CommitComment) GetUserContentEdits ¶ added in v0.11.4
func (this CommitComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (CommitComment) GetViewerCanDelete ¶ added in v0.11.4
func (this CommitComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (CommitComment) GetViewerCanMinimize ¶ added in v0.11.4
func (this CommitComment) GetViewerCanMinimize() bool
Check if the current viewer can minimize this object.
func (CommitComment) GetViewerCanReact ¶ added in v0.11.4
func (this CommitComment) GetViewerCanReact() bool
Can user react to this subject
func (CommitComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this CommitComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (CommitComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this CommitComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (CommitComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this CommitComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (CommitComment) IsComment ¶
func (CommitComment) IsComment()
func (CommitComment) IsDeletable ¶
func (CommitComment) IsDeletable()
func (CommitComment) IsMinimizable ¶
func (CommitComment) IsMinimizable()
func (CommitComment) IsNode ¶
func (CommitComment) IsNode()
func (CommitComment) IsReactable ¶
func (CommitComment) IsReactable()
func (CommitComment) IsRepositoryNode ¶
func (CommitComment) IsRepositoryNode()
func (CommitComment) IsUpdatable ¶
func (CommitComment) IsUpdatable()
func (CommitComment) IsUpdatableComment ¶
func (CommitComment) IsUpdatableComment()
type CommitCommentConnection ¶
type CommitCommentConnection struct { // A list of edges. Edges []*CommitCommentEdge `json:"edges"` // A list of nodes. Nodes []*CommitComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CommitComment.
type CommitCommentEdge ¶
type CommitCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CommitComment `json:"node"` }
An edge in a connection.
type CommitCommentThread ¶
type CommitCommentThread struct { // The comments that exist in this thread. Comments CommitCommentConnection `json:"comments"` // The commit the comments were made on. Commit *Commit `json:"commit"` ID string `json:"id"` // The file the comments were made on. Path *string `json:"path"` // The position in the diff for the commit that the comment was made on. Position *int `json:"position"` // The repository associated with this node. Repository Repository `json:"repository"` }
A thread of comments on a commit.
func (CommitCommentThread) GetID ¶ added in v0.11.4
func (this CommitCommentThread) GetID() string
ID of the object.
func (CommitCommentThread) GetRepository ¶ added in v0.11.4
func (this CommitCommentThread) GetRepository() Repository
The repository associated with this node.
func (CommitCommentThread) IsNode ¶
func (CommitCommentThread) IsNode()
func (CommitCommentThread) IsPullRequestTimelineItem ¶
func (CommitCommentThread) IsPullRequestTimelineItem()
func (CommitCommentThread) IsRepositoryNode ¶
func (CommitCommentThread) IsRepositoryNode()
type CommitConnection ¶
type CommitConnection struct { // A list of edges. Edges []*CommitEdge `json:"edges"` // A list of nodes. Nodes []*Commit `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Commit.
type CommitContributionOrder ¶
type CommitContributionOrder struct { // The field by which to order commit contributions. Field CommitContributionOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for commit contribution connections.
type CommitContributionOrderField ¶
type CommitContributionOrderField string
Properties by which commit contribution connections can be ordered.
const ( // Order commit contributions by when they were made. CommitContributionOrderFieldOccurredAt CommitContributionOrderField = "OCCURRED_AT" // Order commit contributions by how many commits they represent. CommitContributionOrderFieldCommitCount CommitContributionOrderField = "COMMIT_COUNT" )
func (CommitContributionOrderField) IsValid ¶
func (e CommitContributionOrderField) IsValid() bool
func (CommitContributionOrderField) MarshalGQL ¶
func (e CommitContributionOrderField) MarshalGQL(w io.Writer)
func (CommitContributionOrderField) String ¶
func (e CommitContributionOrderField) String() string
func (*CommitContributionOrderField) UnmarshalGQL ¶
func (e *CommitContributionOrderField) UnmarshalGQL(v interface{}) error
type CommitContributionsByRepository ¶
type CommitContributionsByRepository struct { // The commit contributions, each representing a day. Contributions CreatedCommitContributionConnection `json:"contributions"` // The repository in which the commits were made. Repository Repository `json:"repository"` // The HTTP path for the user's commits to the repository in this time range. ResourcePath string `json:"resourcePath"` // The HTTP URL for the user's commits to the repository in this time range. URL string `json:"url"` }
This aggregates commits made by a user within one repository.
type CommitEdge ¶
type CommitEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Commit `json:"node"` }
An edge in a connection.
type CommitHistoryConnection ¶
type CommitHistoryConnection struct { // A list of edges. Edges []*CommitEdge `json:"edges"` // A list of nodes. Nodes []*Commit `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Commit.
type CommitMessage ¶ added in v0.0.4
type CommitMessage struct { // The headline of the message. Headline string `json:"headline"` // The body of the message. Body *string `json:"body,omitempty"` }
A message to include with a new commit
type CommittableBranch ¶ added in v0.0.4
type CommittableBranch struct { // The Node ID of the Ref to be updated. ID *string `json:"id,omitempty"` // The nameWithOwner of the repository to commit to. RepositoryNameWithOwner *string `json:"repositoryNameWithOwner,omitempty"` // The unqualified name of the branch to append the commit to. BranchName *string `json:"branchName,omitempty"` }
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 `repositoryNameWithOwner` and `branchName`.
### Examples
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using `repositoryNameWithOwner` and `branchName`:
{ "repositoryNameWithOwner": "github/graphql-client", "branchName": "main" }
type Comparison ¶ added in v0.11.4
type Comparison struct { // The number of commits ahead of the base branch. AheadBy int `json:"aheadBy"` // The base revision of this comparison. BaseTarget GitObject `json:"baseTarget"` // The number of commits behind the base branch. BehindBy int `json:"behindBy"` // The commits which compose this comparison. Commits ComparisonCommitConnection `json:"commits"` // The head revision of this comparison. HeadTarget GitObject `json:"headTarget"` ID string `json:"id"` // The status of this comparison. Status ComparisonStatus `json:"status"` }
Represents a comparison between two commit revisions.
func (Comparison) IsNode ¶ added in v0.11.4
func (Comparison) IsNode()
type ComparisonCommitConnection ¶ added in v0.11.4
type ComparisonCommitConnection struct { // The total count of authors and co-authors across all commits. AuthorCount int `json:"authorCount"` // A list of edges. Edges []*CommitEdge `json:"edges"` // A list of nodes. Nodes []*Commit `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Commit.
type ComparisonStatus ¶ added in v0.11.4
type ComparisonStatus string
The status of a git comparison between two refs.
const ( // The head ref is both ahead and behind of the base ref, indicating git history has diverged. ComparisonStatusDiverged ComparisonStatus = "DIVERGED" // The head ref is ahead of the base ref. ComparisonStatusAhead ComparisonStatus = "AHEAD" // The head ref is behind the base ref. ComparisonStatusBehind ComparisonStatus = "BEHIND" // The head ref and base ref are identical. ComparisonStatusIDEntical ComparisonStatus = "IDENTICAL" )
func (ComparisonStatus) IsValid ¶ added in v0.11.4
func (e ComparisonStatus) IsValid() bool
func (ComparisonStatus) MarshalGQL ¶ added in v0.11.4
func (e ComparisonStatus) MarshalGQL(w io.Writer)
func (ComparisonStatus) String ¶ added in v0.11.4
func (e ComparisonStatus) String() string
func (*ComparisonStatus) UnmarshalGQL ¶ added in v0.11.4
func (e *ComparisonStatus) UnmarshalGQL(v interface{}) error
type ConnectedEvent ¶
type ConnectedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Reference originated in a different repository. IsCrossRepository bool `json:"isCrossRepository"` // Issue or pull request that made the reference. Source ReferencedSubject `json:"source"` // Issue or pull request which was connected. Subject ReferencedSubject `json:"subject"` }
Represents a 'connected' event on a given issue or pull request.
func (ConnectedEvent) GetID ¶ added in v0.11.4
func (this ConnectedEvent) GetID() string
ID of the object.
func (ConnectedEvent) IsIssueTimelineItems ¶
func (ConnectedEvent) IsIssueTimelineItems()
func (ConnectedEvent) IsNode ¶
func (ConnectedEvent) IsNode()
func (ConnectedEvent) IsPullRequestTimelineItems ¶
func (ConnectedEvent) IsPullRequestTimelineItems()
type Contribution ¶
type Contribution interface { IsContribution() // 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. // GetIsRestricted() bool // When this contribution was made. GetOccurredAt() time.Time // The HTTP path for this contribution. GetResourcePath() string // The HTTP URL for this contribution. GetURL() string // The user who made this contribution. // GetUser() User }
Represents a contribution a user made on GitHub, such as opening an issue.
type ContributionCalendar ¶
type ContributionCalendar struct { // A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. Colors []string `json:"colors"` // Determine if the color set was chosen because it's currently Halloween. IsHalloween bool `json:"isHalloween"` // A list of the months of contributions in this calendar. Months []*ContributionCalendarMonth `json:"months"` // The count of total contributions in the calendar. TotalContributions int `json:"totalContributions"` // A list of the weeks of contributions in this calendar. Weeks []*ContributionCalendarWeek `json:"weeks"` }
A calendar of contributions made on GitHub by a user.
type ContributionCalendarDay ¶
type ContributionCalendarDay struct { // The hex color code that represents how many contributions were made on this day compared to others in the calendar. Color string `json:"color"` // How many contributions were made by the user on this day. ContributionCount int `json:"contributionCount"` // 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"` // The day this square represents. Date string `json:"date"` // A number representing which day of the week this square represents, e.g., 1 is Monday. Weekday int `json:"weekday"` }
Represents a single day of contributions on GitHub by a user.
type ContributionCalendarMonth ¶
type ContributionCalendarMonth struct { // The date of the first day of this month. FirstDay string `json:"firstDay"` // The name of the month. Name string `json:"name"` // How many weeks started in this month. TotalWeeks int `json:"totalWeeks"` // The year the month occurred in. Year int `json:"year"` }
A month of contributions in a user's contribution graph.
type ContributionCalendarWeek ¶
type ContributionCalendarWeek struct { // The days of contributions in this week. ContributionDays []*ContributionCalendarDay `json:"contributionDays"` // The date of the earliest square in this week. FirstDay string `json:"firstDay"` }
A week of contributions in a user's contribution graph.
type ContributionLevel ¶
type ContributionLevel string
Varying levels of contributions from none to many.
const ( // No contributions occurred. ContributionLevelNone ContributionLevel = "NONE" // Lowest 25% of days of contributions. ContributionLevelFirstQuartile ContributionLevel = "FIRST_QUARTILE" // Second lowest 25% of days of contributions. More contributions than the first quartile. ContributionLevelSecondQuartile ContributionLevel = "SECOND_QUARTILE" // Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. ContributionLevelThirdQuartile ContributionLevel = "THIRD_QUARTILE" // Highest 25% of days of contributions. More contributions than the third quartile. ContributionLevelFourthQuartile ContributionLevel = "FOURTH_QUARTILE" )
func (ContributionLevel) IsValid ¶
func (e ContributionLevel) IsValid() bool
func (ContributionLevel) MarshalGQL ¶
func (e ContributionLevel) MarshalGQL(w io.Writer)
func (ContributionLevel) String ¶
func (e ContributionLevel) String() string
func (*ContributionLevel) UnmarshalGQL ¶
func (e *ContributionLevel) UnmarshalGQL(v interface{}) error
type ContributionOrder ¶
type ContributionOrder struct { // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for contribution connections.
type ContributionsCollection ¶
type ContributionsCollection struct { // Commit contributions made by the user, grouped by repository. CommitContributionsByRepository []*CommitContributionsByRepository `json:"commitContributionsByRepository"` // A calendar of this user's contributions on GitHub. ContributionCalendar ContributionCalendar `json:"contributionCalendar"` // The years the user has been making contributions with the most recent year first. ContributionYears []int `json:"contributionYears"` // Determine if this collection's time span ends in the current month. // DoesEndInCurrentMonth bool `json:"doesEndInCurrentMonth"` // 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 *string `json:"earliestRestrictedContributionDate"` // The ending date and time of this collection. EndedAt time.Time `json:"endedAt"` // 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"` // 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"` // 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"` // Does the user have any more activity in the timeline that occurred prior to the collection's time range? HasActivityInThePast bool `json:"hasActivityInThePast"` // Determine if there are any contributions in this collection. HasAnyContributions bool `json:"hasAnyContributions"` // 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"` // Whether or not the collector's time span is all within the same day. IsSingleDay bool `json:"isSingleDay"` // A list of issues the user opened. IssueContributions CreatedIssueContributionConnection `json:"issueContributions"` // Issue contributions made by the user, grouped by repository. IssueContributionsByRepository []*IssueContributionsByRepository `json:"issueContributionsByRepository"` // 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"` // 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 *string `json:"latestRestrictedContributionDate"` // 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"` // Returns a different contributions collection from an earlier time range than this one // that does not have any contributions. // MostRecentCollectionWithoutActivity *ContributionsCollection `json:"mostRecentCollectionWithoutActivity"` // The issue the user opened on GitHub that received the most comments in the specified // time frame. // PopularIssueContribution *CreatedIssueContribution `json:"popularIssueContribution"` // The pull request the user opened on GitHub that received the most comments in the // specified time frame. // PopularPullRequestContribution *CreatedPullRequestContribution `json:"popularPullRequestContribution"` // Pull request contributions made by the user. PullRequestContributions CreatedPullRequestContributionConnection `json:"pullRequestContributions"` // Pull request contributions made by the user, grouped by repository. PullRequestContributionsByRepository []*PullRequestContributionsByRepository `json:"pullRequestContributionsByRepository"` // Pull request review contributions made by the user. Returns the most recently // submitted review for each PR reviewed by the user. // PullRequestReviewContributions CreatedPullRequestReviewContributionConnection `json:"pullRequestReviewContributions"` // Pull request review contributions made by the user, grouped by repository. PullRequestReviewContributionsByRepository []*PullRequestReviewContributionsByRepository `json:"pullRequestReviewContributionsByRepository"` // A list of repositories owned by the user that the user created in this time range. RepositoryContributions CreatedRepositoryContributionConnection `json:"repositoryContributions"` // 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"` // The beginning date and time of this collection. StartedAt time.Time `json:"startedAt"` // How many commits were made by the user in this time span. TotalCommitContributions int `json:"totalCommitContributions"` // How many issues the user opened. TotalIssueContributions int `json:"totalIssueContributions"` // How many pull requests the user opened. TotalPullRequestContributions int `json:"totalPullRequestContributions"` // How many pull request reviews the user left. TotalPullRequestReviewContributions int `json:"totalPullRequestReviewContributions"` // How many different repositories the user committed to. TotalRepositoriesWithContributedCommits int `json:"totalRepositoriesWithContributedCommits"` // How many different repositories the user opened issues in. TotalRepositoriesWithContributedIssues int `json:"totalRepositoriesWithContributedIssues"` // How many different repositories the user left pull request reviews in. TotalRepositoriesWithContributedPullRequestReviews int `json:"totalRepositoriesWithContributedPullRequestReviews"` // How many different repositories the user opened pull requests in. TotalRepositoriesWithContributedPullRequests int `json:"totalRepositoriesWithContributedPullRequests"` // How many repositories the user created. TotalRepositoryContributions int `json:"totalRepositoryContributions"` // The user who made the contributions in this collection. User *User `json:"user"` }
A contributions collection aggregates contributions such as opened issues and commits created by a user.
type ConvertProjectCardNoteToIssueInput ¶
type ConvertProjectCardNoteToIssueInput struct { // The ProjectCard ID to convert. ProjectCardID string `json:"projectCardId"` // The ID of the repository to create the issue in. RepositoryID string `json:"repositoryId"` // The title of the newly created issue. Defaults to the card's note text. Title *string `json:"title,omitempty"` // The body of the newly created issue. Body *string `json:"body,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ConvertProjectCardNoteToIssue
type ConvertProjectCardNoteToIssuePayload ¶
type ConvertProjectCardNoteToIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated ProjectCard. ProjectCard *ProjectCard `json:"projectCard"` }
Autogenerated return type of ConvertProjectCardNoteToIssue
type ConvertPullRequestToDraftInput ¶
type ConvertPullRequestToDraftInput struct { // ID of the pull request to convert to draft PullRequestID string `json:"pullRequestId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ConvertPullRequestToDraft
type ConvertPullRequestToDraftPayload ¶
type ConvertPullRequestToDraftPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that is now a draft. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of ConvertPullRequestToDraft
type ConvertToDraftEvent ¶
type ConvertToDraftEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // The HTTP path for this convert to draft event. ResourcePath string `json:"resourcePath"` // The HTTP URL for this convert to draft event. URL string `json:"url"` }
Represents a 'convert_to_draft' event on a given pull request.
func (ConvertToDraftEvent) GetID ¶ added in v0.11.4
func (this ConvertToDraftEvent) GetID() string
ID of the object.
func (ConvertToDraftEvent) GetResourcePath ¶ added in v0.11.4
func (this ConvertToDraftEvent) GetResourcePath() string
The HTML path to this resource.
func (ConvertToDraftEvent) GetURL ¶ added in v0.11.4
func (this ConvertToDraftEvent) GetURL() string
The URL to this resource.
func (ConvertToDraftEvent) IsNode ¶
func (ConvertToDraftEvent) IsNode()
func (ConvertToDraftEvent) IsPullRequestTimelineItems ¶
func (ConvertToDraftEvent) IsPullRequestTimelineItems()
func (ConvertToDraftEvent) IsUniformResourceLocatable ¶
func (ConvertToDraftEvent) IsUniformResourceLocatable()
type ConvertedNoteToIssueEvent ¶
type ConvertedNoteToIssueEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` }
Represents a 'converted_note_to_issue' event on a given issue or pull request.
func (ConvertedNoteToIssueEvent) GetID ¶ added in v0.11.4
func (this ConvertedNoteToIssueEvent) GetID() string
ID of the object.
func (ConvertedNoteToIssueEvent) IsIssueTimelineItems ¶
func (ConvertedNoteToIssueEvent) IsIssueTimelineItems()
func (ConvertedNoteToIssueEvent) IsNode ¶
func (ConvertedNoteToIssueEvent) IsNode()
func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems ¶
func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems()
type ConvertedToDiscussionEvent ¶ added in v0.0.4
type ConvertedToDiscussionEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The discussion that the issue was converted into. Discussion *Discussion `json:"discussion"` ID string `json:"id"` }
Represents a 'converted_to_discussion' event on a given issue.
func (ConvertedToDiscussionEvent) GetID ¶ added in v0.11.4
func (this ConvertedToDiscussionEvent) GetID() string
ID of the object.
func (ConvertedToDiscussionEvent) IsIssueTimelineItems ¶ added in v0.0.4
func (ConvertedToDiscussionEvent) IsIssueTimelineItems()
func (ConvertedToDiscussionEvent) IsNode ¶ added in v0.0.4
func (ConvertedToDiscussionEvent) IsNode()
func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems ¶ added in v0.0.4
func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems()
type CopyProjectV2Input ¶ added in v0.11.4
type CopyProjectV2Input struct { // The ID of the source Project to copy. ProjectID string `json:"projectId"` // The owner ID of the new project. OwnerID string `json:"ownerId"` // The title of the project. Title string `json:"title"` // Include draft issues in the new project IncludeDraftIssues *bool `json:"includeDraftIssues,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CopyProjectV2
type CopyProjectV2Payload ¶ added in v0.11.4
type CopyProjectV2Payload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The copied project. ProjectV2 *ProjectV2 `json:"projectV2"` }
Autogenerated return type of CopyProjectV2
type CreateAttributionInvitationInput ¶ added in v0.11.4
type CreateAttributionInvitationInput struct { // The Node ID of the owner scoping the reattributable data. OwnerID string `json:"ownerId"` // The Node ID of the account owning the data to reattribute. SourceID string `json:"sourceId"` // The Node ID of the account which may claim the data. TargetID string `json:"targetId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateAttributionInvitation
type CreateAttributionInvitationPayload ¶ added in v0.11.4
type CreateAttributionInvitationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The owner scoping the reattributable data. Owner *Organization `json:"owner"` // The account owning the data to reattribute. Source Claimable `json:"source"` // The account which may claim the data. Target Claimable `json:"target"` }
Autogenerated return type of CreateAttributionInvitation
type CreateBranchProtectionRuleInput ¶
type CreateBranchProtectionRuleInput struct { // The global relay id of the repository in which a new branch protection rule should be created in. RepositoryID string `json:"repositoryId"` // The glob-like pattern used to determine matching branches. Pattern string `json:"pattern"` // Are approving reviews required to update matching branches. RequiresApprovingReviews *bool `json:"requiresApprovingReviews,omitempty"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"` // Are commits required to be signed. RequiresCommitSignatures *bool `json:"requiresCommitSignatures,omitempty"` // Are merge commits prohibited from being pushed to this branch. RequiresLinearHistory *bool `json:"requiresLinearHistory,omitempty"` // Is branch creation a protected operation. BlocksCreations *bool `json:"blocksCreations,omitempty"` // Are force pushes allowed on this branch. AllowsForcePushes *bool `json:"allowsForcePushes,omitempty"` // Can this branch be deleted. AllowsDeletions *bool `json:"allowsDeletions,omitempty"` // Can admins overwrite branch protection. IsAdminEnforced *bool `json:"isAdminEnforced,omitempty"` // Are status checks required to update matching branches. RequiresStatusChecks *bool `json:"requiresStatusChecks,omitempty"` // Are branches required to be up to date before merging. RequiresStrictStatusChecks *bool `json:"requiresStrictStatusChecks,omitempty"` // Are reviews from code owners required to update matching branches. RequiresCodeOwnerReviews *bool `json:"requiresCodeOwnerReviews,omitempty"` // Will new commits pushed to matching branches dismiss pull request review approvals. DismissesStaleReviews *bool `json:"dismissesStaleReviews,omitempty"` // Is dismissal of pull request reviews restricted. RestrictsReviewDismissals *bool `json:"restrictsReviewDismissals,omitempty"` // A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"` // A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"` // A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. BypassForcePushActorIds []string `json:"bypassForcePushActorIds,omitempty"` // Is pushing to matching branches restricted. RestrictsPushes *bool `json:"restrictsPushes,omitempty"` // A list of User, Team, or App IDs allowed to push to matching branches. PushActorIds []string `json:"pushActorIds,omitempty"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"` // The list of required status checks RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"` // Are conversations required to be resolved before merging. RequiresConversationResolution *bool `json:"requiresConversationResolution,omitempty"` // Whether the most recent push must be approved by someone other than the person who pushed it RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"` // Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. LockBranch *bool `json:"lockBranch,omitempty"` // Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. LockAllowsFetchAndMerge *bool `json:"lockAllowsFetchAndMerge,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateBranchProtectionRule
type CreateBranchProtectionRulePayload ¶
type CreateBranchProtectionRulePayload struct { // The newly created BranchProtectionRule. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of CreateBranchProtectionRule
type CreateCheckRunInput ¶
type CreateCheckRunInput struct { // The node ID of the repository. RepositoryID string `json:"repositoryId"` // The name of the check. Name string `json:"name"` // The SHA of the head commit. HeadSha string `json:"headSha"` // The URL of the integrator's site that has the full details of the check. DetailsURL *string `json:"detailsUrl,omitempty"` // A reference for the run on the integrator's system. ExternalID *string `json:"externalId,omitempty"` // The current status. Status *RequestableCheckStatusState `json:"status,omitempty"` // The time that the check run began. StartedAt *time.Time `json:"startedAt,omitempty"` // The final conclusion of the check. Conclusion *CheckConclusionState `json:"conclusion,omitempty"` // The time that the check run finished. CompletedAt *time.Time `json:"completedAt,omitempty"` // Descriptive details about the run. Output *CheckRunOutput `json:"output,omitempty"` // Possible further actions the integrator can perform, which a user may trigger. Actions []*CheckRunAction `json:"actions,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateCheckRun
type CreateCheckRunPayload ¶
type CreateCheckRunPayload struct { // The newly created check run. CheckRun *CheckRun `json:"checkRun"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of CreateCheckRun
type CreateCheckSuiteInput ¶
type CreateCheckSuiteInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The SHA of the head commit. HeadSha string `json:"headSha"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateCheckSuite
type CreateCheckSuitePayload ¶
type CreateCheckSuitePayload struct { // The newly created check suite. CheckSuite *CheckSuite `json:"checkSuite"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of CreateCheckSuite
type CreateCommitOnBranchInput ¶ added in v0.0.4
type CreateCommitOnBranchInput struct { // The Ref to be updated. Must be a branch. Branch CommittableBranch `json:"branch"` // A description of changes to files in this commit. FileChanges *FileChanges `json:"fileChanges,omitempty"` // The commit message the be included with the commit. Message CommitMessage `json:"message"` // The git commit oid expected at the head of the branch prior to the commit ExpectedHeadOid string `json:"expectedHeadOid"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateCommitOnBranch
type CreateCommitOnBranchPayload ¶ added in v0.0.4
type CreateCommitOnBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new commit. Commit *Commit `json:"commit"` // The ref which has been updated to point to the new commit. Ref *Ref `json:"ref"` }
Autogenerated return type of CreateCommitOnBranch
type CreateDiscussionInput ¶ added in v0.0.3
type CreateDiscussionInput struct { // The id of the repository on which to create the discussion. RepositoryID string `json:"repositoryId"` // The title of the discussion. Title string `json:"title"` // The body of the discussion. Body string `json:"body"` // The id of the discussion category to associate with this discussion. CategoryID string `json:"categoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateDiscussion
type CreateDiscussionPayload ¶ added in v0.0.3
type CreateDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The discussion that was just created. Discussion *Discussion `json:"discussion"` }
Autogenerated return type of CreateDiscussion
type CreateEnterpriseOrganizationInput ¶
type CreateEnterpriseOrganizationInput struct { // The ID of the enterprise owning the new organization. EnterpriseID string `json:"enterpriseId"` // The login of the new organization. Login string `json:"login"` // The profile name of the new organization. ProfileName string `json:"profileName"` // The email used for sending billing receipts. BillingEmail string `json:"billingEmail"` // The logins for the administrators of the new organization. AdminLogins []string `json:"adminLogins"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateEnterpriseOrganization
type CreateEnterpriseOrganizationPayload ¶
type CreateEnterpriseOrganizationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise that owns the created organization. Enterprise *Enterprise `json:"enterprise"` // The organization that was created. Organization *Organization `json:"organization"` }
Autogenerated return type of CreateEnterpriseOrganization
type CreateEnvironmentInput ¶ added in v0.0.3
type CreateEnvironmentInput struct { // The node ID of the repository. RepositoryID string `json:"repositoryId"` // The name of the environment. Name string `json:"name"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateEnvironment
type CreateEnvironmentPayload ¶ added in v0.0.3
type CreateEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new or existing environment. Environment *Environment `json:"environment"` }
Autogenerated return type of CreateEnvironment
type CreateIPAllowListEntryInput ¶
type CreateIPAllowListEntryInput struct { // The ID of the owner for which to create the new IP allow list entry. OwnerID string `json:"ownerId"` // An IP address or range of addresses in CIDR notation. AllowListValue string `json:"allowListValue"` // An optional name for the IP allow list entry. Name *string `json:"name,omitempty"` // Whether the IP allow list entry is active when an IP allow list is enabled. IsActive bool `json:"isActive"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateIpAllowListEntry
type CreateIPAllowListEntryPayload ¶
type CreateIPAllowListEntryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The IP allow list entry that was created. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry"` }
Autogenerated return type of CreateIpAllowListEntry
type CreateIssueInput ¶
type CreateIssueInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The title for the issue. Title string `json:"title"` // The body for the issue description. Body *string `json:"body,omitempty"` // The Node ID for the user assignee for this issue. AssigneeIds []string `json:"assigneeIds,omitempty"` // The Node ID of the milestone for this issue. MilestoneID *string `json:"milestoneId,omitempty"` // An array of Node IDs of labels for this issue. LabelIds []string `json:"labelIds,omitempty"` // An array of Node IDs for projects associated with this issue. ProjectIds []string `json:"projectIds,omitempty"` // The name of an issue template in the repository, assigns labels and assignees from the template to the issue IssueTemplate *string `json:"issueTemplate,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateIssue
type CreateIssuePayload ¶
type CreateIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new issue. Issue *Issue `json:"issue"` }
Autogenerated return type of CreateIssue
type CreateLinkedBranchInput ¶ added in v0.11.4
type CreateLinkedBranchInput struct { // ID of the issue to link to. IssueID string `json:"issueId"` // The commit SHA to base the new branch on. Oid string `json:"oid"` // The name of the new branch. Defaults to issue number and title. Name *string `json:"name,omitempty"` // ID of the repository to create the branch in. Defaults to the issue repository. RepositoryID *string `json:"repositoryId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateLinkedBranch
type CreateLinkedBranchPayload ¶ added in v0.11.4
type CreateLinkedBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new branch issue reference. LinkedBranch *LinkedBranch `json:"linkedBranch"` }
Autogenerated return type of CreateLinkedBranch
type CreateMigrationSourceInput ¶ added in v0.0.4
type CreateMigrationSourceInput struct { // The migration source name. Name string `json:"name"` // The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. URL string `json:"url"` // The migration source access token. AccessToken *string `json:"accessToken,omitempty"` // The migration source type. Type MigrationSourceType `json:"type"` // The ID of the organization that will own the migration source. OwnerID string `json:"ownerId"` // The GitHub personal access token of the user importing to the target repository. GithubPat *string `json:"githubPat,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateMigrationSource
type CreateMigrationSourcePayload ¶ added in v0.0.4
type CreateMigrationSourcePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The created migration source. MigrationSource *MigrationSource `json:"migrationSource"` }
Autogenerated return type of CreateMigrationSource
type CreateProjectInput ¶
type CreateProjectInput struct { // The owner ID to create the project under. OwnerID string `json:"ownerId"` // The name of project. Name string `json:"name"` // The description of project. Body *string `json:"body,omitempty"` // The name of the GitHub-provided template. Template *ProjectTemplate `json:"template,omitempty"` // A list of repository IDs to create as linked repositories for the project RepositoryIds []string `json:"repositoryIds,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateProject
type CreateProjectPayload ¶
type CreateProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new project. Project *Project `json:"project"` }
Autogenerated return type of CreateProject
type CreateProjectV2FieldInput ¶ added in v0.11.4
type CreateProjectV2FieldInput struct { // The ID of the Project to create the field in. ProjectID string `json:"projectId"` // The data type of the field. DataType ProjectV2CustomFieldType `json:"dataType"` // The name of the field. Name string `json:"name"` // Options for a single select field. At least one value is required if data_type is SINGLE_SELECT SingleSelectOptions []*ProjectV2SingleSelectFieldOptionInput `json:"singleSelectOptions,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateProjectV2Field
type CreateProjectV2FieldPayload ¶ added in v0.11.4
type CreateProjectV2FieldPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new field. ProjectV2Field ProjectV2FieldConfiguration `json:"projectV2Field"` }
Autogenerated return type of CreateProjectV2Field
type CreateProjectV2Input ¶ added in v0.11.4
type CreateProjectV2Input struct { // The owner ID to create the project under. OwnerID string `json:"ownerId"` // The title of the project. Title string `json:"title"` // The repository to link the project to. RepositoryID *string `json:"repositoryId,omitempty"` // The team to link the project to. The team will be granted read permissions. TeamID *string `json:"teamId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateProjectV2
type CreateProjectV2Payload ¶ added in v0.11.4
type CreateProjectV2Payload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new project. ProjectV2 *ProjectV2 `json:"projectV2"` }
Autogenerated return type of CreateProjectV2
type CreatePullRequestInput ¶
type CreatePullRequestInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // 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. // BaseRefName string `json:"baseRefName"` // 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`. // HeadRefName string `json:"headRefName"` // The Node ID of the head repository. HeadRepositoryID *string `json:"headRepositoryId,omitempty"` // The title of the pull request. Title string `json:"title"` // The contents of the pull request. Body *string `json:"body,omitempty"` // Indicates whether maintainers can modify the pull request. MaintainerCanModify *bool `json:"maintainerCanModify,omitempty"` // Indicates whether this pull request should be a draft. Draft *bool `json:"draft,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreatePullRequest
type CreatePullRequestPayload ¶
type CreatePullRequestPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new pull request. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of CreatePullRequest
type CreateRefInput ¶
type CreateRefInput struct { // The Node ID of the Repository to create the Ref in. RepositoryID string `json:"repositoryId"` // The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). Name string `json:"name"` // The GitObjectID that the new Ref shall target. Must point to a commit. Oid string `json:"oid"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateRef
type CreateRefPayload ¶
type CreateRefPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The newly created ref. Ref *Ref `json:"ref"` }
Autogenerated return type of CreateRef
type CreateRepositoryInput ¶
type CreateRepositoryInput struct { // The name of the new repository. Name string `json:"name"` // The ID of the owner for the new repository. OwnerID *string `json:"ownerId,omitempty"` // A short description of the new repository. Description *string `json:"description,omitempty"` // Indicates the repository's visibility level. Visibility RepositoryVisibility `json:"visibility"` // 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. Template *bool `json:"template,omitempty"` // The URL for a web page about this repository. HomepageURL *string `json:"homepageUrl,omitempty"` // Indicates if the repository should have the wiki feature enabled. HasWikiEnabled *bool `json:"hasWikiEnabled,omitempty"` // Indicates if the repository should have the issues feature enabled. HasIssuesEnabled *bool `json:"hasIssuesEnabled,omitempty"` // When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. TeamID *string `json:"teamId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateRepository
type CreateRepositoryPayload ¶
type CreateRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new repository. Repository *Repository `json:"repository"` }
Autogenerated return type of CreateRepository
type CreateSponsorsListingInput ¶ added in v0.11.4
type CreateSponsorsListingInput struct { // The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted. SponsorableLogin *string `json:"sponsorableLogin,omitempty"` // The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information. FiscalHostLogin *string `json:"fiscalHostLogin,omitempty"` // The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified. FiscallyHostedProjectProfileURL *string `json:"fiscallyHostedProjectProfileUrl,omitempty"` // The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. BillingCountryOrRegionCode *SponsorsCountryOrRegionCode `json:"billingCountryOrRegionCode,omitempty"` // The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization. ResidenceCountryOrRegionCode *SponsorsCountryOrRegionCode `json:"residenceCountryOrRegionCode,omitempty"` // The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted. ContactEmail *string `json:"contactEmail,omitempty"` // Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported. FullDescription *string `json:"fullDescription,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateSponsorsListing
type CreateSponsorsListingPayload ¶ added in v0.11.4
type CreateSponsorsListingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new GitHub Sponsors profile. SponsorsListing *SponsorsListing `json:"sponsorsListing"` }
Autogenerated return type of CreateSponsorsListing
type CreateSponsorsTierInput ¶ added in v0.11.4
type CreateSponsorsTierInput struct { // 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. SponsorableID *string `json:"sponsorableId,omitempty"` // 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. SponsorableLogin *string `json:"sponsorableLogin,omitempty"` // The value of the new tier in US dollars. Valid values: 1-12000. Amount int `json:"amount"` // Whether sponsorships using this tier should happen monthly/yearly or just once. IsRecurring *bool `json:"isRecurring,omitempty"` // Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. RepositoryID *string `json:"repositoryId,omitempty"` // 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. RepositoryOwnerLogin *string `json:"repositoryOwnerLogin,omitempty"` // 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. RepositoryName *string `json:"repositoryName,omitempty"` // Optional message new sponsors at this tier will receive. WelcomeMessage *string `json:"welcomeMessage,omitempty"` // A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc. Description string `json:"description"` // Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible. Publish *bool `json:"publish,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateSponsorsTier
type CreateSponsorsTierPayload ¶ added in v0.11.4
type CreateSponsorsTierPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new tier. SponsorsTier *SponsorsTier `json:"sponsorsTier"` }
Autogenerated return type of CreateSponsorsTier
type CreateSponsorshipInput ¶ added in v0.0.4
type CreateSponsorshipInput struct { // The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. SponsorID *string `json:"sponsorId,omitempty"` // The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. SponsorLogin *string `json:"sponsorLogin,omitempty"` // The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. SponsorableID *string `json:"sponsorableId,omitempty"` // The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. SponsorableLogin *string `json:"sponsorableLogin,omitempty"` // The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified. TierID *string `json:"tierId,omitempty"` // The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. Amount *int `json:"amount,omitempty"` // Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. IsRecurring *bool `json:"isRecurring,omitempty"` // Whether the sponsor should receive email updates from the sponsorable. ReceiveEmails *bool `json:"receiveEmails,omitempty"` // 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. PrivacyLevel *SponsorshipPrivacy `json:"privacyLevel,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateSponsorship
type CreateSponsorshipPayload ¶ added in v0.0.4
type CreateSponsorshipPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The sponsorship that was started. Sponsorship *Sponsorship `json:"sponsorship"` }
Autogenerated return type of CreateSponsorship
type CreateTeamDiscussionCommentInput ¶
type CreateTeamDiscussionCommentInput struct { // The ID of the discussion to which the comment belongs. DiscussionID string `json:"discussionId"` // The content of the comment. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateTeamDiscussionComment
type CreateTeamDiscussionCommentPayload ¶
type CreateTeamDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new comment. TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment"` }
Autogenerated return type of CreateTeamDiscussionComment
type CreateTeamDiscussionInput ¶
type CreateTeamDiscussionInput struct { // The ID of the team to which the discussion belongs. TeamID string `json:"teamId"` // The title of the discussion. Title string `json:"title"` // The content of the discussion. Body string `json:"body"` // 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. Private *bool `json:"private,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of CreateTeamDiscussion
type CreateTeamDiscussionPayload ¶
type CreateTeamDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new discussion. TeamDiscussion *TeamDiscussion `json:"teamDiscussion"` }
Autogenerated return type of CreateTeamDiscussion
type CreatedCommitContribution ¶
type CreatedCommitContribution struct { // How many commits were made on this day to this repository by the user. CommitCount int `json:"commitCount"` // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The repository the user made a commit in. Repository Repository `json:"repository"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents the contribution a user made by committing to a repository.
func (CreatedCommitContribution) GetIsRestricted ¶ added in v0.11.4
func (this CreatedCommitContribution) GetIsRestricted() bool
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.
func (CreatedCommitContribution) GetOccurredAt ¶ added in v0.11.4
func (this CreatedCommitContribution) GetOccurredAt() time.Time
When this contribution was made.
func (CreatedCommitContribution) GetResourcePath ¶ added in v0.11.4
func (this CreatedCommitContribution) GetResourcePath() string
The HTTP path for this contribution.
func (CreatedCommitContribution) GetURL ¶ added in v0.11.4
func (this CreatedCommitContribution) GetURL() string
The HTTP URL for this contribution.
func (CreatedCommitContribution) GetUser ¶ added in v0.11.4
func (this CreatedCommitContribution) GetUser() User
The user who made this contribution.
func (CreatedCommitContribution) IsContribution ¶
func (CreatedCommitContribution) IsContribution()
type CreatedCommitContributionConnection ¶
type CreatedCommitContributionConnection struct { // A list of edges. Edges []*CreatedCommitContributionEdge `json:"edges"` // A list of nodes. Nodes []*CreatedCommitContribution `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of commits across days and repositories in the connection. // TotalCount int `json:"totalCount"` }
The connection type for CreatedCommitContribution.
type CreatedCommitContributionEdge ¶
type CreatedCommitContributionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CreatedCommitContribution `json:"node"` }
An edge in a connection.
type CreatedIssueContribution ¶
type CreatedIssueContribution struct { // 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"` // The issue that was opened. Issue Issue `json:"issue"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents the contribution a user made on GitHub by opening an issue.
func (CreatedIssueContribution) GetIsRestricted ¶ added in v0.11.4
func (this CreatedIssueContribution) GetIsRestricted() bool
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.
func (CreatedIssueContribution) GetOccurredAt ¶ added in v0.11.4
func (this CreatedIssueContribution) GetOccurredAt() time.Time
When this contribution was made.
func (CreatedIssueContribution) GetResourcePath ¶ added in v0.11.4
func (this CreatedIssueContribution) GetResourcePath() string
The HTTP path for this contribution.
func (CreatedIssueContribution) GetURL ¶ added in v0.11.4
func (this CreatedIssueContribution) GetURL() string
The HTTP URL for this contribution.
func (CreatedIssueContribution) GetUser ¶ added in v0.11.4
func (this CreatedIssueContribution) GetUser() User
The user who made this contribution.
func (CreatedIssueContribution) IsContribution ¶
func (CreatedIssueContribution) IsContribution()
func (CreatedIssueContribution) IsCreatedIssueOrRestrictedContribution ¶
func (CreatedIssueContribution) IsCreatedIssueOrRestrictedContribution()
type CreatedIssueContributionConnection ¶
type CreatedIssueContributionConnection struct { // A list of edges. Edges []*CreatedIssueContributionEdge `json:"edges"` // A list of nodes. Nodes []*CreatedIssueContribution `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CreatedIssueContribution.
type CreatedIssueContributionEdge ¶
type CreatedIssueContributionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CreatedIssueContribution `json:"node"` }
An edge in a connection.
type CreatedIssueOrRestrictedContribution ¶
type CreatedIssueOrRestrictedContribution interface {
IsCreatedIssueOrRestrictedContribution()
}
Represents either a issue the viewer can access or a restricted contribution.
type CreatedPullRequestContribution ¶
type CreatedPullRequestContribution struct { // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The pull request that was opened. PullRequest PullRequest `json:"pullRequest"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents the contribution a user made on GitHub by opening a pull request.
func (CreatedPullRequestContribution) GetIsRestricted ¶ added in v0.11.4
func (this CreatedPullRequestContribution) GetIsRestricted() bool
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.
func (CreatedPullRequestContribution) GetOccurredAt ¶ added in v0.11.4
func (this CreatedPullRequestContribution) GetOccurredAt() time.Time
When this contribution was made.
func (CreatedPullRequestContribution) GetResourcePath ¶ added in v0.11.4
func (this CreatedPullRequestContribution) GetResourcePath() string
The HTTP path for this contribution.
func (CreatedPullRequestContribution) GetURL ¶ added in v0.11.4
func (this CreatedPullRequestContribution) GetURL() string
The HTTP URL for this contribution.
func (CreatedPullRequestContribution) GetUser ¶ added in v0.11.4
func (this CreatedPullRequestContribution) GetUser() User
The user who made this contribution.
func (CreatedPullRequestContribution) IsContribution ¶
func (CreatedPullRequestContribution) IsContribution()
func (CreatedPullRequestContribution) IsCreatedPullRequestOrRestrictedContribution ¶
func (CreatedPullRequestContribution) IsCreatedPullRequestOrRestrictedContribution()
type CreatedPullRequestContributionConnection ¶
type CreatedPullRequestContributionConnection struct { // A list of edges. Edges []*CreatedPullRequestContributionEdge `json:"edges"` // A list of nodes. Nodes []*CreatedPullRequestContribution `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CreatedPullRequestContribution.
type CreatedPullRequestContributionEdge ¶
type CreatedPullRequestContributionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CreatedPullRequestContribution `json:"node"` }
An edge in a connection.
type CreatedPullRequestOrRestrictedContribution ¶
type CreatedPullRequestOrRestrictedContribution interface {
IsCreatedPullRequestOrRestrictedContribution()
}
Represents either a pull request the viewer can access or a restricted contribution.
type CreatedPullRequestReviewContribution ¶
type CreatedPullRequestReviewContribution struct { // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The pull request the user reviewed. PullRequest PullRequest `json:"pullRequest"` // The review the user left on the pull request. PullRequestReview PullRequestReview `json:"pullRequestReview"` // The repository containing the pull request that the user reviewed. Repository Repository `json:"repository"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents the contribution a user made by leaving a review on a pull request.
func (CreatedPullRequestReviewContribution) GetIsRestricted ¶ added in v0.11.4
func (this CreatedPullRequestReviewContribution) GetIsRestricted() bool
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.
func (CreatedPullRequestReviewContribution) GetOccurredAt ¶ added in v0.11.4
func (this CreatedPullRequestReviewContribution) GetOccurredAt() time.Time
When this contribution was made.
func (CreatedPullRequestReviewContribution) GetResourcePath ¶ added in v0.11.4
func (this CreatedPullRequestReviewContribution) GetResourcePath() string
The HTTP path for this contribution.
func (CreatedPullRequestReviewContribution) GetURL ¶ added in v0.11.4
func (this CreatedPullRequestReviewContribution) GetURL() string
The HTTP URL for this contribution.
func (CreatedPullRequestReviewContribution) GetUser ¶ added in v0.11.4
func (this CreatedPullRequestReviewContribution) GetUser() User
The user who made this contribution.
func (CreatedPullRequestReviewContribution) IsContribution ¶
func (CreatedPullRequestReviewContribution) IsContribution()
type CreatedPullRequestReviewContributionConnection ¶
type CreatedPullRequestReviewContributionConnection struct { // A list of edges. Edges []*CreatedPullRequestReviewContributionEdge `json:"edges"` // A list of nodes. Nodes []*CreatedPullRequestReviewContribution `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CreatedPullRequestReviewContribution.
type CreatedPullRequestReviewContributionEdge ¶
type CreatedPullRequestReviewContributionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CreatedPullRequestReviewContribution `json:"node"` }
An edge in a connection.
type CreatedRepositoryContribution ¶
type CreatedRepositoryContribution struct { // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The repository that was created. Repository Repository `json:"repository"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents the contribution a user made on GitHub by creating a repository.
func (CreatedRepositoryContribution) GetIsRestricted ¶ added in v0.11.4
func (this CreatedRepositoryContribution) GetIsRestricted() bool
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.
func (CreatedRepositoryContribution) GetOccurredAt ¶ added in v0.11.4
func (this CreatedRepositoryContribution) GetOccurredAt() time.Time
When this contribution was made.
func (CreatedRepositoryContribution) GetResourcePath ¶ added in v0.11.4
func (this CreatedRepositoryContribution) GetResourcePath() string
The HTTP path for this contribution.
func (CreatedRepositoryContribution) GetURL ¶ added in v0.11.4
func (this CreatedRepositoryContribution) GetURL() string
The HTTP URL for this contribution.
func (CreatedRepositoryContribution) GetUser ¶ added in v0.11.4
func (this CreatedRepositoryContribution) GetUser() User
The user who made this contribution.
func (CreatedRepositoryContribution) IsContribution ¶
func (CreatedRepositoryContribution) IsContribution()
func (CreatedRepositoryContribution) IsCreatedRepositoryOrRestrictedContribution ¶
func (CreatedRepositoryContribution) IsCreatedRepositoryOrRestrictedContribution()
type CreatedRepositoryContributionConnection ¶
type CreatedRepositoryContributionConnection struct { // A list of edges. Edges []*CreatedRepositoryContributionEdge `json:"edges"` // A list of nodes. Nodes []*CreatedRepositoryContribution `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CreatedRepositoryContribution.
type CreatedRepositoryContributionEdge ¶
type CreatedRepositoryContributionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *CreatedRepositoryContribution `json:"node"` }
An edge in a connection.
type CreatedRepositoryOrRestrictedContribution ¶
type CreatedRepositoryOrRestrictedContribution interface {
IsCreatedRepositoryOrRestrictedContribution()
}
Represents either a repository the viewer can access or a restricted contribution.
type CrossReferencedEvent ¶
type CrossReferencedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Reference originated in a different repository. IsCrossRepository bool `json:"isCrossRepository"` // Identifies when the reference was made. ReferencedAt time.Time `json:"referencedAt"` // The HTTP path for this pull request. ResourcePath string `json:"resourcePath"` // Issue or pull request that made the reference. Source ReferencedSubject `json:"source"` // Issue or pull request to which the reference was made. Target ReferencedSubject `json:"target"` // The HTTP URL for this pull request. URL string `json:"url"` // Checks if the target will be closed when the source is merged. WillCloseTarget bool `json:"willCloseTarget"` }
Represents a mention made by one issue or pull request to another.
func (CrossReferencedEvent) GetID ¶ added in v0.11.4
func (this CrossReferencedEvent) GetID() string
ID of the object.
func (CrossReferencedEvent) GetResourcePath ¶ added in v0.11.4
func (this CrossReferencedEvent) GetResourcePath() string
The HTML path to this resource.
func (CrossReferencedEvent) GetURL ¶ added in v0.11.4
func (this CrossReferencedEvent) GetURL() string
The URL to this resource.
func (CrossReferencedEvent) IsIssueTimelineItem ¶
func (CrossReferencedEvent) IsIssueTimelineItem()
func (CrossReferencedEvent) IsIssueTimelineItems ¶
func (CrossReferencedEvent) IsIssueTimelineItems()
func (CrossReferencedEvent) IsNode ¶
func (CrossReferencedEvent) IsNode()
func (CrossReferencedEvent) IsPullRequestTimelineItem ¶
func (CrossReferencedEvent) IsPullRequestTimelineItem()
func (CrossReferencedEvent) IsPullRequestTimelineItems ¶
func (CrossReferencedEvent) IsPullRequestTimelineItems()
func (CrossReferencedEvent) IsUniformResourceLocatable ¶
func (CrossReferencedEvent) IsUniformResourceLocatable()
type Cvss ¶
type Cvss struct { // The CVSS score associated with this advisory Score float64 `json:"score"` // The CVSS vector string associated with this advisory VectorString *string `json:"vectorString"` }
The Common Vulnerability Scoring System
type Cwe ¶
type Cwe struct { // The id of the CWE CweID string `json:"cweId"` // A detailed description of this CWE Description string `json:"description"` ID string `json:"id"` // The name of this CWE Name string `json:"name"` }
A common weakness enumeration
type DeclineTopicSuggestionInput ¶
type DeclineTopicSuggestionInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The name of the suggested topic. Name string `json:"name"` // The reason why the suggested topic is declined. Reason TopicSuggestionDeclineReason `json:"reason"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeclineTopicSuggestion
type DeclineTopicSuggestionPayload ¶
type DeclineTopicSuggestionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The declined topic. Topic *Topic `json:"topic"` }
Autogenerated return type of DeclineTopicSuggestion
type DefaultRepositoryPermissionField ¶
type DefaultRepositoryPermissionField string
The possible base permissions for repositories.
const ( // No access DefaultRepositoryPermissionFieldNone DefaultRepositoryPermissionField = "NONE" // Can read repos by default DefaultRepositoryPermissionFieldRead DefaultRepositoryPermissionField = "READ" // Can read and write repos by default DefaultRepositoryPermissionFieldWrite DefaultRepositoryPermissionField = "WRITE" // Can read, write, and administrate repos by default DefaultRepositoryPermissionFieldAdmin DefaultRepositoryPermissionField = "ADMIN" )
func (DefaultRepositoryPermissionField) IsValid ¶
func (e DefaultRepositoryPermissionField) IsValid() bool
func (DefaultRepositoryPermissionField) MarshalGQL ¶
func (e DefaultRepositoryPermissionField) MarshalGQL(w io.Writer)
func (DefaultRepositoryPermissionField) String ¶
func (e DefaultRepositoryPermissionField) String() string
func (*DefaultRepositoryPermissionField) UnmarshalGQL ¶
func (e *DefaultRepositoryPermissionField) UnmarshalGQL(v interface{}) error
type Deletable ¶
type Deletable interface { IsDeletable() // Check if the current viewer can delete this object. GetViewerCanDelete() bool }
Entities that can be deleted.
type DeleteBranchProtectionRuleInput ¶
type DeleteBranchProtectionRuleInput struct { // The global relay id of the branch protection rule to be deleted. BranchProtectionRuleID string `json:"branchProtectionRuleId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteBranchProtectionRule
type DeleteBranchProtectionRulePayload ¶
type DeleteBranchProtectionRulePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteBranchProtectionRule
type DeleteDeploymentInput ¶
type DeleteDeploymentInput struct { // The Node ID of the deployment to be deleted. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteDeployment
type DeleteDeploymentPayload ¶
type DeleteDeploymentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteDeployment
type DeleteDiscussionCommentInput ¶ added in v0.0.3
type DeleteDiscussionCommentInput struct { // The Node id of the discussion comment to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteDiscussionComment
type DeleteDiscussionCommentPayload ¶ added in v0.0.3
type DeleteDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The discussion comment that was just deleted. Comment *DiscussionComment `json:"comment"` }
Autogenerated return type of DeleteDiscussionComment
type DeleteDiscussionInput ¶ added in v0.0.3
type DeleteDiscussionInput struct { // The id of the discussion to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteDiscussion
type DeleteDiscussionPayload ¶ added in v0.0.3
type DeleteDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The discussion that was just deleted. Discussion *Discussion `json:"discussion"` }
Autogenerated return type of DeleteDiscussion
type DeleteEnvironmentInput ¶ added in v0.0.3
type DeleteEnvironmentInput struct { // The Node ID of the environment to be deleted. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteEnvironment
type DeleteEnvironmentPayload ¶ added in v0.0.3
type DeleteEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteEnvironment
type DeleteIPAllowListEntryInput ¶
type DeleteIPAllowListEntryInput struct { // The ID of the IP allow list entry to delete. IPAllowListEntryID string `json:"ipAllowListEntryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteIpAllowListEntry
type DeleteIPAllowListEntryPayload ¶
type DeleteIPAllowListEntryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The IP allow list entry that was deleted. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry"` }
Autogenerated return type of DeleteIpAllowListEntry
type DeleteIssueCommentInput ¶
type DeleteIssueCommentInput struct { // The ID of the comment to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteIssueComment
type DeleteIssueCommentPayload ¶
type DeleteIssueCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteIssueComment
type DeleteIssueInput ¶
type DeleteIssueInput struct { // The ID of the issue to delete. IssueID string `json:"issueId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteIssue
type DeleteIssuePayload ¶
type DeleteIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository the issue belonged to Repository *Repository `json:"repository"` }
Autogenerated return type of DeleteIssue
type DeleteLinkedBranchInput ¶ added in v0.11.4
type DeleteLinkedBranchInput struct { // The ID of the linked branch LinkedBranchID string `json:"linkedBranchId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteLinkedBranch
type DeleteLinkedBranchPayload ¶ added in v0.11.4
type DeleteLinkedBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue the linked branch was unlinked from. Issue *Issue `json:"issue"` }
Autogenerated return type of DeleteLinkedBranch
type DeleteProjectCardInput ¶
type DeleteProjectCardInput struct { // The id of the card to delete. CardID string `json:"cardId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProjectCard
type DeleteProjectCardPayload ¶
type DeleteProjectCardPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The column the deleted card was in. Column *ProjectColumn `json:"column"` // The deleted card ID. DeletedCardID *string `json:"deletedCardId"` }
Autogenerated return type of DeleteProjectCard
type DeleteProjectColumnInput ¶
type DeleteProjectColumnInput struct { // The id of the column to delete. ColumnID string `json:"columnId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProjectColumn
type DeleteProjectColumnPayload ¶
type DeleteProjectColumnPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The deleted column ID. DeletedColumnID *string `json:"deletedColumnId"` // The project the deleted column was in. Project *Project `json:"project"` }
Autogenerated return type of DeleteProjectColumn
type DeleteProjectInput ¶
type DeleteProjectInput struct { // The Project ID to update. ProjectID string `json:"projectId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProject
type DeleteProjectPayload ¶
type DeleteProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository or organization the project was removed from. Owner ProjectOwner `json:"owner"` }
Autogenerated return type of DeleteProject
type DeleteProjectV2FieldInput ¶ added in v0.11.4
type DeleteProjectV2FieldInput struct { // The ID of the field to delete. FieldID string `json:"fieldId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProjectV2Field
type DeleteProjectV2FieldPayload ¶ added in v0.11.4
type DeleteProjectV2FieldPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The deleted field. ProjectV2Field ProjectV2FieldConfiguration `json:"projectV2Field"` }
Autogenerated return type of DeleteProjectV2Field
type DeleteProjectV2Input ¶ added in v0.11.4
type DeleteProjectV2Input struct { // The ID of the Project to delete. ProjectID string `json:"projectId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProjectV2
type DeleteProjectV2ItemInput ¶ added in v0.11.4
type DeleteProjectV2ItemInput struct { // The ID of the Project from which the item should be removed. ProjectID string `json:"projectId"` // The ID of the item to be removed. ItemID string `json:"itemId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteProjectV2Item
type DeleteProjectV2ItemPayload ¶ added in v0.11.4
type DeleteProjectV2ItemPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The ID of the deleted item. DeletedItemID *string `json:"deletedItemId"` }
Autogenerated return type of DeleteProjectV2Item
type DeleteProjectV2Payload ¶ added in v0.11.4
type DeleteProjectV2Payload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The deleted Project. ProjectV2 *ProjectV2 `json:"projectV2"` }
Autogenerated return type of DeleteProjectV2
type DeletePullRequestReviewCommentInput ¶
type DeletePullRequestReviewCommentInput struct { // The ID of the comment to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeletePullRequestReviewComment
type DeletePullRequestReviewCommentPayload ¶
type DeletePullRequestReviewCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request review the deleted comment belonged to. PullRequestReview *PullRequestReview `json:"pullRequestReview"` // The deleted pull request review comment. PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment"` }
Autogenerated return type of DeletePullRequestReviewComment
type DeletePullRequestReviewInput ¶
type DeletePullRequestReviewInput struct { // The Node ID of the pull request review to delete. PullRequestReviewID string `json:"pullRequestReviewId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeletePullRequestReview
type DeletePullRequestReviewPayload ¶
type DeletePullRequestReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The deleted pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview"` }
Autogenerated return type of DeletePullRequestReview
type DeleteRefInput ¶
type DeleteRefInput struct { // The Node ID of the Ref to be deleted. RefID string `json:"refId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteRef
type DeleteRefPayload ¶
type DeleteRefPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteRef
type DeleteTeamDiscussionCommentInput ¶
type DeleteTeamDiscussionCommentInput struct { // The ID of the comment to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteTeamDiscussionComment
type DeleteTeamDiscussionCommentPayload ¶
type DeleteTeamDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteTeamDiscussionComment
type DeleteTeamDiscussionInput ¶
type DeleteTeamDiscussionInput struct { // The discussion ID to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteTeamDiscussion
type DeleteTeamDiscussionPayload ¶
type DeleteTeamDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of DeleteTeamDiscussion
type DeleteVerifiableDomainInput ¶
type DeleteVerifiableDomainInput struct { // The ID of the verifiable domain to delete. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DeleteVerifiableDomain
type DeleteVerifiableDomainPayload ¶
type DeleteVerifiableDomainPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The owning account from which the domain was deleted. Owner VerifiableDomainOwner `json:"owner"` }
Autogenerated return type of DeleteVerifiableDomain
type DemilestonedEvent ¶
type DemilestonedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the milestone title associated with the 'demilestoned' event. MilestoneTitle string `json:"milestoneTitle"` // Object referenced by event. Subject MilestoneItem `json:"subject"` }
Represents a 'demilestoned' event on a given issue or pull request.
func (DemilestonedEvent) GetID ¶ added in v0.11.4
func (this DemilestonedEvent) GetID() string
ID of the object.
func (DemilestonedEvent) IsIssueTimelineItem ¶
func (DemilestonedEvent) IsIssueTimelineItem()
func (DemilestonedEvent) IsIssueTimelineItems ¶
func (DemilestonedEvent) IsIssueTimelineItems()
func (DemilestonedEvent) IsNode ¶
func (DemilestonedEvent) IsNode()
func (DemilestonedEvent) IsPullRequestTimelineItem ¶
func (DemilestonedEvent) IsPullRequestTimelineItem()
func (DemilestonedEvent) IsPullRequestTimelineItems ¶
func (DemilestonedEvent) IsPullRequestTimelineItems()
type DependabotUpdate ¶ added in v0.11.4
type DependabotUpdate struct { // The error from a dependency update Error *DependabotUpdateError `json:"error"` // The associated pull request PullRequest *PullRequest `json:"pullRequest"` // The repository associated with this node. Repository Repository `json:"repository"` }
A Dependabot Update for a dependency in a repository
func (DependabotUpdate) GetRepository ¶ added in v0.11.4
func (this DependabotUpdate) GetRepository() Repository
The repository associated with this node.
func (DependabotUpdate) IsRepositoryNode ¶ added in v0.11.4
func (DependabotUpdate) IsRepositoryNode()
type DependabotUpdateError ¶ added in v0.11.4
type DependabotUpdateError struct { // The body of the error Body string `json:"body"` // The error code ErrorType string `json:"errorType"` // The title of the error Title string `json:"title"` }
An error produced from a Dependabot Update
type DependencyGraphEcosystem ¶ added in v0.0.4
type DependencyGraphEcosystem string
The possible ecosystems of a dependency graph package.
const ( // Ruby gems hosted at RubyGems.org DependencyGraphEcosystemRubygems DependencyGraphEcosystem = "RUBYGEMS" // JavaScript packages hosted at npmjs.com DependencyGraphEcosystemNpm DependencyGraphEcosystem = "NPM" // Python packages hosted at PyPI.org DependencyGraphEcosystemPip DependencyGraphEcosystem = "PIP" // Java artifacts hosted at the Maven central repository DependencyGraphEcosystemMaven DependencyGraphEcosystem = "MAVEN" // .NET packages hosted at the NuGet Gallery DependencyGraphEcosystemNuget DependencyGraphEcosystem = "NUGET" // PHP packages hosted at packagist.org DependencyGraphEcosystemComposer DependencyGraphEcosystem = "COMPOSER" // Go modules DependencyGraphEcosystemGo DependencyGraphEcosystem = "GO" // GitHub Actions DependencyGraphEcosystemActions DependencyGraphEcosystem = "ACTIONS" // Rust crates DependencyGraphEcosystemRust DependencyGraphEcosystem = "RUST" // Dart packages hosted at pub.dev DependencyGraphEcosystemPub DependencyGraphEcosystem = "PUB" )
func (DependencyGraphEcosystem) IsValid ¶ added in v0.0.4
func (e DependencyGraphEcosystem) IsValid() bool
func (DependencyGraphEcosystem) MarshalGQL ¶ added in v0.0.4
func (e DependencyGraphEcosystem) MarshalGQL(w io.Writer)
func (DependencyGraphEcosystem) String ¶ added in v0.0.4
func (e DependencyGraphEcosystem) String() string
func (*DependencyGraphEcosystem) UnmarshalGQL ¶ added in v0.0.4
func (e *DependencyGraphEcosystem) UnmarshalGQL(v interface{}) error
type DeployKey ¶
type DeployKey struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The deploy key. Key string `json:"key"` // Whether or not the deploy key is read only. ReadOnly bool `json:"readOnly"` // The deploy key title. Title string `json:"title"` // Whether or not the deploy key has been verified. Verified bool `json:"verified"` }
A repository deploy key.
type DeployKeyConnection ¶
type DeployKeyConnection struct { // A list of edges. Edges []*DeployKeyEdge `json:"edges"` // A list of nodes. Nodes []*DeployKey `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeployKey.
type DeployKeyEdge ¶
type DeployKeyEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DeployKey `json:"node"` }
An edge in a connection.
type DeployedEvent ¶
type DeployedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The deployment associated with the 'deployed' event. Deployment Deployment `json:"deployment"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // The ref associated with the 'deployed' event. Ref *Ref `json:"ref"` }
Represents a 'deployed' event on a given pull request.
func (DeployedEvent) GetID ¶ added in v0.11.4
func (this DeployedEvent) GetID() string
ID of the object.
func (DeployedEvent) IsNode ¶
func (DeployedEvent) IsNode()
func (DeployedEvent) IsPullRequestTimelineItem ¶
func (DeployedEvent) IsPullRequestTimelineItem()
func (DeployedEvent) IsPullRequestTimelineItems ¶
func (DeployedEvent) IsPullRequestTimelineItems()
type Deployment ¶
type Deployment struct { // Identifies the commit sha of the deployment. Commit *Commit `json:"commit"` // Identifies the oid of the deployment commit, even if the commit has been deleted. CommitOid string `json:"commitOid"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the actor who triggered the deployment. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The deployment description. Description *string `json:"description"` // The latest environment to which this deployment was made. Environment *string `json:"environment"` ID string `json:"id"` // The latest environment to which this deployment was made. LatestEnvironment *string `json:"latestEnvironment"` // The latest status of this deployment. LatestStatus *DeploymentStatus `json:"latestStatus"` // The original environment to which this deployment was made. OriginalEnvironment *string `json:"originalEnvironment"` // Extra information that a deployment system might need. Payload *string `json:"payload"` // Identifies the Ref of the deployment, if the deployment was created by ref. Ref *Ref `json:"ref"` // Identifies the repository associated with the deployment. Repository Repository `json:"repository"` // The current state of the deployment. State *DeploymentState `json:"state"` // A list of statuses associated with the deployment. Statuses *DeploymentStatusConnection `json:"statuses"` // The deployment task. Task *string `json:"task"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
Represents triggered deployment instance.
func (Deployment) IsNode ¶
func (Deployment) IsNode()
type DeploymentConnection ¶
type DeploymentConnection struct { // A list of edges. Edges []*DeploymentEdge `json:"edges"` // A list of nodes. Nodes []*Deployment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Deployment.
type DeploymentEdge ¶
type DeploymentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Deployment `json:"node"` }
An edge in a connection.
type DeploymentEnvironmentChangedEvent ¶
type DeploymentEnvironmentChangedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The deployment status that updated the deployment environment. DeploymentStatus DeploymentStatus `json:"deploymentStatus"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'deployment_environment_changed' event on a given pull request.
func (DeploymentEnvironmentChangedEvent) GetID ¶ added in v0.11.4
func (this DeploymentEnvironmentChangedEvent) GetID() string
ID of the object.
func (DeploymentEnvironmentChangedEvent) IsNode ¶
func (DeploymentEnvironmentChangedEvent) IsNode()
func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItem ¶
func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItem()
func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItems ¶
func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItems()
type DeploymentOrder ¶
type DeploymentOrder struct { // The field to order deployments by. Field DeploymentOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for deployment connections
type DeploymentOrderField ¶
type DeploymentOrderField string
Properties by which deployment connections can be ordered.
const ( // Order collection by creation time DeploymentOrderFieldCreatedAt DeploymentOrderField = "CREATED_AT" )
func (DeploymentOrderField) IsValid ¶
func (e DeploymentOrderField) IsValid() bool
func (DeploymentOrderField) MarshalGQL ¶
func (e DeploymentOrderField) MarshalGQL(w io.Writer)
func (DeploymentOrderField) String ¶
func (e DeploymentOrderField) String() string
func (*DeploymentOrderField) UnmarshalGQL ¶
func (e *DeploymentOrderField) UnmarshalGQL(v interface{}) error
type DeploymentProtectionRule ¶ added in v0.0.3
type DeploymentProtectionRule struct { // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The teams or users that can review the deployment Reviewers DeploymentReviewerConnection `json:"reviewers"` // The timeout in minutes for this protection rule. Timeout int `json:"timeout"` // The type of protection rule. Type DeploymentProtectionRuleType `json:"type"` }
A protection rule.
type DeploymentProtectionRuleConnection ¶ added in v0.0.3
type DeploymentProtectionRuleConnection struct { // A list of edges. Edges []*DeploymentProtectionRuleEdge `json:"edges"` // A list of nodes. Nodes []*DeploymentProtectionRule `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentProtectionRule.
type DeploymentProtectionRuleEdge ¶ added in v0.0.3
type DeploymentProtectionRuleEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DeploymentProtectionRule `json:"node"` }
An edge in a connection.
type DeploymentProtectionRuleType ¶ added in v0.0.3
type DeploymentProtectionRuleType string
The possible protection rule types.
const ( // Required reviewers DeploymentProtectionRuleTypeRequiredReviewers DeploymentProtectionRuleType = "REQUIRED_REVIEWERS" // Wait timer DeploymentProtectionRuleTypeWaitTimer DeploymentProtectionRuleType = "WAIT_TIMER" )
func (DeploymentProtectionRuleType) IsValid ¶ added in v0.0.3
func (e DeploymentProtectionRuleType) IsValid() bool
func (DeploymentProtectionRuleType) MarshalGQL ¶ added in v0.0.3
func (e DeploymentProtectionRuleType) MarshalGQL(w io.Writer)
func (DeploymentProtectionRuleType) String ¶ added in v0.0.3
func (e DeploymentProtectionRuleType) String() string
func (*DeploymentProtectionRuleType) UnmarshalGQL ¶ added in v0.0.3
func (e *DeploymentProtectionRuleType) UnmarshalGQL(v interface{}) error
type DeploymentRequest ¶ added in v0.0.3
type DeploymentRequest struct { // Whether or not the current user can approve the deployment CurrentUserCanApprove bool `json:"currentUserCanApprove"` // The target environment of the deployment Environment Environment `json:"environment"` // The teams or users that can review the deployment Reviewers DeploymentReviewerConnection `json:"reviewers"` // The wait timer in minutes configured in the environment WaitTimer int `json:"waitTimer"` // The wait timer in minutes configured in the environment WaitTimerStartedAt *time.Time `json:"waitTimerStartedAt"` }
A request to deploy a workflow run to an environment.
type DeploymentRequestConnection ¶ added in v0.0.3
type DeploymentRequestConnection struct { // A list of edges. Edges []*DeploymentRequestEdge `json:"edges"` // A list of nodes. Nodes []*DeploymentRequest `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentRequest.
type DeploymentRequestEdge ¶ added in v0.0.3
type DeploymentRequestEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DeploymentRequest `json:"node"` }
An edge in a connection.
type DeploymentReview ¶ added in v0.0.3
type DeploymentReview struct { // The comment the user left. Comment string `json:"comment"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The environments approved or rejected Environments EnvironmentConnection `json:"environments"` ID string `json:"id"` // The decision of the user. State DeploymentReviewState `json:"state"` // The user that reviewed the deployment. User User `json:"user"` }
A deployment review.
func (DeploymentReview) GetID ¶ added in v0.11.4
func (this DeploymentReview) GetID() string
ID of the object.
func (DeploymentReview) IsNode ¶ added in v0.0.3
func (DeploymentReview) IsNode()
type DeploymentReviewConnection ¶ added in v0.0.3
type DeploymentReviewConnection struct { // A list of edges. Edges []*DeploymentReviewEdge `json:"edges"` // A list of nodes. Nodes []*DeploymentReview `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentReview.
type DeploymentReviewEdge ¶ added in v0.0.3
type DeploymentReviewEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DeploymentReview `json:"node"` }
An edge in a connection.
type DeploymentReviewState ¶ added in v0.0.3
type DeploymentReviewState string
The possible states for a deployment review.
const ( // The deployment was approved. DeploymentReviewStateApproved DeploymentReviewState = "APPROVED" // The deployment was rejected. DeploymentReviewStateRejected DeploymentReviewState = "REJECTED" )
func (DeploymentReviewState) IsValid ¶ added in v0.0.3
func (e DeploymentReviewState) IsValid() bool
func (DeploymentReviewState) MarshalGQL ¶ added in v0.0.3
func (e DeploymentReviewState) MarshalGQL(w io.Writer)
func (DeploymentReviewState) String ¶ added in v0.0.3
func (e DeploymentReviewState) String() string
func (*DeploymentReviewState) UnmarshalGQL ¶ added in v0.0.3
func (e *DeploymentReviewState) UnmarshalGQL(v interface{}) error
type DeploymentReviewer ¶ added in v0.0.3
type DeploymentReviewer interface {
IsDeploymentReviewer()
}
Users and teams.
type DeploymentReviewerConnection ¶ added in v0.0.3
type DeploymentReviewerConnection struct { // A list of edges. Edges []*DeploymentReviewerEdge `json:"edges"` // A list of nodes. Nodes []DeploymentReviewer `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentReviewer.
type DeploymentReviewerEdge ¶ added in v0.0.3
type DeploymentReviewerEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node DeploymentReviewer `json:"node"` }
An edge in a connection.
type DeploymentState ¶
type DeploymentState string
The possible states in which a deployment can be.
const ( // The pending deployment was not updated after 30 minutes. DeploymentStateAbandoned DeploymentState = "ABANDONED" // The deployment is currently active. DeploymentStateActive DeploymentState = "ACTIVE" // An inactive transient deployment. DeploymentStateDestroyed DeploymentState = "DESTROYED" // The deployment experienced an error. DeploymentStateError DeploymentState = "ERROR" // The deployment has failed. DeploymentStateFailure DeploymentState = "FAILURE" // The deployment is inactive. DeploymentStateInactive DeploymentState = "INACTIVE" // The deployment is pending. DeploymentStatePending DeploymentState = "PENDING" // The deployment has queued DeploymentStateQueued DeploymentState = "QUEUED" // The deployment is in progress. DeploymentStateInProgress DeploymentState = "IN_PROGRESS" // The deployment is waiting. DeploymentStateWaiting DeploymentState = "WAITING" )
func (DeploymentState) IsValid ¶
func (e DeploymentState) IsValid() bool
func (DeploymentState) MarshalGQL ¶
func (e DeploymentState) MarshalGQL(w io.Writer)
func (DeploymentState) String ¶
func (e DeploymentState) String() string
func (*DeploymentState) UnmarshalGQL ¶
func (e *DeploymentState) UnmarshalGQL(v interface{}) error
type DeploymentStatus ¶
type DeploymentStatus struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the actor who triggered the deployment. Creator Actor `json:"creator"` // Identifies the deployment associated with status. Deployment Deployment `json:"deployment"` // Identifies the description of the deployment. Description *string `json:"description"` // Identifies the environment URL of the deployment. EnvironmentURL *string `json:"environmentUrl"` ID string `json:"id"` // Identifies the log URL of the deployment. LogURL *string `json:"logUrl"` // Identifies the current state of the deployment. State DeploymentStatusState `json:"state"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
Describes the status of a given deployment attempt.
func (DeploymentStatus) GetID ¶ added in v0.11.4
func (this DeploymentStatus) GetID() string
ID of the object.
func (DeploymentStatus) IsNode ¶
func (DeploymentStatus) IsNode()
type DeploymentStatusConnection ¶
type DeploymentStatusConnection struct { // A list of edges. Edges []*DeploymentStatusEdge `json:"edges"` // A list of nodes. Nodes []*DeploymentStatus `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentStatus.
type DeploymentStatusEdge ¶
type DeploymentStatusEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DeploymentStatus `json:"node"` }
An edge in a connection.
type DeploymentStatusState ¶
type DeploymentStatusState string
The possible states for a deployment status.
const ( // The deployment is pending. DeploymentStatusStatePending DeploymentStatusState = "PENDING" // The deployment was successful. DeploymentStatusStateSuccess DeploymentStatusState = "SUCCESS" // The deployment has failed. DeploymentStatusStateFailure DeploymentStatusState = "FAILURE" // The deployment is inactive. DeploymentStatusStateInactive DeploymentStatusState = "INACTIVE" // The deployment experienced an error. DeploymentStatusStateError DeploymentStatusState = "ERROR" // The deployment is queued DeploymentStatusStateQueued DeploymentStatusState = "QUEUED" // The deployment is in progress. DeploymentStatusStateInProgress DeploymentStatusState = "IN_PROGRESS" // The deployment is waiting. DeploymentStatusStateWaiting DeploymentStatusState = "WAITING" )
func (DeploymentStatusState) IsValid ¶
func (e DeploymentStatusState) IsValid() bool
func (DeploymentStatusState) MarshalGQL ¶
func (e DeploymentStatusState) MarshalGQL(w io.Writer)
func (DeploymentStatusState) String ¶
func (e DeploymentStatusState) String() string
func (*DeploymentStatusState) UnmarshalGQL ¶
func (e *DeploymentStatusState) UnmarshalGQL(v interface{}) error
type DiffSide ¶
type DiffSide string
The possible sides of a diff.
func (DiffSide) MarshalGQL ¶
func (*DiffSide) UnmarshalGQL ¶
type DisablePullRequestAutoMergeInput ¶
type DisablePullRequestAutoMergeInput struct { // ID of the pull request to disable auto merge on. PullRequestID string `json:"pullRequestId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DisablePullRequestAutoMerge
type DisablePullRequestAutoMergePayload ¶
type DisablePullRequestAutoMergePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request auto merge was disabled on. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of DisablePullRequestAutoMerge
type DisconnectedEvent ¶
type DisconnectedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Reference originated in a different repository. IsCrossRepository bool `json:"isCrossRepository"` // Issue or pull request from which the issue was disconnected. Source ReferencedSubject `json:"source"` // Issue or pull request which was disconnected. Subject ReferencedSubject `json:"subject"` }
Represents a 'disconnected' event on a given issue or pull request.
func (DisconnectedEvent) GetID ¶ added in v0.11.4
func (this DisconnectedEvent) GetID() string
ID of the object.
func (DisconnectedEvent) IsIssueTimelineItems ¶
func (DisconnectedEvent) IsIssueTimelineItems()
func (DisconnectedEvent) IsNode ¶
func (DisconnectedEvent) IsNode()
func (DisconnectedEvent) IsPullRequestTimelineItems ¶
func (DisconnectedEvent) IsPullRequestTimelineItems()
type Discussion ¶ added in v0.0.3
type Discussion struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason"` // The comment chosen as this discussion's answer, if any. Answer *DiscussionComment `json:"answer"` // The time when a user chose this discussion's answer, if answered. AnswerChosenAt *time.Time `json:"answerChosenAt"` // The user who chose this discussion's answer, if answered. AnswerChosenBy Actor `json:"answerChosenBy"` // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The main text of the discussion post. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // The category for this discussion. Category DiscussionCategory `json:"category"` // Indicates if the object is closed (definition of closed may depend on type) Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // The replies to the discussion. Comments DiscussionCommentConnection `json:"comments"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // A list of labels associated with the object. Labels *LabelConnection `json:"labels"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // `true` if the object is locked Locked bool `json:"locked"` // The number identifying this discussion within the repository. Number int `json:"number"` // The poll associated with this discussion, if one exists. Poll *DiscussionPoll `json:"poll"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The path for this discussion. ResourcePath string `json:"resourcePath"` // The title of this discussion. Title string `json:"title"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // Number of upvotes that this subject has received. UpvoteCount int `json:"upvoteCount"` // The URL for this discussion. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Whether or not the current user can add or remove an upvote on this subject. ViewerCanUpvote bool `json:"viewerCanUpvote"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // Whether or not the current user has already upvoted this subject. ViewerHasUpvoted bool `json:"viewerHasUpvoted"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` }
A discussion in a repository.
func (Discussion) GetActiveLockReason ¶ added in v0.11.4
func (this Discussion) GetActiveLockReason() *LockReason
Reason that the conversation was locked.
func (Discussion) GetAuthor ¶ added in v0.11.4
func (this Discussion) GetAuthor() Actor
The actor who authored the comment.
func (Discussion) GetAuthorAssociation ¶ added in v0.11.4
func (this Discussion) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (Discussion) GetBody ¶ added in v0.11.4
func (this Discussion) GetBody() string
The body as Markdown.
func (Discussion) GetBodyHTML ¶ added in v0.11.4
func (this Discussion) GetBodyHTML() string
The body rendered to HTML.
func (Discussion) GetBodyText ¶ added in v0.11.4
func (this Discussion) GetBodyText() string
The body rendered to text.
func (Discussion) GetClosed ¶ added in v0.11.4
func (this Discussion) GetClosed() bool
Indicates if the object is closed (definition of closed may depend on type)
func (Discussion) GetClosedAt ¶ added in v0.11.4
func (this Discussion) GetClosedAt() *time.Time
Identifies the date and time when the object was closed.
func (Discussion) GetCreatedAt ¶ added in v0.11.4
func (this Discussion) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (Discussion) GetCreatedViaEmail ¶ added in v0.11.4
func (this Discussion) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (Discussion) GetDatabaseID ¶ added in v0.11.4
func (this Discussion) GetDatabaseID() *int
Identifies the primary key from the database.
func (Discussion) GetEditor ¶ added in v0.11.4
func (this Discussion) GetEditor() Actor
The actor who edited the comment.
func (Discussion) GetID ¶ added in v0.11.4
func (this Discussion) GetID() string
func (Discussion) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this Discussion) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (Discussion) GetLabels ¶ added in v0.11.4
func (this Discussion) GetLabels() *LabelConnection
A list of labels associated with the object.
func (Discussion) GetLastEditedAt ¶ added in v0.11.4
func (this Discussion) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (Discussion) GetLocked ¶ added in v0.11.4
func (this Discussion) GetLocked() bool
`true` if the object is locked
func (Discussion) GetPublishedAt ¶ added in v0.11.4
func (this Discussion) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (Discussion) GetReactionGroups ¶ added in v0.11.4
func (this Discussion) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (Discussion) GetReactions ¶ added in v0.11.4
func (this Discussion) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (Discussion) GetRepository ¶ added in v0.11.4
func (this Discussion) GetRepository() Repository
The repository associated with this node.
func (Discussion) GetUpdatedAt ¶ added in v0.11.4
func (this Discussion) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (Discussion) GetUpvoteCount ¶ added in v0.11.4
func (this Discussion) GetUpvoteCount() int
Number of upvotes that this subject has received.
func (Discussion) GetUserContentEdits ¶ added in v0.11.4
func (this Discussion) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (Discussion) GetViewerCanDelete ¶ added in v0.11.4
func (this Discussion) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (Discussion) GetViewerCanReact ¶ added in v0.11.4
func (this Discussion) GetViewerCanReact() bool
Can user react to this subject
func (Discussion) GetViewerCanSubscribe ¶ added in v0.11.4
func (this Discussion) GetViewerCanSubscribe() bool
Check if the viewer is able to change their subscription status for the repository.
func (Discussion) GetViewerCanUpdate ¶ added in v0.11.4
func (this Discussion) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (Discussion) GetViewerCanUpvote ¶ added in v0.11.4
func (this Discussion) GetViewerCanUpvote() bool
Whether or not the current user can add or remove an upvote on this subject.
func (Discussion) GetViewerDidAuthor ¶ added in v0.11.4
func (this Discussion) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (Discussion) GetViewerHasUpvoted ¶ added in v0.11.4
func (this Discussion) GetViewerHasUpvoted() bool
Whether or not the current user has already upvoted this subject.
func (Discussion) GetViewerSubscription ¶ added in v0.11.4
func (this Discussion) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (Discussion) IsClosable ¶ added in v0.11.4
func (Discussion) IsClosable()
func (Discussion) IsComment ¶ added in v0.0.3
func (Discussion) IsComment()
func (Discussion) IsDeletable ¶ added in v0.0.3
func (Discussion) IsDeletable()
func (Discussion) IsLabelable ¶ added in v0.0.3
func (Discussion) IsLabelable()
func (Discussion) IsLockable ¶ added in v0.0.3
func (Discussion) IsLockable()
func (Discussion) IsNode ¶ added in v0.0.3
func (Discussion) IsNode()
func (Discussion) IsReactable ¶ added in v0.0.3
func (Discussion) IsReactable()
func (Discussion) IsRepositoryNode ¶ added in v0.0.3
func (Discussion) IsRepositoryNode()
func (Discussion) IsSearchResultItem ¶ added in v0.0.3
func (Discussion) IsSearchResultItem()
func (Discussion) IsSubscribable ¶ added in v0.0.3
func (Discussion) IsSubscribable()
func (Discussion) IsUpdatable ¶ added in v0.0.3
func (Discussion) IsUpdatable()
func (Discussion) IsVotable ¶ added in v0.0.3
func (Discussion) IsVotable()
type DiscussionCategory ¶ added in v0.0.3
type DiscussionCategory struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // A description of this category. Description *string `json:"description"` // An emoji representing this category. Emoji string `json:"emoji"` // This category's emoji rendered as HTML. EmojiHTML string `json:"emojiHTML"` ID string `json:"id"` // Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation. IsAnswerable bool `json:"isAnswerable"` // The name of this category. Name string `json:"name"` // The repository associated with this node. Repository Repository `json:"repository"` // The slug of this category. Slug string `json:"slug"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A category for discussions in a repository.
func (DiscussionCategory) GetID ¶ added in v0.11.4
func (this DiscussionCategory) GetID() string
ID of the object.
func (DiscussionCategory) GetRepository ¶ added in v0.11.4
func (this DiscussionCategory) GetRepository() Repository
The repository associated with this node.
func (DiscussionCategory) IsNode ¶ added in v0.0.3
func (DiscussionCategory) IsNode()
func (DiscussionCategory) IsRepositoryNode ¶ added in v0.0.3
func (DiscussionCategory) IsRepositoryNode()
type DiscussionCategoryConnection ¶ added in v0.0.3
type DiscussionCategoryConnection struct { // A list of edges. Edges []*DiscussionCategoryEdge `json:"edges"` // A list of nodes. Nodes []*DiscussionCategory `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DiscussionCategory.
type DiscussionCategoryEdge ¶ added in v0.0.3
type DiscussionCategoryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DiscussionCategory `json:"node"` }
An edge in a connection.
type DiscussionComment ¶ added in v0.0.3
type DiscussionComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The body as Markdown. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The time when this replied-to comment was deleted DeletedAt *time.Time `json:"deletedAt"` // The discussion this comment was created in Discussion *Discussion `json:"discussion"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Has this comment been chosen as the answer of its discussion? IsAnswer bool `json:"isAnswer"` // Returns whether or not a comment has been minimized. IsMinimized bool `json:"isMinimized"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. MinimizedReason *string `json:"minimizedReason"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The threaded replies to this comment. Replies DiscussionCommentConnection `json:"replies"` // The discussion comment this comment is a reply to ReplyTo *DiscussionComment `json:"replyTo"` // The path for this discussion comment. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // Number of upvotes that this subject has received. UpvoteCount int `json:"upvoteCount"` // The URL for this discussion comment. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Can the current user mark this comment as an answer? ViewerCanMarkAsAnswer bool `json:"viewerCanMarkAsAnswer"` // Check if the current viewer can minimize this object. ViewerCanMinimize bool `json:"viewerCanMinimize"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Can the current user unmark this comment as an answer? ViewerCanUnmarkAsAnswer bool `json:"viewerCanUnmarkAsAnswer"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Whether or not the current user can add or remove an upvote on this subject. ViewerCanUpvote bool `json:"viewerCanUpvote"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // Whether or not the current user has already upvoted this subject. ViewerHasUpvoted bool `json:"viewerHasUpvoted"` }
A comment on a discussion.
func (DiscussionComment) GetAuthor ¶ added in v0.11.4
func (this DiscussionComment) GetAuthor() Actor
The actor who authored the comment.
func (DiscussionComment) GetAuthorAssociation ¶ added in v0.11.4
func (this DiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (DiscussionComment) GetBody ¶ added in v0.11.4
func (this DiscussionComment) GetBody() string
The body as Markdown.
func (DiscussionComment) GetBodyHTML ¶ added in v0.11.4
func (this DiscussionComment) GetBodyHTML() string
The body rendered to HTML.
func (DiscussionComment) GetBodyText ¶ added in v0.11.4
func (this DiscussionComment) GetBodyText() string
The body rendered to text.
func (DiscussionComment) GetCreatedAt ¶ added in v0.11.4
func (this DiscussionComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (DiscussionComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this DiscussionComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (DiscussionComment) GetDatabaseID ¶ added in v0.11.4
func (this DiscussionComment) GetDatabaseID() *int
Identifies the primary key from the database.
func (DiscussionComment) GetEditor ¶ added in v0.11.4
func (this DiscussionComment) GetEditor() Actor
The actor who edited the comment.
func (DiscussionComment) GetID ¶ added in v0.11.4
func (this DiscussionComment) GetID() string
func (DiscussionComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this DiscussionComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (DiscussionComment) GetIsMinimized ¶ added in v0.11.4
func (this DiscussionComment) GetIsMinimized() bool
Returns whether or not a comment has been minimized.
func (DiscussionComment) GetLastEditedAt ¶ added in v0.11.4
func (this DiscussionComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (DiscussionComment) GetMinimizedReason ¶ added in v0.11.4
func (this DiscussionComment) GetMinimizedReason() *string
Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
func (DiscussionComment) GetPublishedAt ¶ added in v0.11.4
func (this DiscussionComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (DiscussionComment) GetReactionGroups ¶ added in v0.11.4
func (this DiscussionComment) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (DiscussionComment) GetReactions ¶ added in v0.11.4
func (this DiscussionComment) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (DiscussionComment) GetUpdatedAt ¶ added in v0.11.4
func (this DiscussionComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (DiscussionComment) GetUpvoteCount ¶ added in v0.11.4
func (this DiscussionComment) GetUpvoteCount() int
Number of upvotes that this subject has received.
func (DiscussionComment) GetUserContentEdits ¶ added in v0.11.4
func (this DiscussionComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (DiscussionComment) GetViewerCanDelete ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (DiscussionComment) GetViewerCanMinimize ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCanMinimize() bool
Check if the current viewer can minimize this object.
func (DiscussionComment) GetViewerCanReact ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCanReact() bool
Can user react to this subject
func (DiscussionComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (DiscussionComment) GetViewerCanUpvote ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCanUpvote() bool
Whether or not the current user can add or remove an upvote on this subject.
func (DiscussionComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this DiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (DiscussionComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this DiscussionComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (DiscussionComment) GetViewerHasUpvoted ¶ added in v0.11.4
func (this DiscussionComment) GetViewerHasUpvoted() bool
Whether or not the current user has already upvoted this subject.
func (DiscussionComment) IsComment ¶ added in v0.0.3
func (DiscussionComment) IsComment()
func (DiscussionComment) IsDeletable ¶ added in v0.0.3
func (DiscussionComment) IsDeletable()
func (DiscussionComment) IsMinimizable ¶ added in v0.0.3
func (DiscussionComment) IsMinimizable()
func (DiscussionComment) IsNode ¶ added in v0.0.3
func (DiscussionComment) IsNode()
func (DiscussionComment) IsReactable ¶ added in v0.0.3
func (DiscussionComment) IsReactable()
func (DiscussionComment) IsUpdatable ¶ added in v0.0.3
func (DiscussionComment) IsUpdatable()
func (DiscussionComment) IsUpdatableComment ¶ added in v0.0.3
func (DiscussionComment) IsUpdatableComment()
func (DiscussionComment) IsVotable ¶ added in v0.0.3
func (DiscussionComment) IsVotable()
type DiscussionCommentConnection ¶ added in v0.0.3
type DiscussionCommentConnection struct { // A list of edges. Edges []*DiscussionCommentEdge `json:"edges"` // A list of nodes. Nodes []*DiscussionComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DiscussionComment.
type DiscussionCommentEdge ¶ added in v0.0.3
type DiscussionCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DiscussionComment `json:"node"` }
An edge in a connection.
type DiscussionConnection ¶ added in v0.0.3
type DiscussionConnection struct { // A list of edges. Edges []*DiscussionEdge `json:"edges"` // A list of nodes. Nodes []*Discussion `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Discussion.
type DiscussionEdge ¶ added in v0.0.3
type DiscussionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Discussion `json:"node"` }
An edge in a connection.
type DiscussionOrder ¶ added in v0.0.3
type DiscussionOrder struct { // The field by which to order discussions. Field DiscussionOrderField `json:"field"` // The direction in which to order discussions by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of discussions can be ordered upon return.
type DiscussionOrderField ¶ added in v0.0.3
type DiscussionOrderField string
Properties by which discussion connections can be ordered.
const ( // Order discussions by creation time. DiscussionOrderFieldCreatedAt DiscussionOrderField = "CREATED_AT" // Order discussions by most recent modification time. DiscussionOrderFieldUpdatedAt DiscussionOrderField = "UPDATED_AT" )
func (DiscussionOrderField) IsValid ¶ added in v0.0.3
func (e DiscussionOrderField) IsValid() bool
func (DiscussionOrderField) MarshalGQL ¶ added in v0.0.3
func (e DiscussionOrderField) MarshalGQL(w io.Writer)
func (DiscussionOrderField) String ¶ added in v0.0.3
func (e DiscussionOrderField) String() string
func (*DiscussionOrderField) UnmarshalGQL ¶ added in v0.0.3
func (e *DiscussionOrderField) UnmarshalGQL(v interface{}) error
type DiscussionPoll ¶ added in v0.11.4
type DiscussionPoll struct { // The discussion that this poll belongs to. Discussion *Discussion `json:"discussion"` ID string `json:"id"` // The options for this poll. Options *DiscussionPollOptionConnection `json:"options"` // The question that is being asked by this poll. Question string `json:"question"` // The total number of votes that have been cast for this poll. TotalVoteCount int `json:"totalVoteCount"` // Indicates if the viewer has permission to vote in this poll. ViewerCanVote bool `json:"viewerCanVote"` // Indicates if the viewer has voted for any option in this poll. ViewerHasVoted bool `json:"viewerHasVoted"` }
A poll for a discussion.
func (DiscussionPoll) GetID ¶ added in v0.11.4
func (this DiscussionPoll) GetID() string
ID of the object.
func (DiscussionPoll) IsNode ¶ added in v0.11.4
func (DiscussionPoll) IsNode()
type DiscussionPollOption ¶ added in v0.11.4
type DiscussionPollOption struct { ID string `json:"id"` // The text for this option. Option string `json:"option"` // The discussion poll that this option belongs to. Poll *DiscussionPoll `json:"poll"` // The total number of votes that have been cast for this option. TotalVoteCount int `json:"totalVoteCount"` // Indicates if the viewer has voted for this option in the poll. ViewerHasVoted bool `json:"viewerHasVoted"` }
An option for a discussion poll.
func (DiscussionPollOption) GetID ¶ added in v0.11.4
func (this DiscussionPollOption) GetID() string
ID of the object.
func (DiscussionPollOption) IsNode ¶ added in v0.11.4
func (DiscussionPollOption) IsNode()
type DiscussionPollOptionConnection ¶ added in v0.11.4
type DiscussionPollOptionConnection struct { // A list of edges. Edges []*DiscussionPollOptionEdge `json:"edges"` // A list of nodes. Nodes []*DiscussionPollOption `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DiscussionPollOption.
type DiscussionPollOptionEdge ¶ added in v0.11.4
type DiscussionPollOptionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *DiscussionPollOption `json:"node"` }
An edge in a connection.
type DiscussionPollOptionOrder ¶ added in v0.11.4
type DiscussionPollOptionOrder struct { // The field to order poll options by. Field DiscussionPollOptionOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for discussion poll option connections.
type DiscussionPollOptionOrderField ¶ added in v0.11.4
type DiscussionPollOptionOrderField string
Properties by which discussion poll option connections can be ordered.
const ( // Order poll options by the order that the poll author specified when creating the poll. DiscussionPollOptionOrderFieldAuthoredOrder DiscussionPollOptionOrderField = "AUTHORED_ORDER" // Order poll options by the number of votes it has. DiscussionPollOptionOrderFieldVoteCount DiscussionPollOptionOrderField = "VOTE_COUNT" )
func (DiscussionPollOptionOrderField) IsValid ¶ added in v0.11.4
func (e DiscussionPollOptionOrderField) IsValid() bool
func (DiscussionPollOptionOrderField) MarshalGQL ¶ added in v0.11.4
func (e DiscussionPollOptionOrderField) MarshalGQL(w io.Writer)
func (DiscussionPollOptionOrderField) String ¶ added in v0.11.4
func (e DiscussionPollOptionOrderField) String() string
func (*DiscussionPollOptionOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *DiscussionPollOptionOrderField) UnmarshalGQL(v interface{}) error
type DismissPullRequestReviewInput ¶
type DismissPullRequestReviewInput struct { // The Node ID of the pull request review to modify. PullRequestReviewID string `json:"pullRequestReviewId"` // The contents of the pull request review dismissal message. Message string `json:"message"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DismissPullRequestReview
type DismissPullRequestReviewPayload ¶
type DismissPullRequestReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The dismissed pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview"` }
Autogenerated return type of DismissPullRequestReview
type DismissReason ¶ added in v0.0.4
type DismissReason string
The possible reasons that a Dependabot alert was dismissed.
const ( // A fix has already been started DismissReasonFixStarted DismissReason = "FIX_STARTED" // No bandwidth to fix this DismissReasonNoBandwidth DismissReason = "NO_BANDWIDTH" // Risk is tolerable to this project DismissReasonTolerableRisk DismissReason = "TOLERABLE_RISK" // This alert is inaccurate or incorrect DismissReasonInaccurate DismissReason = "INACCURATE" // Vulnerable code is not actually used DismissReasonNotUsed DismissReason = "NOT_USED" )
func (DismissReason) IsValid ¶ added in v0.0.4
func (e DismissReason) IsValid() bool
func (DismissReason) MarshalGQL ¶ added in v0.0.4
func (e DismissReason) MarshalGQL(w io.Writer)
func (DismissReason) String ¶ added in v0.0.4
func (e DismissReason) String() string
func (*DismissReason) UnmarshalGQL ¶ added in v0.0.4
func (e *DismissReason) UnmarshalGQL(v interface{}) error
type DismissRepositoryVulnerabilityAlertInput ¶ added in v0.0.4
type DismissRepositoryVulnerabilityAlertInput struct { // The Dependabot alert ID to dismiss. RepositoryVulnerabilityAlertID string `json:"repositoryVulnerabilityAlertId"` // The reason the Dependabot alert is being dismissed. DismissReason DismissReason `json:"dismissReason"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of DismissRepositoryVulnerabilityAlert
type DismissRepositoryVulnerabilityAlertPayload ¶ added in v0.0.4
type DismissRepositoryVulnerabilityAlertPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The Dependabot alert that was dismissed RepositoryVulnerabilityAlert *RepositoryVulnerabilityAlert `json:"repositoryVulnerabilityAlert"` }
Autogenerated return type of DismissRepositoryVulnerabilityAlert
type DraftIssue ¶ added in v0.11.4
type DraftIssue struct { // A list of users to assigned to this draft issue. Assignees UserConnection `json:"assignees"` // The body of the draft issue. Body string `json:"body"` // The body of the draft issue rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body of the draft issue rendered to text. BodyText string `json:"bodyText"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created this draft issue. Creator Actor `json:"creator"` ID string `json:"id"` // List of items linked with the draft issue (currently draft issue can be linked to only one item). ProjectV2Items ProjectV2ItemConnection `json:"projectV2Items"` // Projects that link to this draft issue (currently draft issue can be linked to only one project). ProjectsV2 ProjectV2Connection `json:"projectsV2"` // The title of the draft issue Title string `json:"title"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A draft issue within a project.
func (DraftIssue) IsNode ¶ added in v0.11.4
func (DraftIssue) IsNode()
func (DraftIssue) IsProjectV2ItemContent ¶ added in v0.11.4
func (DraftIssue) IsProjectV2ItemContent()
type DraftPullRequestReviewComment ¶
type DraftPullRequestReviewComment struct { // Path to the file being commented on. Path string `json:"path"` // Position in the file to leave a comment on. Position int `json:"position"` // Body of the comment to leave. Body string `json:"body"` }
Specifies a review comment to be left with a Pull Request Review.
type DraftPullRequestReviewThread ¶
type DraftPullRequestReviewThread struct { // Path to the file being commented on. Path string `json:"path"` // The line of the blob to which the thread refers. The end of the line range for multi-line comments. Line int `json:"line"` // 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. Side *DiffSide `json:"side,omitempty"` // The first line of the range to which the comment refers. StartLine *int `json:"startLine,omitempty"` // The side of the diff on which the start line resides. StartSide *DiffSide `json:"startSide,omitempty"` // Body of the comment to leave. Body string `json:"body"` }
Specifies a review comment thread to be left with a Pull Request Review.
type EnablePullRequestAutoMergeInput ¶
type EnablePullRequestAutoMergeInput struct { // ID of the pull request to enable auto-merge on. PullRequestID string `json:"pullRequestId"` // Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. CommitHeadline *string `json:"commitHeadline,omitempty"` // Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. CommitBody *string `json:"commitBody,omitempty"` // The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored. MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"` // The email address to associate with this merge. AuthorEmail *string `json:"authorEmail,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of EnablePullRequestAutoMerge
type EnablePullRequestAutoMergePayload ¶
type EnablePullRequestAutoMergePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request auto-merge was enabled on. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of EnablePullRequestAutoMerge
type Enterprise ¶
type Enterprise struct { // The text of the announcement Announcement *string `json:"announcement"` // The expiration date of the announcement, if any AnnouncementExpiresAt *time.Time `json:"announcementExpiresAt"` // Whether the announcement can be dismissed by the user AnnouncementUserDismissible *bool `json:"announcementUserDismissible"` // A URL pointing to the enterprise's public avatar. AvatarURL string `json:"avatarUrl"` // Enterprise billing information visible to enterprise billing managers. BillingInfo *EnterpriseBillingInfo `json:"billingInfo"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The description of the enterprise. Description *string `json:"description"` // The description of the enterprise as HTML. DescriptionHTML string `json:"descriptionHTML"` ID string `json:"id"` // The location of the enterprise. Location *string `json:"location"` // A list of users who are members of this enterprise. Members EnterpriseMemberConnection `json:"members"` // The name of the enterprise. Name string `json:"name"` // A list of organizations that belong to this enterprise. Organizations OrganizationConnection `json:"organizations"` // Enterprise information only visible to enterprise owners. OwnerInfo *EnterpriseOwnerInfo `json:"ownerInfo"` // The HTTP path for this enterprise. ResourcePath string `json:"resourcePath"` // The URL-friendly identifier for the enterprise. Slug string `json:"slug"` // The HTTP URL for this enterprise. URL string `json:"url"` // Is the current viewer an admin of this enterprise? ViewerIsAdmin bool `json:"viewerIsAdmin"` // The URL of the enterprise website. WebsiteURL *string `json:"websiteUrl"` }
An account to manage multiple organizations with consolidated policy and billing.
func (Enterprise) GetAnnouncement ¶ added in v0.11.4
func (this Enterprise) GetAnnouncement() *string
The text of the announcement
func (Enterprise) GetAnnouncementExpiresAt ¶ added in v0.11.4
func (this Enterprise) GetAnnouncementExpiresAt() *time.Time
The expiration date of the announcement, if any
func (Enterprise) GetAnnouncementUserDismissible ¶ added in v0.11.4
func (this Enterprise) GetAnnouncementUserDismissible() *bool
Whether the announcement can be dismissed by the user
func (Enterprise) IsAnnouncementBanner ¶ added in v0.11.4
func (Enterprise) IsAnnouncementBanner()
func (Enterprise) IsIPAllowListOwner ¶
func (Enterprise) IsIPAllowListOwner()
func (Enterprise) IsNode ¶
func (Enterprise) IsNode()
func (Enterprise) IsVerifiableDomainOwner ¶
func (Enterprise) IsVerifiableDomainOwner()
type EnterpriseAdministratorConnection ¶
type EnterpriseAdministratorConnection struct { // A list of edges. Edges []*EnterpriseAdministratorEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type EnterpriseAdministratorEdge ¶
type EnterpriseAdministratorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *User `json:"node"` // The role of the administrator. Role EnterpriseAdministratorRole `json:"role"` }
A User who is an administrator of an enterprise.
type EnterpriseAdministratorInvitation ¶
type EnterpriseAdministratorInvitation struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The email of the person who was invited to the enterprise. Email *string `json:"email"` // The enterprise the invitation is for. Enterprise Enterprise `json:"enterprise"` ID string `json:"id"` // The user who was invited to the enterprise. Invitee *User `json:"invitee"` // The user who created the invitation. Inviter *User `json:"inviter"` // The invitee's pending role in the enterprise (owner or billing_manager). Role EnterpriseAdministratorRole `json:"role"` }
An invitation for a user to become an owner or billing manager of an enterprise.
func (EnterpriseAdministratorInvitation) GetID ¶ added in v0.11.4
func (this EnterpriseAdministratorInvitation) GetID() string
ID of the object.
func (EnterpriseAdministratorInvitation) IsNode ¶
func (EnterpriseAdministratorInvitation) IsNode()
type EnterpriseAdministratorInvitationConnection ¶
type EnterpriseAdministratorInvitationConnection struct { // A list of edges. Edges []*EnterpriseAdministratorInvitationEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseAdministratorInvitation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseAdministratorInvitation.
type EnterpriseAdministratorInvitationEdge ¶
type EnterpriseAdministratorInvitationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseAdministratorInvitation `json:"node"` }
An edge in a connection.
type EnterpriseAdministratorInvitationOrder ¶
type EnterpriseAdministratorInvitationOrder struct { // The field to order enterprise administrator invitations by. Field EnterpriseAdministratorInvitationOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for enterprise administrator invitation connections
type EnterpriseAdministratorInvitationOrderField ¶
type EnterpriseAdministratorInvitationOrderField string
Properties by which enterprise administrator invitation connections can be ordered.
const ( // Order enterprise administrator member invitations by creation time EnterpriseAdministratorInvitationOrderFieldCreatedAt EnterpriseAdministratorInvitationOrderField = "CREATED_AT" )
func (EnterpriseAdministratorInvitationOrderField) IsValid ¶
func (e EnterpriseAdministratorInvitationOrderField) IsValid() bool
func (EnterpriseAdministratorInvitationOrderField) MarshalGQL ¶
func (e EnterpriseAdministratorInvitationOrderField) MarshalGQL(w io.Writer)
func (EnterpriseAdministratorInvitationOrderField) String ¶
func (e EnterpriseAdministratorInvitationOrderField) String() string
func (*EnterpriseAdministratorInvitationOrderField) UnmarshalGQL ¶
func (e *EnterpriseAdministratorInvitationOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseAdministratorRole ¶
type EnterpriseAdministratorRole string
The possible administrator roles in an enterprise account.
const ( // Represents an owner of the enterprise account. EnterpriseAdministratorRoleOwner EnterpriseAdministratorRole = "OWNER" // Represents a billing manager of the enterprise account. EnterpriseAdministratorRoleBillingManager EnterpriseAdministratorRole = "BILLING_MANAGER" )
func (EnterpriseAdministratorRole) IsValid ¶
func (e EnterpriseAdministratorRole) IsValid() bool
func (EnterpriseAdministratorRole) MarshalGQL ¶
func (e EnterpriseAdministratorRole) MarshalGQL(w io.Writer)
func (EnterpriseAdministratorRole) String ¶
func (e EnterpriseAdministratorRole) String() string
func (*EnterpriseAdministratorRole) UnmarshalGQL ¶
func (e *EnterpriseAdministratorRole) UnmarshalGQL(v interface{}) error
type EnterpriseAllowPrivateRepositoryForkingPolicyValue ¶ added in v0.11.4
type EnterpriseAllowPrivateRepositoryForkingPolicyValue string
The possible values for the enterprise allow private repository forking policy value.
const ( // Members can fork a repository to an organization within this enterprise. EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizations EnterpriseAllowPrivateRepositoryForkingPolicyValue = "ENTERPRISE_ORGANIZATIONS" // Members can fork a repository only within the same organization (intra-org). EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganization EnterpriseAllowPrivateRepositoryForkingPolicyValue = "SAME_ORGANIZATION" // Members can fork a repository to their user account or within the same organization. EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganizationUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "SAME_ORGANIZATION_USER_ACCOUNTS" // Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizationsUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS" // Members can fork a repository to their user account. EnterpriseAllowPrivateRepositoryForkingPolicyValueUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "USER_ACCOUNTS" // Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. EnterpriseAllowPrivateRepositoryForkingPolicyValueEverywhere EnterpriseAllowPrivateRepositoryForkingPolicyValue = "EVERYWHERE" )
func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) IsValid ¶ added in v0.11.4
func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) IsValid() bool
func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) MarshalGQL ¶ added in v0.11.4
func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) MarshalGQL(w io.Writer)
func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) String ¶ added in v0.11.4
func (e EnterpriseAllowPrivateRepositoryForkingPolicyValue) String() string
func (*EnterpriseAllowPrivateRepositoryForkingPolicyValue) UnmarshalGQL ¶ added in v0.11.4
func (e *EnterpriseAllowPrivateRepositoryForkingPolicyValue) UnmarshalGQL(v interface{}) error
type EnterpriseAuditEntryData ¶
type EnterpriseAuditEntryData interface { IsEnterpriseAuditEntryData() // The HTTP path for this enterprise. GetEnterpriseResourcePath() *string // The slug of the enterprise. GetEnterpriseSlug() *string // The HTTP URL for this enterprise. GetEnterpriseURL() *string }
Metadata for an audit entry containing enterprise account information.
type EnterpriseBillingInfo ¶
type EnterpriseBillingInfo struct { // The number of licenseable users/emails across the enterprise. AllLicensableUsersCount int `json:"allLicensableUsersCount"` // The number of data packs used by all organizations owned by the enterprise. AssetPacks int `json:"assetPacks"` // The bandwidth quota in GB for all organizations owned by the enterprise. BandwidthQuota float64 `json:"bandwidthQuota"` // The bandwidth usage in GB for all organizations owned by the enterprise. BandwidthUsage float64 `json:"bandwidthUsage"` // The bandwidth usage as a percentage of the bandwidth quota. BandwidthUsagePercentage int `json:"bandwidthUsagePercentage"` // The storage quota in GB for all organizations owned by the enterprise. StorageQuota float64 `json:"storageQuota"` // The storage usage in GB for all organizations owned by the enterprise. StorageUsage float64 `json:"storageUsage"` // The storage usage as a percentage of the storage quota. StorageUsagePercentage int `json:"storageUsagePercentage"` // The number of available licenses across all owned organizations based on the unique number of billable users. TotalAvailableLicenses int `json:"totalAvailableLicenses"` // The total number of licenses allocated. TotalLicenses int `json:"totalLicenses"` }
Enterprise billing information visible to enterprise billing managers and owners.
type EnterpriseDefaultRepositoryPermissionSettingValue ¶
type EnterpriseDefaultRepositoryPermissionSettingValue string
The possible values for the enterprise base repository permission setting.
const ( // Organizations in the enterprise choose base repository permissions for their members. EnterpriseDefaultRepositoryPermissionSettingValueNoPolicy EnterpriseDefaultRepositoryPermissionSettingValue = "NO_POLICY" // Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. EnterpriseDefaultRepositoryPermissionSettingValueAdmin EnterpriseDefaultRepositoryPermissionSettingValue = "ADMIN" // Organization members will be able to clone, pull, and push all organization repositories. EnterpriseDefaultRepositoryPermissionSettingValueWrite EnterpriseDefaultRepositoryPermissionSettingValue = "WRITE" // Organization members will be able to clone and pull all organization repositories. EnterpriseDefaultRepositoryPermissionSettingValueRead EnterpriseDefaultRepositoryPermissionSettingValue = "READ" // Organization members will only be able to clone and pull public repositories. EnterpriseDefaultRepositoryPermissionSettingValueNone EnterpriseDefaultRepositoryPermissionSettingValue = "NONE" )
func (EnterpriseDefaultRepositoryPermissionSettingValue) IsValid ¶
func (e EnterpriseDefaultRepositoryPermissionSettingValue) IsValid() bool
func (EnterpriseDefaultRepositoryPermissionSettingValue) MarshalGQL ¶
func (e EnterpriseDefaultRepositoryPermissionSettingValue) MarshalGQL(w io.Writer)
func (EnterpriseDefaultRepositoryPermissionSettingValue) String ¶
func (e EnterpriseDefaultRepositoryPermissionSettingValue) String() string
func (*EnterpriseDefaultRepositoryPermissionSettingValue) UnmarshalGQL ¶
func (e *EnterpriseDefaultRepositoryPermissionSettingValue) UnmarshalGQL(v interface{}) error
type EnterpriseEnabledDisabledSettingValue ¶
type EnterpriseEnabledDisabledSettingValue string
The possible values for an enabled/disabled enterprise setting.
const ( // The setting is enabled for organizations in the enterprise. EnterpriseEnabledDisabledSettingValueEnabled EnterpriseEnabledDisabledSettingValue = "ENABLED" // The setting is disabled for organizations in the enterprise. EnterpriseEnabledDisabledSettingValueDisabled EnterpriseEnabledDisabledSettingValue = "DISABLED" // There is no policy set for organizations in the enterprise. EnterpriseEnabledDisabledSettingValueNoPolicy EnterpriseEnabledDisabledSettingValue = "NO_POLICY" )
func (EnterpriseEnabledDisabledSettingValue) IsValid ¶
func (e EnterpriseEnabledDisabledSettingValue) IsValid() bool
func (EnterpriseEnabledDisabledSettingValue) MarshalGQL ¶
func (e EnterpriseEnabledDisabledSettingValue) MarshalGQL(w io.Writer)
func (EnterpriseEnabledDisabledSettingValue) String ¶
func (e EnterpriseEnabledDisabledSettingValue) String() string
func (*EnterpriseEnabledDisabledSettingValue) UnmarshalGQL ¶
func (e *EnterpriseEnabledDisabledSettingValue) UnmarshalGQL(v interface{}) error
type EnterpriseEnabledSettingValue ¶
type EnterpriseEnabledSettingValue string
The possible values for an enabled/no policy enterprise setting.
const ( // The setting is enabled for organizations in the enterprise. EnterpriseEnabledSettingValueEnabled EnterpriseEnabledSettingValue = "ENABLED" // There is no policy set for organizations in the enterprise. EnterpriseEnabledSettingValueNoPolicy EnterpriseEnabledSettingValue = "NO_POLICY" )
func (EnterpriseEnabledSettingValue) IsValid ¶
func (e EnterpriseEnabledSettingValue) IsValid() bool
func (EnterpriseEnabledSettingValue) MarshalGQL ¶
func (e EnterpriseEnabledSettingValue) MarshalGQL(w io.Writer)
func (EnterpriseEnabledSettingValue) String ¶
func (e EnterpriseEnabledSettingValue) String() string
func (*EnterpriseEnabledSettingValue) UnmarshalGQL ¶
func (e *EnterpriseEnabledSettingValue) UnmarshalGQL(v interface{}) error
type EnterpriseFailedInvitationConnection ¶ added in v0.11.4
type EnterpriseFailedInvitationConnection struct { // A list of edges. Edges []*EnterpriseFailedInvitationEdge `json:"edges"` // A list of nodes. Nodes []*OrganizationInvitation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // Identifies the total count of unique users in the connection. TotalUniqueUserCount int `json:"totalUniqueUserCount"` }
The connection type for OrganizationInvitation.
type EnterpriseFailedInvitationEdge ¶ added in v0.11.4
type EnterpriseFailedInvitationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *OrganizationInvitation `json:"node"` }
A failed invitation to be a member in an enterprise organization.
type EnterpriseIdentityProvider ¶
type EnterpriseIdentityProvider struct { // The digest algorithm used to sign SAML requests for the identity provider. DigestMethod *SamlDigestAlgorithm `json:"digestMethod"` // The enterprise this identity provider belongs to. Enterprise *Enterprise `json:"enterprise"` // ExternalIdentities provisioned by this identity provider. ExternalIdentities ExternalIdentityConnection `json:"externalIdentities"` ID string `json:"id"` // The x509 certificate used by the identity provider to sign assertions and responses. IdpCertificate *string `json:"idpCertificate"` // The Issuer Entity ID for the SAML identity provider. Issuer *string `json:"issuer"` // Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable. RecoveryCodes []string `json:"recoveryCodes"` // The signature algorithm used to sign SAML requests for the identity provider. SignatureMethod *SamlSignatureAlgorithm `json:"signatureMethod"` // The URL endpoint for the identity provider's SAML SSO. SsoURL *string `json:"ssoUrl"` }
An identity provider configured to provision identities for an enterprise.
func (EnterpriseIdentityProvider) GetID ¶ added in v0.11.4
func (this EnterpriseIdentityProvider) GetID() string
ID of the object.
func (EnterpriseIdentityProvider) IsNode ¶
func (EnterpriseIdentityProvider) IsNode()
type EnterpriseMember ¶
type EnterpriseMember interface {
IsEnterpriseMember()
}
An object that is a member of an enterprise.
type EnterpriseMemberConnection ¶
type EnterpriseMemberConnection struct { // A list of edges. Edges []*EnterpriseMemberEdge `json:"edges"` // A list of nodes. Nodes []EnterpriseMember `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseMember.
type EnterpriseMemberEdge ¶
type EnterpriseMemberEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node EnterpriseMember `json:"node"` }
A User who is a member of an enterprise through one or more organizations.
type EnterpriseMemberOrder ¶
type EnterpriseMemberOrder struct { // The field to order enterprise members by. Field EnterpriseMemberOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for enterprise member connections.
type EnterpriseMemberOrderField ¶
type EnterpriseMemberOrderField string
Properties by which enterprise member connections can be ordered.
const ( // Order enterprise members by login EnterpriseMemberOrderFieldLogin EnterpriseMemberOrderField = "LOGIN" // Order enterprise members by creation time EnterpriseMemberOrderFieldCreatedAt EnterpriseMemberOrderField = "CREATED_AT" )
func (EnterpriseMemberOrderField) IsValid ¶
func (e EnterpriseMemberOrderField) IsValid() bool
func (EnterpriseMemberOrderField) MarshalGQL ¶
func (e EnterpriseMemberOrderField) MarshalGQL(w io.Writer)
func (EnterpriseMemberOrderField) String ¶
func (e EnterpriseMemberOrderField) String() string
func (*EnterpriseMemberOrderField) UnmarshalGQL ¶
func (e *EnterpriseMemberOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseMembersCanCreateRepositoriesSettingValue ¶
type EnterpriseMembersCanCreateRepositoriesSettingValue string
The possible values for the enterprise members can create repositories setting.
const ( // Organization administrators choose whether to allow members to create repositories. EnterpriseMembersCanCreateRepositoriesSettingValueNoPolicy EnterpriseMembersCanCreateRepositoriesSettingValue = "NO_POLICY" // Members will be able to create public and private repositories. EnterpriseMembersCanCreateRepositoriesSettingValueAll EnterpriseMembersCanCreateRepositoriesSettingValue = "ALL" // Members will be able to create only public repositories. EnterpriseMembersCanCreateRepositoriesSettingValuePublic EnterpriseMembersCanCreateRepositoriesSettingValue = "PUBLIC" // Members will be able to create only private repositories. EnterpriseMembersCanCreateRepositoriesSettingValuePrivate EnterpriseMembersCanCreateRepositoriesSettingValue = "PRIVATE" // Members will not be able to create public or private repositories. EnterpriseMembersCanCreateRepositoriesSettingValueDisabled EnterpriseMembersCanCreateRepositoriesSettingValue = "DISABLED" )
func (EnterpriseMembersCanCreateRepositoriesSettingValue) IsValid ¶
func (e EnterpriseMembersCanCreateRepositoriesSettingValue) IsValid() bool
func (EnterpriseMembersCanCreateRepositoriesSettingValue) MarshalGQL ¶
func (e EnterpriseMembersCanCreateRepositoriesSettingValue) MarshalGQL(w io.Writer)
func (EnterpriseMembersCanCreateRepositoriesSettingValue) String ¶
func (e EnterpriseMembersCanCreateRepositoriesSettingValue) String() string
func (*EnterpriseMembersCanCreateRepositoriesSettingValue) UnmarshalGQL ¶
func (e *EnterpriseMembersCanCreateRepositoriesSettingValue) UnmarshalGQL(v interface{}) error
type EnterpriseMembersCanMakePurchasesSettingValue ¶
type EnterpriseMembersCanMakePurchasesSettingValue string
The possible values for the members can make purchases setting.
const ( // The setting is enabled for organizations in the enterprise. EnterpriseMembersCanMakePurchasesSettingValueEnabled EnterpriseMembersCanMakePurchasesSettingValue = "ENABLED" // The setting is disabled for organizations in the enterprise. EnterpriseMembersCanMakePurchasesSettingValueDisabled EnterpriseMembersCanMakePurchasesSettingValue = "DISABLED" )
func (EnterpriseMembersCanMakePurchasesSettingValue) IsValid ¶
func (e EnterpriseMembersCanMakePurchasesSettingValue) IsValid() bool
func (EnterpriseMembersCanMakePurchasesSettingValue) MarshalGQL ¶
func (e EnterpriseMembersCanMakePurchasesSettingValue) MarshalGQL(w io.Writer)
func (EnterpriseMembersCanMakePurchasesSettingValue) String ¶
func (e EnterpriseMembersCanMakePurchasesSettingValue) String() string
func (*EnterpriseMembersCanMakePurchasesSettingValue) UnmarshalGQL ¶
func (e *EnterpriseMembersCanMakePurchasesSettingValue) UnmarshalGQL(v interface{}) error
type EnterpriseOrganizationMembershipConnection ¶
type EnterpriseOrganizationMembershipConnection struct { // A list of edges. Edges []*EnterpriseOrganizationMembershipEdge `json:"edges"` // A list of nodes. Nodes []*Organization `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Organization.
type EnterpriseOrganizationMembershipEdge ¶
type EnterpriseOrganizationMembershipEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Organization `json:"node"` // The role of the user in the enterprise membership. Role EnterpriseUserAccountMembershipRole `json:"role"` }
An enterprise organization that a user is a member of.
type EnterpriseOutsideCollaboratorConnection ¶
type EnterpriseOutsideCollaboratorConnection struct { // A list of edges. Edges []*EnterpriseOutsideCollaboratorEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type EnterpriseOutsideCollaboratorEdge ¶
type EnterpriseOutsideCollaboratorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *User `json:"node"` // The enterprise organization repositories this user is a member of. Repositories EnterpriseRepositoryInfoConnection `json:"repositories"` }
A User who is an outside collaborator of an enterprise through one or more organizations.
type EnterpriseOwnerInfo ¶
type EnterpriseOwnerInfo struct { // A list of all of the administrators for this enterprise. Admins EnterpriseAdministratorConnection `json:"admins"` // A list of users in the enterprise who currently have two-factor authentication disabled. AffiliatedUsersWithTwoFactorDisabled UserConnection `json:"affiliatedUsersWithTwoFactorDisabled"` // Whether or not affiliated users with two-factor authentication disabled exist in the enterprise. AffiliatedUsersWithTwoFactorDisabledExist bool `json:"affiliatedUsersWithTwoFactorDisabledExist"` // The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise. AllowPrivateRepositoryForkingSetting EnterpriseEnabledDisabledSettingValue `json:"allowPrivateRepositoryForkingSetting"` // A list of enterprise organizations configured with the provided private repository forking setting value. AllowPrivateRepositoryForkingSettingOrganizations OrganizationConnection `json:"allowPrivateRepositoryForkingSettingOrganizations"` // The value for the allow private repository forking policy on the enterprise. AllowPrivateRepositoryForkingSettingPolicyValue *EnterpriseAllowPrivateRepositoryForkingPolicyValue `json:"allowPrivateRepositoryForkingSettingPolicyValue"` // The setting value for base repository permissions for organizations in this enterprise. DefaultRepositoryPermissionSetting EnterpriseDefaultRepositoryPermissionSettingValue `json:"defaultRepositoryPermissionSetting"` // A list of enterprise organizations configured with the provided base repository permission. DefaultRepositoryPermissionSettingOrganizations OrganizationConnection `json:"defaultRepositoryPermissionSettingOrganizations"` // A list of domains owned by the enterprise. Domains VerifiableDomainConnection `json:"domains"` // Enterprise Server installations owned by the enterprise. EnterpriseServerInstallations EnterpriseServerInstallationConnection `json:"enterpriseServerInstallations"` // A list of failed invitations in the enterprise. FailedInvitations EnterpriseFailedInvitationConnection `json:"failedInvitations"` // The setting value for whether the enterprise has an IP allow list enabled. IPAllowListEnabledSetting IPAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting"` // The IP addresses that are allowed to access resources owned by the enterprise. IPAllowListEntries IPAllowListEntryConnection `json:"ipAllowListEntries"` // The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. IPAllowListForInstalledAppsEnabledSetting IPAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting"` // Whether or not the base repository permission is currently being updated. IsUpdatingDefaultRepositoryPermission bool `json:"isUpdatingDefaultRepositoryPermission"` // Whether the two-factor authentication requirement is currently being enforced. IsUpdatingTwoFactorRequirement bool `json:"isUpdatingTwoFactorRequirement"` // The setting value for whether organization members with admin permissions on a repository can change repository visibility. MembersCanChangeRepositoryVisibilitySetting EnterpriseEnabledDisabledSettingValue `json:"membersCanChangeRepositoryVisibilitySetting"` // A list of enterprise organizations configured with the provided can change repository visibility setting value. MembersCanChangeRepositoryVisibilitySettingOrganizations OrganizationConnection `json:"membersCanChangeRepositoryVisibilitySettingOrganizations"` // The setting value for whether members of organizations in the enterprise can create internal repositories. MembersCanCreateInternalRepositoriesSetting *bool `json:"membersCanCreateInternalRepositoriesSetting"` // The setting value for whether members of organizations in the enterprise can create private repositories. MembersCanCreatePrivateRepositoriesSetting *bool `json:"membersCanCreatePrivateRepositoriesSetting"` // The setting value for whether members of organizations in the enterprise can create public repositories. MembersCanCreatePublicRepositoriesSetting *bool `json:"membersCanCreatePublicRepositoriesSetting"` // The setting value for whether members of organizations in the enterprise can create repositories. MembersCanCreateRepositoriesSetting *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"membersCanCreateRepositoriesSetting"` // A list of enterprise organizations configured with the provided repository creation setting value. MembersCanCreateRepositoriesSettingOrganizations OrganizationConnection `json:"membersCanCreateRepositoriesSettingOrganizations"` // The setting value for whether members with admin permissions for repositories can delete issues. MembersCanDeleteIssuesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteIssuesSetting"` // A list of enterprise organizations configured with the provided members can delete issues setting value. MembersCanDeleteIssuesSettingOrganizations OrganizationConnection `json:"membersCanDeleteIssuesSettingOrganizations"` // The setting value for whether members with admin permissions for repositories can delete or transfer repositories. MembersCanDeleteRepositoriesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteRepositoriesSetting"` // A list of enterprise organizations configured with the provided members can delete repositories setting value. MembersCanDeleteRepositoriesSettingOrganizations OrganizationConnection `json:"membersCanDeleteRepositoriesSettingOrganizations"` // The setting value for whether members of organizations in the enterprise can invite outside collaborators. MembersCanInviteCollaboratorsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanInviteCollaboratorsSetting"` // A list of enterprise organizations configured with the provided members can invite collaborators setting value. MembersCanInviteCollaboratorsSettingOrganizations OrganizationConnection `json:"membersCanInviteCollaboratorsSettingOrganizations"` // Indicates whether members of this enterprise's organizations can purchase additional services for those organizations. MembersCanMakePurchasesSetting EnterpriseMembersCanMakePurchasesSettingValue `json:"membersCanMakePurchasesSetting"` // The setting value for whether members with admin permissions for repositories can update protected branches. MembersCanUpdateProtectedBranchesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanUpdateProtectedBranchesSetting"` // A list of enterprise organizations configured with the provided members can update protected branches setting value. MembersCanUpdateProtectedBranchesSettingOrganizations OrganizationConnection `json:"membersCanUpdateProtectedBranchesSettingOrganizations"` // The setting value for whether members can view dependency insights. MembersCanViewDependencyInsightsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanViewDependencyInsightsSetting"` // A list of enterprise organizations configured with the provided members can view dependency insights setting value. MembersCanViewDependencyInsightsSettingOrganizations OrganizationConnection `json:"membersCanViewDependencyInsightsSettingOrganizations"` // Indicates if email notification delivery for this enterprise is restricted to verified or approved domains. NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting"` // The OIDC Identity Provider for the enterprise. OidcProvider *OIDCProvider `json:"oidcProvider"` // The setting value for whether organization projects are enabled for organizations in this enterprise. OrganizationProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"organizationProjectsSetting"` // A list of enterprise organizations configured with the provided organization projects setting value. OrganizationProjectsSettingOrganizations OrganizationConnection `json:"organizationProjectsSettingOrganizations"` // A list of outside collaborators across the repositories in the enterprise. OutsideCollaborators EnterpriseOutsideCollaboratorConnection `json:"outsideCollaborators"` // A list of pending administrator invitations for the enterprise. PendingAdminInvitations EnterpriseAdministratorInvitationConnection `json:"pendingAdminInvitations"` // A list of pending collaborator invitations across the repositories in the enterprise. PendingCollaboratorInvitations RepositoryInvitationConnection `json:"pendingCollaboratorInvitations"` // A list of pending member invitations for organizations in the enterprise. PendingMemberInvitations EnterprisePendingMemberInvitationConnection `json:"pendingMemberInvitations"` // The setting value for whether repository projects are enabled in this enterprise. RepositoryProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"repositoryProjectsSetting"` // A list of enterprise organizations configured with the provided repository projects setting value. RepositoryProjectsSettingOrganizations OrganizationConnection `json:"repositoryProjectsSettingOrganizations"` // 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"` // A list of enterprise organizations configured with the SAML single sign-on setting value. SamlIdentityProviderSettingOrganizations OrganizationConnection `json:"samlIdentityProviderSettingOrganizations"` // A list of members with a support entitlement. SupportEntitlements EnterpriseMemberConnection `json:"supportEntitlements"` // The setting value for whether team discussions are enabled for organizations in this enterprise. TeamDiscussionsSetting EnterpriseEnabledDisabledSettingValue `json:"teamDiscussionsSetting"` // A list of enterprise organizations configured with the provided team discussions setting value. TeamDiscussionsSettingOrganizations OrganizationConnection `json:"teamDiscussionsSettingOrganizations"` // The setting value for whether the enterprise requires two-factor authentication for its organizations and users. TwoFactorRequiredSetting EnterpriseEnabledSettingValue `json:"twoFactorRequiredSetting"` // A list of enterprise organizations configured with the two-factor authentication setting value. TwoFactorRequiredSettingOrganizations OrganizationConnection `json:"twoFactorRequiredSettingOrganizations"` }
Enterprise information only visible to enterprise owners.
type EnterprisePendingMemberInvitationConnection ¶
type EnterprisePendingMemberInvitationConnection struct { // A list of edges. Edges []*EnterprisePendingMemberInvitationEdge `json:"edges"` // A list of nodes. Nodes []*OrganizationInvitation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // Identifies the total count of unique users in the connection. TotalUniqueUserCount int `json:"totalUniqueUserCount"` }
The connection type for OrganizationInvitation.
type EnterprisePendingMemberInvitationEdge ¶
type EnterprisePendingMemberInvitationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *OrganizationInvitation `json:"node"` }
An invitation to be a member in an enterprise organization.
type EnterpriseRepositoryInfo ¶
type EnterpriseRepositoryInfo struct { ID string `json:"id"` // Identifies if the repository is private or internal. IsPrivate bool `json:"isPrivate"` // The repository's name. Name string `json:"name"` // The repository's name with owner. NameWithOwner string `json:"nameWithOwner"` }
A subset of repository information queryable from an enterprise.
func (EnterpriseRepositoryInfo) GetID ¶ added in v0.11.4
func (this EnterpriseRepositoryInfo) GetID() string
ID of the object.
func (EnterpriseRepositoryInfo) IsNode ¶
func (EnterpriseRepositoryInfo) IsNode()
type EnterpriseRepositoryInfoConnection ¶
type EnterpriseRepositoryInfoConnection struct { // A list of edges. Edges []*EnterpriseRepositoryInfoEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseRepositoryInfo `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseRepositoryInfo.
type EnterpriseRepositoryInfoEdge ¶
type EnterpriseRepositoryInfoEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseRepositoryInfo `json:"node"` }
An edge in a connection.
type EnterpriseServerInstallation ¶
type EnterpriseServerInstallation struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The customer name to which the Enterprise Server installation belongs. CustomerName string `json:"customerName"` // The host name of the Enterprise Server installation. HostName string `json:"hostName"` ID string `json:"id"` // Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect. IsConnected bool `json:"isConnected"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // User accounts on this Enterprise Server installation. UserAccounts EnterpriseServerUserAccountConnection `json:"userAccounts"` // User accounts uploads for the Enterprise Server installation. UserAccountsUploads EnterpriseServerUserAccountsUploadConnection `json:"userAccountsUploads"` }
An Enterprise Server installation.
func (EnterpriseServerInstallation) GetID ¶ added in v0.11.4
func (this EnterpriseServerInstallation) GetID() string
ID of the object.
func (EnterpriseServerInstallation) IsNode ¶
func (EnterpriseServerInstallation) IsNode()
type EnterpriseServerInstallationConnection ¶
type EnterpriseServerInstallationConnection struct { // A list of edges. Edges []*EnterpriseServerInstallationEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseServerInstallation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseServerInstallation.
type EnterpriseServerInstallationEdge ¶
type EnterpriseServerInstallationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseServerInstallation `json:"node"` }
An edge in a connection.
type EnterpriseServerInstallationOrder ¶
type EnterpriseServerInstallationOrder struct { // The field to order Enterprise Server installations by. Field EnterpriseServerInstallationOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for Enterprise Server installation connections.
type EnterpriseServerInstallationOrderField ¶
type EnterpriseServerInstallationOrderField string
Properties by which Enterprise Server installation connections can be ordered.
const ( // Order Enterprise Server installations by host name EnterpriseServerInstallationOrderFieldHostName EnterpriseServerInstallationOrderField = "HOST_NAME" // Order Enterprise Server installations by customer name EnterpriseServerInstallationOrderFieldCustomerName EnterpriseServerInstallationOrderField = "CUSTOMER_NAME" // Order Enterprise Server installations by creation time EnterpriseServerInstallationOrderFieldCreatedAt EnterpriseServerInstallationOrderField = "CREATED_AT" )
func (EnterpriseServerInstallationOrderField) IsValid ¶
func (e EnterpriseServerInstallationOrderField) IsValid() bool
func (EnterpriseServerInstallationOrderField) MarshalGQL ¶
func (e EnterpriseServerInstallationOrderField) MarshalGQL(w io.Writer)
func (EnterpriseServerInstallationOrderField) String ¶
func (e EnterpriseServerInstallationOrderField) String() string
func (*EnterpriseServerInstallationOrderField) UnmarshalGQL ¶
func (e *EnterpriseServerInstallationOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseServerUserAccount ¶
type EnterpriseServerUserAccount struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // User emails belonging to this user account. Emails EnterpriseServerUserAccountEmailConnection `json:"emails"` // The Enterprise Server installation on which this user account exists. EnterpriseServerInstallation EnterpriseServerInstallation `json:"enterpriseServerInstallation"` ID string `json:"id"` // Whether the user account is a site administrator on the Enterprise Server installation. IsSiteAdmin bool `json:"isSiteAdmin"` // The login of the user account on the Enterprise Server installation. Login string `json:"login"` // The profile name of the user account on the Enterprise Server installation. ProfileName *string `json:"profileName"` // The date and time when the user account was created on the Enterprise Server installation. RemoteCreatedAt time.Time `json:"remoteCreatedAt"` // The ID of the user account on the Enterprise Server installation. RemoteUserID int `json:"remoteUserId"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A user account on an Enterprise Server installation.
func (EnterpriseServerUserAccount) GetID ¶ added in v0.11.4
func (this EnterpriseServerUserAccount) GetID() string
ID of the object.
func (EnterpriseServerUserAccount) IsNode ¶
func (EnterpriseServerUserAccount) IsNode()
type EnterpriseServerUserAccountConnection ¶
type EnterpriseServerUserAccountConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseServerUserAccount `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseServerUserAccount.
type EnterpriseServerUserAccountEdge ¶
type EnterpriseServerUserAccountEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseServerUserAccount `json:"node"` }
An edge in a connection.
type EnterpriseServerUserAccountEmail ¶
type EnterpriseServerUserAccountEmail struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The email address. Email string `json:"email"` ID string `json:"id"` // Indicates whether this is the primary email of the associated user account. IsPrimary bool `json:"isPrimary"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The user account to which the email belongs. UserAccount EnterpriseServerUserAccount `json:"userAccount"` }
An email belonging to a user account on an Enterprise Server installation.
func (EnterpriseServerUserAccountEmail) GetID ¶ added in v0.11.4
func (this EnterpriseServerUserAccountEmail) GetID() string
ID of the object.
func (EnterpriseServerUserAccountEmail) IsNode ¶
func (EnterpriseServerUserAccountEmail) IsNode()
type EnterpriseServerUserAccountEmailConnection ¶
type EnterpriseServerUserAccountEmailConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountEmailEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseServerUserAccountEmail `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseServerUserAccountEmail.
type EnterpriseServerUserAccountEmailEdge ¶
type EnterpriseServerUserAccountEmailEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseServerUserAccountEmail `json:"node"` }
An edge in a connection.
type EnterpriseServerUserAccountEmailOrder ¶
type EnterpriseServerUserAccountEmailOrder struct { // The field to order emails by. Field EnterpriseServerUserAccountEmailOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for Enterprise Server user account email connections.
type EnterpriseServerUserAccountEmailOrderField ¶
type EnterpriseServerUserAccountEmailOrderField string
Properties by which Enterprise Server user account email connections can be ordered.
const ( // Order emails by email EnterpriseServerUserAccountEmailOrderFieldEmail EnterpriseServerUserAccountEmailOrderField = "EMAIL" )
func (EnterpriseServerUserAccountEmailOrderField) IsValid ¶
func (e EnterpriseServerUserAccountEmailOrderField) IsValid() bool
func (EnterpriseServerUserAccountEmailOrderField) MarshalGQL ¶
func (e EnterpriseServerUserAccountEmailOrderField) MarshalGQL(w io.Writer)
func (EnterpriseServerUserAccountEmailOrderField) String ¶
func (e EnterpriseServerUserAccountEmailOrderField) String() string
func (*EnterpriseServerUserAccountEmailOrderField) UnmarshalGQL ¶
func (e *EnterpriseServerUserAccountEmailOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseServerUserAccountOrder ¶
type EnterpriseServerUserAccountOrder struct { // The field to order user accounts by. Field EnterpriseServerUserAccountOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for Enterprise Server user account connections.
type EnterpriseServerUserAccountOrderField ¶
type EnterpriseServerUserAccountOrderField string
Properties by which Enterprise Server user account connections can be ordered.
const ( // Order user accounts by login EnterpriseServerUserAccountOrderFieldLogin EnterpriseServerUserAccountOrderField = "LOGIN" // Order user accounts by creation time on the Enterprise Server installation EnterpriseServerUserAccountOrderFieldRemoteCreatedAt EnterpriseServerUserAccountOrderField = "REMOTE_CREATED_AT" )
func (EnterpriseServerUserAccountOrderField) IsValid ¶
func (e EnterpriseServerUserAccountOrderField) IsValid() bool
func (EnterpriseServerUserAccountOrderField) MarshalGQL ¶
func (e EnterpriseServerUserAccountOrderField) MarshalGQL(w io.Writer)
func (EnterpriseServerUserAccountOrderField) String ¶
func (e EnterpriseServerUserAccountOrderField) String() string
func (*EnterpriseServerUserAccountOrderField) UnmarshalGQL ¶
func (e *EnterpriseServerUserAccountOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseServerUserAccountsUpload ¶
type EnterpriseServerUserAccountsUpload struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The enterprise to which this upload belongs. Enterprise Enterprise `json:"enterprise"` // The Enterprise Server installation for which this upload was generated. EnterpriseServerInstallation EnterpriseServerInstallation `json:"enterpriseServerInstallation"` ID string `json:"id"` // The name of the file uploaded. Name string `json:"name"` // The synchronization state of the upload SyncState EnterpriseServerUserAccountsUploadSyncState `json:"syncState"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A user accounts upload from an Enterprise Server installation.
func (EnterpriseServerUserAccountsUpload) GetID ¶ added in v0.11.4
func (this EnterpriseServerUserAccountsUpload) GetID() string
ID of the object.
func (EnterpriseServerUserAccountsUpload) IsNode ¶
func (EnterpriseServerUserAccountsUpload) IsNode()
type EnterpriseServerUserAccountsUploadConnection ¶
type EnterpriseServerUserAccountsUploadConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountsUploadEdge `json:"edges"` // A list of nodes. Nodes []*EnterpriseServerUserAccountsUpload `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseServerUserAccountsUpload.
type EnterpriseServerUserAccountsUploadEdge ¶
type EnterpriseServerUserAccountsUploadEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseServerUserAccountsUpload `json:"node"` }
An edge in a connection.
type EnterpriseServerUserAccountsUploadOrder ¶
type EnterpriseServerUserAccountsUploadOrder struct { // The field to order user accounts uploads by. Field EnterpriseServerUserAccountsUploadOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for Enterprise Server user accounts upload connections.
type EnterpriseServerUserAccountsUploadOrderField ¶
type EnterpriseServerUserAccountsUploadOrderField string
Properties by which Enterprise Server user accounts upload connections can be ordered.
const ( // Order user accounts uploads by creation time EnterpriseServerUserAccountsUploadOrderFieldCreatedAt EnterpriseServerUserAccountsUploadOrderField = "CREATED_AT" )
func (EnterpriseServerUserAccountsUploadOrderField) IsValid ¶
func (e EnterpriseServerUserAccountsUploadOrderField) IsValid() bool
func (EnterpriseServerUserAccountsUploadOrderField) MarshalGQL ¶
func (e EnterpriseServerUserAccountsUploadOrderField) MarshalGQL(w io.Writer)
func (EnterpriseServerUserAccountsUploadOrderField) String ¶
func (e EnterpriseServerUserAccountsUploadOrderField) String() string
func (*EnterpriseServerUserAccountsUploadOrderField) UnmarshalGQL ¶
func (e *EnterpriseServerUserAccountsUploadOrderField) UnmarshalGQL(v interface{}) error
type EnterpriseServerUserAccountsUploadSyncState ¶
type EnterpriseServerUserAccountsUploadSyncState string
Synchronization state of the Enterprise Server user accounts upload
const ( // The synchronization of the upload is pending. EnterpriseServerUserAccountsUploadSyncStatePending EnterpriseServerUserAccountsUploadSyncState = "PENDING" // The synchronization of the upload succeeded. EnterpriseServerUserAccountsUploadSyncStateSuccess EnterpriseServerUserAccountsUploadSyncState = "SUCCESS" // The synchronization of the upload failed. EnterpriseServerUserAccountsUploadSyncStateFailure EnterpriseServerUserAccountsUploadSyncState = "FAILURE" )
func (EnterpriseServerUserAccountsUploadSyncState) IsValid ¶
func (e EnterpriseServerUserAccountsUploadSyncState) IsValid() bool
func (EnterpriseServerUserAccountsUploadSyncState) MarshalGQL ¶
func (e EnterpriseServerUserAccountsUploadSyncState) MarshalGQL(w io.Writer)
func (EnterpriseServerUserAccountsUploadSyncState) String ¶
func (e EnterpriseServerUserAccountsUploadSyncState) String() string
func (*EnterpriseServerUserAccountsUploadSyncState) UnmarshalGQL ¶
func (e *EnterpriseServerUserAccountsUploadSyncState) UnmarshalGQL(v interface{}) error
type EnterpriseUserAccount ¶
type EnterpriseUserAccount struct { // A URL pointing to the enterprise user account's public avatar. AvatarURL string `json:"avatarUrl"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The enterprise in which this user account exists. Enterprise Enterprise `json:"enterprise"` ID string `json:"id"` // An identifier for the enterprise user account, a login or email address Login string `json:"login"` // The name of the enterprise user account Name *string `json:"name"` // A list of enterprise organizations this user is a member of. Organizations EnterpriseOrganizationMembershipConnection `json:"organizations"` // The HTTP path for this user. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this user. URL string `json:"url"` // The user within the enterprise. User *User `json:"user"` }
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 ¶ added in v0.11.4
func (this EnterpriseUserAccount) GetAvatarURL() string
A URL pointing to the actor's public avatar.
func (EnterpriseUserAccount) GetID ¶ added in v0.11.4
func (this EnterpriseUserAccount) GetID() string
ID of the object.
func (EnterpriseUserAccount) GetLogin ¶ added in v0.11.4
func (this EnterpriseUserAccount) GetLogin() string
The username of the actor.
func (EnterpriseUserAccount) GetResourcePath ¶ added in v0.11.4
func (this EnterpriseUserAccount) GetResourcePath() string
The HTTP path for this actor.
func (EnterpriseUserAccount) GetURL ¶ added in v0.11.4
func (this EnterpriseUserAccount) GetURL() string
The HTTP URL for this actor.
func (EnterpriseUserAccount) IsActor ¶
func (EnterpriseUserAccount) IsActor()
func (EnterpriseUserAccount) IsEnterpriseMember ¶
func (EnterpriseUserAccount) IsEnterpriseMember()
func (EnterpriseUserAccount) IsNode ¶
func (EnterpriseUserAccount) IsNode()
type EnterpriseUserAccountMembershipRole ¶
type EnterpriseUserAccountMembershipRole string
The possible roles for enterprise membership.
const ( // The user is a member of an organization in the enterprise. EnterpriseUserAccountMembershipRoleMember EnterpriseUserAccountMembershipRole = "MEMBER" // The user is an owner of an organization in the enterprise. EnterpriseUserAccountMembershipRoleOwner EnterpriseUserAccountMembershipRole = "OWNER" // The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. EnterpriseUserAccountMembershipRoleUnaffiliated EnterpriseUserAccountMembershipRole = "UNAFFILIATED" )
func (EnterpriseUserAccountMembershipRole) IsValid ¶
func (e EnterpriseUserAccountMembershipRole) IsValid() bool
func (EnterpriseUserAccountMembershipRole) MarshalGQL ¶
func (e EnterpriseUserAccountMembershipRole) MarshalGQL(w io.Writer)
func (EnterpriseUserAccountMembershipRole) String ¶
func (e EnterpriseUserAccountMembershipRole) String() string
func (*EnterpriseUserAccountMembershipRole) UnmarshalGQL ¶
func (e *EnterpriseUserAccountMembershipRole) UnmarshalGQL(v interface{}) error
type EnterpriseUserDeployment ¶
type EnterpriseUserDeployment string
The possible GitHub Enterprise deployments where this user can exist.
const ( // The user is part of a GitHub Enterprise Cloud deployment. EnterpriseUserDeploymentCloud EnterpriseUserDeployment = "CLOUD" // The user is part of a GitHub Enterprise Server deployment. EnterpriseUserDeploymentServer EnterpriseUserDeployment = "SERVER" )
func (EnterpriseUserDeployment) IsValid ¶
func (e EnterpriseUserDeployment) IsValid() bool
func (EnterpriseUserDeployment) MarshalGQL ¶
func (e EnterpriseUserDeployment) MarshalGQL(w io.Writer)
func (EnterpriseUserDeployment) String ¶
func (e EnterpriseUserDeployment) String() string
func (*EnterpriseUserDeployment) UnmarshalGQL ¶
func (e *EnterpriseUserDeployment) UnmarshalGQL(v interface{}) error
type Environment ¶ added in v0.0.3
type Environment struct { // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The name of the environment Name string `json:"name"` // The protection rules defined for this environment ProtectionRules DeploymentProtectionRuleConnection `json:"protectionRules"` }
An environment.
func (Environment) GetID ¶ added in v0.11.4
func (this Environment) GetID() string
ID of the object.
func (Environment) IsNode ¶ added in v0.0.3
func (Environment) IsNode()
type EnvironmentConnection ¶ added in v0.0.3
type EnvironmentConnection struct { // A list of edges. Edges []*EnvironmentEdge `json:"edges"` // A list of nodes. Nodes []*Environment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Environment.
type EnvironmentEdge ¶ added in v0.0.3
type EnvironmentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Environment `json:"node"` }
An edge in a connection.
type ExternalIdentity ¶
type ExternalIdentity struct { // The GUID for this identity GUID string `json:"guid"` ID string `json:"id"` // Organization invitation for this SCIM-provisioned external identity OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation"` // SAML Identity attributes SamlIdentity *ExternalIdentitySamlAttributes `json:"samlIdentity"` // SCIM Identity attributes ScimIdentity *ExternalIdentityScimAttributes `json:"scimIdentity"` // User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member. User *User `json:"user"` }
An external identity provisioned by SAML SSO or SCIM.
func (ExternalIdentity) GetID ¶ added in v0.11.4
func (this ExternalIdentity) GetID() string
ID of the object.
func (ExternalIdentity) IsNode ¶
func (ExternalIdentity) IsNode()
type ExternalIdentityAttribute ¶ added in v0.11.4
type ExternalIdentityAttribute struct { // The attribute metadata as JSON Metadata *string `json:"metadata"` // The attribute name Name string `json:"name"` // The attribute value Value string `json:"value"` }
An attribute for the External Identity attributes collection
type ExternalIdentityConnection ¶
type ExternalIdentityConnection struct { // A list of edges. Edges []*ExternalIdentityEdge `json:"edges"` // A list of nodes. Nodes []*ExternalIdentity `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ExternalIdentity.
type ExternalIdentityEdge ¶
type ExternalIdentityEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ExternalIdentity `json:"node"` }
An edge in a connection.
type ExternalIdentitySamlAttributes ¶
type ExternalIdentitySamlAttributes struct { // SAML Identity attributes Attributes []*ExternalIdentityAttribute `json:"attributes"` // The emails associated with the SAML identity Emails []*UserEmailMetadata `json:"emails"` // Family name of the SAML identity FamilyName *string `json:"familyName"` // Given name of the SAML identity GivenName *string `json:"givenName"` // The groups linked to this identity in IDP Groups []string `json:"groups"` // The NameID of the SAML identity NameID *string `json:"nameId"` // The userName of the SAML identity Username *string `json:"username"` }
SAML attributes for the External Identity
type ExternalIdentityScimAttributes ¶
type ExternalIdentityScimAttributes struct { // The emails associated with the SCIM identity Emails []*UserEmailMetadata `json:"emails"` // Family name of the SCIM identity FamilyName *string `json:"familyName"` // Given name of the SCIM identity GivenName *string `json:"givenName"` // The groups linked to this identity in IDP Groups []string `json:"groups"` // The userName of the SCIM identity Username *string `json:"username"` }
SCIM attributes for the External Identity
type FileAddition ¶ added in v0.0.4
type FileAddition struct { // The path in the repository where the file will be located Path string `json:"path"` // The base64 encoded contents of the file Contents string `json:"contents"` }
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 ¶ added in v0.0.4
type FileChanges struct { // Files to delete. Deletions []*FileDeletion `json:"deletions,omitempty"` // File to add or change. Additions []*FileAddition `json:"additions,omitempty"` }
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 ¶ added in v0.0.4
type FileDeletion struct { // The path to delete Path string `json:"path"` }
A command to delete the file at the given path as part of a commit.
type FileViewedState ¶
type FileViewedState string
The possible viewed states of a file .
const ( // The file has new changes since last viewed. FileViewedStateDismissed FileViewedState = "DISMISSED" // The file has been marked as viewed. FileViewedStateViewed FileViewedState = "VIEWED" // The file has not been marked as viewed. FileViewedStateUnviewed FileViewedState = "UNVIEWED" )
func (FileViewedState) IsValid ¶
func (e FileViewedState) IsValid() bool
func (FileViewedState) MarshalGQL ¶
func (e FileViewedState) MarshalGQL(w io.Writer)
func (FileViewedState) String ¶
func (e FileViewedState) String() string
func (*FileViewedState) UnmarshalGQL ¶
func (e *FileViewedState) UnmarshalGQL(v interface{}) error
type FollowOrganizationInput ¶ added in v0.11.4
type FollowOrganizationInput struct { // ID of the organization to follow. OrganizationID string `json:"organizationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of FollowOrganization
type FollowOrganizationPayload ¶ added in v0.11.4
type FollowOrganizationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organization that was followed. Organization *Organization `json:"organization"` }
Autogenerated return type of FollowOrganization
type FollowUserInput ¶
type FollowUserInput struct { // ID of the user to follow. UserID string `json:"userId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of FollowUser
type FollowUserPayload ¶
type FollowUserPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The user that was followed. User *User `json:"user"` }
Autogenerated return type of FollowUser
type FollowerConnection ¶
type FollowerConnection struct { // A list of edges. Edges []*UserEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type FollowingConnection ¶
type FollowingConnection struct { // A list of edges. Edges []*UserEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type FundingLink ¶
type FundingLink struct { // The funding platform this link is for. Platform FundingPlatform `json:"platform"` // The configured URL for this funding link. URL string `json:"url"` }
A funding platform link for a repository.
type FundingPlatform ¶
type FundingPlatform string
The possible funding platforms for repository funding links.
const ( // GitHub funding platform. FundingPlatformGithub FundingPlatform = "GITHUB" // Patreon funding platform. FundingPlatformPatreon FundingPlatform = "PATREON" // Open Collective funding platform. FundingPlatformOpenCollective FundingPlatform = "OPEN_COLLECTIVE" // Ko-fi funding platform. FundingPlatformKoFi FundingPlatform = "KO_FI" // Tidelift funding platform. FundingPlatformTidelift FundingPlatform = "TIDELIFT" // Community Bridge funding platform. FundingPlatformCommunityBridge FundingPlatform = "COMMUNITY_BRIDGE" // Liberapay funding platform. FundingPlatformLiberapay FundingPlatform = "LIBERAPAY" // IssueHunt funding platform. FundingPlatformIssuehunt FundingPlatform = "ISSUEHUNT" // Otechie funding platform. FundingPlatformOtechie FundingPlatform = "OTECHIE" // LFX Crowdfunding funding platform. FundingPlatformLfxCrowdfunding FundingPlatform = "LFX_CROWDFUNDING" // Custom funding platform. FundingPlatformCustom FundingPlatform = "CUSTOM" )
func (FundingPlatform) IsValid ¶
func (e FundingPlatform) IsValid() bool
func (FundingPlatform) MarshalGQL ¶
func (e FundingPlatform) MarshalGQL(w io.Writer)
func (FundingPlatform) String ¶
func (e FundingPlatform) String() string
func (*FundingPlatform) UnmarshalGQL ¶
func (e *FundingPlatform) UnmarshalGQL(v interface{}) error
type GenericHovercardContext ¶
type GenericHovercardContext struct { // A string describing this context Message string `json:"message"` // An octicon to accompany this context Octicon string `json:"octicon"` }
A generic hovercard context with a message and icon
func (GenericHovercardContext) GetMessage ¶ added in v0.11.4
func (this GenericHovercardContext) GetMessage() string
A string describing this context
func (GenericHovercardContext) GetOcticon ¶ added in v0.11.4
func (this GenericHovercardContext) GetOcticon() string
An octicon to accompany this context
func (GenericHovercardContext) IsHovercardContext ¶
func (GenericHovercardContext) IsHovercardContext()
type GetNode ¶ added in v0.0.3
type GetNode struct {
Node *GetNode_Node "json:\"node,omitempty\" graphql:\"node\""
}
type GetNode2 ¶ added in v0.0.3
type GetNode2 struct {
Node *GetNode2_Node_Release "json:\"node,omitempty\" graphql:\"node\""
}
type GetNode2_Node_Release ¶ added in v0.0.3
type GetNode_Node ¶ added in v0.0.3
type GetNode_Node struct { ID string "json:\"id\" graphql:\"id\"" Repository RepositoryFragment "graphql:\"... on Repository\"" Reaction GetNode_Node_Reaction "graphql:\"... on Reaction\"" }
type GetNode_Node_Reaction ¶ added in v0.0.3
type GetNode_Node_Reaction struct { ID string "json:\"id\" graphql:\"id\"" User *GetNode_Node_Reaction_User "json:\"user,omitempty\" graphql:\"user\"" }
type GetNode_Node_Reaction_User ¶ added in v0.0.3
type GetNode_Node_Reaction_User struct {
ID string "json:\"id\" graphql:\"id\""
}
type GetUser ¶
type GetUser struct {
Viewer GetUser_Viewer "json:\"viewer\" graphql:\"viewer\""
}
type GetUser_Viewer ¶ added in v0.0.3
type GetUser_Viewer struct { ID string "json:\"id\" graphql:\"id\"" Name *string "json:\"name,omitempty\" graphql:\"name\"" Repositories GetUser_Viewer_Repositories "json:\"repositories\" graphql:\"repositories\"" }
type GetUser_Viewer_Repositories ¶ added in v0.0.3
type GetUser_Viewer_Repositories struct {
Nodes []*GetUser_Viewer_Repositories_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\""
}
type GetUser_Viewer_Repositories_Nodes ¶ added in v0.0.3
type GetUser_Viewer_Repositories_Nodes struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" Languages *GetUser_Viewer_Repositories_Nodes_Languages "json:\"languages,omitempty\" graphql:\"languages\"" }
type GetUser_Viewer_Repositories_Nodes_Languages ¶ added in v0.0.3
type GetUser_Viewer_Repositories_Nodes_Languages struct {
Nodes []*LanguageFragment "json:\"nodes,omitempty\" graphql:\"nodes\""
}
type Gist ¶
type Gist struct { // A list of comments associated with the gist Comments GistCommentConnection `json:"comments"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The gist description. Description *string `json:"description"` // The files in this gist. Files []*GistFile `json:"files"` // A list of forks associated with the gist Forks GistConnection `json:"forks"` ID string `json:"id"` // Identifies if the gist is a fork. IsFork bool `json:"isFork"` // Whether the gist is public or not. IsPublic bool `json:"isPublic"` // The gist name. Name string `json:"name"` // The gist owner. Owner RepositoryOwner `json:"owner"` // Identifies when the gist was last pushed to. PushedAt *time.Time `json:"pushedAt"` // The HTML path to this resource. ResourcePath string `json:"resourcePath"` // Returns a count of how many stargazers there are on this object // StargazerCount int `json:"stargazerCount"` // A list of users who have starred this starrable. Stargazers StargazerConnection `json:"stargazers"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this Gist. URL string `json:"url"` // Returns a boolean indicating whether the viewing user has starred this starrable. ViewerHasStarred bool `json:"viewerHasStarred"` }
A Gist.
func (Gist) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (Gist) GetStargazerCount ¶ added in v0.11.4
Returns a count of how many stargazers there are on this object
func (Gist) GetStargazers ¶ added in v0.11.4
func (this Gist) GetStargazers() StargazerConnection
A list of users who have starred this starrable.
func (Gist) GetViewerHasStarred ¶ added in v0.11.4
Returns a boolean indicating whether the viewing user has starred this starrable.
func (Gist) IsPinnableItem ¶
func (Gist) IsPinnableItem()
func (Gist) IsStarrable ¶
func (Gist) IsStarrable()
func (Gist) IsUniformResourceLocatable ¶
func (Gist) IsUniformResourceLocatable()
type GistComment ¶
type GistComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the gist. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // Identifies the comment body. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` // The associated gist. Gist Gist `json:"gist"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Returns whether or not a comment has been minimized. IsMinimized bool `json:"isMinimized"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. MinimizedReason *string `json:"minimizedReason"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Check if the current viewer can minimize this object. ViewerCanMinimize bool `json:"viewerCanMinimize"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on an Gist.
func (GistComment) GetAuthor ¶ added in v0.11.4
func (this GistComment) GetAuthor() Actor
The actor who authored the comment.
func (GistComment) GetAuthorAssociation ¶ added in v0.11.4
func (this GistComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (GistComment) GetBody ¶ added in v0.11.4
func (this GistComment) GetBody() string
The body as Markdown.
func (GistComment) GetBodyHTML ¶ added in v0.11.4
func (this GistComment) GetBodyHTML() string
The body rendered to HTML.
func (GistComment) GetBodyText ¶ added in v0.11.4
func (this GistComment) GetBodyText() string
The body rendered to text.
func (GistComment) GetCreatedAt ¶ added in v0.11.4
func (this GistComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (GistComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this GistComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (GistComment) GetEditor ¶ added in v0.11.4
func (this GistComment) GetEditor() Actor
The actor who edited the comment.
func (GistComment) GetID ¶ added in v0.11.4
func (this GistComment) GetID() string
func (GistComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this GistComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (GistComment) GetIsMinimized ¶ added in v0.11.4
func (this GistComment) GetIsMinimized() bool
Returns whether or not a comment has been minimized.
func (GistComment) GetLastEditedAt ¶ added in v0.11.4
func (this GistComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (GistComment) GetMinimizedReason ¶ added in v0.11.4
func (this GistComment) GetMinimizedReason() *string
Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
func (GistComment) GetPublishedAt ¶ added in v0.11.4
func (this GistComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (GistComment) GetUpdatedAt ¶ added in v0.11.4
func (this GistComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (GistComment) GetUserContentEdits ¶ added in v0.11.4
func (this GistComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (GistComment) GetViewerCanDelete ¶ added in v0.11.4
func (this GistComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (GistComment) GetViewerCanMinimize ¶ added in v0.11.4
func (this GistComment) GetViewerCanMinimize() bool
Check if the current viewer can minimize this object.
func (GistComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this GistComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (GistComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this GistComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (GistComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this GistComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (GistComment) IsComment ¶
func (GistComment) IsComment()
func (GistComment) IsDeletable ¶
func (GistComment) IsDeletable()
func (GistComment) IsMinimizable ¶
func (GistComment) IsMinimizable()
func (GistComment) IsNode ¶
func (GistComment) IsNode()
func (GistComment) IsUpdatable ¶
func (GistComment) IsUpdatable()
func (GistComment) IsUpdatableComment ¶
func (GistComment) IsUpdatableComment()
type GistCommentConnection ¶
type GistCommentConnection struct { // A list of edges. Edges []*GistCommentEdge `json:"edges"` // A list of nodes. Nodes []*GistComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for GistComment.
type GistCommentEdge ¶
type GistCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *GistComment `json:"node"` }
An edge in a connection.
type GistConnection ¶
type GistConnection struct { // A list of edges. Edges []*GistEdge `json:"edges"` // A list of nodes. Nodes []*Gist `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Gist.
type GistEdge ¶
type GistEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Gist `json:"node"` }
An edge in a connection.
type GistFile ¶
type GistFile struct { // The file name encoded to remove characters that are invalid in URL paths. EncodedName *string `json:"encodedName"` // The gist file encoding. Encoding *string `json:"encoding"` // The file extension from the file name. Extension *string `json:"extension"` // Indicates if this file is an image. IsImage bool `json:"isImage"` // Whether the file's contents were truncated. IsTruncated bool `json:"isTruncated"` // The programming language this file is written in. Language *Language `json:"language"` // The gist file name. Name *string `json:"name"` // The gist file size in bytes. Size *int `json:"size"` // UTF8 text data or null if the file is binary Text *string `json:"text"` }
A file in a gist.
type GistOrder ¶
type GistOrder struct { // The field to order repositories by. Field GistOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for gist connections
type GistOrderField ¶
type GistOrderField string
Properties by which gist connections can be ordered.
const ( // Order gists by creation time GistOrderFieldCreatedAt GistOrderField = "CREATED_AT" // Order gists by update time GistOrderFieldUpdatedAt GistOrderField = "UPDATED_AT" // Order gists by push time GistOrderFieldPushedAt GistOrderField = "PUSHED_AT" )
func (GistOrderField) IsValid ¶
func (e GistOrderField) IsValid() bool
func (GistOrderField) MarshalGQL ¶
func (e GistOrderField) MarshalGQL(w io.Writer)
func (GistOrderField) String ¶
func (e GistOrderField) String() string
func (*GistOrderField) UnmarshalGQL ¶
func (e *GistOrderField) UnmarshalGQL(v interface{}) error
type GistPrivacy ¶
type GistPrivacy string
The privacy of a Gist
const ( // Public GistPrivacyPublic GistPrivacy = "PUBLIC" // Secret GistPrivacySecret GistPrivacy = "SECRET" // Gists that are public and secret GistPrivacyAll GistPrivacy = "ALL" )
func (GistPrivacy) IsValid ¶
func (e GistPrivacy) IsValid() bool
func (GistPrivacy) MarshalGQL ¶
func (e GistPrivacy) MarshalGQL(w io.Writer)
func (GistPrivacy) String ¶
func (e GistPrivacy) String() string
func (*GistPrivacy) UnmarshalGQL ¶
func (e *GistPrivacy) UnmarshalGQL(v interface{}) error
type GitActor ¶
type GitActor struct { // A URL pointing to the author's public avatar. AvatarURL string `json:"avatarUrl"` // The timestamp of the Git action (authoring or committing). Date *string `json:"date"` // The email in the Git commit. Email *string `json:"email"` // The name in the Git commit. Name *string `json:"name"` // The GitHub user corresponding to the email field. Null if no such user exists. User *User `json:"user"` }
Represents an actor in a Git commit (ie. an author or committer).
type GitActorConnection ¶
type GitActorConnection struct { // A list of edges. Edges []*GitActorEdge `json:"edges"` // A list of nodes. Nodes []*GitActor `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for GitActor.
type GitActorEdge ¶
type GitActorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *GitActor `json:"node"` }
An edge in a connection.
type GitHubMetadata ¶
type GitHubMetadata struct { // Returns a String that's a SHA of `github-services` GitHubServicesSha string `json:"gitHubServicesSha"` // IP addresses that users connect to for git operations GitIPAddresses []string `json:"gitIpAddresses"` // IP addresses that service hooks are sent from HookIPAddresses []string `json:"hookIpAddresses"` // IP addresses that the importer connects from ImporterIPAddresses []string `json:"importerIpAddresses"` // Whether or not users are verified IsPasswordAuthenticationVerifiable bool `json:"isPasswordAuthenticationVerifiable"` // IP addresses for GitHub Pages' A records PagesIPAddresses []string `json:"pagesIpAddresses"` }
Represents information about the GitHub instance.
type GitObject ¶
type GitObject interface { IsGitObject() // An abbreviated version of the Git object ID GetAbbreviatedOid() string // The HTTP path for this Git object GetCommitResourcePath() string // The HTTP URL for this Git object GetCommitURL() string GetID() string // The Git object ID GetOid() string // The Repository the Git object belongs to GetRepository() Repository }
Represents a Git object.
type GitSignature ¶
type GitSignature interface { IsGitSignature() // Email used to sign this object. GetEmail() string // True if the signature is valid and verified by GitHub. GetIsValid() bool // Payload for GPG signing object. Raw ODB object without the signature header. GetPayload() string // ASCII-armored signature header from object. GetSignature() string // GitHub user corresponding to the email signing this commit. GetSigner() *User // The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid. GetState() GitSignatureState // True if the signature was made with GitHub's signing key. GetWasSignedByGitHub() bool }
Information about a signature (GPG or S/MIME) on a Commit or Tag.
type GitSignatureState ¶
type GitSignatureState string
The state of a Git signature.
const ( // Valid signature and verified by GitHub GitSignatureStateValid GitSignatureState = "VALID" // Invalid signature GitSignatureStateInvalid GitSignatureState = "INVALID" // Malformed signature GitSignatureStateMalformedSig GitSignatureState = "MALFORMED_SIG" // Key used for signing not known to GitHub GitSignatureStateUnknownKey GitSignatureState = "UNKNOWN_KEY" // Invalid email used for signing GitSignatureStateBadEmail GitSignatureState = "BAD_EMAIL" // Email used for signing unverified on GitHub GitSignatureStateUnverifiedEmail GitSignatureState = "UNVERIFIED_EMAIL" // Email used for signing not known to GitHub GitSignatureStateNoUser GitSignatureState = "NO_USER" // Unknown signature type GitSignatureStateUnknownSigType GitSignatureState = "UNKNOWN_SIG_TYPE" // Unsigned GitSignatureStateUnsigned GitSignatureState = "UNSIGNED" GitSignatureStateGpgverifyUnavailable GitSignatureState = "GPGVERIFY_UNAVAILABLE" // Internal error - the GPG verification service misbehaved GitSignatureStateGpgverifyError GitSignatureState = "GPGVERIFY_ERROR" // The usage flags for the key that signed this don't allow signing GitSignatureStateNotSigningKey GitSignatureState = "NOT_SIGNING_KEY" // Signing key expired GitSignatureStateExpiredKey GitSignatureState = "EXPIRED_KEY" // Valid signature, pending certificate revocation checking GitSignatureStateOcspPending GitSignatureState = "OCSP_PENDING" // Valid signature, though certificate revocation check failed GitSignatureStateOcspError GitSignatureState = "OCSP_ERROR" // The signing certificate or its chain could not be verified GitSignatureStateBadCert GitSignatureState = "BAD_CERT" // One or more certificates in chain has been revoked GitSignatureStateOcspRevoked GitSignatureState = "OCSP_REVOKED" )
func (GitSignatureState) IsValid ¶
func (e GitSignatureState) IsValid() bool
func (GitSignatureState) MarshalGQL ¶
func (e GitSignatureState) MarshalGQL(w io.Writer)
func (GitSignatureState) String ¶
func (e GitSignatureState) String() string
func (*GitSignatureState) UnmarshalGQL ¶
func (e *GitSignatureState) UnmarshalGQL(v interface{}) error
type GithubGraphQLClient ¶ added in v0.0.4
type GithubGraphQLClient interface { GetUser(ctx context.Context, repositoryFirst int, languageFirst int, interceptors ...clientv2.RequestInterceptor) (*GetUser, error) GetNode(ctx context.Context, id string, interceptors ...clientv2.RequestInterceptor) (*GetNode, error) AddStar(ctx context.Context, input AddStarInput, interceptors ...clientv2.RequestInterceptor) (*AddStar, error) GetNode2(ctx context.Context, id string, interceptors ...clientv2.RequestInterceptor) (*GetNode2, error) }
func NewClient ¶
func NewClient(cli *http.Client, baseURL string, options *clientv2.Options, interceptors ...clientv2.RequestInterceptor) GithubGraphQLClient
type GpgSignature ¶
type GpgSignature struct { // Email used to sign this object. Email string `json:"email"` // True if the signature is valid and verified by GitHub. IsValid bool `json:"isValid"` // Hex-encoded ID of the key that signed this object. KeyID *string `json:"keyId"` // Payload for GPG signing object. Raw ODB object without the signature header. Payload string `json:"payload"` // ASCII-armored signature header from object. Signature string `json:"signature"` // GitHub user corresponding to the email signing this commit. Signer *User `json:"signer"` // 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"` // True if the signature was made with GitHub's signing key. WasSignedByGitHub bool `json:"wasSignedByGitHub"` }
Represents a GPG signature on a Commit or Tag.
func (GpgSignature) GetEmail ¶ added in v0.11.4
func (this GpgSignature) GetEmail() string
Email used to sign this object.
func (GpgSignature) GetIsValid ¶ added in v0.11.4
func (this GpgSignature) GetIsValid() bool
True if the signature is valid and verified by GitHub.
func (GpgSignature) GetPayload ¶ added in v0.11.4
func (this GpgSignature) GetPayload() string
Payload for GPG signing object. Raw ODB object without the signature header.
func (GpgSignature) GetSignature ¶ added in v0.11.4
func (this GpgSignature) GetSignature() string
ASCII-armored signature header from object.
func (GpgSignature) GetSigner ¶ added in v0.11.4
func (this GpgSignature) GetSigner() *User
GitHub user corresponding to the email signing this commit.
func (GpgSignature) GetState ¶ added in v0.11.4
func (this GpgSignature) GetState() GitSignatureState
The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
func (GpgSignature) GetWasSignedByGitHub ¶ added in v0.11.4
func (this GpgSignature) GetWasSignedByGitHub() bool
True if the signature was made with GitHub's signing key.
func (GpgSignature) IsGitSignature ¶
func (GpgSignature) IsGitSignature()
type GrantEnterpriseOrganizationsMigratorRoleInput ¶ added in v0.0.4
type GrantEnterpriseOrganizationsMigratorRoleInput struct { // The ID of the enterprise to which all organizations managed by it will be granted the migrator role. EnterpriseID string `json:"enterpriseId"` // The login of the user to grant the migrator role Login string `json:"login"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole
type GrantEnterpriseOrganizationsMigratorRolePayload ¶ added in v0.0.4
type GrantEnterpriseOrganizationsMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organizations that had the migrator role applied to for the given user. Organizations *OrganizationConnection `json:"organizations"` }
Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole
type GrantMigratorRoleInput ¶ added in v0.0.4
type GrantMigratorRoleInput struct { // The ID of the organization that the user/team belongs to. OrganizationID string `json:"organizationId"` // The user login or Team slug to grant the migrator role. Actor string `json:"actor"` // Specifies the type of the actor, can be either USER or TEAM. ActorType ActorType `json:"actorType"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of GrantMigratorRole
type GrantMigratorRolePayload ¶ added in v0.0.4
type GrantMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // Did the operation succeed? Success *bool `json:"success"` }
Autogenerated return type of GrantMigratorRole
type HeadRefDeletedEvent ¶
type HeadRefDeletedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the Ref associated with the `head_ref_deleted` event. HeadRef *Ref `json:"headRef"` // Identifies the name of the Ref associated with the `head_ref_deleted` event. HeadRefName string `json:"headRefName"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'head_ref_deleted' event on a given pull request.
func (HeadRefDeletedEvent) GetID ¶ added in v0.11.4
func (this HeadRefDeletedEvent) GetID() string
ID of the object.
func (HeadRefDeletedEvent) IsNode ¶
func (HeadRefDeletedEvent) IsNode()
func (HeadRefDeletedEvent) IsPullRequestTimelineItem ¶
func (HeadRefDeletedEvent) IsPullRequestTimelineItem()
func (HeadRefDeletedEvent) IsPullRequestTimelineItems ¶
func (HeadRefDeletedEvent) IsPullRequestTimelineItems()
type HeadRefForcePushedEvent ¶
type HeadRefForcePushedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the after commit SHA for the 'head_ref_force_pushed' event. AfterCommit *Commit `json:"afterCommit"` // Identifies the before commit SHA for the 'head_ref_force_pushed' event. BeforeCommit *Commit `json:"beforeCommit"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // Identifies the fully qualified ref name for the 'head_ref_force_pushed' event. Ref *Ref `json:"ref"` }
Represents a 'head_ref_force_pushed' event on a given pull request.
func (HeadRefForcePushedEvent) GetID ¶ added in v0.11.4
func (this HeadRefForcePushedEvent) GetID() string
ID of the object.
func (HeadRefForcePushedEvent) IsNode ¶
func (HeadRefForcePushedEvent) IsNode()
func (HeadRefForcePushedEvent) IsPullRequestTimelineItem ¶
func (HeadRefForcePushedEvent) IsPullRequestTimelineItem()
func (HeadRefForcePushedEvent) IsPullRequestTimelineItems ¶
func (HeadRefForcePushedEvent) IsPullRequestTimelineItems()
type HeadRefRestoredEvent ¶
type HeadRefRestoredEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` }
Represents a 'head_ref_restored' event on a given pull request.
func (HeadRefRestoredEvent) GetID ¶ added in v0.11.4
func (this HeadRefRestoredEvent) GetID() string
ID of the object.
func (HeadRefRestoredEvent) IsNode ¶
func (HeadRefRestoredEvent) IsNode()
func (HeadRefRestoredEvent) IsPullRequestTimelineItem ¶
func (HeadRefRestoredEvent) IsPullRequestTimelineItem()
func (HeadRefRestoredEvent) IsPullRequestTimelineItems ¶
func (HeadRefRestoredEvent) IsPullRequestTimelineItems()
type Hovercard ¶
type Hovercard struct { // Each of the contexts for this hovercard Contexts []HovercardContext `json:"contexts"` }
Detail needed to display a hovercard for a user
type HovercardContext ¶
type HovercardContext interface { IsHovercardContext() // A string describing this context GetMessage() string // An octicon to accompany this context GetOcticon() string }
An individual line of a hovercard
type IPAllowListEnabledSettingValue ¶
type IPAllowListEnabledSettingValue string
The possible values for the IP allow list enabled setting.
const ( // The setting is enabled for the owner. IPAllowListEnabledSettingValueEnabled IPAllowListEnabledSettingValue = "ENABLED" // The setting is disabled for the owner. IPAllowListEnabledSettingValueDisabled IPAllowListEnabledSettingValue = "DISABLED" )
func (IPAllowListEnabledSettingValue) IsValid ¶
func (e IPAllowListEnabledSettingValue) IsValid() bool
func (IPAllowListEnabledSettingValue) MarshalGQL ¶
func (e IPAllowListEnabledSettingValue) MarshalGQL(w io.Writer)
func (IPAllowListEnabledSettingValue) String ¶
func (e IPAllowListEnabledSettingValue) String() string
func (*IPAllowListEnabledSettingValue) UnmarshalGQL ¶
func (e *IPAllowListEnabledSettingValue) UnmarshalGQL(v interface{}) error
type IPAllowListEntry ¶
type IPAllowListEntry struct { // A single IP address or range of IP addresses in CIDR notation. AllowListValue string `json:"allowListValue"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Whether the entry is currently active. IsActive bool `json:"isActive"` // The name of the IP allow list entry. Name *string `json:"name"` // The owner of the IP allow list entry. Owner IPAllowListOwner `json:"owner"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An IP address or range of addresses that is allowed to access an owner's resources.
func (IPAllowListEntry) GetID ¶ added in v0.11.4
func (this IPAllowListEntry) GetID() string
ID of the object.
func (IPAllowListEntry) IsNode ¶
func (IPAllowListEntry) IsNode()
type IPAllowListEntryConnection ¶
type IPAllowListEntryConnection struct { // A list of edges. Edges []*IPAllowListEntryEdge `json:"edges"` // A list of nodes. Nodes []*IPAllowListEntry `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for IpAllowListEntry.
type IPAllowListEntryEdge ¶
type IPAllowListEntryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *IPAllowListEntry `json:"node"` }
An edge in a connection.
type IPAllowListEntryOrder ¶
type IPAllowListEntryOrder struct { // The field to order IP allow list entries by. Field IPAllowListEntryOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for IP allow list entry connections.
type IPAllowListEntryOrderField ¶
type IPAllowListEntryOrderField string
Properties by which IP allow list entry connections can be ordered.
const ( // Order IP allow list entries by creation time. IPAllowListEntryOrderFieldCreatedAt IPAllowListEntryOrderField = "CREATED_AT" // Order IP allow list entries by the allow list value. IPAllowListEntryOrderFieldAllowListValue IPAllowListEntryOrderField = "ALLOW_LIST_VALUE" )
func (IPAllowListEntryOrderField) IsValid ¶
func (e IPAllowListEntryOrderField) IsValid() bool
func (IPAllowListEntryOrderField) MarshalGQL ¶
func (e IPAllowListEntryOrderField) MarshalGQL(w io.Writer)
func (IPAllowListEntryOrderField) String ¶
func (e IPAllowListEntryOrderField) String() string
func (*IPAllowListEntryOrderField) UnmarshalGQL ¶
func (e *IPAllowListEntryOrderField) UnmarshalGQL(v interface{}) error
type IPAllowListForInstalledAppsEnabledSettingValue ¶ added in v0.0.3
type IPAllowListForInstalledAppsEnabledSettingValue string
The possible values for the IP allow list configuration for installed GitHub Apps setting.
const ( // The setting is enabled for the owner. IPAllowListForInstalledAppsEnabledSettingValueEnabled IPAllowListForInstalledAppsEnabledSettingValue = "ENABLED" // The setting is disabled for the owner. IPAllowListForInstalledAppsEnabledSettingValueDisabled IPAllowListForInstalledAppsEnabledSettingValue = "DISABLED" )
func (IPAllowListForInstalledAppsEnabledSettingValue) IsValid ¶ added in v0.0.3
func (e IPAllowListForInstalledAppsEnabledSettingValue) IsValid() bool
func (IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL ¶ added in v0.0.3
func (e IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL(w io.Writer)
func (IPAllowListForInstalledAppsEnabledSettingValue) String ¶ added in v0.0.3
func (e IPAllowListForInstalledAppsEnabledSettingValue) String() string
func (*IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL ¶ added in v0.0.3
func (e *IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL(v interface{}) error
type IPAllowListOwner ¶
type IPAllowListOwner interface {
IsIPAllowListOwner()
}
Types that can own an IP allow list.
type IdentityProviderConfigurationState ¶
type IdentityProviderConfigurationState string
The possible states in which authentication can be configured with an identity provider.
const ( // Authentication with an identity provider is configured and enforced. IdentityProviderConfigurationStateEnforced IdentityProviderConfigurationState = "ENFORCED" // Authentication with an identity provider is configured but not enforced. IdentityProviderConfigurationStateConfigured IdentityProviderConfigurationState = "CONFIGURED" // Authentication with an identity provider is not configured. IdentityProviderConfigurationStateUnconfigured IdentityProviderConfigurationState = "UNCONFIGURED" )
func (IdentityProviderConfigurationState) IsValid ¶
func (e IdentityProviderConfigurationState) IsValid() bool
func (IdentityProviderConfigurationState) MarshalGQL ¶
func (e IdentityProviderConfigurationState) MarshalGQL(w io.Writer)
func (IdentityProviderConfigurationState) String ¶
func (e IdentityProviderConfigurationState) String() string
func (*IdentityProviderConfigurationState) UnmarshalGQL ¶
func (e *IdentityProviderConfigurationState) UnmarshalGQL(v interface{}) error
type InviteEnterpriseAdminInput ¶
type InviteEnterpriseAdminInput struct { // The ID of the enterprise to which you want to invite an administrator. EnterpriseID string `json:"enterpriseId"` // The login of a user to invite as an administrator. Invitee *string `json:"invitee,omitempty"` // The email of the person to invite as an administrator. Email *string `json:"email,omitempty"` // The role of the administrator. Role *EnterpriseAdministratorRole `json:"role,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of InviteEnterpriseAdmin
type InviteEnterpriseAdminPayload ¶
type InviteEnterpriseAdminPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The created enterprise administrator invitation. Invitation *EnterpriseAdministratorInvitation `json:"invitation"` }
Autogenerated return type of InviteEnterpriseAdmin
type Issue ¶
type Issue struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason"` // A list of Users assigned to this object. Assignees UserConnection `json:"assignees"` // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // Identifies the body of the issue. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The http path for this issue body BodyResourcePath string `json:"bodyResourcePath"` // Identifies the body of the issue rendered to text. BodyText string `json:"bodyText"` // The http URL for this issue body BodyURL string `json:"bodyUrl"` // Indicates if the object is closed (definition of closed may depend on type) Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // A list of comments associated with the Issue. Comments IssueCommentConnection `json:"comments"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` // The hovercard information for this issue Hovercard Hovercard `json:"hovercard"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Indicates whether or not this issue is currently pinned to the repository issues list IsPinned *bool `json:"isPinned"` // Is this issue read by the viewer IsReadByViewer *bool `json:"isReadByViewer"` // A list of labels associated with the object. Labels *LabelConnection `json:"labels"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Branches linked to this issue. LinkedBranches LinkedBranchConnection `json:"linkedBranches"` // `true` if the object is locked Locked bool `json:"locked"` // Identifies the milestone associated with the issue. Milestone *Milestone `json:"milestone"` // Identifies the issue number. Number int `json:"number"` // A list of Users that are participating in the Issue conversation. Participants UserConnection `json:"participants"` // List of project cards associated with this issue. ProjectCards ProjectCardConnection `json:"projectCards"` // List of project items associated with this issue. ProjectItems ProjectV2ItemConnection `json:"projectItems"` // Find a project by number. ProjectV2 *ProjectV2 `json:"projectV2"` // A list of projects under the owner. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path for this issue ResourcePath string `json:"resourcePath"` // Identifies the state of the issue. State IssueState `json:"state"` // Identifies the reason for the issue state. StateReason *IssueStateReason `json:"stateReason"` // A list of events, comments, commits, etc. associated with the issue. Timeline IssueTimelineConnection `json:"timeline"` // A list of events, comments, commits, etc. associated with the issue. TimelineItems IssueTimelineItemsConnection `json:"timelineItems"` // Identifies the issue title. Title string `json:"title"` // Identifies the issue title rendered to HTML. TitleHTML string `json:"titleHTML"` // A list of issues that track this issue TrackedInIssues IssueConnection `json:"trackedInIssues"` // A list of issues tracked inside the current issue TrackedIssues IssueConnection `json:"trackedIssues"` // The number of tracked issues for this issue TrackedIssuesCount int `json:"trackedIssuesCount"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this issue URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` }
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
func (Issue) GetActiveLockReason ¶ added in v0.11.4
func (this Issue) GetActiveLockReason() *LockReason
Reason that the conversation was locked.
func (Issue) GetAssignees ¶ added in v0.11.4
func (this Issue) GetAssignees() UserConnection
A list of Users assigned to this object.
func (Issue) GetAuthorAssociation ¶ added in v0.11.4
func (this Issue) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (Issue) GetBodyHTML ¶ added in v0.11.4
The body rendered to HTML.
func (Issue) GetBodyText ¶ added in v0.11.4
The body rendered to text.
func (Issue) GetClosed ¶ added in v0.11.4
Indicates if the object is closed (definition of closed may depend on type)
func (Issue) GetClosedAt ¶ added in v0.11.4
Identifies the date and time when the object was closed.
func (Issue) GetCreatedAt ¶ added in v0.11.4
Identifies the date and time when the object was created.
func (Issue) GetCreatedViaEmail ¶ added in v0.11.4
Check if this comment was created via an email reply.
func (Issue) GetDatabaseID ¶ added in v0.11.4
Identifies the primary key from the database.
func (Issue) GetIncludesCreatedEdit ¶ added in v0.11.4
Check if this comment was edited and includes an edit with the creation data
func (Issue) GetLabels ¶ added in v0.11.4
func (this Issue) GetLabels() *LabelConnection
A list of labels associated with the object.
func (Issue) GetLastEditedAt ¶ added in v0.11.4
The moment the editor made the last edit
func (Issue) GetProjectV2 ¶ added in v0.11.4
Find a project by number.
func (Issue) GetProjectsV2 ¶ added in v0.11.4
func (this Issue) GetProjectsV2() ProjectV2Connection
A list of projects under the owner.
func (Issue) GetPublishedAt ¶ added in v0.11.4
Identifies when the comment was published at.
func (Issue) GetReactionGroups ¶ added in v0.11.4
func (this Issue) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (Issue) GetReactions ¶ added in v0.11.4
func (this Issue) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (Issue) GetRepository ¶ added in v0.11.4
func (this Issue) GetRepository() Repository
The repository associated with this node.
func (Issue) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (Issue) GetUpdatedAt ¶ added in v0.11.4
Identifies the date and time when the object was last updated.
func (Issue) GetUserContentEdits ¶ added in v0.11.4
func (this Issue) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (Issue) GetViewerCanReact ¶ added in v0.11.4
Can user react to this subject
func (Issue) GetViewerCanSubscribe ¶ added in v0.11.4
Check if the viewer is able to change their subscription status for the repository.
func (Issue) GetViewerCanUpdate ¶ added in v0.11.4
Check if the current viewer can update this object.
func (Issue) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this Issue) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (Issue) GetViewerDidAuthor ¶ added in v0.11.4
Did the viewer author this comment.
func (Issue) GetViewerSubscription ¶ added in v0.11.4
func (this Issue) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (Issue) IsAssignable ¶
func (Issue) IsAssignable()
func (Issue) IsClosable ¶
func (Issue) IsClosable()
func (Issue) IsIssueOrPullRequest ¶
func (Issue) IsIssueOrPullRequest()
func (Issue) IsLabelable ¶
func (Issue) IsLabelable()
func (Issue) IsLockable ¶
func (Issue) IsLockable()
func (Issue) IsMilestoneItem ¶
func (Issue) IsMilestoneItem()
func (Issue) IsProjectCardItem ¶
func (Issue) IsProjectCardItem()
func (Issue) IsProjectV2ItemContent ¶ added in v0.11.4
func (Issue) IsProjectV2ItemContent()
func (Issue) IsProjectV2Owner ¶ added in v0.11.4
func (Issue) IsProjectV2Owner()
func (Issue) IsReactable ¶
func (Issue) IsReactable()
func (Issue) IsReferencedSubject ¶
func (Issue) IsReferencedSubject()
func (Issue) IsRenamedTitleSubject ¶
func (Issue) IsRenamedTitleSubject()
func (Issue) IsRepositoryNode ¶
func (Issue) IsRepositoryNode()
func (Issue) IsSearchResultItem ¶
func (Issue) IsSearchResultItem()
func (Issue) IsSubscribable ¶
func (Issue) IsSubscribable()
func (Issue) IsUniformResourceLocatable ¶
func (Issue) IsUniformResourceLocatable()
func (Issue) IsUpdatable ¶
func (Issue) IsUpdatable()
func (Issue) IsUpdatableComment ¶
func (Issue) IsUpdatableComment()
type IssueClosedStateReason ¶ added in v0.11.4
type IssueClosedStateReason string
The possible state reasons of a closed issue.
const ( // An issue that has been closed as completed IssueClosedStateReasonCompleted IssueClosedStateReason = "COMPLETED" // An issue that has been closed as not planned IssueClosedStateReasonNotPlanned IssueClosedStateReason = "NOT_PLANNED" )
func (IssueClosedStateReason) IsValid ¶ added in v0.11.4
func (e IssueClosedStateReason) IsValid() bool
func (IssueClosedStateReason) MarshalGQL ¶ added in v0.11.4
func (e IssueClosedStateReason) MarshalGQL(w io.Writer)
func (IssueClosedStateReason) String ¶ added in v0.11.4
func (e IssueClosedStateReason) String() string
func (*IssueClosedStateReason) UnmarshalGQL ¶ added in v0.11.4
func (e *IssueClosedStateReason) UnmarshalGQL(v interface{}) error
type IssueComment ¶
type IssueComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The body as Markdown. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Returns whether or not a comment has been minimized. IsMinimized bool `json:"isMinimized"` // Identifies the issue associated with the comment. Issue Issue `json:"issue"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. MinimizedReason *string `json:"minimizedReason"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // Returns the pull request associated with the comment, if this comment was made on a // pull request. // PullRequest *PullRequest `json:"pullRequest"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path for this issue comment ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this issue comment URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Check if the current viewer can minimize this object. ViewerCanMinimize bool `json:"viewerCanMinimize"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on an Issue.
func (IssueComment) GetAuthor ¶ added in v0.11.4
func (this IssueComment) GetAuthor() Actor
The actor who authored the comment.
func (IssueComment) GetAuthorAssociation ¶ added in v0.11.4
func (this IssueComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (IssueComment) GetBody ¶ added in v0.11.4
func (this IssueComment) GetBody() string
The body as Markdown.
func (IssueComment) GetBodyHTML ¶ added in v0.11.4
func (this IssueComment) GetBodyHTML() string
The body rendered to HTML.
func (IssueComment) GetBodyText ¶ added in v0.11.4
func (this IssueComment) GetBodyText() string
The body rendered to text.
func (IssueComment) GetCreatedAt ¶ added in v0.11.4
func (this IssueComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (IssueComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this IssueComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (IssueComment) GetDatabaseID ¶ added in v0.11.4
func (this IssueComment) GetDatabaseID() *int
Identifies the primary key from the database.
func (IssueComment) GetEditor ¶ added in v0.11.4
func (this IssueComment) GetEditor() Actor
The actor who edited the comment.
func (IssueComment) GetID ¶ added in v0.11.4
func (this IssueComment) GetID() string
func (IssueComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this IssueComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (IssueComment) GetIsMinimized ¶ added in v0.11.4
func (this IssueComment) GetIsMinimized() bool
Returns whether or not a comment has been minimized.
func (IssueComment) GetLastEditedAt ¶ added in v0.11.4
func (this IssueComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (IssueComment) GetMinimizedReason ¶ added in v0.11.4
func (this IssueComment) GetMinimizedReason() *string
Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
func (IssueComment) GetPublishedAt ¶ added in v0.11.4
func (this IssueComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (IssueComment) GetReactionGroups ¶ added in v0.11.4
func (this IssueComment) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (IssueComment) GetReactions ¶ added in v0.11.4
func (this IssueComment) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (IssueComment) GetRepository ¶ added in v0.11.4
func (this IssueComment) GetRepository() Repository
The repository associated with this node.
func (IssueComment) GetUpdatedAt ¶ added in v0.11.4
func (this IssueComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (IssueComment) GetUserContentEdits ¶ added in v0.11.4
func (this IssueComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (IssueComment) GetViewerCanDelete ¶ added in v0.11.4
func (this IssueComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (IssueComment) GetViewerCanMinimize ¶ added in v0.11.4
func (this IssueComment) GetViewerCanMinimize() bool
Check if the current viewer can minimize this object.
func (IssueComment) GetViewerCanReact ¶ added in v0.11.4
func (this IssueComment) GetViewerCanReact() bool
Can user react to this subject
func (IssueComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this IssueComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (IssueComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this IssueComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (IssueComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this IssueComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (IssueComment) IsComment ¶
func (IssueComment) IsComment()
func (IssueComment) IsDeletable ¶
func (IssueComment) IsDeletable()
func (IssueComment) IsIssueTimelineItem ¶
func (IssueComment) IsIssueTimelineItem()
func (IssueComment) IsIssueTimelineItems ¶
func (IssueComment) IsIssueTimelineItems()
func (IssueComment) IsMinimizable ¶
func (IssueComment) IsMinimizable()
func (IssueComment) IsNode ¶
func (IssueComment) IsNode()
func (IssueComment) IsPullRequestTimelineItem ¶
func (IssueComment) IsPullRequestTimelineItem()
func (IssueComment) IsPullRequestTimelineItems ¶
func (IssueComment) IsPullRequestTimelineItems()
func (IssueComment) IsReactable ¶
func (IssueComment) IsReactable()
func (IssueComment) IsRepositoryNode ¶
func (IssueComment) IsRepositoryNode()
func (IssueComment) IsUpdatable ¶
func (IssueComment) IsUpdatable()
func (IssueComment) IsUpdatableComment ¶
func (IssueComment) IsUpdatableComment()
type IssueCommentConnection ¶
type IssueCommentConnection struct { // A list of edges. Edges []*IssueCommentEdge `json:"edges"` // A list of nodes. Nodes []*IssueComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for IssueComment.
type IssueCommentEdge ¶
type IssueCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *IssueComment `json:"node"` }
An edge in a connection.
type IssueCommentOrder ¶
type IssueCommentOrder struct { // The field in which to order issue comments by. Field IssueCommentOrderField `json:"field"` // The direction in which to order issue comments by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of issue comments can be ordered upon return.
type IssueCommentOrderField ¶
type IssueCommentOrderField string
Properties by which issue comment connections can be ordered.
const ( // Order issue comments by update time IssueCommentOrderFieldUpdatedAt IssueCommentOrderField = "UPDATED_AT" )
func (IssueCommentOrderField) IsValid ¶
func (e IssueCommentOrderField) IsValid() bool
func (IssueCommentOrderField) MarshalGQL ¶
func (e IssueCommentOrderField) MarshalGQL(w io.Writer)
func (IssueCommentOrderField) String ¶
func (e IssueCommentOrderField) String() string
func (*IssueCommentOrderField) UnmarshalGQL ¶
func (e *IssueCommentOrderField) UnmarshalGQL(v interface{}) error
type IssueConnection ¶
type IssueConnection struct { // A list of edges. Edges []*IssueEdge `json:"edges"` // A list of nodes. Nodes []*Issue `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Issue.
type IssueContributionsByRepository ¶
type IssueContributionsByRepository struct { // The issue contributions. Contributions CreatedIssueContributionConnection `json:"contributions"` // The repository in which the issues were opened. Repository Repository `json:"repository"` }
This aggregates issues opened by a user within one repository.
type IssueEdge ¶
type IssueEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Issue `json:"node"` }
An edge in a connection.
type IssueFilters ¶
type IssueFilters struct { // List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. Assignee *string `json:"assignee,omitempty"` // List issues created by given name. CreatedBy *string `json:"createdBy,omitempty"` // List issues where the list of label names exist on the issue. Labels []string `json:"labels,omitempty"` // List issues where the given name is mentioned in the issue. Mentioned *string `json:"mentioned,omitempty"` // 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. Milestone *string `json:"milestone,omitempty"` // 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. MilestoneNumber *string `json:"milestoneNumber,omitempty"` // List issues that have been updated at or after the given date. Since *time.Time `json:"since,omitempty"` // List issues filtered by the list of states given. States []IssueState `json:"states,omitempty"` // List issues subscribed to by viewer. ViewerSubscribed *bool `json:"viewerSubscribed,omitempty"` }
Ways in which to filter lists of issues.
type IssueOrPullRequest ¶
type IssueOrPullRequest interface {
IsIssueOrPullRequest()
}
Used for return value of Repository.issueOrPullRequest.
type IssueOrder ¶
type IssueOrder struct { // The field in which to order issues by. Field IssueOrderField `json:"field"` // The direction in which to order issues by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of issues can be ordered upon return.
type IssueOrderField ¶
type IssueOrderField string
Properties by which issue connections can be ordered.
const ( // Order issues by creation time IssueOrderFieldCreatedAt IssueOrderField = "CREATED_AT" // Order issues by update time IssueOrderFieldUpdatedAt IssueOrderField = "UPDATED_AT" // Order issues by comment count IssueOrderFieldComments IssueOrderField = "COMMENTS" )
func (IssueOrderField) IsValid ¶
func (e IssueOrderField) IsValid() bool
func (IssueOrderField) MarshalGQL ¶
func (e IssueOrderField) MarshalGQL(w io.Writer)
func (IssueOrderField) String ¶
func (e IssueOrderField) String() string
func (*IssueOrderField) UnmarshalGQL ¶
func (e *IssueOrderField) UnmarshalGQL(v interface{}) error
type IssueState ¶
type IssueState string
The possible states of an issue.
const ( // An issue that is still open IssueStateOpen IssueState = "OPEN" // An issue that has been closed IssueStateClosed IssueState = "CLOSED" )
func (IssueState) IsValid ¶
func (e IssueState) IsValid() bool
func (IssueState) MarshalGQL ¶
func (e IssueState) MarshalGQL(w io.Writer)
func (IssueState) String ¶
func (e IssueState) String() string
func (*IssueState) UnmarshalGQL ¶
func (e *IssueState) UnmarshalGQL(v interface{}) error
type IssueStateReason ¶ added in v0.11.4
type IssueStateReason string
The possible state reasons of an issue.
const ( // An issue that has been reopened IssueStateReasonReopened IssueStateReason = "REOPENED" // An issue that has been closed as not planned IssueStateReasonNotPlanned IssueStateReason = "NOT_PLANNED" // An issue that has been closed as completed IssueStateReasonCompleted IssueStateReason = "COMPLETED" )
func (IssueStateReason) IsValid ¶ added in v0.11.4
func (e IssueStateReason) IsValid() bool
func (IssueStateReason) MarshalGQL ¶ added in v0.11.4
func (e IssueStateReason) MarshalGQL(w io.Writer)
func (IssueStateReason) String ¶ added in v0.11.4
func (e IssueStateReason) String() string
func (*IssueStateReason) UnmarshalGQL ¶ added in v0.11.4
func (e *IssueStateReason) UnmarshalGQL(v interface{}) error
type IssueTemplate ¶
type IssueTemplate struct { // The template purpose. About *string `json:"about"` // The suggested issue body. Body *string `json:"body"` // The template filename. Filename string `json:"filename"` // The template name. Name string `json:"name"` // The suggested issue title. Title *string `json:"title"` }
A repository issue template.
type IssueTimelineConnection ¶
type IssueTimelineConnection struct { // A list of edges. Edges []*IssueTimelineItemEdge `json:"edges"` // A list of nodes. Nodes []IssueTimelineItem `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for IssueTimelineItem.
type IssueTimelineItem ¶
type IssueTimelineItem interface {
IsIssueTimelineItem()
}
An item in an issue timeline
type IssueTimelineItemEdge ¶
type IssueTimelineItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node IssueTimelineItem `json:"node"` }
An edge in a connection.
type IssueTimelineItems ¶
type IssueTimelineItems interface {
IsIssueTimelineItems()
}
An item in an issue timeline
type IssueTimelineItemsConnection ¶
type IssueTimelineItemsConnection struct { // A list of edges. Edges []*IssueTimelineItemsEdge `json:"edges"` // Identifies the count of items after applying `before` and `after` filters. FilteredCount int `json:"filteredCount"` // A list of nodes. Nodes []IssueTimelineItems `json:"nodes"` // Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. PageCount int `json:"pageCount"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // Identifies the date and time when the timeline was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The connection type for IssueTimelineItems.
type IssueTimelineItemsEdge ¶
type IssueTimelineItemsEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node IssueTimelineItems `json:"node"` }
An edge in a connection.
type IssueTimelineItemsItemType ¶
type IssueTimelineItemsItemType string
The possible item types found in a timeline.
const ( // Represents a comment on an Issue. IssueTimelineItemsItemTypeIssueComment IssueTimelineItemsItemType = "ISSUE_COMMENT" // Represents a mention made by one issue or pull request to another. IssueTimelineItemsItemTypeCrossReferencedEvent IssueTimelineItemsItemType = "CROSS_REFERENCED_EVENT" // Represents a 'added_to_project' event on a given issue or pull request. IssueTimelineItemsItemTypeAddedToProjectEvent IssueTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT" // Represents an 'assigned' event on any assignable object. IssueTimelineItemsItemTypeAssignedEvent IssueTimelineItemsItemType = "ASSIGNED_EVENT" // Represents a 'closed' event on any `Closable`. IssueTimelineItemsItemTypeClosedEvent IssueTimelineItemsItemType = "CLOSED_EVENT" // Represents a 'comment_deleted' event on a given issue or pull request. IssueTimelineItemsItemTypeCommentDeletedEvent IssueTimelineItemsItemType = "COMMENT_DELETED_EVENT" // Represents a 'connected' event on a given issue or pull request. IssueTimelineItemsItemTypeConnectedEvent IssueTimelineItemsItemType = "CONNECTED_EVENT" // Represents a 'converted_note_to_issue' event on a given issue or pull request. IssueTimelineItemsItemTypeConvertedNoteToIssueEvent IssueTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT" // Represents a 'converted_to_discussion' event on a given issue. IssueTimelineItemsItemTypeConvertedToDiscussionEvent IssueTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT" // Represents a 'demilestoned' event on a given issue or pull request. IssueTimelineItemsItemTypeDemilestonedEvent IssueTimelineItemsItemType = "DEMILESTONED_EVENT" // Represents a 'disconnected' event on a given issue or pull request. IssueTimelineItemsItemTypeDisconnectedEvent IssueTimelineItemsItemType = "DISCONNECTED_EVENT" // Represents a 'labeled' event on a given issue or pull request. IssueTimelineItemsItemTypeLabeledEvent IssueTimelineItemsItemType = "LABELED_EVENT" // Represents a 'locked' event on a given issue or pull request. IssueTimelineItemsItemTypeLockedEvent IssueTimelineItemsItemType = "LOCKED_EVENT" // Represents a 'marked_as_duplicate' event on a given issue or pull request. IssueTimelineItemsItemTypeMarkedAsDuplicateEvent IssueTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT" // Represents a 'mentioned' event on a given issue or pull request. IssueTimelineItemsItemTypeMentionedEvent IssueTimelineItemsItemType = "MENTIONED_EVENT" // Represents a 'milestoned' event on a given issue or pull request. IssueTimelineItemsItemTypeMilestonedEvent IssueTimelineItemsItemType = "MILESTONED_EVENT" // Represents a 'moved_columns_in_project' event on a given issue or pull request. IssueTimelineItemsItemTypeMovedColumnsInProjectEvent IssueTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT" // Represents a 'pinned' event on a given issue or pull request. IssueTimelineItemsItemTypePinnedEvent IssueTimelineItemsItemType = "PINNED_EVENT" // Represents a 'referenced' event on a given `ReferencedSubject`. IssueTimelineItemsItemTypeReferencedEvent IssueTimelineItemsItemType = "REFERENCED_EVENT" // Represents a 'removed_from_project' event on a given issue or pull request. IssueTimelineItemsItemTypeRemovedFromProjectEvent IssueTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT" // Represents a 'renamed' event on a given issue or pull request IssueTimelineItemsItemTypeRenamedTitleEvent IssueTimelineItemsItemType = "RENAMED_TITLE_EVENT" // Represents a 'reopened' event on any `Closable`. IssueTimelineItemsItemTypeReopenedEvent IssueTimelineItemsItemType = "REOPENED_EVENT" // Represents a 'subscribed' event on a given `Subscribable`. IssueTimelineItemsItemTypeSubscribedEvent IssueTimelineItemsItemType = "SUBSCRIBED_EVENT" // Represents a 'transferred' event on a given issue or pull request. IssueTimelineItemsItemTypeTransferredEvent IssueTimelineItemsItemType = "TRANSFERRED_EVENT" // Represents an 'unassigned' event on any assignable object. IssueTimelineItemsItemTypeUnassignedEvent IssueTimelineItemsItemType = "UNASSIGNED_EVENT" // Represents an 'unlabeled' event on a given issue or pull request. IssueTimelineItemsItemTypeUnlabeledEvent IssueTimelineItemsItemType = "UNLABELED_EVENT" // Represents an 'unlocked' event on a given issue or pull request. IssueTimelineItemsItemTypeUnlockedEvent IssueTimelineItemsItemType = "UNLOCKED_EVENT" // Represents a 'user_blocked' event on a given user. IssueTimelineItemsItemTypeUserBlockedEvent IssueTimelineItemsItemType = "USER_BLOCKED_EVENT" // Represents an 'unmarked_as_duplicate' event on a given issue or pull request. IssueTimelineItemsItemTypeUnmarkedAsDuplicateEvent IssueTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT" // Represents an 'unpinned' event on a given issue or pull request. IssueTimelineItemsItemTypeUnpinnedEvent IssueTimelineItemsItemType = "UNPINNED_EVENT" // Represents an 'unsubscribed' event on a given `Subscribable`. IssueTimelineItemsItemTypeUnsubscribedEvent IssueTimelineItemsItemType = "UNSUBSCRIBED_EVENT" )
func (IssueTimelineItemsItemType) IsValid ¶
func (e IssueTimelineItemsItemType) IsValid() bool
func (IssueTimelineItemsItemType) MarshalGQL ¶
func (e IssueTimelineItemsItemType) MarshalGQL(w io.Writer)
func (IssueTimelineItemsItemType) String ¶
func (e IssueTimelineItemsItemType) String() string
func (*IssueTimelineItemsItemType) UnmarshalGQL ¶
func (e *IssueTimelineItemsItemType) UnmarshalGQL(v interface{}) error
type JoinedGitHubContribution ¶
type JoinedGitHubContribution struct { // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents a user signing up for a GitHub account.
func (JoinedGitHubContribution) GetIsRestricted ¶ added in v0.11.4
func (this JoinedGitHubContribution) GetIsRestricted() bool
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.
func (JoinedGitHubContribution) GetOccurredAt ¶ added in v0.11.4
func (this JoinedGitHubContribution) GetOccurredAt() time.Time
When this contribution was made.
func (JoinedGitHubContribution) GetResourcePath ¶ added in v0.11.4
func (this JoinedGitHubContribution) GetResourcePath() string
The HTTP path for this contribution.
func (JoinedGitHubContribution) GetURL ¶ added in v0.11.4
func (this JoinedGitHubContribution) GetURL() string
The HTTP URL for this contribution.
func (JoinedGitHubContribution) GetUser ¶ added in v0.11.4
func (this JoinedGitHubContribution) GetUser() User
The user who made this contribution.
func (JoinedGitHubContribution) IsContribution ¶
func (JoinedGitHubContribution) IsContribution()
type Label ¶
type Label struct { // Identifies the label color. Color string `json:"color"` // Identifies the date and time when the label was created. CreatedAt *time.Time `json:"createdAt"` // A brief description of this label. Description *string `json:"description"` ID string `json:"id"` // Indicates whether or not this is a default label. IsDefault bool `json:"isDefault"` // A list of issues associated with this label. Issues IssueConnection `json:"issues"` // Identifies the label name. Name string `json:"name"` // A list of pull requests associated with this label. PullRequests PullRequestConnection `json:"pullRequests"` // The repository associated with this label. Repository Repository `json:"repository"` // The HTTP path for this label. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the label was last updated. UpdatedAt *time.Time `json:"updatedAt"` // The HTTP URL for this label. URL string `json:"url"` }
A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.
type LabelConnection ¶
type LabelConnection struct { // A list of edges. Edges []*LabelEdge `json:"edges"` // A list of nodes. Nodes []*Label `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Label.
type LabelEdge ¶
type LabelEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Label `json:"node"` }
An edge in a connection.
type LabelOrder ¶
type LabelOrder struct { // The field in which to order labels by. Field LabelOrderField `json:"field"` // The direction in which to order labels by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of labels can be ordered upon return.
type LabelOrderField ¶
type LabelOrderField string
Properties by which label connections can be ordered.
const ( // Order labels by name LabelOrderFieldName LabelOrderField = "NAME" // Order labels by creation time LabelOrderFieldCreatedAt LabelOrderField = "CREATED_AT" )
func (LabelOrderField) IsValid ¶
func (e LabelOrderField) IsValid() bool
func (LabelOrderField) MarshalGQL ¶
func (e LabelOrderField) MarshalGQL(w io.Writer)
func (LabelOrderField) String ¶
func (e LabelOrderField) String() string
func (*LabelOrderField) UnmarshalGQL ¶
func (e *LabelOrderField) UnmarshalGQL(v interface{}) error
type Labelable ¶
type Labelable interface { IsLabelable() // A list of labels associated with the object. GetLabels() *LabelConnection }
An object that can have labels assigned to it.
type LabeledEvent ¶
type LabeledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the label associated with the 'labeled' event. Label Label `json:"label"` // Identifies the `Labelable` associated with the event. Labelable Labelable `json:"labelable"` }
Represents a 'labeled' event on a given issue or pull request.
func (LabeledEvent) GetID ¶ added in v0.11.4
func (this LabeledEvent) GetID() string
ID of the object.
func (LabeledEvent) IsIssueTimelineItem ¶
func (LabeledEvent) IsIssueTimelineItem()
func (LabeledEvent) IsIssueTimelineItems ¶
func (LabeledEvent) IsIssueTimelineItems()
func (LabeledEvent) IsNode ¶
func (LabeledEvent) IsNode()
func (LabeledEvent) IsPullRequestTimelineItem ¶
func (LabeledEvent) IsPullRequestTimelineItem()
func (LabeledEvent) IsPullRequestTimelineItems ¶
func (LabeledEvent) IsPullRequestTimelineItems()
type Language ¶
type Language struct { // The color defined for the current language. Color *string `json:"color"` ID string `json:"id"` // The name of the current language. Name string `json:"name"` }
Represents a given language found in repositories.
type LanguageConnection ¶
type LanguageConnection struct { // A list of edges. Edges []*LanguageEdge `json:"edges"` // A list of nodes. Nodes []*Language `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // The total size in bytes of files written in that language. TotalSize int `json:"totalSize"` }
A list of languages associated with the parent.
type LanguageEdge ¶
type LanguageEdge struct { Cursor string `json:"cursor"` Node Language `json:"node"` // The number of bytes of code written in the language. Size int `json:"size"` }
Represents the language of a repository.
type LanguageFragment ¶
type LanguageOrder ¶
type LanguageOrder struct { // The field to order languages by. Field LanguageOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for language connections.
type LanguageOrderField ¶
type LanguageOrderField string
Properties by which language connections can be ordered.
const ( // Order languages by the size of all files containing the language LanguageOrderFieldSize LanguageOrderField = "SIZE" )
func (LanguageOrderField) IsValid ¶
func (e LanguageOrderField) IsValid() bool
func (LanguageOrderField) MarshalGQL ¶
func (e LanguageOrderField) MarshalGQL(w io.Writer)
func (LanguageOrderField) String ¶
func (e LanguageOrderField) String() string
func (*LanguageOrderField) UnmarshalGQL ¶
func (e *LanguageOrderField) UnmarshalGQL(v interface{}) error
type License ¶
type License struct { // The full text of the license Body string `json:"body"` // The conditions set by the license Conditions []*LicenseRule `json:"conditions"` // A human-readable description of the license Description *string `json:"description"` // Whether the license should be featured Featured bool `json:"featured"` // Whether the license should be displayed in license pickers Hidden bool `json:"hidden"` ID string `json:"id"` // Instructions on how to implement the license Implementation *string `json:"implementation"` // The lowercased SPDX ID of the license Key string `json:"key"` // The limitations set by the license Limitations []*LicenseRule `json:"limitations"` // The license full name specified by <https://spdx.org/licenses> Name string `json:"name"` // Customary short name if applicable (e.g, GPLv3) Nickname *string `json:"nickname"` // The permissions set by the license Permissions []*LicenseRule `json:"permissions"` // Whether the license is a pseudo-license placeholder (e.g., other, no-license) PseudoLicense bool `json:"pseudoLicense"` // Short identifier specified by <https://spdx.org/licenses> SpdxID *string `json:"spdxId"` // URL to the license on <https://choosealicense.com> URL *string `json:"url"` }
A repository's open source license
type LicenseRule ¶
type LicenseRule struct { // A description of the rule Description string `json:"description"` // The machine-readable rule key Key string `json:"key"` // The human-readable rule label Label string `json:"label"` }
Describes a License's conditions, permissions, and limitations
type LinkProjectV2ToRepositoryInput ¶ added in v0.11.4
type LinkProjectV2ToRepositoryInput struct { // The ID of the project to link to the repository. ProjectID string `json:"projectId"` // The ID of the repository to link to the project. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of LinkProjectV2ToRepository
type LinkProjectV2ToRepositoryPayload ¶ added in v0.11.4
type LinkProjectV2ToRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository the project is linked to. Repository *Repository `json:"repository"` }
Autogenerated return type of LinkProjectV2ToRepository
type LinkProjectV2ToTeamInput ¶ added in v0.11.4
type LinkProjectV2ToTeamInput struct { // The ID of the project to link to the team. ProjectID string `json:"projectId"` // The ID of the team to link to the project. TeamID string `json:"teamId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of LinkProjectV2ToTeam
type LinkProjectV2ToTeamPayload ¶ added in v0.11.4
type LinkProjectV2ToTeamPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The team the project is linked to Team *Team `json:"team"` }
Autogenerated return type of LinkProjectV2ToTeam
type LinkRepositoryToProjectInput ¶
type LinkRepositoryToProjectInput struct { // The ID of the Project to link to a Repository ProjectID string `json:"projectId"` // The ID of the Repository to link to a Project. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of LinkRepositoryToProject
type LinkRepositoryToProjectPayload ¶
type LinkRepositoryToProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The linked Project. Project *Project `json:"project"` // The linked Repository. Repository *Repository `json:"repository"` }
Autogenerated return type of LinkRepositoryToProject
type LinkedBranch ¶ added in v0.11.4
A branch linked to an issue.
func (LinkedBranch) GetID ¶ added in v0.11.4
func (this LinkedBranch) GetID() string
ID of the object.
func (LinkedBranch) IsNode ¶ added in v0.11.4
func (LinkedBranch) IsNode()
type LinkedBranchConnection ¶ added in v0.11.4
type LinkedBranchConnection struct { // A list of edges. Edges []*LinkedBranchEdge `json:"edges"` // A list of nodes. Nodes []*LinkedBranch `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for LinkedBranch.
type LinkedBranchEdge ¶ added in v0.11.4
type LinkedBranchEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *LinkedBranch `json:"node"` }
An edge in a connection.
type LockLockableInput ¶
type LockLockableInput struct { // ID of the item to be locked. LockableID string `json:"lockableId"` // A reason for why the item will be locked. LockReason *LockReason `json:"lockReason,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of LockLockable
type LockLockablePayload ¶
type LockLockablePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item that was locked. LockedRecord Lockable `json:"lockedRecord"` }
Autogenerated return type of LockLockable
type LockReason ¶
type LockReason string
The possible reasons that an issue or pull request was locked.
const ( // The issue or pull request was locked because the conversation was off-topic. LockReasonOffTopic LockReason = "OFF_TOPIC" // The issue or pull request was locked because the conversation was too heated. LockReasonTooHeated LockReason = "TOO_HEATED" // The issue or pull request was locked because the conversation was resolved. LockReasonResolved LockReason = "RESOLVED" // The issue or pull request was locked because the conversation was spam. LockReasonSpam LockReason = "SPAM" )
func (LockReason) IsValid ¶
func (e LockReason) IsValid() bool
func (LockReason) MarshalGQL ¶
func (e LockReason) MarshalGQL(w io.Writer)
func (LockReason) String ¶
func (e LockReason) String() string
func (*LockReason) UnmarshalGQL ¶
func (e *LockReason) UnmarshalGQL(v interface{}) error
type Lockable ¶
type Lockable interface { IsLockable() // Reason that the conversation was locked. GetActiveLockReason() *LockReason // `true` if the object is locked GetLocked() bool }
An object that can be locked.
type LockedEvent ¶
type LockedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Reason that the conversation was locked (optional). LockReason *LockReason `json:"lockReason"` // Object that was locked. Lockable Lockable `json:"lockable"` }
Represents a 'locked' event on a given issue or pull request.
func (LockedEvent) GetID ¶ added in v0.11.4
func (this LockedEvent) GetID() string
ID of the object.
func (LockedEvent) IsIssueTimelineItem ¶
func (LockedEvent) IsIssueTimelineItem()
func (LockedEvent) IsIssueTimelineItems ¶
func (LockedEvent) IsIssueTimelineItems()
func (LockedEvent) IsNode ¶
func (LockedEvent) IsNode()
func (LockedEvent) IsPullRequestTimelineItem ¶
func (LockedEvent) IsPullRequestTimelineItem()
func (LockedEvent) IsPullRequestTimelineItems ¶
func (LockedEvent) IsPullRequestTimelineItems()
type Mannequin ¶
type Mannequin struct { // A URL pointing to the GitHub App's public avatar. AvatarURL string `json:"avatarUrl"` // The user that has claimed the data attributed to this mannequin. Claimant *User `json:"claimant"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The mannequin's email on the source instance. Email *string `json:"email"` ID string `json:"id"` // The username of the actor. Login string `json:"login"` // The HTML path to this resource. ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The URL to this resource. URL string `json:"url"` }
A placeholder user for attribution of imported data on GitHub.
func (Mannequin) GetAvatarURL ¶ added in v0.11.4
A URL pointing to the actor's public avatar.
func (Mannequin) GetResourcePath ¶ added in v0.11.4
The HTTP path for this actor.
func (Mannequin) IsAssignee ¶
func (Mannequin) IsAssignee()
func (Mannequin) IsClaimable ¶ added in v0.11.4
func (Mannequin) IsClaimable()
func (Mannequin) IsRequestedReviewer ¶
func (Mannequin) IsRequestedReviewer()
func (Mannequin) IsUniformResourceLocatable ¶
func (Mannequin) IsUniformResourceLocatable()
type MannequinConnection ¶ added in v0.11.4
type MannequinConnection struct { // A list of edges. Edges []*MannequinEdge `json:"edges"` // A list of nodes. Nodes []*Mannequin `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Mannequin.
type MannequinEdge ¶ added in v0.11.4
type MannequinEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Mannequin `json:"node"` }
Represents a mannequin.
type MannequinOrder ¶ added in v0.11.4
type MannequinOrder struct { // The field to order mannequins by. Field MannequinOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for mannequins.
type MannequinOrderField ¶ added in v0.11.4
type MannequinOrderField string
Properties by which mannequins can be ordered.
const ( // Order mannequins alphabetically by their source login. MannequinOrderFieldLogin MannequinOrderField = "LOGIN" // Order mannequins why when they were created. MannequinOrderFieldCreatedAt MannequinOrderField = "CREATED_AT" )
func (MannequinOrderField) IsValid ¶ added in v0.11.4
func (e MannequinOrderField) IsValid() bool
func (MannequinOrderField) MarshalGQL ¶ added in v0.11.4
func (e MannequinOrderField) MarshalGQL(w io.Writer)
func (MannequinOrderField) String ¶ added in v0.11.4
func (e MannequinOrderField) String() string
func (*MannequinOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *MannequinOrderField) UnmarshalGQL(v interface{}) error
type MarkDiscussionCommentAsAnswerInput ¶ added in v0.0.3
type MarkDiscussionCommentAsAnswerInput struct { // The Node ID of the discussion comment to mark as an answer. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MarkDiscussionCommentAsAnswer
type MarkDiscussionCommentAsAnswerPayload ¶ added in v0.0.3
type MarkDiscussionCommentAsAnswerPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The discussion that includes the chosen comment. Discussion *Discussion `json:"discussion"` }
Autogenerated return type of MarkDiscussionCommentAsAnswer
type MarkFileAsViewedInput ¶
type MarkFileAsViewedInput struct { // The Node ID of the pull request. PullRequestID string `json:"pullRequestId"` // The path of the file to mark as viewed Path string `json:"path"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MarkFileAsViewed
type MarkFileAsViewedPayload ¶
type MarkFileAsViewedPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of MarkFileAsViewed
type MarkPullRequestReadyForReviewInput ¶
type MarkPullRequestReadyForReviewInput struct { // ID of the pull request to be marked as ready for review. PullRequestID string `json:"pullRequestId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MarkPullRequestReadyForReview
type MarkPullRequestReadyForReviewPayload ¶
type MarkPullRequestReadyForReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that is ready for review. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of MarkPullRequestReadyForReview
type MarkedAsDuplicateEvent ¶
type MarkedAsDuplicateEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // The authoritative issue or pull request which has been duplicated by another. Canonical IssueOrPullRequest `json:"canonical"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The issue or pull request which has been marked as a duplicate of another. Duplicate IssueOrPullRequest `json:"duplicate"` ID string `json:"id"` // Canonical and duplicate belong to different repositories. IsCrossRepository bool `json:"isCrossRepository"` }
Represents a 'marked_as_duplicate' event on a given issue or pull request.
func (MarkedAsDuplicateEvent) GetID ¶ added in v0.11.4
func (this MarkedAsDuplicateEvent) GetID() string
ID of the object.
func (MarkedAsDuplicateEvent) IsIssueTimelineItems ¶
func (MarkedAsDuplicateEvent) IsIssueTimelineItems()
func (MarkedAsDuplicateEvent) IsNode ¶
func (MarkedAsDuplicateEvent) IsNode()
func (MarkedAsDuplicateEvent) IsPullRequestTimelineItems ¶
func (MarkedAsDuplicateEvent) IsPullRequestTimelineItems()
type MarketplaceCategory ¶
type MarketplaceCategory struct { // The category's description. Description *string `json:"description"` // The technical description of how apps listed in this category work with GitHub. HowItWorks *string `json:"howItWorks"` ID string `json:"id"` // The category's name. Name string `json:"name"` // How many Marketplace listings have this as their primary category. PrimaryListingCount int `json:"primaryListingCount"` // The HTTP path for this Marketplace category. ResourcePath string `json:"resourcePath"` // How many Marketplace listings have this as their secondary category. SecondaryListingCount int `json:"secondaryListingCount"` // The short name of the category used in its URL. Slug string `json:"slug"` // The HTTP URL for this Marketplace category. URL string `json:"url"` }
A public description of a Marketplace category.
func (MarketplaceCategory) GetID ¶ added in v0.11.4
func (this MarketplaceCategory) GetID() string
ID of the object.
func (MarketplaceCategory) IsNode ¶
func (MarketplaceCategory) IsNode()
type MarketplaceListing ¶
type MarketplaceListing struct { // The GitHub App this listing represents. App *App `json:"app"` // URL to the listing owner's company site. CompanyURL *string `json:"companyUrl"` // The HTTP path for configuring access to the listing's integration or OAuth app ConfigurationResourcePath string `json:"configurationResourcePath"` // The HTTP URL for configuring access to the listing's integration or OAuth app ConfigurationURL string `json:"configurationUrl"` // URL to the listing's documentation. DocumentationURL *string `json:"documentationUrl"` // The listing's detailed description. ExtendedDescription *string `json:"extendedDescription"` // The listing's detailed description rendered to HTML. ExtendedDescriptionHTML string `json:"extendedDescriptionHTML"` // The listing's introductory description. FullDescription string `json:"fullDescription"` // The listing's introductory description rendered to HTML. FullDescriptionHTML string `json:"fullDescriptionHTML"` // Does this listing have any plans with a free trial? HasPublishedFreeTrialPlans bool `json:"hasPublishedFreeTrialPlans"` // Does this listing have a terms of service link? HasTermsOfService bool `json:"hasTermsOfService"` // Whether the creator of the app is a verified org HasVerifiedOwner bool `json:"hasVerifiedOwner"` // A technical description of how this app works with GitHub. HowItWorks *string `json:"howItWorks"` // The listing's technical description rendered to HTML. HowItWorksHTML string `json:"howItWorksHTML"` ID string `json:"id"` // URL to install the product to the viewer's account or organization. InstallationURL *string `json:"installationUrl"` // Whether this listing's app has been installed for the current viewer InstalledForViewer bool `json:"installedForViewer"` // Whether this listing has been removed from the Marketplace. IsArchived bool `json:"isArchived"` // 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"` // Whether the product this listing represents is available as part of a paid plan. IsPaid bool `json:"isPaid"` // Whether this listing has been approved for display in the Marketplace. IsPublic bool `json:"isPublic"` // Whether this listing has been rejected by GitHub for display in the Marketplace. IsRejected bool `json:"isRejected"` // Whether this listing has been approved for unverified display in the Marketplace. IsUnverified bool `json:"isUnverified"` // Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace. IsUnverifiedPending bool `json:"isUnverifiedPending"` // Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace. IsVerificationPendingFromDraft bool `json:"isVerificationPendingFromDraft"` // Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace. IsVerificationPendingFromUnverified bool `json:"isVerificationPendingFromUnverified"` // Whether this listing has been approved for verified display in the Marketplace. IsVerified bool `json:"isVerified"` // The hex color code, without the leading '#', for the logo background. LogoBackgroundColor string `json:"logoBackgroundColor"` // URL for the listing's logo image. LogoURL *string `json:"logoUrl"` // The listing's full name. Name string `json:"name"` // The listing's very short description without a trailing period or ampersands. NormalizedShortDescription string `json:"normalizedShortDescription"` // URL to the listing's detailed pricing. PricingURL *string `json:"pricingUrl"` // The category that best describes the listing. PrimaryCategory MarketplaceCategory `json:"primaryCategory"` // URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL. PrivacyPolicyURL string `json:"privacyPolicyUrl"` // The HTTP path for the Marketplace listing. ResourcePath string `json:"resourcePath"` // The URLs for the listing's screenshots. ScreenshotUrls []*string `json:"screenshotUrls"` // An alternate category that describes the listing. SecondaryCategory *MarketplaceCategory `json:"secondaryCategory"` // The listing's very short description. ShortDescription string `json:"shortDescription"` // The short name of the listing used in its URL. Slug string `json:"slug"` // URL to the listing's status page. StatusURL *string `json:"statusUrl"` // An email address for support for this listing's app. SupportEmail *string `json:"supportEmail"` // 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 string `json:"supportUrl"` // URL to the listing's terms of service. TermsOfServiceURL *string `json:"termsOfServiceUrl"` // The HTTP URL for the Marketplace listing. URL string `json:"url"` // Can the current viewer add plans for this Marketplace listing. ViewerCanAddPlans bool `json:"viewerCanAddPlans"` // Can the current viewer approve this Marketplace listing. ViewerCanApprove bool `json:"viewerCanApprove"` // Can the current viewer delist this Marketplace listing. ViewerCanDelist bool `json:"viewerCanDelist"` // Can the current viewer edit this Marketplace listing. ViewerCanEdit bool `json:"viewerCanEdit"` // Can the current viewer edit the primary and secondary category of this // Marketplace listing. // ViewerCanEditCategories bool `json:"viewerCanEditCategories"` // Can the current viewer edit the plans for this Marketplace listing. ViewerCanEditPlans bool `json:"viewerCanEditPlans"` // Can the current viewer return this Marketplace listing to draft state // so it becomes editable again. // ViewerCanRedraft bool `json:"viewerCanRedraft"` // Can the current viewer reject this Marketplace listing by returning it to // an editable draft state or rejecting it entirely. // ViewerCanReject bool `json:"viewerCanReject"` // Can the current viewer request this listing be reviewed for display in // the Marketplace as verified. // ViewerCanRequestApproval bool `json:"viewerCanRequestApproval"` // Indicates whether the current user has an active subscription to this Marketplace listing. // ViewerHasPurchased bool `json:"viewerHasPurchased"` // 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"` // Does the current viewer role allow them to administer this Marketplace listing. // ViewerIsListingAdmin bool `json:"viewerIsListingAdmin"` }
A listing in the GitHub integration marketplace.
func (MarketplaceListing) GetID ¶ added in v0.11.4
func (this MarketplaceListing) GetID() string
ID of the object.
func (MarketplaceListing) IsNode ¶
func (MarketplaceListing) IsNode()
func (MarketplaceListing) IsSearchResultItem ¶
func (MarketplaceListing) IsSearchResultItem()
type MarketplaceListingConnection ¶
type MarketplaceListingConnection struct { // A list of edges. Edges []*MarketplaceListingEdge `json:"edges"` // A list of nodes. Nodes []*MarketplaceListing `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
Look up Marketplace Listings
type MarketplaceListingEdge ¶
type MarketplaceListingEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *MarketplaceListing `json:"node"` }
An edge in a connection.
type MemberStatusable ¶
type MemberStatusable interface { IsMemberStatusable() // Get the status messages members of this entity have set that are either public or visible only to the organization. GetMemberStatuses() UserStatusConnection }
Entities that have members who can set status messages.
type MembersCanDeleteReposClearAuditEntry ¶
type MembersCanDeleteReposClearAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a members_can_delete_repos.clear event.
func (MembersCanDeleteReposClearAuditEntry) GetAction ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetAction() string
The action name
func (MembersCanDeleteReposClearAuditEntry) GetActor ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (MembersCanDeleteReposClearAuditEntry) GetActorIP ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActorIP() *string
The IP address of the actor
func (MembersCanDeleteReposClearAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (MembersCanDeleteReposClearAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (MembersCanDeleteReposClearAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (MembersCanDeleteReposClearAuditEntry) GetActorURL ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (MembersCanDeleteReposClearAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetCreatedAt() string
The time the action was initiated
func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (MembersCanDeleteReposClearAuditEntry) GetID ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetID() string
ID of the object.
func (MembersCanDeleteReposClearAuditEntry) GetOperationType ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (MembersCanDeleteReposClearAuditEntry) GetOrganization ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (MembersCanDeleteReposClearAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (MembersCanDeleteReposClearAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (MembersCanDeleteReposClearAuditEntry) GetUser ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetUser() *User
The user affected by the action
func (MembersCanDeleteReposClearAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (MembersCanDeleteReposClearAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (MembersCanDeleteReposClearAuditEntry) GetUserURL ¶ added in v0.11.4
func (this MembersCanDeleteReposClearAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (MembersCanDeleteReposClearAuditEntry) IsAuditEntry ¶
func (MembersCanDeleteReposClearAuditEntry) IsAuditEntry()
func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData ¶
func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData()
func (MembersCanDeleteReposClearAuditEntry) IsNode ¶
func (MembersCanDeleteReposClearAuditEntry) IsNode()
func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry ¶
func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry()
func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData ¶
func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData()
type MembersCanDeleteReposDisableAuditEntry ¶
type MembersCanDeleteReposDisableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a members_can_delete_repos.disable event.
func (MembersCanDeleteReposDisableAuditEntry) GetAction ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetAction() string
The action name
func (MembersCanDeleteReposDisableAuditEntry) GetActor ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (MembersCanDeleteReposDisableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActorIP() *string
The IP address of the actor
func (MembersCanDeleteReposDisableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (MembersCanDeleteReposDisableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (MembersCanDeleteReposDisableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (MembersCanDeleteReposDisableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (MembersCanDeleteReposDisableAuditEntry) GetID ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetID() string
ID of the object.
func (MembersCanDeleteReposDisableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (MembersCanDeleteReposDisableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (MembersCanDeleteReposDisableAuditEntry) GetUser ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetUser() *User
The user affected by the action
func (MembersCanDeleteReposDisableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (MembersCanDeleteReposDisableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this MembersCanDeleteReposDisableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (MembersCanDeleteReposDisableAuditEntry) IsAuditEntry ¶
func (MembersCanDeleteReposDisableAuditEntry) IsAuditEntry()
func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData ¶
func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData()
func (MembersCanDeleteReposDisableAuditEntry) IsNode ¶
func (MembersCanDeleteReposDisableAuditEntry) IsNode()
func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry ¶
func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry()
func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData ¶
func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData()
type MembersCanDeleteReposEnableAuditEntry ¶
type MembersCanDeleteReposEnableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a members_can_delete_repos.enable event.
func (MembersCanDeleteReposEnableAuditEntry) GetAction ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetAction() string
The action name
func (MembersCanDeleteReposEnableAuditEntry) GetActor ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (MembersCanDeleteReposEnableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActorIP() *string
The IP address of the actor
func (MembersCanDeleteReposEnableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (MembersCanDeleteReposEnableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (MembersCanDeleteReposEnableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (MembersCanDeleteReposEnableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (MembersCanDeleteReposEnableAuditEntry) GetID ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetID() string
ID of the object.
func (MembersCanDeleteReposEnableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (MembersCanDeleteReposEnableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (MembersCanDeleteReposEnableAuditEntry) GetUser ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetUser() *User
The user affected by the action
func (MembersCanDeleteReposEnableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (MembersCanDeleteReposEnableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this MembersCanDeleteReposEnableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (MembersCanDeleteReposEnableAuditEntry) IsAuditEntry ¶
func (MembersCanDeleteReposEnableAuditEntry) IsAuditEntry()
func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData ¶
func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData()
func (MembersCanDeleteReposEnableAuditEntry) IsNode ¶
func (MembersCanDeleteReposEnableAuditEntry) IsNode()
func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry ¶
func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry()
func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData ¶
func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData()
type MentionedEvent ¶
type MentionedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` }
Represents a 'mentioned' event on a given issue or pull request.
func (MentionedEvent) GetID ¶ added in v0.11.4
func (this MentionedEvent) GetID() string
ID of the object.
func (MentionedEvent) IsIssueTimelineItems ¶
func (MentionedEvent) IsIssueTimelineItems()
func (MentionedEvent) IsNode ¶
func (MentionedEvent) IsNode()
func (MentionedEvent) IsPullRequestTimelineItems ¶
func (MentionedEvent) IsPullRequestTimelineItems()
type MergeBranchInput ¶
type MergeBranchInput struct { // The Node ID of the Repository containing the base branch that will be modified. RepositoryID string `json:"repositoryId"` // The name of the base branch that the provided head will be merged into. Base string `json:"base"` // The head to merge into the base branch. This can be a branch name or a commit GitObjectID. Head string `json:"head"` // Message to use for the merge commit. If omitted, a default will be used. CommitMessage *string `json:"commitMessage,omitempty"` // The email address to associate with this commit. AuthorEmail *string `json:"authorEmail,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MergeBranch
type MergeBranchPayload ¶
type MergeBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The resulting merge Commit. MergeCommit *Commit `json:"mergeCommit"` }
Autogenerated return type of MergeBranch
type MergeCommitMessage ¶ added in v0.11.4
type MergeCommitMessage string
The possible default commit messages for merges.
const ( // Default to the pull request's title. MergeCommitMessagePrTitle MergeCommitMessage = "PR_TITLE" // Default to the pull request's body. MergeCommitMessagePrBody MergeCommitMessage = "PR_BODY" // Default to a blank commit message. MergeCommitMessageBlank MergeCommitMessage = "BLANK" )
func (MergeCommitMessage) IsValid ¶ added in v0.11.4
func (e MergeCommitMessage) IsValid() bool
func (MergeCommitMessage) MarshalGQL ¶ added in v0.11.4
func (e MergeCommitMessage) MarshalGQL(w io.Writer)
func (MergeCommitMessage) String ¶ added in v0.11.4
func (e MergeCommitMessage) String() string
func (*MergeCommitMessage) UnmarshalGQL ¶ added in v0.11.4
func (e *MergeCommitMessage) UnmarshalGQL(v interface{}) error
type MergeCommitTitle ¶ added in v0.11.4
type MergeCommitTitle string
The possible default commit titles for merges.
const ( // Default to the pull request's title. MergeCommitTitlePrTitle MergeCommitTitle = "PR_TITLE" // Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). MergeCommitTitleMergeMessage MergeCommitTitle = "MERGE_MESSAGE" )
func (MergeCommitTitle) IsValid ¶ added in v0.11.4
func (e MergeCommitTitle) IsValid() bool
func (MergeCommitTitle) MarshalGQL ¶ added in v0.11.4
func (e MergeCommitTitle) MarshalGQL(w io.Writer)
func (MergeCommitTitle) String ¶ added in v0.11.4
func (e MergeCommitTitle) String() string
func (*MergeCommitTitle) UnmarshalGQL ¶ added in v0.11.4
func (e *MergeCommitTitle) UnmarshalGQL(v interface{}) error
type MergePullRequestInput ¶
type MergePullRequestInput struct { // ID of the pull request to be merged. PullRequestID string `json:"pullRequestId"` // Commit headline to use for the merge commit; if omitted, a default message will be used. CommitHeadline *string `json:"commitHeadline,omitempty"` // Commit body to use for the merge commit; if omitted, a default message will be used CommitBody *string `json:"commitBody,omitempty"` // OID that the pull request head ref must match to allow merge; if omitted, no check is performed. ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"` // The merge method to use. If omitted, defaults to 'MERGE' MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"` // The email address to associate with this merge. AuthorEmail *string `json:"authorEmail,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MergePullRequest
type MergePullRequestPayload ¶
type MergePullRequestPayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that was merged. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of MergePullRequest
type MergeableState ¶
type MergeableState string
Whether or not a PullRequest can be merged.
const ( // The pull request can be merged. MergeableStateMergeable MergeableState = "MERGEABLE" // The pull request cannot be merged due to merge conflicts. MergeableStateConflicting MergeableState = "CONFLICTING" // The mergeability of the pull request is still being calculated. MergeableStateUnknown MergeableState = "UNKNOWN" )
func (MergeableState) IsValid ¶
func (e MergeableState) IsValid() bool
func (MergeableState) MarshalGQL ¶
func (e MergeableState) MarshalGQL(w io.Writer)
func (MergeableState) String ¶
func (e MergeableState) String() string
func (*MergeableState) UnmarshalGQL ¶
func (e *MergeableState) UnmarshalGQL(v interface{}) error
type MergedEvent ¶
type MergedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the commit associated with the `merge` event. Commit *Commit `json:"commit"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the Ref associated with the `merge` event. MergeRef *Ref `json:"mergeRef"` // Identifies the name of the Ref associated with the `merge` event. MergeRefName string `json:"mergeRefName"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // The HTTP path for this merged event. ResourcePath string `json:"resourcePath"` // The HTTP URL for this merged event. URL string `json:"url"` }
Represents a 'merged' event on a given pull request.
func (MergedEvent) GetID ¶ added in v0.11.4
func (this MergedEvent) GetID() string
ID of the object.
func (MergedEvent) GetResourcePath ¶ added in v0.11.4
func (this MergedEvent) GetResourcePath() string
The HTML path to this resource.
func (MergedEvent) GetURL ¶ added in v0.11.4
func (this MergedEvent) GetURL() string
The URL to this resource.
func (MergedEvent) IsNode ¶
func (MergedEvent) IsNode()
func (MergedEvent) IsPullRequestTimelineItem ¶
func (MergedEvent) IsPullRequestTimelineItem()
func (MergedEvent) IsPullRequestTimelineItems ¶
func (MergedEvent) IsPullRequestTimelineItems()
func (MergedEvent) IsUniformResourceLocatable ¶
func (MergedEvent) IsUniformResourceLocatable()
type Migration ¶ added in v0.0.4
type Migration interface { IsMigration() // The migration flag to continue on error. GetContinueOnError() bool // Identifies the date and time when the object was created. GetCreatedAt() time.Time // Identifies the primary key from the database. GetDatabaseID() *string // The reason the migration failed. GetFailureReason() *string GetID() string // The URL for the migration log (expires 1 day after migration completes). GetMigrationLogURL() *string // The migration source. GetMigrationSource() MigrationSource // The target repository name. GetRepositoryName() string // The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. GetSourceURL() string // The migration state. GetState() MigrationState }
Represents a GitHub Enterprise Importer (GEI) migration.
type MigrationSource ¶ added in v0.0.4
type MigrationSource struct { ID string `json:"id"` // The migration source name. Name string `json:"name"` // The migration source type. Type MigrationSourceType `json:"type"` // The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. URL string `json:"url"` }
A GitHub Enterprise Importer (GEI) migration source.
func (MigrationSource) GetID ¶ added in v0.11.4
func (this MigrationSource) GetID() string
ID of the object.
func (MigrationSource) IsNode ¶ added in v0.0.4
func (MigrationSource) IsNode()
type MigrationSourceType ¶ added in v0.0.4
type MigrationSourceType string
Represents the different GitHub Enterprise Importer (GEI) migration sources.
const ( // An Azure DevOps migration source. MigrationSourceTypeAzureDevops MigrationSourceType = "AZURE_DEVOPS" // A Bitbucket Server migration source. MigrationSourceTypeBitbucketServer MigrationSourceType = "BITBUCKET_SERVER" // A GitHub Migration API source. MigrationSourceTypeGithubArchive MigrationSourceType = "GITHUB_ARCHIVE" )
func (MigrationSourceType) IsValid ¶ added in v0.0.4
func (e MigrationSourceType) IsValid() bool
func (MigrationSourceType) MarshalGQL ¶ added in v0.0.4
func (e MigrationSourceType) MarshalGQL(w io.Writer)
func (MigrationSourceType) String ¶ added in v0.0.4
func (e MigrationSourceType) String() string
func (*MigrationSourceType) UnmarshalGQL ¶ added in v0.0.4
func (e *MigrationSourceType) UnmarshalGQL(v interface{}) error
type MigrationState ¶ added in v0.0.4
type MigrationState string
The GitHub Enterprise Importer (GEI) migration state.
const ( // The migration has not started. MigrationStateNotStarted MigrationState = "NOT_STARTED" // The migration has been queued. MigrationStateQueued MigrationState = "QUEUED" // The migration is in progress. MigrationStateInProgress MigrationState = "IN_PROGRESS" // The migration has succeeded. MigrationStateSucceeded MigrationState = "SUCCEEDED" // The migration has failed. MigrationStateFailed MigrationState = "FAILED" // The migration needs to have its credentials validated. MigrationStatePendingValidation MigrationState = "PENDING_VALIDATION" // The migration has invalid credentials. MigrationStateFailedValidation MigrationState = "FAILED_VALIDATION" )
func (MigrationState) IsValid ¶ added in v0.0.4
func (e MigrationState) IsValid() bool
func (MigrationState) MarshalGQL ¶ added in v0.0.4
func (e MigrationState) MarshalGQL(w io.Writer)
func (MigrationState) String ¶ added in v0.0.4
func (e MigrationState) String() string
func (*MigrationState) UnmarshalGQL ¶ added in v0.0.4
func (e *MigrationState) UnmarshalGQL(v interface{}) error
type Milestone ¶
type Milestone struct { // Indicates if the object is closed (definition of closed may depend on type) Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the actor who created the milestone. Creator Actor `json:"creator"` // Identifies the description of the milestone. Description *string `json:"description"` // Identifies the due date of the milestone. DueOn *time.Time `json:"dueOn"` ID string `json:"id"` // A list of issues associated with the milestone. Issues IssueConnection `json:"issues"` // Identifies the number of the milestone. Number int `json:"number"` // Identifies the percentage complete for the milestone ProgressPercentage float64 `json:"progressPercentage"` // A list of pull requests associated with the milestone. PullRequests PullRequestConnection `json:"pullRequests"` // The repository associated with this milestone. Repository Repository `json:"repository"` // The HTTP path for this milestone ResourcePath string `json:"resourcePath"` // Identifies the state of the milestone. State MilestoneState `json:"state"` // Identifies the title of the milestone. Title string `json:"title"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this milestone URL string `json:"url"` }
Represents a Milestone object on a given repository.
func (Milestone) GetClosed ¶ added in v0.11.4
Indicates if the object is closed (definition of closed may depend on type)
func (Milestone) GetClosedAt ¶ added in v0.11.4
Identifies the date and time when the object was closed.
func (Milestone) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (Milestone) IsClosable ¶
func (Milestone) IsClosable()
func (Milestone) IsUniformResourceLocatable ¶
func (Milestone) IsUniformResourceLocatable()
type MilestoneConnection ¶
type MilestoneConnection struct { // A list of edges. Edges []*MilestoneEdge `json:"edges"` // A list of nodes. Nodes []*Milestone `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Milestone.
type MilestoneEdge ¶
type MilestoneEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Milestone `json:"node"` }
An edge in a connection.
type MilestoneItem ¶
type MilestoneItem interface {
IsMilestoneItem()
}
Types that can be inside a Milestone.
type MilestoneOrder ¶
type MilestoneOrder struct { // The field to order milestones by. Field MilestoneOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for milestone connections.
type MilestoneOrderField ¶
type MilestoneOrderField string
Properties by which milestone connections can be ordered.
const ( // Order milestones by when they are due. MilestoneOrderFieldDueDate MilestoneOrderField = "DUE_DATE" // Order milestones by when they were created. MilestoneOrderFieldCreatedAt MilestoneOrderField = "CREATED_AT" // Order milestones by when they were last updated. MilestoneOrderFieldUpdatedAt MilestoneOrderField = "UPDATED_AT" // Order milestones by their number. MilestoneOrderFieldNumber MilestoneOrderField = "NUMBER" )
func (MilestoneOrderField) IsValid ¶
func (e MilestoneOrderField) IsValid() bool
func (MilestoneOrderField) MarshalGQL ¶
func (e MilestoneOrderField) MarshalGQL(w io.Writer)
func (MilestoneOrderField) String ¶
func (e MilestoneOrderField) String() string
func (*MilestoneOrderField) UnmarshalGQL ¶
func (e *MilestoneOrderField) UnmarshalGQL(v interface{}) error
type MilestoneState ¶
type MilestoneState string
The possible states of a milestone.
const ( // A milestone that is still open. MilestoneStateOpen MilestoneState = "OPEN" // A milestone that has been closed. MilestoneStateClosed MilestoneState = "CLOSED" )
func (MilestoneState) IsValid ¶
func (e MilestoneState) IsValid() bool
func (MilestoneState) MarshalGQL ¶
func (e MilestoneState) MarshalGQL(w io.Writer)
func (MilestoneState) String ¶
func (e MilestoneState) String() string
func (*MilestoneState) UnmarshalGQL ¶
func (e *MilestoneState) UnmarshalGQL(v interface{}) error
type MilestonedEvent ¶
type MilestonedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the milestone title associated with the 'milestoned' event. MilestoneTitle string `json:"milestoneTitle"` // Object referenced by event. Subject MilestoneItem `json:"subject"` }
Represents a 'milestoned' event on a given issue or pull request.
func (MilestonedEvent) GetID ¶ added in v0.11.4
func (this MilestonedEvent) GetID() string
ID of the object.
func (MilestonedEvent) IsIssueTimelineItem ¶
func (MilestonedEvent) IsIssueTimelineItem()
func (MilestonedEvent) IsIssueTimelineItems ¶
func (MilestonedEvent) IsIssueTimelineItems()
func (MilestonedEvent) IsNode ¶
func (MilestonedEvent) IsNode()
func (MilestonedEvent) IsPullRequestTimelineItem ¶
func (MilestonedEvent) IsPullRequestTimelineItem()
func (MilestonedEvent) IsPullRequestTimelineItems ¶
func (MilestonedEvent) IsPullRequestTimelineItems()
type Minimizable ¶
type Minimizable interface { IsMinimizable() // Returns whether or not a comment has been minimized. GetIsMinimized() bool // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. GetMinimizedReason() *string // Check if the current viewer can minimize this object. GetViewerCanMinimize() bool }
Entities that can be minimized.
type MinimizeCommentInput ¶
type MinimizeCommentInput struct { // The Node ID of the subject to modify. SubjectID string `json:"subjectId"` // The classification of comment Classifier ReportedContentClassifiers `json:"classifier"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MinimizeComment
type MinimizeCommentPayload ¶
type MinimizeCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The comment that was minimized. MinimizedComment Minimizable `json:"minimizedComment"` }
Autogenerated return type of MinimizeComment
type MoveProjectCardInput ¶
type MoveProjectCardInput struct { // The id of the card to move. CardID string `json:"cardId"` // The id of the column to move it into. ColumnID string `json:"columnId"` // Place the new card after the card with this id. Pass null to place it at the top. AfterCardID *string `json:"afterCardId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MoveProjectCard
type MoveProjectCardPayload ¶
type MoveProjectCardPayload struct { // The new edge of the moved card. CardEdge *ProjectCardEdge `json:"cardEdge"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of MoveProjectCard
type MoveProjectColumnInput ¶
type MoveProjectColumnInput struct { // The id of the column to move. ColumnID string `json:"columnId"` // Place the new column after the column with this id. Pass null to place it at the front. AfterColumnID *string `json:"afterColumnId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of MoveProjectColumn
type MoveProjectColumnPayload ¶
type MoveProjectColumnPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new edge of the moved column. ColumnEdge *ProjectColumnEdge `json:"columnEdge"` }
Autogenerated return type of MoveProjectColumn
type MovedColumnsInProjectEvent ¶
type MovedColumnsInProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` }
Represents a 'moved_columns_in_project' event on a given issue or pull request.
func (MovedColumnsInProjectEvent) GetID ¶ added in v0.11.4
func (this MovedColumnsInProjectEvent) GetID() string
ID of the object.
func (MovedColumnsInProjectEvent) IsIssueTimelineItems ¶
func (MovedColumnsInProjectEvent) IsIssueTimelineItems()
func (MovedColumnsInProjectEvent) IsNode ¶
func (MovedColumnsInProjectEvent) IsNode()
func (MovedColumnsInProjectEvent) IsPullRequestTimelineItems ¶
func (MovedColumnsInProjectEvent) IsPullRequestTimelineItems()
type Mutation ¶
type Mutation struct { AbortQueuedMigrations *AbortQueuedMigrationsPayload "json:\"abortQueuedMigrations,omitempty\" graphql:\"abortQueuedMigrations\"" AcceptEnterpriseAdministratorInvitation *AcceptEnterpriseAdministratorInvitationPayload "json:\"acceptEnterpriseAdministratorInvitation,omitempty\" graphql:\"acceptEnterpriseAdministratorInvitation\"" AcceptTopicSuggestion *AcceptTopicSuggestionPayload "json:\"acceptTopicSuggestion,omitempty\" graphql:\"acceptTopicSuggestion\"" AddAssigneesToAssignable *AddAssigneesToAssignablePayload "json:\"addAssigneesToAssignable,omitempty\" graphql:\"addAssigneesToAssignable\"" AddComment *AddCommentPayload "json:\"addComment,omitempty\" graphql:\"addComment\"" AddDiscussionComment *AddDiscussionCommentPayload "json:\"addDiscussionComment,omitempty\" graphql:\"addDiscussionComment\"" AddDiscussionPollVote *AddDiscussionPollVotePayload "json:\"addDiscussionPollVote,omitempty\" graphql:\"addDiscussionPollVote\"" AddEnterpriseOrganizationMember *AddEnterpriseOrganizationMemberPayload "json:\"addEnterpriseOrganizationMember,omitempty\" graphql:\"addEnterpriseOrganizationMember\"" AddEnterpriseSupportEntitlement *AddEnterpriseSupportEntitlementPayload "json:\"addEnterpriseSupportEntitlement,omitempty\" graphql:\"addEnterpriseSupportEntitlement\"" AddLabelsToLabelable *AddLabelsToLabelablePayload "json:\"addLabelsToLabelable,omitempty\" graphql:\"addLabelsToLabelable\"" AddProjectCard *AddProjectCardPayload "json:\"addProjectCard,omitempty\" graphql:\"addProjectCard\"" AddProjectColumn *AddProjectColumnPayload "json:\"addProjectColumn,omitempty\" graphql:\"addProjectColumn\"" AddProjectV2DraftIssue *AddProjectV2DraftIssuePayload "json:\"addProjectV2DraftIssue,omitempty\" graphql:\"addProjectV2DraftIssue\"" AddProjectV2ItemByID *AddProjectV2ItemByIDPayload "json:\"addProjectV2ItemById,omitempty\" graphql:\"addProjectV2ItemById\"" AddPullRequestReview *AddPullRequestReviewPayload "json:\"addPullRequestReview,omitempty\" graphql:\"addPullRequestReview\"" AddPullRequestReviewComment *AddPullRequestReviewCommentPayload "json:\"addPullRequestReviewComment,omitempty\" graphql:\"addPullRequestReviewComment\"" AddPullRequestReviewThread *AddPullRequestReviewThreadPayload "json:\"addPullRequestReviewThread,omitempty\" graphql:\"addPullRequestReviewThread\"" AddReaction *AddReactionPayload "json:\"addReaction,omitempty\" graphql:\"addReaction\"" AddStar *AddStarPayload "json:\"addStar,omitempty\" graphql:\"addStar\"" AddUpvote *AddUpvotePayload "json:\"addUpvote,omitempty\" graphql:\"addUpvote\"" AddVerifiableDomain *AddVerifiableDomainPayload "json:\"addVerifiableDomain,omitempty\" graphql:\"addVerifiableDomain\"" ApproveDeployments *ApproveDeploymentsPayload "json:\"approveDeployments,omitempty\" graphql:\"approveDeployments\"" ApproveVerifiableDomain *ApproveVerifiableDomainPayload "json:\"approveVerifiableDomain,omitempty\" graphql:\"approveVerifiableDomain\"" ArchiveProjectV2Item *ArchiveProjectV2ItemPayload "json:\"archiveProjectV2Item,omitempty\" graphql:\"archiveProjectV2Item\"" ArchiveRepository *ArchiveRepositoryPayload "json:\"archiveRepository,omitempty\" graphql:\"archiveRepository\"" CancelEnterpriseAdminInvitation *CancelEnterpriseAdminInvitationPayload "json:\"cancelEnterpriseAdminInvitation,omitempty\" graphql:\"cancelEnterpriseAdminInvitation\"" CancelSponsorship *CancelSponsorshipPayload "json:\"cancelSponsorship,omitempty\" graphql:\"cancelSponsorship\"" ChangeUserStatus *ChangeUserStatusPayload "json:\"changeUserStatus,omitempty\" graphql:\"changeUserStatus\"" ClearLabelsFromLabelable *ClearLabelsFromLabelablePayload "json:\"clearLabelsFromLabelable,omitempty\" graphql:\"clearLabelsFromLabelable\"" ClearProjectV2ItemFieldValue *ClearProjectV2ItemFieldValuePayload "json:\"clearProjectV2ItemFieldValue,omitempty\" graphql:\"clearProjectV2ItemFieldValue\"" CloneProject *CloneProjectPayload "json:\"cloneProject,omitempty\" graphql:\"cloneProject\"" CloneTemplateRepository *CloneTemplateRepositoryPayload "json:\"cloneTemplateRepository,omitempty\" graphql:\"cloneTemplateRepository\"" CloseIssue *CloseIssuePayload "json:\"closeIssue,omitempty\" graphql:\"closeIssue\"" ClosePullRequest *ClosePullRequestPayload "json:\"closePullRequest,omitempty\" graphql:\"closePullRequest\"" ConvertProjectCardNoteToIssue *ConvertProjectCardNoteToIssuePayload "json:\"convertProjectCardNoteToIssue,omitempty\" graphql:\"convertProjectCardNoteToIssue\"" ConvertPullRequestToDraft *ConvertPullRequestToDraftPayload "json:\"convertPullRequestToDraft,omitempty\" graphql:\"convertPullRequestToDraft\"" CopyProjectV2 *CopyProjectV2Payload "json:\"copyProjectV2,omitempty\" graphql:\"copyProjectV2\"" CreateAttributionInvitation *CreateAttributionInvitationPayload "json:\"createAttributionInvitation,omitempty\" graphql:\"createAttributionInvitation\"" CreateBranchProtectionRule *CreateBranchProtectionRulePayload "json:\"createBranchProtectionRule,omitempty\" graphql:\"createBranchProtectionRule\"" CreateCheckRun *CreateCheckRunPayload "json:\"createCheckRun,omitempty\" graphql:\"createCheckRun\"" CreateCheckSuite *CreateCheckSuitePayload "json:\"createCheckSuite,omitempty\" graphql:\"createCheckSuite\"" CreateCommitOnBranch *CreateCommitOnBranchPayload "json:\"createCommitOnBranch,omitempty\" graphql:\"createCommitOnBranch\"" CreateDiscussion *CreateDiscussionPayload "json:\"createDiscussion,omitempty\" graphql:\"createDiscussion\"" CreateEnterpriseOrganization *CreateEnterpriseOrganizationPayload "json:\"createEnterpriseOrganization,omitempty\" graphql:\"createEnterpriseOrganization\"" CreateEnvironment *CreateEnvironmentPayload "json:\"createEnvironment,omitempty\" graphql:\"createEnvironment\"" CreateIPAllowListEntry *CreateIPAllowListEntryPayload "json:\"createIpAllowListEntry,omitempty\" graphql:\"createIpAllowListEntry\"" CreateIssue *CreateIssuePayload "json:\"createIssue,omitempty\" graphql:\"createIssue\"" CreateLinkedBranch *CreateLinkedBranchPayload "json:\"createLinkedBranch,omitempty\" graphql:\"createLinkedBranch\"" CreateMigrationSource *CreateMigrationSourcePayload "json:\"createMigrationSource,omitempty\" graphql:\"createMigrationSource\"" CreateProject *CreateProjectPayload "json:\"createProject,omitempty\" graphql:\"createProject\"" CreateProjectV2 *CreateProjectV2Payload "json:\"createProjectV2,omitempty\" graphql:\"createProjectV2\"" CreateProjectV2Field *CreateProjectV2FieldPayload "json:\"createProjectV2Field,omitempty\" graphql:\"createProjectV2Field\"" CreatePullRequest *CreatePullRequestPayload "json:\"createPullRequest,omitempty\" graphql:\"createPullRequest\"" CreateRef *CreateRefPayload "json:\"createRef,omitempty\" graphql:\"createRef\"" CreateRepository *CreateRepositoryPayload "json:\"createRepository,omitempty\" graphql:\"createRepository\"" CreateSponsorsListing *CreateSponsorsListingPayload "json:\"createSponsorsListing,omitempty\" graphql:\"createSponsorsListing\"" CreateSponsorsTier *CreateSponsorsTierPayload "json:\"createSponsorsTier,omitempty\" graphql:\"createSponsorsTier\"" CreateSponsorship *CreateSponsorshipPayload "json:\"createSponsorship,omitempty\" graphql:\"createSponsorship\"" CreateTeamDiscussion *CreateTeamDiscussionPayload "json:\"createTeamDiscussion,omitempty\" graphql:\"createTeamDiscussion\"" CreateTeamDiscussionComment *CreateTeamDiscussionCommentPayload "json:\"createTeamDiscussionComment,omitempty\" graphql:\"createTeamDiscussionComment\"" DeclineTopicSuggestion *DeclineTopicSuggestionPayload "json:\"declineTopicSuggestion,omitempty\" graphql:\"declineTopicSuggestion\"" DeleteBranchProtectionRule *DeleteBranchProtectionRulePayload "json:\"deleteBranchProtectionRule,omitempty\" graphql:\"deleteBranchProtectionRule\"" DeleteDeployment *DeleteDeploymentPayload "json:\"deleteDeployment,omitempty\" graphql:\"deleteDeployment\"" DeleteDiscussion *DeleteDiscussionPayload "json:\"deleteDiscussion,omitempty\" graphql:\"deleteDiscussion\"" DeleteDiscussionComment *DeleteDiscussionCommentPayload "json:\"deleteDiscussionComment,omitempty\" graphql:\"deleteDiscussionComment\"" DeleteEnvironment *DeleteEnvironmentPayload "json:\"deleteEnvironment,omitempty\" graphql:\"deleteEnvironment\"" DeleteIPAllowListEntry *DeleteIPAllowListEntryPayload "json:\"deleteIpAllowListEntry,omitempty\" graphql:\"deleteIpAllowListEntry\"" DeleteIssue *DeleteIssuePayload "json:\"deleteIssue,omitempty\" graphql:\"deleteIssue\"" DeleteIssueComment *DeleteIssueCommentPayload "json:\"deleteIssueComment,omitempty\" graphql:\"deleteIssueComment\"" DeleteLinkedBranch *DeleteLinkedBranchPayload "json:\"deleteLinkedBranch,omitempty\" graphql:\"deleteLinkedBranch\"" DeleteProject *DeleteProjectPayload "json:\"deleteProject,omitempty\" graphql:\"deleteProject\"" DeleteProjectCard *DeleteProjectCardPayload "json:\"deleteProjectCard,omitempty\" graphql:\"deleteProjectCard\"" DeleteProjectColumn *DeleteProjectColumnPayload "json:\"deleteProjectColumn,omitempty\" graphql:\"deleteProjectColumn\"" DeleteProjectV2 *DeleteProjectV2Payload "json:\"deleteProjectV2,omitempty\" graphql:\"deleteProjectV2\"" DeleteProjectV2Field *DeleteProjectV2FieldPayload "json:\"deleteProjectV2Field,omitempty\" graphql:\"deleteProjectV2Field\"" DeleteProjectV2Item *DeleteProjectV2ItemPayload "json:\"deleteProjectV2Item,omitempty\" graphql:\"deleteProjectV2Item\"" DeletePullRequestReview *DeletePullRequestReviewPayload "json:\"deletePullRequestReview,omitempty\" graphql:\"deletePullRequestReview\"" DeletePullRequestReviewComment *DeletePullRequestReviewCommentPayload "json:\"deletePullRequestReviewComment,omitempty\" graphql:\"deletePullRequestReviewComment\"" DeleteRef *DeleteRefPayload "json:\"deleteRef,omitempty\" graphql:\"deleteRef\"" DeleteTeamDiscussion *DeleteTeamDiscussionPayload "json:\"deleteTeamDiscussion,omitempty\" graphql:\"deleteTeamDiscussion\"" DeleteTeamDiscussionComment *DeleteTeamDiscussionCommentPayload "json:\"deleteTeamDiscussionComment,omitempty\" graphql:\"deleteTeamDiscussionComment\"" DeleteVerifiableDomain *DeleteVerifiableDomainPayload "json:\"deleteVerifiableDomain,omitempty\" graphql:\"deleteVerifiableDomain\"" DisablePullRequestAutoMerge *DisablePullRequestAutoMergePayload "json:\"disablePullRequestAutoMerge,omitempty\" graphql:\"disablePullRequestAutoMerge\"" DismissPullRequestReview *DismissPullRequestReviewPayload "json:\"dismissPullRequestReview,omitempty\" graphql:\"dismissPullRequestReview\"" DismissRepositoryVulnerabilityAlert *DismissRepositoryVulnerabilityAlertPayload "json:\"dismissRepositoryVulnerabilityAlert,omitempty\" graphql:\"dismissRepositoryVulnerabilityAlert\"" EnablePullRequestAutoMerge *EnablePullRequestAutoMergePayload "json:\"enablePullRequestAutoMerge,omitempty\" graphql:\"enablePullRequestAutoMerge\"" FollowOrganization *FollowOrganizationPayload "json:\"followOrganization,omitempty\" graphql:\"followOrganization\"" FollowUser *FollowUserPayload "json:\"followUser,omitempty\" graphql:\"followUser\"" GrantEnterpriseOrganizationsMigratorRole *GrantEnterpriseOrganizationsMigratorRolePayload "json:\"grantEnterpriseOrganizationsMigratorRole,omitempty\" graphql:\"grantEnterpriseOrganizationsMigratorRole\"" GrantMigratorRole *GrantMigratorRolePayload "json:\"grantMigratorRole,omitempty\" graphql:\"grantMigratorRole\"" InviteEnterpriseAdmin *InviteEnterpriseAdminPayload "json:\"inviteEnterpriseAdmin,omitempty\" graphql:\"inviteEnterpriseAdmin\"" LinkProjectV2ToRepository *LinkProjectV2ToRepositoryPayload "json:\"linkProjectV2ToRepository,omitempty\" graphql:\"linkProjectV2ToRepository\"" LinkProjectV2ToTeam *LinkProjectV2ToTeamPayload "json:\"linkProjectV2ToTeam,omitempty\" graphql:\"linkProjectV2ToTeam\"" LinkRepositoryToProject *LinkRepositoryToProjectPayload "json:\"linkRepositoryToProject,omitempty\" graphql:\"linkRepositoryToProject\"" LockLockable *LockLockablePayload "json:\"lockLockable,omitempty\" graphql:\"lockLockable\"" MarkDiscussionCommentAsAnswer *MarkDiscussionCommentAsAnswerPayload "json:\"markDiscussionCommentAsAnswer,omitempty\" graphql:\"markDiscussionCommentAsAnswer\"" MarkFileAsViewed *MarkFileAsViewedPayload "json:\"markFileAsViewed,omitempty\" graphql:\"markFileAsViewed\"" MarkPullRequestReadyForReview *MarkPullRequestReadyForReviewPayload "json:\"markPullRequestReadyForReview,omitempty\" graphql:\"markPullRequestReadyForReview\"" MergeBranch *MergeBranchPayload "json:\"mergeBranch,omitempty\" graphql:\"mergeBranch\"" MergePullRequest *MergePullRequestPayload "json:\"mergePullRequest,omitempty\" graphql:\"mergePullRequest\"" MinimizeComment *MinimizeCommentPayload "json:\"minimizeComment,omitempty\" graphql:\"minimizeComment\"" MoveProjectCard *MoveProjectCardPayload "json:\"moveProjectCard,omitempty\" graphql:\"moveProjectCard\"" MoveProjectColumn *MoveProjectColumnPayload "json:\"moveProjectColumn,omitempty\" graphql:\"moveProjectColumn\"" PinIssue *PinIssuePayload "json:\"pinIssue,omitempty\" graphql:\"pinIssue\"" PublishSponsorsTier *PublishSponsorsTierPayload "json:\"publishSponsorsTier,omitempty\" graphql:\"publishSponsorsTier\"" RegenerateEnterpriseIdentityProviderRecoveryCodes *RegenerateEnterpriseIdentityProviderRecoveryCodesPayload "" /* 130-byte string literal not displayed */ RegenerateVerifiableDomainToken *RegenerateVerifiableDomainTokenPayload "json:\"regenerateVerifiableDomainToken,omitempty\" graphql:\"regenerateVerifiableDomainToken\"" RejectDeployments *RejectDeploymentsPayload "json:\"rejectDeployments,omitempty\" graphql:\"rejectDeployments\"" RemoveAssigneesFromAssignable *RemoveAssigneesFromAssignablePayload "json:\"removeAssigneesFromAssignable,omitempty\" graphql:\"removeAssigneesFromAssignable\"" RemoveEnterpriseAdmin *RemoveEnterpriseAdminPayload "json:\"removeEnterpriseAdmin,omitempty\" graphql:\"removeEnterpriseAdmin\"" RemoveEnterpriseIdentityProvider *RemoveEnterpriseIdentityProviderPayload "json:\"removeEnterpriseIdentityProvider,omitempty\" graphql:\"removeEnterpriseIdentityProvider\"" RemoveEnterpriseMember *RemoveEnterpriseMemberPayload "json:\"removeEnterpriseMember,omitempty\" graphql:\"removeEnterpriseMember\"" RemoveEnterpriseOrganization *RemoveEnterpriseOrganizationPayload "json:\"removeEnterpriseOrganization,omitempty\" graphql:\"removeEnterpriseOrganization\"" RemoveEnterpriseSupportEntitlement *RemoveEnterpriseSupportEntitlementPayload "json:\"removeEnterpriseSupportEntitlement,omitempty\" graphql:\"removeEnterpriseSupportEntitlement\"" RemoveLabelsFromLabelable *RemoveLabelsFromLabelablePayload "json:\"removeLabelsFromLabelable,omitempty\" graphql:\"removeLabelsFromLabelable\"" RemoveOutsideCollaborator *RemoveOutsideCollaboratorPayload "json:\"removeOutsideCollaborator,omitempty\" graphql:\"removeOutsideCollaborator\"" RemoveReaction *RemoveReactionPayload "json:\"removeReaction,omitempty\" graphql:\"removeReaction\"" RemoveStar *RemoveStarPayload "json:\"removeStar,omitempty\" graphql:\"removeStar\"" RemoveUpvote *RemoveUpvotePayload "json:\"removeUpvote,omitempty\" graphql:\"removeUpvote\"" ReopenIssue *ReopenIssuePayload "json:\"reopenIssue,omitempty\" graphql:\"reopenIssue\"" ReopenPullRequest *ReopenPullRequestPayload "json:\"reopenPullRequest,omitempty\" graphql:\"reopenPullRequest\"" RequestReviews *RequestReviewsPayload "json:\"requestReviews,omitempty\" graphql:\"requestReviews\"" RerequestCheckSuite *RerequestCheckSuitePayload "json:\"rerequestCheckSuite,omitempty\" graphql:\"rerequestCheckSuite\"" ResolveReviewThread *ResolveReviewThreadPayload "json:\"resolveReviewThread,omitempty\" graphql:\"resolveReviewThread\"" RetireSponsorsTier *RetireSponsorsTierPayload "json:\"retireSponsorsTier,omitempty\" graphql:\"retireSponsorsTier\"" RevertPullRequest *RevertPullRequestPayload "json:\"revertPullRequest,omitempty\" graphql:\"revertPullRequest\"" RevokeEnterpriseOrganizationsMigratorRole *RevokeEnterpriseOrganizationsMigratorRolePayload "json:\"revokeEnterpriseOrganizationsMigratorRole,omitempty\" graphql:\"revokeEnterpriseOrganizationsMigratorRole\"" RevokeMigratorRole *RevokeMigratorRolePayload "json:\"revokeMigratorRole,omitempty\" graphql:\"revokeMigratorRole\"" SetEnterpriseIdentityProvider *SetEnterpriseIdentityProviderPayload "json:\"setEnterpriseIdentityProvider,omitempty\" graphql:\"setEnterpriseIdentityProvider\"" SetOrganizationInteractionLimit *SetOrganizationInteractionLimitPayload "json:\"setOrganizationInteractionLimit,omitempty\" graphql:\"setOrganizationInteractionLimit\"" SetRepositoryInteractionLimit *SetRepositoryInteractionLimitPayload "json:\"setRepositoryInteractionLimit,omitempty\" graphql:\"setRepositoryInteractionLimit\"" SetUserInteractionLimit *SetUserInteractionLimitPayload "json:\"setUserInteractionLimit,omitempty\" graphql:\"setUserInteractionLimit\"" StartOrganizationMigration *StartOrganizationMigrationPayload "json:\"startOrganizationMigration,omitempty\" graphql:\"startOrganizationMigration\"" StartRepositoryMigration *StartRepositoryMigrationPayload "json:\"startRepositoryMigration,omitempty\" graphql:\"startRepositoryMigration\"" SubmitPullRequestReview *SubmitPullRequestReviewPayload "json:\"submitPullRequestReview,omitempty\" graphql:\"submitPullRequestReview\"" TransferEnterpriseOrganization *TransferEnterpriseOrganizationPayload "json:\"transferEnterpriseOrganization,omitempty\" graphql:\"transferEnterpriseOrganization\"" TransferIssue *TransferIssuePayload "json:\"transferIssue,omitempty\" graphql:\"transferIssue\"" UnarchiveProjectV2Item *UnarchiveProjectV2ItemPayload "json:\"unarchiveProjectV2Item,omitempty\" graphql:\"unarchiveProjectV2Item\"" UnarchiveRepository *UnarchiveRepositoryPayload "json:\"unarchiveRepository,omitempty\" graphql:\"unarchiveRepository\"" UnfollowOrganization *UnfollowOrganizationPayload "json:\"unfollowOrganization,omitempty\" graphql:\"unfollowOrganization\"" UnfollowUser *UnfollowUserPayload "json:\"unfollowUser,omitempty\" graphql:\"unfollowUser\"" UnlinkProjectV2FromRepository *UnlinkProjectV2FromRepositoryPayload "json:\"unlinkProjectV2FromRepository,omitempty\" graphql:\"unlinkProjectV2FromRepository\"" UnlinkProjectV2FromTeam *UnlinkProjectV2FromTeamPayload "json:\"unlinkProjectV2FromTeam,omitempty\" graphql:\"unlinkProjectV2FromTeam\"" UnlinkRepositoryFromProject *UnlinkRepositoryFromProjectPayload "json:\"unlinkRepositoryFromProject,omitempty\" graphql:\"unlinkRepositoryFromProject\"" UnlockLockable *UnlockLockablePayload "json:\"unlockLockable,omitempty\" graphql:\"unlockLockable\"" UnmarkDiscussionCommentAsAnswer *UnmarkDiscussionCommentAsAnswerPayload "json:\"unmarkDiscussionCommentAsAnswer,omitempty\" graphql:\"unmarkDiscussionCommentAsAnswer\"" UnmarkFileAsViewed *UnmarkFileAsViewedPayload "json:\"unmarkFileAsViewed,omitempty\" graphql:\"unmarkFileAsViewed\"" UnmarkIssueAsDuplicate *UnmarkIssueAsDuplicatePayload "json:\"unmarkIssueAsDuplicate,omitempty\" graphql:\"unmarkIssueAsDuplicate\"" UnminimizeComment *UnminimizeCommentPayload "json:\"unminimizeComment,omitempty\" graphql:\"unminimizeComment\"" UnpinIssue *UnpinIssuePayload "json:\"unpinIssue,omitempty\" graphql:\"unpinIssue\"" UnresolveReviewThread *UnresolveReviewThreadPayload "json:\"unresolveReviewThread,omitempty\" graphql:\"unresolveReviewThread\"" UpdateBranchProtectionRule *UpdateBranchProtectionRulePayload "json:\"updateBranchProtectionRule,omitempty\" graphql:\"updateBranchProtectionRule\"" UpdateCheckRun *UpdateCheckRunPayload "json:\"updateCheckRun,omitempty\" graphql:\"updateCheckRun\"" UpdateCheckSuitePreferences *UpdateCheckSuitePreferencesPayload "json:\"updateCheckSuitePreferences,omitempty\" graphql:\"updateCheckSuitePreferences\"" UpdateDiscussion *UpdateDiscussionPayload "json:\"updateDiscussion,omitempty\" graphql:\"updateDiscussion\"" UpdateDiscussionComment *UpdateDiscussionCommentPayload "json:\"updateDiscussionComment,omitempty\" graphql:\"updateDiscussionComment\"" UpdateEnterpriseAdministratorRole *UpdateEnterpriseAdministratorRolePayload "json:\"updateEnterpriseAdministratorRole,omitempty\" graphql:\"updateEnterpriseAdministratorRole\"" UpdateEnterpriseAllowPrivateRepositoryForkingSetting *UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload "" /* 136-byte string literal not displayed */ UpdateEnterpriseDefaultRepositoryPermissionSetting *UpdateEnterpriseDefaultRepositoryPermissionSettingPayload "" /* 132-byte string literal not displayed */ UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting *UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload "" /* 150-byte string literal not displayed */ UpdateEnterpriseMembersCanCreateRepositoriesSetting *UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload "" /* 134-byte string literal not displayed */ UpdateEnterpriseMembersCanDeleteIssuesSetting *UpdateEnterpriseMembersCanDeleteIssuesSettingPayload "json:\"updateEnterpriseMembersCanDeleteIssuesSetting,omitempty\" graphql:\"updateEnterpriseMembersCanDeleteIssuesSetting\"" UpdateEnterpriseMembersCanDeleteRepositoriesSetting *UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload "" /* 134-byte string literal not displayed */ UpdateEnterpriseMembersCanInviteCollaboratorsSetting *UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload "" /* 136-byte string literal not displayed */ UpdateEnterpriseMembersCanMakePurchasesSetting *UpdateEnterpriseMembersCanMakePurchasesSettingPayload "json:\"updateEnterpriseMembersCanMakePurchasesSetting,omitempty\" graphql:\"updateEnterpriseMembersCanMakePurchasesSetting\"" UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting *UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload "" /* 144-byte string literal not displayed */ UpdateEnterpriseMembersCanViewDependencyInsightsSetting *UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload "" /* 142-byte string literal not displayed */ UpdateEnterpriseOrganizationProjectsSetting *UpdateEnterpriseOrganizationProjectsSettingPayload "json:\"updateEnterpriseOrganizationProjectsSetting,omitempty\" graphql:\"updateEnterpriseOrganizationProjectsSetting\"" UpdateEnterpriseOwnerOrganizationRole *UpdateEnterpriseOwnerOrganizationRolePayload "json:\"updateEnterpriseOwnerOrganizationRole,omitempty\" graphql:\"updateEnterpriseOwnerOrganizationRole\"" UpdateEnterpriseProfile *UpdateEnterpriseProfilePayload "json:\"updateEnterpriseProfile,omitempty\" graphql:\"updateEnterpriseProfile\"" UpdateEnterpriseRepositoryProjectsSetting *UpdateEnterpriseRepositoryProjectsSettingPayload "json:\"updateEnterpriseRepositoryProjectsSetting,omitempty\" graphql:\"updateEnterpriseRepositoryProjectsSetting\"" UpdateEnterpriseTeamDiscussionsSetting *UpdateEnterpriseTeamDiscussionsSettingPayload "json:\"updateEnterpriseTeamDiscussionsSetting,omitempty\" graphql:\"updateEnterpriseTeamDiscussionsSetting\"" UpdateEnterpriseTwoFactorAuthenticationRequiredSetting *UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload "" /* 140-byte string literal not displayed */ UpdateEnvironment *UpdateEnvironmentPayload "json:\"updateEnvironment,omitempty\" graphql:\"updateEnvironment\"" UpdateIPAllowListEnabledSetting *UpdateIPAllowListEnabledSettingPayload "json:\"updateIpAllowListEnabledSetting,omitempty\" graphql:\"updateIpAllowListEnabledSetting\"" UpdateIPAllowListEntry *UpdateIPAllowListEntryPayload "json:\"updateIpAllowListEntry,omitempty\" graphql:\"updateIpAllowListEntry\"" UpdateIPAllowListForInstalledAppsEnabledSetting *UpdateIPAllowListForInstalledAppsEnabledSettingPayload "" /* 126-byte string literal not displayed */ UpdateIssue *UpdateIssuePayload "json:\"updateIssue,omitempty\" graphql:\"updateIssue\"" UpdateIssueComment *UpdateIssueCommentPayload "json:\"updateIssueComment,omitempty\" graphql:\"updateIssueComment\"" UpdateNotificationRestrictionSetting *UpdateNotificationRestrictionSettingPayload "json:\"updateNotificationRestrictionSetting,omitempty\" graphql:\"updateNotificationRestrictionSetting\"" UpdateOrganizationAllowPrivateRepositoryForkingSetting *UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload "" /* 140-byte string literal not displayed */ UpdateOrganizationWebCommitSignoffSetting *UpdateOrganizationWebCommitSignoffSettingPayload "json:\"updateOrganizationWebCommitSignoffSetting,omitempty\" graphql:\"updateOrganizationWebCommitSignoffSetting\"" UpdateProject *UpdateProjectPayload "json:\"updateProject,omitempty\" graphql:\"updateProject\"" UpdateProjectCard *UpdateProjectCardPayload "json:\"updateProjectCard,omitempty\" graphql:\"updateProjectCard\"" UpdateProjectColumn *UpdateProjectColumnPayload "json:\"updateProjectColumn,omitempty\" graphql:\"updateProjectColumn\"" UpdateProjectV2 *UpdateProjectV2Payload "json:\"updateProjectV2,omitempty\" graphql:\"updateProjectV2\"" UpdateProjectV2DraftIssue *UpdateProjectV2DraftIssuePayload "json:\"updateProjectV2DraftIssue,omitempty\" graphql:\"updateProjectV2DraftIssue\"" UpdateProjectV2ItemFieldValue *UpdateProjectV2ItemFieldValuePayload "json:\"updateProjectV2ItemFieldValue,omitempty\" graphql:\"updateProjectV2ItemFieldValue\"" UpdateProjectV2ItemPosition *UpdateProjectV2ItemPositionPayload "json:\"updateProjectV2ItemPosition,omitempty\" graphql:\"updateProjectV2ItemPosition\"" UpdatePullRequest *UpdatePullRequestPayload "json:\"updatePullRequest,omitempty\" graphql:\"updatePullRequest\"" UpdatePullRequestBranch *UpdatePullRequestBranchPayload "json:\"updatePullRequestBranch,omitempty\" graphql:\"updatePullRequestBranch\"" UpdatePullRequestReview *UpdatePullRequestReviewPayload "json:\"updatePullRequestReview,omitempty\" graphql:\"updatePullRequestReview\"" UpdatePullRequestReviewComment *UpdatePullRequestReviewCommentPayload "json:\"updatePullRequestReviewComment,omitempty\" graphql:\"updatePullRequestReviewComment\"" UpdateRef *UpdateRefPayload "json:\"updateRef,omitempty\" graphql:\"updateRef\"" UpdateRepository *UpdateRepositoryPayload "json:\"updateRepository,omitempty\" graphql:\"updateRepository\"" UpdateRepositoryWebCommitSignoffSetting *UpdateRepositoryWebCommitSignoffSettingPayload "json:\"updateRepositoryWebCommitSignoffSetting,omitempty\" graphql:\"updateRepositoryWebCommitSignoffSetting\"" UpdateSponsorshipPreferences *UpdateSponsorshipPreferencesPayload "json:\"updateSponsorshipPreferences,omitempty\" graphql:\"updateSponsorshipPreferences\"" UpdateSubscription *UpdateSubscriptionPayload "json:\"updateSubscription,omitempty\" graphql:\"updateSubscription\"" UpdateTeamDiscussion *UpdateTeamDiscussionPayload "json:\"updateTeamDiscussion,omitempty\" graphql:\"updateTeamDiscussion\"" UpdateTeamDiscussionComment *UpdateTeamDiscussionCommentPayload "json:\"updateTeamDiscussionComment,omitempty\" graphql:\"updateTeamDiscussionComment\"" UpdateTeamsRepository *UpdateTeamsRepositoryPayload "json:\"updateTeamsRepository,omitempty\" graphql:\"updateTeamsRepository\"" UpdateTopics *UpdateTopicsPayload "json:\"updateTopics,omitempty\" graphql:\"updateTopics\"" VerifyVerifiableDomain *VerifyVerifiableDomainPayload "json:\"verifyVerifiableDomain,omitempty\" graphql:\"verifyVerifiableDomain\"" }
type Node ¶
type Node interface { IsNode() // ID of the object. GetID() string }
An object with an ID.
type NotificationRestrictionSettingValue ¶
type NotificationRestrictionSettingValue string
The possible values for the notification restriction setting.
const ( // The setting is enabled for the owner. NotificationRestrictionSettingValueEnabled NotificationRestrictionSettingValue = "ENABLED" // The setting is disabled for the owner. NotificationRestrictionSettingValueDisabled NotificationRestrictionSettingValue = "DISABLED" )
func (NotificationRestrictionSettingValue) IsValid ¶
func (e NotificationRestrictionSettingValue) IsValid() bool
func (NotificationRestrictionSettingValue) MarshalGQL ¶
func (e NotificationRestrictionSettingValue) MarshalGQL(w io.Writer)
func (NotificationRestrictionSettingValue) String ¶
func (e NotificationRestrictionSettingValue) String() string
func (*NotificationRestrictionSettingValue) UnmarshalGQL ¶
func (e *NotificationRestrictionSettingValue) UnmarshalGQL(v interface{}) error
type OIDCProvider ¶ added in v0.0.4
type OIDCProvider struct { // The enterprise this identity provider belongs to. Enterprise *Enterprise `json:"enterprise"` // ExternalIdentities provisioned by this identity provider. ExternalIdentities ExternalIdentityConnection `json:"externalIdentities"` ID string `json:"id"` // The OIDC identity provider type ProviderType OIDCProviderType `json:"providerType"` // The id of the tenant this provider is attached to TenantID string `json:"tenantId"` }
An OIDC identity provider configured to provision identities for an enterprise.
func (OIDCProvider) GetID ¶ added in v0.11.4
func (this OIDCProvider) GetID() string
ID of the object.
func (OIDCProvider) IsNode ¶ added in v0.0.4
func (OIDCProvider) IsNode()
type OIDCProviderType ¶ added in v0.0.4
type OIDCProviderType string
The OIDC identity provider type
const ( // Azure Active Directory OIDCProviderTypeAad OIDCProviderType = "AAD" )
func (OIDCProviderType) IsValid ¶ added in v0.0.4
func (e OIDCProviderType) IsValid() bool
func (OIDCProviderType) MarshalGQL ¶ added in v0.0.4
func (e OIDCProviderType) MarshalGQL(w io.Writer)
func (OIDCProviderType) String ¶ added in v0.0.4
func (e OIDCProviderType) String() string
func (*OIDCProviderType) UnmarshalGQL ¶ added in v0.0.4
func (e *OIDCProviderType) UnmarshalGQL(v interface{}) error
type OauthApplicationAuditEntryData ¶
type OauthApplicationAuditEntryData interface { IsOauthApplicationAuditEntryData() // The name of the OAuth Application. GetOauthApplicationName() *string // The HTTP path for the OAuth Application GetOauthApplicationResourcePath() *string // The HTTP URL for the OAuth Application GetOauthApplicationURL() *string }
Metadata for an audit entry with action oauth_application.*
type OauthApplicationCreateAuditEntry ¶
type OauthApplicationCreateAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The application URL of the OAuth Application. ApplicationURL *string `json:"applicationUrl"` // The callback URL of the OAuth Application. CallbackURL *string `json:"callbackUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The rate limit of the OAuth Application. RateLimit *int `json:"rateLimit"` // The state of the OAuth Application. State *OauthApplicationCreateAuditEntryState `json:"state"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a oauth_application.create event.
func (OauthApplicationCreateAuditEntry) GetAction ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetAction() string
The action name
func (OauthApplicationCreateAuditEntry) GetActor ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OauthApplicationCreateAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActorIP() *string
The IP address of the actor
func (OauthApplicationCreateAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OauthApplicationCreateAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OauthApplicationCreateAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OauthApplicationCreateAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OauthApplicationCreateAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OauthApplicationCreateAuditEntry) GetID ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetID() string
ID of the object.
func (OauthApplicationCreateAuditEntry) GetOauthApplicationName ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOauthApplicationName() *string
The name of the OAuth Application.
func (OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath() *string
The HTTP path for the OAuth Application
func (OauthApplicationCreateAuditEntry) GetOauthApplicationURL ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOauthApplicationURL() *string
The HTTP URL for the OAuth Application
func (OauthApplicationCreateAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OauthApplicationCreateAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OauthApplicationCreateAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OauthApplicationCreateAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OauthApplicationCreateAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OauthApplicationCreateAuditEntry) GetUser ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetUser() *User
The user affected by the action
func (OauthApplicationCreateAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OauthApplicationCreateAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OauthApplicationCreateAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OauthApplicationCreateAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OauthApplicationCreateAuditEntry) IsAuditEntry ¶
func (OauthApplicationCreateAuditEntry) IsAuditEntry()
func (OauthApplicationCreateAuditEntry) IsNode ¶
func (OauthApplicationCreateAuditEntry) IsNode()
func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData ¶
func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData()
func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry ¶
func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry()
func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData ¶
func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData()
type OauthApplicationCreateAuditEntryState ¶
type OauthApplicationCreateAuditEntryState string
The state of an OAuth Application when it was created.
const ( // The OAuth Application was active and allowed to have OAuth Accesses. OauthApplicationCreateAuditEntryStateActive OauthApplicationCreateAuditEntryState = "ACTIVE" // The OAuth Application was suspended from generating OAuth Accesses due to abuse or security concerns. OauthApplicationCreateAuditEntryStateSuspended OauthApplicationCreateAuditEntryState = "SUSPENDED" // The OAuth Application was in the process of being deleted. OauthApplicationCreateAuditEntryStatePendingDeletion OauthApplicationCreateAuditEntryState = "PENDING_DELETION" )
func (OauthApplicationCreateAuditEntryState) IsValid ¶
func (e OauthApplicationCreateAuditEntryState) IsValid() bool
func (OauthApplicationCreateAuditEntryState) MarshalGQL ¶
func (e OauthApplicationCreateAuditEntryState) MarshalGQL(w io.Writer)
func (OauthApplicationCreateAuditEntryState) String ¶
func (e OauthApplicationCreateAuditEntryState) String() string
func (*OauthApplicationCreateAuditEntryState) UnmarshalGQL ¶
func (e *OauthApplicationCreateAuditEntryState) UnmarshalGQL(v interface{}) error
type OperationType ¶
type OperationType string
The corresponding operation type for the action
const ( // An existing resource was accessed OperationTypeAccess OperationType = "ACCESS" // A resource performed an authentication event OperationTypeAuthentication OperationType = "AUTHENTICATION" // A new resource was created OperationTypeCreate OperationType = "CREATE" // An existing resource was modified OperationTypeModify OperationType = "MODIFY" // An existing resource was removed OperationTypeRemove OperationType = "REMOVE" // An existing resource was restored OperationTypeRestore OperationType = "RESTORE" // An existing resource was transferred between multiple resources OperationTypeTransfer OperationType = "TRANSFER" )
func (OperationType) IsValid ¶
func (e OperationType) IsValid() bool
func (OperationType) MarshalGQL ¶
func (e OperationType) MarshalGQL(w io.Writer)
func (OperationType) String ¶
func (e OperationType) String() string
func (*OperationType) UnmarshalGQL ¶
func (e *OperationType) UnmarshalGQL(v interface{}) error
type OrderDirection ¶
type OrderDirection string
Possible directions in which to order a list of items when provided an `orderBy` argument.
const ( // Specifies an ascending order for a given `orderBy` argument. OrderDirectionAsc OrderDirection = "ASC" // Specifies a descending order for a given `orderBy` argument. OrderDirectionDesc OrderDirection = "DESC" )
func (OrderDirection) IsValid ¶
func (e OrderDirection) IsValid() bool
func (OrderDirection) MarshalGQL ¶
func (e OrderDirection) MarshalGQL(w io.Writer)
func (OrderDirection) String ¶
func (e OrderDirection) String() string
func (*OrderDirection) UnmarshalGQL ¶
func (e *OrderDirection) UnmarshalGQL(v interface{}) error
type OrgAddBillingManagerAuditEntry ¶
type OrgAddBillingManagerAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The email address used to invite a billing manager for the organization. InvitationEmail *string `json:"invitationEmail"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.add_billing_manager
func (OrgAddBillingManagerAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetAction() string
The action name
func (OrgAddBillingManagerAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgAddBillingManagerAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgAddBillingManagerAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgAddBillingManagerAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgAddBillingManagerAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgAddBillingManagerAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgAddBillingManagerAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgAddBillingManagerAuditEntry) GetID ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetID() string
ID of the object.
func (OrgAddBillingManagerAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgAddBillingManagerAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgAddBillingManagerAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgAddBillingManagerAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgAddBillingManagerAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetUser() *User
The user affected by the action
func (OrgAddBillingManagerAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgAddBillingManagerAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgAddBillingManagerAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgAddBillingManagerAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgAddBillingManagerAuditEntry) IsAuditEntry ¶
func (OrgAddBillingManagerAuditEntry) IsAuditEntry()
func (OrgAddBillingManagerAuditEntry) IsNode ¶
func (OrgAddBillingManagerAuditEntry) IsNode()
func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntry ¶
func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntry()
func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntryData()
type OrgAddMemberAuditEntry ¶
type OrgAddMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The permission level of the member added to the organization. Permission *OrgAddMemberAuditEntryPermission `json:"permission"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.add_member
func (OrgAddMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetAction() string
The action name
func (OrgAddMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgAddMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgAddMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgAddMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgAddMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgAddMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgAddMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgAddMemberAuditEntry) GetID ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetID() string
ID of the object.
func (OrgAddMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgAddMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgAddMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgAddMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgAddMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgAddMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetUser() *User
The user affected by the action
func (OrgAddMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgAddMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgAddMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgAddMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgAddMemberAuditEntry) IsAuditEntry ¶
func (OrgAddMemberAuditEntry) IsAuditEntry()
func (OrgAddMemberAuditEntry) IsNode ¶
func (OrgAddMemberAuditEntry) IsNode()
func (OrgAddMemberAuditEntry) IsOrganizationAuditEntry ¶
func (OrgAddMemberAuditEntry) IsOrganizationAuditEntry()
func (OrgAddMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgAddMemberAuditEntry) IsOrganizationAuditEntryData()
type OrgAddMemberAuditEntryPermission ¶
type OrgAddMemberAuditEntryPermission string
The permissions available to members on an Organization.
const ( // Can read and clone repositories. OrgAddMemberAuditEntryPermissionRead OrgAddMemberAuditEntryPermission = "READ" // Can read, clone, push, and add collaborators to repositories. OrgAddMemberAuditEntryPermissionAdmin OrgAddMemberAuditEntryPermission = "ADMIN" )
func (OrgAddMemberAuditEntryPermission) IsValid ¶
func (e OrgAddMemberAuditEntryPermission) IsValid() bool
func (OrgAddMemberAuditEntryPermission) MarshalGQL ¶
func (e OrgAddMemberAuditEntryPermission) MarshalGQL(w io.Writer)
func (OrgAddMemberAuditEntryPermission) String ¶
func (e OrgAddMemberAuditEntryPermission) String() string
func (*OrgAddMemberAuditEntryPermission) UnmarshalGQL ¶
func (e *OrgAddMemberAuditEntryPermission) UnmarshalGQL(v interface{}) error
type OrgBlockUserAuditEntry ¶
type OrgBlockUserAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The blocked user. BlockedUser *User `json:"blockedUser"` // The username of the blocked user. BlockedUserName *string `json:"blockedUserName"` // The HTTP path for the blocked user. BlockedUserResourcePath *string `json:"blockedUserResourcePath"` // The HTTP URL for the blocked user. BlockedUserURL *string `json:"blockedUserUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.block_user
func (OrgBlockUserAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetAction() string
The action name
func (OrgBlockUserAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgBlockUserAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgBlockUserAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgBlockUserAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgBlockUserAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgBlockUserAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgBlockUserAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgBlockUserAuditEntry) GetID ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetID() string
ID of the object.
func (OrgBlockUserAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgBlockUserAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgBlockUserAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgBlockUserAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgBlockUserAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgBlockUserAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetUser() *User
The user affected by the action
func (OrgBlockUserAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgBlockUserAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgBlockUserAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgBlockUserAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgBlockUserAuditEntry) IsAuditEntry ¶
func (OrgBlockUserAuditEntry) IsAuditEntry()
func (OrgBlockUserAuditEntry) IsNode ¶
func (OrgBlockUserAuditEntry) IsNode()
func (OrgBlockUserAuditEntry) IsOrganizationAuditEntry ¶
func (OrgBlockUserAuditEntry) IsOrganizationAuditEntry()
func (OrgBlockUserAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgBlockUserAuditEntry) IsOrganizationAuditEntryData()
type OrgConfigDisableCollaboratorsOnlyAuditEntry ¶
type OrgConfigDisableCollaboratorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.config.disable_collaborators_only event.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
The action name
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetID() string
ID of the object.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry ¶
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry()
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsNode ¶
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsNode()
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
type OrgConfigEnableCollaboratorsOnlyAuditEntry ¶
type OrgConfigEnableCollaboratorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.config.enable_collaborators_only event.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
The action name
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetID() string
ID of the object.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry ¶
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry()
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsNode ¶
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsNode()
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
type OrgCreateAuditEntry ¶
type OrgCreateAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The billing plan for the Organization. BillingPlan *OrgCreateAuditEntryBillingPlan `json:"billingPlan"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.create event.
func (OrgCreateAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetAction() string
The action name
func (OrgCreateAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgCreateAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgCreateAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgCreateAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgCreateAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgCreateAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgCreateAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgCreateAuditEntry) GetID ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetID() string
ID of the object.
func (OrgCreateAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgCreateAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgCreateAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgCreateAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgCreateAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgCreateAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetUser() *User
The user affected by the action
func (OrgCreateAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgCreateAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgCreateAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgCreateAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgCreateAuditEntry) IsAuditEntry ¶
func (OrgCreateAuditEntry) IsAuditEntry()
func (OrgCreateAuditEntry) IsNode ¶
func (OrgCreateAuditEntry) IsNode()
func (OrgCreateAuditEntry) IsOrganizationAuditEntry ¶
func (OrgCreateAuditEntry) IsOrganizationAuditEntry()
func (OrgCreateAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgCreateAuditEntry) IsOrganizationAuditEntryData()
type OrgCreateAuditEntryBillingPlan ¶
type OrgCreateAuditEntryBillingPlan string
The billing plans available for organizations.
const ( // Free Plan OrgCreateAuditEntryBillingPlanFree OrgCreateAuditEntryBillingPlan = "FREE" // Team Plan OrgCreateAuditEntryBillingPlanBusiness OrgCreateAuditEntryBillingPlan = "BUSINESS" // Enterprise Cloud Plan OrgCreateAuditEntryBillingPlanBusinessPlus OrgCreateAuditEntryBillingPlan = "BUSINESS_PLUS" // Legacy Unlimited Plan OrgCreateAuditEntryBillingPlanUnlimited OrgCreateAuditEntryBillingPlan = "UNLIMITED" // Tiered Per Seat Plan OrgCreateAuditEntryBillingPlanTieredPerSeat OrgCreateAuditEntryBillingPlan = "TIERED_PER_SEAT" )
func (OrgCreateAuditEntryBillingPlan) IsValid ¶
func (e OrgCreateAuditEntryBillingPlan) IsValid() bool
func (OrgCreateAuditEntryBillingPlan) MarshalGQL ¶
func (e OrgCreateAuditEntryBillingPlan) MarshalGQL(w io.Writer)
func (OrgCreateAuditEntryBillingPlan) String ¶
func (e OrgCreateAuditEntryBillingPlan) String() string
func (*OrgCreateAuditEntryBillingPlan) UnmarshalGQL ¶
func (e *OrgCreateAuditEntryBillingPlan) UnmarshalGQL(v interface{}) error
type OrgDisableOauthAppRestrictionsAuditEntry ¶
type OrgDisableOauthAppRestrictionsAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.disable_oauth_app_restrictions event.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetAction() string
The action name
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgDisableOauthAppRestrictionsAuditEntry) GetID ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetID() string
ID of the object.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgDisableOauthAppRestrictionsAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUser() *User
The user affected by the action
func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgDisableOauthAppRestrictionsAuditEntry) IsAuditEntry ¶
func (OrgDisableOauthAppRestrictionsAuditEntry) IsAuditEntry()
func (OrgDisableOauthAppRestrictionsAuditEntry) IsNode ¶
func (OrgDisableOauthAppRestrictionsAuditEntry) IsNode()
func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry ¶
func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()
func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()
type OrgDisableSamlAuditEntry ¶
type OrgDisableSamlAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The SAML provider's digest algorithm URL. DigestMethodURL *string `json:"digestMethodUrl"` ID string `json:"id"` // The SAML provider's issuer URL. IssuerURL *string `json:"issuerUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The SAML provider's signature algorithm URL. SignatureMethodURL *string `json:"signatureMethodUrl"` // The SAML provider's single sign-on URL. SingleSignOnURL *string `json:"singleSignOnUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.disable_saml event.
func (OrgDisableSamlAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetAction() string
The action name
func (OrgDisableSamlAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgDisableSamlAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgDisableSamlAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgDisableSamlAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgDisableSamlAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgDisableSamlAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgDisableSamlAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgDisableSamlAuditEntry) GetID ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetID() string
ID of the object.
func (OrgDisableSamlAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgDisableSamlAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgDisableSamlAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgDisableSamlAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgDisableSamlAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgDisableSamlAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetUser() *User
The user affected by the action
func (OrgDisableSamlAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgDisableSamlAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgDisableSamlAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgDisableSamlAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgDisableSamlAuditEntry) IsAuditEntry ¶
func (OrgDisableSamlAuditEntry) IsAuditEntry()
func (OrgDisableSamlAuditEntry) IsNode ¶
func (OrgDisableSamlAuditEntry) IsNode()
func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntry ¶
func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntry()
func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntryData()
type OrgDisableTwoFactorRequirementAuditEntry ¶
type OrgDisableTwoFactorRequirementAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.disable_two_factor_requirement event.
func (OrgDisableTwoFactorRequirementAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetAction() string
The action name
func (OrgDisableTwoFactorRequirementAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgDisableTwoFactorRequirementAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgDisableTwoFactorRequirementAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgDisableTwoFactorRequirementAuditEntry) GetID ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetID() string
ID of the object.
func (OrgDisableTwoFactorRequirementAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgDisableTwoFactorRequirementAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetUser() *User
The user affected by the action
func (OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgDisableTwoFactorRequirementAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgDisableTwoFactorRequirementAuditEntry) IsAuditEntry ¶
func (OrgDisableTwoFactorRequirementAuditEntry) IsAuditEntry()
func (OrgDisableTwoFactorRequirementAuditEntry) IsNode ¶
func (OrgDisableTwoFactorRequirementAuditEntry) IsNode()
func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry ¶
func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()
func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()
type OrgEnableOauthAppRestrictionsAuditEntry ¶
type OrgEnableOauthAppRestrictionsAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.enable_oauth_app_restrictions event.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetAction() string
The action name
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgEnableOauthAppRestrictionsAuditEntry) GetID ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetID() string
ID of the object.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgEnableOauthAppRestrictionsAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUser() *User
The user affected by the action
func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgEnableOauthAppRestrictionsAuditEntry) IsAuditEntry ¶
func (OrgEnableOauthAppRestrictionsAuditEntry) IsAuditEntry()
func (OrgEnableOauthAppRestrictionsAuditEntry) IsNode ¶
func (OrgEnableOauthAppRestrictionsAuditEntry) IsNode()
func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry ¶
func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()
func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()
type OrgEnableSamlAuditEntry ¶
type OrgEnableSamlAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The SAML provider's digest algorithm URL. DigestMethodURL *string `json:"digestMethodUrl"` ID string `json:"id"` // The SAML provider's issuer URL. IssuerURL *string `json:"issuerUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The SAML provider's signature algorithm URL. SignatureMethodURL *string `json:"signatureMethodUrl"` // The SAML provider's single sign-on URL. SingleSignOnURL *string `json:"singleSignOnUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.enable_saml event.
func (OrgEnableSamlAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetAction() string
The action name
func (OrgEnableSamlAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgEnableSamlAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgEnableSamlAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgEnableSamlAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgEnableSamlAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgEnableSamlAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgEnableSamlAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgEnableSamlAuditEntry) GetID ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetID() string
ID of the object.
func (OrgEnableSamlAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgEnableSamlAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgEnableSamlAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgEnableSamlAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgEnableSamlAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgEnableSamlAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetUser() *User
The user affected by the action
func (OrgEnableSamlAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgEnableSamlAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgEnableSamlAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgEnableSamlAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgEnableSamlAuditEntry) IsAuditEntry ¶
func (OrgEnableSamlAuditEntry) IsAuditEntry()
func (OrgEnableSamlAuditEntry) IsNode ¶
func (OrgEnableSamlAuditEntry) IsNode()
func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntry ¶
func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntry()
func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntryData()
type OrgEnableTwoFactorRequirementAuditEntry ¶
type OrgEnableTwoFactorRequirementAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.enable_two_factor_requirement event.
func (OrgEnableTwoFactorRequirementAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetAction() string
The action name
func (OrgEnableTwoFactorRequirementAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgEnableTwoFactorRequirementAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgEnableTwoFactorRequirementAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgEnableTwoFactorRequirementAuditEntry) GetID ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetID() string
ID of the object.
func (OrgEnableTwoFactorRequirementAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgEnableTwoFactorRequirementAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetUser() *User
The user affected by the action
func (OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgEnableTwoFactorRequirementAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgEnableTwoFactorRequirementAuditEntry) IsAuditEntry ¶
func (OrgEnableTwoFactorRequirementAuditEntry) IsAuditEntry()
func (OrgEnableTwoFactorRequirementAuditEntry) IsNode ¶
func (OrgEnableTwoFactorRequirementAuditEntry) IsNode()
func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry ¶
func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()
func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()
type OrgEnterpriseOwnerOrder ¶ added in v0.0.4
type OrgEnterpriseOwnerOrder struct { // The field to order enterprise owners by. Field OrgEnterpriseOwnerOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for an organization's enterprise owner connections.
type OrgEnterpriseOwnerOrderField ¶ added in v0.0.4
type OrgEnterpriseOwnerOrderField string
Properties by which enterprise owners can be ordered.
const ( // Order enterprise owners by login. OrgEnterpriseOwnerOrderFieldLogin OrgEnterpriseOwnerOrderField = "LOGIN" )
func (OrgEnterpriseOwnerOrderField) IsValid ¶ added in v0.0.4
func (e OrgEnterpriseOwnerOrderField) IsValid() bool
func (OrgEnterpriseOwnerOrderField) MarshalGQL ¶ added in v0.0.4
func (e OrgEnterpriseOwnerOrderField) MarshalGQL(w io.Writer)
func (OrgEnterpriseOwnerOrderField) String ¶ added in v0.0.4
func (e OrgEnterpriseOwnerOrderField) String() string
func (*OrgEnterpriseOwnerOrderField) UnmarshalGQL ¶ added in v0.0.4
func (e *OrgEnterpriseOwnerOrderField) UnmarshalGQL(v interface{}) error
type OrgInviteMemberAuditEntry ¶
type OrgInviteMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The email address of the organization invitation. Email *string `json:"email"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The organization invitation. OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.invite_member event.
func (OrgInviteMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetAction() string
The action name
func (OrgInviteMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgInviteMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgInviteMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgInviteMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgInviteMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgInviteMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgInviteMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgInviteMemberAuditEntry) GetID ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetID() string
ID of the object.
func (OrgInviteMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgInviteMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgInviteMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgInviteMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgInviteMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgInviteMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetUser() *User
The user affected by the action
func (OrgInviteMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgInviteMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgInviteMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgInviteMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgInviteMemberAuditEntry) IsAuditEntry ¶
func (OrgInviteMemberAuditEntry) IsAuditEntry()
func (OrgInviteMemberAuditEntry) IsNode ¶
func (OrgInviteMemberAuditEntry) IsNode()
func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntry ¶
func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntry()
func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntryData()
type OrgInviteToBusinessAuditEntry ¶
type OrgInviteToBusinessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.invite_to_business event.
func (OrgInviteToBusinessAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetAction() string
The action name
func (OrgInviteToBusinessAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgInviteToBusinessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgInviteToBusinessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgInviteToBusinessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgInviteToBusinessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgInviteToBusinessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgInviteToBusinessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (OrgInviteToBusinessAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (OrgInviteToBusinessAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (OrgInviteToBusinessAuditEntry) GetID ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetID() string
ID of the object.
func (OrgInviteToBusinessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgInviteToBusinessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgInviteToBusinessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgInviteToBusinessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgInviteToBusinessAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetUser() *User
The user affected by the action
func (OrgInviteToBusinessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgInviteToBusinessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgInviteToBusinessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgInviteToBusinessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgInviteToBusinessAuditEntry) IsAuditEntry ¶
func (OrgInviteToBusinessAuditEntry) IsAuditEntry()
func (OrgInviteToBusinessAuditEntry) IsEnterpriseAuditEntryData ¶
func (OrgInviteToBusinessAuditEntry) IsEnterpriseAuditEntryData()
func (OrgInviteToBusinessAuditEntry) IsNode ¶
func (OrgInviteToBusinessAuditEntry) IsNode()
func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntry ¶
func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntry()
func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntryData()
type OrgOauthAppAccessApprovedAuditEntry ¶
type OrgOauthAppAccessApprovedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.oauth_app_access_approved event.
func (OrgOauthAppAccessApprovedAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetAction() string
The action name
func (OrgOauthAppAccessApprovedAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgOauthAppAccessApprovedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgOauthAppAccessApprovedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgOauthAppAccessApprovedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgOauthAppAccessApprovedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgOauthAppAccessApprovedAuditEntry) GetID ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetID() string
ID of the object.
func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName() *string
The name of the OAuth Application.
func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath() *string
The HTTP path for the OAuth Application
func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationURL() *string
The HTTP URL for the OAuth Application
func (OrgOauthAppAccessApprovedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgOauthAppAccessApprovedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgOauthAppAccessApprovedAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetUser() *User
The user affected by the action
func (OrgOauthAppAccessApprovedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgOauthAppAccessApprovedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgOauthAppAccessApprovedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry ¶
func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry()
func (OrgOauthAppAccessApprovedAuditEntry) IsNode ¶
func (OrgOauthAppAccessApprovedAuditEntry) IsNode()
func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData ¶
func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData()
func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry ¶
func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry()
func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData()
type OrgOauthAppAccessDeniedAuditEntry ¶
type OrgOauthAppAccessDeniedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.oauth_app_access_denied event.
func (OrgOauthAppAccessDeniedAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetAction() string
The action name
func (OrgOauthAppAccessDeniedAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgOauthAppAccessDeniedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgOauthAppAccessDeniedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgOauthAppAccessDeniedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgOauthAppAccessDeniedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgOauthAppAccessDeniedAuditEntry) GetID ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetID() string
ID of the object.
func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName() *string
The name of the OAuth Application.
func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath() *string
The HTTP path for the OAuth Application
func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationURL() *string
The HTTP URL for the OAuth Application
func (OrgOauthAppAccessDeniedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgOauthAppAccessDeniedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgOauthAppAccessDeniedAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetUser() *User
The user affected by the action
func (OrgOauthAppAccessDeniedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgOauthAppAccessDeniedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgOauthAppAccessDeniedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry ¶
func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry()
func (OrgOauthAppAccessDeniedAuditEntry) IsNode ¶
func (OrgOauthAppAccessDeniedAuditEntry) IsNode()
func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData ¶
func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData()
func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry ¶
func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry()
func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData()
type OrgOauthAppAccessRequestedAuditEntry ¶
type OrgOauthAppAccessRequestedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.oauth_app_access_requested event.
func (OrgOauthAppAccessRequestedAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetAction() string
The action name
func (OrgOauthAppAccessRequestedAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgOauthAppAccessRequestedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgOauthAppAccessRequestedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgOauthAppAccessRequestedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgOauthAppAccessRequestedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgOauthAppAccessRequestedAuditEntry) GetID ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetID() string
ID of the object.
func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName() *string
The name of the OAuth Application.
func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath() *string
The HTTP path for the OAuth Application
func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationURL() *string
The HTTP URL for the OAuth Application
func (OrgOauthAppAccessRequestedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgOauthAppAccessRequestedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgOauthAppAccessRequestedAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetUser() *User
The user affected by the action
func (OrgOauthAppAccessRequestedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgOauthAppAccessRequestedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgOauthAppAccessRequestedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry ¶
func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry()
func (OrgOauthAppAccessRequestedAuditEntry) IsNode ¶
func (OrgOauthAppAccessRequestedAuditEntry) IsNode()
func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData ¶
func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData()
func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry ¶
func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry()
func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData()
type OrgRemoveBillingManagerAuditEntry ¶
type OrgRemoveBillingManagerAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The reason for the billing manager being removed. Reason *OrgRemoveBillingManagerAuditEntryReason `json:"reason"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.remove_billing_manager event.
func (OrgRemoveBillingManagerAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetAction() string
The action name
func (OrgRemoveBillingManagerAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgRemoveBillingManagerAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgRemoveBillingManagerAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgRemoveBillingManagerAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgRemoveBillingManagerAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgRemoveBillingManagerAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgRemoveBillingManagerAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgRemoveBillingManagerAuditEntry) GetID ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetID() string
ID of the object.
func (OrgRemoveBillingManagerAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgRemoveBillingManagerAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgRemoveBillingManagerAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgRemoveBillingManagerAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgRemoveBillingManagerAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetUser() *User
The user affected by the action
func (OrgRemoveBillingManagerAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgRemoveBillingManagerAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgRemoveBillingManagerAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgRemoveBillingManagerAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgRemoveBillingManagerAuditEntry) IsAuditEntry ¶
func (OrgRemoveBillingManagerAuditEntry) IsAuditEntry()
func (OrgRemoveBillingManagerAuditEntry) IsNode ¶
func (OrgRemoveBillingManagerAuditEntry) IsNode()
func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntry ¶
func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntry()
func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntryData()
type OrgRemoveBillingManagerAuditEntryReason ¶
type OrgRemoveBillingManagerAuditEntryReason string
The reason a billing manager was removed from an Organization.
const ( // The organization required 2FA of its billing managers and this user did not have 2FA enabled. OrgRemoveBillingManagerAuditEntryReasonTwoFactorRequirementNonCompliance OrgRemoveBillingManagerAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" // SAML external identity missing OrgRemoveBillingManagerAuditEntryReasonSamlExternalIDEntityMissing OrgRemoveBillingManagerAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING" // SAML SSO enforcement requires an external identity OrgRemoveBillingManagerAuditEntryReasonSamlSsoEnforcementRequiresExternalIDEntity OrgRemoveBillingManagerAuditEntryReason = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" )
func (OrgRemoveBillingManagerAuditEntryReason) IsValid ¶
func (e OrgRemoveBillingManagerAuditEntryReason) IsValid() bool
func (OrgRemoveBillingManagerAuditEntryReason) MarshalGQL ¶
func (e OrgRemoveBillingManagerAuditEntryReason) MarshalGQL(w io.Writer)
func (OrgRemoveBillingManagerAuditEntryReason) String ¶
func (e OrgRemoveBillingManagerAuditEntryReason) String() string
func (*OrgRemoveBillingManagerAuditEntryReason) UnmarshalGQL ¶
func (e *OrgRemoveBillingManagerAuditEntryReason) UnmarshalGQL(v interface{}) error
type OrgRemoveMemberAuditEntry ¶
type OrgRemoveMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The types of membership the member has with the organization. MembershipTypes []OrgRemoveMemberAuditEntryMembershipType `json:"membershipTypes"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The reason for the member being removed. Reason *OrgRemoveMemberAuditEntryReason `json:"reason"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.remove_member event.
func (OrgRemoveMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetAction() string
The action name
func (OrgRemoveMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgRemoveMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgRemoveMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgRemoveMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgRemoveMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgRemoveMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgRemoveMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgRemoveMemberAuditEntry) GetID ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetID() string
ID of the object.
func (OrgRemoveMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgRemoveMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgRemoveMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgRemoveMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgRemoveMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgRemoveMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetUser() *User
The user affected by the action
func (OrgRemoveMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgRemoveMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgRemoveMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgRemoveMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgRemoveMemberAuditEntry) IsAuditEntry ¶
func (OrgRemoveMemberAuditEntry) IsAuditEntry()
func (OrgRemoveMemberAuditEntry) IsNode ¶
func (OrgRemoveMemberAuditEntry) IsNode()
func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntry ¶
func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntry()
func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
type OrgRemoveMemberAuditEntryMembershipType ¶
type OrgRemoveMemberAuditEntryMembershipType string
The type of membership a user has with an Organization.
const ( // A suspended member. OrgRemoveMemberAuditEntryMembershipTypeSuspended OrgRemoveMemberAuditEntryMembershipType = "SUSPENDED" // A direct member is a user that is a member of the Organization. OrgRemoveMemberAuditEntryMembershipTypeDirectMember OrgRemoveMemberAuditEntryMembershipType = "DIRECT_MEMBER" // 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. OrgRemoveMemberAuditEntryMembershipTypeAdmin OrgRemoveMemberAuditEntryMembershipType = "ADMIN" // A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. OrgRemoveMemberAuditEntryMembershipTypeBillingManager OrgRemoveMemberAuditEntryMembershipType = "BILLING_MANAGER" // 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. OrgRemoveMemberAuditEntryMembershipTypeUnaffiliated OrgRemoveMemberAuditEntryMembershipType = "UNAFFILIATED" // 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. OrgRemoveMemberAuditEntryMembershipTypeOutsideCollaborator OrgRemoveMemberAuditEntryMembershipType = "OUTSIDE_COLLABORATOR" )
func (OrgRemoveMemberAuditEntryMembershipType) IsValid ¶
func (e OrgRemoveMemberAuditEntryMembershipType) IsValid() bool
func (OrgRemoveMemberAuditEntryMembershipType) MarshalGQL ¶
func (e OrgRemoveMemberAuditEntryMembershipType) MarshalGQL(w io.Writer)
func (OrgRemoveMemberAuditEntryMembershipType) String ¶
func (e OrgRemoveMemberAuditEntryMembershipType) String() string
func (*OrgRemoveMemberAuditEntryMembershipType) UnmarshalGQL ¶
func (e *OrgRemoveMemberAuditEntryMembershipType) UnmarshalGQL(v interface{}) error
type OrgRemoveMemberAuditEntryReason ¶
type OrgRemoveMemberAuditEntryReason string
The reason a member was removed from an Organization.
const ( // The organization required 2FA of its billing managers and this user did not have 2FA enabled. OrgRemoveMemberAuditEntryReasonTwoFactorRequirementNonCompliance OrgRemoveMemberAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" // SAML external identity missing OrgRemoveMemberAuditEntryReasonSamlExternalIDEntityMissing OrgRemoveMemberAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING" // SAML SSO enforcement requires an external identity OrgRemoveMemberAuditEntryReasonSamlSsoEnforcementRequiresExternalIDEntity OrgRemoveMemberAuditEntryReason = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY" // User account has been deleted OrgRemoveMemberAuditEntryReasonUserAccountDeleted OrgRemoveMemberAuditEntryReason = "USER_ACCOUNT_DELETED" // User was removed from organization during account recovery OrgRemoveMemberAuditEntryReasonTwoFactorAccountRecovery OrgRemoveMemberAuditEntryReason = "TWO_FACTOR_ACCOUNT_RECOVERY" )
func (OrgRemoveMemberAuditEntryReason) IsValid ¶
func (e OrgRemoveMemberAuditEntryReason) IsValid() bool
func (OrgRemoveMemberAuditEntryReason) MarshalGQL ¶
func (e OrgRemoveMemberAuditEntryReason) MarshalGQL(w io.Writer)
func (OrgRemoveMemberAuditEntryReason) String ¶
func (e OrgRemoveMemberAuditEntryReason) String() string
func (*OrgRemoveMemberAuditEntryReason) UnmarshalGQL ¶
func (e *OrgRemoveMemberAuditEntryReason) UnmarshalGQL(v interface{}) error
type OrgRemoveOutsideCollaboratorAuditEntry ¶
type OrgRemoveOutsideCollaboratorAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The types of membership the outside collaborator has with the organization. MembershipTypes []OrgRemoveOutsideCollaboratorAuditEntryMembershipType `json:"membershipTypes"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The reason for the outside collaborator being removed from the Organization. Reason *OrgRemoveOutsideCollaboratorAuditEntryReason `json:"reason"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.remove_outside_collaborator event.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetAction() string
The action name
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgRemoveOutsideCollaboratorAuditEntry) GetID ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetID() string
ID of the object.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgRemoveOutsideCollaboratorAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUser() *User
The user affected by the action
func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgRemoveOutsideCollaboratorAuditEntry) IsAuditEntry ¶
func (OrgRemoveOutsideCollaboratorAuditEntry) IsAuditEntry()
func (OrgRemoveOutsideCollaboratorAuditEntry) IsNode ¶
func (OrgRemoveOutsideCollaboratorAuditEntry) IsNode()
func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntry ¶
func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntry()
func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntryData()
type OrgRemoveOutsideCollaboratorAuditEntryMembershipType ¶
type OrgRemoveOutsideCollaboratorAuditEntryMembershipType string
The type of membership a user has with an Organization.
const ( // 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. OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeOutsideCollaborator OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "OUTSIDE_COLLABORATOR" // 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. OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeUnaffiliated OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "UNAFFILIATED" // A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeBillingManager OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "BILLING_MANAGER" )
func (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) IsValid ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) IsValid() bool
func (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) MarshalGQL ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) MarshalGQL(w io.Writer)
func (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) String ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryMembershipType) String() string
func (*OrgRemoveOutsideCollaboratorAuditEntryMembershipType) UnmarshalGQL ¶
func (e *OrgRemoveOutsideCollaboratorAuditEntryMembershipType) UnmarshalGQL(v interface{}) error
type OrgRemoveOutsideCollaboratorAuditEntryReason ¶
type OrgRemoveOutsideCollaboratorAuditEntryReason string
The reason an outside collaborator was removed from an Organization.
const ( // The organization required 2FA of its billing managers and this user did not have 2FA enabled. OrgRemoveOutsideCollaboratorAuditEntryReasonTwoFactorRequirementNonCompliance OrgRemoveOutsideCollaboratorAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE" // SAML external identity missing OrgRemoveOutsideCollaboratorAuditEntryReasonSamlExternalIDEntityMissing OrgRemoveOutsideCollaboratorAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING" )
func (OrgRemoveOutsideCollaboratorAuditEntryReason) IsValid ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryReason) IsValid() bool
func (OrgRemoveOutsideCollaboratorAuditEntryReason) MarshalGQL ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryReason) MarshalGQL(w io.Writer)
func (OrgRemoveOutsideCollaboratorAuditEntryReason) String ¶
func (e OrgRemoveOutsideCollaboratorAuditEntryReason) String() string
func (*OrgRemoveOutsideCollaboratorAuditEntryReason) UnmarshalGQL ¶
func (e *OrgRemoveOutsideCollaboratorAuditEntryReason) UnmarshalGQL(v interface{}) error
type OrgRestoreMemberAuditEntry ¶
type OrgRestoreMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The number of custom email routings for the restored member. RestoredCustomEmailRoutingsCount *int `json:"restoredCustomEmailRoutingsCount"` // The number of issue assignments for the restored member. RestoredIssueAssignmentsCount *int `json:"restoredIssueAssignmentsCount"` // Restored organization membership objects. RestoredMemberships []OrgRestoreMemberAuditEntryMembership `json:"restoredMemberships"` // The number of restored memberships. RestoredMembershipsCount *int `json:"restoredMembershipsCount"` // The number of repositories of the restored member. RestoredRepositoriesCount *int `json:"restoredRepositoriesCount"` // The number of starred repositories for the restored member. RestoredRepositoryStarsCount *int `json:"restoredRepositoryStarsCount"` // The number of watched repositories for the restored member. RestoredRepositoryWatchesCount *int `json:"restoredRepositoryWatchesCount"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.restore_member event.
func (OrgRestoreMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetAction() string
The action name
func (OrgRestoreMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgRestoreMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgRestoreMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgRestoreMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgRestoreMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgRestoreMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgRestoreMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgRestoreMemberAuditEntry) GetID ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetID() string
ID of the object.
func (OrgRestoreMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgRestoreMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgRestoreMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgRestoreMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgRestoreMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgRestoreMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetUser() *User
The user affected by the action
func (OrgRestoreMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgRestoreMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgRestoreMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgRestoreMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgRestoreMemberAuditEntry) IsAuditEntry ¶
func (OrgRestoreMemberAuditEntry) IsAuditEntry()
func (OrgRestoreMemberAuditEntry) IsNode ¶
func (OrgRestoreMemberAuditEntry) IsNode()
func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntry ¶
func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntry()
func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntryData()
type OrgRestoreMemberAuditEntryMembership ¶
type OrgRestoreMemberAuditEntryMembership interface {
IsOrgRestoreMemberAuditEntryMembership()
}
Types of memberships that can be restored for an Organization member.
type OrgRestoreMemberMembershipOrganizationAuditEntryData ¶
type OrgRestoreMemberMembershipOrganizationAuditEntryData struct { // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` }
Metadata for an organization membership for org.restore_member actions
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName() *string
The name of the Organization.
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationURL ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrgRestoreMemberAuditEntryMembership ¶
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrganizationAuditEntryData ¶
func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrganizationAuditEntryData()
type OrgRestoreMemberMembershipRepositoryAuditEntryData ¶
type OrgRestoreMemberMembershipRepositoryAuditEntryData struct { // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` }
Metadata for a repository membership for org.restore_member actions
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository() *Repository
The repository associated with the action
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName() *string
The name of the repository
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryURL ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryURL() *string
The HTTP URL for the repository
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsOrgRestoreMemberAuditEntryMembership ¶
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsRepositoryAuditEntryData ¶
func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsRepositoryAuditEntryData()
type OrgRestoreMemberMembershipTeamAuditEntryData ¶
type OrgRestoreMemberMembershipTeamAuditEntryData struct { // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` }
Metadata for a team membership for org.restore_member actions
func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam() *Team
The team associated with the action
func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName() *string
The name of the team
func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath() *string
The HTTP path for this team
func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamURL ¶ added in v0.11.4
func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamURL() *string
The HTTP URL for this team
func (OrgRestoreMemberMembershipTeamAuditEntryData) IsOrgRestoreMemberAuditEntryMembership ¶
func (OrgRestoreMemberMembershipTeamAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()
func (OrgRestoreMemberMembershipTeamAuditEntryData) IsTeamAuditEntryData ¶
func (OrgRestoreMemberMembershipTeamAuditEntryData) IsTeamAuditEntryData()
type OrgUnblockUserAuditEntry ¶
type OrgUnblockUserAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The user being unblocked by the organization. BlockedUser *User `json:"blockedUser"` // The username of the blocked user. BlockedUserName *string `json:"blockedUserName"` // The HTTP path for the blocked user. BlockedUserResourcePath *string `json:"blockedUserResourcePath"` // The HTTP URL for the blocked user. BlockedUserURL *string `json:"blockedUserUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.unblock_user
func (OrgUnblockUserAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetAction() string
The action name
func (OrgUnblockUserAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgUnblockUserAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgUnblockUserAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgUnblockUserAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgUnblockUserAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgUnblockUserAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgUnblockUserAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgUnblockUserAuditEntry) GetID ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetID() string
ID of the object.
func (OrgUnblockUserAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgUnblockUserAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgUnblockUserAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgUnblockUserAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgUnblockUserAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgUnblockUserAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetUser() *User
The user affected by the action
func (OrgUnblockUserAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgUnblockUserAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgUnblockUserAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgUnblockUserAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgUnblockUserAuditEntry) IsAuditEntry ¶
func (OrgUnblockUserAuditEntry) IsAuditEntry()
func (OrgUnblockUserAuditEntry) IsNode ¶
func (OrgUnblockUserAuditEntry) IsNode()
func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntry ¶
func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntry()
func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntryData()
type OrgUpdateDefaultRepositoryPermissionAuditEntry ¶
type OrgUpdateDefaultRepositoryPermissionAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The new base repository permission level for the organization. Permission *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permission"` // The former base repository permission level for the organization. PermissionWas *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permissionWas"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.update_default_repository_permission
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction() string
The action name
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetID ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetID() string
ID of the object.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser() *User
The user affected by the action
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsAuditEntry ¶
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsAuditEntry()
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsNode ¶
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsNode()
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntry ¶
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntry()
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntryData()
type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission ¶
type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission string
The default permission a repository can have in an Organization.
const ( // Can read and clone repositories. OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionRead OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "READ" // Can read, clone and push to repositories. OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionWrite OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "WRITE" // Can read, clone, push, and add collaborators to repositories. OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionAdmin OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "ADMIN" // No default permission value. OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionNone OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "NONE" )
func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) IsValid ¶
func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) IsValid() bool
func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) MarshalGQL ¶
func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) MarshalGQL(w io.Writer)
func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) String ¶
func (e OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) String() string
func (*OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL ¶
func (e *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL(v interface{}) error
type OrgUpdateMemberAuditEntry ¶
type OrgUpdateMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The new member permission level for the organization. Permission *OrgUpdateMemberAuditEntryPermission `json:"permission"` // The former member permission level for the organization. PermissionWas *OrgUpdateMemberAuditEntryPermission `json:"permissionWas"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.update_member event.
func (OrgUpdateMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetAction() string
The action name
func (OrgUpdateMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgUpdateMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgUpdateMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgUpdateMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgUpdateMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgUpdateMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgUpdateMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgUpdateMemberAuditEntry) GetID ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetID() string
ID of the object.
func (OrgUpdateMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgUpdateMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgUpdateMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgUpdateMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgUpdateMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgUpdateMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetUser() *User
The user affected by the action
func (OrgUpdateMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgUpdateMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgUpdateMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgUpdateMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgUpdateMemberAuditEntry) IsAuditEntry ¶
func (OrgUpdateMemberAuditEntry) IsAuditEntry()
func (OrgUpdateMemberAuditEntry) IsNode ¶
func (OrgUpdateMemberAuditEntry) IsNode()
func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntry ¶
func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntry()
func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntryData()
type OrgUpdateMemberAuditEntryPermission ¶
type OrgUpdateMemberAuditEntryPermission string
The permissions available to members on an Organization.
const ( // Can read and clone repositories. OrgUpdateMemberAuditEntryPermissionRead OrgUpdateMemberAuditEntryPermission = "READ" // Can read, clone, push, and add collaborators to repositories. OrgUpdateMemberAuditEntryPermissionAdmin OrgUpdateMemberAuditEntryPermission = "ADMIN" )
func (OrgUpdateMemberAuditEntryPermission) IsValid ¶
func (e OrgUpdateMemberAuditEntryPermission) IsValid() bool
func (OrgUpdateMemberAuditEntryPermission) MarshalGQL ¶
func (e OrgUpdateMemberAuditEntryPermission) MarshalGQL(w io.Writer)
func (OrgUpdateMemberAuditEntryPermission) String ¶
func (e OrgUpdateMemberAuditEntryPermission) String() string
func (*OrgUpdateMemberAuditEntryPermission) UnmarshalGQL ¶
func (e *OrgUpdateMemberAuditEntryPermission) UnmarshalGQL(v interface{}) error
type OrgUpdateMemberRepositoryCreationPermissionAuditEntry ¶
type OrgUpdateMemberRepositoryCreationPermissionAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // Can members create repositories in the organization. CanCreateRepositories *bool `json:"canCreateRepositories"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The permission for visibility level of repositories for this organization. Visibility *OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility `json:"visibility"` }
Audit log entry for a org.update_member_repository_creation_permission event.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction() string
The action name
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetID ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetID() string
ID of the object.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser() *User
The user affected by the action
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsAuditEntry ¶
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsAuditEntry()
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsNode ¶
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsNode()
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntry ¶
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntry()
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntryData()
type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility ¶
type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility string
The permissions available for repository creation on an Organization.
const ( // All organization members are restricted from creating any repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityAll OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "ALL" // All organization members are restricted from creating public repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublic OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC" // All organization members are allowed to create any repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityNone OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "NONE" // All organization members are restricted from creating private repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivate OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE" // All organization members are restricted from creating internal repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "INTERNAL" // All organization members are restricted from creating public or internal repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_INTERNAL" // All organization members are restricted from creating private or internal repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivateInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE_INTERNAL" // All organization members are restricted from creating public or private repositories. OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicPrivate OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_PRIVATE" )
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) IsValid ¶
func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) IsValid() bool
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) MarshalGQL ¶
func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) MarshalGQL(w io.Writer)
func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) String ¶
func (e OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) String() string
func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) UnmarshalGQL ¶
func (e *OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry ¶
type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // Can outside collaborators be invited to repositories in the organization. CanInviteOutsideCollaboratorsToRepositories *bool `json:"canInviteOutsideCollaboratorsToRepositories"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a org.update_member_repository_invitation_permission event.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction() string
The action name
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIP ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIP() *string
The IP address of the actor
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt() string
The time the action was initiated
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetID ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetID() string
ID of the object.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser() *User
The user affected by the action
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserURL ¶ added in v0.11.4
func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsAuditEntry ¶
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsAuditEntry()
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsNode ¶
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsNode()
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntry ¶
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntry()
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData ¶
func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData()
type Organization ¶
type Organization struct { // The text of the announcement Announcement *string `json:"announcement"` // The expiration date of the announcement, if any AnnouncementExpiresAt *time.Time `json:"announcementExpiresAt"` // Whether the announcement can be dismissed by the user AnnouncementUserDismissible *bool `json:"announcementUserDismissible"` // Determine if this repository owner has any items that can be pinned to their profile. AnyPinnableItems bool `json:"anyPinnableItems"` // Audit log entries of the organization AuditLog OrganizationAuditEntryConnection `json:"auditLog"` // A URL pointing to the organization's public avatar. AvatarURL string `json:"avatarUrl"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The organization's public profile description. Description *string `json:"description"` // The organization's public profile description rendered to HTML. DescriptionHTML *string `json:"descriptionHTML"` // A list of domains owned by the organization. Domains *VerifiableDomainConnection `json:"domains"` // The organization's public email. Email *string `json:"email"` // A list of owners of the organization's enterprise account. EnterpriseOwners OrganizationEnterpriseOwnerConnection `json:"enterpriseOwners"` // The estimated next GitHub Sponsors payout for this user/organization in cents (USD). EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents"` // True if this user/organization has a GitHub Sponsors listing. HasSponsorsListing bool `json:"hasSponsorsListing"` ID string `json:"id"` // The interaction ability settings for this organization. InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility"` // The setting value for whether the organization has an IP allow list enabled. IPAllowListEnabledSetting IPAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting"` // The IP addresses that are allowed to access resources owned by the organization. IPAllowListEntries IPAllowListEntryConnection `json:"ipAllowListEntries"` // The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. IPAllowListForInstalledAppsEnabledSetting IPAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting"` // Whether the given account is sponsoring this user/organization. IsSponsoredBy bool `json:"isSponsoredBy"` // True if the viewer is sponsored by this user/organization. IsSponsoringViewer bool `json:"isSponsoringViewer"` // Whether the organization has verified its profile email and website. IsVerified bool `json:"isVerified"` // 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"` // The organization's public profile location. Location *string `json:"location"` // The organization's login name. Login string `json:"login"` // A list of all mannequins for this organization. Mannequins MannequinConnection `json:"mannequins"` // Get the status messages members of this entity have set that are either public or visible only to the organization. MemberStatuses UserStatusConnection `json:"memberStatuses"` // Members can fork private repositories in this organization MembersCanForkPrivateRepositories bool `json:"membersCanForkPrivateRepositories"` // A list of users who are members of this organization. MembersWithRole OrganizationMemberConnection `json:"membersWithRole"` // The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents"` // The organization's public profile name. Name *string `json:"name"` // The HTTP path creating a new team NewTeamResourcePath string `json:"newTeamResourcePath"` // The HTTP URL creating a new team NewTeamURL string `json:"newTeamUrl"` // Indicates if email notification delivery for this organization is restricted to verified or approved domains. NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting"` // The billing email for the organization. OrganizationBillingEmail *string `json:"organizationBillingEmail"` // A list of packages under the owner. Packages PackageConnection `json:"packages"` // A list of users who have been invited to join this organization. PendingMembers UserConnection `json:"pendingMembers"` // A list of repositories and gists this profile owner can pin to their profile. PinnableItems PinnableItemConnection `json:"pinnableItems"` // A list of repositories and gists this profile owner has pinned to their profile PinnedItems PinnableItemConnection `json:"pinnedItems"` // Returns how many more items this profile owner can pin to their profile. PinnedItemsRemaining int `json:"pinnedItemsRemaining"` // Find project by number. Project *Project `json:"project"` // Find a project by number. ProjectV2 *ProjectV2 `json:"projectV2"` // A list of projects under the owner. Projects ProjectConnection `json:"projects"` // The HTTP path listing organization's projects ProjectsResourcePath string `json:"projectsResourcePath"` // The HTTP URL listing organization's projects ProjectsURL string `json:"projectsUrl"` // A list of projects under the owner. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // Recent projects that this user has modified in the context of the owner. RecentProjects ProjectV2Connection `json:"recentProjects"` // A list of repositories that the user owns. Repositories RepositoryConnection `json:"repositories"` // Find Repository. Repository *Repository `json:"repository"` // Discussion comments this user has authored. RepositoryDiscussionComments DiscussionCommentConnection `json:"repositoryDiscussionComments"` // Discussions this user has started. RepositoryDiscussions DiscussionConnection `json:"repositoryDiscussions"` // A list of all repository migrations for this organization. RepositoryMigrations RepositoryMigrationConnection `json:"repositoryMigrations"` // When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication. RequiresTwoFactorAuthentication *bool `json:"requiresTwoFactorAuthentication"` // The HTTP path for this organization. ResourcePath string `json:"resourcePath"` // The Organization's SAML identity providers SamlIdentityProvider *OrganizationIdentityProvider `json:"samlIdentityProvider"` // List of users and organizations this entity is sponsoring. Sponsoring SponsorConnection `json:"sponsoring"` // List of sponsors for this user or organization. Sponsors SponsorConnection `json:"sponsors"` // Events involving this sponsorable, such as new sponsorships. SponsorsActivities SponsorsActivityConnection `json:"sponsorsActivities"` // The GitHub Sponsors listing for this user or organization. SponsorsListing *SponsorsListing `json:"sponsorsListing"` // The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor"` // The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable"` // List of sponsorship updates sent from this sponsorable to sponsors. SponsorshipNewsletters SponsorshipNewsletterConnection `json:"sponsorshipNewsletters"` // The sponsorships where this user or organization is the maintainer receiving the funds. SponsorshipsAsMaintainer SponsorshipConnection `json:"sponsorshipsAsMaintainer"` // The sponsorships where this user or organization is the funder. SponsorshipsAsSponsor SponsorshipConnection `json:"sponsorshipsAsSponsor"` // Find an organization's team by its slug. Team *Team `json:"team"` // A list of teams in this organization. Teams TeamConnection `json:"teams"` // The HTTP path listing organization's teams TeamsResourcePath string `json:"teamsResourcePath"` // The HTTP URL listing organization's teams TeamsURL string `json:"teamsUrl"` // The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. TotalSponsorshipAmountAsSponsorInCents *int `json:"totalSponsorshipAmountAsSponsorInCents"` // The organization's Twitter username. TwitterUsername *string `json:"twitterUsername"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this organization. URL string `json:"url"` // Organization is adminable by the viewer. ViewerCanAdminister bool `json:"viewerCanAdminister"` // Can the viewer pin repositories and gists to the profile? ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems"` // Can the current viewer create new projects on this owner. ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"` // Viewer can create repositories on this organization ViewerCanCreateRepositories bool `json:"viewerCanCreateRepositories"` // Viewer can create teams on this organization. ViewerCanCreateTeams bool `json:"viewerCanCreateTeams"` // Whether or not the viewer is able to sponsor this user/organization. ViewerCanSponsor bool `json:"viewerCanSponsor"` // Viewer is an active member of this organization. ViewerIsAMember bool `json:"viewerIsAMember"` // Whether or not this Organization is followed by the viewer. ViewerIsFollowing bool `json:"viewerIsFollowing"` // True if the viewer is sponsoring this user/organization. ViewerIsSponsoring bool `json:"viewerIsSponsoring"` // Whether contributors are required to sign off on web-based commits for repositories in this organization. WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"` // The organization's public profile URL. WebsiteURL *string `json:"websiteUrl"` }
An account on GitHub, with one or more owners, that has repositories, members and teams.
func (Organization) GetAnnouncement ¶ added in v0.11.4
func (this Organization) GetAnnouncement() *string
The text of the announcement
func (Organization) GetAnnouncementExpiresAt ¶ added in v0.11.4
func (this Organization) GetAnnouncementExpiresAt() *time.Time
The expiration date of the announcement, if any
func (Organization) GetAnnouncementUserDismissible ¶ added in v0.11.4
func (this Organization) GetAnnouncementUserDismissible() *bool
Whether the announcement can be dismissed by the user
func (Organization) GetAnyPinnableItems ¶ added in v0.11.4
func (this Organization) GetAnyPinnableItems() bool
Determine if this repository owner has any items that can be pinned to their profile.
func (Organization) GetAvatarURL ¶ added in v0.11.4
func (this Organization) GetAvatarURL() string
A URL pointing to the actor's public avatar.
func (Organization) GetEmail ¶ added in v0.11.4
func (this Organization) GetEmail() *string
The public profile email.
func (Organization) GetEstimatedNextSponsorsPayoutInCents ¶ added in v0.11.4
func (this Organization) GetEstimatedNextSponsorsPayoutInCents() int
The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
func (Organization) GetHasSponsorsListing ¶ added in v0.11.4
func (this Organization) GetHasSponsorsListing() bool
True if this user/organization has a GitHub Sponsors listing.
func (Organization) GetID ¶ added in v0.11.4
func (this Organization) GetID() string
ID of the object.
func (Organization) GetIsSponsoredBy ¶ added in v0.11.4
func (this Organization) GetIsSponsoredBy() bool
Whether the given account is sponsoring this user/organization.
func (Organization) GetIsSponsoringViewer ¶ added in v0.11.4
func (this Organization) GetIsSponsoringViewer() bool
True if the viewer is sponsored by this user/organization.
func (Organization) GetItemShowcase ¶ added in v0.11.4
func (this Organization) GetItemShowcase() ProfileItemShowcase
Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
func (Organization) GetLocation ¶ added in v0.11.4
func (this Organization) GetLocation() *string
The public profile location.
func (Organization) GetLogin ¶ added in v0.11.4
func (this Organization) GetLogin() string
The username of the actor.
func (Organization) GetMemberStatuses ¶ added in v0.11.4
func (this Organization) GetMemberStatuses() UserStatusConnection
Get the status messages members of this entity have set that are either public or visible only to the organization.
func (Organization) GetMonthlyEstimatedSponsorsIncomeInCents ¶ added in v0.11.4
func (this Organization) GetMonthlyEstimatedSponsorsIncomeInCents() int
The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
func (Organization) GetName ¶ added in v0.11.4
func (this Organization) GetName() *string
The public profile name.
func (Organization) GetPackages ¶ added in v0.11.4
func (this Organization) GetPackages() PackageConnection
A list of packages under the owner.
func (Organization) GetPinnableItems ¶ added in v0.11.4
func (this Organization) GetPinnableItems() PinnableItemConnection
A list of repositories and gists this profile owner can pin to their profile.
func (Organization) GetPinnedItems ¶ added in v0.11.4
func (this Organization) GetPinnedItems() PinnableItemConnection
A list of repositories and gists this profile owner has pinned to their profile
func (Organization) GetPinnedItemsRemaining ¶ added in v0.11.4
func (this Organization) GetPinnedItemsRemaining() int
Returns how many more items this profile owner can pin to their profile.
func (Organization) GetProject ¶ added in v0.11.4
func (this Organization) GetProject() *Project
Find project by number.
func (Organization) GetProjectV2 ¶ added in v0.11.4
func (this Organization) GetProjectV2() *ProjectV2
Find a project by number.
func (Organization) GetProjects ¶ added in v0.11.4
func (this Organization) GetProjects() ProjectConnection
A list of projects under the owner.
func (Organization) GetProjectsResourcePath ¶ added in v0.11.4
func (this Organization) GetProjectsResourcePath() string
The HTTP path listing owners projects
func (Organization) GetProjectsURL ¶ added in v0.11.4
func (this Organization) GetProjectsURL() string
The HTTP URL listing owners projects
func (Organization) GetProjectsV2 ¶ added in v0.11.4
func (this Organization) GetProjectsV2() ProjectV2Connection
A list of projects under the owner.
func (Organization) GetRecentProjects ¶ added in v0.11.4
func (this Organization) GetRecentProjects() ProjectV2Connection
Recent projects that this user has modified in the context of the owner.
func (Organization) GetRepositories ¶ added in v0.11.4
func (this Organization) GetRepositories() RepositoryConnection
A list of repositories that the user owns.
func (Organization) GetRepository ¶ added in v0.11.4
func (this Organization) GetRepository() *Repository
Find Repository.
func (Organization) GetRepositoryDiscussionComments ¶ added in v0.11.4
func (this Organization) GetRepositoryDiscussionComments() DiscussionCommentConnection
Discussion comments this user has authored.
func (Organization) GetRepositoryDiscussions ¶ added in v0.11.4
func (this Organization) GetRepositoryDiscussions() DiscussionConnection
Discussions this user has started.
func (Organization) GetResourcePath ¶ added in v0.11.4
func (this Organization) GetResourcePath() string
The HTTP path for this actor.
func (Organization) GetSponsoring ¶ added in v0.11.4
func (this Organization) GetSponsoring() SponsorConnection
List of users and organizations this entity is sponsoring.
func (Organization) GetSponsors ¶ added in v0.11.4
func (this Organization) GetSponsors() SponsorConnection
List of sponsors for this user or organization.
func (Organization) GetSponsorsActivities ¶ added in v0.11.4
func (this Organization) GetSponsorsActivities() SponsorsActivityConnection
Events involving this sponsorable, such as new sponsorships.
func (Organization) GetSponsorsListing ¶ added in v0.11.4
func (this Organization) GetSponsorsListing() *SponsorsListing
The GitHub Sponsors listing for this user or organization.
func (Organization) GetSponsorshipForViewerAsSponsor ¶ added in v0.11.4
func (this Organization) GetSponsorshipForViewerAsSponsor() *Sponsorship
The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
func (Organization) GetSponsorshipForViewerAsSponsorable ¶ added in v0.11.4
func (this Organization) GetSponsorshipForViewerAsSponsorable() *Sponsorship
The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
func (Organization) GetSponsorshipNewsletters ¶ added in v0.11.4
func (this Organization) GetSponsorshipNewsletters() SponsorshipNewsletterConnection
List of sponsorship updates sent from this sponsorable to sponsors.
func (Organization) GetSponsorshipsAsMaintainer ¶ added in v0.11.4
func (this Organization) GetSponsorshipsAsMaintainer() SponsorshipConnection
The sponsorships where this user or organization is the maintainer receiving the funds.
func (Organization) GetSponsorshipsAsSponsor ¶ added in v0.11.4
func (this Organization) GetSponsorshipsAsSponsor() SponsorshipConnection
The sponsorships where this user or organization is the funder.
func (Organization) GetTotalSponsorshipAmountAsSponsorInCents ¶ added in v0.11.4
func (this Organization) GetTotalSponsorshipAmountAsSponsorInCents() *int
The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.
func (Organization) GetURL ¶ added in v0.11.4
func (this Organization) GetURL() string
The HTTP URL for this actor.
func (Organization) GetViewerCanChangePinnedItems ¶ added in v0.11.4
func (this Organization) GetViewerCanChangePinnedItems() bool
Can the viewer pin repositories and gists to the profile?
func (Organization) GetViewerCanCreateProjects ¶ added in v0.11.4
func (this Organization) GetViewerCanCreateProjects() bool
Can the current viewer create new projects on this owner.
func (Organization) GetViewerCanSponsor ¶ added in v0.11.4
func (this Organization) GetViewerCanSponsor() bool
Whether or not the viewer is able to sponsor this user/organization.
func (Organization) GetViewerIsSponsoring ¶ added in v0.11.4
func (this Organization) GetViewerIsSponsoring() bool
True if the viewer is sponsoring this user/organization.
func (Organization) GetWebsiteURL ¶ added in v0.11.4
func (this Organization) GetWebsiteURL() *string
The public profile website URL.
func (Organization) IsActor ¶
func (Organization) IsActor()
func (Organization) IsAnnouncementBanner ¶ added in v0.11.4
func (Organization) IsAnnouncementBanner()
func (Organization) IsAssignee ¶
func (Organization) IsAssignee()
func (Organization) IsAuditEntryActor ¶
func (Organization) IsAuditEntryActor()
func (Organization) IsIPAllowListOwner ¶
func (Organization) IsIPAllowListOwner()
func (Organization) IsMemberStatusable ¶
func (Organization) IsMemberStatusable()
func (Organization) IsNode ¶
func (Organization) IsNode()
func (Organization) IsOrganizationOrUser ¶ added in v0.11.4
func (Organization) IsOrganizationOrUser()
func (Organization) IsPackageOwner ¶
func (Organization) IsPackageOwner()
func (Organization) IsPermissionGranter ¶
func (Organization) IsPermissionGranter()
func (Organization) IsProfileOwner ¶
func (Organization) IsProfileOwner()
func (Organization) IsProjectOwner ¶
func (Organization) IsProjectOwner()
func (Organization) IsProjectV2Owner ¶ added in v0.11.4
func (Organization) IsProjectV2Owner()
func (Organization) IsProjectV2Recent ¶ added in v0.11.4
func (Organization) IsProjectV2Recent()
func (Organization) IsReactor ¶ added in v0.0.3
func (Organization) IsReactor()
func (Organization) IsRepositoryDiscussionAuthor ¶ added in v0.0.3
func (Organization) IsRepositoryDiscussionAuthor()
func (Organization) IsRepositoryDiscussionCommentAuthor ¶ added in v0.0.3
func (Organization) IsRepositoryDiscussionCommentAuthor()
func (Organization) IsRepositoryOwner ¶
func (Organization) IsRepositoryOwner()
func (Organization) IsSearchResultItem ¶
func (Organization) IsSearchResultItem()
func (Organization) IsSponsor ¶
func (Organization) IsSponsor()
func (Organization) IsSponsorable ¶
func (Organization) IsSponsorable()
func (Organization) IsSponsorableItem ¶
func (Organization) IsSponsorableItem()
func (Organization) IsUniformResourceLocatable ¶
func (Organization) IsUniformResourceLocatable()
func (Organization) IsVerifiableDomainOwner ¶
func (Organization) IsVerifiableDomainOwner()
type OrganizationAuditEntry ¶
type OrganizationAuditEntry interface {
IsOrganizationAuditEntry()
}
An audit entry in an organization audit log.
type OrganizationAuditEntryConnection ¶
type OrganizationAuditEntryConnection struct { // A list of edges. Edges []*OrganizationAuditEntryEdge `json:"edges"` // A list of nodes. Nodes []OrganizationAuditEntry `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for OrganizationAuditEntry.
type OrganizationAuditEntryData ¶
type OrganizationAuditEntryData interface { IsOrganizationAuditEntryData() // The Organization associated with the Audit Entry. GetOrganization() *Organization // The name of the Organization. GetOrganizationName() *string // The HTTP path for the organization GetOrganizationResourcePath() *string // The HTTP URL for the organization GetOrganizationURL() *string }
Metadata for an audit entry with action org.*
type OrganizationAuditEntryEdge ¶
type OrganizationAuditEntryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node OrganizationAuditEntry `json:"node"` }
An edge in a connection.
type OrganizationConnection ¶
type OrganizationConnection struct { // A list of edges. Edges []*OrganizationEdge `json:"edges"` // A list of nodes. Nodes []*Organization `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
A list of organizations managed by an enterprise.
type OrganizationEdge ¶
type OrganizationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Organization `json:"node"` }
An edge in a connection.
type OrganizationEnterpriseOwnerConnection ¶ added in v0.0.4
type OrganizationEnterpriseOwnerConnection struct { // A list of edges. Edges []*OrganizationEnterpriseOwnerEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type OrganizationEnterpriseOwnerEdge ¶ added in v0.0.4
type OrganizationEnterpriseOwnerEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *User `json:"node"` // The role of the owner with respect to the organization. OrganizationRole RoleInOrganization `json:"organizationRole"` }
An enterprise owner in the context of an organization that is part of the enterprise.
type OrganizationIdentityProvider ¶
type OrganizationIdentityProvider struct { // The digest algorithm used to sign SAML requests for the Identity Provider. DigestMethod *string `json:"digestMethod"` // External Identities provisioned by this Identity Provider ExternalIdentities ExternalIdentityConnection `json:"externalIdentities"` ID string `json:"id"` // The x509 certificate used by the Identity Provider to sign assertions and responses. IdpCertificate *string `json:"idpCertificate"` // The Issuer Entity ID for the SAML Identity Provider Issuer *string `json:"issuer"` // Organization this Identity Provider belongs to Organization *Organization `json:"organization"` // The signature algorithm used to sign SAML requests for the Identity Provider. SignatureMethod *string `json:"signatureMethod"` // The URL endpoint for the Identity Provider's SAML SSO. SsoURL *string `json:"ssoUrl"` }
An Identity Provider configured to provision SAML and SCIM identities for Organizations
func (OrganizationIdentityProvider) GetID ¶ added in v0.11.4
func (this OrganizationIdentityProvider) GetID() string
ID of the object.
func (OrganizationIdentityProvider) IsNode ¶
func (OrganizationIdentityProvider) IsNode()
type OrganizationInvitation ¶
type OrganizationInvitation struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The email address of the user invited to the organization. Email *string `json:"email"` ID string `json:"id"` // The source of the invitation. InvitationSource OrganizationInvitationSource `json:"invitationSource"` // The type of invitation that was sent (e.g. email, user). InvitationType OrganizationInvitationType `json:"invitationType"` // The user who was invited to the organization. Invitee *User `json:"invitee"` // The user who created the invitation. Inviter User `json:"inviter"` // The organization the invite is for Organization Organization `json:"organization"` // The user's pending role in the organization (e.g. member, owner). Role OrganizationInvitationRole `json:"role"` }
An Invitation for a user to an organization.
func (OrganizationInvitation) GetID ¶ added in v0.11.4
func (this OrganizationInvitation) GetID() string
ID of the object.
func (OrganizationInvitation) IsNode ¶
func (OrganizationInvitation) IsNode()
type OrganizationInvitationConnection ¶
type OrganizationInvitationConnection struct { // A list of edges. Edges []*OrganizationInvitationEdge `json:"edges"` // A list of nodes. Nodes []*OrganizationInvitation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for OrganizationInvitation.
type OrganizationInvitationEdge ¶
type OrganizationInvitationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *OrganizationInvitation `json:"node"` }
An edge in a connection.
type OrganizationInvitationRole ¶
type OrganizationInvitationRole string
The possible organization invitation roles.
const ( // The user is invited to be a direct member of the organization. OrganizationInvitationRoleDirectMember OrganizationInvitationRole = "DIRECT_MEMBER" // The user is invited to be an admin of the organization. OrganizationInvitationRoleAdmin OrganizationInvitationRole = "ADMIN" // The user is invited to be a billing manager of the organization. OrganizationInvitationRoleBillingManager OrganizationInvitationRole = "BILLING_MANAGER" // The user's previous role will be reinstated. OrganizationInvitationRoleReinstate OrganizationInvitationRole = "REINSTATE" )
func (OrganizationInvitationRole) IsValid ¶
func (e OrganizationInvitationRole) IsValid() bool
func (OrganizationInvitationRole) MarshalGQL ¶
func (e OrganizationInvitationRole) MarshalGQL(w io.Writer)
func (OrganizationInvitationRole) String ¶
func (e OrganizationInvitationRole) String() string
func (*OrganizationInvitationRole) UnmarshalGQL ¶
func (e *OrganizationInvitationRole) UnmarshalGQL(v interface{}) error
type OrganizationInvitationSource ¶ added in v0.11.4
type OrganizationInvitationSource string
The possible organization invitation sources.
const ( // The invitation was sent before this feature was added OrganizationInvitationSourceUnknown OrganizationInvitationSource = "UNKNOWN" // The invitation was created from the web interface or from API OrganizationInvitationSourceMember OrganizationInvitationSource = "MEMBER" // The invitation was created from SCIM OrganizationInvitationSourceScim OrganizationInvitationSource = "SCIM" )
func (OrganizationInvitationSource) IsValid ¶ added in v0.11.4
func (e OrganizationInvitationSource) IsValid() bool
func (OrganizationInvitationSource) MarshalGQL ¶ added in v0.11.4
func (e OrganizationInvitationSource) MarshalGQL(w io.Writer)
func (OrganizationInvitationSource) String ¶ added in v0.11.4
func (e OrganizationInvitationSource) String() string
func (*OrganizationInvitationSource) UnmarshalGQL ¶ added in v0.11.4
func (e *OrganizationInvitationSource) UnmarshalGQL(v interface{}) error
type OrganizationInvitationType ¶
type OrganizationInvitationType string
The possible organization invitation types.
const ( // The invitation was to an existing user. OrganizationInvitationTypeUser OrganizationInvitationType = "USER" // The invitation was to an email address. OrganizationInvitationTypeEmail OrganizationInvitationType = "EMAIL" )
func (OrganizationInvitationType) IsValid ¶
func (e OrganizationInvitationType) IsValid() bool
func (OrganizationInvitationType) MarshalGQL ¶
func (e OrganizationInvitationType) MarshalGQL(w io.Writer)
func (OrganizationInvitationType) String ¶
func (e OrganizationInvitationType) String() string
func (*OrganizationInvitationType) UnmarshalGQL ¶
func (e *OrganizationInvitationType) UnmarshalGQL(v interface{}) error
type OrganizationMemberConnection ¶
type OrganizationMemberConnection struct { // A list of edges. Edges []*OrganizationMemberEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type OrganizationMemberEdge ¶
type OrganizationMemberEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. HasTwoFactorEnabled *bool `json:"hasTwoFactorEnabled"` // The item at the end of the edge. Node *User `json:"node"` // The role this user has in the organization. Role *OrganizationMemberRole `json:"role"` }
Represents a user within an organization.
type OrganizationMemberRole ¶
type OrganizationMemberRole string
The possible roles within an organization for its members.
const ( // The user is a member of the organization. OrganizationMemberRoleMember OrganizationMemberRole = "MEMBER" // The user is an administrator of the organization. OrganizationMemberRoleAdmin OrganizationMemberRole = "ADMIN" )
func (OrganizationMemberRole) IsValid ¶
func (e OrganizationMemberRole) IsValid() bool
func (OrganizationMemberRole) MarshalGQL ¶
func (e OrganizationMemberRole) MarshalGQL(w io.Writer)
func (OrganizationMemberRole) String ¶
func (e OrganizationMemberRole) String() string
func (*OrganizationMemberRole) UnmarshalGQL ¶
func (e *OrganizationMemberRole) UnmarshalGQL(v interface{}) error
type OrganizationMembersCanCreateRepositoriesSettingValue ¶
type OrganizationMembersCanCreateRepositoriesSettingValue string
The possible values for the members can create repositories setting on an organization.
const ( // Members will be able to create public and private repositories. OrganizationMembersCanCreateRepositoriesSettingValueAll OrganizationMembersCanCreateRepositoriesSettingValue = "ALL" // Members will be able to create only private repositories. OrganizationMembersCanCreateRepositoriesSettingValuePrivate OrganizationMembersCanCreateRepositoriesSettingValue = "PRIVATE" // Members will be able to create only internal repositories. OrganizationMembersCanCreateRepositoriesSettingValueInternal OrganizationMembersCanCreateRepositoriesSettingValue = "INTERNAL" // Members will not be able to create public or private repositories. OrganizationMembersCanCreateRepositoriesSettingValueDisabled OrganizationMembersCanCreateRepositoriesSettingValue = "DISABLED" )
func (OrganizationMembersCanCreateRepositoriesSettingValue) IsValid ¶
func (e OrganizationMembersCanCreateRepositoriesSettingValue) IsValid() bool
func (OrganizationMembersCanCreateRepositoriesSettingValue) MarshalGQL ¶
func (e OrganizationMembersCanCreateRepositoriesSettingValue) MarshalGQL(w io.Writer)
func (OrganizationMembersCanCreateRepositoriesSettingValue) String ¶
func (e OrganizationMembersCanCreateRepositoriesSettingValue) String() string
func (*OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL ¶
func (e *OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL(v interface{}) error
type OrganizationMigration ¶ added in v0.11.4
type OrganizationMigration struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *string `json:"databaseId"` // The reason the organization migration failed. FailureReason *string `json:"failureReason"` ID string `json:"id"` // The remaining amount of repos to be migrated. RemainingRepositoriesCount *int `json:"remainingRepositoriesCount"` // The name of the source organization to be migrated. SourceOrgName string `json:"sourceOrgName"` // The URL of the source organization to migrate. SourceOrgURL string `json:"sourceOrgUrl"` // The migration state. State OrganizationMigrationState `json:"state"` // The name of the target organization. TargetOrgName string `json:"targetOrgName"` // The total amount of repositories to be migrated. TotalRepositoriesCount *int `json:"totalRepositoriesCount"` }
A GitHub Enterprise Importer (GEI) organization migration.
func (OrganizationMigration) GetID ¶ added in v0.11.4
func (this OrganizationMigration) GetID() string
ID of the object.
func (OrganizationMigration) IsNode ¶ added in v0.11.4
func (OrganizationMigration) IsNode()
type OrganizationMigrationState ¶ added in v0.11.4
type OrganizationMigrationState string
The Octoshift Organization migration state.
const ( // The Octoshift migration has not started. OrganizationMigrationStateNotStarted OrganizationMigrationState = "NOT_STARTED" // The Octoshift migration has been queued. OrganizationMigrationStateQueued OrganizationMigrationState = "QUEUED" // The Octoshift migration is in progress. OrganizationMigrationStateInProgress OrganizationMigrationState = "IN_PROGRESS" // The Octoshift migration is performing pre repository migrations. OrganizationMigrationStatePreRepoMigration OrganizationMigrationState = "PRE_REPO_MIGRATION" // The Octoshift org migration is performing repository migrations. OrganizationMigrationStateRepoMigration OrganizationMigrationState = "REPO_MIGRATION" // The Octoshift migration is performing post repository migrations. OrganizationMigrationStatePostRepoMigration OrganizationMigrationState = "POST_REPO_MIGRATION" // The Octoshift migration has succeeded. OrganizationMigrationStateSucceeded OrganizationMigrationState = "SUCCEEDED" // The Octoshift migration has failed. OrganizationMigrationStateFailed OrganizationMigrationState = "FAILED" )
func (OrganizationMigrationState) IsValid ¶ added in v0.11.4
func (e OrganizationMigrationState) IsValid() bool
func (OrganizationMigrationState) MarshalGQL ¶ added in v0.11.4
func (e OrganizationMigrationState) MarshalGQL(w io.Writer)
func (OrganizationMigrationState) String ¶ added in v0.11.4
func (e OrganizationMigrationState) String() string
func (*OrganizationMigrationState) UnmarshalGQL ¶ added in v0.11.4
func (e *OrganizationMigrationState) UnmarshalGQL(v interface{}) error
type OrganizationOrUser ¶ added in v0.11.4
type OrganizationOrUser interface {
IsOrganizationOrUser()
}
Used for argument of CreateProjectV2 mutation.
type OrganizationOrder ¶
type OrganizationOrder struct { // The field to order organizations by. Field OrganizationOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for organization connections.
type OrganizationOrderField ¶
type OrganizationOrderField string
Properties by which organization connections can be ordered.
const ( // Order organizations by creation time OrganizationOrderFieldCreatedAt OrganizationOrderField = "CREATED_AT" // Order organizations by login OrganizationOrderFieldLogin OrganizationOrderField = "LOGIN" )
func (OrganizationOrderField) IsValid ¶
func (e OrganizationOrderField) IsValid() bool
func (OrganizationOrderField) MarshalGQL ¶
func (e OrganizationOrderField) MarshalGQL(w io.Writer)
func (OrganizationOrderField) String ¶
func (e OrganizationOrderField) String() string
func (*OrganizationOrderField) UnmarshalGQL ¶
func (e *OrganizationOrderField) UnmarshalGQL(v interface{}) error
type OrganizationTeamsHovercardContext ¶
type OrganizationTeamsHovercardContext struct { // A string describing this context Message string `json:"message"` // An octicon to accompany this context Octicon string `json:"octicon"` // Teams in this organization the user is a member of that are relevant RelevantTeams TeamConnection `json:"relevantTeams"` // The path for the full team list for this user TeamsResourcePath string `json:"teamsResourcePath"` // The URL for the full team list for this user TeamsURL string `json:"teamsUrl"` // The total number of teams the user is on in the organization TotalTeamCount int `json:"totalTeamCount"` }
An organization teams hovercard context
func (OrganizationTeamsHovercardContext) GetMessage ¶ added in v0.11.4
func (this OrganizationTeamsHovercardContext) GetMessage() string
A string describing this context
func (OrganizationTeamsHovercardContext) GetOcticon ¶ added in v0.11.4
func (this OrganizationTeamsHovercardContext) GetOcticon() string
An octicon to accompany this context
func (OrganizationTeamsHovercardContext) IsHovercardContext ¶
func (OrganizationTeamsHovercardContext) IsHovercardContext()
type OrganizationsHovercardContext ¶
type OrganizationsHovercardContext struct { // A string describing this context Message string `json:"message"` // An octicon to accompany this context Octicon string `json:"octicon"` // Organizations this user is a member of that are relevant RelevantOrganizations OrganizationConnection `json:"relevantOrganizations"` // The total number of organizations this user is in TotalOrganizationCount int `json:"totalOrganizationCount"` }
An organization list hovercard context
func (OrganizationsHovercardContext) GetMessage ¶ added in v0.11.4
func (this OrganizationsHovercardContext) GetMessage() string
A string describing this context
func (OrganizationsHovercardContext) GetOcticon ¶ added in v0.11.4
func (this OrganizationsHovercardContext) GetOcticon() string
An octicon to accompany this context
func (OrganizationsHovercardContext) IsHovercardContext ¶
func (OrganizationsHovercardContext) IsHovercardContext()
type Package ¶
type Package struct { ID string `json:"id"` // Find the latest version for the package. LatestVersion *PackageVersion `json:"latestVersion"` // Identifies the name of the package. Name string `json:"name"` // Identifies the type of the package. PackageType PackageType `json:"packageType"` // The repository this package belongs to. Repository *Repository `json:"repository"` // Statistics about package activity. Statistics *PackageStatistics `json:"statistics"` // Find package version by version string. Version *PackageVersion `json:"version"` // list of versions for this package Versions PackageVersionConnection `json:"versions"` }
Information for an uploaded package.
type PackageConnection ¶
type PackageConnection struct { // A list of edges. Edges []*PackageEdge `json:"edges"` // A list of nodes. Nodes []*Package `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Package.
type PackageEdge ¶
type PackageEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Package `json:"node"` }
An edge in a connection.
type PackageFile ¶
type PackageFile struct { ID string `json:"id"` // MD5 hash of the file. Md5 *string `json:"md5"` // Name of the file. Name string `json:"name"` // The package version this file belongs to. PackageVersion *PackageVersion `json:"packageVersion"` // SHA1 hash of the file. Sha1 *string `json:"sha1"` // SHA256 hash of the file. Sha256 *string `json:"sha256"` // Size of the file in bytes. Size *int `json:"size"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // URL to download the asset. URL *string `json:"url"` }
A file in a package version.
func (PackageFile) GetID ¶ added in v0.11.4
func (this PackageFile) GetID() string
ID of the object.
func (PackageFile) IsNode ¶
func (PackageFile) IsNode()
type PackageFileConnection ¶
type PackageFileConnection struct { // A list of edges. Edges []*PackageFileEdge `json:"edges"` // A list of nodes. Nodes []*PackageFile `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PackageFile.
type PackageFileEdge ¶
type PackageFileEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PackageFile `json:"node"` }
An edge in a connection.
type PackageFileOrder ¶
type PackageFileOrder struct { // The field in which to order package files by. Field *PackageFileOrderField `json:"field,omitempty"` // The direction in which to order package files by the specified field. Direction *OrderDirection `json:"direction,omitempty"` }
Ways in which lists of package files can be ordered upon return.
type PackageFileOrderField ¶
type PackageFileOrderField string
Properties by which package file connections can be ordered.
const ( // Order package files by creation time PackageFileOrderFieldCreatedAt PackageFileOrderField = "CREATED_AT" )
func (PackageFileOrderField) IsValid ¶
func (e PackageFileOrderField) IsValid() bool
func (PackageFileOrderField) MarshalGQL ¶
func (e PackageFileOrderField) MarshalGQL(w io.Writer)
func (PackageFileOrderField) String ¶
func (e PackageFileOrderField) String() string
func (*PackageFileOrderField) UnmarshalGQL ¶
func (e *PackageFileOrderField) UnmarshalGQL(v interface{}) error
type PackageOrder ¶
type PackageOrder struct { // The field in which to order packages by. Field *PackageOrderField `json:"field,omitempty"` // The direction in which to order packages by the specified field. Direction *OrderDirection `json:"direction,omitempty"` }
Ways in which lists of packages can be ordered upon return.
type PackageOrderField ¶
type PackageOrderField string
Properties by which package connections can be ordered.
const ( // Order packages by creation time PackageOrderFieldCreatedAt PackageOrderField = "CREATED_AT" )
func (PackageOrderField) IsValid ¶
func (e PackageOrderField) IsValid() bool
func (PackageOrderField) MarshalGQL ¶
func (e PackageOrderField) MarshalGQL(w io.Writer)
func (PackageOrderField) String ¶
func (e PackageOrderField) String() string
func (*PackageOrderField) UnmarshalGQL ¶
func (e *PackageOrderField) UnmarshalGQL(v interface{}) error
type PackageOwner ¶
type PackageOwner interface { IsPackageOwner() GetID() string // A list of packages under the owner. GetPackages() PackageConnection }
Represents an owner of a package.
type PackageStatistics ¶
type PackageStatistics struct { // Number of times the package was downloaded since it was created. DownloadsTotalCount int `json:"downloadsTotalCount"` }
Represents a object that contains package activity statistics such as downloads.
type PackageTag ¶
type PackageTag struct { ID string `json:"id"` // Identifies the tag name of the version. Name string `json:"name"` // Version that the tag is associated with. Version *PackageVersion `json:"version"` }
A version tag contains the mapping between a tag name and a version.
func (PackageTag) IsNode ¶
func (PackageTag) IsNode()
type PackageType ¶
type PackageType string
The possible types of a package.
const ( // An npm package. PackageTypeNpm PackageType = "NPM" // A rubygems package. PackageTypeRubygems PackageType = "RUBYGEMS" // A maven package. PackageTypeMaven PackageType = "MAVEN" // A docker image. PackageTypeDocker PackageType = "DOCKER" // A debian package. PackageTypeDebian PackageType = "DEBIAN" // A nuget package. PackageTypeNuget PackageType = "NUGET" // A python package. PackageTypePypi PackageType = "PYPI" )
func (PackageType) IsValid ¶
func (e PackageType) IsValid() bool
func (PackageType) MarshalGQL ¶
func (e PackageType) MarshalGQL(w io.Writer)
func (PackageType) String ¶
func (e PackageType) String() string
func (*PackageType) UnmarshalGQL ¶
func (e *PackageType) UnmarshalGQL(v interface{}) error
type PackageVersion ¶
type PackageVersion struct { // List of files associated with this package version Files PackageFileConnection `json:"files"` ID string `json:"id"` // The package associated with this version. Package *Package `json:"package"` // The platform this version was built for. Platform *string `json:"platform"` // Whether or not this version is a pre-release. PreRelease bool `json:"preRelease"` // The README of this package version. Readme *string `json:"readme"` // The release associated with this package version. Release *Release `json:"release"` // Statistics about package activity. Statistics *PackageVersionStatistics `json:"statistics"` // The package version summary. Summary *string `json:"summary"` // The version string. Version string `json:"version"` }
Information about a specific package version.
func (PackageVersion) GetID ¶ added in v0.11.4
func (this PackageVersion) GetID() string
ID of the object.
func (PackageVersion) IsNode ¶
func (PackageVersion) IsNode()
type PackageVersionConnection ¶
type PackageVersionConnection struct { // A list of edges. Edges []*PackageVersionEdge `json:"edges"` // A list of nodes. Nodes []*PackageVersion `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PackageVersion.
type PackageVersionEdge ¶
type PackageVersionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PackageVersion `json:"node"` }
An edge in a connection.
type PackageVersionOrder ¶
type PackageVersionOrder struct { // The field in which to order package versions by. Field *PackageVersionOrderField `json:"field,omitempty"` // The direction in which to order package versions by the specified field. Direction *OrderDirection `json:"direction,omitempty"` }
Ways in which lists of package versions can be ordered upon return.
type PackageVersionOrderField ¶
type PackageVersionOrderField string
Properties by which package version connections can be ordered.
const ( // Order package versions by creation time PackageVersionOrderFieldCreatedAt PackageVersionOrderField = "CREATED_AT" )
func (PackageVersionOrderField) IsValid ¶
func (e PackageVersionOrderField) IsValid() bool
func (PackageVersionOrderField) MarshalGQL ¶
func (e PackageVersionOrderField) MarshalGQL(w io.Writer)
func (PackageVersionOrderField) String ¶
func (e PackageVersionOrderField) String() string
func (*PackageVersionOrderField) UnmarshalGQL ¶
func (e *PackageVersionOrderField) UnmarshalGQL(v interface{}) error
type PackageVersionStatistics ¶
type PackageVersionStatistics struct { // Number of times the package was downloaded since it was created. DownloadsTotalCount int `json:"downloadsTotalCount"` }
Represents a object that contains package version activity statistics such as downloads.
type PageInfo ¶
type PageInfo struct { // When paginating forwards, the cursor to continue. EndCursor *string `json:"endCursor"` // When paginating forwards, are there more items? HasNextPage bool `json:"hasNextPage"` // When paginating backwards, are there more items? HasPreviousPage bool `json:"hasPreviousPage"` // When paginating backwards, the cursor to continue. StartCursor *string `json:"startCursor"` }
Information about pagination in a connection.
type PatchStatus ¶ added in v0.11.4
type PatchStatus string
The possible types of patch statuses.
const ( // The file was added. Git status 'A'. PatchStatusAdded PatchStatus = "ADDED" // The file was deleted. Git status 'D'. PatchStatusDeleted PatchStatus = "DELETED" // The file was renamed. Git status 'R'. PatchStatusRenamed PatchStatus = "RENAMED" // The file was copied. Git status 'C'. PatchStatusCopied PatchStatus = "COPIED" // The file's contents were changed. Git status 'M'. PatchStatusModified PatchStatus = "MODIFIED" // The file's type was changed. Git status 'T'. PatchStatusChanged PatchStatus = "CHANGED" )
func (PatchStatus) IsValid ¶ added in v0.11.4
func (e PatchStatus) IsValid() bool
func (PatchStatus) MarshalGQL ¶ added in v0.11.4
func (e PatchStatus) MarshalGQL(w io.Writer)
func (PatchStatus) String ¶ added in v0.11.4
func (e PatchStatus) String() string
func (*PatchStatus) UnmarshalGQL ¶ added in v0.11.4
func (e *PatchStatus) UnmarshalGQL(v interface{}) error
type PermissionGranter ¶
type PermissionGranter interface {
IsPermissionGranter()
}
Types that can grant permissions on a repository to a user
type PermissionSource ¶
type PermissionSource struct { // The organization the repository belongs to. Organization Organization `json:"organization"` // The level of access this source has granted to the user. Permission DefaultRepositoryPermissionField `json:"permission"` // The source of this permission. Source PermissionGranter `json:"source"` }
A level of permission and source for a user's access to a repository.
type PinIssueInput ¶
type PinIssueInput struct { // The ID of the issue to be pinned IssueID string `json:"issueId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of PinIssue
type PinIssuePayload ¶
type PinIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue that was pinned Issue *Issue `json:"issue"` }
Autogenerated return type of PinIssue
type PinnableItem ¶
type PinnableItem interface {
IsPinnableItem()
}
Types that can be pinned to a profile page.
type PinnableItemConnection ¶
type PinnableItemConnection struct { // A list of edges. Edges []*PinnableItemEdge `json:"edges"` // A list of nodes. Nodes []PinnableItem `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PinnableItem.
type PinnableItemEdge ¶
type PinnableItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node PinnableItem `json:"node"` }
An edge in a connection.
type PinnableItemType ¶
type PinnableItemType string
Represents items that can be pinned to a profile page or dashboard.
const ( // A repository. PinnableItemTypeRepository PinnableItemType = "REPOSITORY" // A gist. PinnableItemTypeGist PinnableItemType = "GIST" // An issue. PinnableItemTypeIssue PinnableItemType = "ISSUE" // A project. PinnableItemTypeProject PinnableItemType = "PROJECT" // A pull request. PinnableItemTypePullRequest PinnableItemType = "PULL_REQUEST" // A user. PinnableItemTypeUser PinnableItemType = "USER" // An organization. PinnableItemTypeOrganization PinnableItemType = "ORGANIZATION" // A team. PinnableItemTypeTeam PinnableItemType = "TEAM" )
func (PinnableItemType) IsValid ¶
func (e PinnableItemType) IsValid() bool
func (PinnableItemType) MarshalGQL ¶
func (e PinnableItemType) MarshalGQL(w io.Writer)
func (PinnableItemType) String ¶
func (e PinnableItemType) String() string
func (*PinnableItemType) UnmarshalGQL ¶
func (e *PinnableItemType) UnmarshalGQL(v interface{}) error
type PinnedDiscussion ¶ added in v0.0.3
type PinnedDiscussion struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The discussion that was pinned. Discussion Discussion `json:"discussion"` // Color stops of the chosen gradient GradientStopColors []string `json:"gradientStopColors"` ID string `json:"id"` // Background texture pattern Pattern PinnedDiscussionPattern `json:"pattern"` // The actor that pinned this discussion. PinnedBy Actor `json:"pinnedBy"` // Preconfigured background gradient option PreconfiguredGradient *PinnedDiscussionGradient `json:"preconfiguredGradient"` // The repository associated with this node. Repository Repository `json:"repository"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A Pinned Discussion is a discussion pinned to a repository's index page.
func (PinnedDiscussion) GetID ¶ added in v0.11.4
func (this PinnedDiscussion) GetID() string
ID of the object.
func (PinnedDiscussion) GetRepository ¶ added in v0.11.4
func (this PinnedDiscussion) GetRepository() Repository
The repository associated with this node.
func (PinnedDiscussion) IsNode ¶ added in v0.0.3
func (PinnedDiscussion) IsNode()
func (PinnedDiscussion) IsRepositoryNode ¶ added in v0.0.3
func (PinnedDiscussion) IsRepositoryNode()
type PinnedDiscussionConnection ¶ added in v0.0.3
type PinnedDiscussionConnection struct { // A list of edges. Edges []*PinnedDiscussionEdge `json:"edges"` // A list of nodes. Nodes []*PinnedDiscussion `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PinnedDiscussion.
type PinnedDiscussionEdge ¶ added in v0.0.3
type PinnedDiscussionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PinnedDiscussion `json:"node"` }
An edge in a connection.
type PinnedDiscussionGradient ¶ added in v0.0.3
type PinnedDiscussionGradient string
Preconfigured gradients that may be used to style discussions pinned within a repository.
const ( // A gradient of red to orange PinnedDiscussionGradientRedOrange PinnedDiscussionGradient = "RED_ORANGE" // A gradient of blue to mint PinnedDiscussionGradientBlueMint PinnedDiscussionGradient = "BLUE_MINT" // A gradient of blue to purple PinnedDiscussionGradientBluePurple PinnedDiscussionGradient = "BLUE_PURPLE" // A gradient of pink to blue PinnedDiscussionGradientPinkBlue PinnedDiscussionGradient = "PINK_BLUE" // A gradient of purple to coral PinnedDiscussionGradientPurpleCoral PinnedDiscussionGradient = "PURPLE_CORAL" )
func (PinnedDiscussionGradient) IsValid ¶ added in v0.0.3
func (e PinnedDiscussionGradient) IsValid() bool
func (PinnedDiscussionGradient) MarshalGQL ¶ added in v0.0.3
func (e PinnedDiscussionGradient) MarshalGQL(w io.Writer)
func (PinnedDiscussionGradient) String ¶ added in v0.0.3
func (e PinnedDiscussionGradient) String() string
func (*PinnedDiscussionGradient) UnmarshalGQL ¶ added in v0.0.3
func (e *PinnedDiscussionGradient) UnmarshalGQL(v interface{}) error
type PinnedDiscussionPattern ¶ added in v0.0.3
type PinnedDiscussionPattern string
Preconfigured background patterns that may be used to style discussions pinned within a repository.
const ( // A solid dot pattern PinnedDiscussionPatternDotFill PinnedDiscussionPattern = "DOT_FILL" // A plus sign pattern PinnedDiscussionPatternPlus PinnedDiscussionPattern = "PLUS" // A lightning bolt pattern PinnedDiscussionPatternZap PinnedDiscussionPattern = "ZAP" // An upward-facing chevron pattern PinnedDiscussionPatternChevronUp PinnedDiscussionPattern = "CHEVRON_UP" // A hollow dot pattern PinnedDiscussionPatternDot PinnedDiscussionPattern = "DOT" // A heart pattern PinnedDiscussionPatternHeartFill PinnedDiscussionPattern = "HEART_FILL" )
func (PinnedDiscussionPattern) IsValid ¶ added in v0.0.3
func (e PinnedDiscussionPattern) IsValid() bool
func (PinnedDiscussionPattern) MarshalGQL ¶ added in v0.0.3
func (e PinnedDiscussionPattern) MarshalGQL(w io.Writer)
func (PinnedDiscussionPattern) String ¶ added in v0.0.3
func (e PinnedDiscussionPattern) String() string
func (*PinnedDiscussionPattern) UnmarshalGQL ¶ added in v0.0.3
func (e *PinnedDiscussionPattern) UnmarshalGQL(v interface{}) error
type PinnedEvent ¶
type PinnedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the issue associated with the event. Issue Issue `json:"issue"` }
Represents a 'pinned' event on a given issue or pull request.
func (PinnedEvent) GetID ¶ added in v0.11.4
func (this PinnedEvent) GetID() string
ID of the object.
func (PinnedEvent) IsIssueTimelineItems ¶
func (PinnedEvent) IsIssueTimelineItems()
func (PinnedEvent) IsNode ¶
func (PinnedEvent) IsNode()
func (PinnedEvent) IsPullRequestTimelineItems ¶
func (PinnedEvent) IsPullRequestTimelineItems()
type PinnedIssue ¶
type PinnedIssue struct { // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The issue that was pinned. Issue Issue `json:"issue"` // The actor that pinned this issue. PinnedBy Actor `json:"pinnedBy"` // The repository that this issue was pinned to. Repository Repository `json:"repository"` }
A Pinned Issue is a issue pinned to a repository's index page.
func (PinnedIssue) GetID ¶ added in v0.11.4
func (this PinnedIssue) GetID() string
ID of the object.
func (PinnedIssue) IsNode ¶
func (PinnedIssue) IsNode()
type PinnedIssueConnection ¶
type PinnedIssueConnection struct { // A list of edges. Edges []*PinnedIssueEdge `json:"edges"` // A list of nodes. Nodes []*PinnedIssue `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PinnedIssue.
type PinnedIssueEdge ¶
type PinnedIssueEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PinnedIssue `json:"node"` }
An edge in a connection.
type PrivateRepositoryForkingDisableAuditEntry ¶
type PrivateRepositoryForkingDisableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a private_repository_forking.disable event.
func (PrivateRepositoryForkingDisableAuditEntry) GetAction ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetAction() string
The action name
func (PrivateRepositoryForkingDisableAuditEntry) GetActor ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (PrivateRepositoryForkingDisableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActorIP() *string
The IP address of the actor
func (PrivateRepositoryForkingDisableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (PrivateRepositoryForkingDisableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (PrivateRepositoryForkingDisableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (PrivateRepositoryForkingDisableAuditEntry) GetID ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetID() string
ID of the object.
func (PrivateRepositoryForkingDisableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (PrivateRepositoryForkingDisableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (PrivateRepositoryForkingDisableAuditEntry) GetRepository ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetRepository() *Repository
The repository associated with the action
func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName() *string
The name of the repository
func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (PrivateRepositoryForkingDisableAuditEntry) GetUser ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetUser() *User
The user affected by the action
func (PrivateRepositoryForkingDisableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (PrivateRepositoryForkingDisableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingDisableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (PrivateRepositoryForkingDisableAuditEntry) IsAuditEntry ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsAuditEntry()
func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData()
func (PrivateRepositoryForkingDisableAuditEntry) IsNode ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsNode()
func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry()
func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData()
func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData ¶
func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData()
type PrivateRepositoryForkingEnableAuditEntry ¶
type PrivateRepositoryForkingEnableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a private_repository_forking.enable event.
func (PrivateRepositoryForkingEnableAuditEntry) GetAction ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetAction() string
The action name
func (PrivateRepositoryForkingEnableAuditEntry) GetActor ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (PrivateRepositoryForkingEnableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActorIP() *string
The IP address of the actor
func (PrivateRepositoryForkingEnableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (PrivateRepositoryForkingEnableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (PrivateRepositoryForkingEnableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (PrivateRepositoryForkingEnableAuditEntry) GetID ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetID() string
ID of the object.
func (PrivateRepositoryForkingEnableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (PrivateRepositoryForkingEnableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (PrivateRepositoryForkingEnableAuditEntry) GetRepository ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetRepository() *Repository
The repository associated with the action
func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName() *string
The name of the repository
func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (PrivateRepositoryForkingEnableAuditEntry) GetUser ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetUser() *User
The user affected by the action
func (PrivateRepositoryForkingEnableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (PrivateRepositoryForkingEnableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this PrivateRepositoryForkingEnableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (PrivateRepositoryForkingEnableAuditEntry) IsAuditEntry ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsAuditEntry()
func (PrivateRepositoryForkingEnableAuditEntry) IsEnterpriseAuditEntryData ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsEnterpriseAuditEntryData()
func (PrivateRepositoryForkingEnableAuditEntry) IsNode ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsNode()
func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntry ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntry()
func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntryData ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntryData()
func (PrivateRepositoryForkingEnableAuditEntry) IsRepositoryAuditEntryData ¶
func (PrivateRepositoryForkingEnableAuditEntry) IsRepositoryAuditEntryData()
type ProfileItemShowcase ¶
type ProfileItemShowcase struct { // Whether or not the owner has pinned any repositories or gists. HasPinnedItems bool `json:"hasPinnedItems"` // 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. Items PinnableItemConnection `json:"items"` }
A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.
type ProfileOwner ¶
type ProfileOwner interface { IsProfileOwner() // Determine if this repository owner has any items that can be pinned to their profile. GetAnyPinnableItems() bool // The public profile email. GetEmail() *string GetID() string // Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. GetItemShowcase() ProfileItemShowcase // The public profile location. GetLocation() *string // The username used to login. GetLogin() string // The public profile name. GetName() *string // A list of repositories and gists this profile owner can pin to their profile. GetPinnableItems() PinnableItemConnection // A list of repositories and gists this profile owner has pinned to their profile GetPinnedItems() PinnableItemConnection // Returns how many more items this profile owner can pin to their profile. GetPinnedItemsRemaining() int // Can the viewer pin repositories and gists to the profile? GetViewerCanChangePinnedItems() bool // The public profile website URL. GetWebsiteURL() *string }
Represents any entity on GitHub that has a profile page.
type Project ¶
type Project struct { // The project's description body. Body *string `json:"body"` // The projects description body rendered to HTML. BodyHTML string `json:"bodyHTML"` // Indicates if the object is closed (definition of closed may depend on type) Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // List of columns in the project Columns ProjectColumnConnection `json:"columns"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who originally created the project. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The project's name. Name string `json:"name"` // The project's number. Number int `json:"number"` // The project's owner. Currently limited to repositories, organizations, and users. Owner ProjectOwner `json:"owner"` // List of pending cards in this project PendingCards ProjectCardConnection `json:"pendingCards"` // Project progress details. Progress ProjectProgress `json:"progress"` // The HTTP path for this project ResourcePath string `json:"resourcePath"` // Whether the project is open or closed. State ProjectState `json:"state"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this project URL string `json:"url"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` }
Projects manage issues, pull requests and notes within a project owner.
func (Project) GetClosed ¶ added in v0.11.4
Indicates if the object is closed (definition of closed may depend on type)
func (Project) GetClosedAt ¶ added in v0.11.4
Identifies the date and time when the object was closed.
func (Project) GetViewerCanUpdate ¶ added in v0.11.4
Check if the current viewer can update this object.
func (Project) IsClosable ¶
func (Project) IsClosable()
func (Project) IsUpdatable ¶
func (Project) IsUpdatable()
type ProjectCard ¶
type ProjectCard struct { // 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"` // The card content item Content ProjectCardItem `json:"content"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created this card Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // Whether the card is archived IsArchived bool `json:"isArchived"` // The card note Note *string `json:"note"` // The project that contains this card. Project Project `json:"project"` // The HTTP path for this card ResourcePath string `json:"resourcePath"` // The state of ProjectCard State *ProjectCardState `json:"state"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this card URL string `json:"url"` }
A card in a project.
func (ProjectCard) GetID ¶ added in v0.11.4
func (this ProjectCard) GetID() string
ID of the object.
func (ProjectCard) IsNode ¶
func (ProjectCard) IsNode()
type ProjectCardArchivedState ¶
type ProjectCardArchivedState string
The possible archived states of a project card.
const ( // A project card that is archived ProjectCardArchivedStateArchived ProjectCardArchivedState = "ARCHIVED" // A project card that is not archived ProjectCardArchivedStateNotArchived ProjectCardArchivedState = "NOT_ARCHIVED" )
func (ProjectCardArchivedState) IsValid ¶
func (e ProjectCardArchivedState) IsValid() bool
func (ProjectCardArchivedState) MarshalGQL ¶
func (e ProjectCardArchivedState) MarshalGQL(w io.Writer)
func (ProjectCardArchivedState) String ¶
func (e ProjectCardArchivedState) String() string
func (*ProjectCardArchivedState) UnmarshalGQL ¶
func (e *ProjectCardArchivedState) UnmarshalGQL(v interface{}) error
type ProjectCardConnection ¶
type ProjectCardConnection struct { // A list of edges. Edges []*ProjectCardEdge `json:"edges"` // A list of nodes. Nodes []*ProjectCard `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectCard.
type ProjectCardEdge ¶
type ProjectCardEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectCard `json:"node"` }
An edge in a connection.
type ProjectCardItem ¶
type ProjectCardItem interface {
IsProjectCardItem()
}
Types that can be inside Project Cards.
type ProjectCardState ¶
type ProjectCardState string
Various content states of a ProjectCard
const ( // The card has content only. ProjectCardStateContentOnly ProjectCardState = "CONTENT_ONLY" // The card has a note only. ProjectCardStateNoteOnly ProjectCardState = "NOTE_ONLY" // The card is redacted. ProjectCardStateRedacted ProjectCardState = "REDACTED" )
func (ProjectCardState) IsValid ¶
func (e ProjectCardState) IsValid() bool
func (ProjectCardState) MarshalGQL ¶
func (e ProjectCardState) MarshalGQL(w io.Writer)
func (ProjectCardState) String ¶
func (e ProjectCardState) String() string
func (*ProjectCardState) UnmarshalGQL ¶
func (e *ProjectCardState) UnmarshalGQL(v interface{}) error
type ProjectColumn ¶
type ProjectColumn struct { // List of cards in the column Cards ProjectCardConnection `json:"cards"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The project column's name. Name string `json:"name"` // The project that contains this column. Project Project `json:"project"` // The semantic purpose of the column Purpose *ProjectColumnPurpose `json:"purpose"` // The HTTP path for this project column ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this project column URL string `json:"url"` }
A column inside a project.
func (ProjectColumn) GetID ¶ added in v0.11.4
func (this ProjectColumn) GetID() string
ID of the object.
func (ProjectColumn) IsNode ¶
func (ProjectColumn) IsNode()
type ProjectColumnConnection ¶
type ProjectColumnConnection struct { // A list of edges. Edges []*ProjectColumnEdge `json:"edges"` // A list of nodes. Nodes []*ProjectColumn `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectColumn.
type ProjectColumnEdge ¶
type ProjectColumnEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectColumn `json:"node"` }
An edge in a connection.
type ProjectColumnPurpose ¶
type ProjectColumnPurpose string
The semantic purpose of the column - todo, in progress, or done.
const ( // The column contains cards still to be worked on ProjectColumnPurposeTodo ProjectColumnPurpose = "TODO" // The column contains cards which are currently being worked on ProjectColumnPurposeInProgress ProjectColumnPurpose = "IN_PROGRESS" // The column contains cards which are complete ProjectColumnPurposeDone ProjectColumnPurpose = "DONE" )
func (ProjectColumnPurpose) IsValid ¶
func (e ProjectColumnPurpose) IsValid() bool
func (ProjectColumnPurpose) MarshalGQL ¶
func (e ProjectColumnPurpose) MarshalGQL(w io.Writer)
func (ProjectColumnPurpose) String ¶
func (e ProjectColumnPurpose) String() string
func (*ProjectColumnPurpose) UnmarshalGQL ¶
func (e *ProjectColumnPurpose) UnmarshalGQL(v interface{}) error
type ProjectConnection ¶
type ProjectConnection struct { // A list of edges. Edges []*ProjectEdge `json:"edges"` // A list of nodes. Nodes []*Project `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
A list of projects associated with the owner.
type ProjectEdge ¶
type ProjectEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Project `json:"node"` }
An edge in a connection.
type ProjectOrder ¶
type ProjectOrder struct { // The field in which to order projects by. Field ProjectOrderField `json:"field"` // The direction in which to order projects by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of projects can be ordered upon return.
type ProjectOrderField ¶
type ProjectOrderField string
Properties by which project connections can be ordered.
const ( // Order projects by creation time ProjectOrderFieldCreatedAt ProjectOrderField = "CREATED_AT" // Order projects by update time ProjectOrderFieldUpdatedAt ProjectOrderField = "UPDATED_AT" // Order projects by name ProjectOrderFieldName ProjectOrderField = "NAME" )
func (ProjectOrderField) IsValid ¶
func (e ProjectOrderField) IsValid() bool
func (ProjectOrderField) MarshalGQL ¶
func (e ProjectOrderField) MarshalGQL(w io.Writer)
func (ProjectOrderField) String ¶
func (e ProjectOrderField) String() string
func (*ProjectOrderField) UnmarshalGQL ¶
func (e *ProjectOrderField) UnmarshalGQL(v interface{}) error
type ProjectOwner ¶
type ProjectOwner interface { IsProjectOwner() GetID() string // Find project by number. GetProject() *Project // A list of projects under the owner. GetProjects() ProjectConnection // The HTTP path listing owners projects GetProjectsResourcePath() string // The HTTP URL listing owners projects GetProjectsURL() string // Can the current viewer create new projects on this owner. GetViewerCanCreateProjects() bool }
Represents an owner of a Project.
type ProjectProgress ¶
type ProjectProgress struct { // The number of done cards. DoneCount int `json:"doneCount"` // The percentage of done cards. DonePercentage float64 `json:"donePercentage"` // Whether progress tracking is enabled and cards with purpose exist for this project Enabled bool `json:"enabled"` // The number of in-progress cards. InProgressCount int `json:"inProgressCount"` // The percentage of in-progress cards. InProgressPercentage float64 `json:"inProgressPercentage"` // The number of to do cards. TodoCount int `json:"todoCount"` // The percentage of to do cards. TodoPercentage float64 `json:"todoPercentage"` }
Project progress stats.
type ProjectState ¶
type ProjectState string
State of the project; either 'open' or 'closed'
const ( // The project is open. ProjectStateOpen ProjectState = "OPEN" // The project is closed. ProjectStateClosed ProjectState = "CLOSED" )
func (ProjectState) IsValid ¶
func (e ProjectState) IsValid() bool
func (ProjectState) MarshalGQL ¶
func (e ProjectState) MarshalGQL(w io.Writer)
func (ProjectState) String ¶
func (e ProjectState) String() string
func (*ProjectState) UnmarshalGQL ¶
func (e *ProjectState) UnmarshalGQL(v interface{}) error
type ProjectTemplate ¶
type ProjectTemplate string
GitHub-provided templates for Projects
const ( // Create a board with columns for To do, In progress and Done. ProjectTemplateBasicKanban ProjectTemplate = "BASIC_KANBAN" // Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. ProjectTemplateAutomatedKanbanV2 ProjectTemplate = "AUTOMATED_KANBAN_V2" // Create a board with triggers to automatically move cards across columns with review automation. ProjectTemplateAutomatedReviewsKanban ProjectTemplate = "AUTOMATED_REVIEWS_KANBAN" // Create a board to triage and prioritize bugs with To do, priority, and Done columns. ProjectTemplateBugTriage ProjectTemplate = "BUG_TRIAGE" )
func (ProjectTemplate) IsValid ¶
func (e ProjectTemplate) IsValid() bool
func (ProjectTemplate) MarshalGQL ¶
func (e ProjectTemplate) MarshalGQL(w io.Writer)
func (ProjectTemplate) String ¶
func (e ProjectTemplate) String() string
func (*ProjectTemplate) UnmarshalGQL ¶
func (e *ProjectTemplate) UnmarshalGQL(v interface{}) error
type ProjectV2 ¶ added in v0.11.4
type ProjectV2 struct { // Returns true if the project is closed. Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who originally created the project. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // A field of the project Field ProjectV2FieldConfiguration `json:"field"` // List of fields and their constraints in the project Fields ProjectV2FieldConfigurationConnection `json:"fields"` ID string `json:"id"` // List of items in the project Items ProjectV2ItemConnection `json:"items"` // The project's number. Number int `json:"number"` // The project's owner. Currently limited to organizations and users. Owner ProjectV2Owner `json:"owner"` // Returns true if the project is public. Public bool `json:"public"` // The project's readme. Readme *string `json:"readme"` // The repositories the project is linked to. Repositories RepositoryConnection `json:"repositories"` // The HTTP path for this project ResourcePath string `json:"resourcePath"` // The project's short description. ShortDescription *string `json:"shortDescription"` // The teams the project is linked to. Teams TeamConnection `json:"teams"` // The project's name. Title string `json:"title"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this project URL string `json:"url"` // A view of the project View *ProjectV2View `json:"view"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // List of views in the project Views ProjectV2ViewConnection `json:"views"` // A workflow of the project Workflow *ProjectV2Workflow `json:"workflow"` // List of the workflows in the project Workflows ProjectV2WorkflowConnection `json:"workflows"` }
New projects that manage issues, pull requests and drafts using tables and boards.
func (ProjectV2) GetClosed ¶ added in v0.11.4
Indicates if the object is closed (definition of closed may depend on type)
func (ProjectV2) GetClosedAt ¶ added in v0.11.4
Identifies the date and time when the object was closed.
func (ProjectV2) GetViewerCanUpdate ¶ added in v0.11.4
Check if the current viewer can update this object.
func (ProjectV2) IsClosable ¶ added in v0.11.4
func (ProjectV2) IsClosable()
func (ProjectV2) IsUpdatable ¶ added in v0.11.4
func (ProjectV2) IsUpdatable()
type ProjectV2Connection ¶ added in v0.11.4
type ProjectV2Connection struct { // A list of edges. Edges []*ProjectV2Edge `json:"edges"` // A list of nodes. Nodes []*ProjectV2 `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2.
type ProjectV2CustomFieldType ¶ added in v0.11.4
type ProjectV2CustomFieldType string
The type of a project field.
const ( // Text ProjectV2CustomFieldTypeText ProjectV2CustomFieldType = "TEXT" // Single Select ProjectV2CustomFieldTypeSingleSelect ProjectV2CustomFieldType = "SINGLE_SELECT" // Number ProjectV2CustomFieldTypeNumber ProjectV2CustomFieldType = "NUMBER" // Date ProjectV2CustomFieldTypeDate ProjectV2CustomFieldType = "DATE" )
func (ProjectV2CustomFieldType) IsValid ¶ added in v0.11.4
func (e ProjectV2CustomFieldType) IsValid() bool
func (ProjectV2CustomFieldType) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2CustomFieldType) MarshalGQL(w io.Writer)
func (ProjectV2CustomFieldType) String ¶ added in v0.11.4
func (e ProjectV2CustomFieldType) String() string
func (*ProjectV2CustomFieldType) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2CustomFieldType) UnmarshalGQL(v interface{}) error
type ProjectV2Edge ¶ added in v0.11.4
type ProjectV2Edge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2 `json:"node"` }
An edge in a connection.
type ProjectV2Field ¶ added in v0.11.4
type ProjectV2Field struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The field's type. DataType ProjectV2FieldType `json:"dataType"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The project field's name. Name string `json:"name"` // The project that contains this field. Project ProjectV2 `json:"project"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A field inside a project.
func (ProjectV2Field) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2Field) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2Field) GetDataType ¶ added in v0.11.4
func (this ProjectV2Field) GetDataType() ProjectV2FieldType
The field's type.
func (ProjectV2Field) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2Field) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2Field) GetID ¶ added in v0.11.4
func (this ProjectV2Field) GetID() string
ID of the object.
func (ProjectV2Field) GetName ¶ added in v0.11.4
func (this ProjectV2Field) GetName() string
The project field's name.
func (ProjectV2Field) GetProject ¶ added in v0.11.4
func (this ProjectV2Field) GetProject() ProjectV2
The project that contains this field.
func (ProjectV2Field) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2Field) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2Field) IsNode ¶ added in v0.11.4
func (ProjectV2Field) IsNode()
func (ProjectV2Field) IsProjectV2FieldCommon ¶ added in v0.11.4
func (ProjectV2Field) IsProjectV2FieldCommon()
func (ProjectV2Field) IsProjectV2FieldConfiguration ¶ added in v0.11.4
func (ProjectV2Field) IsProjectV2FieldConfiguration()
type ProjectV2FieldCommon ¶ added in v0.11.4
type ProjectV2FieldCommon interface { IsProjectV2FieldCommon() // Identifies the date and time when the object was created. GetCreatedAt() time.Time // The field's type. GetDataType() ProjectV2FieldType // Identifies the primary key from the database. GetDatabaseID() *int GetID() string // The project field's name. GetName() string // The project that contains this field. GetProject() ProjectV2 // Identifies the date and time when the object was last updated. GetUpdatedAt() time.Time }
Common fields across different project field types
type ProjectV2FieldConfiguration ¶ added in v0.11.4
type ProjectV2FieldConfiguration interface {
IsProjectV2FieldConfiguration()
}
Configurations for project fields.
type ProjectV2FieldConfigurationConnection ¶ added in v0.11.4
type ProjectV2FieldConfigurationConnection struct { // A list of edges. Edges []*ProjectV2FieldConfigurationEdge `json:"edges"` // A list of nodes. Nodes []ProjectV2FieldConfiguration `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2FieldConfiguration.
type ProjectV2FieldConfigurationEdge ¶ added in v0.11.4
type ProjectV2FieldConfigurationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node ProjectV2FieldConfiguration `json:"node"` }
An edge in a connection.
type ProjectV2FieldConnection ¶ added in v0.11.4
type ProjectV2FieldConnection struct { // A list of edges. Edges []*ProjectV2FieldEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2Field `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2Field.
type ProjectV2FieldEdge ¶ added in v0.11.4
type ProjectV2FieldEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2Field `json:"node"` }
An edge in a connection.
type ProjectV2FieldOrder ¶ added in v0.11.4
type ProjectV2FieldOrder struct { // The field to order the project v2 fields by. Field ProjectV2FieldOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for project v2 field connections
type ProjectV2FieldOrderField ¶ added in v0.11.4
type ProjectV2FieldOrderField string
Properties by which project v2 field connections can be ordered.
const ( // Order project v2 fields by position ProjectV2FieldOrderFieldPosition ProjectV2FieldOrderField = "POSITION" // Order project v2 fields by creation time ProjectV2FieldOrderFieldCreatedAt ProjectV2FieldOrderField = "CREATED_AT" // Order project v2 fields by name ProjectV2FieldOrderFieldName ProjectV2FieldOrderField = "NAME" )
func (ProjectV2FieldOrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2FieldOrderField) IsValid() bool
func (ProjectV2FieldOrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2FieldOrderField) MarshalGQL(w io.Writer)
func (ProjectV2FieldOrderField) String ¶ added in v0.11.4
func (e ProjectV2FieldOrderField) String() string
func (*ProjectV2FieldOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2FieldOrderField) UnmarshalGQL(v interface{}) error
type ProjectV2FieldType ¶ added in v0.11.4
type ProjectV2FieldType string
The type of a project field.
const ( // Assignees ProjectV2FieldTypeAssignees ProjectV2FieldType = "ASSIGNEES" // Linked Pull Requests ProjectV2FieldTypeLinkedPullRequests ProjectV2FieldType = "LINKED_PULL_REQUESTS" // Reviewers ProjectV2FieldTypeReviewers ProjectV2FieldType = "REVIEWERS" // Labels ProjectV2FieldTypeLabels ProjectV2FieldType = "LABELS" // Milestone ProjectV2FieldTypeMilestone ProjectV2FieldType = "MILESTONE" // Repository ProjectV2FieldTypeRepository ProjectV2FieldType = "REPOSITORY" // Title ProjectV2FieldTypeTitle ProjectV2FieldType = "TITLE" // Text ProjectV2FieldTypeText ProjectV2FieldType = "TEXT" // Single Select ProjectV2FieldTypeSingleSelect ProjectV2FieldType = "SINGLE_SELECT" // Number ProjectV2FieldTypeNumber ProjectV2FieldType = "NUMBER" // Date ProjectV2FieldTypeDate ProjectV2FieldType = "DATE" // Iteration ProjectV2FieldTypeIteration ProjectV2FieldType = "ITERATION" // Tracks ProjectV2FieldTypeTracks ProjectV2FieldType = "TRACKS" // Tracked by ProjectV2FieldTypeTrackedBy ProjectV2FieldType = "TRACKED_BY" )
func (ProjectV2FieldType) IsValid ¶ added in v0.11.4
func (e ProjectV2FieldType) IsValid() bool
func (ProjectV2FieldType) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2FieldType) MarshalGQL(w io.Writer)
func (ProjectV2FieldType) String ¶ added in v0.11.4
func (e ProjectV2FieldType) String() string
func (*ProjectV2FieldType) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2FieldType) UnmarshalGQL(v interface{}) error
type ProjectV2FieldValue ¶ added in v0.11.4
type ProjectV2FieldValue struct { // The text to set on the field. Text *string `json:"text,omitempty"` // The number to set on the field. Number *float64 `json:"number,omitempty"` // The ISO 8601 date to set on the field. Date *string `json:"date,omitempty"` // The id of the single select option to set on the field. SingleSelectOptionID *string `json:"singleSelectOptionId,omitempty"` // The id of the iteration to set on the field. IterationID *string `json:"iterationId,omitempty"` }
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 ProjectV2Filters ¶ added in v0.11.4
type ProjectV2Filters struct { // List project v2 filtered by the state given. State *ProjectV2State `json:"state,omitempty"` }
Ways in which to filter lists of projects.
type ProjectV2Item ¶ added in v0.11.4
type ProjectV2Item struct { // The content of the referenced draft issue, issue, or pull request Content ProjectV2ItemContent `json:"content"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // A specific field value given a field name FieldValueByName ProjectV2ItemFieldValue `json:"fieldValueByName"` // List of field values FieldValues ProjectV2ItemFieldValueConnection `json:"fieldValues"` ID string `json:"id"` // Whether the item is archived. IsArchived bool `json:"isArchived"` // The project that contains this item. Project ProjectV2 `json:"project"` // The type of the item. Type ProjectV2ItemType `json:"type"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An item within a Project.
func (ProjectV2Item) GetID ¶ added in v0.11.4
func (this ProjectV2Item) GetID() string
ID of the object.
func (ProjectV2Item) IsNode ¶ added in v0.11.4
func (ProjectV2Item) IsNode()
type ProjectV2ItemConnection ¶ added in v0.11.4
type ProjectV2ItemConnection struct { // A list of edges. Edges []*ProjectV2ItemEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2Item `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2Item.
type ProjectV2ItemContent ¶ added in v0.11.4
type ProjectV2ItemContent interface {
IsProjectV2ItemContent()
}
Types that can be inside Project Items.
type ProjectV2ItemEdge ¶ added in v0.11.4
type ProjectV2ItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2Item `json:"node"` }
An edge in a connection.
type ProjectV2ItemFieldDateValue ¶ added in v0.11.4
type ProjectV2ItemFieldDateValue struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // Date value for the field Date *string `json:"date"` // The project field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` ID string `json:"id"` // The project item that contains this value. Item ProjectV2Item `json:"item"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The value of a date field in a Project item.
func (ProjectV2ItemFieldDateValue) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2ItemFieldDateValue) GetCreator ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetCreator() Actor
The actor who created the item.
func (ProjectV2ItemFieldDateValue) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2ItemFieldDateValue) GetField ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetField() ProjectV2FieldConfiguration
The project field that contains this value.
func (ProjectV2ItemFieldDateValue) GetID ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetID() string
ID of the object.
func (ProjectV2ItemFieldDateValue) GetItem ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetItem() ProjectV2Item
The project item that contains this value.
func (ProjectV2ItemFieldDateValue) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldDateValue) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2ItemFieldDateValue) IsNode ¶ added in v0.11.4
func (ProjectV2ItemFieldDateValue) IsNode()
func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValue()
func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValueCommon ¶ added in v0.11.4
func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValueCommon()
type ProjectV2ItemFieldIterationValue ¶ added in v0.11.4
type ProjectV2ItemFieldIterationValue struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The duration of the iteration in days. Duration int `json:"duration"` // The project field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` ID string `json:"id"` // The project item that contains this value. Item ProjectV2Item `json:"item"` // The ID of the iteration. IterationID string `json:"iterationId"` // The start date of the iteration. StartDate string `json:"startDate"` // The title of the iteration. Title string `json:"title"` // The title of the iteration, with HTML. TitleHTML string `json:"titleHTML"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The value of an iteration field in a Project item.
func (ProjectV2ItemFieldIterationValue) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2ItemFieldIterationValue) GetCreator ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetCreator() Actor
The actor who created the item.
func (ProjectV2ItemFieldIterationValue) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2ItemFieldIterationValue) GetField ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetField() ProjectV2FieldConfiguration
The project field that contains this value.
func (ProjectV2ItemFieldIterationValue) GetID ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetID() string
ID of the object.
func (ProjectV2ItemFieldIterationValue) GetItem ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetItem() ProjectV2Item
The project item that contains this value.
func (ProjectV2ItemFieldIterationValue) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldIterationValue) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2ItemFieldIterationValue) IsNode ¶ added in v0.11.4
func (ProjectV2ItemFieldIterationValue) IsNode()
func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValue()
func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValueCommon ¶ added in v0.11.4
func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValueCommon()
type ProjectV2ItemFieldLabelValue ¶ added in v0.11.4
type ProjectV2ItemFieldLabelValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // Labels value of a field Labels *LabelConnection `json:"labels"` }
The value of the labels field in a Project item.
func (ProjectV2ItemFieldLabelValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldLabelValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldMilestoneValue ¶ added in v0.11.4
type ProjectV2ItemFieldMilestoneValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // Milestone value of a field Milestone *Milestone `json:"milestone"` }
The value of a milestone field in a Project item.
func (ProjectV2ItemFieldMilestoneValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldMilestoneValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldNumberValue ¶ added in v0.11.4
type ProjectV2ItemFieldNumberValue struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The project field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` ID string `json:"id"` // The project item that contains this value. Item ProjectV2Item `json:"item"` // Number as a float(8) Number *float64 `json:"number"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The value of a number field in a Project item.
func (ProjectV2ItemFieldNumberValue) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2ItemFieldNumberValue) GetCreator ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetCreator() Actor
The actor who created the item.
func (ProjectV2ItemFieldNumberValue) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2ItemFieldNumberValue) GetField ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetField() ProjectV2FieldConfiguration
The project field that contains this value.
func (ProjectV2ItemFieldNumberValue) GetID ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetID() string
ID of the object.
func (ProjectV2ItemFieldNumberValue) GetItem ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetItem() ProjectV2Item
The project item that contains this value.
func (ProjectV2ItemFieldNumberValue) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldNumberValue) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2ItemFieldNumberValue) IsNode ¶ added in v0.11.4
func (ProjectV2ItemFieldNumberValue) IsNode()
func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValue()
func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValueCommon ¶ added in v0.11.4
func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValueCommon()
type ProjectV2ItemFieldPullRequestValue ¶ added in v0.11.4
type ProjectV2ItemFieldPullRequestValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // The pull requests for this field PullRequests *PullRequestConnection `json:"pullRequests"` }
The value of a pull request field in a Project item.
func (ProjectV2ItemFieldPullRequestValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldPullRequestValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldRepositoryValue ¶ added in v0.11.4
type ProjectV2ItemFieldRepositoryValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // The repository for this field. Repository *Repository `json:"repository"` }
The value of a repository field in a Project item.
func (ProjectV2ItemFieldRepositoryValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldRepositoryValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldReviewerValue ¶ added in v0.11.4
type ProjectV2ItemFieldReviewerValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // The reviewers for this field. Reviewers *RequestedReviewerConnection `json:"reviewers"` }
The value of a reviewers field in a Project item.
func (ProjectV2ItemFieldReviewerValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldReviewerValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldSingleSelectValue ¶ added in v0.11.4
type ProjectV2ItemFieldSingleSelectValue struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The project field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` ID string `json:"id"` // The project item that contains this value. Item ProjectV2Item `json:"item"` // The name of the selected single select option. Name *string `json:"name"` // The html name of the selected single select option. NameHTML *string `json:"nameHTML"` // The id of the selected single select option. OptionID *string `json:"optionId"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The value of a single select field in a Project item.
func (ProjectV2ItemFieldSingleSelectValue) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2ItemFieldSingleSelectValue) GetCreator ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetCreator() Actor
The actor who created the item.
func (ProjectV2ItemFieldSingleSelectValue) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2ItemFieldSingleSelectValue) GetField ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetField() ProjectV2FieldConfiguration
The project field that contains this value.
func (ProjectV2ItemFieldSingleSelectValue) GetID ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetID() string
ID of the object.
func (ProjectV2ItemFieldSingleSelectValue) GetItem ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetItem() ProjectV2Item
The project item that contains this value.
func (ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2ItemFieldSingleSelectValue) IsNode ¶ added in v0.11.4
func (ProjectV2ItemFieldSingleSelectValue) IsNode()
func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValue()
func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValueCommon ¶ added in v0.11.4
func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValueCommon()
type ProjectV2ItemFieldTextValue ¶ added in v0.11.4
type ProjectV2ItemFieldTextValue struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created the item. Creator Actor `json:"creator"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The project field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` ID string `json:"id"` // The project item that contains this value. Item ProjectV2Item `json:"item"` // Text value of a field Text *string `json:"text"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The value of a text field in a Project item.
func (ProjectV2ItemFieldTextValue) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2ItemFieldTextValue) GetCreator ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetCreator() Actor
The actor who created the item.
func (ProjectV2ItemFieldTextValue) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2ItemFieldTextValue) GetField ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetField() ProjectV2FieldConfiguration
The project field that contains this value.
func (ProjectV2ItemFieldTextValue) GetID ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetID() string
ID of the object.
func (ProjectV2ItemFieldTextValue) GetItem ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetItem() ProjectV2Item
The project item that contains this value.
func (ProjectV2ItemFieldTextValue) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2ItemFieldTextValue) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2ItemFieldTextValue) IsNode ¶ added in v0.11.4
func (ProjectV2ItemFieldTextValue) IsNode()
func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValue()
func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValueCommon ¶ added in v0.11.4
func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValueCommon()
type ProjectV2ItemFieldUserValue ¶ added in v0.11.4
type ProjectV2ItemFieldUserValue struct { // The field that contains this value. Field ProjectV2FieldConfiguration `json:"field"` // The users for this field Users *UserConnection `json:"users"` }
The value of a user field in a Project item.
func (ProjectV2ItemFieldUserValue) IsProjectV2ItemFieldValue ¶ added in v0.11.4
func (ProjectV2ItemFieldUserValue) IsProjectV2ItemFieldValue()
type ProjectV2ItemFieldValue ¶ added in v0.11.4
type ProjectV2ItemFieldValue interface {
IsProjectV2ItemFieldValue()
}
Project field values
type ProjectV2ItemFieldValueCommon ¶ added in v0.11.4
type ProjectV2ItemFieldValueCommon interface { IsProjectV2ItemFieldValueCommon() // Identifies the date and time when the object was created. GetCreatedAt() time.Time // The actor who created the item. GetCreator() Actor // Identifies the primary key from the database. GetDatabaseID() *int // The project field that contains this value. GetField() ProjectV2FieldConfiguration GetID() string // The project item that contains this value. GetItem() ProjectV2Item // Identifies the date and time when the object was last updated. GetUpdatedAt() time.Time }
Common fields across different project field value types
type ProjectV2ItemFieldValueConnection ¶ added in v0.11.4
type ProjectV2ItemFieldValueConnection struct { // A list of edges. Edges []*ProjectV2ItemFieldValueEdge `json:"edges"` // A list of nodes. Nodes []ProjectV2ItemFieldValue `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2ItemFieldValue.
type ProjectV2ItemFieldValueEdge ¶ added in v0.11.4
type ProjectV2ItemFieldValueEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node ProjectV2ItemFieldValue `json:"node"` }
An edge in a connection.
type ProjectV2ItemFieldValueOrder ¶ added in v0.11.4
type ProjectV2ItemFieldValueOrder struct { // The field to order the project v2 item field values by. Field ProjectV2ItemFieldValueOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for project v2 item field value connections
type ProjectV2ItemFieldValueOrderField ¶ added in v0.11.4
type ProjectV2ItemFieldValueOrderField string
Properties by which project v2 item field value connections can be ordered.
const ( // Order project v2 item field values by the their position in the project ProjectV2ItemFieldValueOrderFieldPosition ProjectV2ItemFieldValueOrderField = "POSITION" )
func (ProjectV2ItemFieldValueOrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2ItemFieldValueOrderField) IsValid() bool
func (ProjectV2ItemFieldValueOrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2ItemFieldValueOrderField) MarshalGQL(w io.Writer)
func (ProjectV2ItemFieldValueOrderField) String ¶ added in v0.11.4
func (e ProjectV2ItemFieldValueOrderField) String() string
func (*ProjectV2ItemFieldValueOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2ItemFieldValueOrderField) UnmarshalGQL(v interface{}) error
type ProjectV2ItemOrder ¶ added in v0.11.4
type ProjectV2ItemOrder struct { // The field to order the project v2 items by. Field ProjectV2ItemOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for project v2 item connections
type ProjectV2ItemOrderField ¶ added in v0.11.4
type ProjectV2ItemOrderField string
Properties by which project v2 item connections can be ordered.
const ( // Order project v2 items by the their position in the project ProjectV2ItemOrderFieldPosition ProjectV2ItemOrderField = "POSITION" )
func (ProjectV2ItemOrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2ItemOrderField) IsValid() bool
func (ProjectV2ItemOrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2ItemOrderField) MarshalGQL(w io.Writer)
func (ProjectV2ItemOrderField) String ¶ added in v0.11.4
func (e ProjectV2ItemOrderField) String() string
func (*ProjectV2ItemOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2ItemOrderField) UnmarshalGQL(v interface{}) error
type ProjectV2ItemType ¶ added in v0.11.4
type ProjectV2ItemType string
The type of a project item.
const ( // Issue ProjectV2ItemTypeIssue ProjectV2ItemType = "ISSUE" // Pull Request ProjectV2ItemTypePullRequest ProjectV2ItemType = "PULL_REQUEST" // Draft Issue ProjectV2ItemTypeDraftIssue ProjectV2ItemType = "DRAFT_ISSUE" // Redacted Item ProjectV2ItemTypeRedacted ProjectV2ItemType = "REDACTED" )
func (ProjectV2ItemType) IsValid ¶ added in v0.11.4
func (e ProjectV2ItemType) IsValid() bool
func (ProjectV2ItemType) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2ItemType) MarshalGQL(w io.Writer)
func (ProjectV2ItemType) String ¶ added in v0.11.4
func (e ProjectV2ItemType) String() string
func (*ProjectV2ItemType) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2ItemType) UnmarshalGQL(v interface{}) error
type ProjectV2IterationField ¶ added in v0.11.4
type ProjectV2IterationField struct { // Iteration configuration settings Configuration ProjectV2IterationFieldConfiguration `json:"configuration"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The field's type. DataType ProjectV2FieldType `json:"dataType"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The project field's name. Name string `json:"name"` // The project that contains this field. Project ProjectV2 `json:"project"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An iteration field inside a project.
func (ProjectV2IterationField) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2IterationField) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2IterationField) GetDataType ¶ added in v0.11.4
func (this ProjectV2IterationField) GetDataType() ProjectV2FieldType
The field's type.
func (ProjectV2IterationField) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2IterationField) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2IterationField) GetID ¶ added in v0.11.4
func (this ProjectV2IterationField) GetID() string
ID of the object.
func (ProjectV2IterationField) GetName ¶ added in v0.11.4
func (this ProjectV2IterationField) GetName() string
The project field's name.
func (ProjectV2IterationField) GetProject ¶ added in v0.11.4
func (this ProjectV2IterationField) GetProject() ProjectV2
The project that contains this field.
func (ProjectV2IterationField) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2IterationField) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2IterationField) IsNode ¶ added in v0.11.4
func (ProjectV2IterationField) IsNode()
func (ProjectV2IterationField) IsProjectV2FieldCommon ¶ added in v0.11.4
func (ProjectV2IterationField) IsProjectV2FieldCommon()
func (ProjectV2IterationField) IsProjectV2FieldConfiguration ¶ added in v0.11.4
func (ProjectV2IterationField) IsProjectV2FieldConfiguration()
type ProjectV2IterationFieldConfiguration ¶ added in v0.11.4
type ProjectV2IterationFieldConfiguration struct { // The iteration's completed iterations CompletedIterations []*ProjectV2IterationFieldIteration `json:"completedIterations"` // The iteration's duration in days Duration int `json:"duration"` // The iteration's iterations Iterations []*ProjectV2IterationFieldIteration `json:"iterations"` // The iteration's start day of the week StartDay int `json:"startDay"` }
Iteration field configuration for a project.
type ProjectV2IterationFieldIteration ¶ added in v0.11.4
type ProjectV2IterationFieldIteration struct { // The iteration's duration in days Duration int `json:"duration"` // The iteration's ID. ID string `json:"id"` // The iteration's start date StartDate string `json:"startDate"` // The iteration's title. Title string `json:"title"` // The iteration's html title. TitleHTML string `json:"titleHTML"` }
Iteration field iteration settings for a project.
type ProjectV2Order ¶ added in v0.11.4
type ProjectV2Order struct { // The field in which to order projects by. Field ProjectV2OrderField `json:"field"` // The direction in which to order projects by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of projects can be ordered upon return.
type ProjectV2OrderField ¶ added in v0.11.4
type ProjectV2OrderField string
Properties by which projects can be ordered.
const ( // The project's title ProjectV2OrderFieldTitle ProjectV2OrderField = "TITLE" // The project's number ProjectV2OrderFieldNumber ProjectV2OrderField = "NUMBER" // The project's date and time of update ProjectV2OrderFieldUpdatedAt ProjectV2OrderField = "UPDATED_AT" // The project's date and time of creation ProjectV2OrderFieldCreatedAt ProjectV2OrderField = "CREATED_AT" )
func (ProjectV2OrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2OrderField) IsValid() bool
func (ProjectV2OrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2OrderField) MarshalGQL(w io.Writer)
func (ProjectV2OrderField) String ¶ added in v0.11.4
func (e ProjectV2OrderField) String() string
func (*ProjectV2OrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2OrderField) UnmarshalGQL(v interface{}) error
type ProjectV2Owner ¶ added in v0.11.4
type ProjectV2Owner interface { IsProjectV2Owner() GetID() string // Find a project by number. GetProjectV2() *ProjectV2 // A list of projects under the owner. GetProjectsV2() ProjectV2Connection }
Represents an owner of a project (beta).
type ProjectV2Recent ¶ added in v0.11.4
type ProjectV2Recent interface { IsProjectV2Recent() // Recent projects that this user has modified in the context of the owner. GetRecentProjects() ProjectV2Connection }
Recent projects for the owner.
type ProjectV2SingleSelectField ¶ added in v0.11.4
type ProjectV2SingleSelectField struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The field's type. DataType ProjectV2FieldType `json:"dataType"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The project field's name. Name string `json:"name"` // Options for the single select field Options []*ProjectV2SingleSelectFieldOption `json:"options"` // The project that contains this field. Project ProjectV2 `json:"project"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A single select field inside a project.
func (ProjectV2SingleSelectField) GetCreatedAt ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (ProjectV2SingleSelectField) GetDataType ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetDataType() ProjectV2FieldType
The field's type.
func (ProjectV2SingleSelectField) GetDatabaseID ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetDatabaseID() *int
Identifies the primary key from the database.
func (ProjectV2SingleSelectField) GetID ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetID() string
ID of the object.
func (ProjectV2SingleSelectField) GetName ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetName() string
The project field's name.
func (ProjectV2SingleSelectField) GetProject ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetProject() ProjectV2
The project that contains this field.
func (ProjectV2SingleSelectField) GetUpdatedAt ¶ added in v0.11.4
func (this ProjectV2SingleSelectField) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (ProjectV2SingleSelectField) IsNode ¶ added in v0.11.4
func (ProjectV2SingleSelectField) IsNode()
func (ProjectV2SingleSelectField) IsProjectV2FieldCommon ¶ added in v0.11.4
func (ProjectV2SingleSelectField) IsProjectV2FieldCommon()
func (ProjectV2SingleSelectField) IsProjectV2FieldConfiguration ¶ added in v0.11.4
func (ProjectV2SingleSelectField) IsProjectV2FieldConfiguration()
type ProjectV2SingleSelectFieldOption ¶ added in v0.11.4
type ProjectV2SingleSelectFieldOption struct { // The option's ID. ID string `json:"id"` // The option's name. Name string `json:"name"` // The option's html name. NameHTML string `json:"nameHTML"` }
Single select field option for a configuration for a project.
type ProjectV2SingleSelectFieldOptionColor ¶ added in v0.11.4
type ProjectV2SingleSelectFieldOptionColor string
The display color of a single-select field option.
const ( // GRAY ProjectV2SingleSelectFieldOptionColorGray ProjectV2SingleSelectFieldOptionColor = "GRAY" // BLUE ProjectV2SingleSelectFieldOptionColorBlue ProjectV2SingleSelectFieldOptionColor = "BLUE" // GREEN ProjectV2SingleSelectFieldOptionColorGreen ProjectV2SingleSelectFieldOptionColor = "GREEN" // YELLOW ProjectV2SingleSelectFieldOptionColorYellow ProjectV2SingleSelectFieldOptionColor = "YELLOW" // ORANGE ProjectV2SingleSelectFieldOptionColorOrange ProjectV2SingleSelectFieldOptionColor = "ORANGE" // RED ProjectV2SingleSelectFieldOptionColorRed ProjectV2SingleSelectFieldOptionColor = "RED" // PINK ProjectV2SingleSelectFieldOptionColorPink ProjectV2SingleSelectFieldOptionColor = "PINK" // PURPLE ProjectV2SingleSelectFieldOptionColorPurple ProjectV2SingleSelectFieldOptionColor = "PURPLE" )
func (ProjectV2SingleSelectFieldOptionColor) IsValid ¶ added in v0.11.4
func (e ProjectV2SingleSelectFieldOptionColor) IsValid() bool
func (ProjectV2SingleSelectFieldOptionColor) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2SingleSelectFieldOptionColor) MarshalGQL(w io.Writer)
func (ProjectV2SingleSelectFieldOptionColor) String ¶ added in v0.11.4
func (e ProjectV2SingleSelectFieldOptionColor) String() string
func (*ProjectV2SingleSelectFieldOptionColor) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2SingleSelectFieldOptionColor) UnmarshalGQL(v interface{}) error
type ProjectV2SingleSelectFieldOptionInput ¶ added in v0.11.4
type ProjectV2SingleSelectFieldOptionInput struct { // The name of the option Name string `json:"name"` // The display color of the option Color ProjectV2SingleSelectFieldOptionColor `json:"color"` // The description text of the option Description string `json:"description"` }
Represents a single select field option
type ProjectV2SortBy ¶ added in v0.11.4
type ProjectV2SortBy struct { // The direction of the sorting. Possible values are ASC and DESC. Direction OrderDirection `json:"direction"` // The field by which items are sorted. Field ProjectV2Field `json:"field"` }
Represents a sort by field and direction.
type ProjectV2SortByConnection ¶ added in v0.11.4
type ProjectV2SortByConnection struct { // A list of edges. Edges []*ProjectV2SortByEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2SortBy `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2SortBy.
type ProjectV2SortByEdge ¶ added in v0.11.4
type ProjectV2SortByEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2SortBy `json:"node"` }
An edge in a connection.
type ProjectV2SortByField ¶ added in v0.11.4
type ProjectV2SortByField struct { // The direction of the sorting. Possible values are ASC and DESC. Direction OrderDirection `json:"direction"` // The field by which items are sorted. Field ProjectV2FieldConfiguration `json:"field"` }
Represents a sort by field and direction.
type ProjectV2SortByFieldConnection ¶ added in v0.11.4
type ProjectV2SortByFieldConnection struct { // A list of edges. Edges []*ProjectV2SortByFieldEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2SortByField `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2SortByField.
type ProjectV2SortByFieldEdge ¶ added in v0.11.4
type ProjectV2SortByFieldEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2SortByField `json:"node"` }
An edge in a connection.
type ProjectV2State ¶ added in v0.11.4
type ProjectV2State string
The possible states of a project v2.
const ( // A project v2 that is still open ProjectV2StateOpen ProjectV2State = "OPEN" // A project v2 that has been closed ProjectV2StateClosed ProjectV2State = "CLOSED" )
func (ProjectV2State) IsValid ¶ added in v0.11.4
func (e ProjectV2State) IsValid() bool
func (ProjectV2State) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2State) MarshalGQL(w io.Writer)
func (ProjectV2State) String ¶ added in v0.11.4
func (e ProjectV2State) String() string
func (*ProjectV2State) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2State) UnmarshalGQL(v interface{}) error
type ProjectV2View ¶ added in v0.11.4
type ProjectV2View struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The view's visible fields. Fields *ProjectV2FieldConfigurationConnection `json:"fields"` // The project view's filter. Filter *string `json:"filter"` // The view's group-by field. GroupBy *ProjectV2FieldConnection `json:"groupBy"` // The view's group-by field. GroupByFields *ProjectV2FieldConfigurationConnection `json:"groupByFields"` ID string `json:"id"` // The project view's layout. Layout ProjectV2ViewLayout `json:"layout"` // The project view's name. Name string `json:"name"` // The project view's number. Number int `json:"number"` // The project that contains this view. Project ProjectV2 `json:"project"` // The view's sort-by config. SortBy *ProjectV2SortByConnection `json:"sortBy"` // The view's sort-by config. SortByFields *ProjectV2SortByFieldConnection `json:"sortByFields"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The view's vertical-group-by field. VerticalGroupBy *ProjectV2FieldConnection `json:"verticalGroupBy"` // The view's vertical-group-by field. VerticalGroupByFields *ProjectV2FieldConfigurationConnection `json:"verticalGroupByFields"` // The view's visible fields. VisibleFields *ProjectV2FieldConnection `json:"visibleFields"` }
A view within a ProjectV2.
func (ProjectV2View) GetID ¶ added in v0.11.4
func (this ProjectV2View) GetID() string
ID of the object.
func (ProjectV2View) IsNode ¶ added in v0.11.4
func (ProjectV2View) IsNode()
type ProjectV2ViewConnection ¶ added in v0.11.4
type ProjectV2ViewConnection struct { // A list of edges. Edges []*ProjectV2ViewEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2View `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2View.
type ProjectV2ViewEdge ¶ added in v0.11.4
type ProjectV2ViewEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2View `json:"node"` }
An edge in a connection.
type ProjectV2ViewLayout ¶ added in v0.11.4
type ProjectV2ViewLayout string
The layout of a project v2 view.
const ( // Board layout ProjectV2ViewLayoutBoardLayout ProjectV2ViewLayout = "BOARD_LAYOUT" // Table layout ProjectV2ViewLayoutTableLayout ProjectV2ViewLayout = "TABLE_LAYOUT" // Roadmap layout ProjectV2ViewLayoutRoadmapLayout ProjectV2ViewLayout = "ROADMAP_LAYOUT" )
func (ProjectV2ViewLayout) IsValid ¶ added in v0.11.4
func (e ProjectV2ViewLayout) IsValid() bool
func (ProjectV2ViewLayout) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2ViewLayout) MarshalGQL(w io.Writer)
func (ProjectV2ViewLayout) String ¶ added in v0.11.4
func (e ProjectV2ViewLayout) String() string
func (*ProjectV2ViewLayout) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2ViewLayout) UnmarshalGQL(v interface{}) error
type ProjectV2ViewOrder ¶ added in v0.11.4
type ProjectV2ViewOrder struct { // The field to order the project v2 views by. Field ProjectV2ViewOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for project v2 view connections
type ProjectV2ViewOrderField ¶ added in v0.11.4
type ProjectV2ViewOrderField string
Properties by which project v2 view connections can be ordered.
const ( // Order project v2 views by position ProjectV2ViewOrderFieldPosition ProjectV2ViewOrderField = "POSITION" // Order project v2 views by creation time ProjectV2ViewOrderFieldCreatedAt ProjectV2ViewOrderField = "CREATED_AT" // Order project v2 views by name ProjectV2ViewOrderFieldName ProjectV2ViewOrderField = "NAME" )
func (ProjectV2ViewOrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2ViewOrderField) IsValid() bool
func (ProjectV2ViewOrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2ViewOrderField) MarshalGQL(w io.Writer)
func (ProjectV2ViewOrderField) String ¶ added in v0.11.4
func (e ProjectV2ViewOrderField) String() string
func (*ProjectV2ViewOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2ViewOrderField) UnmarshalGQL(v interface{}) error
type ProjectV2Workflow ¶ added in v0.11.4
type ProjectV2Workflow struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The workflows' enabled state. Enabled bool `json:"enabled"` ID string `json:"id"` // The workflows' name. Name string `json:"name"` // The workflows' number. Number int `json:"number"` // The project that contains this workflow. Project ProjectV2 `json:"project"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A workflow inside a project.
func (ProjectV2Workflow) GetID ¶ added in v0.11.4
func (this ProjectV2Workflow) GetID() string
ID of the object.
func (ProjectV2Workflow) IsNode ¶ added in v0.11.4
func (ProjectV2Workflow) IsNode()
type ProjectV2WorkflowConnection ¶ added in v0.11.4
type ProjectV2WorkflowConnection struct { // A list of edges. Edges []*ProjectV2WorkflowEdge `json:"edges"` // A list of nodes. Nodes []*ProjectV2Workflow `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectV2Workflow.
type ProjectV2WorkflowEdge ¶ added in v0.11.4
type ProjectV2WorkflowEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectV2Workflow `json:"node"` }
An edge in a connection.
type ProjectV2WorkflowOrder ¶ added in v0.11.4
type ProjectV2WorkflowOrder struct { // The field to order the project v2 workflows by. Field ProjectV2WorkflowsOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for project v2 workflows connections
type ProjectV2WorkflowsOrderField ¶ added in v0.11.4
type ProjectV2WorkflowsOrderField string
Properties by which project workflows can be ordered.
const ( // The workflows' name ProjectV2WorkflowsOrderFieldName ProjectV2WorkflowsOrderField = "NAME" // The workflows' number ProjectV2WorkflowsOrderFieldNumber ProjectV2WorkflowsOrderField = "NUMBER" // The workflows' date and time of update ProjectV2WorkflowsOrderFieldUpdatedAt ProjectV2WorkflowsOrderField = "UPDATED_AT" // The workflows' date and time of creation ProjectV2WorkflowsOrderFieldCreatedAt ProjectV2WorkflowsOrderField = "CREATED_AT" )
func (ProjectV2WorkflowsOrderField) IsValid ¶ added in v0.11.4
func (e ProjectV2WorkflowsOrderField) IsValid() bool
func (ProjectV2WorkflowsOrderField) MarshalGQL ¶ added in v0.11.4
func (e ProjectV2WorkflowsOrderField) MarshalGQL(w io.Writer)
func (ProjectV2WorkflowsOrderField) String ¶ added in v0.11.4
func (e ProjectV2WorkflowsOrderField) String() string
func (*ProjectV2WorkflowsOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *ProjectV2WorkflowsOrderField) UnmarshalGQL(v interface{}) error
type PublicKey ¶
type PublicKey struct { // The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. AccessedAt *time.Time `json:"accessedAt"` // 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 *time.Time `json:"createdAt"` // The fingerprint for this PublicKey. Fingerprint string `json:"fingerprint"` ID string `json:"id"` // Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. IsReadOnly *bool `json:"isReadOnly"` // The public key string. Key string `json:"key"` // 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 *time.Time `json:"updatedAt"` }
A user's public key.
type PublicKeyConnection ¶
type PublicKeyConnection struct { // A list of edges. Edges []*PublicKeyEdge `json:"edges"` // A list of nodes. Nodes []*PublicKey `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PublicKey.
type PublicKeyEdge ¶
type PublicKeyEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PublicKey `json:"node"` }
An edge in a connection.
type PublishSponsorsTierInput ¶ added in v0.11.4
type PublishSponsorsTierInput struct { // The ID of the draft tier to publish. TierID string `json:"tierId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of PublishSponsorsTier
type PublishSponsorsTierPayload ¶ added in v0.11.4
type PublishSponsorsTierPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The tier that was published. SponsorsTier *SponsorsTier `json:"sponsorsTier"` }
Autogenerated return type of PublishSponsorsTier
type PullRequest ¶
type PullRequest struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason"` // The number of additions in this pull request. Additions int `json:"additions"` // A list of Users assigned to this object. Assignees UserConnection `json:"assignees"` // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // Returns the auto-merge request object if one exists for this pull request. AutoMergeRequest *AutoMergeRequest `json:"autoMergeRequest"` // Identifies the base Ref associated with the pull request. BaseRef *Ref `json:"baseRef"` // Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted. BaseRefName string `json:"baseRefName"` // Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted. BaseRefOid string `json:"baseRefOid"` // The repository associated with this pull request's base Ref. BaseRepository *Repository `json:"baseRepository"` // The body as Markdown. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // The number of changed files in this pull request. ChangedFiles int `json:"changedFiles"` // The HTTP path for the checks of this pull request. ChecksResourcePath string `json:"checksResourcePath"` // The HTTP URL for the checks of this pull request. ChecksURL string `json:"checksUrl"` // `true` if the pull request is closed Closed bool `json:"closed"` // Identifies the date and time when the object was closed. ClosedAt *time.Time `json:"closedAt"` // List of issues that were may be closed by this pull request ClosingIssuesReferences *IssueConnection `json:"closingIssuesReferences"` // A list of comments associated with the pull request. Comments IssueCommentConnection `json:"comments"` // A list of commits present in this pull request's head branch not present in the base branch. Commits PullRequestCommitConnection `json:"commits"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The number of deletions in this pull request. Deletions int `json:"deletions"` // The actor who edited this pull request's body. Editor Actor `json:"editor"` // Lists the files changed within this pull request. Files *PullRequestChangedFileConnection `json:"files"` // Identifies the head Ref associated with the pull request. HeadRef *Ref `json:"headRef"` // Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. HeadRefName string `json:"headRefName"` // Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted. HeadRefOid string `json:"headRefOid"` // The repository associated with this pull request's head Ref. HeadRepository *Repository `json:"headRepository"` // The owner of the repository associated with this pull request's head Ref. HeadRepositoryOwner RepositoryOwner `json:"headRepositoryOwner"` // The hovercard information for this issue Hovercard Hovercard `json:"hovercard"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // The head and base repositories are different. IsCrossRepository bool `json:"isCrossRepository"` // Identifies if the pull request is a draft. IsDraft bool `json:"isDraft"` // Is this pull request read by the viewer IsReadByViewer *bool `json:"isReadByViewer"` // A list of labels associated with the object. Labels *LabelConnection `json:"labels"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // A list of latest reviews per user associated with the pull request. LatestOpinionatedReviews *PullRequestReviewConnection `json:"latestOpinionatedReviews"` // A list of latest reviews per user associated with the pull request that are not also pending review. LatestReviews *PullRequestReviewConnection `json:"latestReviews"` // `true` if the pull request is locked Locked bool `json:"locked"` // Indicates whether maintainers can modify the pull request. MaintainerCanModify bool `json:"maintainerCanModify"` // The commit that was created when this pull request was merged. MergeCommit *Commit `json:"mergeCommit"` // Whether or not the pull request can be merged based on the existence of merge conflicts. Mergeable MergeableState `json:"mergeable"` // Whether or not the pull request was merged. Merged bool `json:"merged"` // The date and time that the pull request was merged. MergedAt *time.Time `json:"mergedAt"` // The actor who merged the pull request. MergedBy Actor `json:"mergedBy"` // Identifies the milestone associated with the pull request. Milestone *Milestone `json:"milestone"` // Identifies the pull request number. Number int `json:"number"` // A list of Users that are participating in the Pull Request conversation. Participants UserConnection `json:"participants"` // The permalink to the pull request. Permalink string `json:"permalink"` // 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"` // List of project cards associated with this pull request. ProjectCards ProjectCardConnection `json:"projectCards"` // List of project items associated with this pull request. ProjectItems ProjectV2ItemConnection `json:"projectItems"` // Find a project by number. ProjectV2 *ProjectV2 `json:"projectV2"` // A list of projects under the owner. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path for this pull request. ResourcePath string `json:"resourcePath"` // The HTTP path for reverting this pull request. RevertResourcePath string `json:"revertResourcePath"` // The HTTP URL for reverting this pull request. RevertURL string `json:"revertUrl"` // The current status of this pull request with respect to code review. ReviewDecision *PullRequestReviewDecision `json:"reviewDecision"` // A list of review requests associated with the pull request. ReviewRequests *ReviewRequestConnection `json:"reviewRequests"` // The list of all review threads for this pull request. ReviewThreads PullRequestReviewThreadConnection `json:"reviewThreads"` // A list of reviews associated with the pull request. Reviews *PullRequestReviewConnection `json:"reviews"` // Identifies the state of the pull request. State PullRequestState `json:"state"` // A list of reviewer suggestions based on commit history and past review comments. SuggestedReviewers []*SuggestedReviewer `json:"suggestedReviewers"` // A list of events, comments, commits, etc. associated with the pull request. Timeline PullRequestTimelineConnection `json:"timeline"` // A list of events, comments, commits, etc. associated with the pull request. TimelineItems PullRequestTimelineItemsConnection `json:"timelineItems"` // Identifies the pull request title. Title string `json:"title"` // Identifies the pull request title rendered to HTML. TitleHTML string `json:"titleHTML"` // Returns a count of how many comments this pull request has received. TotalCommentsCount *int `json:"totalCommentsCount"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this pull request. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Whether or not the viewer can apply suggestion. ViewerCanApplySuggestion bool `json:"viewerCanApplySuggestion"` // Check if the viewer can restore the deleted head ref. ViewerCanDeleteHeadRef bool `json:"viewerCanDeleteHeadRef"` // Whether or not the viewer can disable auto-merge ViewerCanDisableAutoMerge bool `json:"viewerCanDisableAutoMerge"` // Can the viewer edit files within this pull request. ViewerCanEditFiles bool `json:"viewerCanEditFiles"` // Whether or not the viewer can enable auto-merge ViewerCanEnableAutoMerge bool `json:"viewerCanEnableAutoMerge"` // Indicates whether the viewer can bypass branch protections and merge the pull request immediately ViewerCanMergeAsAdmin bool `json:"viewerCanMergeAsAdmin"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // The latest review given from the viewer. ViewerLatestReview *PullRequestReview `json:"viewerLatestReview"` // The person who has requested the viewer for review on this pull request. ViewerLatestReviewRequest *ReviewRequest `json:"viewerLatestReviewRequest"` // The merge body text for the viewer and method. ViewerMergeBodyText string `json:"viewerMergeBodyText"` // The merge headline text for the viewer and method. ViewerMergeHeadlineText string `json:"viewerMergeHeadlineText"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` }
A repository pull request.
func (PullRequest) GetActiveLockReason ¶ added in v0.11.4
func (this PullRequest) GetActiveLockReason() *LockReason
Reason that the conversation was locked.
func (PullRequest) GetAssignees ¶ added in v0.11.4
func (this PullRequest) GetAssignees() UserConnection
A list of Users assigned to this object.
func (PullRequest) GetAuthor ¶ added in v0.11.4
func (this PullRequest) GetAuthor() Actor
The actor who authored the comment.
func (PullRequest) GetAuthorAssociation ¶ added in v0.11.4
func (this PullRequest) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (PullRequest) GetBody ¶ added in v0.11.4
func (this PullRequest) GetBody() string
The body as Markdown.
func (PullRequest) GetBodyHTML ¶ added in v0.11.4
func (this PullRequest) GetBodyHTML() string
The body rendered to HTML.
func (PullRequest) GetBodyText ¶ added in v0.11.4
func (this PullRequest) GetBodyText() string
The body rendered to text.
func (PullRequest) GetClosed ¶ added in v0.11.4
func (this PullRequest) GetClosed() bool
Indicates if the object is closed (definition of closed may depend on type)
func (PullRequest) GetClosedAt ¶ added in v0.11.4
func (this PullRequest) GetClosedAt() *time.Time
Identifies the date and time when the object was closed.
func (PullRequest) GetCreatedAt ¶ added in v0.11.4
func (this PullRequest) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (PullRequest) GetCreatedViaEmail ¶ added in v0.11.4
func (this PullRequest) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (PullRequest) GetDatabaseID ¶ added in v0.11.4
func (this PullRequest) GetDatabaseID() *int
Identifies the primary key from the database.
func (PullRequest) GetEditor ¶ added in v0.11.4
func (this PullRequest) GetEditor() Actor
The actor who edited the comment.
func (PullRequest) GetID ¶ added in v0.11.4
func (this PullRequest) GetID() string
func (PullRequest) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this PullRequest) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (PullRequest) GetLabels ¶ added in v0.11.4
func (this PullRequest) GetLabels() *LabelConnection
A list of labels associated with the object.
func (PullRequest) GetLastEditedAt ¶ added in v0.11.4
func (this PullRequest) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (PullRequest) GetLocked ¶ added in v0.11.4
func (this PullRequest) GetLocked() bool
`true` if the object is locked
func (PullRequest) GetProjectV2 ¶ added in v0.11.4
func (this PullRequest) GetProjectV2() *ProjectV2
Find a project by number.
func (PullRequest) GetProjectsV2 ¶ added in v0.11.4
func (this PullRequest) GetProjectsV2() ProjectV2Connection
A list of projects under the owner.
func (PullRequest) GetPublishedAt ¶ added in v0.11.4
func (this PullRequest) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (PullRequest) GetReactionGroups ¶ added in v0.11.4
func (this PullRequest) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (PullRequest) GetReactions ¶ added in v0.11.4
func (this PullRequest) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (PullRequest) GetRepository ¶ added in v0.11.4
func (this PullRequest) GetRepository() Repository
The repository associated with this node.
func (PullRequest) GetResourcePath ¶ added in v0.11.4
func (this PullRequest) GetResourcePath() string
The HTML path to this resource.
func (PullRequest) GetURL ¶ added in v0.11.4
func (this PullRequest) GetURL() string
The URL to this resource.
func (PullRequest) GetUpdatedAt ¶ added in v0.11.4
func (this PullRequest) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (PullRequest) GetUserContentEdits ¶ added in v0.11.4
func (this PullRequest) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (PullRequest) GetViewerCanReact ¶ added in v0.11.4
func (this PullRequest) GetViewerCanReact() bool
Can user react to this subject
func (PullRequest) GetViewerCanSubscribe ¶ added in v0.11.4
func (this PullRequest) GetViewerCanSubscribe() bool
Check if the viewer is able to change their subscription status for the repository.
func (PullRequest) GetViewerCanUpdate ¶ added in v0.11.4
func (this PullRequest) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (PullRequest) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this PullRequest) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (PullRequest) GetViewerDidAuthor ¶ added in v0.11.4
func (this PullRequest) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (PullRequest) GetViewerSubscription ¶ added in v0.11.4
func (this PullRequest) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (PullRequest) IsAssignable ¶
func (PullRequest) IsAssignable()
func (PullRequest) IsClosable ¶
func (PullRequest) IsClosable()
func (PullRequest) IsCloser ¶
func (PullRequest) IsCloser()
func (PullRequest) IsComment ¶
func (PullRequest) IsComment()
func (PullRequest) IsIssueOrPullRequest ¶
func (PullRequest) IsIssueOrPullRequest()
func (PullRequest) IsLabelable ¶
func (PullRequest) IsLabelable()
func (PullRequest) IsLockable ¶
func (PullRequest) IsLockable()
func (PullRequest) IsMilestoneItem ¶
func (PullRequest) IsMilestoneItem()
func (PullRequest) IsNode ¶
func (PullRequest) IsNode()
func (PullRequest) IsProjectCardItem ¶
func (PullRequest) IsProjectCardItem()
func (PullRequest) IsProjectV2ItemContent ¶ added in v0.11.4
func (PullRequest) IsProjectV2ItemContent()
func (PullRequest) IsProjectV2Owner ¶ added in v0.11.4
func (PullRequest) IsProjectV2Owner()
func (PullRequest) IsReactable ¶
func (PullRequest) IsReactable()
func (PullRequest) IsReferencedSubject ¶
func (PullRequest) IsReferencedSubject()
func (PullRequest) IsRenamedTitleSubject ¶
func (PullRequest) IsRenamedTitleSubject()
func (PullRequest) IsRepositoryNode ¶
func (PullRequest) IsRepositoryNode()
func (PullRequest) IsSearchResultItem ¶
func (PullRequest) IsSearchResultItem()
func (PullRequest) IsSubscribable ¶
func (PullRequest) IsSubscribable()
func (PullRequest) IsUniformResourceLocatable ¶
func (PullRequest) IsUniformResourceLocatable()
func (PullRequest) IsUpdatable ¶
func (PullRequest) IsUpdatable()
func (PullRequest) IsUpdatableComment ¶
func (PullRequest) IsUpdatableComment()
type PullRequestChangedFile ¶
type PullRequestChangedFile struct { // The number of additions to the file. Additions int `json:"additions"` // How the file was changed in this PullRequest ChangeType PatchStatus `json:"changeType"` // The number of deletions to the file. Deletions int `json:"deletions"` // The path of the file. Path string `json:"path"` // The state of the file for the viewer. ViewerViewedState FileViewedState `json:"viewerViewedState"` }
A file changed in a pull request.
type PullRequestChangedFileConnection ¶
type PullRequestChangedFileConnection struct { // A list of edges. Edges []*PullRequestChangedFileEdge `json:"edges"` // A list of nodes. Nodes []*PullRequestChangedFile `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequestChangedFile.
type PullRequestChangedFileEdge ¶
type PullRequestChangedFileEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequestChangedFile `json:"node"` }
An edge in a connection.
type PullRequestCommit ¶
type PullRequestCommit struct { // The Git commit object Commit Commit `json:"commit"` ID string `json:"id"` // The pull request this commit belongs to PullRequest PullRequest `json:"pullRequest"` // The HTTP path for this pull request commit ResourcePath string `json:"resourcePath"` // The HTTP URL for this pull request commit URL string `json:"url"` }
Represents a Git commit part of a pull request.
func (PullRequestCommit) GetID ¶ added in v0.11.4
func (this PullRequestCommit) GetID() string
ID of the object.
func (PullRequestCommit) GetResourcePath ¶ added in v0.11.4
func (this PullRequestCommit) GetResourcePath() string
The HTML path to this resource.
func (PullRequestCommit) GetURL ¶ added in v0.11.4
func (this PullRequestCommit) GetURL() string
The URL to this resource.
func (PullRequestCommit) IsNode ¶
func (PullRequestCommit) IsNode()
func (PullRequestCommit) IsPullRequestTimelineItems ¶
func (PullRequestCommit) IsPullRequestTimelineItems()
func (PullRequestCommit) IsUniformResourceLocatable ¶
func (PullRequestCommit) IsUniformResourceLocatable()
type PullRequestCommitCommentThread ¶
type PullRequestCommitCommentThread struct { // The comments that exist in this thread. Comments CommitCommentConnection `json:"comments"` // The commit the comments were made on. Commit Commit `json:"commit"` ID string `json:"id"` // The file the comments were made on. Path *string `json:"path"` // The position in the diff for the commit that the comment was made on. Position *int `json:"position"` // The pull request this commit comment thread belongs to PullRequest PullRequest `json:"pullRequest"` // The repository associated with this node. Repository Repository `json:"repository"` }
Represents a commit comment thread part of a pull request.
func (PullRequestCommitCommentThread) GetID ¶ added in v0.11.4
func (this PullRequestCommitCommentThread) GetID() string
ID of the object.
func (PullRequestCommitCommentThread) GetRepository ¶ added in v0.11.4
func (this PullRequestCommitCommentThread) GetRepository() Repository
The repository associated with this node.
func (PullRequestCommitCommentThread) IsNode ¶
func (PullRequestCommitCommentThread) IsNode()
func (PullRequestCommitCommentThread) IsPullRequestTimelineItems ¶
func (PullRequestCommitCommentThread) IsPullRequestTimelineItems()
func (PullRequestCommitCommentThread) IsRepositoryNode ¶
func (PullRequestCommitCommentThread) IsRepositoryNode()
type PullRequestCommitConnection ¶
type PullRequestCommitConnection struct { // A list of edges. Edges []*PullRequestCommitEdge `json:"edges"` // A list of nodes. Nodes []*PullRequestCommit `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequestCommit.
type PullRequestCommitEdge ¶
type PullRequestCommitEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequestCommit `json:"node"` }
An edge in a connection.
type PullRequestConnection ¶
type PullRequestConnection struct { // A list of edges. Edges []*PullRequestEdge `json:"edges"` // A list of nodes. Nodes []*PullRequest `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequest.
type PullRequestContributionsByRepository ¶
type PullRequestContributionsByRepository struct { // The pull request contributions. Contributions CreatedPullRequestContributionConnection `json:"contributions"` // The repository in which the pull requests were opened. Repository Repository `json:"repository"` }
This aggregates pull requests opened by a user within one repository.
type PullRequestEdge ¶
type PullRequestEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequest `json:"node"` }
An edge in a connection.
type PullRequestMergeMethod ¶
type PullRequestMergeMethod string
Represents available types of methods to use when merging a pull request.
const ( // Add all commits from the head branch to the base branch with a merge commit. PullRequestMergeMethodMerge PullRequestMergeMethod = "MERGE" // Combine all commits from the head branch into a single commit in the base branch. PullRequestMergeMethodSquash PullRequestMergeMethod = "SQUASH" // Add all commits from the head branch onto the base branch individually. PullRequestMergeMethodRebase PullRequestMergeMethod = "REBASE" )
func (PullRequestMergeMethod) IsValid ¶
func (e PullRequestMergeMethod) IsValid() bool
func (PullRequestMergeMethod) MarshalGQL ¶
func (e PullRequestMergeMethod) MarshalGQL(w io.Writer)
func (PullRequestMergeMethod) String ¶
func (e PullRequestMergeMethod) String() string
func (*PullRequestMergeMethod) UnmarshalGQL ¶
func (e *PullRequestMergeMethod) UnmarshalGQL(v interface{}) error
type PullRequestOrder ¶
type PullRequestOrder struct { // The field in which to order pull requests by. Field PullRequestOrderField `json:"field"` // The direction in which to order pull requests by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of issues can be ordered upon return.
type PullRequestOrderField ¶
type PullRequestOrderField string
Properties by which pull_requests connections can be ordered.
const ( // Order pull_requests by creation time PullRequestOrderFieldCreatedAt PullRequestOrderField = "CREATED_AT" // Order pull_requests by update time PullRequestOrderFieldUpdatedAt PullRequestOrderField = "UPDATED_AT" )
func (PullRequestOrderField) IsValid ¶
func (e PullRequestOrderField) IsValid() bool
func (PullRequestOrderField) MarshalGQL ¶
func (e PullRequestOrderField) MarshalGQL(w io.Writer)
func (PullRequestOrderField) String ¶
func (e PullRequestOrderField) String() string
func (*PullRequestOrderField) UnmarshalGQL ¶
func (e *PullRequestOrderField) UnmarshalGQL(v interface{}) error
type PullRequestReview ¶
type PullRequestReview struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // Indicates whether the author of this review has push access to the repository. AuthorCanPushToRepository bool `json:"authorCanPushToRepository"` // Identifies the pull request review body. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body of this review rendered as plain text. BodyText string `json:"bodyText"` // A list of review comments for the current pull request review. Comments PullRequestReviewCommentConnection `json:"comments"` // Identifies the commit associated with this pull request review. Commit *Commit `json:"commit"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // A list of teams that this review was made on behalf of. OnBehalfOf TeamConnection `json:"onBehalfOf"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // Identifies the pull request associated with this pull request review. PullRequest PullRequest `json:"pullRequest"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path permalink for this PullRequestReview. ResourcePath string `json:"resourcePath"` // Identifies the current state of the pull request review. State PullRequestReviewState `json:"state"` // Identifies when the Pull Request Review was submitted SubmittedAt *time.Time `json:"submittedAt"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL permalink for this PullRequestReview. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A review object for a given pull request.
func (PullRequestReview) GetAuthor ¶ added in v0.11.4
func (this PullRequestReview) GetAuthor() Actor
The actor who authored the comment.
func (PullRequestReview) GetAuthorAssociation ¶ added in v0.11.4
func (this PullRequestReview) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (PullRequestReview) GetBody ¶ added in v0.11.4
func (this PullRequestReview) GetBody() string
The body as Markdown.
func (PullRequestReview) GetBodyHTML ¶ added in v0.11.4
func (this PullRequestReview) GetBodyHTML() string
The body rendered to HTML.
func (PullRequestReview) GetBodyText ¶ added in v0.11.4
func (this PullRequestReview) GetBodyText() string
The body rendered to text.
func (PullRequestReview) GetCreatedAt ¶ added in v0.11.4
func (this PullRequestReview) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (PullRequestReview) GetCreatedViaEmail ¶ added in v0.11.4
func (this PullRequestReview) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (PullRequestReview) GetDatabaseID ¶ added in v0.11.4
func (this PullRequestReview) GetDatabaseID() *int
Identifies the primary key from the database.
func (PullRequestReview) GetEditor ¶ added in v0.11.4
func (this PullRequestReview) GetEditor() Actor
The actor who edited the comment.
func (PullRequestReview) GetID ¶ added in v0.11.4
func (this PullRequestReview) GetID() string
func (PullRequestReview) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this PullRequestReview) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (PullRequestReview) GetLastEditedAt ¶ added in v0.11.4
func (this PullRequestReview) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (PullRequestReview) GetPublishedAt ¶ added in v0.11.4
func (this PullRequestReview) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (PullRequestReview) GetReactionGroups ¶ added in v0.11.4
func (this PullRequestReview) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (PullRequestReview) GetReactions ¶ added in v0.11.4
func (this PullRequestReview) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (PullRequestReview) GetRepository ¶ added in v0.11.4
func (this PullRequestReview) GetRepository() Repository
The repository associated with this node.
func (PullRequestReview) GetUpdatedAt ¶ added in v0.11.4
func (this PullRequestReview) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (PullRequestReview) GetUserContentEdits ¶ added in v0.11.4
func (this PullRequestReview) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (PullRequestReview) GetViewerCanDelete ¶ added in v0.11.4
func (this PullRequestReview) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (PullRequestReview) GetViewerCanReact ¶ added in v0.11.4
func (this PullRequestReview) GetViewerCanReact() bool
Can user react to this subject
func (PullRequestReview) GetViewerCanUpdate ¶ added in v0.11.4
func (this PullRequestReview) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (PullRequestReview) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this PullRequestReview) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (PullRequestReview) GetViewerDidAuthor ¶ added in v0.11.4
func (this PullRequestReview) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (PullRequestReview) IsComment ¶
func (PullRequestReview) IsComment()
func (PullRequestReview) IsDeletable ¶
func (PullRequestReview) IsDeletable()
func (PullRequestReview) IsNode ¶
func (PullRequestReview) IsNode()
func (PullRequestReview) IsPullRequestTimelineItem ¶
func (PullRequestReview) IsPullRequestTimelineItem()
func (PullRequestReview) IsPullRequestTimelineItems ¶
func (PullRequestReview) IsPullRequestTimelineItems()
func (PullRequestReview) IsReactable ¶
func (PullRequestReview) IsReactable()
func (PullRequestReview) IsRepositoryNode ¶
func (PullRequestReview) IsRepositoryNode()
func (PullRequestReview) IsUpdatable ¶
func (PullRequestReview) IsUpdatable()
func (PullRequestReview) IsUpdatableComment ¶
func (PullRequestReview) IsUpdatableComment()
type PullRequestReviewComment ¶
type PullRequestReviewComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the subject of the comment. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The comment body of this review comment. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The comment body of this review comment rendered as plain text. BodyText string `json:"bodyText"` // Identifies the commit associated with the comment. Commit *Commit `json:"commit"` // Identifies when the comment was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The diff hunk to which the comment applies. DiffHunk string `json:"diffHunk"` // Identifies when the comment was created in a draft state. DraftedAt time.Time `json:"draftedAt"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Returns whether or not a comment has been minimized. IsMinimized bool `json:"isMinimized"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. MinimizedReason *string `json:"minimizedReason"` // Identifies the original commit associated with the comment. OriginalCommit *Commit `json:"originalCommit"` // The original line index in the diff to which the comment applies. OriginalPosition int `json:"originalPosition"` // Identifies when the comment body is outdated Outdated bool `json:"outdated"` // The path to which the comment applies. Path string `json:"path"` // The line index in the diff to which the comment applies. Position *int `json:"position"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // The pull request associated with this review comment. PullRequest PullRequest `json:"pullRequest"` // The pull request review associated with this review comment. PullRequestReview *PullRequestReview `json:"pullRequestReview"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The comment this is a reply to. ReplyTo *PullRequestReviewComment `json:"replyTo"` // The repository associated with this node. Repository Repository `json:"repository"` // The HTTP path permalink for this review comment. ResourcePath string `json:"resourcePath"` // Identifies the state of the comment. State PullRequestReviewCommentState `json:"state"` // Identifies when the comment was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL permalink for this review comment. URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Check if the current viewer can minimize this object. ViewerCanMinimize bool `json:"viewerCanMinimize"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A review comment associated with a given repository pull request.
func (PullRequestReviewComment) GetAuthor ¶ added in v0.11.4
func (this PullRequestReviewComment) GetAuthor() Actor
The actor who authored the comment.
func (PullRequestReviewComment) GetAuthorAssociation ¶ added in v0.11.4
func (this PullRequestReviewComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (PullRequestReviewComment) GetBody ¶ added in v0.11.4
func (this PullRequestReviewComment) GetBody() string
The body as Markdown.
func (PullRequestReviewComment) GetBodyHTML ¶ added in v0.11.4
func (this PullRequestReviewComment) GetBodyHTML() string
The body rendered to HTML.
func (PullRequestReviewComment) GetBodyText ¶ added in v0.11.4
func (this PullRequestReviewComment) GetBodyText() string
The body rendered to text.
func (PullRequestReviewComment) GetCreatedAt ¶ added in v0.11.4
func (this PullRequestReviewComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (PullRequestReviewComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this PullRequestReviewComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (PullRequestReviewComment) GetDatabaseID ¶ added in v0.11.4
func (this PullRequestReviewComment) GetDatabaseID() *int
Identifies the primary key from the database.
func (PullRequestReviewComment) GetEditor ¶ added in v0.11.4
func (this PullRequestReviewComment) GetEditor() Actor
The actor who edited the comment.
func (PullRequestReviewComment) GetID ¶ added in v0.11.4
func (this PullRequestReviewComment) GetID() string
func (PullRequestReviewComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this PullRequestReviewComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (PullRequestReviewComment) GetIsMinimized ¶ added in v0.11.4
func (this PullRequestReviewComment) GetIsMinimized() bool
Returns whether or not a comment has been minimized.
func (PullRequestReviewComment) GetLastEditedAt ¶ added in v0.11.4
func (this PullRequestReviewComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (PullRequestReviewComment) GetMinimizedReason ¶ added in v0.11.4
func (this PullRequestReviewComment) GetMinimizedReason() *string
Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
func (PullRequestReviewComment) GetPublishedAt ¶ added in v0.11.4
func (this PullRequestReviewComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (PullRequestReviewComment) GetReactionGroups ¶ added in v0.11.4
func (this PullRequestReviewComment) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (PullRequestReviewComment) GetReactions ¶ added in v0.11.4
func (this PullRequestReviewComment) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (PullRequestReviewComment) GetRepository ¶ added in v0.11.4
func (this PullRequestReviewComment) GetRepository() Repository
The repository associated with this node.
func (PullRequestReviewComment) GetUpdatedAt ¶ added in v0.11.4
func (this PullRequestReviewComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (PullRequestReviewComment) GetUserContentEdits ¶ added in v0.11.4
func (this PullRequestReviewComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (PullRequestReviewComment) GetViewerCanDelete ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (PullRequestReviewComment) GetViewerCanMinimize ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerCanMinimize() bool
Check if the current viewer can minimize this object.
func (PullRequestReviewComment) GetViewerCanReact ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerCanReact() bool
Can user react to this subject
func (PullRequestReviewComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (PullRequestReviewComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (PullRequestReviewComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this PullRequestReviewComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (PullRequestReviewComment) IsComment ¶
func (PullRequestReviewComment) IsComment()
func (PullRequestReviewComment) IsDeletable ¶
func (PullRequestReviewComment) IsDeletable()
func (PullRequestReviewComment) IsMinimizable ¶
func (PullRequestReviewComment) IsMinimizable()
func (PullRequestReviewComment) IsNode ¶
func (PullRequestReviewComment) IsNode()
func (PullRequestReviewComment) IsPullRequestTimelineItem ¶
func (PullRequestReviewComment) IsPullRequestTimelineItem()
func (PullRequestReviewComment) IsReactable ¶
func (PullRequestReviewComment) IsReactable()
func (PullRequestReviewComment) IsRepositoryNode ¶
func (PullRequestReviewComment) IsRepositoryNode()
func (PullRequestReviewComment) IsUpdatable ¶
func (PullRequestReviewComment) IsUpdatable()
func (PullRequestReviewComment) IsUpdatableComment ¶
func (PullRequestReviewComment) IsUpdatableComment()
type PullRequestReviewCommentConnection ¶
type PullRequestReviewCommentConnection struct { // A list of edges. Edges []*PullRequestReviewCommentEdge `json:"edges"` // A list of nodes. Nodes []*PullRequestReviewComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequestReviewComment.
type PullRequestReviewCommentEdge ¶
type PullRequestReviewCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequestReviewComment `json:"node"` }
An edge in a connection.
type PullRequestReviewCommentState ¶
type PullRequestReviewCommentState string
The possible states of a pull request review comment.
const ( // A comment that is part of a pending review PullRequestReviewCommentStatePending PullRequestReviewCommentState = "PENDING" // A comment that is part of a submitted review PullRequestReviewCommentStateSubmitted PullRequestReviewCommentState = "SUBMITTED" )
func (PullRequestReviewCommentState) IsValid ¶
func (e PullRequestReviewCommentState) IsValid() bool
func (PullRequestReviewCommentState) MarshalGQL ¶
func (e PullRequestReviewCommentState) MarshalGQL(w io.Writer)
func (PullRequestReviewCommentState) String ¶
func (e PullRequestReviewCommentState) String() string
func (*PullRequestReviewCommentState) UnmarshalGQL ¶
func (e *PullRequestReviewCommentState) UnmarshalGQL(v interface{}) error
type PullRequestReviewConnection ¶
type PullRequestReviewConnection struct { // A list of edges. Edges []*PullRequestReviewEdge `json:"edges"` // A list of nodes. Nodes []*PullRequestReview `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequestReview.
type PullRequestReviewContributionsByRepository ¶
type PullRequestReviewContributionsByRepository struct { // The pull request review contributions. Contributions CreatedPullRequestReviewContributionConnection `json:"contributions"` // The repository in which the pull request reviews were made. Repository Repository `json:"repository"` }
This aggregates pull request reviews made by a user within one repository.
type PullRequestReviewDecision ¶
type PullRequestReviewDecision string
The review status of a pull request.
const ( // Changes have been requested on the pull request. PullRequestReviewDecisionChangesRequested PullRequestReviewDecision = "CHANGES_REQUESTED" // The pull request has received an approving review. PullRequestReviewDecisionApproved PullRequestReviewDecision = "APPROVED" // A review is required before the pull request can be merged. PullRequestReviewDecisionReviewRequired PullRequestReviewDecision = "REVIEW_REQUIRED" )
func (PullRequestReviewDecision) IsValid ¶
func (e PullRequestReviewDecision) IsValid() bool
func (PullRequestReviewDecision) MarshalGQL ¶
func (e PullRequestReviewDecision) MarshalGQL(w io.Writer)
func (PullRequestReviewDecision) String ¶
func (e PullRequestReviewDecision) String() string
func (*PullRequestReviewDecision) UnmarshalGQL ¶
func (e *PullRequestReviewDecision) UnmarshalGQL(v interface{}) error
type PullRequestReviewEdge ¶
type PullRequestReviewEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequestReview `json:"node"` }
An edge in a connection.
type PullRequestReviewEvent ¶
type PullRequestReviewEvent string
The possible events to perform on a pull request review.
const ( // Submit general feedback without explicit approval. PullRequestReviewEventComment PullRequestReviewEvent = "COMMENT" // Submit feedback and approve merging these changes. PullRequestReviewEventApprove PullRequestReviewEvent = "APPROVE" // Submit feedback that must be addressed before merging. PullRequestReviewEventRequestChanges PullRequestReviewEvent = "REQUEST_CHANGES" // Dismiss review so it now longer effects merging. PullRequestReviewEventDismiss PullRequestReviewEvent = "DISMISS" )
func (PullRequestReviewEvent) IsValid ¶
func (e PullRequestReviewEvent) IsValid() bool
func (PullRequestReviewEvent) MarshalGQL ¶
func (e PullRequestReviewEvent) MarshalGQL(w io.Writer)
func (PullRequestReviewEvent) String ¶
func (e PullRequestReviewEvent) String() string
func (*PullRequestReviewEvent) UnmarshalGQL ¶
func (e *PullRequestReviewEvent) UnmarshalGQL(v interface{}) error
type PullRequestReviewState ¶
type PullRequestReviewState string
The possible states of a pull request review.
const ( // A review that has not yet been submitted. PullRequestReviewStatePending PullRequestReviewState = "PENDING" // An informational review. PullRequestReviewStateCommented PullRequestReviewState = "COMMENTED" // A review allowing the pull request to merge. PullRequestReviewStateApproved PullRequestReviewState = "APPROVED" // A review blocking the pull request from merging. PullRequestReviewStateChangesRequested PullRequestReviewState = "CHANGES_REQUESTED" // A review that has been dismissed. PullRequestReviewStateDismissed PullRequestReviewState = "DISMISSED" )
func (PullRequestReviewState) IsValid ¶
func (e PullRequestReviewState) IsValid() bool
func (PullRequestReviewState) MarshalGQL ¶
func (e PullRequestReviewState) MarshalGQL(w io.Writer)
func (PullRequestReviewState) String ¶
func (e PullRequestReviewState) String() string
func (*PullRequestReviewState) UnmarshalGQL ¶
func (e *PullRequestReviewState) UnmarshalGQL(v interface{}) error
type PullRequestReviewThread ¶
type PullRequestReviewThread struct { // A list of pull request comments associated with the thread. Comments PullRequestReviewCommentConnection `json:"comments"` // The side of the diff on which this thread was placed. DiffSide DiffSide `json:"diffSide"` ID string `json:"id"` // Whether or not the thread has been collapsed (resolved) IsCollapsed bool `json:"isCollapsed"` // Indicates whether this thread was outdated by newer changes. IsOutdated bool `json:"isOutdated"` // Whether this thread has been resolved IsResolved bool `json:"isResolved"` // The line in the file to which this thread refers Line *int `json:"line"` // The original line in the file to which this thread refers. OriginalLine *int `json:"originalLine"` // The original start line in the file to which this thread refers (multi-line only). OriginalStartLine *int `json:"originalStartLine"` // Identifies the file path of this thread. Path string `json:"path"` // Identifies the pull request associated with this thread. PullRequest PullRequest `json:"pullRequest"` // Identifies the repository associated with this thread. Repository Repository `json:"repository"` // The user who resolved this thread ResolvedBy *User `json:"resolvedBy"` // The side of the diff that the first line of the thread starts on (multi-line only) StartDiffSide *DiffSide `json:"startDiffSide"` // The start line in the file to which this thread refers (multi-line only) StartLine *int `json:"startLine"` // Indicates whether the current viewer can reply to this thread. ViewerCanReply bool `json:"viewerCanReply"` // Whether or not the viewer can resolve this thread ViewerCanResolve bool `json:"viewerCanResolve"` // Whether or not the viewer can unresolve this thread ViewerCanUnresolve bool `json:"viewerCanUnresolve"` }
A threaded list of comments for a given pull request.
func (PullRequestReviewThread) GetID ¶ added in v0.11.4
func (this PullRequestReviewThread) GetID() string
ID of the object.
func (PullRequestReviewThread) IsNode ¶
func (PullRequestReviewThread) IsNode()
func (PullRequestReviewThread) IsPullRequestTimelineItem ¶
func (PullRequestReviewThread) IsPullRequestTimelineItem()
func (PullRequestReviewThread) IsPullRequestTimelineItems ¶
func (PullRequestReviewThread) IsPullRequestTimelineItems()
type PullRequestReviewThreadConnection ¶
type PullRequestReviewThreadConnection struct { // A list of edges. Edges []*PullRequestReviewThreadEdge `json:"edges"` // A list of nodes. Nodes []*PullRequestReviewThread `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
Review comment threads for a pull request review.
type PullRequestReviewThreadEdge ¶
type PullRequestReviewThreadEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PullRequestReviewThread `json:"node"` }
An edge in a connection.
type PullRequestRevisionMarker ¶
type PullRequestRevisionMarker struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The last commit the viewer has seen. LastSeenCommit Commit `json:"lastSeenCommit"` // The pull request to which the marker belongs. PullRequest PullRequest `json:"pullRequest"` }
Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
func (PullRequestRevisionMarker) IsPullRequestTimelineItems ¶
func (PullRequestRevisionMarker) IsPullRequestTimelineItems()
type PullRequestState ¶
type PullRequestState string
The possible states of a pull request.
const ( // A pull request that is still open. PullRequestStateOpen PullRequestState = "OPEN" // A pull request that has been closed without being merged. PullRequestStateClosed PullRequestState = "CLOSED" // A pull request that has been closed by being merged. PullRequestStateMerged PullRequestState = "MERGED" )
func (PullRequestState) IsValid ¶
func (e PullRequestState) IsValid() bool
func (PullRequestState) MarshalGQL ¶
func (e PullRequestState) MarshalGQL(w io.Writer)
func (PullRequestState) String ¶
func (e PullRequestState) String() string
func (*PullRequestState) UnmarshalGQL ¶
func (e *PullRequestState) UnmarshalGQL(v interface{}) error
type PullRequestTemplate ¶ added in v0.0.3
type PullRequestTemplate struct { // The body of the template Body *string `json:"body"` // The filename of the template Filename *string `json:"filename"` // The repository the template belongs to Repository Repository `json:"repository"` }
A repository pull request template.
type PullRequestThread ¶ added in v0.11.4
type PullRequestThread struct { // A list of pull request comments associated with the thread. Comments PullRequestReviewCommentConnection `json:"comments"` // The side of the diff on which this thread was placed. DiffSide DiffSide `json:"diffSide"` ID string `json:"id"` // Whether or not the thread has been collapsed (resolved) IsCollapsed bool `json:"isCollapsed"` // Indicates whether this thread was outdated by newer changes. IsOutdated bool `json:"isOutdated"` // Whether this thread has been resolved IsResolved bool `json:"isResolved"` // The line in the file to which this thread refers Line *int `json:"line"` // Identifies the pull request associated with this thread. PullRequest PullRequest `json:"pullRequest"` // Identifies the repository associated with this thread. Repository Repository `json:"repository"` // The user who resolved this thread ResolvedBy *User `json:"resolvedBy"` // The side of the diff that the first line of the thread starts on (multi-line only) StartDiffSide *DiffSide `json:"startDiffSide"` // The line of the first file diff in the thread. StartLine *int `json:"startLine"` // Indicates whether the current viewer can reply to this thread. ViewerCanReply bool `json:"viewerCanReply"` // Whether or not the viewer can resolve this thread ViewerCanResolve bool `json:"viewerCanResolve"` // Whether or not the viewer can unresolve this thread ViewerCanUnresolve bool `json:"viewerCanUnresolve"` }
A threaded list of comments for a given pull request.
func (PullRequestThread) GetID ¶ added in v0.11.4
func (this PullRequestThread) GetID() string
ID of the object.
func (PullRequestThread) IsNode ¶ added in v0.11.4
func (PullRequestThread) IsNode()
type PullRequestTimelineConnection ¶
type PullRequestTimelineConnection struct { // A list of edges. Edges []*PullRequestTimelineItemEdge `json:"edges"` // A list of nodes. Nodes []PullRequestTimelineItem `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PullRequestTimelineItem.
type PullRequestTimelineItem ¶
type PullRequestTimelineItem interface {
IsPullRequestTimelineItem()
}
An item in a pull request timeline
type PullRequestTimelineItemEdge ¶
type PullRequestTimelineItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node PullRequestTimelineItem `json:"node"` }
An edge in a connection.
type PullRequestTimelineItems ¶
type PullRequestTimelineItems interface {
IsPullRequestTimelineItems()
}
An item in a pull request timeline
type PullRequestTimelineItemsConnection ¶
type PullRequestTimelineItemsConnection struct { // A list of edges. Edges []*PullRequestTimelineItemsEdge `json:"edges"` // Identifies the count of items after applying `before` and `after` filters. FilteredCount int `json:"filteredCount"` // A list of nodes. Nodes []PullRequestTimelineItems `json:"nodes"` // Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. PageCount int `json:"pageCount"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // Identifies the date and time when the timeline was last updated. UpdatedAt time.Time `json:"updatedAt"` }
The connection type for PullRequestTimelineItems.
type PullRequestTimelineItemsEdge ¶
type PullRequestTimelineItemsEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node PullRequestTimelineItems `json:"node"` }
An edge in a connection.
type PullRequestTimelineItemsItemType ¶
type PullRequestTimelineItemsItemType string
The possible item types found in a timeline.
const ( // Represents a Git commit part of a pull request. PullRequestTimelineItemsItemTypePullRequestCommit PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT" // Represents a commit comment thread part of a pull request. PullRequestTimelineItemsItemTypePullRequestCommitCommentThread PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT_COMMENT_THREAD" // A review object for a given pull request. PullRequestTimelineItemsItemTypePullRequestReview PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW" // A threaded list of comments for a given pull request. PullRequestTimelineItemsItemTypePullRequestReviewThread PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW_THREAD" // Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. PullRequestTimelineItemsItemTypePullRequestRevisionMarker PullRequestTimelineItemsItemType = "PULL_REQUEST_REVISION_MARKER" // Represents a 'automatic_base_change_failed' event on a given pull request. PullRequestTimelineItemsItemTypeAutomaticBaseChangeFailedEvent PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_FAILED_EVENT" // Represents a 'automatic_base_change_succeeded' event on a given pull request. PullRequestTimelineItemsItemTypeAutomaticBaseChangeSucceededEvent PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT" // Represents a 'auto_merge_disabled' event on a given pull request. PullRequestTimelineItemsItemTypeAutoMergeDisabledEvent PullRequestTimelineItemsItemType = "AUTO_MERGE_DISABLED_EVENT" // Represents a 'auto_merge_enabled' event on a given pull request. PullRequestTimelineItemsItemTypeAutoMergeEnabledEvent PullRequestTimelineItemsItemType = "AUTO_MERGE_ENABLED_EVENT" // Represents a 'auto_rebase_enabled' event on a given pull request. PullRequestTimelineItemsItemTypeAutoRebaseEnabledEvent PullRequestTimelineItemsItemType = "AUTO_REBASE_ENABLED_EVENT" // Represents a 'auto_squash_enabled' event on a given pull request. PullRequestTimelineItemsItemTypeAutoSquashEnabledEvent PullRequestTimelineItemsItemType = "AUTO_SQUASH_ENABLED_EVENT" // Represents a 'base_ref_changed' event on a given issue or pull request. PullRequestTimelineItemsItemTypeBaseRefChangedEvent PullRequestTimelineItemsItemType = "BASE_REF_CHANGED_EVENT" // Represents a 'base_ref_force_pushed' event on a given pull request. PullRequestTimelineItemsItemTypeBaseRefForcePushedEvent PullRequestTimelineItemsItemType = "BASE_REF_FORCE_PUSHED_EVENT" // Represents a 'base_ref_deleted' event on a given pull request. PullRequestTimelineItemsItemTypeBaseRefDeletedEvent PullRequestTimelineItemsItemType = "BASE_REF_DELETED_EVENT" // Represents a 'deployed' event on a given pull request. PullRequestTimelineItemsItemTypeDeployedEvent PullRequestTimelineItemsItemType = "DEPLOYED_EVENT" // Represents a 'deployment_environment_changed' event on a given pull request. PullRequestTimelineItemsItemTypeDeploymentEnvironmentChangedEvent PullRequestTimelineItemsItemType = "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT" // Represents a 'head_ref_deleted' event on a given pull request. PullRequestTimelineItemsItemTypeHeadRefDeletedEvent PullRequestTimelineItemsItemType = "HEAD_REF_DELETED_EVENT" // Represents a 'head_ref_force_pushed' event on a given pull request. PullRequestTimelineItemsItemTypeHeadRefForcePushedEvent PullRequestTimelineItemsItemType = "HEAD_REF_FORCE_PUSHED_EVENT" // Represents a 'head_ref_restored' event on a given pull request. PullRequestTimelineItemsItemTypeHeadRefRestoredEvent PullRequestTimelineItemsItemType = "HEAD_REF_RESTORED_EVENT" // Represents a 'merged' event on a given pull request. PullRequestTimelineItemsItemTypeMergedEvent PullRequestTimelineItemsItemType = "MERGED_EVENT" // Represents a 'review_dismissed' event on a given issue or pull request. PullRequestTimelineItemsItemTypeReviewDismissedEvent PullRequestTimelineItemsItemType = "REVIEW_DISMISSED_EVENT" // Represents an 'review_requested' event on a given pull request. PullRequestTimelineItemsItemTypeReviewRequestedEvent PullRequestTimelineItemsItemType = "REVIEW_REQUESTED_EVENT" // Represents an 'review_request_removed' event on a given pull request. PullRequestTimelineItemsItemTypeReviewRequestRemovedEvent PullRequestTimelineItemsItemType = "REVIEW_REQUEST_REMOVED_EVENT" // Represents a 'ready_for_review' event on a given pull request. PullRequestTimelineItemsItemTypeReadyForReviewEvent PullRequestTimelineItemsItemType = "READY_FOR_REVIEW_EVENT" // Represents a 'convert_to_draft' event on a given pull request. PullRequestTimelineItemsItemTypeConvertToDraftEvent PullRequestTimelineItemsItemType = "CONVERT_TO_DRAFT_EVENT" // Represents an 'added_to_merge_queue' event on a given pull request. PullRequestTimelineItemsItemTypeAddedToMergeQueueEvent PullRequestTimelineItemsItemType = "ADDED_TO_MERGE_QUEUE_EVENT" // Represents a 'removed_from_merge_queue' event on a given pull request. PullRequestTimelineItemsItemTypeRemovedFromMergeQueueEvent PullRequestTimelineItemsItemType = "REMOVED_FROM_MERGE_QUEUE_EVENT" // Represents a comment on an Issue. PullRequestTimelineItemsItemTypeIssueComment PullRequestTimelineItemsItemType = "ISSUE_COMMENT" // Represents a mention made by one issue or pull request to another. PullRequestTimelineItemsItemTypeCrossReferencedEvent PullRequestTimelineItemsItemType = "CROSS_REFERENCED_EVENT" // Represents a 'added_to_project' event on a given issue or pull request. PullRequestTimelineItemsItemTypeAddedToProjectEvent PullRequestTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT" // Represents an 'assigned' event on any assignable object. PullRequestTimelineItemsItemTypeAssignedEvent PullRequestTimelineItemsItemType = "ASSIGNED_EVENT" // Represents a 'closed' event on any `Closable`. PullRequestTimelineItemsItemTypeClosedEvent PullRequestTimelineItemsItemType = "CLOSED_EVENT" // Represents a 'comment_deleted' event on a given issue or pull request. PullRequestTimelineItemsItemTypeCommentDeletedEvent PullRequestTimelineItemsItemType = "COMMENT_DELETED_EVENT" // Represents a 'connected' event on a given issue or pull request. PullRequestTimelineItemsItemTypeConnectedEvent PullRequestTimelineItemsItemType = "CONNECTED_EVENT" // Represents a 'converted_note_to_issue' event on a given issue or pull request. PullRequestTimelineItemsItemTypeConvertedNoteToIssueEvent PullRequestTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT" // Represents a 'converted_to_discussion' event on a given issue. PullRequestTimelineItemsItemTypeConvertedToDiscussionEvent PullRequestTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT" // Represents a 'demilestoned' event on a given issue or pull request. PullRequestTimelineItemsItemTypeDemilestonedEvent PullRequestTimelineItemsItemType = "DEMILESTONED_EVENT" // Represents a 'disconnected' event on a given issue or pull request. PullRequestTimelineItemsItemTypeDisconnectedEvent PullRequestTimelineItemsItemType = "DISCONNECTED_EVENT" // Represents a 'labeled' event on a given issue or pull request. PullRequestTimelineItemsItemTypeLabeledEvent PullRequestTimelineItemsItemType = "LABELED_EVENT" // Represents a 'locked' event on a given issue or pull request. PullRequestTimelineItemsItemTypeLockedEvent PullRequestTimelineItemsItemType = "LOCKED_EVENT" // Represents a 'marked_as_duplicate' event on a given issue or pull request. PullRequestTimelineItemsItemTypeMarkedAsDuplicateEvent PullRequestTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT" // Represents a 'mentioned' event on a given issue or pull request. PullRequestTimelineItemsItemTypeMentionedEvent PullRequestTimelineItemsItemType = "MENTIONED_EVENT" // Represents a 'milestoned' event on a given issue or pull request. PullRequestTimelineItemsItemTypeMilestonedEvent PullRequestTimelineItemsItemType = "MILESTONED_EVENT" // Represents a 'moved_columns_in_project' event on a given issue or pull request. PullRequestTimelineItemsItemTypeMovedColumnsInProjectEvent PullRequestTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT" // Represents a 'pinned' event on a given issue or pull request. PullRequestTimelineItemsItemTypePinnedEvent PullRequestTimelineItemsItemType = "PINNED_EVENT" // Represents a 'referenced' event on a given `ReferencedSubject`. PullRequestTimelineItemsItemTypeReferencedEvent PullRequestTimelineItemsItemType = "REFERENCED_EVENT" // Represents a 'removed_from_project' event on a given issue or pull request. PullRequestTimelineItemsItemTypeRemovedFromProjectEvent PullRequestTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT" // Represents a 'renamed' event on a given issue or pull request PullRequestTimelineItemsItemTypeRenamedTitleEvent PullRequestTimelineItemsItemType = "RENAMED_TITLE_EVENT" // Represents a 'reopened' event on any `Closable`. PullRequestTimelineItemsItemTypeReopenedEvent PullRequestTimelineItemsItemType = "REOPENED_EVENT" // Represents a 'subscribed' event on a given `Subscribable`. PullRequestTimelineItemsItemTypeSubscribedEvent PullRequestTimelineItemsItemType = "SUBSCRIBED_EVENT" // Represents a 'transferred' event on a given issue or pull request. PullRequestTimelineItemsItemTypeTransferredEvent PullRequestTimelineItemsItemType = "TRANSFERRED_EVENT" // Represents an 'unassigned' event on any assignable object. PullRequestTimelineItemsItemTypeUnassignedEvent PullRequestTimelineItemsItemType = "UNASSIGNED_EVENT" // Represents an 'unlabeled' event on a given issue or pull request. PullRequestTimelineItemsItemTypeUnlabeledEvent PullRequestTimelineItemsItemType = "UNLABELED_EVENT" // Represents an 'unlocked' event on a given issue or pull request. PullRequestTimelineItemsItemTypeUnlockedEvent PullRequestTimelineItemsItemType = "UNLOCKED_EVENT" // Represents a 'user_blocked' event on a given user. PullRequestTimelineItemsItemTypeUserBlockedEvent PullRequestTimelineItemsItemType = "USER_BLOCKED_EVENT" // Represents an 'unmarked_as_duplicate' event on a given issue or pull request. PullRequestTimelineItemsItemTypeUnmarkedAsDuplicateEvent PullRequestTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT" // Represents an 'unpinned' event on a given issue or pull request. PullRequestTimelineItemsItemTypeUnpinnedEvent PullRequestTimelineItemsItemType = "UNPINNED_EVENT" // Represents an 'unsubscribed' event on a given `Subscribable`. PullRequestTimelineItemsItemTypeUnsubscribedEvent PullRequestTimelineItemsItemType = "UNSUBSCRIBED_EVENT" )
func (PullRequestTimelineItemsItemType) IsValid ¶
func (e PullRequestTimelineItemsItemType) IsValid() bool
func (PullRequestTimelineItemsItemType) MarshalGQL ¶
func (e PullRequestTimelineItemsItemType) MarshalGQL(w io.Writer)
func (PullRequestTimelineItemsItemType) String ¶
func (e PullRequestTimelineItemsItemType) String() string
func (*PullRequestTimelineItemsItemType) UnmarshalGQL ¶
func (e *PullRequestTimelineItemsItemType) UnmarshalGQL(v interface{}) error
type PullRequestUpdateState ¶
type PullRequestUpdateState string
The possible target states when updating a pull request.
const ( // A pull request that is still open. PullRequestUpdateStateOpen PullRequestUpdateState = "OPEN" // A pull request that has been closed without being merged. PullRequestUpdateStateClosed PullRequestUpdateState = "CLOSED" )
func (PullRequestUpdateState) IsValid ¶
func (e PullRequestUpdateState) IsValid() bool
func (PullRequestUpdateState) MarshalGQL ¶
func (e PullRequestUpdateState) MarshalGQL(w io.Writer)
func (PullRequestUpdateState) String ¶
func (e PullRequestUpdateState) String() string
func (*PullRequestUpdateState) UnmarshalGQL ¶
func (e *PullRequestUpdateState) UnmarshalGQL(v interface{}) error
type Push ¶
type Push struct { ID string `json:"id"` // The SHA after the push NextSha *string `json:"nextSha"` // The permalink for this push. Permalink string `json:"permalink"` // The SHA before the push PreviousSha *string `json:"previousSha"` // The actor who pushed Pusher Actor `json:"pusher"` // The repository that was pushed to Repository Repository `json:"repository"` }
A Git push.
type PushAllowance ¶
type PushAllowance struct { // The actor that can push. Actor PushAllowanceActor `json:"actor"` // Identifies the branch protection rule associated with the allowed user, team, or app. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` ID string `json:"id"` }
A team, user, or app who has the ability to push to a protected branch.
func (PushAllowance) GetID ¶ added in v0.11.4
func (this PushAllowance) GetID() string
ID of the object.
func (PushAllowance) IsNode ¶
func (PushAllowance) IsNode()
type PushAllowanceActor ¶
type PushAllowanceActor interface {
IsPushAllowanceActor()
}
Types that can be an actor.
type PushAllowanceConnection ¶
type PushAllowanceConnection struct { // A list of edges. Edges []*PushAllowanceEdge `json:"edges"` // A list of nodes. Nodes []*PushAllowance `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PushAllowance.
type PushAllowanceEdge ¶
type PushAllowanceEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *PushAllowance `json:"node"` }
An edge in a connection.
type Query ¶
type Query struct { CodeOfConduct *CodeOfConduct "json:\"codeOfConduct,omitempty\" graphql:\"codeOfConduct\"" CodesOfConduct []*CodeOfConduct "json:\"codesOfConduct,omitempty\" graphql:\"codesOfConduct\"" Enterprise *Enterprise "json:\"enterprise,omitempty\" graphql:\"enterprise\"" EnterpriseAdministratorInvitation *EnterpriseAdministratorInvitation "json:\"enterpriseAdministratorInvitation,omitempty\" graphql:\"enterpriseAdministratorInvitation\"" EnterpriseAdministratorInvitationByToken *EnterpriseAdministratorInvitation "json:\"enterpriseAdministratorInvitationByToken,omitempty\" graphql:\"enterpriseAdministratorInvitationByToken\"" License *License "json:\"license,omitempty\" graphql:\"license\"" Licenses []*License "json:\"licenses\" graphql:\"licenses\"" MarketplaceCategories []*MarketplaceCategory "json:\"marketplaceCategories\" graphql:\"marketplaceCategories\"" MarketplaceCategory *MarketplaceCategory "json:\"marketplaceCategory,omitempty\" graphql:\"marketplaceCategory\"" MarketplaceListing *MarketplaceListing "json:\"marketplaceListing,omitempty\" graphql:\"marketplaceListing\"" MarketplaceListings MarketplaceListingConnection "json:\"marketplaceListings\" graphql:\"marketplaceListings\"" Meta GitHubMetadata "json:\"meta\" graphql:\"meta\"" Node Node "json:\"node,omitempty\" graphql:\"node\"" Nodes []Node "json:\"nodes\" graphql:\"nodes\"" Organization *Organization "json:\"organization,omitempty\" graphql:\"organization\"" RateLimit *RateLimit "json:\"rateLimit,omitempty\" graphql:\"rateLimit\"" Relay *Query "json:\"relay\" graphql:\"relay\"" Repository *Repository "json:\"repository,omitempty\" graphql:\"repository\"" RepositoryOwner RepositoryOwner "json:\"repositoryOwner,omitempty\" graphql:\"repositoryOwner\"" Resource UniformResourceLocatable "json:\"resource,omitempty\" graphql:\"resource\"" Search SearchResultItemConnection "json:\"search\" graphql:\"search\"" SecurityAdvisories SecurityAdvisoryConnection "json:\"securityAdvisories\" graphql:\"securityAdvisories\"" SecurityAdvisory *SecurityAdvisory "json:\"securityAdvisory,omitempty\" graphql:\"securityAdvisory\"" SecurityVulnerabilities SecurityVulnerabilityConnection "json:\"securityVulnerabilities\" graphql:\"securityVulnerabilities\"" Sponsorables SponsorableItemConnection "json:\"sponsorables\" graphql:\"sponsorables\"" Topic *Topic "json:\"topic,omitempty\" graphql:\"topic\"" User *User "json:\"user,omitempty\" graphql:\"user\"" Viewer User "json:\"viewer\" graphql:\"viewer\"" }
type RateLimit ¶
type RateLimit struct { // The point cost for the current query counting against the rate limit. Cost int `json:"cost"` // The maximum number of points the client is permitted to consume in a 60 minute window. Limit int `json:"limit"` // The maximum number of nodes this query may return NodeCount int `json:"nodeCount"` // The number of points remaining in the current rate limit window. Remaining int `json:"remaining"` // The time at which the current rate limit window resets in UTC epoch seconds. ResetAt time.Time `json:"resetAt"` // The number of points used in the current rate limit window. Used int `json:"used"` }
Represents the client's rate limit.
type Reactable ¶
type Reactable interface { IsReactable() // Identifies the primary key from the database. GetDatabaseID() *int GetID() string // A list of reactions grouped by content left on the subject. GetReactionGroups() []*ReactionGroup // A list of Reactions left on the Issue. GetReactions() ReactionConnection // Can user react to this subject GetViewerCanReact() bool }
Represents a subject that can be reacted on.
type ReactingUserConnection ¶
type ReactingUserConnection struct { // A list of edges. Edges []*ReactingUserEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type ReactingUserEdge ¶
type ReactingUserEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` Node User `json:"node"` // The moment when the user made the reaction. ReactedAt time.Time `json:"reactedAt"` }
Represents a user that's made a reaction.
type Reaction ¶
type Reaction struct { // Identifies the emoji reaction. Content ReactionContent `json:"content"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The reactable piece of content Reactable Reactable `json:"reactable"` // Identifies the user who created this reaction. User *User `json:"user"` }
An emoji reaction to a particular piece of content.
type ReactionConnection ¶
type ReactionConnection struct { // A list of edges. Edges []*ReactionEdge `json:"edges"` // A list of nodes. Nodes []*Reaction `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // Whether or not the authenticated user has left a reaction on the subject. ViewerHasReacted bool `json:"viewerHasReacted"` }
A list of reactions that have been left on the subject.
type ReactionContent ¶
type ReactionContent string
Emojis that can be attached to Issues, Pull Requests and Comments.
const ( // Represents the `:+1:` emoji. ReactionContentThumbsUp ReactionContent = "THUMBS_UP" // Represents the `:-1:` emoji. ReactionContentThumbsDown ReactionContent = "THUMBS_DOWN" // Represents the `:laugh:` emoji. ReactionContentLaugh ReactionContent = "LAUGH" // Represents the `:hooray:` emoji. ReactionContentHooray ReactionContent = "HOORAY" // Represents the `:confused:` emoji. ReactionContentConfused ReactionContent = "CONFUSED" // Represents the `:heart:` emoji. ReactionContentHeart ReactionContent = "HEART" // Represents the `:rocket:` emoji. ReactionContentRocket ReactionContent = "ROCKET" // Represents the `:eyes:` emoji. ReactionContentEyes ReactionContent = "EYES" )
func (ReactionContent) IsValid ¶
func (e ReactionContent) IsValid() bool
func (ReactionContent) MarshalGQL ¶
func (e ReactionContent) MarshalGQL(w io.Writer)
func (ReactionContent) String ¶
func (e ReactionContent) String() string
func (*ReactionContent) UnmarshalGQL ¶
func (e *ReactionContent) UnmarshalGQL(v interface{}) error
type ReactionEdge ¶
type ReactionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Reaction `json:"node"` }
An edge in a connection.
type ReactionGroup ¶
type ReactionGroup struct { // Identifies the emoji reaction. Content ReactionContent `json:"content"` // Identifies when the reaction was created. CreatedAt *time.Time `json:"createdAt"` // Reactors to the reaction subject with the emotion represented by this reaction group. Reactors ReactorConnection `json:"reactors"` // The subject that was reacted to. Subject Reactable `json:"subject"` // Users who have reacted to the reaction subject with the emotion represented by this reaction group Users ReactingUserConnection `json:"users"` // Whether or not the authenticated user has left a reaction on the subject. ViewerHasReacted bool `json:"viewerHasReacted"` }
A group of emoji reactions to a particular piece of content.
type ReactionOrder ¶
type ReactionOrder struct { // The field in which to order reactions by. Field ReactionOrderField `json:"field"` // The direction in which to order reactions by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of reactions can be ordered upon return.
type ReactionOrderField ¶
type ReactionOrderField string
A list of fields that reactions can be ordered by.
const ( // Allows ordering a list of reactions by when they were created. ReactionOrderFieldCreatedAt ReactionOrderField = "CREATED_AT" )
func (ReactionOrderField) IsValid ¶
func (e ReactionOrderField) IsValid() bool
func (ReactionOrderField) MarshalGQL ¶
func (e ReactionOrderField) MarshalGQL(w io.Writer)
func (ReactionOrderField) String ¶
func (e ReactionOrderField) String() string
func (*ReactionOrderField) UnmarshalGQL ¶
func (e *ReactionOrderField) UnmarshalGQL(v interface{}) error
type Reactor ¶ added in v0.0.3
type Reactor interface {
IsReactor()
}
Types that can be assigned to reactions.
type ReactorConnection ¶ added in v0.0.3
type ReactorConnection struct { // A list of edges. Edges []*ReactorEdge `json:"edges"` // A list of nodes. Nodes []Reactor `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Reactor.
type ReactorEdge ¶ added in v0.0.3
type ReactorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The author of the reaction. Node Reactor `json:"node"` // The moment when the user made the reaction. ReactedAt time.Time `json:"reactedAt"` }
Represents an author of a reaction.
type ReadyForReviewEvent ¶
type ReadyForReviewEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // The HTTP path for this ready for review event. ResourcePath string `json:"resourcePath"` // The HTTP URL for this ready for review event. URL string `json:"url"` }
Represents a 'ready_for_review' event on a given pull request.
func (ReadyForReviewEvent) GetID ¶ added in v0.11.4
func (this ReadyForReviewEvent) GetID() string
ID of the object.
func (ReadyForReviewEvent) GetResourcePath ¶ added in v0.11.4
func (this ReadyForReviewEvent) GetResourcePath() string
The HTML path to this resource.
func (ReadyForReviewEvent) GetURL ¶ added in v0.11.4
func (this ReadyForReviewEvent) GetURL() string
The URL to this resource.
func (ReadyForReviewEvent) IsNode ¶
func (ReadyForReviewEvent) IsNode()
func (ReadyForReviewEvent) IsPullRequestTimelineItems ¶
func (ReadyForReviewEvent) IsPullRequestTimelineItems()
func (ReadyForReviewEvent) IsUniformResourceLocatable ¶
func (ReadyForReviewEvent) IsUniformResourceLocatable()
type Ref ¶
type Ref struct { // A list of pull requests with this ref as the head ref. AssociatedPullRequests PullRequestConnection `json:"associatedPullRequests"` // Branch protection rules for this ref BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` // Compares the current ref as a base ref to another head ref, if the comparison can be made. Compare *Comparison `json:"compare"` ID string `json:"id"` // The ref name. Name string `json:"name"` // The ref's prefix, such as `refs/heads/` or `refs/tags/`. Prefix string `json:"prefix"` // Branch protection rules that are viewable by non-admins RefUpdateRule *RefUpdateRule `json:"refUpdateRule"` // The repository the ref belongs to. Repository Repository `json:"repository"` // The object the ref points to. Returns null when object does not exist. Target GitObject `json:"target"` }
Represents a Git reference.
type RefConnection ¶
type RefConnection struct { // A list of edges. Edges []*RefEdge `json:"edges"` // A list of nodes. Nodes []*Ref `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Ref.
type RefEdge ¶
type RefEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Ref `json:"node"` }
An edge in a connection.
type RefOrder ¶
type RefOrder struct { // The field in which to order refs by. Field RefOrderField `json:"field"` // The direction in which to order refs by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of git refs can be ordered upon return.
type RefOrderField ¶
type RefOrderField string
Properties by which ref connections can be ordered.
const ( // Order refs by underlying commit date if the ref prefix is refs/tags/ RefOrderFieldTagCommitDate RefOrderField = "TAG_COMMIT_DATE" // Order refs by their alphanumeric name RefOrderFieldAlphabetical RefOrderField = "ALPHABETICAL" )
func (RefOrderField) IsValid ¶
func (e RefOrderField) IsValid() bool
func (RefOrderField) MarshalGQL ¶
func (e RefOrderField) MarshalGQL(w io.Writer)
func (RefOrderField) String ¶
func (e RefOrderField) String() string
func (*RefOrderField) UnmarshalGQL ¶
func (e *RefOrderField) UnmarshalGQL(v interface{}) error
type RefUpdateRule ¶
type RefUpdateRule struct { // Can this branch be deleted. AllowsDeletions bool `json:"allowsDeletions"` // Are force pushes allowed on this branch. AllowsForcePushes bool `json:"allowsForcePushes"` // Can matching branches be created. BlocksCreations bool `json:"blocksCreations"` // Identifies the protection rule pattern. Pattern string `json:"pattern"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts"` // Are reviews from code owners required to update matching branches. RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews"` // Are conversations required to be resolved before merging. RequiresConversationResolution bool `json:"requiresConversationResolution"` // Are merge commits prohibited from being pushed to this branch. RequiresLinearHistory bool `json:"requiresLinearHistory"` // Are commits required to be signed. RequiresSignatures bool `json:"requiresSignatures"` // Is the viewer allowed to dismiss reviews. ViewerAllowedToDismissReviews bool `json:"viewerAllowedToDismissReviews"` // Can the viewer push to the branch ViewerCanPush bool `json:"viewerCanPush"` }
A ref update rules for a viewer.
type ReferencedEvent ¶
type ReferencedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the commit associated with the 'referenced' event. Commit *Commit `json:"commit"` // Identifies the repository associated with the 'referenced' event. CommitRepository Repository `json:"commitRepository"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Reference originated in a different repository. IsCrossRepository bool `json:"isCrossRepository"` // Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. IsDirectReference bool `json:"isDirectReference"` // Object referenced by event. Subject ReferencedSubject `json:"subject"` }
Represents a 'referenced' event on a given `ReferencedSubject`.
func (ReferencedEvent) GetID ¶ added in v0.11.4
func (this ReferencedEvent) GetID() string
ID of the object.
func (ReferencedEvent) IsIssueTimelineItem ¶
func (ReferencedEvent) IsIssueTimelineItem()
func (ReferencedEvent) IsIssueTimelineItems ¶
func (ReferencedEvent) IsIssueTimelineItems()
func (ReferencedEvent) IsNode ¶
func (ReferencedEvent) IsNode()
func (ReferencedEvent) IsPullRequestTimelineItem ¶
func (ReferencedEvent) IsPullRequestTimelineItem()
func (ReferencedEvent) IsPullRequestTimelineItems ¶
func (ReferencedEvent) IsPullRequestTimelineItems()
type ReferencedSubject ¶
type ReferencedSubject interface {
IsReferencedSubject()
}
Any referencable object
type RegenerateEnterpriseIdentityProviderRecoveryCodesInput ¶
type RegenerateEnterpriseIdentityProviderRecoveryCodesInput struct { // The ID of the enterprise on which to set an identity provider. EnterpriseID string `json:"enterpriseId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes
type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload ¶
type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The identity provider for the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider"` }
Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes
type RegenerateVerifiableDomainTokenInput ¶
type RegenerateVerifiableDomainTokenInput struct { // The ID of the verifiable domain to regenerate the verification token of. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RegenerateVerifiableDomainToken
type RegenerateVerifiableDomainTokenPayload ¶
type RegenerateVerifiableDomainTokenPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The verification token that was generated. VerificationToken *string `json:"verificationToken"` }
Autogenerated return type of RegenerateVerifiableDomainToken
type RejectDeploymentsInput ¶ added in v0.0.3
type RejectDeploymentsInput struct { // The node ID of the workflow run containing the pending deployments. WorkflowRunID string `json:"workflowRunId"` // The ids of environments to reject deployments EnvironmentIds []string `json:"environmentIds"` // Optional comment for rejecting deployments Comment *string `json:"comment,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RejectDeployments
type RejectDeploymentsPayload ¶ added in v0.0.3
type RejectDeploymentsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The affected deployments. Deployments []*Deployment `json:"deployments"` }
Autogenerated return type of RejectDeployments
type Release ¶
type Release struct { // The author of the release Author *User `json:"author"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The description of the release. Description *string `json:"description"` // The description of this release rendered to HTML. DescriptionHTML *string `json:"descriptionHTML"` ID string `json:"id"` // Whether or not the release is a draft IsDraft bool `json:"isDraft"` // Whether or not the release is the latest releast IsLatest bool `json:"isLatest"` // Whether or not the release is a prerelease IsPrerelease bool `json:"isPrerelease"` // A list of users mentioned in the release description Mentions *UserConnection `json:"mentions"` // The title of the release. Name *string `json:"name"` // Identifies the date and time when the release was created. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // List of releases assets which are dependent on this release. ReleaseAssets ReleaseAssetConnection `json:"releaseAssets"` // The repository that the release belongs to. Repository Repository `json:"repository"` // The HTTP path for this issue ResourcePath string `json:"resourcePath"` // A description of the release, rendered to HTML without any links in it. ShortDescriptionHTML *string `json:"shortDescriptionHTML"` // The Git tag the release points to Tag *Ref `json:"tag"` // The tag commit for this release. TagCommit *Commit `json:"tagCommit"` // The name of the release's Git tag TagName string `json:"tagName"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this issue URL string `json:"url"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` }
A release contains the content for a release.
func (Release) GetDatabaseID ¶ added in v0.11.4
Identifies the primary key from the database.
func (Release) GetReactionGroups ¶ added in v0.11.4
func (this Release) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (Release) GetReactions ¶ added in v0.11.4
func (this Release) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (Release) GetResourcePath ¶ added in v0.11.4
The HTML path to this resource.
func (Release) GetViewerCanReact ¶ added in v0.11.4
Can user react to this subject
func (Release) IsReactable ¶ added in v0.0.3
func (Release) IsReactable()
func (Release) IsUniformResourceLocatable ¶
func (Release) IsUniformResourceLocatable()
type ReleaseAsset ¶
type ReleaseAsset struct { // The asset's content-type ContentType string `json:"contentType"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The number of times this asset was downloaded DownloadCount int `json:"downloadCount"` // Identifies the URL where you can download the release asset via the browser. DownloadURL string `json:"downloadUrl"` ID string `json:"id"` // Identifies the title of the release asset. Name string `json:"name"` // Release that the asset is associated with Release *Release `json:"release"` // The size (in bytes) of the asset Size int `json:"size"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The user that performed the upload UploadedBy User `json:"uploadedBy"` // Identifies the URL of the release asset. URL string `json:"url"` }
A release asset contains the content for a release asset.
func (ReleaseAsset) GetID ¶ added in v0.11.4
func (this ReleaseAsset) GetID() string
ID of the object.
func (ReleaseAsset) IsNode ¶
func (ReleaseAsset) IsNode()
type ReleaseAssetConnection ¶
type ReleaseAssetConnection struct { // A list of edges. Edges []*ReleaseAssetEdge `json:"edges"` // A list of nodes. Nodes []*ReleaseAsset `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ReleaseAsset.
type ReleaseAssetEdge ¶
type ReleaseAssetEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ReleaseAsset `json:"node"` }
An edge in a connection.
type ReleaseConnection ¶
type ReleaseConnection struct { // A list of edges. Edges []*ReleaseEdge `json:"edges"` // A list of nodes. Nodes []*Release `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Release.
type ReleaseEdge ¶
type ReleaseEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Release `json:"node"` }
An edge in a connection.
type ReleaseOrder ¶
type ReleaseOrder struct { // The field in which to order releases by. Field ReleaseOrderField `json:"field"` // The direction in which to order releases by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of releases can be ordered upon return.
type ReleaseOrderField ¶
type ReleaseOrderField string
Properties by which release connections can be ordered.
const ( // Order releases by creation time ReleaseOrderFieldCreatedAt ReleaseOrderField = "CREATED_AT" // Order releases alphabetically by name ReleaseOrderFieldName ReleaseOrderField = "NAME" )
func (ReleaseOrderField) IsValid ¶
func (e ReleaseOrderField) IsValid() bool
func (ReleaseOrderField) MarshalGQL ¶
func (e ReleaseOrderField) MarshalGQL(w io.Writer)
func (ReleaseOrderField) String ¶
func (e ReleaseOrderField) String() string
func (*ReleaseOrderField) UnmarshalGQL ¶
func (e *ReleaseOrderField) UnmarshalGQL(v interface{}) error
type RemoveAssigneesFromAssignableInput ¶
type RemoveAssigneesFromAssignableInput struct { // The id of the assignable object to remove assignees from. AssignableID string `json:"assignableId"` // The id of users to remove as assignees. AssigneeIds []string `json:"assigneeIds"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveAssigneesFromAssignable
type RemoveAssigneesFromAssignablePayload ¶
type RemoveAssigneesFromAssignablePayload struct { // The item that was unassigned. Assignable Assignable `json:"assignable"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of RemoveAssigneesFromAssignable
type RemoveEnterpriseAdminInput ¶
type RemoveEnterpriseAdminInput struct { // The Enterprise ID from which to remove the administrator. EnterpriseID string `json:"enterpriseId"` // The login of the user to remove as an administrator. Login string `json:"login"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveEnterpriseAdmin
type RemoveEnterpriseAdminPayload ¶
type RemoveEnterpriseAdminPayload struct { // The user who was removed as an administrator. Admin *User `json:"admin"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of removing an administrator. Message *string `json:"message"` // The viewer performing the mutation. Viewer *User `json:"viewer"` }
Autogenerated return type of RemoveEnterpriseAdmin
type RemoveEnterpriseIdentityProviderInput ¶
type RemoveEnterpriseIdentityProviderInput struct { // The ID of the enterprise from which to remove the identity provider. EnterpriseID string `json:"enterpriseId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveEnterpriseIdentityProvider
type RemoveEnterpriseIdentityProviderPayload ¶
type RemoveEnterpriseIdentityProviderPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The identity provider that was removed from the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider"` }
Autogenerated return type of RemoveEnterpriseIdentityProvider
type RemoveEnterpriseMemberInput ¶ added in v0.11.4
type RemoveEnterpriseMemberInput struct { // The ID of the enterprise from which the user should be removed. EnterpriseID string `json:"enterpriseId"` // The ID of the user to remove from the enterprise. UserID string `json:"userId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveEnterpriseMember
type RemoveEnterpriseMemberPayload ¶ added in v0.11.4
type RemoveEnterpriseMemberPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise"` // The user that was removed from the enterprise. User *User `json:"user"` // The viewer performing the mutation. Viewer *User `json:"viewer"` }
Autogenerated return type of RemoveEnterpriseMember
type RemoveEnterpriseOrganizationInput ¶
type RemoveEnterpriseOrganizationInput struct { // The ID of the enterprise from which the organization should be removed. EnterpriseID string `json:"enterpriseId"` // The ID of the organization to remove from the enterprise. OrganizationID string `json:"organizationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveEnterpriseOrganization
type RemoveEnterpriseOrganizationPayload ¶
type RemoveEnterpriseOrganizationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise"` // The organization that was removed from the enterprise. Organization *Organization `json:"organization"` // The viewer performing the mutation. Viewer *User `json:"viewer"` }
Autogenerated return type of RemoveEnterpriseOrganization
type RemoveEnterpriseSupportEntitlementInput ¶
type RemoveEnterpriseSupportEntitlementInput struct { // The ID of the Enterprise which the admin belongs to. EnterpriseID string `json:"enterpriseId"` // The login of a member who will lose the support entitlement. Login string `json:"login"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveEnterpriseSupportEntitlement
type RemoveEnterpriseSupportEntitlementPayload ¶
type RemoveEnterpriseSupportEntitlementPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of removing the support entitlement. Message *string `json:"message"` }
Autogenerated return type of RemoveEnterpriseSupportEntitlement
type RemoveLabelsFromLabelableInput ¶
type RemoveLabelsFromLabelableInput struct { // The id of the Labelable to remove labels from. LabelableID string `json:"labelableId"` // The ids of labels to remove. LabelIds []string `json:"labelIds"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveLabelsFromLabelable
type RemoveLabelsFromLabelablePayload ¶
type RemoveLabelsFromLabelablePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The Labelable the labels were removed from. Labelable Labelable `json:"labelable"` }
Autogenerated return type of RemoveLabelsFromLabelable
type RemoveOutsideCollaboratorInput ¶
type RemoveOutsideCollaboratorInput struct { // The ID of the outside collaborator to remove. UserID string `json:"userId"` // The ID of the organization to remove the outside collaborator from. OrganizationID string `json:"organizationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveOutsideCollaborator
type RemoveOutsideCollaboratorPayload ¶
type RemoveOutsideCollaboratorPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The user that was removed as an outside collaborator. RemovedUser *User `json:"removedUser"` }
Autogenerated return type of RemoveOutsideCollaborator
type RemoveReactionInput ¶
type RemoveReactionInput struct { // The Node ID of the subject to modify. SubjectID string `json:"subjectId"` // The name of the emoji reaction to remove. Content ReactionContent `json:"content"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveReaction
type RemoveReactionPayload ¶
type RemoveReactionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The reaction object. Reaction *Reaction `json:"reaction"` // The reaction groups for the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // The reactable subject. Subject Reactable `json:"subject"` }
Autogenerated return type of RemoveReaction
type RemoveStarInput ¶
type RemoveStarInput struct { // The Starrable ID to unstar. StarrableID string `json:"starrableId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveStar
type RemoveStarPayload ¶
type RemoveStarPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The starrable. Starrable Starrable `json:"starrable"` }
Autogenerated return type of RemoveStar
type RemoveUpvoteInput ¶ added in v0.0.3
type RemoveUpvoteInput struct { // The Node ID of the discussion or comment to remove upvote. SubjectID string `json:"subjectId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RemoveUpvote
type RemoveUpvotePayload ¶ added in v0.0.3
type RemoveUpvotePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The votable subject. Subject Votable `json:"subject"` }
Autogenerated return type of RemoveUpvote
type RemovedFromProjectEvent ¶
type RemovedFromProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` }
Represents a 'removed_from_project' event on a given issue or pull request.
func (RemovedFromProjectEvent) GetID ¶ added in v0.11.4
func (this RemovedFromProjectEvent) GetID() string
ID of the object.
func (RemovedFromProjectEvent) IsIssueTimelineItems ¶
func (RemovedFromProjectEvent) IsIssueTimelineItems()
func (RemovedFromProjectEvent) IsNode ¶
func (RemovedFromProjectEvent) IsNode()
func (RemovedFromProjectEvent) IsPullRequestTimelineItems ¶
func (RemovedFromProjectEvent) IsPullRequestTimelineItems()
type RenamedTitleEvent ¶
type RenamedTitleEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the current title of the issue or pull request. CurrentTitle string `json:"currentTitle"` ID string `json:"id"` // Identifies the previous title of the issue or pull request. PreviousTitle string `json:"previousTitle"` // Subject that was renamed. Subject RenamedTitleSubject `json:"subject"` }
Represents a 'renamed' event on a given issue or pull request
func (RenamedTitleEvent) GetID ¶ added in v0.11.4
func (this RenamedTitleEvent) GetID() string
ID of the object.
func (RenamedTitleEvent) IsIssueTimelineItem ¶
func (RenamedTitleEvent) IsIssueTimelineItem()
func (RenamedTitleEvent) IsIssueTimelineItems ¶
func (RenamedTitleEvent) IsIssueTimelineItems()
func (RenamedTitleEvent) IsNode ¶
func (RenamedTitleEvent) IsNode()
func (RenamedTitleEvent) IsPullRequestTimelineItem ¶
func (RenamedTitleEvent) IsPullRequestTimelineItem()
func (RenamedTitleEvent) IsPullRequestTimelineItems ¶
func (RenamedTitleEvent) IsPullRequestTimelineItems()
type RenamedTitleSubject ¶
type RenamedTitleSubject interface {
IsRenamedTitleSubject()
}
An object which has a renamable title
type ReopenIssueInput ¶
type ReopenIssueInput struct { // ID of the issue to be opened. IssueID string `json:"issueId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ReopenIssue
type ReopenIssuePayload ¶
type ReopenIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue that was opened. Issue *Issue `json:"issue"` }
Autogenerated return type of ReopenIssue
type ReopenPullRequestInput ¶
type ReopenPullRequestInput struct { // ID of the pull request to be reopened. PullRequestID string `json:"pullRequestId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ReopenPullRequest
type ReopenPullRequestPayload ¶
type ReopenPullRequestPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that was reopened. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of ReopenPullRequest
type ReopenedEvent ¶
type ReopenedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Object that was reopened. Closable Closable `json:"closable"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The reason the issue state was changed to open. StateReason *IssueStateReason `json:"stateReason"` }
Represents a 'reopened' event on any `Closable`.
func (ReopenedEvent) GetID ¶ added in v0.11.4
func (this ReopenedEvent) GetID() string
ID of the object.
func (ReopenedEvent) IsIssueTimelineItem ¶
func (ReopenedEvent) IsIssueTimelineItem()
func (ReopenedEvent) IsIssueTimelineItems ¶
func (ReopenedEvent) IsIssueTimelineItems()
func (ReopenedEvent) IsNode ¶
func (ReopenedEvent) IsNode()
func (ReopenedEvent) IsPullRequestTimelineItem ¶
func (ReopenedEvent) IsPullRequestTimelineItem()
func (ReopenedEvent) IsPullRequestTimelineItems ¶
func (ReopenedEvent) IsPullRequestTimelineItems()
type RepoAccessAuditEntry ¶
type RepoAccessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoAccessAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.access event.
func (RepoAccessAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetAction() string
The action name
func (RepoAccessAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoAccessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoAccessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoAccessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoAccessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoAccessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoAccessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoAccessAuditEntry) GetID ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetID() string
ID of the object.
func (RepoAccessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoAccessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoAccessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoAccessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoAccessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoAccessAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoAccessAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoAccessAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoAccessAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoAccessAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetUser() *User
The user affected by the action
func (RepoAccessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoAccessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoAccessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoAccessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoAccessAuditEntry) IsAuditEntry ¶
func (RepoAccessAuditEntry) IsAuditEntry()
func (RepoAccessAuditEntry) IsNode ¶
func (RepoAccessAuditEntry) IsNode()
func (RepoAccessAuditEntry) IsOrganizationAuditEntry ¶
func (RepoAccessAuditEntry) IsOrganizationAuditEntry()
func (RepoAccessAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoAccessAuditEntry) IsOrganizationAuditEntryData()
func (RepoAccessAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoAccessAuditEntry) IsRepositoryAuditEntryData()
type RepoAccessAuditEntryVisibility ¶
type RepoAccessAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoAccessAuditEntryVisibilityInternal RepoAccessAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoAccessAuditEntryVisibilityPrivate RepoAccessAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoAccessAuditEntryVisibilityPublic RepoAccessAuditEntryVisibility = "PUBLIC" )
func (RepoAccessAuditEntryVisibility) IsValid ¶
func (e RepoAccessAuditEntryVisibility) IsValid() bool
func (RepoAccessAuditEntryVisibility) MarshalGQL ¶
func (e RepoAccessAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoAccessAuditEntryVisibility) String ¶
func (e RepoAccessAuditEntryVisibility) String() string
func (*RepoAccessAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoAccessAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoAddMemberAuditEntry ¶
type RepoAddMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoAddMemberAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.add_member event.
func (RepoAddMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetAction() string
The action name
func (RepoAddMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoAddMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoAddMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoAddMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoAddMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoAddMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoAddMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoAddMemberAuditEntry) GetID ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetID() string
ID of the object.
func (RepoAddMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoAddMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoAddMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoAddMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoAddMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoAddMemberAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoAddMemberAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoAddMemberAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoAddMemberAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoAddMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetUser() *User
The user affected by the action
func (RepoAddMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoAddMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoAddMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoAddMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoAddMemberAuditEntry) IsAuditEntry ¶
func (RepoAddMemberAuditEntry) IsAuditEntry()
func (RepoAddMemberAuditEntry) IsNode ¶
func (RepoAddMemberAuditEntry) IsNode()
func (RepoAddMemberAuditEntry) IsOrganizationAuditEntry ¶
func (RepoAddMemberAuditEntry) IsOrganizationAuditEntry()
func (RepoAddMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoAddMemberAuditEntry) IsOrganizationAuditEntryData()
func (RepoAddMemberAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoAddMemberAuditEntry) IsRepositoryAuditEntryData()
type RepoAddMemberAuditEntryVisibility ¶
type RepoAddMemberAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoAddMemberAuditEntryVisibilityInternal RepoAddMemberAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoAddMemberAuditEntryVisibilityPrivate RepoAddMemberAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoAddMemberAuditEntryVisibilityPublic RepoAddMemberAuditEntryVisibility = "PUBLIC" )
func (RepoAddMemberAuditEntryVisibility) IsValid ¶
func (e RepoAddMemberAuditEntryVisibility) IsValid() bool
func (RepoAddMemberAuditEntryVisibility) MarshalGQL ¶
func (e RepoAddMemberAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoAddMemberAuditEntryVisibility) String ¶
func (e RepoAddMemberAuditEntryVisibility) String() string
func (*RepoAddMemberAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoAddMemberAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoAddTopicAuditEntry ¶
type RepoAddTopicAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The name of the topic added to the repository Topic *Topic `json:"topic"` // The name of the topic added to the repository TopicName *string `json:"topicName"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.add_topic event.
func (RepoAddTopicAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetAction() string
The action name
func (RepoAddTopicAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoAddTopicAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoAddTopicAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoAddTopicAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoAddTopicAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoAddTopicAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoAddTopicAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoAddTopicAuditEntry) GetID ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetID() string
ID of the object.
func (RepoAddTopicAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoAddTopicAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoAddTopicAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoAddTopicAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoAddTopicAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoAddTopicAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoAddTopicAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoAddTopicAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoAddTopicAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoAddTopicAuditEntry) GetTopic ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetTopic() *Topic
The name of the topic added to the repository
func (RepoAddTopicAuditEntry) GetTopicName ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetTopicName() *string
The name of the topic added to the repository
func (RepoAddTopicAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetUser() *User
The user affected by the action
func (RepoAddTopicAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoAddTopicAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoAddTopicAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoAddTopicAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoAddTopicAuditEntry) IsAuditEntry ¶
func (RepoAddTopicAuditEntry) IsAuditEntry()
func (RepoAddTopicAuditEntry) IsNode ¶
func (RepoAddTopicAuditEntry) IsNode()
func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry ¶
func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry()
func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData()
func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData()
func (RepoAddTopicAuditEntry) IsTopicAuditEntryData ¶
func (RepoAddTopicAuditEntry) IsTopicAuditEntryData()
type RepoArchivedAuditEntry ¶
type RepoArchivedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoArchivedAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.archived event.
func (RepoArchivedAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetAction() string
The action name
func (RepoArchivedAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoArchivedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoArchivedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoArchivedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoArchivedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoArchivedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoArchivedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoArchivedAuditEntry) GetID ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetID() string
ID of the object.
func (RepoArchivedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoArchivedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoArchivedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoArchivedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoArchivedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoArchivedAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoArchivedAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoArchivedAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoArchivedAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoArchivedAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetUser() *User
The user affected by the action
func (RepoArchivedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoArchivedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoArchivedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoArchivedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoArchivedAuditEntry) IsAuditEntry ¶
func (RepoArchivedAuditEntry) IsAuditEntry()
func (RepoArchivedAuditEntry) IsNode ¶
func (RepoArchivedAuditEntry) IsNode()
func (RepoArchivedAuditEntry) IsOrganizationAuditEntry ¶
func (RepoArchivedAuditEntry) IsOrganizationAuditEntry()
func (RepoArchivedAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoArchivedAuditEntry) IsOrganizationAuditEntryData()
func (RepoArchivedAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoArchivedAuditEntry) IsRepositoryAuditEntryData()
type RepoArchivedAuditEntryVisibility ¶
type RepoArchivedAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoArchivedAuditEntryVisibilityInternal RepoArchivedAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoArchivedAuditEntryVisibilityPrivate RepoArchivedAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoArchivedAuditEntryVisibilityPublic RepoArchivedAuditEntryVisibility = "PUBLIC" )
func (RepoArchivedAuditEntryVisibility) IsValid ¶
func (e RepoArchivedAuditEntryVisibility) IsValid() bool
func (RepoArchivedAuditEntryVisibility) MarshalGQL ¶
func (e RepoArchivedAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoArchivedAuditEntryVisibility) String ¶
func (e RepoArchivedAuditEntryVisibility) String() string
func (*RepoArchivedAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoArchivedAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoChangeMergeSettingAuditEntry ¶
type RepoChangeMergeSettingAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the change was to enable (true) or disable (false) the merge type IsEnabled *bool `json:"isEnabled"` // The merge method affected by the change MergeType *RepoChangeMergeSettingAuditEntryMergeType `json:"mergeType"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.change_merge_setting event.
func (RepoChangeMergeSettingAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetAction() string
The action name
func (RepoChangeMergeSettingAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoChangeMergeSettingAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoChangeMergeSettingAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoChangeMergeSettingAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoChangeMergeSettingAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoChangeMergeSettingAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoChangeMergeSettingAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoChangeMergeSettingAuditEntry) GetID ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetID() string
ID of the object.
func (RepoChangeMergeSettingAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoChangeMergeSettingAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoChangeMergeSettingAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoChangeMergeSettingAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoChangeMergeSettingAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoChangeMergeSettingAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoChangeMergeSettingAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoChangeMergeSettingAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetUser() *User
The user affected by the action
func (RepoChangeMergeSettingAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoChangeMergeSettingAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoChangeMergeSettingAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoChangeMergeSettingAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoChangeMergeSettingAuditEntry) IsAuditEntry ¶
func (RepoChangeMergeSettingAuditEntry) IsAuditEntry()
func (RepoChangeMergeSettingAuditEntry) IsNode ¶
func (RepoChangeMergeSettingAuditEntry) IsNode()
func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry ¶
func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry()
func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData()
func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData()
type RepoChangeMergeSettingAuditEntryMergeType ¶
type RepoChangeMergeSettingAuditEntryMergeType string
The merge options available for pull requests to this repository.
const ( // The pull request is added to the base branch in a merge commit. RepoChangeMergeSettingAuditEntryMergeTypeMerge RepoChangeMergeSettingAuditEntryMergeType = "MERGE" // Commits from the pull request are added onto the base branch individually without a merge commit. RepoChangeMergeSettingAuditEntryMergeTypeRebase RepoChangeMergeSettingAuditEntryMergeType = "REBASE" // The pull request's commits are squashed into a single commit before they are merged to the base branch. RepoChangeMergeSettingAuditEntryMergeTypeSquash RepoChangeMergeSettingAuditEntryMergeType = "SQUASH" )
func (RepoChangeMergeSettingAuditEntryMergeType) IsValid ¶
func (e RepoChangeMergeSettingAuditEntryMergeType) IsValid() bool
func (RepoChangeMergeSettingAuditEntryMergeType) MarshalGQL ¶
func (e RepoChangeMergeSettingAuditEntryMergeType) MarshalGQL(w io.Writer)
func (RepoChangeMergeSettingAuditEntryMergeType) String ¶
func (e RepoChangeMergeSettingAuditEntryMergeType) String() string
func (*RepoChangeMergeSettingAuditEntryMergeType) UnmarshalGQL ¶
func (e *RepoChangeMergeSettingAuditEntryMergeType) UnmarshalGQL(v interface{}) error
type RepoConfigDisableAnonymousGitAccessAuditEntry ¶
type RepoConfigDisableAnonymousGitAccessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.disable_anonymous_git_access event.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction() string
The action name
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetID() string
ID of the object.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsAuditEntry ¶
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsAuditEntry()
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsNode ¶
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsNode()
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigDisableCollaboratorsOnlyAuditEntry ¶
type RepoConfigDisableCollaboratorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.disable_collaborators_only event.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction() string
The action name
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetID() string
ID of the object.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry ¶
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry()
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsNode ¶
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsNode()
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigDisableContributorsOnlyAuditEntry ¶
type RepoConfigDisableContributorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.disable_contributors_only event.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetAction() string
The action name
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigDisableContributorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetID() string
ID of the object.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigDisableContributorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigDisableContributorsOnlyAuditEntry) IsAuditEntry ¶
func (RepoConfigDisableContributorsOnlyAuditEntry) IsAuditEntry()
func (RepoConfigDisableContributorsOnlyAuditEntry) IsNode ¶
func (RepoConfigDisableContributorsOnlyAuditEntry) IsNode()
func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigDisableSockpuppetDisallowedAuditEntry ¶
type RepoConfigDisableSockpuppetDisallowedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.disable_sockpuppet_disallowed event.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction() string
The action name
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetID() string
ID of the object.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsAuditEntry ¶
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsAuditEntry()
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsNode ¶
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsNode()
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigEnableAnonymousGitAccessAuditEntry ¶
type RepoConfigEnableAnonymousGitAccessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.enable_anonymous_git_access event.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction() string
The action name
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetID() string
ID of the object.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsAuditEntry ¶
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsAuditEntry()
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsNode ¶
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsNode()
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigEnableCollaboratorsOnlyAuditEntry ¶
type RepoConfigEnableCollaboratorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.enable_collaborators_only event.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction() string
The action name
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetID() string
ID of the object.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry ¶
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry()
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsNode ¶
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsNode()
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigEnableContributorsOnlyAuditEntry ¶
type RepoConfigEnableContributorsOnlyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.enable_contributors_only event.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetAction() string
The action name
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigEnableContributorsOnlyAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetID() string
ID of the object.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigEnableContributorsOnlyAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigEnableContributorsOnlyAuditEntry) IsAuditEntry ¶
func (RepoConfigEnableContributorsOnlyAuditEntry) IsAuditEntry()
func (RepoConfigEnableContributorsOnlyAuditEntry) IsNode ¶
func (RepoConfigEnableContributorsOnlyAuditEntry) IsNode()
func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigEnableSockpuppetDisallowedAuditEntry ¶
type RepoConfigEnableSockpuppetDisallowedAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.enable_sockpuppet_disallowed event.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction() string
The action name
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetID() string
ID of the object.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsAuditEntry ¶
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsAuditEntry()
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsNode ¶
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsNode()
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigLockAnonymousGitAccessAuditEntry ¶
type RepoConfigLockAnonymousGitAccessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.lock_anonymous_git_access event.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetAction() string
The action name
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetID() string
ID of the object.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsAuditEntry ¶
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsAuditEntry()
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsNode ¶
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsNode()
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
type RepoConfigUnlockAnonymousGitAccessAuditEntry ¶
type RepoConfigUnlockAnonymousGitAccessAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.config.unlock_anonymous_git_access event.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction() string
The action name
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetID ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetID() string
ID of the object.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser() *User
The user affected by the action
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsAuditEntry ¶
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsAuditEntry()
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsNode ¶
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsNode()
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry ¶
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
type RepoCreateAuditEntry ¶
type RepoCreateAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The name of the parent repository for this forked repository. ForkParentName *string `json:"forkParentName"` // The name of the root repository for this network. ForkSourceName *string `json:"forkSourceName"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoCreateAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.create event.
func (RepoCreateAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetAction() string
The action name
func (RepoCreateAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoCreateAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoCreateAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoCreateAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoCreateAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoCreateAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoCreateAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoCreateAuditEntry) GetID ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetID() string
ID of the object.
func (RepoCreateAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoCreateAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoCreateAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoCreateAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoCreateAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoCreateAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoCreateAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoCreateAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoCreateAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoCreateAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetUser() *User
The user affected by the action
func (RepoCreateAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoCreateAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoCreateAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoCreateAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoCreateAuditEntry) IsAuditEntry ¶
func (RepoCreateAuditEntry) IsAuditEntry()
func (RepoCreateAuditEntry) IsNode ¶
func (RepoCreateAuditEntry) IsNode()
func (RepoCreateAuditEntry) IsOrganizationAuditEntry ¶
func (RepoCreateAuditEntry) IsOrganizationAuditEntry()
func (RepoCreateAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoCreateAuditEntry) IsOrganizationAuditEntryData()
func (RepoCreateAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoCreateAuditEntry) IsRepositoryAuditEntryData()
type RepoCreateAuditEntryVisibility ¶
type RepoCreateAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoCreateAuditEntryVisibilityInternal RepoCreateAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoCreateAuditEntryVisibilityPrivate RepoCreateAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoCreateAuditEntryVisibilityPublic RepoCreateAuditEntryVisibility = "PUBLIC" )
func (RepoCreateAuditEntryVisibility) IsValid ¶
func (e RepoCreateAuditEntryVisibility) IsValid() bool
func (RepoCreateAuditEntryVisibility) MarshalGQL ¶
func (e RepoCreateAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoCreateAuditEntryVisibility) String ¶
func (e RepoCreateAuditEntryVisibility) String() string
func (*RepoCreateAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoCreateAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoDestroyAuditEntry ¶
type RepoDestroyAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoDestroyAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.destroy event.
func (RepoDestroyAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetAction() string
The action name
func (RepoDestroyAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoDestroyAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoDestroyAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoDestroyAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoDestroyAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoDestroyAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoDestroyAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoDestroyAuditEntry) GetID ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetID() string
ID of the object.
func (RepoDestroyAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoDestroyAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoDestroyAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoDestroyAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoDestroyAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoDestroyAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoDestroyAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoDestroyAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoDestroyAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoDestroyAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetUser() *User
The user affected by the action
func (RepoDestroyAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoDestroyAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoDestroyAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoDestroyAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoDestroyAuditEntry) IsAuditEntry ¶
func (RepoDestroyAuditEntry) IsAuditEntry()
func (RepoDestroyAuditEntry) IsNode ¶
func (RepoDestroyAuditEntry) IsNode()
func (RepoDestroyAuditEntry) IsOrganizationAuditEntry ¶
func (RepoDestroyAuditEntry) IsOrganizationAuditEntry()
func (RepoDestroyAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoDestroyAuditEntry) IsOrganizationAuditEntryData()
func (RepoDestroyAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoDestroyAuditEntry) IsRepositoryAuditEntryData()
type RepoDestroyAuditEntryVisibility ¶
type RepoDestroyAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoDestroyAuditEntryVisibilityInternal RepoDestroyAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoDestroyAuditEntryVisibilityPrivate RepoDestroyAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoDestroyAuditEntryVisibilityPublic RepoDestroyAuditEntryVisibility = "PUBLIC" )
func (RepoDestroyAuditEntryVisibility) IsValid ¶
func (e RepoDestroyAuditEntryVisibility) IsValid() bool
func (RepoDestroyAuditEntryVisibility) MarshalGQL ¶
func (e RepoDestroyAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoDestroyAuditEntryVisibility) String ¶
func (e RepoDestroyAuditEntryVisibility) String() string
func (*RepoDestroyAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoDestroyAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoRemoveMemberAuditEntry ¶
type RepoRemoveMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` // The visibility of the repository Visibility *RepoRemoveMemberAuditEntryVisibility `json:"visibility"` }
Audit log entry for a repo.remove_member event.
func (RepoRemoveMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetAction() string
The action name
func (RepoRemoveMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoRemoveMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoRemoveMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoRemoveMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoRemoveMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoRemoveMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoRemoveMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoRemoveMemberAuditEntry) GetID ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetID() string
ID of the object.
func (RepoRemoveMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoRemoveMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoRemoveMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoRemoveMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoRemoveMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoRemoveMemberAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoRemoveMemberAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoRemoveMemberAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoRemoveMemberAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoRemoveMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetUser() *User
The user affected by the action
func (RepoRemoveMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoRemoveMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoRemoveMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoRemoveMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoRemoveMemberAuditEntry) IsAuditEntry ¶
func (RepoRemoveMemberAuditEntry) IsAuditEntry()
func (RepoRemoveMemberAuditEntry) IsNode ¶
func (RepoRemoveMemberAuditEntry) IsNode()
func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntry ¶
func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntry()
func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
func (RepoRemoveMemberAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoRemoveMemberAuditEntry) IsRepositoryAuditEntryData()
type RepoRemoveMemberAuditEntryVisibility ¶
type RepoRemoveMemberAuditEntryVisibility string
The privacy of a repository
const ( // The repository is visible only to users in the same business. RepoRemoveMemberAuditEntryVisibilityInternal RepoRemoveMemberAuditEntryVisibility = "INTERNAL" // The repository is visible only to those with explicit access. RepoRemoveMemberAuditEntryVisibilityPrivate RepoRemoveMemberAuditEntryVisibility = "PRIVATE" // The repository is visible to everyone. RepoRemoveMemberAuditEntryVisibilityPublic RepoRemoveMemberAuditEntryVisibility = "PUBLIC" )
func (RepoRemoveMemberAuditEntryVisibility) IsValid ¶
func (e RepoRemoveMemberAuditEntryVisibility) IsValid() bool
func (RepoRemoveMemberAuditEntryVisibility) MarshalGQL ¶
func (e RepoRemoveMemberAuditEntryVisibility) MarshalGQL(w io.Writer)
func (RepoRemoveMemberAuditEntryVisibility) String ¶
func (e RepoRemoveMemberAuditEntryVisibility) String() string
func (*RepoRemoveMemberAuditEntryVisibility) UnmarshalGQL ¶
func (e *RepoRemoveMemberAuditEntryVisibility) UnmarshalGQL(v interface{}) error
type RepoRemoveTopicAuditEntry ¶
type RepoRemoveTopicAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The name of the topic added to the repository Topic *Topic `json:"topic"` // The name of the topic added to the repository TopicName *string `json:"topicName"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repo.remove_topic event.
func (RepoRemoveTopicAuditEntry) GetAction ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetAction() string
The action name
func (RepoRemoveTopicAuditEntry) GetActor ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepoRemoveTopicAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepoRemoveTopicAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepoRemoveTopicAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepoRemoveTopicAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepoRemoveTopicAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepoRemoveTopicAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepoRemoveTopicAuditEntry) GetID ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetID() string
ID of the object.
func (RepoRemoveTopicAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepoRemoveTopicAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepoRemoveTopicAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepoRemoveTopicAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepoRemoveTopicAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepoRemoveTopicAuditEntry) GetRepository ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetRepository() *Repository
The repository associated with the action
func (RepoRemoveTopicAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetRepositoryName() *string
The name of the repository
func (RepoRemoveTopicAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (RepoRemoveTopicAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (RepoRemoveTopicAuditEntry) GetTopic ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetTopic() *Topic
The name of the topic added to the repository
func (RepoRemoveTopicAuditEntry) GetTopicName ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetTopicName() *string
The name of the topic added to the repository
func (RepoRemoveTopicAuditEntry) GetUser ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetUser() *User
The user affected by the action
func (RepoRemoveTopicAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepoRemoveTopicAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepoRemoveTopicAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepoRemoveTopicAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepoRemoveTopicAuditEntry) IsAuditEntry ¶
func (RepoRemoveTopicAuditEntry) IsAuditEntry()
func (RepoRemoveTopicAuditEntry) IsNode ¶
func (RepoRemoveTopicAuditEntry) IsNode()
func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry ¶
func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry()
func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData ¶
func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData()
func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData ¶
func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData()
func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData ¶
func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData()
type ReportedContentClassifiers ¶
type ReportedContentClassifiers string
The reasons a piece of content can be reported or minimized.
const ( // A spammy piece of content ReportedContentClassifiersSpam ReportedContentClassifiers = "SPAM" // An abusive or harassing piece of content ReportedContentClassifiersAbuse ReportedContentClassifiers = "ABUSE" // An irrelevant piece of content ReportedContentClassifiersOffTopic ReportedContentClassifiers = "OFF_TOPIC" // An outdated piece of content ReportedContentClassifiersOutdated ReportedContentClassifiers = "OUTDATED" // A duplicated piece of content ReportedContentClassifiersDuplicate ReportedContentClassifiers = "DUPLICATE" // The content has been resolved ReportedContentClassifiersResolved ReportedContentClassifiers = "RESOLVED" )
func (ReportedContentClassifiers) IsValid ¶
func (e ReportedContentClassifiers) IsValid() bool
func (ReportedContentClassifiers) MarshalGQL ¶
func (e ReportedContentClassifiers) MarshalGQL(w io.Writer)
func (ReportedContentClassifiers) String ¶
func (e ReportedContentClassifiers) String() string
func (*ReportedContentClassifiers) UnmarshalGQL ¶
func (e *ReportedContentClassifiers) UnmarshalGQL(v interface{}) error
type Repository ¶
type Repository struct { // 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"` // A list of users that can be assigned to issues in this repository. AssignableUsers UserConnection `json:"assignableUsers"` // Whether or not Auto-merge can be enabled on pull requests in this repository. AutoMergeAllowed bool `json:"autoMergeAllowed"` // A list of branch protection rules for this repository. BranchProtectionRules BranchProtectionRuleConnection `json:"branchProtectionRules"` // Returns the code of conduct for this repository CodeOfConduct *CodeOfConduct `json:"codeOfConduct"` // Information extracted from the repository's `CODEOWNERS` file. Codeowners *RepositoryCodeowners `json:"codeowners"` // A list of collaborators associated with the repository. Collaborators *RepositoryCollaboratorConnection `json:"collaborators"` // A list of commit comments associated with the repository. CommitComments CommitCommentConnection `json:"commitComments"` // Returns a list of contact links associated to the repository ContactLinks []*RepositoryContactLink `json:"contactLinks"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The Ref associated with the repository's default branch. DefaultBranchRef *Ref `json:"defaultBranchRef"` // Whether or not branches are automatically deleted when merged in this repository. DeleteBranchOnMerge bool `json:"deleteBranchOnMerge"` // A list of deploy keys that are on this repository. DeployKeys DeployKeyConnection `json:"deployKeys"` // Deployments associated with the repository Deployments DeploymentConnection `json:"deployments"` // The description of the repository. Description *string `json:"description"` // The description of the repository rendered to HTML. DescriptionHTML string `json:"descriptionHTML"` // Returns a single discussion from the current repository by number. Discussion *Discussion `json:"discussion"` // A list of discussion categories that are available in the repository. DiscussionCategories DiscussionCategoryConnection `json:"discussionCategories"` // A discussion category by slug. DiscussionCategory *DiscussionCategory `json:"discussionCategory"` // A list of discussions that have been opened in the repository. Discussions DiscussionConnection `json:"discussions"` // The number of kilobytes this repository occupies on disk. DiskUsage *int `json:"diskUsage"` // Returns a single active environment from the current repository by name. Environment *Environment `json:"environment"` // A list of environments that are in this repository. Environments EnvironmentConnection `json:"environments"` // Returns how many forks there are of this repository in the whole network. ForkCount int `json:"forkCount"` // Whether this repository allows forks. ForkingAllowed bool `json:"forkingAllowed"` // A list of direct forked repositories. Forks RepositoryConnection `json:"forks"` // The funding links for this repository FundingLinks []*FundingLink `json:"fundingLinks"` // Indicates if the repository has the Discussions feature enabled. HasDiscussionsEnabled bool `json:"hasDiscussionsEnabled"` // Indicates if the repository has issues feature enabled. HasIssuesEnabled bool `json:"hasIssuesEnabled"` // Indicates if the repository has the Projects feature enabled. HasProjectsEnabled bool `json:"hasProjectsEnabled"` // Whether vulnerability alerts are enabled for the repository. HasVulnerabilityAlertsEnabled bool `json:"hasVulnerabilityAlertsEnabled"` // Indicates if the repository has wiki feature enabled. HasWikiEnabled bool `json:"hasWikiEnabled"` // The repository's URL. HomepageURL *string `json:"homepageUrl"` ID string `json:"id"` // The interaction ability settings for this repository. InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility"` // Indicates if the repository is unmaintained. IsArchived bool `json:"isArchived"` // Returns true if blank issue creation is allowed IsBlankIssuesEnabled bool `json:"isBlankIssuesEnabled"` // Returns whether or not this repository disabled. IsDisabled bool `json:"isDisabled"` // Returns whether or not this repository is empty. IsEmpty bool `json:"isEmpty"` // Identifies if the repository is a fork. IsFork bool `json:"isFork"` // Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. IsInOrganization bool `json:"isInOrganization"` // Indicates if the repository has been locked or not. IsLocked bool `json:"isLocked"` // Identifies if the repository is a mirror. IsMirror bool `json:"isMirror"` // Identifies if the repository is private or internal. IsPrivate bool `json:"isPrivate"` // Returns true if this repository has a security policy IsSecurityPolicyEnabled *bool `json:"isSecurityPolicyEnabled"` // Identifies if the repository is a template that can be used to generate new repositories. IsTemplate bool `json:"isTemplate"` // Is this repository a user configuration repository? IsUserConfigurationRepository bool `json:"isUserConfigurationRepository"` // Returns a single issue from the current repository by number. Issue *Issue `json:"issue"` // Returns a single issue-like object from the current repository by number. IssueOrPullRequest IssueOrPullRequest `json:"issueOrPullRequest"` // Returns a list of issue templates associated to the repository IssueTemplates []*IssueTemplate `json:"issueTemplates"` // A list of issues that have been opened in the repository. Issues IssueConnection `json:"issues"` // Returns a single label by name Label *Label `json:"label"` // A list of labels associated with the repository. Labels *LabelConnection `json:"labels"` // A list containing a breakdown of the language composition of the repository. Languages *LanguageConnection `json:"languages"` // Get the latest release for the repository if one exists. LatestRelease *Release `json:"latestRelease"` // The license associated with the repository LicenseInfo *License `json:"licenseInfo"` // The reason the repository has been locked. LockReason *RepositoryLockReason `json:"lockReason"` // A list of Users that can be mentioned in the context of the repository. MentionableUsers UserConnection `json:"mentionableUsers"` // Whether or not PRs are merged with a merge commit on this repository. MergeCommitAllowed bool `json:"mergeCommitAllowed"` // How the default commit message will be generated when merging a pull request. MergeCommitMessage MergeCommitMessage `json:"mergeCommitMessage"` // How the default commit title will be generated when merging a pull request. MergeCommitTitle MergeCommitTitle `json:"mergeCommitTitle"` // Returns a single milestone from the current repository by number. Milestone *Milestone `json:"milestone"` // A list of milestones associated with the repository. Milestones *MilestoneConnection `json:"milestones"` // The repository's original mirror URL. MirrorURL *string `json:"mirrorUrl"` // The name of the repository. Name string `json:"name"` // The repository's name with owner. NameWithOwner string `json:"nameWithOwner"` // A Git object in the repository Object GitObject `json:"object"` // The image used to represent this repository in Open Graph data. OpenGraphImageURL string `json:"openGraphImageUrl"` // The User owner of the repository. Owner RepositoryOwner `json:"owner"` // A list of packages under the owner. Packages PackageConnection `json:"packages"` // The repository parent, if this is a fork. Parent *Repository `json:"parent"` // A list of discussions that have been pinned in this repository. PinnedDiscussions PinnedDiscussionConnection `json:"pinnedDiscussions"` // A list of pinned issues for this repository. PinnedIssues *PinnedIssueConnection `json:"pinnedIssues"` // The primary language of the repository's code. PrimaryLanguage *Language `json:"primaryLanguage"` // Find project by number. Project *Project `json:"project"` // Finds and returns the Project according to the provided Project number. ProjectV2 *ProjectV2 `json:"projectV2"` // A list of projects under the owner. Projects ProjectConnection `json:"projects"` // The HTTP path listing the repository's projects ProjectsResourcePath string `json:"projectsResourcePath"` // The HTTP URL listing the repository's projects ProjectsURL string `json:"projectsUrl"` // List of projects linked to this repository. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // Returns a single pull request from the current repository by number. PullRequest *PullRequest `json:"pullRequest"` // Returns a list of pull request templates associated to the repository PullRequestTemplates []*PullRequestTemplate `json:"pullRequestTemplates"` // A list of pull requests that have been opened in the repository. PullRequests PullRequestConnection `json:"pullRequests"` // Identifies when the repository was last pushed to. PushedAt *time.Time `json:"pushedAt"` // Whether or not rebase-merging is enabled on this repository. RebaseMergeAllowed bool `json:"rebaseMergeAllowed"` // Recent projects that this user has modified in the context of the owner. RecentProjects ProjectV2Connection `json:"recentProjects"` // Fetch a given ref from the repository Ref *Ref `json:"ref"` // Fetch a list of refs from the repository Refs *RefConnection `json:"refs"` // Lookup a single release given various criteria. Release *Release `json:"release"` // List of releases which are dependent on this repository. Releases ReleaseConnection `json:"releases"` // A list of applied repository-topic associations for this repository. RepositoryTopics RepositoryTopicConnection `json:"repositoryTopics"` // The HTTP path for this repository ResourcePath string `json:"resourcePath"` // The security policy URL. SecurityPolicyURL *string `json:"securityPolicyUrl"` // A description of the repository, rendered to HTML without any links in it. ShortDescriptionHTML string `json:"shortDescriptionHTML"` // Whether or not squash-merging is enabled on this repository. SquashMergeAllowed bool `json:"squashMergeAllowed"` // How the default commit message will be generated when squash merging a pull request. SquashMergeCommitMessage SquashMergeCommitMessage `json:"squashMergeCommitMessage"` // How the default commit title will be generated when squash merging a pull request. SquashMergeCommitTitle SquashMergeCommitTitle `json:"squashMergeCommitTitle"` // Whether a squash merge commit can use the pull request title as default. SquashPrTitleUsedAsDefault bool `json:"squashPrTitleUsedAsDefault"` // The SSH URL to clone this repository SSHURL string `json:"sshUrl"` // Returns a count of how many stargazers there are on this object // StargazerCount int `json:"stargazerCount"` // A list of users who have starred this starrable. Stargazers StargazerConnection `json:"stargazers"` // Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit. Submodules SubmoduleConnection `json:"submodules"` // Temporary authentication token for cloning this repository. TempCloneToken *string `json:"tempCloneToken"` // The repository from which this repository was generated, if any. TemplateRepository *Repository `json:"templateRepository"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this repository URL string `json:"url"` // 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"` // Indicates whether the viewer has admin permissions on this repository. ViewerCanAdminister bool `json:"viewerCanAdminister"` // Can the current viewer create new projects on this owner. ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Indicates whether the viewer can update the topics of this repository. ViewerCanUpdateTopics bool `json:"viewerCanUpdateTopics"` // The last commit email for the viewer. ViewerDefaultCommitEmail *string `json:"viewerDefaultCommitEmail"` // The last used merge method by the viewer or the default for the repository. ViewerDefaultMergeMethod PullRequestMergeMethod `json:"viewerDefaultMergeMethod"` // Returns a boolean indicating whether the viewing user has starred this starrable. ViewerHasStarred bool `json:"viewerHasStarred"` // The users permission level on the repository. Will return null if authenticated as an GitHub App. ViewerPermission *RepositoryPermission `json:"viewerPermission"` // A list of emails this viewer can commit with. ViewerPossibleCommitEmails []string `json:"viewerPossibleCommitEmails"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` // Indicates the repository's visibility level. Visibility RepositoryVisibility `json:"visibility"` // Returns a single vulnerability alert from the current repository by number. VulnerabilityAlert *RepositoryVulnerabilityAlert `json:"vulnerabilityAlert"` // A list of vulnerability alerts that are on this repository. VulnerabilityAlerts *RepositoryVulnerabilityAlertConnection `json:"vulnerabilityAlerts"` // A list of users watching the repository. Watchers UserConnection `json:"watchers"` // Whether contributors are required to sign off on web-based commits in this repository. WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"` }
A repository contains the content for a project.
func (Repository) GetCreatedAt ¶ added in v0.11.4
func (this Repository) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (Repository) GetDescription ¶ added in v0.11.4
func (this Repository) GetDescription() *string
The description of the repository.
func (Repository) GetDescriptionHTML ¶ added in v0.11.4
func (this Repository) GetDescriptionHTML() string
The description of the repository rendered to HTML.
func (Repository) GetForkCount ¶ added in v0.11.4
func (this Repository) GetForkCount() int
Returns how many forks there are of this repository in the whole network.
func (Repository) GetHasDiscussionsEnabled ¶ added in v0.11.4
func (this Repository) GetHasDiscussionsEnabled() bool
Indicates if the repository has the Discussions feature enabled.
func (Repository) GetHasIssuesEnabled ¶ added in v0.11.4
func (this Repository) GetHasIssuesEnabled() bool
Indicates if the repository has issues feature enabled.
func (Repository) GetHasProjectsEnabled ¶ added in v0.11.4
func (this Repository) GetHasProjectsEnabled() bool
Indicates if the repository has the Projects feature enabled.
func (Repository) GetHasWikiEnabled ¶ added in v0.11.4
func (this Repository) GetHasWikiEnabled() bool
Indicates if the repository has wiki feature enabled.
func (Repository) GetHomepageURL ¶ added in v0.11.4
func (this Repository) GetHomepageURL() *string
The repository's URL.
func (Repository) GetIsArchived ¶ added in v0.11.4
func (this Repository) GetIsArchived() bool
Indicates if the repository is unmaintained.
func (Repository) GetIsFork ¶ added in v0.11.4
func (this Repository) GetIsFork() bool
Identifies if the repository is a fork.
func (Repository) GetIsInOrganization ¶ added in v0.11.4
func (this Repository) GetIsInOrganization() bool
Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
func (Repository) GetIsLocked ¶ added in v0.11.4
func (this Repository) GetIsLocked() bool
Indicates if the repository has been locked or not.
func (Repository) GetIsMirror ¶ added in v0.11.4
func (this Repository) GetIsMirror() bool
Identifies if the repository is a mirror.
func (Repository) GetIsPrivate ¶ added in v0.11.4
func (this Repository) GetIsPrivate() bool
Identifies if the repository is private or internal.
func (Repository) GetIsTemplate ¶ added in v0.11.4
func (this Repository) GetIsTemplate() bool
Identifies if the repository is a template that can be used to generate new repositories.
func (Repository) GetLicenseInfo ¶ added in v0.11.4
func (this Repository) GetLicenseInfo() *License
The license associated with the repository
func (Repository) GetLockReason ¶ added in v0.11.4
func (this Repository) GetLockReason() *RepositoryLockReason
The reason the repository has been locked.
func (Repository) GetMirrorURL ¶ added in v0.11.4
func (this Repository) GetMirrorURL() *string
The repository's original mirror URL.
func (Repository) GetName ¶ added in v0.11.4
func (this Repository) GetName() string
The name of the repository.
func (Repository) GetNameWithOwner ¶ added in v0.11.4
func (this Repository) GetNameWithOwner() string
The repository's name with owner.
func (Repository) GetOpenGraphImageURL ¶ added in v0.11.4
func (this Repository) GetOpenGraphImageURL() string
The image used to represent this repository in Open Graph data.
func (Repository) GetOwner ¶ added in v0.11.4
func (this Repository) GetOwner() RepositoryOwner
The User owner of the repository.
func (Repository) GetPackages ¶ added in v0.11.4
func (this Repository) GetPackages() PackageConnection
A list of packages under the owner.
func (Repository) GetProject ¶ added in v0.11.4
func (this Repository) GetProject() *Project
Find project by number.
func (Repository) GetProjects ¶ added in v0.11.4
func (this Repository) GetProjects() ProjectConnection
A list of projects under the owner.
func (Repository) GetProjectsResourcePath ¶ added in v0.11.4
func (this Repository) GetProjectsResourcePath() string
The HTTP path listing owners projects
func (Repository) GetProjectsURL ¶ added in v0.11.4
func (this Repository) GetProjectsURL() string
The HTTP URL listing owners projects
func (Repository) GetPushedAt ¶ added in v0.11.4
func (this Repository) GetPushedAt() *time.Time
Identifies when the repository was last pushed to.
func (Repository) GetRecentProjects ¶ added in v0.11.4
func (this Repository) GetRecentProjects() ProjectV2Connection
Recent projects that this user has modified in the context of the owner.
func (Repository) GetResourcePath ¶ added in v0.11.4
func (this Repository) GetResourcePath() string
The HTTP path for this repository
func (Repository) GetShortDescriptionHTML ¶ added in v0.11.4
func (this Repository) GetShortDescriptionHTML() string
A description of the repository, rendered to HTML without any links in it.
func (Repository) GetStargazerCount ¶ added in v0.11.4
func (this Repository) GetStargazerCount() int
Returns a count of how many stargazers there are on this object
func (Repository) GetStargazers ¶ added in v0.11.4
func (this Repository) GetStargazers() StargazerConnection
A list of users who have starred this starrable.
func (Repository) GetURL ¶ added in v0.11.4
func (this Repository) GetURL() string
The HTTP URL for this repository
func (Repository) GetUpdatedAt ¶ added in v0.11.4
func (this Repository) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (Repository) GetUsesCustomOpenGraphImage ¶ added in v0.11.4
func (this Repository) GetUsesCustomOpenGraphImage() bool
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
func (Repository) GetViewerCanCreateProjects ¶ added in v0.11.4
func (this Repository) GetViewerCanCreateProjects() bool
Can the current viewer create new projects on this owner.
func (Repository) GetViewerCanSubscribe ¶ added in v0.11.4
func (this Repository) GetViewerCanSubscribe() bool
Check if the viewer is able to change their subscription status for the repository.
func (Repository) GetViewerHasStarred ¶ added in v0.11.4
func (this Repository) GetViewerHasStarred() bool
Returns a boolean indicating whether the viewing user has starred this starrable.
func (Repository) GetViewerSubscription ¶ added in v0.11.4
func (this Repository) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (Repository) GetVisibility ¶ added in v0.11.4
func (this Repository) GetVisibility() RepositoryVisibility
Indicates the repository's visibility level.
func (Repository) IsNode ¶
func (Repository) IsNode()
func (Repository) IsPackageOwner ¶
func (Repository) IsPackageOwner()
func (Repository) IsPermissionGranter ¶
func (Repository) IsPermissionGranter()
func (Repository) IsPinnableItem ¶
func (Repository) IsPinnableItem()
func (Repository) IsProjectOwner ¶
func (Repository) IsProjectOwner()
func (Repository) IsProjectV2Recent ¶ added in v0.11.4
func (Repository) IsProjectV2Recent()
func (Repository) IsRepositoryInfo ¶
func (Repository) IsRepositoryInfo()
func (Repository) IsSearchResultItem ¶
func (Repository) IsSearchResultItem()
func (Repository) IsSponsorsListingFeatureableItem ¶ added in v0.11.4
func (Repository) IsSponsorsListingFeatureableItem()
func (Repository) IsStarrable ¶
func (Repository) IsStarrable()
func (Repository) IsSubscribable ¶
func (Repository) IsSubscribable()
func (Repository) IsUniformResourceLocatable ¶
func (Repository) IsUniformResourceLocatable()
type RepositoryAffiliation ¶
type RepositoryAffiliation string
The affiliation of a user to a repository
const ( // Repositories that are owned by the authenticated user. RepositoryAffiliationOwner RepositoryAffiliation = "OWNER" // Repositories that the user has been added to as a collaborator. RepositoryAffiliationCollaborator RepositoryAffiliation = "COLLABORATOR" // 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. RepositoryAffiliationOrganizationMember RepositoryAffiliation = "ORGANIZATION_MEMBER" )
func (RepositoryAffiliation) IsValid ¶
func (e RepositoryAffiliation) IsValid() bool
func (RepositoryAffiliation) MarshalGQL ¶
func (e RepositoryAffiliation) MarshalGQL(w io.Writer)
func (RepositoryAffiliation) String ¶
func (e RepositoryAffiliation) String() string
func (*RepositoryAffiliation) UnmarshalGQL ¶
func (e *RepositoryAffiliation) UnmarshalGQL(v interface{}) error
type RepositoryAuditEntryData ¶
type RepositoryAuditEntryData interface { IsRepositoryAuditEntryData() // The repository associated with the action GetRepository() *Repository // The name of the repository GetRepositoryName() *string // The HTTP path for the repository GetRepositoryResourcePath() *string // The HTTP URL for the repository GetRepositoryURL() *string }
Metadata for an audit entry with action repo.*
type RepositoryCodeowners ¶ added in v0.0.4
type RepositoryCodeowners struct { // Any problems that were encountered while parsing the `CODEOWNERS` file. Errors []*RepositoryCodeownersError `json:"errors"` }
Information extracted from a repository's `CODEOWNERS` file.
type RepositoryCodeownersError ¶ added in v0.0.4
type RepositoryCodeownersError struct { // The column number where the error occurs. Column int `json:"column"` // A short string describing the type of error. Kind string `json:"kind"` // The line number where the error occurs. Line int `json:"line"` // A complete description of the error, combining information from other fields. Message string `json:"message"` // The path to the file when the error occurs. Path string `json:"path"` // The content of the line where the error occurs. Source string `json:"source"` // A suggestion of how to fix the error. Suggestion *string `json:"suggestion"` }
An error in a `CODEOWNERS` file.
type RepositoryCollaboratorConnection ¶
type RepositoryCollaboratorConnection struct { // A list of edges. Edges []*RepositoryCollaboratorEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type RepositoryCollaboratorEdge ¶
type RepositoryCollaboratorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` Node User `json:"node"` // The permission the user has on the repository. Permission RepositoryPermission `json:"permission"` // A list of sources for the user's access to the repository. PermissionSources []*PermissionSource `json:"permissionSources"` }
Represents a user who is a collaborator of a repository.
type RepositoryConnection ¶
type RepositoryConnection struct { // A list of edges. Edges []*RepositoryEdge `json:"edges"` // A list of nodes. Nodes []*Repository `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // The total size in kilobytes of all repositories in the connection. TotalDiskUsage int `json:"totalDiskUsage"` }
A list of repositories owned by the subject.
type RepositoryContactLink ¶
type RepositoryContactLink struct { // The contact link purpose. About string `json:"about"` // The contact link name. Name string `json:"name"` // The contact link URL. URL string `json:"url"` }
A repository contact link.
type RepositoryContributionType ¶
type RepositoryContributionType string
The reason a repository is listed as 'contributed'.
const ( // Created a commit RepositoryContributionTypeCommit RepositoryContributionType = "COMMIT" // Created an issue RepositoryContributionTypeIssue RepositoryContributionType = "ISSUE" // Created a pull request RepositoryContributionTypePullRequest RepositoryContributionType = "PULL_REQUEST" // Created the repository RepositoryContributionTypeRepository RepositoryContributionType = "REPOSITORY" // Reviewed a pull request RepositoryContributionTypePullRequestReview RepositoryContributionType = "PULL_REQUEST_REVIEW" )
func (RepositoryContributionType) IsValid ¶
func (e RepositoryContributionType) IsValid() bool
func (RepositoryContributionType) MarshalGQL ¶
func (e RepositoryContributionType) MarshalGQL(w io.Writer)
func (RepositoryContributionType) String ¶
func (e RepositoryContributionType) String() string
func (*RepositoryContributionType) UnmarshalGQL ¶
func (e *RepositoryContributionType) UnmarshalGQL(v interface{}) error
type RepositoryDiscussionAuthor ¶ added in v0.0.3
type RepositoryDiscussionAuthor interface { IsRepositoryDiscussionAuthor() // Discussions this user has started. GetRepositoryDiscussions() DiscussionConnection }
Represents an author of discussions in repositories.
type RepositoryDiscussionCommentAuthor ¶ added in v0.0.3
type RepositoryDiscussionCommentAuthor interface { IsRepositoryDiscussionCommentAuthor() // Discussion comments this user has authored. GetRepositoryDiscussionComments() DiscussionCommentConnection }
Represents an author of discussion comments in repositories.
type RepositoryEdge ¶
type RepositoryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Repository `json:"node"` }
An edge in a connection.
type RepositoryFragment ¶ added in v0.0.4
type RepositoryInfo ¶
type RepositoryInfo interface { IsRepositoryInfo() // Identifies the date and time when the object was created. GetCreatedAt() time.Time // The description of the repository. GetDescription() *string // The description of the repository rendered to HTML. GetDescriptionHTML() string // Returns how many forks there are of this repository in the whole network. GetForkCount() int // Indicates if the repository has the Discussions feature enabled. GetHasDiscussionsEnabled() bool // Indicates if the repository has issues feature enabled. GetHasIssuesEnabled() bool // Indicates if the repository has the Projects feature enabled. GetHasProjectsEnabled() bool // Indicates if the repository has wiki feature enabled. GetHasWikiEnabled() bool // The repository's URL. GetHomepageURL() *string // Indicates if the repository is unmaintained. GetIsArchived() bool // Identifies if the repository is a fork. GetIsFork() bool // Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. GetIsInOrganization() bool // Indicates if the repository has been locked or not. GetIsLocked() bool // Identifies if the repository is a mirror. GetIsMirror() bool // Identifies if the repository is private or internal. GetIsPrivate() bool // Identifies if the repository is a template that can be used to generate new repositories. GetIsTemplate() bool // The license associated with the repository GetLicenseInfo() *License // The reason the repository has been locked. GetLockReason() *RepositoryLockReason // The repository's original mirror URL. GetMirrorURL() *string // The name of the repository. GetName() string // The repository's name with owner. GetNameWithOwner() string // The image used to represent this repository in Open Graph data. GetOpenGraphImageURL() string // The User owner of the repository. GetOwner() RepositoryOwner // Identifies when the repository was last pushed to. GetPushedAt() *time.Time // The HTTP path for this repository GetResourcePath() string // A description of the repository, rendered to HTML without any links in it. GetShortDescriptionHTML() string // Identifies the date and time when the object was last updated. GetUpdatedAt() time.Time // The HTTP URL for this repository GetURL() string // Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. GetUsesCustomOpenGraphImage() bool // Indicates the repository's visibility level. GetVisibility() RepositoryVisibility }
A subset of repository info.
type RepositoryInteractionAbility ¶
type RepositoryInteractionAbility struct { // The time the currently active limit expires. ExpiresAt *time.Time `json:"expiresAt"` // The current limit that is enabled on this object. Limit RepositoryInteractionLimit `json:"limit"` // The origin of the currently active interaction limit. Origin RepositoryInteractionLimitOrigin `json:"origin"` }
Repository interaction limit that applies to this object.
type RepositoryInteractionLimit ¶
type RepositoryInteractionLimit string
A repository interaction limit.
const ( // Users that have recently created their account will be unable to interact with the repository. RepositoryInteractionLimitExistingUsers RepositoryInteractionLimit = "EXISTING_USERS" // Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. RepositoryInteractionLimitContributorsOnly RepositoryInteractionLimit = "CONTRIBUTORS_ONLY" // Users that are not collaborators will not be able to interact with the repository. RepositoryInteractionLimitCollaboratorsOnly RepositoryInteractionLimit = "COLLABORATORS_ONLY" // No interaction limits are enabled. RepositoryInteractionLimitNoLimit RepositoryInteractionLimit = "NO_LIMIT" )
func (RepositoryInteractionLimit) IsValid ¶
func (e RepositoryInteractionLimit) IsValid() bool
func (RepositoryInteractionLimit) MarshalGQL ¶
func (e RepositoryInteractionLimit) MarshalGQL(w io.Writer)
func (RepositoryInteractionLimit) String ¶
func (e RepositoryInteractionLimit) String() string
func (*RepositoryInteractionLimit) UnmarshalGQL ¶
func (e *RepositoryInteractionLimit) UnmarshalGQL(v interface{}) error
type RepositoryInteractionLimitExpiry ¶
type RepositoryInteractionLimitExpiry string
The length for a repository interaction limit to be enabled for.
const ( // The interaction limit will expire after 1 day. RepositoryInteractionLimitExpiryOneDay RepositoryInteractionLimitExpiry = "ONE_DAY" // The interaction limit will expire after 3 days. RepositoryInteractionLimitExpiryThreeDays RepositoryInteractionLimitExpiry = "THREE_DAYS" // The interaction limit will expire after 1 week. RepositoryInteractionLimitExpiryOneWeek RepositoryInteractionLimitExpiry = "ONE_WEEK" // The interaction limit will expire after 1 month. RepositoryInteractionLimitExpiryOneMonth RepositoryInteractionLimitExpiry = "ONE_MONTH" // The interaction limit will expire after 6 months. RepositoryInteractionLimitExpirySixMonths RepositoryInteractionLimitExpiry = "SIX_MONTHS" )
func (RepositoryInteractionLimitExpiry) IsValid ¶
func (e RepositoryInteractionLimitExpiry) IsValid() bool
func (RepositoryInteractionLimitExpiry) MarshalGQL ¶
func (e RepositoryInteractionLimitExpiry) MarshalGQL(w io.Writer)
func (RepositoryInteractionLimitExpiry) String ¶
func (e RepositoryInteractionLimitExpiry) String() string
func (*RepositoryInteractionLimitExpiry) UnmarshalGQL ¶
func (e *RepositoryInteractionLimitExpiry) UnmarshalGQL(v interface{}) error
type RepositoryInteractionLimitOrigin ¶
type RepositoryInteractionLimitOrigin string
Indicates where an interaction limit is configured.
const ( // A limit that is configured at the repository level. RepositoryInteractionLimitOriginRepository RepositoryInteractionLimitOrigin = "REPOSITORY" // A limit that is configured at the organization level. RepositoryInteractionLimitOriginOrganization RepositoryInteractionLimitOrigin = "ORGANIZATION" // A limit that is configured at the user-wide level. RepositoryInteractionLimitOriginUser RepositoryInteractionLimitOrigin = "USER" )
func (RepositoryInteractionLimitOrigin) IsValid ¶
func (e RepositoryInteractionLimitOrigin) IsValid() bool
func (RepositoryInteractionLimitOrigin) MarshalGQL ¶
func (e RepositoryInteractionLimitOrigin) MarshalGQL(w io.Writer)
func (RepositoryInteractionLimitOrigin) String ¶
func (e RepositoryInteractionLimitOrigin) String() string
func (*RepositoryInteractionLimitOrigin) UnmarshalGQL ¶
func (e *RepositoryInteractionLimitOrigin) UnmarshalGQL(v interface{}) error
type RepositoryInvitation ¶
type RepositoryInvitation struct { // The email address that received the invitation. Email *string `json:"email"` ID string `json:"id"` // The user who received the invitation. Invitee *User `json:"invitee"` // The user who created the invitation. Inviter User `json:"inviter"` // The permalink for this repository invitation. Permalink string `json:"permalink"` // The permission granted on this repository by this invitation. Permission RepositoryPermission `json:"permission"` // The Repository the user is invited to. Repository RepositoryInfo `json:"repository"` }
An invitation for a user to be added to a repository.
func (RepositoryInvitation) GetID ¶ added in v0.11.4
func (this RepositoryInvitation) GetID() string
ID of the object.
func (RepositoryInvitation) IsNode ¶
func (RepositoryInvitation) IsNode()
type RepositoryInvitationConnection ¶
type RepositoryInvitationConnection struct { // A list of edges. Edges []*RepositoryInvitationEdge `json:"edges"` // A list of nodes. Nodes []*RepositoryInvitation `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
A list of repository invitations.
type RepositoryInvitationEdge ¶
type RepositoryInvitationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *RepositoryInvitation `json:"node"` }
An edge in a connection.
type RepositoryInvitationOrder ¶
type RepositoryInvitationOrder struct { // The field to order repository invitations by. Field RepositoryInvitationOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for repository invitation connections.
type RepositoryInvitationOrderField ¶
type RepositoryInvitationOrderField string
Properties by which repository invitation connections can be ordered.
const ( // Order repository invitations by creation time RepositoryInvitationOrderFieldCreatedAt RepositoryInvitationOrderField = "CREATED_AT" )
func (RepositoryInvitationOrderField) IsValid ¶
func (e RepositoryInvitationOrderField) IsValid() bool
func (RepositoryInvitationOrderField) MarshalGQL ¶
func (e RepositoryInvitationOrderField) MarshalGQL(w io.Writer)
func (RepositoryInvitationOrderField) String ¶
func (e RepositoryInvitationOrderField) String() string
func (*RepositoryInvitationOrderField) UnmarshalGQL ¶
func (e *RepositoryInvitationOrderField) UnmarshalGQL(v interface{}) error
type RepositoryLockReason ¶
type RepositoryLockReason string
The possible reasons a given repository could be in a locked state.
const ( // The repository is locked due to a move. RepositoryLockReasonMoving RepositoryLockReason = "MOVING" // The repository is locked due to a billing related reason. RepositoryLockReasonBilling RepositoryLockReason = "BILLING" // The repository is locked due to a rename. RepositoryLockReasonRename RepositoryLockReason = "RENAME" // The repository is locked due to a migration. RepositoryLockReasonMigrating RepositoryLockReason = "MIGRATING" // The repository is locked due to a trade controls related reason. RepositoryLockReasonTradeRestriction RepositoryLockReason = "TRADE_RESTRICTION" )
func (RepositoryLockReason) IsValid ¶
func (e RepositoryLockReason) IsValid() bool
func (RepositoryLockReason) MarshalGQL ¶
func (e RepositoryLockReason) MarshalGQL(w io.Writer)
func (RepositoryLockReason) String ¶
func (e RepositoryLockReason) String() string
func (*RepositoryLockReason) UnmarshalGQL ¶
func (e *RepositoryLockReason) UnmarshalGQL(v interface{}) error
type RepositoryMigration ¶ added in v0.0.4
type RepositoryMigration struct { // The migration flag to continue on error. ContinueOnError bool `json:"continueOnError"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *string `json:"databaseId"` // The reason the migration failed. FailureReason *string `json:"failureReason"` ID string `json:"id"` // The URL for the migration log (expires 1 day after migration completes). MigrationLogURL *string `json:"migrationLogUrl"` // The migration source. MigrationSource MigrationSource `json:"migrationSource"` // The target repository name. RepositoryName string `json:"repositoryName"` // The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. SourceURL string `json:"sourceUrl"` // The migration state. State MigrationState `json:"state"` }
A GitHub Enterprise Importer (GEI) repository migration.
func (RepositoryMigration) GetContinueOnError ¶ added in v0.11.4
func (this RepositoryMigration) GetContinueOnError() bool
The migration flag to continue on error.
func (RepositoryMigration) GetCreatedAt ¶ added in v0.11.4
func (this RepositoryMigration) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (RepositoryMigration) GetDatabaseID ¶ added in v0.11.4
func (this RepositoryMigration) GetDatabaseID() *string
Identifies the primary key from the database.
func (RepositoryMigration) GetFailureReason ¶ added in v0.11.4
func (this RepositoryMigration) GetFailureReason() *string
The reason the migration failed.
func (RepositoryMigration) GetID ¶ added in v0.11.4
func (this RepositoryMigration) GetID() string
func (RepositoryMigration) GetMigrationLogURL ¶ added in v0.11.4
func (this RepositoryMigration) GetMigrationLogURL() *string
The URL for the migration log (expires 1 day after migration completes).
func (RepositoryMigration) GetMigrationSource ¶ added in v0.11.4
func (this RepositoryMigration) GetMigrationSource() MigrationSource
The migration source.
func (RepositoryMigration) GetRepositoryName ¶ added in v0.11.4
func (this RepositoryMigration) GetRepositoryName() string
The target repository name.
func (RepositoryMigration) GetSourceURL ¶ added in v0.11.4
func (this RepositoryMigration) GetSourceURL() string
The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.
func (RepositoryMigration) GetState ¶ added in v0.11.4
func (this RepositoryMigration) GetState() MigrationState
The migration state.
func (RepositoryMigration) IsMigration ¶ added in v0.0.4
func (RepositoryMigration) IsMigration()
func (RepositoryMigration) IsNode ¶ added in v0.0.4
func (RepositoryMigration) IsNode()
type RepositoryMigrationConnection ¶ added in v0.0.4
type RepositoryMigrationConnection struct { // A list of edges. Edges []*RepositoryMigrationEdge `json:"edges"` // A list of nodes. Nodes []*RepositoryMigration `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RepositoryMigration.
type RepositoryMigrationEdge ¶ added in v0.0.4
type RepositoryMigrationEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *RepositoryMigration `json:"node"` }
Represents a repository migration.
type RepositoryMigrationOrder ¶ added in v0.0.4
type RepositoryMigrationOrder struct { // The field to order repository migrations by. Field RepositoryMigrationOrderField `json:"field"` // The ordering direction. Direction RepositoryMigrationOrderDirection `json:"direction"` }
Ordering options for repository migrations.
type RepositoryMigrationOrderDirection ¶ added in v0.0.4
type RepositoryMigrationOrderDirection string
Possible directions in which to order a list of repository migrations when provided an `orderBy` argument.
const ( // Specifies an ascending order for a given `orderBy` argument. RepositoryMigrationOrderDirectionAsc RepositoryMigrationOrderDirection = "ASC" // Specifies a descending order for a given `orderBy` argument. RepositoryMigrationOrderDirectionDesc RepositoryMigrationOrderDirection = "DESC" )
func (RepositoryMigrationOrderDirection) IsValid ¶ added in v0.0.4
func (e RepositoryMigrationOrderDirection) IsValid() bool
func (RepositoryMigrationOrderDirection) MarshalGQL ¶ added in v0.0.4
func (e RepositoryMigrationOrderDirection) MarshalGQL(w io.Writer)
func (RepositoryMigrationOrderDirection) String ¶ added in v0.0.4
func (e RepositoryMigrationOrderDirection) String() string
func (*RepositoryMigrationOrderDirection) UnmarshalGQL ¶ added in v0.0.4
func (e *RepositoryMigrationOrderDirection) UnmarshalGQL(v interface{}) error
type RepositoryMigrationOrderField ¶ added in v0.0.4
type RepositoryMigrationOrderField string
Properties by which repository migrations can be ordered.
const ( // Order mannequins why when they were created. RepositoryMigrationOrderFieldCreatedAt RepositoryMigrationOrderField = "CREATED_AT" )
func (RepositoryMigrationOrderField) IsValid ¶ added in v0.0.4
func (e RepositoryMigrationOrderField) IsValid() bool
func (RepositoryMigrationOrderField) MarshalGQL ¶ added in v0.0.4
func (e RepositoryMigrationOrderField) MarshalGQL(w io.Writer)
func (RepositoryMigrationOrderField) String ¶ added in v0.0.4
func (e RepositoryMigrationOrderField) String() string
func (*RepositoryMigrationOrderField) UnmarshalGQL ¶ added in v0.0.4
func (e *RepositoryMigrationOrderField) UnmarshalGQL(v interface{}) error
type RepositoryNode ¶
type RepositoryNode interface { IsRepositoryNode() // The repository associated with this node. GetRepository() Repository }
Represents a object that belongs to a repository.
type RepositoryOrder ¶
type RepositoryOrder struct { // The field to order repositories by. Field RepositoryOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for repository connections
type RepositoryOrderField ¶
type RepositoryOrderField string
Properties by which repository connections can be ordered.
const ( // Order repositories by creation time RepositoryOrderFieldCreatedAt RepositoryOrderField = "CREATED_AT" // Order repositories by update time RepositoryOrderFieldUpdatedAt RepositoryOrderField = "UPDATED_AT" // Order repositories by push time RepositoryOrderFieldPushedAt RepositoryOrderField = "PUSHED_AT" // Order repositories by name RepositoryOrderFieldName RepositoryOrderField = "NAME" // Order repositories by number of stargazers RepositoryOrderFieldStargazers RepositoryOrderField = "STARGAZERS" )
func (RepositoryOrderField) IsValid ¶
func (e RepositoryOrderField) IsValid() bool
func (RepositoryOrderField) MarshalGQL ¶
func (e RepositoryOrderField) MarshalGQL(w io.Writer)
func (RepositoryOrderField) String ¶
func (e RepositoryOrderField) String() string
func (*RepositoryOrderField) UnmarshalGQL ¶
func (e *RepositoryOrderField) UnmarshalGQL(v interface{}) error
type RepositoryOwner ¶
type RepositoryOwner interface { IsRepositoryOwner() // A URL pointing to the owner's public avatar. GetAvatarURL() string GetID() string // The username used to login. GetLogin() string // A list of repositories that the user owns. GetRepositories() RepositoryConnection // Find Repository. GetRepository() *Repository // The HTTP URL for the owner. GetResourcePath() string // The HTTP URL for the owner. GetURL() string }
Represents an owner of a Repository.
type RepositoryPermission ¶
type RepositoryPermission string
The access level to a repository
const ( // Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators RepositoryPermissionAdmin RepositoryPermission = "ADMIN" // Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings RepositoryPermissionMaintain RepositoryPermission = "MAINTAIN" // Can read, clone, and push to this repository. Can also manage issues and pull requests RepositoryPermissionWrite RepositoryPermission = "WRITE" // Can read and clone this repository. Can also manage issues and pull requests RepositoryPermissionTriage RepositoryPermission = "TRIAGE" // Can read and clone this repository. Can also open and comment on issues and pull requests RepositoryPermissionRead RepositoryPermission = "READ" )
func (RepositoryPermission) IsValid ¶
func (e RepositoryPermission) IsValid() bool
func (RepositoryPermission) MarshalGQL ¶
func (e RepositoryPermission) MarshalGQL(w io.Writer)
func (RepositoryPermission) String ¶
func (e RepositoryPermission) String() string
func (*RepositoryPermission) UnmarshalGQL ¶
func (e *RepositoryPermission) UnmarshalGQL(v interface{}) error
type RepositoryPrivacy ¶
type RepositoryPrivacy string
The privacy of a repository
const ( // Public RepositoryPrivacyPublic RepositoryPrivacy = "PUBLIC" // Private RepositoryPrivacyPrivate RepositoryPrivacy = "PRIVATE" )
func (RepositoryPrivacy) IsValid ¶
func (e RepositoryPrivacy) IsValid() bool
func (RepositoryPrivacy) MarshalGQL ¶
func (e RepositoryPrivacy) MarshalGQL(w io.Writer)
func (RepositoryPrivacy) String ¶
func (e RepositoryPrivacy) String() string
func (*RepositoryPrivacy) UnmarshalGQL ¶
func (e *RepositoryPrivacy) UnmarshalGQL(v interface{}) error
type RepositoryTopic ¶
type RepositoryTopic struct { ID string `json:"id"` // The HTTP path for this repository-topic. ResourcePath string `json:"resourcePath"` // The topic. Topic Topic `json:"topic"` // The HTTP URL for this repository-topic. URL string `json:"url"` }
A repository-topic connects a repository to a topic.
func (RepositoryTopic) GetID ¶ added in v0.11.4
func (this RepositoryTopic) GetID() string
ID of the object.
func (RepositoryTopic) GetResourcePath ¶ added in v0.11.4
func (this RepositoryTopic) GetResourcePath() string
The HTML path to this resource.
func (RepositoryTopic) GetURL ¶ added in v0.11.4
func (this RepositoryTopic) GetURL() string
The URL to this resource.
func (RepositoryTopic) IsNode ¶
func (RepositoryTopic) IsNode()
func (RepositoryTopic) IsUniformResourceLocatable ¶
func (RepositoryTopic) IsUniformResourceLocatable()
type RepositoryTopicConnection ¶
type RepositoryTopicConnection struct { // A list of edges. Edges []*RepositoryTopicEdge `json:"edges"` // A list of nodes. Nodes []*RepositoryTopic `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RepositoryTopic.
type RepositoryTopicEdge ¶
type RepositoryTopicEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *RepositoryTopic `json:"node"` }
An edge in a connection.
type RepositoryVisibility ¶
type RepositoryVisibility string
The repository's visibility level.
const ( // The repository is visible only to those with explicit access. RepositoryVisibilityPrivate RepositoryVisibility = "PRIVATE" // The repository is visible to everyone. RepositoryVisibilityPublic RepositoryVisibility = "PUBLIC" // The repository is visible only to users in the same business. RepositoryVisibilityInternal RepositoryVisibility = "INTERNAL" )
func (RepositoryVisibility) IsValid ¶
func (e RepositoryVisibility) IsValid() bool
func (RepositoryVisibility) MarshalGQL ¶
func (e RepositoryVisibility) MarshalGQL(w io.Writer)
func (RepositoryVisibility) String ¶
func (e RepositoryVisibility) String() string
func (*RepositoryVisibility) UnmarshalGQL ¶
func (e *RepositoryVisibility) UnmarshalGQL(v interface{}) error
type RepositoryVisibilityChangeDisableAuditEntry ¶
type RepositoryVisibilityChangeDisableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repository_visibility_change.disable event.
func (RepositoryVisibilityChangeDisableAuditEntry) GetAction ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetAction() string
The action name
func (RepositoryVisibilityChangeDisableAuditEntry) GetActor ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepositoryVisibilityChangeDisableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepositoryVisibilityChangeDisableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (RepositoryVisibilityChangeDisableAuditEntry) GetID ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetID() string
ID of the object.
func (RepositoryVisibilityChangeDisableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepositoryVisibilityChangeDisableAuditEntry) GetUser ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetUser() *User
The user affected by the action
func (RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepositoryVisibilityChangeDisableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepositoryVisibilityChangeDisableAuditEntry) IsAuditEntry ¶
func (RepositoryVisibilityChangeDisableAuditEntry) IsAuditEntry()
func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData ¶
func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData()
func (RepositoryVisibilityChangeDisableAuditEntry) IsNode ¶
func (RepositoryVisibilityChangeDisableAuditEntry) IsNode()
func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry ¶
func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry()
func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData ¶
func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData()
type RepositoryVisibilityChangeEnableAuditEntry ¶
type RepositoryVisibilityChangeEnableAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a repository_visibility_change.enable event.
func (RepositoryVisibilityChangeEnableAuditEntry) GetAction ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetAction() string
The action name
func (RepositoryVisibilityChangeEnableAuditEntry) GetActor ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (RepositoryVisibilityChangeEnableAuditEntry) GetActorIP ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorIP() *string
The IP address of the actor
func (RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (RepositoryVisibilityChangeEnableAuditEntry) GetActorURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt() string
The time the action was initiated
func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath() *string
The HTTP path for this enterprise.
func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug() *string
The slug of the enterprise.
func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseURL() *string
The HTTP URL for this enterprise.
func (RepositoryVisibilityChangeEnableAuditEntry) GetID ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetID() string
ID of the object.
func (RepositoryVisibilityChangeEnableAuditEntry) GetOperationType ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganization ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (RepositoryVisibilityChangeEnableAuditEntry) GetUser ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetUser() *User
The user affected by the action
func (RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (RepositoryVisibilityChangeEnableAuditEntry) GetUserURL ¶ added in v0.11.4
func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (RepositoryVisibilityChangeEnableAuditEntry) IsAuditEntry ¶
func (RepositoryVisibilityChangeEnableAuditEntry) IsAuditEntry()
func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData ¶
func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData()
func (RepositoryVisibilityChangeEnableAuditEntry) IsNode ¶
func (RepositoryVisibilityChangeEnableAuditEntry) IsNode()
func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry ¶
func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry()
func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData ¶
func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData()
type RepositoryVulnerabilityAlert ¶
type RepositoryVulnerabilityAlert struct { // When was the alert created? CreatedAt time.Time `json:"createdAt"` // The associated Dependabot update DependabotUpdate *DependabotUpdate `json:"dependabotUpdate"` // The scope of an alert's dependency DependencyScope *RepositoryVulnerabilityAlertDependencyScope `json:"dependencyScope"` // Comment explaining the reason the alert was dismissed DismissComment *string `json:"dismissComment"` // The reason the alert was dismissed DismissReason *string `json:"dismissReason"` // When was the alert dismissed? DismissedAt *time.Time `json:"dismissedAt"` // The user who dismissed the alert Dismisser *User `json:"dismisser"` // The reason the alert was marked as fixed. FixReason *string `json:"fixReason"` // When was the alert fixed? FixedAt *time.Time `json:"fixedAt"` ID string `json:"id"` // Identifies the alert number. Number int `json:"number"` // The associated repository Repository Repository `json:"repository"` // The associated security advisory SecurityAdvisory *SecurityAdvisory `json:"securityAdvisory"` // The associated security vulnerability SecurityVulnerability *SecurityVulnerability `json:"securityVulnerability"` // Identifies the state of the alert. State RepositoryVulnerabilityAlertState `json:"state"` // The vulnerable manifest filename VulnerableManifestFilename string `json:"vulnerableManifestFilename"` // The vulnerable manifest path VulnerableManifestPath string `json:"vulnerableManifestPath"` // The vulnerable requirements VulnerableRequirements *string `json:"vulnerableRequirements"` }
A Dependabot alert for a repository with a dependency affected by a security vulnerability.
func (RepositoryVulnerabilityAlert) GetID ¶ added in v0.11.4
func (this RepositoryVulnerabilityAlert) GetID() string
ID of the object.
func (RepositoryVulnerabilityAlert) GetRepository ¶ added in v0.11.4
func (this RepositoryVulnerabilityAlert) GetRepository() Repository
The repository associated with this node.
func (RepositoryVulnerabilityAlert) IsNode ¶
func (RepositoryVulnerabilityAlert) IsNode()
func (RepositoryVulnerabilityAlert) IsRepositoryNode ¶
func (RepositoryVulnerabilityAlert) IsRepositoryNode()
type RepositoryVulnerabilityAlertConnection ¶
type RepositoryVulnerabilityAlertConnection struct { // A list of edges. Edges []*RepositoryVulnerabilityAlertEdge `json:"edges"` // A list of nodes. Nodes []*RepositoryVulnerabilityAlert `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RepositoryVulnerabilityAlert.
type RepositoryVulnerabilityAlertDependencyScope ¶ added in v0.11.4
type RepositoryVulnerabilityAlertDependencyScope string
The possible scopes of an alert's dependency.
const ( // A dependency that is leveraged during application runtime RepositoryVulnerabilityAlertDependencyScopeRuntime RepositoryVulnerabilityAlertDependencyScope = "RUNTIME" // A dependency that is only used in development RepositoryVulnerabilityAlertDependencyScopeDevelopment RepositoryVulnerabilityAlertDependencyScope = "DEVELOPMENT" )
func (RepositoryVulnerabilityAlertDependencyScope) IsValid ¶ added in v0.11.4
func (e RepositoryVulnerabilityAlertDependencyScope) IsValid() bool
func (RepositoryVulnerabilityAlertDependencyScope) MarshalGQL ¶ added in v0.11.4
func (e RepositoryVulnerabilityAlertDependencyScope) MarshalGQL(w io.Writer)
func (RepositoryVulnerabilityAlertDependencyScope) String ¶ added in v0.11.4
func (e RepositoryVulnerabilityAlertDependencyScope) String() string
func (*RepositoryVulnerabilityAlertDependencyScope) UnmarshalGQL ¶ added in v0.11.4
func (e *RepositoryVulnerabilityAlertDependencyScope) UnmarshalGQL(v interface{}) error
type RepositoryVulnerabilityAlertEdge ¶
type RepositoryVulnerabilityAlertEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *RepositoryVulnerabilityAlert `json:"node"` }
An edge in a connection.
type RepositoryVulnerabilityAlertState ¶ added in v0.0.4
type RepositoryVulnerabilityAlertState string
The possible states of an alert
const ( // An alert that is still open. RepositoryVulnerabilityAlertStateOpen RepositoryVulnerabilityAlertState = "OPEN" // An alert that has been resolved by a code change. RepositoryVulnerabilityAlertStateFixed RepositoryVulnerabilityAlertState = "FIXED" // An alert that has been manually closed by a user. RepositoryVulnerabilityAlertStateDismissed RepositoryVulnerabilityAlertState = "DISMISSED" )
func (RepositoryVulnerabilityAlertState) IsValid ¶ added in v0.0.4
func (e RepositoryVulnerabilityAlertState) IsValid() bool
func (RepositoryVulnerabilityAlertState) MarshalGQL ¶ added in v0.0.4
func (e RepositoryVulnerabilityAlertState) MarshalGQL(w io.Writer)
func (RepositoryVulnerabilityAlertState) String ¶ added in v0.0.4
func (e RepositoryVulnerabilityAlertState) String() string
func (*RepositoryVulnerabilityAlertState) UnmarshalGQL ¶ added in v0.0.4
func (e *RepositoryVulnerabilityAlertState) UnmarshalGQL(v interface{}) error
type RequestReviewsInput ¶
type RequestReviewsInput struct { // The Node ID of the pull request to modify. PullRequestID string `json:"pullRequestId"` // The Node IDs of the user to request. UserIds []string `json:"userIds,omitempty"` // The Node IDs of the team to request. TeamIds []string `json:"teamIds,omitempty"` // Add users to the set rather than replace. Union *bool `json:"union,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RequestReviews
type RequestReviewsPayload ¶
type RequestReviewsPayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that is getting requests. PullRequest *PullRequest `json:"pullRequest"` // The edge from the pull request to the requested reviewers. RequestedReviewersEdge *UserEdge `json:"requestedReviewersEdge"` }
Autogenerated return type of RequestReviews
type RequestableCheckStatusState ¶
type RequestableCheckStatusState string
The possible states that can be requested when creating a check run.
const ( // The check suite or run has been queued. RequestableCheckStatusStateQueued RequestableCheckStatusState = "QUEUED" // The check suite or run is in progress. RequestableCheckStatusStateInProgress RequestableCheckStatusState = "IN_PROGRESS" // The check suite or run has been completed. RequestableCheckStatusStateCompleted RequestableCheckStatusState = "COMPLETED" // The check suite or run is in waiting state. RequestableCheckStatusStateWaiting RequestableCheckStatusState = "WAITING" // The check suite or run is in pending state. RequestableCheckStatusStatePending RequestableCheckStatusState = "PENDING" )
func (RequestableCheckStatusState) IsValid ¶
func (e RequestableCheckStatusState) IsValid() bool
func (RequestableCheckStatusState) MarshalGQL ¶
func (e RequestableCheckStatusState) MarshalGQL(w io.Writer)
func (RequestableCheckStatusState) String ¶
func (e RequestableCheckStatusState) String() string
func (*RequestableCheckStatusState) UnmarshalGQL ¶
func (e *RequestableCheckStatusState) UnmarshalGQL(v interface{}) error
type RequestedReviewer ¶
type RequestedReviewer interface {
IsRequestedReviewer()
}
Types that can be requested reviewers.
type RequestedReviewerConnection ¶ added in v0.11.4
type RequestedReviewerConnection struct { // A list of edges. Edges []*RequestedReviewerEdge `json:"edges"` // A list of nodes. Nodes []RequestedReviewer `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RequestedReviewer.
type RequestedReviewerEdge ¶ added in v0.11.4
type RequestedReviewerEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node RequestedReviewer `json:"node"` }
An edge in a connection.
type RequirableByPullRequest ¶
type RequirableByPullRequest interface { IsRequirableByPullRequest() // Whether this is required to pass before merging for a specific pull request. GetIsRequired() bool }
Represents a type that can be required by a pull request for merging.
type RequiredStatusCheckDescription ¶ added in v0.0.4
type RequiredStatusCheckDescription struct { // The App that must provide this status in order for it to be accepted. App *App `json:"app"` // The name of this status. Context string `json:"context"` }
Represents a required status check for a protected branch, but not any specific run of that check.
type RequiredStatusCheckInput ¶ added in v0.0.4
type RequiredStatusCheckInput struct { // Status check context that must pass for commits to be accepted to the matching branch. Context string `json:"context"` // 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. AppID *string `json:"appId,omitempty"` }
Specifies the attributes for a new or updated required status check.
type RerequestCheckSuiteInput ¶
type RerequestCheckSuiteInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The Node ID of the check suite. CheckSuiteID string `json:"checkSuiteId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RerequestCheckSuite
type RerequestCheckSuitePayload ¶
type RerequestCheckSuitePayload struct { // The requested check suite. CheckSuite *CheckSuite `json:"checkSuite"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of RerequestCheckSuite
type ResolveReviewThreadInput ¶
type ResolveReviewThreadInput struct { // The ID of the thread to resolve ThreadID string `json:"threadId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of ResolveReviewThread
type ResolveReviewThreadPayload ¶
type ResolveReviewThreadPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The thread to resolve. Thread *PullRequestReviewThread `json:"thread"` }
Autogenerated return type of ResolveReviewThread
type RestrictedContribution ¶
type RestrictedContribution struct { // 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"` // When this contribution was made. OccurredAt time.Time `json:"occurredAt"` // The HTTP path for this contribution. ResourcePath string `json:"resourcePath"` // The HTTP URL for this contribution. URL string `json:"url"` // The user who made this contribution. // User User `json:"user"` }
Represents a private contribution a user made on GitHub.
func (RestrictedContribution) GetIsRestricted ¶ added in v0.11.4
func (this RestrictedContribution) GetIsRestricted() bool
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.
func (RestrictedContribution) GetOccurredAt ¶ added in v0.11.4
func (this RestrictedContribution) GetOccurredAt() time.Time
When this contribution was made.
func (RestrictedContribution) GetResourcePath ¶ added in v0.11.4
func (this RestrictedContribution) GetResourcePath() string
The HTTP path for this contribution.
func (RestrictedContribution) GetURL ¶ added in v0.11.4
func (this RestrictedContribution) GetURL() string
The HTTP URL for this contribution.
func (RestrictedContribution) GetUser ¶ added in v0.11.4
func (this RestrictedContribution) GetUser() User
The user who made this contribution.
func (RestrictedContribution) IsContribution ¶
func (RestrictedContribution) IsContribution()
func (RestrictedContribution) IsCreatedIssueOrRestrictedContribution ¶
func (RestrictedContribution) IsCreatedIssueOrRestrictedContribution()
func (RestrictedContribution) IsCreatedPullRequestOrRestrictedContribution ¶
func (RestrictedContribution) IsCreatedPullRequestOrRestrictedContribution()
func (RestrictedContribution) IsCreatedRepositoryOrRestrictedContribution ¶
func (RestrictedContribution) IsCreatedRepositoryOrRestrictedContribution()
type RetireSponsorsTierInput ¶ added in v0.11.4
type RetireSponsorsTierInput struct { // The ID of the published tier to retire. TierID string `json:"tierId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RetireSponsorsTier
type RetireSponsorsTierPayload ¶ added in v0.11.4
type RetireSponsorsTierPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The tier that was retired. SponsorsTier *SponsorsTier `json:"sponsorsTier"` }
Autogenerated return type of RetireSponsorsTier
type RevertPullRequestInput ¶ added in v0.11.4
type RevertPullRequestInput struct { // The ID of the pull request to revert. PullRequestID string `json:"pullRequestId"` // The title of the revert pull request. Title *string `json:"title,omitempty"` // The description of the revert pull request. Body *string `json:"body,omitempty"` // Indicates whether the revert pull request should be a draft. Draft *bool `json:"draft,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RevertPullRequest
type RevertPullRequestPayload ¶ added in v0.11.4
type RevertPullRequestPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The pull request that was reverted. PullRequest *PullRequest `json:"pullRequest"` // The new pull request that reverts the input pull request. RevertPullRequest *PullRequest `json:"revertPullRequest"` }
Autogenerated return type of RevertPullRequest
type ReviewDismissalAllowance ¶
type ReviewDismissalAllowance struct { // The actor that can dismiss. Actor ReviewDismissalAllowanceActor `json:"actor"` // Identifies the branch protection rule associated with the allowed user, team, or app. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` ID string `json:"id"` }
A user, team, or app who has the ability to dismiss a review on a protected branch.
func (ReviewDismissalAllowance) GetID ¶ added in v0.11.4
func (this ReviewDismissalAllowance) GetID() string
ID of the object.
func (ReviewDismissalAllowance) IsNode ¶
func (ReviewDismissalAllowance) IsNode()
type ReviewDismissalAllowanceActor ¶
type ReviewDismissalAllowanceActor interface {
IsReviewDismissalAllowanceActor()
}
Types that can be an actor.
type ReviewDismissalAllowanceConnection ¶
type ReviewDismissalAllowanceConnection struct { // A list of edges. Edges []*ReviewDismissalAllowanceEdge `json:"edges"` // A list of nodes. Nodes []*ReviewDismissalAllowance `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ReviewDismissalAllowance.
type ReviewDismissalAllowanceEdge ¶
type ReviewDismissalAllowanceEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ReviewDismissalAllowance `json:"node"` }
An edge in a connection.
type ReviewDismissedEvent ¶
type ReviewDismissedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // Identifies the optional message associated with the 'review_dismissed' event. DismissalMessage *string `json:"dismissalMessage"` // Identifies the optional message associated with the event, rendered to HTML. DismissalMessageHTML *string `json:"dismissalMessageHTML"` ID string `json:"id"` // Identifies the previous state of the review with the 'review_dismissed' event. PreviousReviewState PullRequestReviewState `json:"previousReviewState"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // Identifies the commit which caused the review to become stale. PullRequestCommit *PullRequestCommit `json:"pullRequestCommit"` // The HTTP path for this review dismissed event. ResourcePath string `json:"resourcePath"` // Identifies the review associated with the 'review_dismissed' event. Review *PullRequestReview `json:"review"` // The HTTP URL for this review dismissed event. URL string `json:"url"` }
Represents a 'review_dismissed' event on a given issue or pull request.
func (ReviewDismissedEvent) GetID ¶ added in v0.11.4
func (this ReviewDismissedEvent) GetID() string
ID of the object.
func (ReviewDismissedEvent) GetResourcePath ¶ added in v0.11.4
func (this ReviewDismissedEvent) GetResourcePath() string
The HTML path to this resource.
func (ReviewDismissedEvent) GetURL ¶ added in v0.11.4
func (this ReviewDismissedEvent) GetURL() string
The URL to this resource.
func (ReviewDismissedEvent) IsNode ¶
func (ReviewDismissedEvent) IsNode()
func (ReviewDismissedEvent) IsPullRequestTimelineItem ¶
func (ReviewDismissedEvent) IsPullRequestTimelineItem()
func (ReviewDismissedEvent) IsPullRequestTimelineItems ¶
func (ReviewDismissedEvent) IsPullRequestTimelineItems()
func (ReviewDismissedEvent) IsUniformResourceLocatable ¶
func (ReviewDismissedEvent) IsUniformResourceLocatable()
type ReviewRequest ¶
type ReviewRequest struct { // Whether this request was created for a code owner AsCodeOwner bool `json:"asCodeOwner"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // Identifies the pull request associated with this review request. PullRequest PullRequest `json:"pullRequest"` // The reviewer that is requested. RequestedReviewer RequestedReviewer `json:"requestedReviewer"` }
A request for a user to review a pull request.
func (ReviewRequest) GetID ¶ added in v0.11.4
func (this ReviewRequest) GetID() string
ID of the object.
func (ReviewRequest) IsNode ¶
func (ReviewRequest) IsNode()
type ReviewRequestConnection ¶
type ReviewRequestConnection struct { // A list of edges. Edges []*ReviewRequestEdge `json:"edges"` // A list of nodes. Nodes []*ReviewRequest `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ReviewRequest.
type ReviewRequestEdge ¶
type ReviewRequestEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ReviewRequest `json:"node"` }
An edge in a connection.
type ReviewRequestRemovedEvent ¶
type ReviewRequestRemovedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // Identifies the reviewer whose review request was removed. RequestedReviewer RequestedReviewer `json:"requestedReviewer"` }
Represents an 'review_request_removed' event on a given pull request.
func (ReviewRequestRemovedEvent) GetID ¶ added in v0.11.4
func (this ReviewRequestRemovedEvent) GetID() string
ID of the object.
func (ReviewRequestRemovedEvent) IsNode ¶
func (ReviewRequestRemovedEvent) IsNode()
func (ReviewRequestRemovedEvent) IsPullRequestTimelineItem ¶
func (ReviewRequestRemovedEvent) IsPullRequestTimelineItem()
func (ReviewRequestRemovedEvent) IsPullRequestTimelineItems ¶
func (ReviewRequestRemovedEvent) IsPullRequestTimelineItems()
type ReviewRequestedEvent ¶
type ReviewRequestedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // PullRequest referenced by event. PullRequest PullRequest `json:"pullRequest"` // Identifies the reviewer whose review was requested. RequestedReviewer RequestedReviewer `json:"requestedReviewer"` }
Represents an 'review_requested' event on a given pull request.
func (ReviewRequestedEvent) GetID ¶ added in v0.11.4
func (this ReviewRequestedEvent) GetID() string
ID of the object.
func (ReviewRequestedEvent) IsNode ¶
func (ReviewRequestedEvent) IsNode()
func (ReviewRequestedEvent) IsPullRequestTimelineItem ¶
func (ReviewRequestedEvent) IsPullRequestTimelineItem()
func (ReviewRequestedEvent) IsPullRequestTimelineItems ¶
func (ReviewRequestedEvent) IsPullRequestTimelineItems()
type ReviewStatusHovercardContext ¶
type ReviewStatusHovercardContext struct { // A string describing this context Message string `json:"message"` // An octicon to accompany this context Octicon string `json:"octicon"` // The current status of the pull request with respect to code review. ReviewDecision *PullRequestReviewDecision `json:"reviewDecision"` }
A hovercard context with a message describing the current code review state of the pull request.
func (ReviewStatusHovercardContext) GetMessage ¶ added in v0.11.4
func (this ReviewStatusHovercardContext) GetMessage() string
A string describing this context
func (ReviewStatusHovercardContext) GetOcticon ¶ added in v0.11.4
func (this ReviewStatusHovercardContext) GetOcticon() string
An octicon to accompany this context
func (ReviewStatusHovercardContext) IsHovercardContext ¶
func (ReviewStatusHovercardContext) IsHovercardContext()
type RevokeEnterpriseOrganizationsMigratorRoleInput ¶ added in v0.0.4
type RevokeEnterpriseOrganizationsMigratorRoleInput struct { // The ID of the enterprise to which all organizations managed by it will be granted the migrator role. EnterpriseID string `json:"enterpriseId"` // The login of the user to revoke the migrator role Login string `json:"login"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole
type RevokeEnterpriseOrganizationsMigratorRolePayload ¶ added in v0.0.4
type RevokeEnterpriseOrganizationsMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organizations that had the migrator role revoked for the given user. Organizations *OrganizationConnection `json:"organizations"` }
Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole
type RevokeMigratorRoleInput ¶ added in v0.0.4
type RevokeMigratorRoleInput struct { // The ID of the organization that the user/team belongs to. OrganizationID string `json:"organizationId"` // The user login or Team slug to revoke the migrator role from. Actor string `json:"actor"` // Specifies the type of the actor, can be either USER or TEAM. ActorType ActorType `json:"actorType"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of RevokeMigratorRole
type RevokeMigratorRolePayload ¶ added in v0.0.4
type RevokeMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // Did the operation succeed? Success *bool `json:"success"` }
Autogenerated return type of RevokeMigratorRole
type RoleInOrganization ¶ added in v0.0.4
type RoleInOrganization string
Possible roles a user may have in relation to an organization.
const ( // A user with full administrative access to the organization. RoleInOrganizationOwner RoleInOrganization = "OWNER" // A user who is a direct member of the organization. RoleInOrganizationDirectMember RoleInOrganization = "DIRECT_MEMBER" // A user who is unaffiliated with the organization. RoleInOrganizationUnaffiliated RoleInOrganization = "UNAFFILIATED" )
func (RoleInOrganization) IsValid ¶ added in v0.0.4
func (e RoleInOrganization) IsValid() bool
func (RoleInOrganization) MarshalGQL ¶ added in v0.0.4
func (e RoleInOrganization) MarshalGQL(w io.Writer)
func (RoleInOrganization) String ¶ added in v0.0.4
func (e RoleInOrganization) String() string
func (*RoleInOrganization) UnmarshalGQL ¶ added in v0.0.4
func (e *RoleInOrganization) UnmarshalGQL(v interface{}) error
type SSHSignature ¶ added in v0.11.4
type SSHSignature struct { // Email used to sign this object. Email string `json:"email"` // True if the signature is valid and verified by GitHub. IsValid bool `json:"isValid"` // Hex-encoded fingerprint of the key that signed this object. KeyFingerprint *string `json:"keyFingerprint"` // Payload for GPG signing object. Raw ODB object without the signature header. Payload string `json:"payload"` // ASCII-armored signature header from object. Signature string `json:"signature"` // GitHub user corresponding to the email signing this commit. Signer *User `json:"signer"` // 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"` // True if the signature was made with GitHub's signing key. WasSignedByGitHub bool `json:"wasSignedByGitHub"` }
Represents an SSH signature on a Commit or Tag.
func (SSHSignature) GetEmail ¶ added in v0.11.4
func (this SSHSignature) GetEmail() string
Email used to sign this object.
func (SSHSignature) GetIsValid ¶ added in v0.11.4
func (this SSHSignature) GetIsValid() bool
True if the signature is valid and verified by GitHub.
func (SSHSignature) GetPayload ¶ added in v0.11.4
func (this SSHSignature) GetPayload() string
Payload for GPG signing object. Raw ODB object without the signature header.
func (SSHSignature) GetSignature ¶ added in v0.11.4
func (this SSHSignature) GetSignature() string
ASCII-armored signature header from object.
func (SSHSignature) GetSigner ¶ added in v0.11.4
func (this SSHSignature) GetSigner() *User
GitHub user corresponding to the email signing this commit.
func (SSHSignature) GetState ¶ added in v0.11.4
func (this SSHSignature) GetState() GitSignatureState
The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
func (SSHSignature) GetWasSignedByGitHub ¶ added in v0.11.4
func (this SSHSignature) GetWasSignedByGitHub() bool
True if the signature was made with GitHub's signing key.
func (SSHSignature) IsGitSignature ¶ added in v0.11.4
func (SSHSignature) IsGitSignature()
type SamlDigestAlgorithm ¶
type SamlDigestAlgorithm string
The possible digest algorithms used to sign SAML requests for an identity provider.
const ( // SHA1 SamlDigestAlgorithmSha1 SamlDigestAlgorithm = "SHA1" // SHA256 SamlDigestAlgorithmSha256 SamlDigestAlgorithm = "SHA256" // SHA384 SamlDigestAlgorithmSha384 SamlDigestAlgorithm = "SHA384" // SHA512 SamlDigestAlgorithmSha512 SamlDigestAlgorithm = "SHA512" )
func (SamlDigestAlgorithm) IsValid ¶
func (e SamlDigestAlgorithm) IsValid() bool
func (SamlDigestAlgorithm) MarshalGQL ¶
func (e SamlDigestAlgorithm) MarshalGQL(w io.Writer)
func (SamlDigestAlgorithm) String ¶
func (e SamlDigestAlgorithm) String() string
func (*SamlDigestAlgorithm) UnmarshalGQL ¶
func (e *SamlDigestAlgorithm) UnmarshalGQL(v interface{}) error
type SamlSignatureAlgorithm ¶
type SamlSignatureAlgorithm string
The possible signature algorithms used to sign SAML requests for a Identity Provider.
const ( // RSA-SHA1 SamlSignatureAlgorithmRsaSha1 SamlSignatureAlgorithm = "RSA_SHA1" // RSA-SHA256 SamlSignatureAlgorithmRsaSha256 SamlSignatureAlgorithm = "RSA_SHA256" // RSA-SHA384 SamlSignatureAlgorithmRsaSha384 SamlSignatureAlgorithm = "RSA_SHA384" // RSA-SHA512 SamlSignatureAlgorithmRsaSha512 SamlSignatureAlgorithm = "RSA_SHA512" )
func (SamlSignatureAlgorithm) IsValid ¶
func (e SamlSignatureAlgorithm) IsValid() bool
func (SamlSignatureAlgorithm) MarshalGQL ¶
func (e SamlSignatureAlgorithm) MarshalGQL(w io.Writer)
func (SamlSignatureAlgorithm) String ¶
func (e SamlSignatureAlgorithm) String() string
func (*SamlSignatureAlgorithm) UnmarshalGQL ¶
func (e *SamlSignatureAlgorithm) UnmarshalGQL(v interface{}) error
type SavedReply ¶
type SavedReply struct { // The body of the saved reply. Body string `json:"body"` // The saved reply body rendered to HTML. BodyHTML string `json:"bodyHTML"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The title of the saved reply. Title string `json:"title"` // The user that saved this reply. User Actor `json:"user"` }
A Saved Reply is text a user can use to reply quickly.
func (SavedReply) IsNode ¶
func (SavedReply) IsNode()
type SavedReplyConnection ¶
type SavedReplyConnection struct { // A list of edges. Edges []*SavedReplyEdge `json:"edges"` // A list of nodes. Nodes []*SavedReply `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SavedReply.
type SavedReplyEdge ¶
type SavedReplyEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SavedReply `json:"node"` }
An edge in a connection.
type SavedReplyOrder ¶
type SavedReplyOrder struct { // The field to order saved replies by. Field SavedReplyOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for saved reply connections.
type SavedReplyOrderField ¶
type SavedReplyOrderField string
Properties by which saved reply connections can be ordered.
const ( // Order saved reply by when they were updated. SavedReplyOrderFieldUpdatedAt SavedReplyOrderField = "UPDATED_AT" )
func (SavedReplyOrderField) IsValid ¶
func (e SavedReplyOrderField) IsValid() bool
func (SavedReplyOrderField) MarshalGQL ¶
func (e SavedReplyOrderField) MarshalGQL(w io.Writer)
func (SavedReplyOrderField) String ¶
func (e SavedReplyOrderField) String() string
func (*SavedReplyOrderField) UnmarshalGQL ¶
func (e *SavedReplyOrderField) UnmarshalGQL(v interface{}) error
type SearchResultItem ¶
type SearchResultItem interface {
IsSearchResultItem()
}
The results of a search.
type SearchResultItemConnection ¶
type SearchResultItemConnection struct { // The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. CodeCount int `json:"codeCount"` // The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. DiscussionCount int `json:"discussionCount"` // A list of edges. Edges []*SearchResultItemEdge `json:"edges"` // The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. IssueCount int `json:"issueCount"` // A list of nodes. Nodes []SearchResultItem `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. RepositoryCount int `json:"repositoryCount"` // The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. UserCount int `json:"userCount"` // The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. WikiCount int `json:"wikiCount"` }
A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages.
type SearchResultItemEdge ¶
type SearchResultItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node SearchResultItem `json:"node"` // Text matches on the result found. TextMatches []*TextMatch `json:"textMatches"` }
An edge in a connection.
type SearchType ¶
type SearchType string
Represents the individual results of a search.
const ( // Returns results matching issues in repositories. SearchTypeIssue SearchType = "ISSUE" // Returns results matching repositories. SearchTypeRepository SearchType = "REPOSITORY" // Returns results matching users and organizations on GitHub. SearchTypeUser SearchType = "USER" // Returns matching discussions in repositories. SearchTypeDiscussion SearchType = "DISCUSSION" )
func (SearchType) IsValid ¶
func (e SearchType) IsValid() bool
func (SearchType) MarshalGQL ¶
func (e SearchType) MarshalGQL(w io.Writer)
func (SearchType) String ¶
func (e SearchType) String() string
func (*SearchType) UnmarshalGQL ¶
func (e *SearchType) UnmarshalGQL(v interface{}) error
type SecurityAdvisory ¶
type SecurityAdvisory struct { // The classification of the advisory Classification SecurityAdvisoryClassification `json:"classification"` // The CVSS associated with this advisory Cvss Cvss `json:"cvss"` // CWEs associated with this Advisory Cwes CWEConnection `json:"cwes"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // This is a long plaintext description of the advisory Description string `json:"description"` // The GitHub Security Advisory ID GhsaID string `json:"ghsaId"` ID string `json:"id"` // A list of identifiers for this advisory Identifiers []*SecurityAdvisoryIdentifier `json:"identifiers"` // The permalink for the advisory's dependabot alerts page NotificationsPermalink *string `json:"notificationsPermalink"` // The organization that originated the advisory Origin string `json:"origin"` // The permalink for the advisory Permalink *string `json:"permalink"` // When the advisory was published PublishedAt time.Time `json:"publishedAt"` // A list of references for this advisory References []*SecurityAdvisoryReference `json:"references"` // The severity of the advisory Severity SecurityAdvisorySeverity `json:"severity"` // A short plaintext summary of the advisory Summary string `json:"summary"` // When the advisory was last updated UpdatedAt time.Time `json:"updatedAt"` // Vulnerabilities associated with this Advisory Vulnerabilities SecurityVulnerabilityConnection `json:"vulnerabilities"` // When the advisory was withdrawn, if it has been withdrawn WithdrawnAt *time.Time `json:"withdrawnAt"` }
A GitHub Security Advisory
func (SecurityAdvisory) GetID ¶ added in v0.11.4
func (this SecurityAdvisory) GetID() string
ID of the object.
func (SecurityAdvisory) IsNode ¶
func (SecurityAdvisory) IsNode()
type SecurityAdvisoryClassification ¶ added in v0.11.4
type SecurityAdvisoryClassification string
Classification of the advisory.
const ( // Classification of general advisories. SecurityAdvisoryClassificationGeneral SecurityAdvisoryClassification = "GENERAL" // Classification of malware advisories. SecurityAdvisoryClassificationMalware SecurityAdvisoryClassification = "MALWARE" )
func (SecurityAdvisoryClassification) IsValid ¶ added in v0.11.4
func (e SecurityAdvisoryClassification) IsValid() bool
func (SecurityAdvisoryClassification) MarshalGQL ¶ added in v0.11.4
func (e SecurityAdvisoryClassification) MarshalGQL(w io.Writer)
func (SecurityAdvisoryClassification) String ¶ added in v0.11.4
func (e SecurityAdvisoryClassification) String() string
func (*SecurityAdvisoryClassification) UnmarshalGQL ¶ added in v0.11.4
func (e *SecurityAdvisoryClassification) UnmarshalGQL(v interface{}) error
type SecurityAdvisoryConnection ¶
type SecurityAdvisoryConnection struct { // A list of edges. Edges []*SecurityAdvisoryEdge `json:"edges"` // A list of nodes. Nodes []*SecurityAdvisory `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SecurityAdvisory.
type SecurityAdvisoryEcosystem ¶
type SecurityAdvisoryEcosystem string
The possible ecosystems of a security vulnerability's package.
const ( // PHP packages hosted at packagist.org SecurityAdvisoryEcosystemComposer SecurityAdvisoryEcosystem = "COMPOSER" // Erlang/Elixir packages hosted at hex.pm SecurityAdvisoryEcosystemErlang SecurityAdvisoryEcosystem = "ERLANG" // GitHub Actions SecurityAdvisoryEcosystemActions SecurityAdvisoryEcosystem = "ACTIONS" // Go modules SecurityAdvisoryEcosystemGo SecurityAdvisoryEcosystem = "GO" // Java artifacts hosted at the Maven central repository SecurityAdvisoryEcosystemMaven SecurityAdvisoryEcosystem = "MAVEN" // JavaScript packages hosted at npmjs.com SecurityAdvisoryEcosystemNpm SecurityAdvisoryEcosystem = "NPM" // .NET packages hosted at the NuGet Gallery SecurityAdvisoryEcosystemNuget SecurityAdvisoryEcosystem = "NUGET" // Python packages hosted at PyPI.org SecurityAdvisoryEcosystemPip SecurityAdvisoryEcosystem = "PIP" // Dart packages hosted at pub.dev SecurityAdvisoryEcosystemPub SecurityAdvisoryEcosystem = "PUB" // Ruby gems hosted at RubyGems.org SecurityAdvisoryEcosystemRubygems SecurityAdvisoryEcosystem = "RUBYGEMS" // Rust crates SecurityAdvisoryEcosystemRust SecurityAdvisoryEcosystem = "RUST" )
func (SecurityAdvisoryEcosystem) IsValid ¶
func (e SecurityAdvisoryEcosystem) IsValid() bool
func (SecurityAdvisoryEcosystem) MarshalGQL ¶
func (e SecurityAdvisoryEcosystem) MarshalGQL(w io.Writer)
func (SecurityAdvisoryEcosystem) String ¶
func (e SecurityAdvisoryEcosystem) String() string
func (*SecurityAdvisoryEcosystem) UnmarshalGQL ¶
func (e *SecurityAdvisoryEcosystem) UnmarshalGQL(v interface{}) error
type SecurityAdvisoryEdge ¶
type SecurityAdvisoryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SecurityAdvisory `json:"node"` }
An edge in a connection.
type SecurityAdvisoryIdentifier ¶
type SecurityAdvisoryIdentifier struct { // The identifier type, e.g. GHSA, CVE Type string `json:"type"` // The identifier Value string `json:"value"` }
A GitHub Security Advisory Identifier
type SecurityAdvisoryIdentifierFilter ¶
type SecurityAdvisoryIdentifierFilter struct { // The identifier type. Type SecurityAdvisoryIdentifierType `json:"type"` // The identifier string. Supports exact or partial matching. Value string `json:"value"` }
An advisory identifier to filter results on.
type SecurityAdvisoryIdentifierType ¶
type SecurityAdvisoryIdentifierType string
Identifier formats available for advisories.
const ( // Common Vulnerabilities and Exposures Identifier. SecurityAdvisoryIdentifierTypeCve SecurityAdvisoryIdentifierType = "CVE" // GitHub Security Advisory ID. SecurityAdvisoryIdentifierTypeGhsa SecurityAdvisoryIdentifierType = "GHSA" )
func (SecurityAdvisoryIdentifierType) IsValid ¶
func (e SecurityAdvisoryIdentifierType) IsValid() bool
func (SecurityAdvisoryIdentifierType) MarshalGQL ¶
func (e SecurityAdvisoryIdentifierType) MarshalGQL(w io.Writer)
func (SecurityAdvisoryIdentifierType) String ¶
func (e SecurityAdvisoryIdentifierType) String() string
func (*SecurityAdvisoryIdentifierType) UnmarshalGQL ¶
func (e *SecurityAdvisoryIdentifierType) UnmarshalGQL(v interface{}) error
type SecurityAdvisoryOrder ¶
type SecurityAdvisoryOrder struct { // The field to order security advisories by. Field SecurityAdvisoryOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for security advisory connections
type SecurityAdvisoryOrderField ¶
type SecurityAdvisoryOrderField string
Properties by which security advisory connections can be ordered.
const ( // Order advisories by publication time SecurityAdvisoryOrderFieldPublishedAt SecurityAdvisoryOrderField = "PUBLISHED_AT" // Order advisories by update time SecurityAdvisoryOrderFieldUpdatedAt SecurityAdvisoryOrderField = "UPDATED_AT" )
func (SecurityAdvisoryOrderField) IsValid ¶
func (e SecurityAdvisoryOrderField) IsValid() bool
func (SecurityAdvisoryOrderField) MarshalGQL ¶
func (e SecurityAdvisoryOrderField) MarshalGQL(w io.Writer)
func (SecurityAdvisoryOrderField) String ¶
func (e SecurityAdvisoryOrderField) String() string
func (*SecurityAdvisoryOrderField) UnmarshalGQL ¶
func (e *SecurityAdvisoryOrderField) UnmarshalGQL(v interface{}) error
type SecurityAdvisoryPackage ¶
type SecurityAdvisoryPackage struct { // The ecosystem the package belongs to, e.g. RUBYGEMS, NPM Ecosystem SecurityAdvisoryEcosystem `json:"ecosystem"` // The package name Name string `json:"name"` }
An individual package
type SecurityAdvisoryPackageVersion ¶
type SecurityAdvisoryPackageVersion struct { // The package name or version Identifier string `json:"identifier"` }
An individual package version
type SecurityAdvisoryReference ¶
type SecurityAdvisoryReference struct { // A publicly accessible reference URL string `json:"url"` }
A GitHub Security Advisory Reference
type SecurityAdvisorySeverity ¶
type SecurityAdvisorySeverity string
Severity of the vulnerability.
const ( // Low. SecurityAdvisorySeverityLow SecurityAdvisorySeverity = "LOW" // Moderate. SecurityAdvisorySeverityModerate SecurityAdvisorySeverity = "MODERATE" // High. SecurityAdvisorySeverityHigh SecurityAdvisorySeverity = "HIGH" // Critical. SecurityAdvisorySeverityCritical SecurityAdvisorySeverity = "CRITICAL" )
func (SecurityAdvisorySeverity) IsValid ¶
func (e SecurityAdvisorySeverity) IsValid() bool
func (SecurityAdvisorySeverity) MarshalGQL ¶
func (e SecurityAdvisorySeverity) MarshalGQL(w io.Writer)
func (SecurityAdvisorySeverity) String ¶
func (e SecurityAdvisorySeverity) String() string
func (*SecurityAdvisorySeverity) UnmarshalGQL ¶
func (e *SecurityAdvisorySeverity) UnmarshalGQL(v interface{}) error
type SecurityVulnerability ¶
type SecurityVulnerability struct { // The Advisory associated with this Vulnerability Advisory SecurityAdvisory `json:"advisory"` // The first version containing a fix for the vulnerability FirstPatchedVersion *SecurityAdvisoryPackageVersion `json:"firstPatchedVersion"` // A description of the vulnerable package Package SecurityAdvisoryPackage `json:"package"` // The severity of the vulnerability within this package Severity SecurityAdvisorySeverity `json:"severity"` // When the vulnerability was last updated UpdatedAt time.Time `json:"updatedAt"` // 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"` }
An individual vulnerability within an Advisory
type SecurityVulnerabilityConnection ¶
type SecurityVulnerabilityConnection struct { // A list of edges. Edges []*SecurityVulnerabilityEdge `json:"edges"` // A list of nodes. Nodes []*SecurityVulnerability `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SecurityVulnerability.
type SecurityVulnerabilityEdge ¶
type SecurityVulnerabilityEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SecurityVulnerability `json:"node"` }
An edge in a connection.
type SecurityVulnerabilityOrder ¶
type SecurityVulnerabilityOrder struct { // The field to order security vulnerabilities by. Field SecurityVulnerabilityOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for security vulnerability connections
type SecurityVulnerabilityOrderField ¶
type SecurityVulnerabilityOrderField string
Properties by which security vulnerability connections can be ordered.
const ( // Order vulnerability by update time SecurityVulnerabilityOrderFieldUpdatedAt SecurityVulnerabilityOrderField = "UPDATED_AT" )
func (SecurityVulnerabilityOrderField) IsValid ¶
func (e SecurityVulnerabilityOrderField) IsValid() bool
func (SecurityVulnerabilityOrderField) MarshalGQL ¶
func (e SecurityVulnerabilityOrderField) MarshalGQL(w io.Writer)
func (SecurityVulnerabilityOrderField) String ¶
func (e SecurityVulnerabilityOrderField) String() string
func (*SecurityVulnerabilityOrderField) UnmarshalGQL ¶
func (e *SecurityVulnerabilityOrderField) UnmarshalGQL(v interface{}) error
type SetEnterpriseIdentityProviderInput ¶
type SetEnterpriseIdentityProviderInput struct { // The ID of the enterprise on which to set an identity provider. EnterpriseID string `json:"enterpriseId"` // The URL endpoint for the identity provider's SAML SSO. SsoURL string `json:"ssoUrl"` // The Issuer Entity ID for the SAML identity provider Issuer *string `json:"issuer,omitempty"` // The x509 certificate used by the identity provider to sign assertions and responses. IdpCertificate string `json:"idpCertificate"` // The signature algorithm used to sign SAML requests for the identity provider. SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod"` // The digest algorithm used to sign SAML requests for the identity provider. DigestMethod SamlDigestAlgorithm `json:"digestMethod"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of SetEnterpriseIdentityProvider
type SetEnterpriseIdentityProviderPayload ¶
type SetEnterpriseIdentityProviderPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The identity provider for the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider"` }
Autogenerated return type of SetEnterpriseIdentityProvider
type SetOrganizationInteractionLimitInput ¶
type SetOrganizationInteractionLimitInput struct { // The ID of the organization to set a limit for. OrganizationID string `json:"organizationId"` // The limit to set. Limit RepositoryInteractionLimit `json:"limit"` // When this limit should expire. Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of SetOrganizationInteractionLimit
type SetOrganizationInteractionLimitPayload ¶
type SetOrganizationInteractionLimitPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organization that the interaction limit was set for. Organization *Organization `json:"organization"` }
Autogenerated return type of SetOrganizationInteractionLimit
type SetRepositoryInteractionLimitInput ¶
type SetRepositoryInteractionLimitInput struct { // The ID of the repository to set a limit for. RepositoryID string `json:"repositoryId"` // The limit to set. Limit RepositoryInteractionLimit `json:"limit"` // When this limit should expire. Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of SetRepositoryInteractionLimit
type SetRepositoryInteractionLimitPayload ¶
type SetRepositoryInteractionLimitPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository that the interaction limit was set for. Repository *Repository `json:"repository"` }
Autogenerated return type of SetRepositoryInteractionLimit
type SetUserInteractionLimitInput ¶
type SetUserInteractionLimitInput struct { // The ID of the user to set a limit for. UserID string `json:"userId"` // The limit to set. Limit RepositoryInteractionLimit `json:"limit"` // When this limit should expire. Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of SetUserInteractionLimit
type SetUserInteractionLimitPayload ¶
type SetUserInteractionLimitPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The user that the interaction limit was set for. User *User `json:"user"` }
Autogenerated return type of SetUserInteractionLimit
type SmimeSignature ¶
type SmimeSignature struct { // Email used to sign this object. Email string `json:"email"` // True if the signature is valid and verified by GitHub. IsValid bool `json:"isValid"` // Payload for GPG signing object. Raw ODB object without the signature header. Payload string `json:"payload"` // ASCII-armored signature header from object. Signature string `json:"signature"` // GitHub user corresponding to the email signing this commit. Signer *User `json:"signer"` // 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"` // True if the signature was made with GitHub's signing key. WasSignedByGitHub bool `json:"wasSignedByGitHub"` }
Represents an S/MIME signature on a Commit or Tag.
func (SmimeSignature) GetEmail ¶ added in v0.11.4
func (this SmimeSignature) GetEmail() string
Email used to sign this object.
func (SmimeSignature) GetIsValid ¶ added in v0.11.4
func (this SmimeSignature) GetIsValid() bool
True if the signature is valid and verified by GitHub.
func (SmimeSignature) GetPayload ¶ added in v0.11.4
func (this SmimeSignature) GetPayload() string
Payload for GPG signing object. Raw ODB object without the signature header.
func (SmimeSignature) GetSignature ¶ added in v0.11.4
func (this SmimeSignature) GetSignature() string
ASCII-armored signature header from object.
func (SmimeSignature) GetSigner ¶ added in v0.11.4
func (this SmimeSignature) GetSigner() *User
GitHub user corresponding to the email signing this commit.
func (SmimeSignature) GetState ¶ added in v0.11.4
func (this SmimeSignature) GetState() GitSignatureState
The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
func (SmimeSignature) GetWasSignedByGitHub ¶ added in v0.11.4
func (this SmimeSignature) GetWasSignedByGitHub() bool
True if the signature was made with GitHub's signing key.
func (SmimeSignature) IsGitSignature ¶
func (SmimeSignature) IsGitSignature()
type Sponsor ¶
type Sponsor interface {
IsSponsor()
}
Entities that can sponsor others via GitHub Sponsors
type SponsorConnection ¶ added in v0.0.3
type SponsorConnection struct { // A list of edges. Edges []*SponsorEdge `json:"edges"` // A list of nodes. Nodes []Sponsor `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Sponsor.
type SponsorEdge ¶ added in v0.0.3
type SponsorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node Sponsor `json:"node"` }
Represents a user or organization who is sponsoring someone in GitHub Sponsors.
type SponsorOrder ¶ added in v0.0.3
type SponsorOrder struct { // The field to order sponsor entities by. Field SponsorOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for connections to get sponsor entities for GitHub Sponsors.
type SponsorOrderField ¶ added in v0.0.3
type SponsorOrderField string
Properties by which sponsor connections can be ordered.
const ( // Order sponsorable entities by login (username). SponsorOrderFieldLogin SponsorOrderField = "LOGIN" // Order sponsors by their relevance to the viewer. SponsorOrderFieldRelevance SponsorOrderField = "RELEVANCE" )
func (SponsorOrderField) IsValid ¶ added in v0.0.3
func (e SponsorOrderField) IsValid() bool
func (SponsorOrderField) MarshalGQL ¶ added in v0.0.3
func (e SponsorOrderField) MarshalGQL(w io.Writer)
func (SponsorOrderField) String ¶ added in v0.0.3
func (e SponsorOrderField) String() string
func (*SponsorOrderField) UnmarshalGQL ¶ added in v0.0.3
func (e *SponsorOrderField) UnmarshalGQL(v interface{}) error
type Sponsorable ¶
type Sponsorable interface { IsSponsorable() // The estimated next GitHub Sponsors payout for this user/organization in cents (USD). GetEstimatedNextSponsorsPayoutInCents() int // True if this user/organization has a GitHub Sponsors listing. GetHasSponsorsListing() bool // Whether the given account is sponsoring this user/organization. GetIsSponsoredBy() bool // True if the viewer is sponsored by this user/organization. GetIsSponsoringViewer() bool // The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). GetMonthlyEstimatedSponsorsIncomeInCents() int // List of users and organizations this entity is sponsoring. GetSponsoring() SponsorConnection // List of sponsors for this user or organization. GetSponsors() SponsorConnection // Events involving this sponsorable, such as new sponsorships. GetSponsorsActivities() SponsorsActivityConnection // The GitHub Sponsors listing for this user or organization. GetSponsorsListing() *SponsorsListing // The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. GetSponsorshipForViewerAsSponsor() *Sponsorship // The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. GetSponsorshipForViewerAsSponsorable() *Sponsorship // List of sponsorship updates sent from this sponsorable to sponsors. GetSponsorshipNewsletters() SponsorshipNewsletterConnection // The sponsorships where this user or organization is the maintainer receiving the funds. GetSponsorshipsAsMaintainer() SponsorshipConnection // The sponsorships where this user or organization is the funder. GetSponsorshipsAsSponsor() SponsorshipConnection // The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. GetTotalSponsorshipAmountAsSponsorInCents() *int // Whether or not the viewer is able to sponsor this user/organization. GetViewerCanSponsor() bool // True if the viewer is sponsoring this user/organization. GetViewerIsSponsoring() bool }
Entities that can sponsor or be sponsored through GitHub Sponsors.
type SponsorableItem ¶
type SponsorableItem interface {
IsSponsorableItem()
}
Entities that can be sponsored via GitHub Sponsors
type SponsorableItemConnection ¶
type SponsorableItemConnection struct { // A list of edges. Edges []*SponsorableItemEdge `json:"edges"` // A list of nodes. Nodes []SponsorableItem `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorableItem.
type SponsorableItemEdge ¶
type SponsorableItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node SponsorableItem `json:"node"` }
An edge in a connection.
type SponsorableOrder ¶
type SponsorableOrder struct { // The field to order sponsorable entities by. Field SponsorableOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for connections to get sponsorable entities for GitHub Sponsors.
type SponsorableOrderField ¶
type SponsorableOrderField string
Properties by which sponsorable connections can be ordered.
const ( // Order sponsorable entities by login (username). SponsorableOrderFieldLogin SponsorableOrderField = "LOGIN" )
func (SponsorableOrderField) IsValid ¶
func (e SponsorableOrderField) IsValid() bool
func (SponsorableOrderField) MarshalGQL ¶
func (e SponsorableOrderField) MarshalGQL(w io.Writer)
func (SponsorableOrderField) String ¶
func (e SponsorableOrderField) String() string
func (*SponsorableOrderField) UnmarshalGQL ¶
func (e *SponsorableOrderField) UnmarshalGQL(v interface{}) error
type SponsorsActivity ¶ added in v0.0.3
type SponsorsActivity struct { // What action this activity indicates took place. Action SponsorsActivityAction `json:"action"` ID string `json:"id"` // The tier that the sponsorship used to use, for tier change events. PreviousSponsorsTier *SponsorsTier `json:"previousSponsorsTier"` // The user or organization who triggered this activity and was/is sponsoring the sponsorable. Sponsor Sponsor `json:"sponsor"` // The user or organization that is being sponsored, the maintainer. Sponsorable Sponsorable `json:"sponsorable"` // The associated sponsorship tier. SponsorsTier *SponsorsTier `json:"sponsorsTier"` // The timestamp of this event. Timestamp *time.Time `json:"timestamp"` }
An event related to sponsorship activity.
func (SponsorsActivity) GetID ¶ added in v0.11.4
func (this SponsorsActivity) GetID() string
ID of the object.
func (SponsorsActivity) IsNode ¶ added in v0.0.3
func (SponsorsActivity) IsNode()
type SponsorsActivityAction ¶ added in v0.0.3
type SponsorsActivityAction string
The possible actions that GitHub Sponsors activities can represent.
const ( // The activity was starting a sponsorship. SponsorsActivityActionNewSponsorship SponsorsActivityAction = "NEW_SPONSORSHIP" // The activity was cancelling a sponsorship. SponsorsActivityActionCancelledSponsorship SponsorsActivityAction = "CANCELLED_SPONSORSHIP" // The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. SponsorsActivityActionTierChange SponsorsActivityAction = "TIER_CHANGE" // The activity was funds being refunded to the sponsor or GitHub. SponsorsActivityActionRefund SponsorsActivityAction = "REFUND" // The activity was scheduling a downgrade or cancellation. SponsorsActivityActionPendingChange SponsorsActivityAction = "PENDING_CHANGE" // The activity was disabling matching for a previously matched sponsorship. SponsorsActivityActionSponsorMatchDisabled SponsorsActivityAction = "SPONSOR_MATCH_DISABLED" )
func (SponsorsActivityAction) IsValid ¶ added in v0.0.3
func (e SponsorsActivityAction) IsValid() bool
func (SponsorsActivityAction) MarshalGQL ¶ added in v0.0.3
func (e SponsorsActivityAction) MarshalGQL(w io.Writer)
func (SponsorsActivityAction) String ¶ added in v0.0.3
func (e SponsorsActivityAction) String() string
func (*SponsorsActivityAction) UnmarshalGQL ¶ added in v0.0.3
func (e *SponsorsActivityAction) UnmarshalGQL(v interface{}) error
type SponsorsActivityConnection ¶ added in v0.0.3
type SponsorsActivityConnection struct { // A list of edges. Edges []*SponsorsActivityEdge `json:"edges"` // A list of nodes. Nodes []*SponsorsActivity `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorsActivity.
type SponsorsActivityEdge ¶ added in v0.0.3
type SponsorsActivityEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SponsorsActivity `json:"node"` }
An edge in a connection.
type SponsorsActivityOrder ¶ added in v0.0.3
type SponsorsActivityOrder struct { // The field to order activity by. Field SponsorsActivityOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for GitHub Sponsors activity connections.
type SponsorsActivityOrderField ¶ added in v0.0.3
type SponsorsActivityOrderField string
Properties by which GitHub Sponsors activity connections can be ordered.
const ( // Order activities by when they happened. SponsorsActivityOrderFieldTimestamp SponsorsActivityOrderField = "TIMESTAMP" )
func (SponsorsActivityOrderField) IsValid ¶ added in v0.0.3
func (e SponsorsActivityOrderField) IsValid() bool
func (SponsorsActivityOrderField) MarshalGQL ¶ added in v0.0.3
func (e SponsorsActivityOrderField) MarshalGQL(w io.Writer)
func (SponsorsActivityOrderField) String ¶ added in v0.0.3
func (e SponsorsActivityOrderField) String() string
func (*SponsorsActivityOrderField) UnmarshalGQL ¶ added in v0.0.3
func (e *SponsorsActivityOrderField) UnmarshalGQL(v interface{}) error
type SponsorsActivityPeriod ¶ added in v0.0.3
type SponsorsActivityPeriod string
The possible time periods for which Sponsors activities can be requested.
const ( // The previous calendar day. SponsorsActivityPeriodDay SponsorsActivityPeriod = "DAY" // The previous seven days. SponsorsActivityPeriodWeek SponsorsActivityPeriod = "WEEK" // The previous thirty days. SponsorsActivityPeriodMonth SponsorsActivityPeriod = "MONTH" // Don't restrict the activity to any date range, include all activity. SponsorsActivityPeriodAll SponsorsActivityPeriod = "ALL" )
func (SponsorsActivityPeriod) IsValid ¶ added in v0.0.3
func (e SponsorsActivityPeriod) IsValid() bool
func (SponsorsActivityPeriod) MarshalGQL ¶ added in v0.0.3
func (e SponsorsActivityPeriod) MarshalGQL(w io.Writer)
func (SponsorsActivityPeriod) String ¶ added in v0.0.3
func (e SponsorsActivityPeriod) String() string
func (*SponsorsActivityPeriod) UnmarshalGQL ¶ added in v0.0.3
func (e *SponsorsActivityPeriod) UnmarshalGQL(v interface{}) error
type SponsorsCountryOrRegionCode ¶ added in v0.11.4
type SponsorsCountryOrRegionCode string
Represents countries or regions for billing and residence for a GitHub Sponsors profile.
const ( // Afghanistan SponsorsCountryOrRegionCodeAf SponsorsCountryOrRegionCode = "AF" // Åland SponsorsCountryOrRegionCodeAx SponsorsCountryOrRegionCode = "AX" // Albania SponsorsCountryOrRegionCodeAl SponsorsCountryOrRegionCode = "AL" // Algeria SponsorsCountryOrRegionCodeDz SponsorsCountryOrRegionCode = "DZ" // American Samoa SponsorsCountryOrRegionCodeAs SponsorsCountryOrRegionCode = "AS" // Andorra SponsorsCountryOrRegionCodeAd SponsorsCountryOrRegionCode = "AD" // Angola SponsorsCountryOrRegionCodeAo SponsorsCountryOrRegionCode = "AO" // Anguilla SponsorsCountryOrRegionCodeAi SponsorsCountryOrRegionCode = "AI" // Antarctica SponsorsCountryOrRegionCodeAq SponsorsCountryOrRegionCode = "AQ" // Antigua and Barbuda SponsorsCountryOrRegionCodeAg SponsorsCountryOrRegionCode = "AG" // Argentina SponsorsCountryOrRegionCodeAr SponsorsCountryOrRegionCode = "AR" // Armenia SponsorsCountryOrRegionCodeAm SponsorsCountryOrRegionCode = "AM" // Aruba SponsorsCountryOrRegionCodeAw SponsorsCountryOrRegionCode = "AW" // Australia SponsorsCountryOrRegionCodeAu SponsorsCountryOrRegionCode = "AU" // Austria SponsorsCountryOrRegionCodeAt SponsorsCountryOrRegionCode = "AT" // Azerbaijan SponsorsCountryOrRegionCodeAz SponsorsCountryOrRegionCode = "AZ" // Bahamas SponsorsCountryOrRegionCodeBs SponsorsCountryOrRegionCode = "BS" // Bahrain SponsorsCountryOrRegionCodeBh SponsorsCountryOrRegionCode = "BH" // Bangladesh SponsorsCountryOrRegionCodeBd SponsorsCountryOrRegionCode = "BD" // Barbados SponsorsCountryOrRegionCodeBb SponsorsCountryOrRegionCode = "BB" // Belarus SponsorsCountryOrRegionCodeBy SponsorsCountryOrRegionCode = "BY" // Belgium SponsorsCountryOrRegionCodeBe SponsorsCountryOrRegionCode = "BE" // Belize SponsorsCountryOrRegionCodeBz SponsorsCountryOrRegionCode = "BZ" // Benin SponsorsCountryOrRegionCodeBj SponsorsCountryOrRegionCode = "BJ" // Bermuda SponsorsCountryOrRegionCodeBm SponsorsCountryOrRegionCode = "BM" // Bhutan SponsorsCountryOrRegionCodeBt SponsorsCountryOrRegionCode = "BT" // Bolivia SponsorsCountryOrRegionCodeBo SponsorsCountryOrRegionCode = "BO" // Bonaire, Sint Eustatius and Saba SponsorsCountryOrRegionCodeBq SponsorsCountryOrRegionCode = "BQ" // Bosnia and Herzegovina SponsorsCountryOrRegionCodeBa SponsorsCountryOrRegionCode = "BA" // Botswana SponsorsCountryOrRegionCodeBw SponsorsCountryOrRegionCode = "BW" // Bouvet Island SponsorsCountryOrRegionCodeBv SponsorsCountryOrRegionCode = "BV" // Brazil SponsorsCountryOrRegionCodeBr SponsorsCountryOrRegionCode = "BR" // British Indian Ocean Territory SponsorsCountryOrRegionCodeIo SponsorsCountryOrRegionCode = "IO" // Brunei Darussalam SponsorsCountryOrRegionCodeBn SponsorsCountryOrRegionCode = "BN" // Bulgaria SponsorsCountryOrRegionCodeBg SponsorsCountryOrRegionCode = "BG" // Burkina Faso SponsorsCountryOrRegionCodeBf SponsorsCountryOrRegionCode = "BF" // Burundi SponsorsCountryOrRegionCodeBi SponsorsCountryOrRegionCode = "BI" // Cambodia SponsorsCountryOrRegionCodeKh SponsorsCountryOrRegionCode = "KH" // Cameroon SponsorsCountryOrRegionCodeCm SponsorsCountryOrRegionCode = "CM" // Canada SponsorsCountryOrRegionCodeCa SponsorsCountryOrRegionCode = "CA" // Cape Verde SponsorsCountryOrRegionCodeCv SponsorsCountryOrRegionCode = "CV" // Cayman Islands SponsorsCountryOrRegionCodeKy SponsorsCountryOrRegionCode = "KY" // Central African Republic SponsorsCountryOrRegionCodeCf SponsorsCountryOrRegionCode = "CF" // Chad SponsorsCountryOrRegionCodeTd SponsorsCountryOrRegionCode = "TD" // Chile SponsorsCountryOrRegionCodeCl SponsorsCountryOrRegionCode = "CL" // China SponsorsCountryOrRegionCodeCn SponsorsCountryOrRegionCode = "CN" // Christmas Island SponsorsCountryOrRegionCodeCx SponsorsCountryOrRegionCode = "CX" // Cocos (Keeling) Islands SponsorsCountryOrRegionCodeCc SponsorsCountryOrRegionCode = "CC" // Colombia SponsorsCountryOrRegionCodeCo SponsorsCountryOrRegionCode = "CO" // Comoros SponsorsCountryOrRegionCodeKm SponsorsCountryOrRegionCode = "KM" // Congo (Brazzaville) SponsorsCountryOrRegionCodeCg SponsorsCountryOrRegionCode = "CG" // Congo (Kinshasa) SponsorsCountryOrRegionCodeCd SponsorsCountryOrRegionCode = "CD" // Cook Islands SponsorsCountryOrRegionCodeCk SponsorsCountryOrRegionCode = "CK" // Costa Rica SponsorsCountryOrRegionCodeCr SponsorsCountryOrRegionCode = "CR" // Côte d'Ivoire SponsorsCountryOrRegionCodeCi SponsorsCountryOrRegionCode = "CI" // Croatia SponsorsCountryOrRegionCodeHr SponsorsCountryOrRegionCode = "HR" // Curaçao SponsorsCountryOrRegionCodeCw SponsorsCountryOrRegionCode = "CW" // Cyprus SponsorsCountryOrRegionCodeCy SponsorsCountryOrRegionCode = "CY" // Czech Republic SponsorsCountryOrRegionCodeCz SponsorsCountryOrRegionCode = "CZ" // Denmark SponsorsCountryOrRegionCodeDk SponsorsCountryOrRegionCode = "DK" // Djibouti SponsorsCountryOrRegionCodeDj SponsorsCountryOrRegionCode = "DJ" // Dominica SponsorsCountryOrRegionCodeDm SponsorsCountryOrRegionCode = "DM" // Dominican Republic SponsorsCountryOrRegionCodeDo SponsorsCountryOrRegionCode = "DO" // Ecuador SponsorsCountryOrRegionCodeEc SponsorsCountryOrRegionCode = "EC" // Egypt SponsorsCountryOrRegionCodeEg SponsorsCountryOrRegionCode = "EG" // El Salvador SponsorsCountryOrRegionCodeSv SponsorsCountryOrRegionCode = "SV" // Equatorial Guinea SponsorsCountryOrRegionCodeGq SponsorsCountryOrRegionCode = "GQ" // Eritrea SponsorsCountryOrRegionCodeEr SponsorsCountryOrRegionCode = "ER" // Estonia SponsorsCountryOrRegionCodeEe SponsorsCountryOrRegionCode = "EE" // Ethiopia SponsorsCountryOrRegionCodeEt SponsorsCountryOrRegionCode = "ET" // Falkland Islands SponsorsCountryOrRegionCodeFk SponsorsCountryOrRegionCode = "FK" // Faroe Islands SponsorsCountryOrRegionCodeFo SponsorsCountryOrRegionCode = "FO" // Fiji SponsorsCountryOrRegionCodeFj SponsorsCountryOrRegionCode = "FJ" // Finland SponsorsCountryOrRegionCodeFi SponsorsCountryOrRegionCode = "FI" // France SponsorsCountryOrRegionCodeFr SponsorsCountryOrRegionCode = "FR" // French Guiana SponsorsCountryOrRegionCodeGf SponsorsCountryOrRegionCode = "GF" // French Polynesia SponsorsCountryOrRegionCodePf SponsorsCountryOrRegionCode = "PF" // French Southern Lands SponsorsCountryOrRegionCodeTf SponsorsCountryOrRegionCode = "TF" // Gabon SponsorsCountryOrRegionCodeGa SponsorsCountryOrRegionCode = "GA" // Gambia SponsorsCountryOrRegionCodeGm SponsorsCountryOrRegionCode = "GM" // Georgia SponsorsCountryOrRegionCodeGe SponsorsCountryOrRegionCode = "GE" // Germany SponsorsCountryOrRegionCodeDe SponsorsCountryOrRegionCode = "DE" // Ghana SponsorsCountryOrRegionCodeGh SponsorsCountryOrRegionCode = "GH" // Gibraltar SponsorsCountryOrRegionCodeGi SponsorsCountryOrRegionCode = "GI" // Greece SponsorsCountryOrRegionCodeGr SponsorsCountryOrRegionCode = "GR" // Greenland SponsorsCountryOrRegionCodeGl SponsorsCountryOrRegionCode = "GL" // Grenada SponsorsCountryOrRegionCodeGd SponsorsCountryOrRegionCode = "GD" // Guadeloupe SponsorsCountryOrRegionCodeGp SponsorsCountryOrRegionCode = "GP" // Guam SponsorsCountryOrRegionCodeGu SponsorsCountryOrRegionCode = "GU" // Guatemala SponsorsCountryOrRegionCodeGt SponsorsCountryOrRegionCode = "GT" // Guernsey SponsorsCountryOrRegionCodeGg SponsorsCountryOrRegionCode = "GG" // Guinea SponsorsCountryOrRegionCodeGn SponsorsCountryOrRegionCode = "GN" // Guinea-Bissau SponsorsCountryOrRegionCodeGw SponsorsCountryOrRegionCode = "GW" // Guyana SponsorsCountryOrRegionCodeGy SponsorsCountryOrRegionCode = "GY" // Haiti SponsorsCountryOrRegionCodeHt SponsorsCountryOrRegionCode = "HT" // Heard and McDonald Islands SponsorsCountryOrRegionCodeHm SponsorsCountryOrRegionCode = "HM" // Honduras SponsorsCountryOrRegionCodeHn SponsorsCountryOrRegionCode = "HN" // Hong Kong SponsorsCountryOrRegionCodeHk SponsorsCountryOrRegionCode = "HK" // Hungary SponsorsCountryOrRegionCodeHu SponsorsCountryOrRegionCode = "HU" // Iceland SponsorsCountryOrRegionCodeIs SponsorsCountryOrRegionCode = "IS" // India SponsorsCountryOrRegionCodeIn SponsorsCountryOrRegionCode = "IN" // Indonesia SponsorsCountryOrRegionCodeID SponsorsCountryOrRegionCode = "ID" // Iran SponsorsCountryOrRegionCodeIr SponsorsCountryOrRegionCode = "IR" // Iraq SponsorsCountryOrRegionCodeIq SponsorsCountryOrRegionCode = "IQ" // Ireland SponsorsCountryOrRegionCodeIe SponsorsCountryOrRegionCode = "IE" // Isle of Man SponsorsCountryOrRegionCodeIm SponsorsCountryOrRegionCode = "IM" // Israel SponsorsCountryOrRegionCodeIl SponsorsCountryOrRegionCode = "IL" // Italy SponsorsCountryOrRegionCodeIt SponsorsCountryOrRegionCode = "IT" // Jamaica SponsorsCountryOrRegionCodeJm SponsorsCountryOrRegionCode = "JM" // Japan SponsorsCountryOrRegionCodeJp SponsorsCountryOrRegionCode = "JP" // Jersey SponsorsCountryOrRegionCodeJe SponsorsCountryOrRegionCode = "JE" // Jordan SponsorsCountryOrRegionCodeJo SponsorsCountryOrRegionCode = "JO" // Kazakhstan SponsorsCountryOrRegionCodeKz SponsorsCountryOrRegionCode = "KZ" // Kenya SponsorsCountryOrRegionCodeKe SponsorsCountryOrRegionCode = "KE" // Kiribati SponsorsCountryOrRegionCodeKi SponsorsCountryOrRegionCode = "KI" // Korea, South SponsorsCountryOrRegionCodeKr SponsorsCountryOrRegionCode = "KR" // Kuwait SponsorsCountryOrRegionCodeKw SponsorsCountryOrRegionCode = "KW" // Kyrgyzstan SponsorsCountryOrRegionCodeKg SponsorsCountryOrRegionCode = "KG" // Laos SponsorsCountryOrRegionCodeLa SponsorsCountryOrRegionCode = "LA" // Latvia SponsorsCountryOrRegionCodeLv SponsorsCountryOrRegionCode = "LV" // Lebanon SponsorsCountryOrRegionCodeLb SponsorsCountryOrRegionCode = "LB" // Lesotho SponsorsCountryOrRegionCodeLs SponsorsCountryOrRegionCode = "LS" // Liberia SponsorsCountryOrRegionCodeLr SponsorsCountryOrRegionCode = "LR" // Libya SponsorsCountryOrRegionCodeLy SponsorsCountryOrRegionCode = "LY" // Liechtenstein SponsorsCountryOrRegionCodeLi SponsorsCountryOrRegionCode = "LI" // Lithuania SponsorsCountryOrRegionCodeLt SponsorsCountryOrRegionCode = "LT" // Luxembourg SponsorsCountryOrRegionCodeLu SponsorsCountryOrRegionCode = "LU" // Macau SponsorsCountryOrRegionCodeMo SponsorsCountryOrRegionCode = "MO" // Macedonia SponsorsCountryOrRegionCodeMk SponsorsCountryOrRegionCode = "MK" // Madagascar SponsorsCountryOrRegionCodeMg SponsorsCountryOrRegionCode = "MG" // Malawi SponsorsCountryOrRegionCodeMw SponsorsCountryOrRegionCode = "MW" // Malaysia SponsorsCountryOrRegionCodeMy SponsorsCountryOrRegionCode = "MY" // Maldives SponsorsCountryOrRegionCodeMv SponsorsCountryOrRegionCode = "MV" // Mali SponsorsCountryOrRegionCodeMl SponsorsCountryOrRegionCode = "ML" // Malta SponsorsCountryOrRegionCodeMt SponsorsCountryOrRegionCode = "MT" // Marshall Islands SponsorsCountryOrRegionCodeMh SponsorsCountryOrRegionCode = "MH" // Martinique SponsorsCountryOrRegionCodeMq SponsorsCountryOrRegionCode = "MQ" // Mauritania SponsorsCountryOrRegionCodeMr SponsorsCountryOrRegionCode = "MR" // Mauritius SponsorsCountryOrRegionCodeMu SponsorsCountryOrRegionCode = "MU" // Mayotte SponsorsCountryOrRegionCodeYt SponsorsCountryOrRegionCode = "YT" // Mexico SponsorsCountryOrRegionCodeMx SponsorsCountryOrRegionCode = "MX" // Micronesia SponsorsCountryOrRegionCodeFm SponsorsCountryOrRegionCode = "FM" // Moldova SponsorsCountryOrRegionCodeMd SponsorsCountryOrRegionCode = "MD" // Monaco SponsorsCountryOrRegionCodeMc SponsorsCountryOrRegionCode = "MC" // Mongolia SponsorsCountryOrRegionCodeMn SponsorsCountryOrRegionCode = "MN" // Montenegro SponsorsCountryOrRegionCodeMe SponsorsCountryOrRegionCode = "ME" // Montserrat SponsorsCountryOrRegionCodeMs SponsorsCountryOrRegionCode = "MS" // Morocco SponsorsCountryOrRegionCodeMa SponsorsCountryOrRegionCode = "MA" // Mozambique SponsorsCountryOrRegionCodeMz SponsorsCountryOrRegionCode = "MZ" // Myanmar SponsorsCountryOrRegionCodeMm SponsorsCountryOrRegionCode = "MM" // Namibia SponsorsCountryOrRegionCodeNa SponsorsCountryOrRegionCode = "NA" // Nauru SponsorsCountryOrRegionCodeNr SponsorsCountryOrRegionCode = "NR" // Nepal SponsorsCountryOrRegionCodeNp SponsorsCountryOrRegionCode = "NP" // Netherlands SponsorsCountryOrRegionCodeNl SponsorsCountryOrRegionCode = "NL" // New Caledonia SponsorsCountryOrRegionCodeNc SponsorsCountryOrRegionCode = "NC" // New Zealand SponsorsCountryOrRegionCodeNz SponsorsCountryOrRegionCode = "NZ" // Nicaragua SponsorsCountryOrRegionCodeNi SponsorsCountryOrRegionCode = "NI" // Niger SponsorsCountryOrRegionCodeNe SponsorsCountryOrRegionCode = "NE" // Nigeria SponsorsCountryOrRegionCodeNg SponsorsCountryOrRegionCode = "NG" // Niue SponsorsCountryOrRegionCodeNu SponsorsCountryOrRegionCode = "NU" // Norfolk Island SponsorsCountryOrRegionCodeNf SponsorsCountryOrRegionCode = "NF" // Northern Mariana Islands SponsorsCountryOrRegionCodeMp SponsorsCountryOrRegionCode = "MP" // Norway SponsorsCountryOrRegionCodeNo SponsorsCountryOrRegionCode = "NO" // Oman SponsorsCountryOrRegionCodeOm SponsorsCountryOrRegionCode = "OM" // Pakistan SponsorsCountryOrRegionCodePk SponsorsCountryOrRegionCode = "PK" // Palau SponsorsCountryOrRegionCodePw SponsorsCountryOrRegionCode = "PW" // Palestine SponsorsCountryOrRegionCodePs SponsorsCountryOrRegionCode = "PS" // Panama SponsorsCountryOrRegionCodePa SponsorsCountryOrRegionCode = "PA" // Papua New Guinea SponsorsCountryOrRegionCodePg SponsorsCountryOrRegionCode = "PG" // Paraguay SponsorsCountryOrRegionCodePy SponsorsCountryOrRegionCode = "PY" // Peru SponsorsCountryOrRegionCodePe SponsorsCountryOrRegionCode = "PE" // Philippines SponsorsCountryOrRegionCodePh SponsorsCountryOrRegionCode = "PH" // Pitcairn SponsorsCountryOrRegionCodePn SponsorsCountryOrRegionCode = "PN" // Poland SponsorsCountryOrRegionCodePl SponsorsCountryOrRegionCode = "PL" // Portugal SponsorsCountryOrRegionCodePt SponsorsCountryOrRegionCode = "PT" // Puerto Rico SponsorsCountryOrRegionCodePr SponsorsCountryOrRegionCode = "PR" // Qatar SponsorsCountryOrRegionCodeQa SponsorsCountryOrRegionCode = "QA" // Reunion SponsorsCountryOrRegionCodeRe SponsorsCountryOrRegionCode = "RE" // Romania SponsorsCountryOrRegionCodeRo SponsorsCountryOrRegionCode = "RO" // Russian Federation SponsorsCountryOrRegionCodeRu SponsorsCountryOrRegionCode = "RU" // Rwanda SponsorsCountryOrRegionCodeRw SponsorsCountryOrRegionCode = "RW" // Saint Barthélemy SponsorsCountryOrRegionCodeBl SponsorsCountryOrRegionCode = "BL" // Saint Helena SponsorsCountryOrRegionCodeSh SponsorsCountryOrRegionCode = "SH" // Saint Kitts and Nevis SponsorsCountryOrRegionCodeKn SponsorsCountryOrRegionCode = "KN" // Saint Lucia SponsorsCountryOrRegionCodeLc SponsorsCountryOrRegionCode = "LC" // Saint Martin (French part) SponsorsCountryOrRegionCodeMf SponsorsCountryOrRegionCode = "MF" // Saint Pierre and Miquelon SponsorsCountryOrRegionCodePm SponsorsCountryOrRegionCode = "PM" // Saint Vincent and the Grenadines SponsorsCountryOrRegionCodeVc SponsorsCountryOrRegionCode = "VC" // Samoa SponsorsCountryOrRegionCodeWs SponsorsCountryOrRegionCode = "WS" // San Marino SponsorsCountryOrRegionCodeSm SponsorsCountryOrRegionCode = "SM" // Sao Tome and Principe SponsorsCountryOrRegionCodeSt SponsorsCountryOrRegionCode = "ST" // Saudi Arabia SponsorsCountryOrRegionCodeSa SponsorsCountryOrRegionCode = "SA" // Senegal SponsorsCountryOrRegionCodeSn SponsorsCountryOrRegionCode = "SN" // Serbia SponsorsCountryOrRegionCodeRs SponsorsCountryOrRegionCode = "RS" // Seychelles SponsorsCountryOrRegionCodeSc SponsorsCountryOrRegionCode = "SC" // Sierra Leone SponsorsCountryOrRegionCodeSl SponsorsCountryOrRegionCode = "SL" // Singapore SponsorsCountryOrRegionCodeSg SponsorsCountryOrRegionCode = "SG" // Sint Maarten (Dutch part) SponsorsCountryOrRegionCodeSx SponsorsCountryOrRegionCode = "SX" // Slovakia SponsorsCountryOrRegionCodeSk SponsorsCountryOrRegionCode = "SK" // Slovenia SponsorsCountryOrRegionCodeSi SponsorsCountryOrRegionCode = "SI" // Solomon Islands SponsorsCountryOrRegionCodeSb SponsorsCountryOrRegionCode = "SB" // Somalia SponsorsCountryOrRegionCodeSo SponsorsCountryOrRegionCode = "SO" // South Africa SponsorsCountryOrRegionCodeZa SponsorsCountryOrRegionCode = "ZA" // South Georgia and South Sandwich Islands SponsorsCountryOrRegionCodeGs SponsorsCountryOrRegionCode = "GS" // South Sudan SponsorsCountryOrRegionCodeSs SponsorsCountryOrRegionCode = "SS" // Spain SponsorsCountryOrRegionCodeEs SponsorsCountryOrRegionCode = "ES" // Sri Lanka SponsorsCountryOrRegionCodeLk SponsorsCountryOrRegionCode = "LK" // Sudan SponsorsCountryOrRegionCodeSd SponsorsCountryOrRegionCode = "SD" // Suriname SponsorsCountryOrRegionCodeSr SponsorsCountryOrRegionCode = "SR" // Svalbard and Jan Mayen Islands SponsorsCountryOrRegionCodeSj SponsorsCountryOrRegionCode = "SJ" // Swaziland SponsorsCountryOrRegionCodeSz SponsorsCountryOrRegionCode = "SZ" // Sweden SponsorsCountryOrRegionCodeSe SponsorsCountryOrRegionCode = "SE" // Switzerland SponsorsCountryOrRegionCodeCh SponsorsCountryOrRegionCode = "CH" // Taiwan SponsorsCountryOrRegionCodeTw SponsorsCountryOrRegionCode = "TW" // Tajikistan SponsorsCountryOrRegionCodeTj SponsorsCountryOrRegionCode = "TJ" // Tanzania SponsorsCountryOrRegionCodeTz SponsorsCountryOrRegionCode = "TZ" // Thailand SponsorsCountryOrRegionCodeTh SponsorsCountryOrRegionCode = "TH" // Timor-Leste SponsorsCountryOrRegionCodeTl SponsorsCountryOrRegionCode = "TL" // Togo SponsorsCountryOrRegionCodeTg SponsorsCountryOrRegionCode = "TG" // Tokelau SponsorsCountryOrRegionCodeTk SponsorsCountryOrRegionCode = "TK" // Tonga SponsorsCountryOrRegionCodeTo SponsorsCountryOrRegionCode = "TO" // Trinidad and Tobago SponsorsCountryOrRegionCodeTt SponsorsCountryOrRegionCode = "TT" // Tunisia SponsorsCountryOrRegionCodeTn SponsorsCountryOrRegionCode = "TN" // Turkey SponsorsCountryOrRegionCodeTr SponsorsCountryOrRegionCode = "TR" // Turkmenistan SponsorsCountryOrRegionCodeTm SponsorsCountryOrRegionCode = "TM" // Turks and Caicos Islands SponsorsCountryOrRegionCodeTc SponsorsCountryOrRegionCode = "TC" // Tuvalu SponsorsCountryOrRegionCodeTv SponsorsCountryOrRegionCode = "TV" // Uganda SponsorsCountryOrRegionCodeUg SponsorsCountryOrRegionCode = "UG" // Ukraine SponsorsCountryOrRegionCodeUa SponsorsCountryOrRegionCode = "UA" // United Arab Emirates SponsorsCountryOrRegionCodeAe SponsorsCountryOrRegionCode = "AE" // United Kingdom SponsorsCountryOrRegionCodeGb SponsorsCountryOrRegionCode = "GB" // United States Minor Outlying Islands SponsorsCountryOrRegionCodeUm SponsorsCountryOrRegionCode = "UM" // United States of America SponsorsCountryOrRegionCodeUs SponsorsCountryOrRegionCode = "US" // Uruguay SponsorsCountryOrRegionCodeUy SponsorsCountryOrRegionCode = "UY" // Uzbekistan SponsorsCountryOrRegionCodeUz SponsorsCountryOrRegionCode = "UZ" // Vanuatu SponsorsCountryOrRegionCodeVu SponsorsCountryOrRegionCode = "VU" // Vatican City SponsorsCountryOrRegionCodeVa SponsorsCountryOrRegionCode = "VA" // Venezuela SponsorsCountryOrRegionCodeVe SponsorsCountryOrRegionCode = "VE" // Vietnam SponsorsCountryOrRegionCodeVn SponsorsCountryOrRegionCode = "VN" // Virgin Islands, British SponsorsCountryOrRegionCodeVg SponsorsCountryOrRegionCode = "VG" // Virgin Islands, U.S. SponsorsCountryOrRegionCodeVi SponsorsCountryOrRegionCode = "VI" // Wallis and Futuna Islands SponsorsCountryOrRegionCodeWf SponsorsCountryOrRegionCode = "WF" // Western Sahara SponsorsCountryOrRegionCodeEh SponsorsCountryOrRegionCode = "EH" // Yemen SponsorsCountryOrRegionCodeYe SponsorsCountryOrRegionCode = "YE" // Zambia SponsorsCountryOrRegionCodeZm SponsorsCountryOrRegionCode = "ZM" // Zimbabwe SponsorsCountryOrRegionCodeZw SponsorsCountryOrRegionCode = "ZW" )
func (SponsorsCountryOrRegionCode) IsValid ¶ added in v0.11.4
func (e SponsorsCountryOrRegionCode) IsValid() bool
func (SponsorsCountryOrRegionCode) MarshalGQL ¶ added in v0.11.4
func (e SponsorsCountryOrRegionCode) MarshalGQL(w io.Writer)
func (SponsorsCountryOrRegionCode) String ¶ added in v0.11.4
func (e SponsorsCountryOrRegionCode) String() string
func (*SponsorsCountryOrRegionCode) UnmarshalGQL ¶ added in v0.11.4
func (e *SponsorsCountryOrRegionCode) UnmarshalGQL(v interface{}) error
type SponsorsGoal ¶
type SponsorsGoal struct { // A description of the goal from the maintainer. Description *string `json:"description"` // What the objective of this goal is. Kind SponsorsGoalKind `json:"kind"` // The percentage representing how complete this goal is, between 0-100. PercentComplete int `json:"percentComplete"` // 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"` // A brief summary of the kind and target value of this goal. Title string `json:"title"` }
A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.
type SponsorsGoalKind ¶
type SponsorsGoalKind string
The different kinds of goals a GitHub Sponsors member can have.
const ( // The goal is about reaching a certain number of sponsors. SponsorsGoalKindTotalSponsorsCount SponsorsGoalKind = "TOTAL_SPONSORS_COUNT" // The goal is about getting a certain amount in USD from sponsorships each month. SponsorsGoalKindMonthlySponsorshipAmount SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT" )
func (SponsorsGoalKind) IsValid ¶
func (e SponsorsGoalKind) IsValid() bool
func (SponsorsGoalKind) MarshalGQL ¶
func (e SponsorsGoalKind) MarshalGQL(w io.Writer)
func (SponsorsGoalKind) String ¶
func (e SponsorsGoalKind) String() string
func (*SponsorsGoalKind) UnmarshalGQL ¶
func (e *SponsorsGoalKind) UnmarshalGQL(v interface{}) error
type SponsorsListing ¶
type SponsorsListing struct { // The current goal the maintainer is trying to reach with GitHub Sponsors, if any. ActiveGoal *SponsorsGoal `json:"activeGoal"` // The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. ActiveStripeConnectAccount *StripeConnectAccount `json:"activeStripeConnectAccount"` // The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. BillingCountryOrRegion *string `json:"billingCountryOrRegion"` // The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. ContactEmailAddress *string `json:"contactEmailAddress"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The HTTP path for the Sponsors dashboard for this Sponsors listing. DashboardResourcePath string `json:"dashboardResourcePath"` // The HTTP URL for the Sponsors dashboard for this Sponsors listing. DashboardURL string `json:"dashboardUrl"` // The records featured on the GitHub Sponsors profile. FeaturedItems []*SponsorsListingFeaturedItem `json:"featuredItems"` // The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. FiscalHost *Organization `json:"fiscalHost"` // The full description of the listing. FullDescription string `json:"fullDescription"` // The full description of the listing rendered to HTML. FullDescriptionHTML string `json:"fullDescriptionHTML"` ID string `json:"id"` // Whether this listing is publicly visible. IsPublic bool `json:"isPublic"` // The listing's full name. Name string `json:"name"` // A future date on which this listing is eligible to receive a payout. NextPayoutDate *string `json:"nextPayoutDate"` // The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization. ResidenceCountryOrRegion *string `json:"residenceCountryOrRegion"` // The HTTP path for this Sponsors listing. ResourcePath string `json:"resourcePath"` // The short description of the listing. ShortDescription string `json:"shortDescription"` // The short name of the listing. Slug string `json:"slug"` // The entity this listing represents who can be sponsored on GitHub Sponsors. Sponsorable Sponsorable `json:"sponsorable"` // The tiers for this GitHub Sponsors profile. Tiers *SponsorsTierConnection `json:"tiers"` // The HTTP URL for this Sponsors listing. URL string `json:"url"` }
A GitHub Sponsors listing.
func (SponsorsListing) GetID ¶ added in v0.11.4
func (this SponsorsListing) GetID() string
ID of the object.
func (SponsorsListing) IsNode ¶
func (SponsorsListing) IsNode()
type SponsorsListingFeatureableItem ¶ added in v0.11.4
type SponsorsListingFeatureableItem interface {
IsSponsorsListingFeatureableItem()
}
A record that can be featured on a GitHub Sponsors profile.
type SponsorsListingFeaturedItem ¶ added in v0.11.4
type SponsorsListingFeaturedItem struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page. Description *string `json:"description"` // The record that is featured on the GitHub Sponsors profile. Featureable SponsorsListingFeatureableItem `json:"featureable"` ID string `json:"id"` // The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1. Position int `json:"position"` // The GitHub Sponsors profile that features this record. SponsorsListing SponsorsListing `json:"sponsorsListing"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A record that is promoted on a GitHub Sponsors profile.
func (SponsorsListingFeaturedItem) GetID ¶ added in v0.11.4
func (this SponsorsListingFeaturedItem) GetID() string
ID of the object.
func (SponsorsListingFeaturedItem) IsNode ¶ added in v0.11.4
func (SponsorsListingFeaturedItem) IsNode()
type SponsorsListingFeaturedItemFeatureableType ¶ added in v0.11.4
type SponsorsListingFeaturedItemFeatureableType string
The different kinds of records that can be featured on a GitHub Sponsors profile page.
const ( // A repository owned by the user or organization with the GitHub Sponsors profile. SponsorsListingFeaturedItemFeatureableTypeRepository SponsorsListingFeaturedItemFeatureableType = "REPOSITORY" // A user who belongs to the organization with the GitHub Sponsors profile. SponsorsListingFeaturedItemFeatureableTypeUser SponsorsListingFeaturedItemFeatureableType = "USER" )
func (SponsorsListingFeaturedItemFeatureableType) IsValid ¶ added in v0.11.4
func (e SponsorsListingFeaturedItemFeatureableType) IsValid() bool
func (SponsorsListingFeaturedItemFeatureableType) MarshalGQL ¶ added in v0.11.4
func (e SponsorsListingFeaturedItemFeatureableType) MarshalGQL(w io.Writer)
func (SponsorsListingFeaturedItemFeatureableType) String ¶ added in v0.11.4
func (e SponsorsListingFeaturedItemFeatureableType) String() string
func (*SponsorsListingFeaturedItemFeatureableType) UnmarshalGQL ¶ added in v0.11.4
func (e *SponsorsListingFeaturedItemFeatureableType) UnmarshalGQL(v interface{}) error
type SponsorsTier ¶
type SponsorsTier struct { // SponsorsTier information only visible to users that can administer the associated Sponsors listing. AdminInfo *SponsorsTierAdminInfo `json:"adminInfo"` // 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"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The description of the tier. Description string `json:"description"` // The tier description rendered to HTML DescriptionHTML string `json:"descriptionHTML"` ID string `json:"id"` // 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"` // Whether this tier is only for use with one-time sponsorships. IsOneTime bool `json:"isOneTime"` // How much this tier costs per month in cents. MonthlyPriceInCents int `json:"monthlyPriceInCents"` // How much this tier costs per month in USD. MonthlyPriceInDollars int `json:"monthlyPriceInDollars"` // The name of the tier. Name string `json:"name"` // The sponsors listing that this tier belongs to. SponsorsListing SponsorsListing `json:"sponsorsListing"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A GitHub Sponsors tier associated with a GitHub Sponsors listing.
func (SponsorsTier) GetID ¶ added in v0.11.4
func (this SponsorsTier) GetID() string
ID of the object.
func (SponsorsTier) IsNode ¶
func (SponsorsTier) IsNode()
type SponsorsTierAdminInfo ¶
type SponsorsTierAdminInfo struct { // Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile. IsDraft bool `json:"isDraft"` // Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible. IsPublished bool `json:"isPublished"` // Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired. IsRetired bool `json:"isRetired"` // The sponsorships using this tier. Sponsorships SponsorshipConnection `json:"sponsorships"` }
SponsorsTier information only visible to users that can administer the associated Sponsors listing.
type SponsorsTierConnection ¶
type SponsorsTierConnection struct { // A list of edges. Edges []*SponsorsTierEdge `json:"edges"` // A list of nodes. Nodes []*SponsorsTier `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorsTier.
type SponsorsTierEdge ¶
type SponsorsTierEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SponsorsTier `json:"node"` }
An edge in a connection.
type SponsorsTierOrder ¶
type SponsorsTierOrder struct { // The field to order tiers by. Field SponsorsTierOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for Sponsors tiers connections.
type SponsorsTierOrderField ¶
type SponsorsTierOrderField string
Properties by which Sponsors tiers connections can be ordered.
const ( // Order tiers by creation time. SponsorsTierOrderFieldCreatedAt SponsorsTierOrderField = "CREATED_AT" // Order tiers by their monthly price in cents SponsorsTierOrderFieldMonthlyPriceInCents SponsorsTierOrderField = "MONTHLY_PRICE_IN_CENTS" )
func (SponsorsTierOrderField) IsValid ¶
func (e SponsorsTierOrderField) IsValid() bool
func (SponsorsTierOrderField) MarshalGQL ¶
func (e SponsorsTierOrderField) MarshalGQL(w io.Writer)
func (SponsorsTierOrderField) String ¶
func (e SponsorsTierOrderField) String() string
func (*SponsorsTierOrderField) UnmarshalGQL ¶
func (e *SponsorsTierOrderField) UnmarshalGQL(v interface{}) error
type Sponsorship ¶
type Sponsorship struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor. IsActive bool `json:"isActive"` // Whether this sponsorship represents a one-time payment versus a recurring sponsorship. IsOneTimePayment bool `json:"isOneTimePayment"` // Whether 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"` // The entity that is being sponsored Maintainer User `json:"maintainer"` // The privacy level for this sponsorship. PrivacyLevel SponsorshipPrivacy `json:"privacyLevel"` // The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user. Sponsor *User `json:"sponsor"` // The user or organization that is sponsoring, if you have permission to view them. SponsorEntity Sponsor `json:"sponsorEntity"` // The entity that is being sponsored Sponsorable Sponsorable `json:"sponsorable"` // The associated sponsorship tier Tier *SponsorsTier `json:"tier"` // Identifies the date and time when the current tier was chosen for this sponsorship. TierSelectedAt *time.Time `json:"tierSelectedAt"` }
A sponsorship relationship between a sponsor and a maintainer
func (Sponsorship) GetID ¶ added in v0.11.4
func (this Sponsorship) GetID() string
ID of the object.
func (Sponsorship) IsNode ¶
func (Sponsorship) IsNode()
type SponsorshipConnection ¶
type SponsorshipConnection struct { // A list of edges. Edges []*SponsorshipEdge `json:"edges"` // A list of nodes. Nodes []*Sponsorship `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` // 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"` // 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"` }
The connection type for Sponsorship.
type SponsorshipEdge ¶
type SponsorshipEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Sponsorship `json:"node"` }
An edge in a connection.
type SponsorshipNewsletter ¶ added in v0.0.3
type SponsorshipNewsletter struct { // The author of the newsletter. Author *User `json:"author"` // The contents of the newsletter, the message the sponsorable wanted to give. Body string `json:"body"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Indicates if the newsletter has been made available to sponsors. IsPublished bool `json:"isPublished"` // The user or organization this newsletter is from. Sponsorable Sponsorable `json:"sponsorable"` // The subject of the newsletter, what it's about. Subject string `json:"subject"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An update sent to sponsors of a user or organization on GitHub Sponsors.
func (SponsorshipNewsletter) GetID ¶ added in v0.11.4
func (this SponsorshipNewsletter) GetID() string
ID of the object.
func (SponsorshipNewsletter) IsNode ¶ added in v0.0.3
func (SponsorshipNewsletter) IsNode()
type SponsorshipNewsletterConnection ¶ added in v0.0.3
type SponsorshipNewsletterConnection struct { // A list of edges. Edges []*SponsorshipNewsletterEdge `json:"edges"` // A list of nodes. Nodes []*SponsorshipNewsletter `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorshipNewsletter.
type SponsorshipNewsletterEdge ¶ added in v0.0.3
type SponsorshipNewsletterEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *SponsorshipNewsletter `json:"node"` }
An edge in a connection.
type SponsorshipNewsletterOrder ¶ added in v0.0.3
type SponsorshipNewsletterOrder struct { // The field to order sponsorship newsletters by. Field SponsorshipNewsletterOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for sponsorship newsletter connections.
type SponsorshipNewsletterOrderField ¶ added in v0.0.3
type SponsorshipNewsletterOrderField string
Properties by which sponsorship update connections can be ordered.
const ( // Order sponsorship newsletters by when they were created. SponsorshipNewsletterOrderFieldCreatedAt SponsorshipNewsletterOrderField = "CREATED_AT" )
func (SponsorshipNewsletterOrderField) IsValid ¶ added in v0.0.3
func (e SponsorshipNewsletterOrderField) IsValid() bool
func (SponsorshipNewsletterOrderField) MarshalGQL ¶ added in v0.0.3
func (e SponsorshipNewsletterOrderField) MarshalGQL(w io.Writer)
func (SponsorshipNewsletterOrderField) String ¶ added in v0.0.3
func (e SponsorshipNewsletterOrderField) String() string
func (*SponsorshipNewsletterOrderField) UnmarshalGQL ¶ added in v0.0.3
func (e *SponsorshipNewsletterOrderField) UnmarshalGQL(v interface{}) error
type SponsorshipOrder ¶
type SponsorshipOrder struct { // The field to order sponsorship by. Field SponsorshipOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for sponsorship connections.
type SponsorshipOrderField ¶
type SponsorshipOrderField string
Properties by which sponsorship connections can be ordered.
const ( // Order sponsorship by creation time. SponsorshipOrderFieldCreatedAt SponsorshipOrderField = "CREATED_AT" )
func (SponsorshipOrderField) IsValid ¶
func (e SponsorshipOrderField) IsValid() bool
func (SponsorshipOrderField) MarshalGQL ¶
func (e SponsorshipOrderField) MarshalGQL(w io.Writer)
func (SponsorshipOrderField) String ¶
func (e SponsorshipOrderField) String() string
func (*SponsorshipOrderField) UnmarshalGQL ¶
func (e *SponsorshipOrderField) UnmarshalGQL(v interface{}) error
type SponsorshipPrivacy ¶
type SponsorshipPrivacy string
The privacy of a sponsorship
const ( // Public SponsorshipPrivacyPublic SponsorshipPrivacy = "PUBLIC" // Private SponsorshipPrivacyPrivate SponsorshipPrivacy = "PRIVATE" )
func (SponsorshipPrivacy) IsValid ¶
func (e SponsorshipPrivacy) IsValid() bool
func (SponsorshipPrivacy) MarshalGQL ¶
func (e SponsorshipPrivacy) MarshalGQL(w io.Writer)
func (SponsorshipPrivacy) String ¶
func (e SponsorshipPrivacy) String() string
func (*SponsorshipPrivacy) UnmarshalGQL ¶
func (e *SponsorshipPrivacy) UnmarshalGQL(v interface{}) error
type SquashMergeCommitMessage ¶ added in v0.11.4
type SquashMergeCommitMessage string
The possible default commit messages for squash merges.
const ( // Default to the pull request's body. SquashMergeCommitMessagePrBody SquashMergeCommitMessage = "PR_BODY" // Default to the branch's commit messages. SquashMergeCommitMessageCommitMessages SquashMergeCommitMessage = "COMMIT_MESSAGES" // Default to a blank commit message. SquashMergeCommitMessageBlank SquashMergeCommitMessage = "BLANK" )
func (SquashMergeCommitMessage) IsValid ¶ added in v0.11.4
func (e SquashMergeCommitMessage) IsValid() bool
func (SquashMergeCommitMessage) MarshalGQL ¶ added in v0.11.4
func (e SquashMergeCommitMessage) MarshalGQL(w io.Writer)
func (SquashMergeCommitMessage) String ¶ added in v0.11.4
func (e SquashMergeCommitMessage) String() string
func (*SquashMergeCommitMessage) UnmarshalGQL ¶ added in v0.11.4
func (e *SquashMergeCommitMessage) UnmarshalGQL(v interface{}) error
type SquashMergeCommitTitle ¶ added in v0.11.4
type SquashMergeCommitTitle string
The possible default commit titles for squash merges.
const ( // Default to the pull request's title. SquashMergeCommitTitlePrTitle SquashMergeCommitTitle = "PR_TITLE" // Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). SquashMergeCommitTitleCommitOrPrTitle SquashMergeCommitTitle = "COMMIT_OR_PR_TITLE" )
func (SquashMergeCommitTitle) IsValid ¶ added in v0.11.4
func (e SquashMergeCommitTitle) IsValid() bool
func (SquashMergeCommitTitle) MarshalGQL ¶ added in v0.11.4
func (e SquashMergeCommitTitle) MarshalGQL(w io.Writer)
func (SquashMergeCommitTitle) String ¶ added in v0.11.4
func (e SquashMergeCommitTitle) String() string
func (*SquashMergeCommitTitle) UnmarshalGQL ¶ added in v0.11.4
func (e *SquashMergeCommitTitle) UnmarshalGQL(v interface{}) error
type StarOrder ¶
type StarOrder struct { // The field in which to order nodes by. Field StarOrderField `json:"field"` // The direction in which to order nodes. Direction OrderDirection `json:"direction"` }
Ways in which star connections can be ordered.
type StarOrderField ¶
type StarOrderField string
Properties by which star connections can be ordered.
const ( // Allows ordering a list of stars by when they were created. StarOrderFieldStarredAt StarOrderField = "STARRED_AT" )
func (StarOrderField) IsValid ¶
func (e StarOrderField) IsValid() bool
func (StarOrderField) MarshalGQL ¶
func (e StarOrderField) MarshalGQL(w io.Writer)
func (StarOrderField) String ¶
func (e StarOrderField) String() string
func (*StarOrderField) UnmarshalGQL ¶
func (e *StarOrderField) UnmarshalGQL(v interface{}) error
type StargazerConnection ¶
type StargazerConnection struct { // A list of edges. Edges []*StargazerEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type StargazerEdge ¶
type StargazerEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` Node User `json:"node"` // Identifies when the item was starred. StarredAt time.Time `json:"starredAt"` }
Represents a user that's starred a repository.
type Starrable ¶
type Starrable interface { IsStarrable() GetID() string // Returns a count of how many stargazers there are on this object // GetStargazerCount() int // A list of users who have starred this starrable. GetStargazers() StargazerConnection // Returns a boolean indicating whether the viewing user has starred this starrable. GetViewerHasStarred() bool }
Things that can be starred.
type StarredRepositoryConnection ¶
type StarredRepositoryConnection struct { // A list of edges. Edges []*StarredRepositoryEdge `json:"edges"` // Is the list of stars for this user truncated? This is true for users that have many stars. IsOverLimit bool `json:"isOverLimit"` // A list of nodes. Nodes []*Repository `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Repository.
type StarredRepositoryEdge ¶
type StarredRepositoryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` Node Repository `json:"node"` // Identifies when the item was starred. StarredAt time.Time `json:"starredAt"` }
Represents a starred repository.
type StartOrganizationMigrationInput ¶ added in v0.11.4
type StartOrganizationMigrationInput struct { // The URL of the organization to migrate. SourceOrgURL string `json:"sourceOrgUrl"` // The name of the target organization. TargetOrgName string `json:"targetOrgName"` // The ID of the enterprise the target organization belongs to. TargetEnterpriseID string `json:"targetEnterpriseId"` // The migration source access token. SourceAccessToken string `json:"sourceAccessToken"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of StartOrganizationMigration
type StartOrganizationMigrationPayload ¶ added in v0.11.4
type StartOrganizationMigrationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new organization migration. OrgMigration *OrganizationMigration `json:"orgMigration"` }
Autogenerated return type of StartOrganizationMigration
type StartRepositoryMigrationInput ¶ added in v0.0.4
type StartRepositoryMigrationInput struct { // The ID of the migration source. SourceID string `json:"sourceId"` // The ID of the organization that will own the imported repository. OwnerID string `json:"ownerId"` // The URL of the source repository. SourceRepositoryURL string `json:"sourceRepositoryUrl"` // The name of the imported repository. RepositoryName string `json:"repositoryName"` // Whether to continue the migration on error. Defaults to `false`. ContinueOnError *bool `json:"continueOnError,omitempty"` // The signed URL to access the user-uploaded git archive. GitArchiveURL *string `json:"gitArchiveUrl,omitempty"` // The signed URL to access the user-uploaded metadata archive. MetadataArchiveURL *string `json:"metadataArchiveUrl,omitempty"` // The migration source access token. AccessToken string `json:"accessToken"` // The GitHub personal access token of the user importing to the target repository. GithubPat *string `json:"githubPat,omitempty"` // Whether to skip migrating releases for the repository. SkipReleases *bool `json:"skipReleases,omitempty"` // The visibility of the imported repository. TargetRepoVisibility *string `json:"targetRepoVisibility,omitempty"` // Whether to lock the source repository. LockSource *bool `json:"lockSource,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of StartRepositoryMigration
type StartRepositoryMigrationPayload ¶ added in v0.0.4
type StartRepositoryMigrationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The new repository migration. RepositoryMigration *RepositoryMigration `json:"repositoryMigration"` }
Autogenerated return type of StartRepositoryMigration
type Status ¶
type Status struct { // A list of status contexts and check runs for this commit. CombinedContexts StatusCheckRollupContextConnection `json:"combinedContexts"` // The commit this status is attached to. Commit *Commit `json:"commit"` // Looks up an individual status context by context name. Context *StatusContext `json:"context"` // The individual status contexts for this commit. Contexts []*StatusContext `json:"contexts"` ID string `json:"id"` // The combined commit status. State StatusState `json:"state"` }
Represents a commit status.
type StatusCheckRollup ¶
type StatusCheckRollup struct { // The commit the status and check runs are attached to. Commit *Commit `json:"commit"` // A list of status contexts and check runs for this commit. Contexts StatusCheckRollupContextConnection `json:"contexts"` ID string `json:"id"` // The combined status for the commit. State StatusState `json:"state"` }
Represents the rollup for both the check runs and status for a commit.
func (StatusCheckRollup) GetID ¶ added in v0.11.4
func (this StatusCheckRollup) GetID() string
ID of the object.
func (StatusCheckRollup) IsNode ¶
func (StatusCheckRollup) IsNode()
type StatusCheckRollupContext ¶
type StatusCheckRollupContext interface {
IsStatusCheckRollupContext()
}
Types that can be inside a StatusCheckRollup context.
type StatusCheckRollupContextConnection ¶
type StatusCheckRollupContextConnection struct { // The number of check runs in this rollup. CheckRunCount int `json:"checkRunCount"` // Counts of check runs by state. CheckRunCountsByState []*CheckRunStateCount `json:"checkRunCountsByState"` // A list of edges. Edges []*StatusCheckRollupContextEdge `json:"edges"` // A list of nodes. Nodes []StatusCheckRollupContext `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // The number of status contexts in this rollup. StatusContextCount int `json:"statusContextCount"` // Counts of status contexts by state. StatusContextCountsByState []*StatusContextStateCount `json:"statusContextCountsByState"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for StatusCheckRollupContext.
type StatusCheckRollupContextEdge ¶
type StatusCheckRollupContextEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node StatusCheckRollupContext `json:"node"` }
An edge in a connection.
type StatusContext ¶
type StatusContext struct { // The avatar of the OAuth application or the user that created the status AvatarURL *string `json:"avatarUrl"` // This commit this status context is attached to. Commit *Commit `json:"commit"` // The name of this status context. Context string `json:"context"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The actor who created this status context. Creator Actor `json:"creator"` // The description for this status context. Description *string `json:"description"` ID string `json:"id"` // Whether this is required to pass before merging for a specific pull request. IsRequired bool `json:"isRequired"` // The state of this status context. State StatusState `json:"state"` // The URL for this status context. TargetURL *string `json:"targetUrl"` }
Represents an individual commit status context
func (StatusContext) GetID ¶ added in v0.11.4
func (this StatusContext) GetID() string
ID of the object.
func (StatusContext) GetIsRequired ¶ added in v0.11.4
func (this StatusContext) GetIsRequired() bool
Whether this is required to pass before merging for a specific pull request.
func (StatusContext) IsNode ¶
func (StatusContext) IsNode()
func (StatusContext) IsRequirableByPullRequest ¶
func (StatusContext) IsRequirableByPullRequest()
func (StatusContext) IsStatusCheckRollupContext ¶
func (StatusContext) IsStatusCheckRollupContext()
type StatusContextStateCount ¶ added in v0.11.4
type StatusContextStateCount struct { // The number of statuses with this state. Count int `json:"count"` // The state of a status context. State StatusState `json:"state"` }
Represents a count of the state of a status context.
type StatusState ¶
type StatusState string
The possible commit status states.
const ( // Status is expected. StatusStateExpected StatusState = "EXPECTED" // Status is errored. StatusStateError StatusState = "ERROR" // Status is failing. StatusStateFailure StatusState = "FAILURE" // Status is pending. StatusStatePending StatusState = "PENDING" // Status is successful. StatusStateSuccess StatusState = "SUCCESS" )
func (StatusState) IsValid ¶
func (e StatusState) IsValid() bool
func (StatusState) MarshalGQL ¶
func (e StatusState) MarshalGQL(w io.Writer)
func (StatusState) String ¶
func (e StatusState) String() string
func (*StatusState) UnmarshalGQL ¶
func (e *StatusState) UnmarshalGQL(v interface{}) error
type StripeConnectAccount ¶ added in v0.11.4
type StripeConnectAccount struct { // The account number used to identify this Stripe Connect account. AccountID string `json:"accountId"` // The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. BillingCountryOrRegion *string `json:"billingCountryOrRegion"` // The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization. CountryOrRegion *string `json:"countryOrRegion"` // Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. IsActive bool `json:"isActive"` // The GitHub Sponsors profile associated with this Stripe Connect account. SponsorsListing SponsorsListing `json:"sponsorsListing"` // The URL to access this Stripe Connect account on Stripe's website. StripeDashboardURL string `json:"stripeDashboardUrl"` }
A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors.
type SubmitPullRequestReviewInput ¶
type SubmitPullRequestReviewInput struct { // The Pull Request ID to submit any pending reviews. PullRequestID *string `json:"pullRequestId,omitempty"` // The Pull Request Review ID to submit. PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"` // The event to send to the Pull Request Review. Event PullRequestReviewEvent `json:"event"` // The text field to set on the Pull Request Review. Body *string `json:"body,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of SubmitPullRequestReview
type SubmitPullRequestReviewPayload ¶
type SubmitPullRequestReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The submitted pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview"` }
Autogenerated return type of SubmitPullRequestReview
type Submodule ¶
type Submodule struct { // The branch of the upstream submodule for tracking updates Branch *string `json:"branch"` // The git URL of the submodule repository GitURL string `json:"gitUrl"` // The name of the submodule in .gitmodules Name string `json:"name"` // The name of the submodule in .gitmodules (Base64-encoded) NameRaw string `json:"nameRaw"` // The path in the superproject that this submodule is located in Path string `json:"path"` // The path in the superproject that this submodule is located in (Base64-encoded) PathRaw string `json:"pathRaw"` // The commit revision of the subproject repository being tracked by the submodule SubprojectCommitOid *string `json:"subprojectCommitOid"` }
A pointer to a repository at a specific revision embedded inside another repository.
type SubmoduleConnection ¶
type SubmoduleConnection struct { // A list of edges. Edges []*SubmoduleEdge `json:"edges"` // A list of nodes. Nodes []*Submodule `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Submodule.
type SubmoduleEdge ¶
type SubmoduleEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Submodule `json:"node"` }
An edge in a connection.
type Subscribable ¶
type Subscribable interface { IsSubscribable() GetID() string // Check if the viewer is able to change their subscription status for the repository. GetViewerCanSubscribe() bool // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. GetViewerSubscription() *SubscriptionState }
Entities that can be subscribed to for web and email notifications.
type SubscribedEvent ¶
type SubscribedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Object referenced by event. Subscribable Subscribable `json:"subscribable"` }
Represents a 'subscribed' event on a given `Subscribable`.
func (SubscribedEvent) GetID ¶ added in v0.11.4
func (this SubscribedEvent) GetID() string
ID of the object.
func (SubscribedEvent) IsIssueTimelineItem ¶
func (SubscribedEvent) IsIssueTimelineItem()
func (SubscribedEvent) IsIssueTimelineItems ¶
func (SubscribedEvent) IsIssueTimelineItems()
func (SubscribedEvent) IsNode ¶
func (SubscribedEvent) IsNode()
func (SubscribedEvent) IsPullRequestTimelineItem ¶
func (SubscribedEvent) IsPullRequestTimelineItem()
func (SubscribedEvent) IsPullRequestTimelineItems ¶
func (SubscribedEvent) IsPullRequestTimelineItems()
type SubscriptionState ¶
type SubscriptionState string
The possible states of a subscription.
const ( // The User is only notified when participating or @mentioned. SubscriptionStateUnsubscribed SubscriptionState = "UNSUBSCRIBED" // The User is notified of all conversations. SubscriptionStateSubscribed SubscriptionState = "SUBSCRIBED" // The User is never notified. SubscriptionStateIgnored SubscriptionState = "IGNORED" )
func (SubscriptionState) IsValid ¶
func (e SubscriptionState) IsValid() bool
func (SubscriptionState) MarshalGQL ¶
func (e SubscriptionState) MarshalGQL(w io.Writer)
func (SubscriptionState) String ¶
func (e SubscriptionState) String() string
func (*SubscriptionState) UnmarshalGQL ¶
func (e *SubscriptionState) UnmarshalGQL(v interface{}) error
type SuggestedReviewer ¶
type SuggestedReviewer struct { // Is this suggestion based on past commits? IsAuthor bool `json:"isAuthor"` // Is this suggestion based on past review comments? IsCommenter bool `json:"isCommenter"` // Identifies the user suggested to review the pull request. Reviewer User `json:"reviewer"` }
A suggestion to review a pull request based on a user's commit history and review comments.
type Tag ¶
type Tag struct { // An abbreviated version of the Git object ID AbbreviatedOid string `json:"abbreviatedOid"` // The HTTP path for this Git object CommitResourcePath string `json:"commitResourcePath"` // The HTTP URL for this Git object CommitURL string `json:"commitUrl"` ID string `json:"id"` // The Git tag message. Message *string `json:"message"` // The Git tag name. Name string `json:"name"` // The Git object ID Oid string `json:"oid"` // The Repository the Git object belongs to Repository Repository `json:"repository"` // Details about the tag author. Tagger *GitActor `json:"tagger"` // The Git object the tag points to. Target GitObject `json:"target"` }
Represents a Git tag.
func (Tag) GetAbbreviatedOid ¶ added in v0.11.4
An abbreviated version of the Git object ID
func (Tag) GetCommitResourcePath ¶ added in v0.11.4
The HTTP path for this Git object
func (Tag) GetCommitURL ¶ added in v0.11.4
The HTTP URL for this Git object
func (Tag) GetRepository ¶ added in v0.11.4
func (this Tag) GetRepository() Repository
The Repository the Git object belongs to
func (Tag) IsGitObject ¶
func (Tag) IsGitObject()
type Team ¶
type Team struct { // A list of teams that are ancestors of this team. Ancestors TeamConnection `json:"ancestors"` // A URL pointing to the team's avatar. AvatarURL *string `json:"avatarUrl"` // List of child teams belonging to this team ChildTeams TeamConnection `json:"childTeams"` // The slug corresponding to the organization and team. CombinedSlug string `json:"combinedSlug"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The description of the team. Description *string `json:"description"` // Find a team discussion by its number. Discussion *TeamDiscussion `json:"discussion"` // A list of team discussions. Discussions TeamDiscussionConnection `json:"discussions"` // The HTTP path for team discussions DiscussionsResourcePath string `json:"discussionsResourcePath"` // The HTTP URL for team discussions DiscussionsURL string `json:"discussionsUrl"` // The HTTP path for editing this team EditTeamResourcePath string `json:"editTeamResourcePath"` // The HTTP URL for editing this team EditTeamURL string `json:"editTeamUrl"` ID string `json:"id"` // A list of pending invitations for users to this team Invitations *OrganizationInvitationConnection `json:"invitations"` // Get the status messages members of this entity have set that are either public or visible only to the organization. MemberStatuses UserStatusConnection `json:"memberStatuses"` // A list of users who are members of this team. Members TeamMemberConnection `json:"members"` // The HTTP path for the team' members MembersResourcePath string `json:"membersResourcePath"` // The HTTP URL for the team' members MembersURL string `json:"membersUrl"` // The name of the team. Name string `json:"name"` // The HTTP path creating a new team NewTeamResourcePath string `json:"newTeamResourcePath"` // The HTTP URL creating a new team NewTeamURL string `json:"newTeamUrl"` // The organization that owns this team. Organization Organization `json:"organization"` // The parent team of the team. ParentTeam *Team `json:"parentTeam"` // The level of privacy the team has. Privacy TeamPrivacy `json:"privacy"` // Finds and returns the project according to the provided project number. ProjectV2 *ProjectV2 `json:"projectV2"` // List of projects this team has collaborator access to. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // A list of repositories this team has access to. Repositories TeamRepositoryConnection `json:"repositories"` // The HTTP path for this team's repositories RepositoriesResourcePath string `json:"repositoriesResourcePath"` // The HTTP URL for this team's repositories RepositoriesURL string `json:"repositoriesUrl"` // The HTTP path for this team ResourcePath string `json:"resourcePath"` // The slug corresponding to the team. Slug string `json:"slug"` // The HTTP path for this team's teams TeamsResourcePath string `json:"teamsResourcePath"` // The HTTP URL for this team's teams TeamsURL string `json:"teamsUrl"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this team URL string `json:"url"` // Team is adminable by the viewer. ViewerCanAdminister bool `json:"viewerCanAdminister"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` }
A team of users in an organization.
func (Team) GetMemberStatuses ¶ added in v0.11.4
func (this Team) GetMemberStatuses() UserStatusConnection
Get the status messages members of this entity have set that are either public or visible only to the organization.
func (Team) GetViewerCanSubscribe ¶ added in v0.11.4
Check if the viewer is able to change their subscription status for the repository.
func (Team) GetViewerSubscription ¶ added in v0.11.4
func (this Team) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (Team) IsBranchActorAllowanceActor ¶ added in v0.0.4
func (Team) IsBranchActorAllowanceActor()
func (Team) IsDeploymentReviewer ¶ added in v0.0.3
func (Team) IsDeploymentReviewer()
func (Team) IsMemberStatusable ¶
func (Team) IsMemberStatusable()
func (Team) IsPermissionGranter ¶
func (Team) IsPermissionGranter()
func (Team) IsPushAllowanceActor ¶
func (Team) IsPushAllowanceActor()
func (Team) IsRequestedReviewer ¶
func (Team) IsRequestedReviewer()
func (Team) IsReviewDismissalAllowanceActor ¶
func (Team) IsReviewDismissalAllowanceActor()
func (Team) IsSubscribable ¶
func (Team) IsSubscribable()
type TeamAddMemberAuditEntry ¶
type TeamAddMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the team was mapped to an LDAP Group. IsLdapMapped *bool `json:"isLdapMapped"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a team.add_member event.
func (TeamAddMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetAction() string
The action name
func (TeamAddMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (TeamAddMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (TeamAddMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (TeamAddMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (TeamAddMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (TeamAddMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (TeamAddMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (TeamAddMemberAuditEntry) GetID ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetID() string
ID of the object.
func (TeamAddMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (TeamAddMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (TeamAddMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (TeamAddMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (TeamAddMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (TeamAddMemberAuditEntry) GetTeam ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetTeam() *Team
The team associated with the action
func (TeamAddMemberAuditEntry) GetTeamName ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetTeamName() *string
The name of the team
func (TeamAddMemberAuditEntry) GetTeamResourcePath ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetTeamResourcePath() *string
The HTTP path for this team
func (TeamAddMemberAuditEntry) GetTeamURL ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetTeamURL() *string
The HTTP URL for this team
func (TeamAddMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetUser() *User
The user affected by the action
func (TeamAddMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (TeamAddMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (TeamAddMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this TeamAddMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (TeamAddMemberAuditEntry) IsAuditEntry ¶
func (TeamAddMemberAuditEntry) IsAuditEntry()
func (TeamAddMemberAuditEntry) IsNode ¶
func (TeamAddMemberAuditEntry) IsNode()
func (TeamAddMemberAuditEntry) IsOrganizationAuditEntry ¶
func (TeamAddMemberAuditEntry) IsOrganizationAuditEntry()
func (TeamAddMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (TeamAddMemberAuditEntry) IsOrganizationAuditEntryData()
func (TeamAddMemberAuditEntry) IsTeamAuditEntryData ¶
func (TeamAddMemberAuditEntry) IsTeamAuditEntryData()
type TeamAddRepositoryAuditEntry ¶
type TeamAddRepositoryAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the team was mapped to an LDAP Group. IsLdapMapped *bool `json:"isLdapMapped"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a team.add_repository event.
func (TeamAddRepositoryAuditEntry) GetAction ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetAction() string
The action name
func (TeamAddRepositoryAuditEntry) GetActor ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (TeamAddRepositoryAuditEntry) GetActorIP ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActorIP() *string
The IP address of the actor
func (TeamAddRepositoryAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (TeamAddRepositoryAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (TeamAddRepositoryAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (TeamAddRepositoryAuditEntry) GetActorURL ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (TeamAddRepositoryAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetCreatedAt() string
The time the action was initiated
func (TeamAddRepositoryAuditEntry) GetID ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetID() string
ID of the object.
func (TeamAddRepositoryAuditEntry) GetOperationType ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (TeamAddRepositoryAuditEntry) GetOrganization ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (TeamAddRepositoryAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (TeamAddRepositoryAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (TeamAddRepositoryAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (TeamAddRepositoryAuditEntry) GetRepository ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetRepository() *Repository
The repository associated with the action
func (TeamAddRepositoryAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetRepositoryName() *string
The name of the repository
func (TeamAddRepositoryAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (TeamAddRepositoryAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (TeamAddRepositoryAuditEntry) GetTeam ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetTeam() *Team
The team associated with the action
func (TeamAddRepositoryAuditEntry) GetTeamName ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetTeamName() *string
The name of the team
func (TeamAddRepositoryAuditEntry) GetTeamResourcePath ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetTeamResourcePath() *string
The HTTP path for this team
func (TeamAddRepositoryAuditEntry) GetTeamURL ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetTeamURL() *string
The HTTP URL for this team
func (TeamAddRepositoryAuditEntry) GetUser ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetUser() *User
The user affected by the action
func (TeamAddRepositoryAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (TeamAddRepositoryAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (TeamAddRepositoryAuditEntry) GetUserURL ¶ added in v0.11.4
func (this TeamAddRepositoryAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (TeamAddRepositoryAuditEntry) IsAuditEntry ¶
func (TeamAddRepositoryAuditEntry) IsAuditEntry()
func (TeamAddRepositoryAuditEntry) IsNode ¶
func (TeamAddRepositoryAuditEntry) IsNode()
func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry ¶
func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry()
func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData ¶
func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData()
func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData ¶
func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData()
func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData ¶
func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData()
type TeamAuditEntryData ¶
type TeamAuditEntryData interface { IsTeamAuditEntryData() // The team associated with the action GetTeam() *Team // The name of the team GetTeamName() *string // The HTTP path for this team GetTeamResourcePath() *string // The HTTP URL for this team GetTeamURL() *string }
Metadata for an audit entry with action team.*
type TeamChangeParentTeamAuditEntry ¶
type TeamChangeParentTeamAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the team was mapped to an LDAP Group. IsLdapMapped *bool `json:"isLdapMapped"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The new parent team. ParentTeam *Team `json:"parentTeam"` // The name of the new parent team ParentTeamName *string `json:"parentTeamName"` // The name of the former parent team ParentTeamNameWas *string `json:"parentTeamNameWas"` // The HTTP path for the parent team ParentTeamResourcePath *string `json:"parentTeamResourcePath"` // The HTTP URL for the parent team ParentTeamURL *string `json:"parentTeamUrl"` // The former parent team. ParentTeamWas *Team `json:"parentTeamWas"` // The HTTP path for the previous parent team ParentTeamWasResourcePath *string `json:"parentTeamWasResourcePath"` // The HTTP URL for the previous parent team ParentTeamWasURL *string `json:"parentTeamWasUrl"` // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a team.change_parent_team event.
func (TeamChangeParentTeamAuditEntry) GetAction ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetAction() string
The action name
func (TeamChangeParentTeamAuditEntry) GetActor ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (TeamChangeParentTeamAuditEntry) GetActorIP ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActorIP() *string
The IP address of the actor
func (TeamChangeParentTeamAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (TeamChangeParentTeamAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (TeamChangeParentTeamAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (TeamChangeParentTeamAuditEntry) GetActorURL ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (TeamChangeParentTeamAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetCreatedAt() string
The time the action was initiated
func (TeamChangeParentTeamAuditEntry) GetID ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetID() string
ID of the object.
func (TeamChangeParentTeamAuditEntry) GetOperationType ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (TeamChangeParentTeamAuditEntry) GetOrganization ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (TeamChangeParentTeamAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (TeamChangeParentTeamAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (TeamChangeParentTeamAuditEntry) GetTeam ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetTeam() *Team
The team associated with the action
func (TeamChangeParentTeamAuditEntry) GetTeamName ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetTeamName() *string
The name of the team
func (TeamChangeParentTeamAuditEntry) GetTeamResourcePath ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetTeamResourcePath() *string
The HTTP path for this team
func (TeamChangeParentTeamAuditEntry) GetTeamURL ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetTeamURL() *string
The HTTP URL for this team
func (TeamChangeParentTeamAuditEntry) GetUser ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetUser() *User
The user affected by the action
func (TeamChangeParentTeamAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (TeamChangeParentTeamAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (TeamChangeParentTeamAuditEntry) GetUserURL ¶ added in v0.11.4
func (this TeamChangeParentTeamAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (TeamChangeParentTeamAuditEntry) IsAuditEntry ¶
func (TeamChangeParentTeamAuditEntry) IsAuditEntry()
func (TeamChangeParentTeamAuditEntry) IsNode ¶
func (TeamChangeParentTeamAuditEntry) IsNode()
func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntry ¶
func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntry()
func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntryData ¶
func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntryData()
func (TeamChangeParentTeamAuditEntry) IsTeamAuditEntryData ¶
func (TeamChangeParentTeamAuditEntry) IsTeamAuditEntryData()
type TeamConnection ¶
type TeamConnection struct { // A list of edges. Edges []*TeamEdge `json:"edges"` // A list of nodes. Nodes []*Team `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Team.
type TeamDiscussion ¶
type TeamDiscussion struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the discussion's team. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The body as Markdown. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // Identifies the discussion body hash. BodyVersion string `json:"bodyVersion"` // A list of comments on this discussion. Comments TeamDiscussionCommentConnection `json:"comments"` // The HTTP path for discussion comments CommentsResourcePath string `json:"commentsResourcePath"` // The HTTP URL for discussion comments CommentsURL string `json:"commentsUrl"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // Whether or not the discussion is pinned. IsPinned bool `json:"isPinned"` // Whether or not the discussion is only visible to team members and org admins. IsPrivate bool `json:"isPrivate"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Identifies the discussion within its team. Number int `json:"number"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The HTTP path for this discussion ResourcePath string `json:"resourcePath"` // The team that defines the context of this discussion. Team Team `json:"team"` // The title of the discussion Title string `json:"title"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this discussion URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Whether or not the current viewer can pin this discussion. ViewerCanPin bool `json:"viewerCanPin"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the viewer is able to change their subscription status for the repository. ViewerCanSubscribe bool `json:"viewerCanSubscribe"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription"` }
A team discussion.
func (TeamDiscussion) GetAuthor ¶ added in v0.11.4
func (this TeamDiscussion) GetAuthor() Actor
The actor who authored the comment.
func (TeamDiscussion) GetAuthorAssociation ¶ added in v0.11.4
func (this TeamDiscussion) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (TeamDiscussion) GetBody ¶ added in v0.11.4
func (this TeamDiscussion) GetBody() string
The body as Markdown.
func (TeamDiscussion) GetBodyHTML ¶ added in v0.11.4
func (this TeamDiscussion) GetBodyHTML() string
The body rendered to HTML.
func (TeamDiscussion) GetBodyText ¶ added in v0.11.4
func (this TeamDiscussion) GetBodyText() string
The body rendered to text.
func (TeamDiscussion) GetCreatedAt ¶ added in v0.11.4
func (this TeamDiscussion) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (TeamDiscussion) GetCreatedViaEmail ¶ added in v0.11.4
func (this TeamDiscussion) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (TeamDiscussion) GetDatabaseID ¶ added in v0.11.4
func (this TeamDiscussion) GetDatabaseID() *int
Identifies the primary key from the database.
func (TeamDiscussion) GetEditor ¶ added in v0.11.4
func (this TeamDiscussion) GetEditor() Actor
The actor who edited the comment.
func (TeamDiscussion) GetID ¶ added in v0.11.4
func (this TeamDiscussion) GetID() string
func (TeamDiscussion) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this TeamDiscussion) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (TeamDiscussion) GetLastEditedAt ¶ added in v0.11.4
func (this TeamDiscussion) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (TeamDiscussion) GetPublishedAt ¶ added in v0.11.4
func (this TeamDiscussion) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (TeamDiscussion) GetReactionGroups ¶ added in v0.11.4
func (this TeamDiscussion) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (TeamDiscussion) GetReactions ¶ added in v0.11.4
func (this TeamDiscussion) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (TeamDiscussion) GetResourcePath ¶ added in v0.11.4
func (this TeamDiscussion) GetResourcePath() string
The HTML path to this resource.
func (TeamDiscussion) GetURL ¶ added in v0.11.4
func (this TeamDiscussion) GetURL() string
The URL to this resource.
func (TeamDiscussion) GetUpdatedAt ¶ added in v0.11.4
func (this TeamDiscussion) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (TeamDiscussion) GetUserContentEdits ¶ added in v0.11.4
func (this TeamDiscussion) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (TeamDiscussion) GetViewerCanDelete ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (TeamDiscussion) GetViewerCanReact ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerCanReact() bool
Can user react to this subject
func (TeamDiscussion) GetViewerCanSubscribe ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerCanSubscribe() bool
Check if the viewer is able to change their subscription status for the repository.
func (TeamDiscussion) GetViewerCanUpdate ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (TeamDiscussion) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (TeamDiscussion) GetViewerDidAuthor ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (TeamDiscussion) GetViewerSubscription ¶ added in v0.11.4
func (this TeamDiscussion) GetViewerSubscription() *SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
func (TeamDiscussion) IsComment ¶
func (TeamDiscussion) IsComment()
func (TeamDiscussion) IsDeletable ¶
func (TeamDiscussion) IsDeletable()
func (TeamDiscussion) IsNode ¶
func (TeamDiscussion) IsNode()
func (TeamDiscussion) IsReactable ¶
func (TeamDiscussion) IsReactable()
func (TeamDiscussion) IsSubscribable ¶
func (TeamDiscussion) IsSubscribable()
func (TeamDiscussion) IsUniformResourceLocatable ¶
func (TeamDiscussion) IsUniformResourceLocatable()
func (TeamDiscussion) IsUpdatable ¶
func (TeamDiscussion) IsUpdatable()
func (TeamDiscussion) IsUpdatableComment ¶
func (TeamDiscussion) IsUpdatableComment()
type TeamDiscussionComment ¶
type TeamDiscussionComment struct { // The actor who authored the comment. Author Actor `json:"author"` // Author's association with the comment's team. AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"` // The body as Markdown. Body string `json:"body"` // The body rendered to HTML. BodyHTML string `json:"bodyHTML"` // The body rendered to text. BodyText string `json:"bodyText"` // The current version of the body content. BodyVersion string `json:"bodyVersion"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Check if this comment was created via an email reply. CreatedViaEmail bool `json:"createdViaEmail"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The discussion this comment is about. Discussion TeamDiscussion `json:"discussion"` // The actor who edited the comment. Editor Actor `json:"editor"` ID string `json:"id"` // Check if this comment was edited and includes an edit with the creation data IncludesCreatedEdit bool `json:"includesCreatedEdit"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt"` // Identifies the comment number. Number int `json:"number"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups"` // A list of Reactions left on the Issue. Reactions ReactionConnection `json:"reactions"` // The HTTP path for this comment ResourcePath string `json:"resourcePath"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this comment URL string `json:"url"` // A list of edits to this content. UserContentEdits *UserContentEditConnection `json:"userContentEdits"` // Check if the current viewer can delete this object. ViewerCanDelete bool `json:"viewerCanDelete"` // Can user react to this subject ViewerCanReact bool `json:"viewerCanReact"` // Check if the current viewer can update this object. ViewerCanUpdate bool `json:"viewerCanUpdate"` // Reasons why the current viewer can not update this comment. ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A comment on a team discussion.
func (TeamDiscussionComment) GetAuthor ¶ added in v0.11.4
func (this TeamDiscussionComment) GetAuthor() Actor
The actor who authored the comment.
func (TeamDiscussionComment) GetAuthorAssociation ¶ added in v0.11.4
func (this TeamDiscussionComment) GetAuthorAssociation() CommentAuthorAssociation
Author's association with the subject of the comment.
func (TeamDiscussionComment) GetBody ¶ added in v0.11.4
func (this TeamDiscussionComment) GetBody() string
The body as Markdown.
func (TeamDiscussionComment) GetBodyHTML ¶ added in v0.11.4
func (this TeamDiscussionComment) GetBodyHTML() string
The body rendered to HTML.
func (TeamDiscussionComment) GetBodyText ¶ added in v0.11.4
func (this TeamDiscussionComment) GetBodyText() string
The body rendered to text.
func (TeamDiscussionComment) GetCreatedAt ¶ added in v0.11.4
func (this TeamDiscussionComment) GetCreatedAt() time.Time
Identifies the date and time when the object was created.
func (TeamDiscussionComment) GetCreatedViaEmail ¶ added in v0.11.4
func (this TeamDiscussionComment) GetCreatedViaEmail() bool
Check if this comment was created via an email reply.
func (TeamDiscussionComment) GetDatabaseID ¶ added in v0.11.4
func (this TeamDiscussionComment) GetDatabaseID() *int
Identifies the primary key from the database.
func (TeamDiscussionComment) GetEditor ¶ added in v0.11.4
func (this TeamDiscussionComment) GetEditor() Actor
The actor who edited the comment.
func (TeamDiscussionComment) GetID ¶ added in v0.11.4
func (this TeamDiscussionComment) GetID() string
func (TeamDiscussionComment) GetIncludesCreatedEdit ¶ added in v0.11.4
func (this TeamDiscussionComment) GetIncludesCreatedEdit() bool
Check if this comment was edited and includes an edit with the creation data
func (TeamDiscussionComment) GetLastEditedAt ¶ added in v0.11.4
func (this TeamDiscussionComment) GetLastEditedAt() *time.Time
The moment the editor made the last edit
func (TeamDiscussionComment) GetPublishedAt ¶ added in v0.11.4
func (this TeamDiscussionComment) GetPublishedAt() *time.Time
Identifies when the comment was published at.
func (TeamDiscussionComment) GetReactionGroups ¶ added in v0.11.4
func (this TeamDiscussionComment) GetReactionGroups() []*ReactionGroup
A list of reactions grouped by content left on the subject.
func (TeamDiscussionComment) GetReactions ¶ added in v0.11.4
func (this TeamDiscussionComment) GetReactions() ReactionConnection
A list of Reactions left on the Issue.
func (TeamDiscussionComment) GetResourcePath ¶ added in v0.11.4
func (this TeamDiscussionComment) GetResourcePath() string
The HTML path to this resource.
func (TeamDiscussionComment) GetURL ¶ added in v0.11.4
func (this TeamDiscussionComment) GetURL() string
The URL to this resource.
func (TeamDiscussionComment) GetUpdatedAt ¶ added in v0.11.4
func (this TeamDiscussionComment) GetUpdatedAt() time.Time
Identifies the date and time when the object was last updated.
func (TeamDiscussionComment) GetUserContentEdits ¶ added in v0.11.4
func (this TeamDiscussionComment) GetUserContentEdits() *UserContentEditConnection
A list of edits to this content.
func (TeamDiscussionComment) GetViewerCanDelete ¶ added in v0.11.4
func (this TeamDiscussionComment) GetViewerCanDelete() bool
Check if the current viewer can delete this object.
func (TeamDiscussionComment) GetViewerCanReact ¶ added in v0.11.4
func (this TeamDiscussionComment) GetViewerCanReact() bool
Can user react to this subject
func (TeamDiscussionComment) GetViewerCanUpdate ¶ added in v0.11.4
func (this TeamDiscussionComment) GetViewerCanUpdate() bool
Check if the current viewer can update this object.
func (TeamDiscussionComment) GetViewerCannotUpdateReasons ¶ added in v0.11.4
func (this TeamDiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
Reasons why the current viewer can not update this comment.
func (TeamDiscussionComment) GetViewerDidAuthor ¶ added in v0.11.4
func (this TeamDiscussionComment) GetViewerDidAuthor() bool
Did the viewer author this comment.
func (TeamDiscussionComment) IsComment ¶
func (TeamDiscussionComment) IsComment()
func (TeamDiscussionComment) IsDeletable ¶
func (TeamDiscussionComment) IsDeletable()
func (TeamDiscussionComment) IsNode ¶
func (TeamDiscussionComment) IsNode()
func (TeamDiscussionComment) IsReactable ¶
func (TeamDiscussionComment) IsReactable()
func (TeamDiscussionComment) IsUniformResourceLocatable ¶
func (TeamDiscussionComment) IsUniformResourceLocatable()
func (TeamDiscussionComment) IsUpdatable ¶
func (TeamDiscussionComment) IsUpdatable()
func (TeamDiscussionComment) IsUpdatableComment ¶
func (TeamDiscussionComment) IsUpdatableComment()
type TeamDiscussionCommentConnection ¶
type TeamDiscussionCommentConnection struct { // A list of edges. Edges []*TeamDiscussionCommentEdge `json:"edges"` // A list of nodes. Nodes []*TeamDiscussionComment `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for TeamDiscussionComment.
type TeamDiscussionCommentEdge ¶
type TeamDiscussionCommentEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *TeamDiscussionComment `json:"node"` }
An edge in a connection.
type TeamDiscussionCommentOrder ¶
type TeamDiscussionCommentOrder struct { // The field by which to order nodes. Field TeamDiscussionCommentOrderField `json:"field"` // The direction in which to order nodes. Direction OrderDirection `json:"direction"` }
Ways in which team discussion comment connections can be ordered.
type TeamDiscussionCommentOrderField ¶
type TeamDiscussionCommentOrderField string
Properties by which team discussion comment connections can be ordered.
const ( // Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). TeamDiscussionCommentOrderFieldNumber TeamDiscussionCommentOrderField = "NUMBER" )
func (TeamDiscussionCommentOrderField) IsValid ¶
func (e TeamDiscussionCommentOrderField) IsValid() bool
func (TeamDiscussionCommentOrderField) MarshalGQL ¶
func (e TeamDiscussionCommentOrderField) MarshalGQL(w io.Writer)
func (TeamDiscussionCommentOrderField) String ¶
func (e TeamDiscussionCommentOrderField) String() string
func (*TeamDiscussionCommentOrderField) UnmarshalGQL ¶
func (e *TeamDiscussionCommentOrderField) UnmarshalGQL(v interface{}) error
type TeamDiscussionConnection ¶
type TeamDiscussionConnection struct { // A list of edges. Edges []*TeamDiscussionEdge `json:"edges"` // A list of nodes. Nodes []*TeamDiscussion `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for TeamDiscussion.
type TeamDiscussionEdge ¶
type TeamDiscussionEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *TeamDiscussion `json:"node"` }
An edge in a connection.
type TeamDiscussionOrder ¶
type TeamDiscussionOrder struct { // The field by which to order nodes. Field TeamDiscussionOrderField `json:"field"` // The direction in which to order nodes. Direction OrderDirection `json:"direction"` }
Ways in which team discussion connections can be ordered.
type TeamDiscussionOrderField ¶
type TeamDiscussionOrderField string
Properties by which team discussion connections can be ordered.
const ( // Allows chronological ordering of team discussions. TeamDiscussionOrderFieldCreatedAt TeamDiscussionOrderField = "CREATED_AT" )
func (TeamDiscussionOrderField) IsValid ¶
func (e TeamDiscussionOrderField) IsValid() bool
func (TeamDiscussionOrderField) MarshalGQL ¶
func (e TeamDiscussionOrderField) MarshalGQL(w io.Writer)
func (TeamDiscussionOrderField) String ¶
func (e TeamDiscussionOrderField) String() string
func (*TeamDiscussionOrderField) UnmarshalGQL ¶
func (e *TeamDiscussionOrderField) UnmarshalGQL(v interface{}) error
type TeamEdge ¶
type TeamEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *Team `json:"node"` }
An edge in a connection.
type TeamMemberConnection ¶
type TeamMemberConnection struct { // A list of edges. Edges []*TeamMemberEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type TeamMemberEdge ¶
type TeamMemberEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The HTTP path to the organization's member access page. MemberAccessResourcePath string `json:"memberAccessResourcePath"` // The HTTP URL to the organization's member access page. MemberAccessURL string `json:"memberAccessUrl"` Node User `json:"node"` // The role the member has on the team. Role TeamMemberRole `json:"role"` }
Represents a user who is a member of a team.
type TeamMemberOrder ¶
type TeamMemberOrder struct { // The field to order team members by. Field TeamMemberOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for team member connections
type TeamMemberOrderField ¶
type TeamMemberOrderField string
Properties by which team member connections can be ordered.
const ( // Order team members by login TeamMemberOrderFieldLogin TeamMemberOrderField = "LOGIN" // Order team members by creation time TeamMemberOrderFieldCreatedAt TeamMemberOrderField = "CREATED_AT" )
func (TeamMemberOrderField) IsValid ¶
func (e TeamMemberOrderField) IsValid() bool
func (TeamMemberOrderField) MarshalGQL ¶
func (e TeamMemberOrderField) MarshalGQL(w io.Writer)
func (TeamMemberOrderField) String ¶
func (e TeamMemberOrderField) String() string
func (*TeamMemberOrderField) UnmarshalGQL ¶
func (e *TeamMemberOrderField) UnmarshalGQL(v interface{}) error
type TeamMemberRole ¶
type TeamMemberRole string
The possible team member roles; either 'maintainer' or 'member'.
const ( // A team maintainer has permission to add and remove team members. TeamMemberRoleMaintainer TeamMemberRole = "MAINTAINER" // A team member has no administrative permissions on the team. TeamMemberRoleMember TeamMemberRole = "MEMBER" )
func (TeamMemberRole) IsValid ¶
func (e TeamMemberRole) IsValid() bool
func (TeamMemberRole) MarshalGQL ¶
func (e TeamMemberRole) MarshalGQL(w io.Writer)
func (TeamMemberRole) String ¶
func (e TeamMemberRole) String() string
func (*TeamMemberRole) UnmarshalGQL ¶
func (e *TeamMemberRole) UnmarshalGQL(v interface{}) error
type TeamMembershipType ¶
type TeamMembershipType string
Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.
const ( // Includes only immediate members of the team. TeamMembershipTypeImmediate TeamMembershipType = "IMMEDIATE" // Includes only child team members for the team. TeamMembershipTypeChildTeam TeamMembershipType = "CHILD_TEAM" // Includes immediate and child team members for the team. TeamMembershipTypeAll TeamMembershipType = "ALL" )
func (TeamMembershipType) IsValid ¶
func (e TeamMembershipType) IsValid() bool
func (TeamMembershipType) MarshalGQL ¶
func (e TeamMembershipType) MarshalGQL(w io.Writer)
func (TeamMembershipType) String ¶
func (e TeamMembershipType) String() string
func (*TeamMembershipType) UnmarshalGQL ¶
func (e *TeamMembershipType) UnmarshalGQL(v interface{}) error
type TeamOrder ¶
type TeamOrder struct { // The field in which to order nodes by. Field TeamOrderField `json:"field"` // The direction in which to order nodes. Direction OrderDirection `json:"direction"` }
Ways in which team connections can be ordered.
type TeamOrderField ¶
type TeamOrderField string
Properties by which team connections can be ordered.
const ( // Allows ordering a list of teams by name. TeamOrderFieldName TeamOrderField = "NAME" )
func (TeamOrderField) IsValid ¶
func (e TeamOrderField) IsValid() bool
func (TeamOrderField) MarshalGQL ¶
func (e TeamOrderField) MarshalGQL(w io.Writer)
func (TeamOrderField) String ¶
func (e TeamOrderField) String() string
func (*TeamOrderField) UnmarshalGQL ¶
func (e *TeamOrderField) UnmarshalGQL(v interface{}) error
type TeamPrivacy ¶
type TeamPrivacy string
The possible team privacy values.
const ( // A secret team can only be seen by its members. TeamPrivacySecret TeamPrivacy = "SECRET" // A visible team can be seen and @mentioned by every member of the organization. TeamPrivacyVisible TeamPrivacy = "VISIBLE" )
func (TeamPrivacy) IsValid ¶
func (e TeamPrivacy) IsValid() bool
func (TeamPrivacy) MarshalGQL ¶
func (e TeamPrivacy) MarshalGQL(w io.Writer)
func (TeamPrivacy) String ¶
func (e TeamPrivacy) String() string
func (*TeamPrivacy) UnmarshalGQL ¶
func (e *TeamPrivacy) UnmarshalGQL(v interface{}) error
type TeamRemoveMemberAuditEntry ¶
type TeamRemoveMemberAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the team was mapped to an LDAP Group. IsLdapMapped *bool `json:"isLdapMapped"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a team.remove_member event.
func (TeamRemoveMemberAuditEntry) GetAction ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetAction() string
The action name
func (TeamRemoveMemberAuditEntry) GetActor ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (TeamRemoveMemberAuditEntry) GetActorIP ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActorIP() *string
The IP address of the actor
func (TeamRemoveMemberAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (TeamRemoveMemberAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (TeamRemoveMemberAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (TeamRemoveMemberAuditEntry) GetActorURL ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (TeamRemoveMemberAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetCreatedAt() string
The time the action was initiated
func (TeamRemoveMemberAuditEntry) GetID ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetID() string
ID of the object.
func (TeamRemoveMemberAuditEntry) GetOperationType ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (TeamRemoveMemberAuditEntry) GetOrganization ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (TeamRemoveMemberAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (TeamRemoveMemberAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (TeamRemoveMemberAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (TeamRemoveMemberAuditEntry) GetTeam ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetTeam() *Team
The team associated with the action
func (TeamRemoveMemberAuditEntry) GetTeamName ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetTeamName() *string
The name of the team
func (TeamRemoveMemberAuditEntry) GetTeamResourcePath ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetTeamResourcePath() *string
The HTTP path for this team
func (TeamRemoveMemberAuditEntry) GetTeamURL ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetTeamURL() *string
The HTTP URL for this team
func (TeamRemoveMemberAuditEntry) GetUser ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetUser() *User
The user affected by the action
func (TeamRemoveMemberAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (TeamRemoveMemberAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (TeamRemoveMemberAuditEntry) GetUserURL ¶ added in v0.11.4
func (this TeamRemoveMemberAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (TeamRemoveMemberAuditEntry) IsAuditEntry ¶
func (TeamRemoveMemberAuditEntry) IsAuditEntry()
func (TeamRemoveMemberAuditEntry) IsNode ¶
func (TeamRemoveMemberAuditEntry) IsNode()
func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntry ¶
func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntry()
func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntryData ¶
func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntryData()
func (TeamRemoveMemberAuditEntry) IsTeamAuditEntryData ¶
func (TeamRemoveMemberAuditEntry) IsTeamAuditEntryData()
type TeamRemoveRepositoryAuditEntry ¶
type TeamRemoveRepositoryAuditEntry struct { // The action name Action string `json:"action"` // The user who initiated the action Actor AuditEntryActor `json:"actor"` // The IP address of the actor ActorIP *string `json:"actorIp"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // Whether the team was mapped to an LDAP Group. IsLdapMapped *bool `json:"isLdapMapped"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization"` // The name of the Organization. OrganizationName *string `json:"organizationName"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl"` // The repository associated with the action Repository *Repository `json:"repository"` // The name of the repository RepositoryName *string `json:"repositoryName"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl"` // The team associated with the action Team *Team `json:"team"` // The name of the team TeamName *string `json:"teamName"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath"` // The HTTP URL for this team TeamURL *string `json:"teamUrl"` // The user affected by the action User *User `json:"user"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath"` // The HTTP URL for the user. UserURL *string `json:"userUrl"` }
Audit log entry for a team.remove_repository event.
func (TeamRemoveRepositoryAuditEntry) GetAction ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetAction() string
The action name
func (TeamRemoveRepositoryAuditEntry) GetActor ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActor() AuditEntryActor
The user who initiated the action
func (TeamRemoveRepositoryAuditEntry) GetActorIP ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActorIP() *string
The IP address of the actor
func (TeamRemoveRepositoryAuditEntry) GetActorLocation ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActorLocation() *ActorLocation
A readable representation of the actor's location
func (TeamRemoveRepositoryAuditEntry) GetActorLogin ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActorLogin() *string
The username of the user who initiated the action
func (TeamRemoveRepositoryAuditEntry) GetActorResourcePath ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActorResourcePath() *string
The HTTP path for the actor.
func (TeamRemoveRepositoryAuditEntry) GetActorURL ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetActorURL() *string
The HTTP URL for the actor.
func (TeamRemoveRepositoryAuditEntry) GetCreatedAt ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetCreatedAt() string
The time the action was initiated
func (TeamRemoveRepositoryAuditEntry) GetID ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetID() string
ID of the object.
func (TeamRemoveRepositoryAuditEntry) GetOperationType ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetOperationType() *OperationType
The corresponding operation type for the action
func (TeamRemoveRepositoryAuditEntry) GetOrganization ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetOrganization() *Organization
The Organization associated with the Audit Entry.
func (TeamRemoveRepositoryAuditEntry) GetOrganizationName ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetOrganizationName() *string
The name of the Organization.
func (TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath() *string
The HTTP path for the organization
func (TeamRemoveRepositoryAuditEntry) GetOrganizationURL ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetOrganizationURL() *string
The HTTP URL for the organization
func (TeamRemoveRepositoryAuditEntry) GetRepository ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetRepository() *Repository
The repository associated with the action
func (TeamRemoveRepositoryAuditEntry) GetRepositoryName ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetRepositoryName() *string
The name of the repository
func (TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath() *string
The HTTP path for the repository
func (TeamRemoveRepositoryAuditEntry) GetRepositoryURL ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetRepositoryURL() *string
The HTTP URL for the repository
func (TeamRemoveRepositoryAuditEntry) GetTeam ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetTeam() *Team
The team associated with the action
func (TeamRemoveRepositoryAuditEntry) GetTeamName ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetTeamName() *string
The name of the team
func (TeamRemoveRepositoryAuditEntry) GetTeamResourcePath ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetTeamResourcePath() *string
The HTTP path for this team
func (TeamRemoveRepositoryAuditEntry) GetTeamURL ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetTeamURL() *string
The HTTP URL for this team
func (TeamRemoveRepositoryAuditEntry) GetUser ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetUser() *User
The user affected by the action
func (TeamRemoveRepositoryAuditEntry) GetUserLogin ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetUserLogin() *string
For actions involving two users, the actor is the initiator and the user is the affected user.
func (TeamRemoveRepositoryAuditEntry) GetUserResourcePath ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetUserResourcePath() *string
The HTTP path for the user.
func (TeamRemoveRepositoryAuditEntry) GetUserURL ¶ added in v0.11.4
func (this TeamRemoveRepositoryAuditEntry) GetUserURL() *string
The HTTP URL for the user.
func (TeamRemoveRepositoryAuditEntry) IsAuditEntry ¶
func (TeamRemoveRepositoryAuditEntry) IsAuditEntry()
func (TeamRemoveRepositoryAuditEntry) IsNode ¶
func (TeamRemoveRepositoryAuditEntry) IsNode()
func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntry ¶
func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntry()
func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntryData ¶
func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntryData()
func (TeamRemoveRepositoryAuditEntry) IsRepositoryAuditEntryData ¶
func (TeamRemoveRepositoryAuditEntry) IsRepositoryAuditEntryData()
func (TeamRemoveRepositoryAuditEntry) IsTeamAuditEntryData ¶
func (TeamRemoveRepositoryAuditEntry) IsTeamAuditEntryData()
type TeamRepositoryConnection ¶
type TeamRepositoryConnection struct { // A list of edges. Edges []*TeamRepositoryEdge `json:"edges"` // A list of nodes. Nodes []*Repository `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Repository.
type TeamRepositoryEdge ¶
type TeamRepositoryEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` Node Repository `json:"node"` // The permission level the team has on the repository Permission RepositoryPermission `json:"permission"` }
Represents a team repository.
type TeamRepositoryOrder ¶
type TeamRepositoryOrder struct { // The field to order repositories by. Field TeamRepositoryOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for team repository connections
type TeamRepositoryOrderField ¶
type TeamRepositoryOrderField string
Properties by which team repository connections can be ordered.
const ( // Order repositories by creation time TeamRepositoryOrderFieldCreatedAt TeamRepositoryOrderField = "CREATED_AT" // Order repositories by update time TeamRepositoryOrderFieldUpdatedAt TeamRepositoryOrderField = "UPDATED_AT" // Order repositories by push time TeamRepositoryOrderFieldPushedAt TeamRepositoryOrderField = "PUSHED_AT" // Order repositories by name TeamRepositoryOrderFieldName TeamRepositoryOrderField = "NAME" // Order repositories by permission TeamRepositoryOrderFieldPermission TeamRepositoryOrderField = "PERMISSION" // Order repositories by number of stargazers TeamRepositoryOrderFieldStargazers TeamRepositoryOrderField = "STARGAZERS" )
func (TeamRepositoryOrderField) IsValid ¶
func (e TeamRepositoryOrderField) IsValid() bool
func (TeamRepositoryOrderField) MarshalGQL ¶
func (e TeamRepositoryOrderField) MarshalGQL(w io.Writer)
func (TeamRepositoryOrderField) String ¶
func (e TeamRepositoryOrderField) String() string
func (*TeamRepositoryOrderField) UnmarshalGQL ¶
func (e *TeamRepositoryOrderField) UnmarshalGQL(v interface{}) error
type TeamRole ¶
type TeamRole string
The role of a user on a team.
func (TeamRole) MarshalGQL ¶
func (*TeamRole) UnmarshalGQL ¶
type TextMatch ¶
type TextMatch struct { // The specific text fragment within the property matched on. Fragment string `json:"fragment"` // Highlights within the matched fragment. Highlights []*TextMatchHighlight `json:"highlights"` // The property matched on. Property string `json:"property"` }
A text match within a search result.
type TextMatchHighlight ¶
type TextMatchHighlight struct { // The indice in the fragment where the matched text begins. BeginIndice int `json:"beginIndice"` // The indice in the fragment where the matched text ends. EndIndice int `json:"endIndice"` // The text matched. Text string `json:"text"` }
Represents a single highlight in a search result match.
type Topic ¶
type Topic struct { ID string `json:"id"` // The topic's name. Name string `json:"name"` // A list of related topics, including aliases of this topic, sorted with the most relevant // first. Returns up to 10 Topics. // RelatedTopics []*Topic `json:"relatedTopics"` // A list of repositories. Repositories RepositoryConnection `json:"repositories"` // Returns a count of how many stargazers there are on this object // StargazerCount int `json:"stargazerCount"` // A list of users who have starred this starrable. Stargazers StargazerConnection `json:"stargazers"` // Returns a boolean indicating whether the viewing user has starred this starrable. ViewerHasStarred bool `json:"viewerHasStarred"` }
A topic aggregates entities that are related to a subject.
func (Topic) GetStargazerCount ¶ added in v0.11.4
Returns a count of how many stargazers there are on this object
func (Topic) GetStargazers ¶ added in v0.11.4
func (this Topic) GetStargazers() StargazerConnection
A list of users who have starred this starrable.
func (Topic) GetViewerHasStarred ¶ added in v0.11.4
Returns a boolean indicating whether the viewing user has starred this starrable.
func (Topic) IsStarrable ¶
func (Topic) IsStarrable()
type TopicAuditEntryData ¶
type TopicAuditEntryData interface { IsTopicAuditEntryData() // The name of the topic added to the repository GetTopic() *Topic // The name of the topic added to the repository GetTopicName() *string }
Metadata for an audit entry with a topic.
type TopicSuggestionDeclineReason ¶
type TopicSuggestionDeclineReason string
Reason that the suggested topic is declined.
const ( // The suggested topic is not relevant to the repository. TopicSuggestionDeclineReasonNotRelevant TopicSuggestionDeclineReason = "NOT_RELEVANT" // The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). TopicSuggestionDeclineReasonTooSpecific TopicSuggestionDeclineReason = "TOO_SPECIFIC" // The viewer does not like the suggested topic. TopicSuggestionDeclineReasonPersonalPreference TopicSuggestionDeclineReason = "PERSONAL_PREFERENCE" // The suggested topic is too general for the repository. TopicSuggestionDeclineReasonTooGeneral TopicSuggestionDeclineReason = "TOO_GENERAL" )
func (TopicSuggestionDeclineReason) IsValid ¶
func (e TopicSuggestionDeclineReason) IsValid() bool
func (TopicSuggestionDeclineReason) MarshalGQL ¶
func (e TopicSuggestionDeclineReason) MarshalGQL(w io.Writer)
func (TopicSuggestionDeclineReason) String ¶
func (e TopicSuggestionDeclineReason) String() string
func (*TopicSuggestionDeclineReason) UnmarshalGQL ¶
func (e *TopicSuggestionDeclineReason) UnmarshalGQL(v interface{}) error
type TrackedIssueStates ¶ added in v0.11.4
type TrackedIssueStates string
The possible states of a tracked issue.
const ( // The tracked issue is open TrackedIssueStatesOpen TrackedIssueStates = "OPEN" // The tracked issue is closed TrackedIssueStatesClosed TrackedIssueStates = "CLOSED" )
func (TrackedIssueStates) IsValid ¶ added in v0.11.4
func (e TrackedIssueStates) IsValid() bool
func (TrackedIssueStates) MarshalGQL ¶ added in v0.11.4
func (e TrackedIssueStates) MarshalGQL(w io.Writer)
func (TrackedIssueStates) String ¶ added in v0.11.4
func (e TrackedIssueStates) String() string
func (*TrackedIssueStates) UnmarshalGQL ¶ added in v0.11.4
func (e *TrackedIssueStates) UnmarshalGQL(v interface{}) error
type TransferEnterpriseOrganizationInput ¶ added in v0.11.4
type TransferEnterpriseOrganizationInput struct { // The ID of the organization to transfer. OrganizationID string `json:"organizationId"` // The ID of the enterprise where the organization should be transferred. DestinationEnterpriseID string `json:"destinationEnterpriseId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of TransferEnterpriseOrganization
type TransferEnterpriseOrganizationPayload ¶ added in v0.11.4
type TransferEnterpriseOrganizationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organization for which a transfer was initiated. Organization *Organization `json:"organization"` }
Autogenerated return type of TransferEnterpriseOrganization
type TransferIssueInput ¶
type TransferIssueInput struct { // The Node ID of the issue to be transferred IssueID string `json:"issueId"` // The Node ID of the repository the issue should be transferred to RepositoryID string `json:"repositoryId"` // Whether to create labels if they don't exist in the target repository (matched by name) CreateLabelsIfMissing *bool `json:"createLabelsIfMissing,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of TransferIssue
type TransferIssuePayload ¶
type TransferIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue that was transferred Issue *Issue `json:"issue"` }
Autogenerated return type of TransferIssue
type TransferredEvent ¶
type TransferredEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The repository this came from FromRepository *Repository `json:"fromRepository"` ID string `json:"id"` // Identifies the issue associated with the event. Issue Issue `json:"issue"` }
Represents a 'transferred' event on a given issue or pull request.
func (TransferredEvent) GetID ¶ added in v0.11.4
func (this TransferredEvent) GetID() string
ID of the object.
func (TransferredEvent) IsIssueTimelineItem ¶
func (TransferredEvent) IsIssueTimelineItem()
func (TransferredEvent) IsIssueTimelineItems ¶
func (TransferredEvent) IsIssueTimelineItems()
func (TransferredEvent) IsNode ¶
func (TransferredEvent) IsNode()
func (TransferredEvent) IsPullRequestTimelineItems ¶
func (TransferredEvent) IsPullRequestTimelineItems()
type Tree ¶
type Tree struct { // An abbreviated version of the Git object ID AbbreviatedOid string `json:"abbreviatedOid"` // The HTTP path for this Git object CommitResourcePath string `json:"commitResourcePath"` // The HTTP URL for this Git object CommitURL string `json:"commitUrl"` // A list of tree entries. Entries []*TreeEntry `json:"entries"` ID string `json:"id"` // The Git object ID Oid string `json:"oid"` // The Repository the Git object belongs to Repository Repository `json:"repository"` }
Represents a Git tree.
func (Tree) GetAbbreviatedOid ¶ added in v0.11.4
An abbreviated version of the Git object ID
func (Tree) GetCommitResourcePath ¶ added in v0.11.4
The HTTP path for this Git object
func (Tree) GetCommitURL ¶ added in v0.11.4
The HTTP URL for this Git object
func (Tree) GetRepository ¶ added in v0.11.4
func (this Tree) GetRepository() Repository
The Repository the Git object belongs to
func (Tree) IsGitObject ¶
func (Tree) IsGitObject()
type TreeEntry ¶
type TreeEntry struct { // The extension of the file Extension *string `json:"extension"` // Whether or not this tree entry is generated IsGenerated bool `json:"isGenerated"` // The programming language this file is written in. Language *Language `json:"language"` // Number of lines in the file. LineCount *int `json:"lineCount"` // Entry file mode. Mode int `json:"mode"` // Entry file name. Name string `json:"name"` // Entry file name. (Base64-encoded) NameRaw string `json:"nameRaw"` // Entry file object. Object GitObject `json:"object"` // Entry file Git object ID. Oid string `json:"oid"` // The full path of the file. Path *string `json:"path"` // The full path of the file. (Base64-encoded) PathRaw *string `json:"pathRaw"` // The Repository the tree entry belongs to Repository Repository `json:"repository"` // Entry byte size Size int `json:"size"` // If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule Submodule *Submodule `json:"submodule"` // Entry file type. Type string `json:"type"` }
Represents a Git tree entry.
type UnarchiveProjectV2ItemInput ¶ added in v0.11.4
type UnarchiveProjectV2ItemInput struct { // The ID of the Project to archive the item from. ProjectID string `json:"projectId"` // The ID of the ProjectV2Item to unarchive. ItemID string `json:"itemId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnarchiveProjectV2Item
type UnarchiveProjectV2ItemPayload ¶ added in v0.11.4
type UnarchiveProjectV2ItemPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item unarchived from the project. Item *ProjectV2Item `json:"item"` }
Autogenerated return type of UnarchiveProjectV2Item
type UnarchiveRepositoryInput ¶
type UnarchiveRepositoryInput struct { // The ID of the repository to unarchive. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnarchiveRepository
type UnarchiveRepositoryPayload ¶
type UnarchiveRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository that was unarchived. Repository *Repository `json:"repository"` }
Autogenerated return type of UnarchiveRepository
type UnassignedEvent ¶
type UnassignedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the assignable associated with the event. Assignable Assignable `json:"assignable"` // Identifies the user or mannequin that was unassigned. Assignee Assignee `json:"assignee"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the subject (user) who was unassigned. User *User `json:"user"` }
Represents an 'unassigned' event on any assignable object.
func (UnassignedEvent) GetID ¶ added in v0.11.4
func (this UnassignedEvent) GetID() string
ID of the object.
func (UnassignedEvent) IsIssueTimelineItem ¶
func (UnassignedEvent) IsIssueTimelineItem()
func (UnassignedEvent) IsIssueTimelineItems ¶
func (UnassignedEvent) IsIssueTimelineItems()
func (UnassignedEvent) IsNode ¶
func (UnassignedEvent) IsNode()
func (UnassignedEvent) IsPullRequestTimelineItem ¶
func (UnassignedEvent) IsPullRequestTimelineItem()
func (UnassignedEvent) IsPullRequestTimelineItems ¶
func (UnassignedEvent) IsPullRequestTimelineItems()
type UnfollowOrganizationInput ¶ added in v0.11.4
type UnfollowOrganizationInput struct { // ID of the organization to unfollow. OrganizationID string `json:"organizationId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnfollowOrganization
type UnfollowOrganizationPayload ¶ added in v0.11.4
type UnfollowOrganizationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The organization that was unfollowed. Organization *Organization `json:"organization"` }
Autogenerated return type of UnfollowOrganization
type UnfollowUserInput ¶
type UnfollowUserInput struct { // ID of the user to unfollow. UserID string `json:"userId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnfollowUser
type UnfollowUserPayload ¶
type UnfollowUserPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The user that was unfollowed. User *User `json:"user"` }
Autogenerated return type of UnfollowUser
type UniformResourceLocatable ¶
type UniformResourceLocatable interface { IsUniformResourceLocatable() // The HTML path to this resource. GetResourcePath() string // The URL to this resource. GetURL() string }
Represents a type that can be retrieved by a URL.
type UnknownSignature ¶
type UnknownSignature struct { // Email used to sign this object. Email string `json:"email"` // True if the signature is valid and verified by GitHub. IsValid bool `json:"isValid"` // Payload for GPG signing object. Raw ODB object without the signature header. Payload string `json:"payload"` // ASCII-armored signature header from object. Signature string `json:"signature"` // GitHub user corresponding to the email signing this commit. Signer *User `json:"signer"` // 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"` // True if the signature was made with GitHub's signing key. WasSignedByGitHub bool `json:"wasSignedByGitHub"` }
Represents an unknown signature on a Commit or Tag.
func (UnknownSignature) GetEmail ¶ added in v0.11.4
func (this UnknownSignature) GetEmail() string
Email used to sign this object.
func (UnknownSignature) GetIsValid ¶ added in v0.11.4
func (this UnknownSignature) GetIsValid() bool
True if the signature is valid and verified by GitHub.
func (UnknownSignature) GetPayload ¶ added in v0.11.4
func (this UnknownSignature) GetPayload() string
Payload for GPG signing object. Raw ODB object without the signature header.
func (UnknownSignature) GetSignature ¶ added in v0.11.4
func (this UnknownSignature) GetSignature() string
ASCII-armored signature header from object.
func (UnknownSignature) GetSigner ¶ added in v0.11.4
func (this UnknownSignature) GetSigner() *User
GitHub user corresponding to the email signing this commit.
func (UnknownSignature) GetState ¶ added in v0.11.4
func (this UnknownSignature) GetState() GitSignatureState
The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
func (UnknownSignature) GetWasSignedByGitHub ¶ added in v0.11.4
func (this UnknownSignature) GetWasSignedByGitHub() bool
True if the signature was made with GitHub's signing key.
func (UnknownSignature) IsGitSignature ¶
func (UnknownSignature) IsGitSignature()
type UnlabeledEvent ¶
type UnlabeledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the label associated with the 'unlabeled' event. Label Label `json:"label"` // Identifies the `Labelable` associated with the event. Labelable Labelable `json:"labelable"` }
Represents an 'unlabeled' event on a given issue or pull request.
func (UnlabeledEvent) GetID ¶ added in v0.11.4
func (this UnlabeledEvent) GetID() string
ID of the object.
func (UnlabeledEvent) IsIssueTimelineItem ¶
func (UnlabeledEvent) IsIssueTimelineItem()
func (UnlabeledEvent) IsIssueTimelineItems ¶
func (UnlabeledEvent) IsIssueTimelineItems()
func (UnlabeledEvent) IsNode ¶
func (UnlabeledEvent) IsNode()
func (UnlabeledEvent) IsPullRequestTimelineItem ¶
func (UnlabeledEvent) IsPullRequestTimelineItem()
func (UnlabeledEvent) IsPullRequestTimelineItems ¶
func (UnlabeledEvent) IsPullRequestTimelineItems()
type UnlinkProjectV2FromRepositoryInput ¶ added in v0.11.4
type UnlinkProjectV2FromRepositoryInput struct { // The ID of the project to unlink from the repository. ProjectID string `json:"projectId"` // The ID of the repository to unlink from the project. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnlinkProjectV2FromRepository
type UnlinkProjectV2FromRepositoryPayload ¶ added in v0.11.4
type UnlinkProjectV2FromRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository the project is no longer linked to. Repository *Repository `json:"repository"` }
Autogenerated return type of UnlinkProjectV2FromRepository
type UnlinkProjectV2FromTeamInput ¶ added in v0.11.4
type UnlinkProjectV2FromTeamInput struct { // The ID of the project to unlink from the team. ProjectID string `json:"projectId"` // The ID of the team to unlink from the project. TeamID string `json:"teamId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnlinkProjectV2FromTeam
type UnlinkProjectV2FromTeamPayload ¶ added in v0.11.4
type UnlinkProjectV2FromTeamPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The team the project is unlinked from Team *Team `json:"team"` }
Autogenerated return type of UnlinkProjectV2FromTeam
type UnlinkRepositoryFromProjectInput ¶
type UnlinkRepositoryFromProjectInput struct { // The ID of the Project linked to the Repository. ProjectID string `json:"projectId"` // The ID of the Repository linked to the Project. RepositoryID string `json:"repositoryId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnlinkRepositoryFromProject
type UnlinkRepositoryFromProjectPayload ¶
type UnlinkRepositoryFromProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The linked Project. Project *Project `json:"project"` // The linked Repository. Repository *Repository `json:"repository"` }
Autogenerated return type of UnlinkRepositoryFromProject
type UnlockLockableInput ¶
type UnlockLockableInput struct { // ID of the item to be unlocked. LockableID string `json:"lockableId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnlockLockable
type UnlockLockablePayload ¶
type UnlockLockablePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The item that was unlocked. UnlockedRecord Lockable `json:"unlockedRecord"` }
Autogenerated return type of UnlockLockable
type UnlockedEvent ¶
type UnlockedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Object that was unlocked. Lockable Lockable `json:"lockable"` }
Represents an 'unlocked' event on a given issue or pull request.
func (UnlockedEvent) GetID ¶ added in v0.11.4
func (this UnlockedEvent) GetID() string
ID of the object.
func (UnlockedEvent) IsIssueTimelineItem ¶
func (UnlockedEvent) IsIssueTimelineItem()
func (UnlockedEvent) IsIssueTimelineItems ¶
func (UnlockedEvent) IsIssueTimelineItems()
func (UnlockedEvent) IsNode ¶
func (UnlockedEvent) IsNode()
func (UnlockedEvent) IsPullRequestTimelineItem ¶
func (UnlockedEvent) IsPullRequestTimelineItem()
func (UnlockedEvent) IsPullRequestTimelineItems ¶
func (UnlockedEvent) IsPullRequestTimelineItems()
type UnmarkDiscussionCommentAsAnswerInput ¶ added in v0.0.3
type UnmarkDiscussionCommentAsAnswerInput struct { // The Node ID of the discussion comment to unmark as an answer. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnmarkDiscussionCommentAsAnswer
type UnmarkDiscussionCommentAsAnswerPayload ¶ added in v0.0.3
type UnmarkDiscussionCommentAsAnswerPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The discussion that includes the comment. Discussion *Discussion `json:"discussion"` }
Autogenerated return type of UnmarkDiscussionCommentAsAnswer
type UnmarkFileAsViewedInput ¶
type UnmarkFileAsViewedInput struct { // The Node ID of the pull request. PullRequestID string `json:"pullRequestId"` // The path of the file to mark as unviewed Path string `json:"path"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnmarkFileAsViewed
type UnmarkFileAsViewedPayload ¶
type UnmarkFileAsViewedPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of UnmarkFileAsViewed
type UnmarkIssueAsDuplicateInput ¶
type UnmarkIssueAsDuplicateInput struct { // ID of the issue or pull request currently marked as a duplicate. DuplicateID string `json:"duplicateId"` // ID of the issue or pull request currently considered canonical/authoritative/original. CanonicalID string `json:"canonicalId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnmarkIssueAsDuplicate
type UnmarkIssueAsDuplicatePayload ¶
type UnmarkIssueAsDuplicatePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue or pull request that was marked as a duplicate. Duplicate IssueOrPullRequest `json:"duplicate"` }
Autogenerated return type of UnmarkIssueAsDuplicate
type UnmarkedAsDuplicateEvent ¶
type UnmarkedAsDuplicateEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // The authoritative issue or pull request which has been duplicated by another. Canonical IssueOrPullRequest `json:"canonical"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The issue or pull request which has been marked as a duplicate of another. Duplicate IssueOrPullRequest `json:"duplicate"` ID string `json:"id"` // Canonical and duplicate belong to different repositories. IsCrossRepository bool `json:"isCrossRepository"` }
Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
func (UnmarkedAsDuplicateEvent) GetID ¶ added in v0.11.4
func (this UnmarkedAsDuplicateEvent) GetID() string
ID of the object.
func (UnmarkedAsDuplicateEvent) IsIssueTimelineItems ¶
func (UnmarkedAsDuplicateEvent) IsIssueTimelineItems()
func (UnmarkedAsDuplicateEvent) IsNode ¶
func (UnmarkedAsDuplicateEvent) IsNode()
func (UnmarkedAsDuplicateEvent) IsPullRequestTimelineItems ¶
func (UnmarkedAsDuplicateEvent) IsPullRequestTimelineItems()
type UnminimizeCommentInput ¶
type UnminimizeCommentInput struct { // The Node ID of the subject to modify. SubjectID string `json:"subjectId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnminimizeComment
type UnminimizeCommentPayload ¶
type UnminimizeCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The comment that was unminimized. UnminimizedComment Minimizable `json:"unminimizedComment"` }
Autogenerated return type of UnminimizeComment
type UnpinIssueInput ¶
type UnpinIssueInput struct { // The ID of the issue to be unpinned IssueID string `json:"issueId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnpinIssue
type UnpinIssuePayload ¶
type UnpinIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue that was unpinned Issue *Issue `json:"issue"` }
Autogenerated return type of UnpinIssue
type UnpinnedEvent ¶
type UnpinnedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Identifies the issue associated with the event. Issue Issue `json:"issue"` }
Represents an 'unpinned' event on a given issue or pull request.
func (UnpinnedEvent) GetID ¶ added in v0.11.4
func (this UnpinnedEvent) GetID() string
ID of the object.
func (UnpinnedEvent) IsIssueTimelineItems ¶
func (UnpinnedEvent) IsIssueTimelineItems()
func (UnpinnedEvent) IsNode ¶
func (UnpinnedEvent) IsNode()
func (UnpinnedEvent) IsPullRequestTimelineItems ¶
func (UnpinnedEvent) IsPullRequestTimelineItems()
type UnresolveReviewThreadInput ¶
type UnresolveReviewThreadInput struct { // The ID of the thread to unresolve ThreadID string `json:"threadId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UnresolveReviewThread
type UnresolveReviewThreadPayload ¶
type UnresolveReviewThreadPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The thread to resolve. Thread *PullRequestReviewThread `json:"thread"` }
Autogenerated return type of UnresolveReviewThread
type UnsubscribedEvent ¶
type UnsubscribedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // Object referenced by event. Subscribable Subscribable `json:"subscribable"` }
Represents an 'unsubscribed' event on a given `Subscribable`.
func (UnsubscribedEvent) GetID ¶ added in v0.11.4
func (this UnsubscribedEvent) GetID() string
ID of the object.
func (UnsubscribedEvent) IsIssueTimelineItem ¶
func (UnsubscribedEvent) IsIssueTimelineItem()
func (UnsubscribedEvent) IsIssueTimelineItems ¶
func (UnsubscribedEvent) IsIssueTimelineItems()
func (UnsubscribedEvent) IsNode ¶
func (UnsubscribedEvent) IsNode()
func (UnsubscribedEvent) IsPullRequestTimelineItem ¶
func (UnsubscribedEvent) IsPullRequestTimelineItem()
func (UnsubscribedEvent) IsPullRequestTimelineItems ¶
func (UnsubscribedEvent) IsPullRequestTimelineItems()
type Updatable ¶
type Updatable interface { IsUpdatable() // Check if the current viewer can update this object. GetViewerCanUpdate() bool }
Entities that can be updated.
type UpdatableComment ¶
type UpdatableComment interface { IsUpdatableComment() // Reasons why the current viewer can not update this comment. GetViewerCannotUpdateReasons() []CommentCannotUpdateReason }
Comments that can be updated.
type UpdateBranchProtectionRuleInput ¶
type UpdateBranchProtectionRuleInput struct { // The global relay id of the branch protection rule to be updated. BranchProtectionRuleID string `json:"branchProtectionRuleId"` // The glob-like pattern used to determine matching branches. Pattern *string `json:"pattern,omitempty"` // Are approving reviews required to update matching branches. RequiresApprovingReviews *bool `json:"requiresApprovingReviews,omitempty"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"` // Are commits required to be signed. RequiresCommitSignatures *bool `json:"requiresCommitSignatures,omitempty"` // Are merge commits prohibited from being pushed to this branch. RequiresLinearHistory *bool `json:"requiresLinearHistory,omitempty"` // Is branch creation a protected operation. BlocksCreations *bool `json:"blocksCreations,omitempty"` // Are force pushes allowed on this branch. AllowsForcePushes *bool `json:"allowsForcePushes,omitempty"` // Can this branch be deleted. AllowsDeletions *bool `json:"allowsDeletions,omitempty"` // Can admins overwrite branch protection. IsAdminEnforced *bool `json:"isAdminEnforced,omitempty"` // Are status checks required to update matching branches. RequiresStatusChecks *bool `json:"requiresStatusChecks,omitempty"` // Are branches required to be up to date before merging. RequiresStrictStatusChecks *bool `json:"requiresStrictStatusChecks,omitempty"` // Are reviews from code owners required to update matching branches. RequiresCodeOwnerReviews *bool `json:"requiresCodeOwnerReviews,omitempty"` // Will new commits pushed to matching branches dismiss pull request review approvals. DismissesStaleReviews *bool `json:"dismissesStaleReviews,omitempty"` // Is dismissal of pull request reviews restricted. RestrictsReviewDismissals *bool `json:"restrictsReviewDismissals,omitempty"` // A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"` // A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"` // A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. BypassForcePushActorIds []string `json:"bypassForcePushActorIds,omitempty"` // Is pushing to matching branches restricted. RestrictsPushes *bool `json:"restrictsPushes,omitempty"` // A list of User, Team, or App IDs allowed to push to matching branches. PushActorIds []string `json:"pushActorIds,omitempty"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"` // The list of required status checks RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"` // Are conversations required to be resolved before merging. RequiresConversationResolution *bool `json:"requiresConversationResolution,omitempty"` // Whether the most recent push must be approved by someone other than the person who pushed it RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"` // Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. LockBranch *bool `json:"lockBranch,omitempty"` // Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. LockAllowsFetchAndMerge *bool `json:"lockAllowsFetchAndMerge,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateBranchProtectionRule
type UpdateBranchProtectionRulePayload ¶
type UpdateBranchProtectionRulePayload struct { // The newly created BranchProtectionRule. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of UpdateBranchProtectionRule
type UpdateCheckRunInput ¶
type UpdateCheckRunInput struct { // The node ID of the repository. RepositoryID string `json:"repositoryId"` // The node of the check. CheckRunID string `json:"checkRunId"` // The name of the check. Name *string `json:"name,omitempty"` // The URL of the integrator's site that has the full details of the check. DetailsURL *string `json:"detailsUrl,omitempty"` // A reference for the run on the integrator's system. ExternalID *string `json:"externalId,omitempty"` // The current status. Status *RequestableCheckStatusState `json:"status,omitempty"` // The time that the check run began. StartedAt *time.Time `json:"startedAt,omitempty"` // The final conclusion of the check. Conclusion *CheckConclusionState `json:"conclusion,omitempty"` // The time that the check run finished. CompletedAt *time.Time `json:"completedAt,omitempty"` // Descriptive details about the run. Output *CheckRunOutput `json:"output,omitempty"` // Possible further actions the integrator can perform, which a user may trigger. Actions []*CheckRunAction `json:"actions,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateCheckRun
type UpdateCheckRunPayload ¶
type UpdateCheckRunPayload struct { // The updated check run. CheckRun *CheckRun `json:"checkRun"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` }
Autogenerated return type of UpdateCheckRun
type UpdateCheckSuitePreferencesInput ¶
type UpdateCheckSuitePreferencesInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // The check suite preferences to modify. AutoTriggerPreferences []*CheckSuiteAutoTriggerPreference `json:"autoTriggerPreferences"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateCheckSuitePreferences
type UpdateCheckSuitePreferencesPayload ¶
type UpdateCheckSuitePreferencesPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated repository. Repository *Repository `json:"repository"` }
Autogenerated return type of UpdateCheckSuitePreferences
type UpdateDiscussionCommentInput ¶ added in v0.0.3
type UpdateDiscussionCommentInput struct { // The Node ID of the discussion comment to update. CommentID string `json:"commentId"` // The new contents of the comment body. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateDiscussionComment
type UpdateDiscussionCommentPayload ¶ added in v0.0.3
type UpdateDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The modified discussion comment. Comment *DiscussionComment `json:"comment"` }
Autogenerated return type of UpdateDiscussionComment
type UpdateDiscussionInput ¶ added in v0.0.3
type UpdateDiscussionInput struct { // The Node ID of the discussion to update. DiscussionID string `json:"discussionId"` // The new discussion title. Title *string `json:"title,omitempty"` // The new contents of the discussion body. Body *string `json:"body,omitempty"` // The Node ID of a discussion category within the same repository to change this discussion to. CategoryID *string `json:"categoryId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateDiscussion
type UpdateDiscussionPayload ¶ added in v0.0.3
type UpdateDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The modified discussion. Discussion *Discussion `json:"discussion"` }
Autogenerated return type of UpdateDiscussion
type UpdateEnterpriseAdministratorRoleInput ¶
type UpdateEnterpriseAdministratorRoleInput struct { // The ID of the Enterprise which the admin belongs to. EnterpriseID string `json:"enterpriseId"` // The login of a administrator whose role is being changed. Login string `json:"login"` // The new role for the Enterprise administrator. Role EnterpriseAdministratorRole `json:"role"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseAdministratorRole
type UpdateEnterpriseAdministratorRolePayload ¶
type UpdateEnterpriseAdministratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of changing the administrator's role. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseAdministratorRole
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput ¶
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput struct { // The ID of the enterprise on which to set the allow private repository forking setting. EnterpriseID string `json:"enterpriseId"` // The value for the allow private repository forking setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // The value for the allow private repository forking policy on the enterprise. PolicyValue *EnterpriseAllowPrivateRepositoryForkingPolicyValue `json:"policyValue,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload ¶
type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated allow private repository forking setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the allow private repository forking setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting
type UpdateEnterpriseDefaultRepositoryPermissionSettingInput ¶
type UpdateEnterpriseDefaultRepositoryPermissionSettingInput struct { // The ID of the enterprise on which to set the base repository permission setting. EnterpriseID string `json:"enterpriseId"` // The value for the base repository permission setting on the enterprise. SettingValue EnterpriseDefaultRepositoryPermissionSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting
type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload ¶
type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated base repository permission setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the base repository permission setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput ¶
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput struct { // The ID of the enterprise on which to set the members can change repository visibility setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can change repository visibility setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload ¶
type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can change repository visibility setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can change repository visibility setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting
type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput ¶
type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput struct { // The ID of the enterprise on which to set the members can create repositories setting. EnterpriseID string `json:"enterpriseId"` // 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. SettingValue *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"settingValue,omitempty"` // When false, allow member organizations to set their own repository creation member privileges. MembersCanCreateRepositoriesPolicyEnabled *bool `json:"membersCanCreateRepositoriesPolicyEnabled,omitempty"` // Allow members to create public repositories. Defaults to current value. MembersCanCreatePublicRepositories *bool `json:"membersCanCreatePublicRepositories,omitempty"` // Allow members to create private repositories. Defaults to current value. MembersCanCreatePrivateRepositories *bool `json:"membersCanCreatePrivateRepositories,omitempty"` // Allow members to create internal repositories. Defaults to current value. MembersCanCreateInternalRepositories *bool `json:"membersCanCreateInternalRepositories,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting
type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload ¶
type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can create repositories setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can create repositories setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting
type UpdateEnterpriseMembersCanDeleteIssuesSettingInput ¶
type UpdateEnterpriseMembersCanDeleteIssuesSettingInput struct { // The ID of the enterprise on which to set the members can delete issues setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can delete issues setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting
type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload ¶
type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can delete issues setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can delete issues setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput ¶
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput struct { // The ID of the enterprise on which to set the members can delete repositories setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can delete repositories setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload ¶
type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can delete repositories setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can delete repositories setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput ¶
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput struct { // The ID of the enterprise on which to set the members can invite collaborators setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can invite collaborators setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload ¶
type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can invite collaborators setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can invite collaborators setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting
type UpdateEnterpriseMembersCanMakePurchasesSettingInput ¶
type UpdateEnterpriseMembersCanMakePurchasesSettingInput struct { // The ID of the enterprise on which to set the members can make purchases setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can make purchases setting on the enterprise. SettingValue EnterpriseMembersCanMakePurchasesSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting
type UpdateEnterpriseMembersCanMakePurchasesSettingPayload ¶
type UpdateEnterpriseMembersCanMakePurchasesSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can make purchases setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can make purchases setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput ¶
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput struct { // The ID of the enterprise on which to set the members can update protected branches setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can update protected branches setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload ¶
type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can update protected branches setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can update protected branches setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput ¶
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput struct { // The ID of the enterprise on which to set the members can view dependency insights setting. EnterpriseID string `json:"enterpriseId"` // The value for the members can view dependency insights setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload ¶
type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated members can view dependency insights setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the members can view dependency insights setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting
type UpdateEnterpriseOrganizationProjectsSettingInput ¶
type UpdateEnterpriseOrganizationProjectsSettingInput struct { // The ID of the enterprise on which to set the organization projects setting. EnterpriseID string `json:"enterpriseId"` // The value for the organization projects setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting
type UpdateEnterpriseOrganizationProjectsSettingPayload ¶
type UpdateEnterpriseOrganizationProjectsSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated organization projects setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the organization projects setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting
type UpdateEnterpriseOwnerOrganizationRoleInput ¶ added in v0.0.4
type UpdateEnterpriseOwnerOrganizationRoleInput struct { // The ID of the Enterprise which the owner belongs to. EnterpriseID string `json:"enterpriseId"` // The ID of the organization for membership change. OrganizationID string `json:"organizationId"` // The role to assume in the organization. OrganizationRole RoleInOrganization `json:"organizationRole"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole
type UpdateEnterpriseOwnerOrganizationRolePayload ¶ added in v0.0.4
type UpdateEnterpriseOwnerOrganizationRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of changing the owner's organization role. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole
type UpdateEnterpriseProfileInput ¶
type UpdateEnterpriseProfileInput struct { // The Enterprise ID to update. EnterpriseID string `json:"enterpriseId"` // The name of the enterprise. Name *string `json:"name,omitempty"` // The description of the enterprise. Description *string `json:"description,omitempty"` // The URL of the enterprise's website. WebsiteURL *string `json:"websiteUrl,omitempty"` // The location of the enterprise. Location *string `json:"location,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseProfile
type UpdateEnterpriseProfilePayload ¶
type UpdateEnterpriseProfilePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise"` }
Autogenerated return type of UpdateEnterpriseProfile
type UpdateEnterpriseRepositoryProjectsSettingInput ¶
type UpdateEnterpriseRepositoryProjectsSettingInput struct { // The ID of the enterprise on which to set the repository projects setting. EnterpriseID string `json:"enterpriseId"` // The value for the repository projects setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting
type UpdateEnterpriseRepositoryProjectsSettingPayload ¶
type UpdateEnterpriseRepositoryProjectsSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated repository projects setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the repository projects setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting
type UpdateEnterpriseTeamDiscussionsSettingInput ¶
type UpdateEnterpriseTeamDiscussionsSettingInput struct { // The ID of the enterprise on which to set the team discussions setting. EnterpriseID string `json:"enterpriseId"` // The value for the team discussions setting on the enterprise. SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting
type UpdateEnterpriseTeamDiscussionsSettingPayload ¶
type UpdateEnterpriseTeamDiscussionsSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated team discussions setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the team discussions setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput ¶
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput struct { // The ID of the enterprise on which to set the two factor authentication required setting. EnterpriseID string `json:"enterpriseId"` // The value for the two factor authentication required setting on the enterprise. SettingValue EnterpriseEnabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload ¶
type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The enterprise with the updated two factor authentication required setting. Enterprise *Enterprise `json:"enterprise"` // A message confirming the result of updating the two factor authentication required setting. Message *string `json:"message"` }
Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting
type UpdateEnvironmentInput ¶ added in v0.0.3
type UpdateEnvironmentInput struct { // The node ID of the environment. EnvironmentID string `json:"environmentId"` // The wait timer in minutes. WaitTimer *int `json:"waitTimer,omitempty"` // The ids of users or teams that can approve deployments to this environment Reviewers []string `json:"reviewers,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateEnvironment
type UpdateEnvironmentPayload ¶ added in v0.0.3
type UpdateEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated environment. Environment *Environment `json:"environment"` }
Autogenerated return type of UpdateEnvironment
type UpdateIPAllowListEnabledSettingInput ¶
type UpdateIPAllowListEnabledSettingInput struct { // The ID of the owner on which to set the IP allow list enabled setting. OwnerID string `json:"ownerId"` // The value for the IP allow list enabled setting. SettingValue IPAllowListEnabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateIpAllowListEnabledSetting
type UpdateIPAllowListEnabledSettingPayload ¶
type UpdateIPAllowListEnabledSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The IP allow list owner on which the setting was updated. Owner IPAllowListOwner `json:"owner"` }
Autogenerated return type of UpdateIpAllowListEnabledSetting
type UpdateIPAllowListEntryInput ¶
type UpdateIPAllowListEntryInput struct { // The ID of the IP allow list entry to update. IPAllowListEntryID string `json:"ipAllowListEntryId"` // An IP address or range of addresses in CIDR notation. AllowListValue string `json:"allowListValue"` // An optional name for the IP allow list entry. Name *string `json:"name,omitempty"` // Whether the IP allow list entry is active when an IP allow list is enabled. IsActive bool `json:"isActive"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateIpAllowListEntry
type UpdateIPAllowListEntryPayload ¶
type UpdateIPAllowListEntryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The IP allow list entry that was updated. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry"` }
Autogenerated return type of UpdateIpAllowListEntry
type UpdateIPAllowListForInstalledAppsEnabledSettingInput ¶ added in v0.0.3
type UpdateIPAllowListForInstalledAppsEnabledSettingInput struct { // The ID of the owner. OwnerID string `json:"ownerId"` // The value for the IP allow list configuration for installed GitHub Apps setting. SettingValue IPAllowListForInstalledAppsEnabledSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting
type UpdateIPAllowListForInstalledAppsEnabledSettingPayload ¶ added in v0.0.3
type UpdateIPAllowListForInstalledAppsEnabledSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The IP allow list owner on which the setting was updated. Owner IPAllowListOwner `json:"owner"` }
Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting
type UpdateIssueCommentInput ¶
type UpdateIssueCommentInput struct { // The ID of the IssueComment to modify. ID string `json:"id"` // The updated text of the comment. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateIssueComment
type UpdateIssueCommentPayload ¶
type UpdateIssueCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated comment. IssueComment *IssueComment `json:"issueComment"` }
Autogenerated return type of UpdateIssueComment
type UpdateIssueInput ¶
type UpdateIssueInput struct { // The ID of the Issue to modify. ID string `json:"id"` // The title for the issue. Title *string `json:"title,omitempty"` // The body for the issue description. Body *string `json:"body,omitempty"` // An array of Node IDs of users for this issue. AssigneeIds []string `json:"assigneeIds,omitempty"` // The Node ID of the milestone for this issue. MilestoneID *string `json:"milestoneId,omitempty"` // An array of Node IDs of labels for this issue. LabelIds []string `json:"labelIds,omitempty"` // The desired issue state. State *IssueState `json:"state,omitempty"` // An array of Node IDs for projects associated with this issue. ProjectIds []string `json:"projectIds,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateIssue
type UpdateIssuePayload ¶
type UpdateIssuePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The issue. Issue *Issue `json:"issue"` }
Autogenerated return type of UpdateIssue
type UpdateNotificationRestrictionSettingInput ¶
type UpdateNotificationRestrictionSettingInput struct { // The ID of the owner on which to set the restrict notifications setting. OwnerID string `json:"ownerId"` // The value for the restrict notifications setting. SettingValue NotificationRestrictionSettingValue `json:"settingValue"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateNotificationRestrictionSetting
type UpdateNotificationRestrictionSettingPayload ¶
type UpdateNotificationRestrictionSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The owner on which the setting was updated. Owner VerifiableDomainOwner `json:"owner"` }
Autogenerated return type of UpdateNotificationRestrictionSetting
type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput ¶ added in v0.0.4
type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput struct { // The ID of the organization on which to set the allow private repository forking setting. OrganizationID string `json:"organizationId"` // Enable forking of private repositories in the organization? ForkingEnabled bool `json:"forkingEnabled"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload ¶ added in v0.0.4
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of updating the allow private repository forking setting. Message *string `json:"message"` // The organization with the updated allow private repository forking setting. Organization *Organization `json:"organization"` }
Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
type UpdateOrganizationWebCommitSignoffSettingInput ¶ added in v0.11.4
type UpdateOrganizationWebCommitSignoffSettingInput struct { // The ID of the organization on which to set the web commit signoff setting. OrganizationID string `json:"organizationId"` // Enable signoff on web-based commits for repositories in the organization? WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting
type UpdateOrganizationWebCommitSignoffSettingPayload ¶ added in v0.11.4
type UpdateOrganizationWebCommitSignoffSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of updating the web commit signoff setting. Message *string `json:"message"` // The organization with the updated web commit signoff setting. Organization *Organization `json:"organization"` }
Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting
type UpdateProjectCardInput ¶
type UpdateProjectCardInput struct { // The ProjectCard ID to update. ProjectCardID string `json:"projectCardId"` // Whether or not the ProjectCard should be archived IsArchived *bool `json:"isArchived,omitempty"` // The note of ProjectCard. Note *string `json:"note,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectCard
type UpdateProjectCardPayload ¶
type UpdateProjectCardPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated ProjectCard. ProjectCard *ProjectCard `json:"projectCard"` }
Autogenerated return type of UpdateProjectCard
type UpdateProjectColumnInput ¶
type UpdateProjectColumnInput struct { // The ProjectColumn ID to update. ProjectColumnID string `json:"projectColumnId"` // The name of project column. Name string `json:"name"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectColumn
type UpdateProjectColumnPayload ¶
type UpdateProjectColumnPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated project column. ProjectColumn *ProjectColumn `json:"projectColumn"` }
Autogenerated return type of UpdateProjectColumn
type UpdateProjectInput ¶
type UpdateProjectInput struct { // The Project ID to update. ProjectID string `json:"projectId"` // The name of project. Name *string `json:"name,omitempty"` // The description of project. Body *string `json:"body,omitempty"` // Whether the project is open or closed. State *ProjectState `json:"state,omitempty"` // Whether the project is public or not. Public *bool `json:"public,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProject
type UpdateProjectPayload ¶
type UpdateProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated project. Project *Project `json:"project"` }
Autogenerated return type of UpdateProject
type UpdateProjectV2DraftIssueInput ¶ added in v0.11.4
type UpdateProjectV2DraftIssueInput struct { // The ID of the draft issue to update. DraftIssueID string `json:"draftIssueId"` // The title of the draft issue. Title *string `json:"title,omitempty"` // The body of the draft issue. Body *string `json:"body,omitempty"` // The IDs of the assignees of the draft issue. AssigneeIds []string `json:"assigneeIds,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectV2DraftIssue
type UpdateProjectV2DraftIssuePayload ¶ added in v0.11.4
type UpdateProjectV2DraftIssuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The draft issue updated in the project. DraftIssue *DraftIssue `json:"draftIssue"` }
Autogenerated return type of UpdateProjectV2DraftIssue
type UpdateProjectV2Input ¶ added in v0.11.4
type UpdateProjectV2Input struct { // The ID of the Project to update. ProjectID string `json:"projectId"` // Set the title of the project. Title *string `json:"title,omitempty"` // Set the short description of the project. ShortDescription *string `json:"shortDescription,omitempty"` // Set the readme description of the project. Readme *string `json:"readme,omitempty"` // Set the project to closed or open. Closed *bool `json:"closed,omitempty"` // Set the project to public or private. Public *bool `json:"public,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectV2
type UpdateProjectV2ItemFieldValueInput ¶ added in v0.11.4
type UpdateProjectV2ItemFieldValueInput struct { // The ID of the Project. ProjectID string `json:"projectId"` // The ID of the item to be updated. ItemID string `json:"itemId"` // The ID of the field to be updated. FieldID string `json:"fieldId"` // The value which will be set on the field. Value ProjectV2FieldValue `json:"value"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectV2ItemFieldValue
type UpdateProjectV2ItemFieldValuePayload ¶ added in v0.11.4
type UpdateProjectV2ItemFieldValuePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated item. ProjectV2Item *ProjectV2Item `json:"projectV2Item"` }
Autogenerated return type of UpdateProjectV2ItemFieldValue
type UpdateProjectV2ItemPositionInput ¶ added in v0.11.4
type UpdateProjectV2ItemPositionInput struct { // The ID of the Project. ProjectID string `json:"projectId"` // The ID of the item to be moved. ItemID string `json:"itemId"` // The ID of the item to position this item after. If omitted or set to null the item will be moved to top. AfterID *string `json:"afterId,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectV2ItemPosition
type UpdateProjectV2ItemPositionPayload ¶ added in v0.11.4
type UpdateProjectV2ItemPositionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The items in the new order Items *ProjectV2ItemConnection `json:"items"` }
Autogenerated return type of UpdateProjectV2ItemPosition
type UpdateProjectV2Payload ¶ added in v0.11.4
type UpdateProjectV2Payload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated Project. ProjectV2 *ProjectV2 `json:"projectV2"` }
Autogenerated return type of UpdateProjectV2
type UpdatePullRequestBranchInput ¶ added in v0.0.4
type UpdatePullRequestBranchInput struct { // The Node ID of the pull request. PullRequestID string `json:"pullRequestId"` // The head ref oid for the upstream branch. ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdatePullRequestBranch
type UpdatePullRequestBranchPayload ¶ added in v0.0.4
type UpdatePullRequestBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of UpdatePullRequestBranch
type UpdatePullRequestInput ¶
type UpdatePullRequestInput struct { // The Node ID of the pull request. PullRequestID string `json:"pullRequestId"` // The name of the branch you want your changes pulled into. This should be an existing branch // on the current repository. // BaseRefName *string `json:"baseRefName,omitempty"` // The title of the pull request. Title *string `json:"title,omitempty"` // The contents of the pull request. Body *string `json:"body,omitempty"` // The target state of the pull request. State *PullRequestUpdateState `json:"state,omitempty"` // Indicates whether maintainers can modify the pull request. MaintainerCanModify *bool `json:"maintainerCanModify,omitempty"` // An array of Node IDs of users for this pull request. AssigneeIds []string `json:"assigneeIds,omitempty"` // The Node ID of the milestone for this pull request. MilestoneID *string `json:"milestoneId,omitempty"` // An array of Node IDs of labels for this pull request. LabelIds []string `json:"labelIds,omitempty"` // An array of Node IDs for projects associated with this pull request. ProjectIds []string `json:"projectIds,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdatePullRequest
type UpdatePullRequestPayload ¶
type UpdatePullRequestPayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest"` }
Autogenerated return type of UpdatePullRequest
type UpdatePullRequestReviewCommentInput ¶
type UpdatePullRequestReviewCommentInput struct { // The Node ID of the comment to modify. PullRequestReviewCommentID string `json:"pullRequestReviewCommentId"` // The text of the comment. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdatePullRequestReviewComment
type UpdatePullRequestReviewCommentPayload ¶
type UpdatePullRequestReviewCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated comment. PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment"` }
Autogenerated return type of UpdatePullRequestReviewComment
type UpdatePullRequestReviewInput ¶
type UpdatePullRequestReviewInput struct { // The Node ID of the pull request review to modify. PullRequestReviewID string `json:"pullRequestReviewId"` // The contents of the pull request review body. Body string `json:"body"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdatePullRequestReview
type UpdatePullRequestReviewPayload ¶
type UpdatePullRequestReviewPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview"` }
Autogenerated return type of UpdatePullRequestReview
type UpdateRefInput ¶
type UpdateRefInput struct { // The Node ID of the Ref to be updated. RefID string `json:"refId"` // The GitObjectID that the Ref shall be updated to target. Oid string `json:"oid"` // Permit updates of branch Refs that are not fast-forwards? Force *bool `json:"force,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateRef
type UpdateRefPayload ¶
type UpdateRefPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated Ref. Ref *Ref `json:"ref"` }
Autogenerated return type of UpdateRef
type UpdateRepositoryInput ¶
type UpdateRepositoryInput struct { // The ID of the repository to update. RepositoryID string `json:"repositoryId"` // The new name of the repository. Name *string `json:"name,omitempty"` // A new description for the repository. Pass an empty string to erase the existing description. Description *string `json:"description,omitempty"` // 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. Template *bool `json:"template,omitempty"` // The URL for a web page about this repository. Pass an empty string to erase the existing URL. HomepageURL *string `json:"homepageUrl,omitempty"` // Indicates if the repository should have the wiki feature enabled. HasWikiEnabled *bool `json:"hasWikiEnabled,omitempty"` // Indicates if the repository should have the issues feature enabled. HasIssuesEnabled *bool `json:"hasIssuesEnabled,omitempty"` // Indicates if the repository should have the project boards feature enabled. HasProjectsEnabled *bool `json:"hasProjectsEnabled,omitempty"` // Indicates if the repository should have the discussions feature enabled. HasDiscussionsEnabled *bool `json:"hasDiscussionsEnabled,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateRepository
type UpdateRepositoryPayload ¶
type UpdateRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated repository. Repository *Repository `json:"repository"` }
Autogenerated return type of UpdateRepository
type UpdateRepositoryWebCommitSignoffSettingInput ¶ added in v0.11.4
type UpdateRepositoryWebCommitSignoffSettingInput struct { // The ID of the repository to update. RepositoryID string `json:"repositoryId"` // Indicates if the repository should require signoff on web-based commits. WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting
type UpdateRepositoryWebCommitSignoffSettingPayload ¶ added in v0.11.4
type UpdateRepositoryWebCommitSignoffSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // A message confirming the result of updating the web commit signoff setting. Message *string `json:"message"` // The updated repository. Repository *Repository `json:"repository"` }
Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting
type UpdateSponsorshipPreferencesInput ¶ added in v0.0.4
type UpdateSponsorshipPreferencesInput struct { // The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. SponsorID *string `json:"sponsorId,omitempty"` // The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. SponsorLogin *string `json:"sponsorLogin,omitempty"` // The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. SponsorableID *string `json:"sponsorableId,omitempty"` // The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. SponsorableLogin *string `json:"sponsorableLogin,omitempty"` // Whether the sponsor should receive email updates from the sponsorable. ReceiveEmails *bool `json:"receiveEmails,omitempty"` // 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. PrivacyLevel *SponsorshipPrivacy `json:"privacyLevel,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateSponsorshipPreferences
type UpdateSponsorshipPreferencesPayload ¶ added in v0.0.4
type UpdateSponsorshipPreferencesPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The sponsorship that was updated. Sponsorship *Sponsorship `json:"sponsorship"` }
Autogenerated return type of UpdateSponsorshipPreferences
type UpdateSubscriptionInput ¶
type UpdateSubscriptionInput struct { // The Node ID of the subscribable object to modify. SubscribableID string `json:"subscribableId"` // The new state of the subscription. State SubscriptionState `json:"state"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateSubscription
type UpdateSubscriptionPayload ¶
type UpdateSubscriptionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The input subscribable entity. Subscribable Subscribable `json:"subscribable"` }
Autogenerated return type of UpdateSubscription
type UpdateTeamDiscussionCommentInput ¶
type UpdateTeamDiscussionCommentInput struct { // The ID of the comment to modify. ID string `json:"id"` // The updated text of the comment. Body string `json:"body"` // The current version of the body content. BodyVersion *string `json:"bodyVersion,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateTeamDiscussionComment
type UpdateTeamDiscussionCommentPayload ¶
type UpdateTeamDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated comment. TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment"` }
Autogenerated return type of UpdateTeamDiscussionComment
type UpdateTeamDiscussionInput ¶
type UpdateTeamDiscussionInput struct { // The Node ID of the discussion to modify. ID string `json:"id"` // The updated title of the discussion. Title *string `json:"title,omitempty"` // The updated text of the discussion. Body *string `json:"body,omitempty"` // 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. BodyVersion *string `json:"bodyVersion,omitempty"` // If provided, sets the pinned state of the updated discussion. Pinned *bool `json:"pinned,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateTeamDiscussion
type UpdateTeamDiscussionPayload ¶
type UpdateTeamDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The updated discussion. TeamDiscussion *TeamDiscussion `json:"teamDiscussion"` }
Autogenerated return type of UpdateTeamDiscussion
type UpdateTeamsRepositoryInput ¶ added in v0.11.4
type UpdateTeamsRepositoryInput struct { // Repository ID being granted access to. RepositoryID string `json:"repositoryId"` // A list of teams being granted access. Limit: 10 TeamIds []string `json:"teamIds"` // Permission that should be granted to the teams. Permission RepositoryPermission `json:"permission"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateTeamsRepository
type UpdateTeamsRepositoryPayload ¶ added in v0.11.4
type UpdateTeamsRepositoryPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The repository that was updated. Repository *Repository `json:"repository"` // The teams granted permission on the repository. Teams []*Team `json:"teams"` }
Autogenerated return type of UpdateTeamsRepository
type UpdateTopicsInput ¶
type UpdateTopicsInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // An array of topic names. TopicNames []string `json:"topicNames"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateTopics
type UpdateTopicsPayload ¶
type UpdateTopicsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // Names of the provided topics that are not valid. InvalidTopicNames []string `json:"invalidTopicNames"` // The updated repository. Repository *Repository `json:"repository"` }
Autogenerated return type of UpdateTopics
type User ¶
type User struct { // Determine if this repository owner has any items that can be pinned to their profile. AnyPinnableItems bool `json:"anyPinnableItems"` // A URL pointing to the user's public avatar. AvatarURL string `json:"avatarUrl"` // The user's public profile bio. Bio *string `json:"bio"` // The user's public profile bio as HTML. BioHTML string `json:"bioHTML"` // Could this user receive email notifications, if the organization had notification restrictions enabled? CanReceiveOrganizationEmailsWhenNotificationsRestricted bool `json:"canReceiveOrganizationEmailsWhenNotificationsRestricted"` // A list of commit comments made by this user. CommitComments CommitCommentConnection `json:"commitComments"` // The user's public profile company. Company *string `json:"company"` // The user's public profile company as HTML. CompanyHTML string `json:"companyHTML"` // The collection of contributions this user has made to different repositories. ContributionsCollection *ContributionsCollection `json:"contributionsCollection"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The user's publicly visible profile email. Email string `json:"email"` // The estimated next GitHub Sponsors payout for this user/organization in cents (USD). EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents"` // A list of users the given user is followed by. Followers FollowerConnection `json:"followers"` // A list of users the given user is following. Following FollowingConnection `json:"following"` // Find gist by repo name. Gist *Gist `json:"gist"` // A list of gist comments made by this user. GistComments GistCommentConnection `json:"gistComments"` // A list of the Gists the user has created. Gists GistConnection `json:"gists"` // True if this user/organization has a GitHub Sponsors listing. HasSponsorsListing bool `json:"hasSponsorsListing"` // The hovercard information for this user in a given context Hovercard Hovercard `json:"hovercard"` ID string `json:"id"` // The interaction ability settings for this user. InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility"` // Whether or not this user is a participant in the GitHub Security Bug Bounty. IsBountyHunter bool `json:"isBountyHunter"` // Whether or not this user is a participant in the GitHub Campus Experts Program. IsCampusExpert bool `json:"isCampusExpert"` // Whether or not this user is a GitHub Developer Program member. IsDeveloperProgramMember bool `json:"isDeveloperProgramMember"` // Whether or not this user is a GitHub employee. IsEmployee bool `json:"isEmployee"` // Whether or not this user is following the viewer. Inverse of viewer_is_following IsFollowingViewer bool `json:"isFollowingViewer"` // Whether or not this user is a member of the GitHub Stars Program. IsGitHubStar bool `json:"isGitHubStar"` // Whether or not the user has marked themselves as for hire. IsHireable bool `json:"isHireable"` // Whether or not this user is a site administrator. IsSiteAdmin bool `json:"isSiteAdmin"` // Whether the given account is sponsoring this user/organization. IsSponsoredBy bool `json:"isSponsoredBy"` // True if the viewer is sponsored by this user/organization. IsSponsoringViewer bool `json:"isSponsoringViewer"` // Whether or not this user is the viewing user. IsViewer bool `json:"isViewer"` // A list of issue comments made by this user. IssueComments IssueCommentConnection `json:"issueComments"` // A list of issues associated with this user. Issues IssueConnection `json:"issues"` // 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"` // The user's public profile location. Location *string `json:"location"` // The username used to login. Login string `json:"login"` // The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents"` // The user's public profile name. Name *string `json:"name"` // Find an organization by its login that the user belongs to. Organization *Organization `json:"organization"` // Verified email addresses that match verified domains for a specified organization the user is a member of. OrganizationVerifiedDomainEmails []string `json:"organizationVerifiedDomainEmails"` // A list of organizations the user belongs to. Organizations OrganizationConnection `json:"organizations"` // A list of packages under the owner. Packages PackageConnection `json:"packages"` // A list of repositories and gists this profile owner can pin to their profile. PinnableItems PinnableItemConnection `json:"pinnableItems"` // A list of repositories and gists this profile owner has pinned to their profile PinnedItems PinnableItemConnection `json:"pinnedItems"` // Returns how many more items this profile owner can pin to their profile. PinnedItemsRemaining int `json:"pinnedItemsRemaining"` // Find project by number. Project *Project `json:"project"` // Find a project by number. ProjectV2 *ProjectV2 `json:"projectV2"` // A list of projects under the owner. Projects ProjectConnection `json:"projects"` // The HTTP path listing user's projects ProjectsResourcePath string `json:"projectsResourcePath"` // The HTTP URL listing user's projects ProjectsURL string `json:"projectsUrl"` // A list of projects under the owner. ProjectsV2 ProjectV2Connection `json:"projectsV2"` // A list of public keys associated with this user. PublicKeys PublicKeyConnection `json:"publicKeys"` // A list of pull requests associated with this user. PullRequests PullRequestConnection `json:"pullRequests"` // Recent projects that this user has modified in the context of the owner. RecentProjects ProjectV2Connection `json:"recentProjects"` // A list of repositories that the user owns. Repositories RepositoryConnection `json:"repositories"` // A list of repositories that the user recently contributed to. RepositoriesContributedTo RepositoryConnection `json:"repositoriesContributedTo"` // Find Repository. Repository *Repository `json:"repository"` // Discussion comments this user has authored. RepositoryDiscussionComments DiscussionCommentConnection `json:"repositoryDiscussionComments"` // Discussions this user has started. RepositoryDiscussions DiscussionConnection `json:"repositoryDiscussions"` // The HTTP path for this user ResourcePath string `json:"resourcePath"` // Replies this user has saved SavedReplies *SavedReplyConnection `json:"savedReplies"` // List of users and organizations this entity is sponsoring. Sponsoring SponsorConnection `json:"sponsoring"` // List of sponsors for this user or organization. Sponsors SponsorConnection `json:"sponsors"` // Events involving this sponsorable, such as new sponsorships. SponsorsActivities SponsorsActivityConnection `json:"sponsorsActivities"` // The GitHub Sponsors listing for this user or organization. SponsorsListing *SponsorsListing `json:"sponsorsListing"` // The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor"` // The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable"` // List of sponsorship updates sent from this sponsorable to sponsors. SponsorshipNewsletters SponsorshipNewsletterConnection `json:"sponsorshipNewsletters"` // The sponsorships where this user or organization is the maintainer receiving the funds. SponsorshipsAsMaintainer SponsorshipConnection `json:"sponsorshipsAsMaintainer"` // The sponsorships where this user or organization is the funder. SponsorshipsAsSponsor SponsorshipConnection `json:"sponsorshipsAsSponsor"` // Repositories the user has starred. StarredRepositories StarredRepositoryConnection `json:"starredRepositories"` // The user's description of what they're currently doing. Status *UserStatus `json:"status"` // Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created // TopRepositories RepositoryConnection `json:"topRepositories"` // The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization. TotalSponsorshipAmountAsSponsorInCents *int `json:"totalSponsorshipAmountAsSponsorInCents"` // The user's Twitter username. TwitterUsername *string `json:"twitterUsername"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this user URL string `json:"url"` // Can the viewer pin repositories and gists to the profile? ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems"` // Can the current viewer create new projects on this owner. ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"` // Whether or not the viewer is able to follow the user. ViewerCanFollow bool `json:"viewerCanFollow"` // Whether or not the viewer is able to sponsor this user/organization. ViewerCanSponsor bool `json:"viewerCanSponsor"` // Whether or not this user is followed by the viewer. Inverse of is_following_viewer. ViewerIsFollowing bool `json:"viewerIsFollowing"` // True if the viewer is sponsoring this user/organization. ViewerIsSponsoring bool `json:"viewerIsSponsoring"` // A list of repositories the given user is watching. Watching RepositoryConnection `json:"watching"` // A URL pointing to the user's public website/blog. WebsiteURL *string `json:"websiteUrl"` }
A user is an individual's account on GitHub that owns repositories and can make new content.
func (User) GetAnyPinnableItems ¶ added in v0.11.4
Determine if this repository owner has any items that can be pinned to their profile.
func (User) GetAvatarURL ¶ added in v0.11.4
A URL pointing to the actor's public avatar.
func (User) GetEstimatedNextSponsorsPayoutInCents ¶ added in v0.11.4
The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
func (User) GetHasSponsorsListing ¶ added in v0.11.4
True if this user/organization has a GitHub Sponsors listing.
func (User) GetIsSponsoredBy ¶ added in v0.11.4
Whether the given account is sponsoring this user/organization.
func (User) GetIsSponsoringViewer ¶ added in v0.11.4
True if the viewer is sponsored by this user/organization.
func (User) GetItemShowcase ¶ added in v0.11.4
func (this User) GetItemShowcase() ProfileItemShowcase
Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
func (User) GetLocation ¶ added in v0.11.4
The public profile location.
func (User) GetMonthlyEstimatedSponsorsIncomeInCents ¶ added in v0.11.4
The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
func (User) GetPackages ¶ added in v0.11.4
func (this User) GetPackages() PackageConnection
A list of packages under the owner.
func (User) GetPinnableItems ¶ added in v0.11.4
func (this User) GetPinnableItems() PinnableItemConnection
A list of repositories and gists this profile owner can pin to their profile.
func (User) GetPinnedItems ¶ added in v0.11.4
func (this User) GetPinnedItems() PinnableItemConnection
A list of repositories and gists this profile owner has pinned to their profile
func (User) GetPinnedItemsRemaining ¶ added in v0.11.4
Returns how many more items this profile owner can pin to their profile.
func (User) GetProject ¶ added in v0.11.4
Find project by number.
func (User) GetProjectV2 ¶ added in v0.11.4
Find a project by number.
func (User) GetProjects ¶ added in v0.11.4
func (this User) GetProjects() ProjectConnection
A list of projects under the owner.
func (User) GetProjectsResourcePath ¶ added in v0.11.4
The HTTP path listing owners projects
func (User) GetProjectsURL ¶ added in v0.11.4
The HTTP URL listing owners projects
func (User) GetProjectsV2 ¶ added in v0.11.4
func (this User) GetProjectsV2() ProjectV2Connection
A list of projects under the owner.
func (User) GetRecentProjects ¶ added in v0.11.4
func (this User) GetRecentProjects() ProjectV2Connection
Recent projects that this user has modified in the context of the owner.
func (User) GetRepositories ¶ added in v0.11.4
func (this User) GetRepositories() RepositoryConnection
A list of repositories that the user owns.
func (User) GetRepository ¶ added in v0.11.4
func (this User) GetRepository() *Repository
Find Repository.
func (User) GetRepositoryDiscussionComments ¶ added in v0.11.4
func (this User) GetRepositoryDiscussionComments() DiscussionCommentConnection
Discussion comments this user has authored.
func (User) GetRepositoryDiscussions ¶ added in v0.11.4
func (this User) GetRepositoryDiscussions() DiscussionConnection
Discussions this user has started.
func (User) GetResourcePath ¶ added in v0.11.4
The HTTP path for this actor.
func (User) GetSponsoring ¶ added in v0.11.4
func (this User) GetSponsoring() SponsorConnection
List of users and organizations this entity is sponsoring.
func (User) GetSponsors ¶ added in v0.11.4
func (this User) GetSponsors() SponsorConnection
List of sponsors for this user or organization.
func (User) GetSponsorsActivities ¶ added in v0.11.4
func (this User) GetSponsorsActivities() SponsorsActivityConnection
Events involving this sponsorable, such as new sponsorships.
func (User) GetSponsorsListing ¶ added in v0.11.4
func (this User) GetSponsorsListing() *SponsorsListing
The GitHub Sponsors listing for this user or organization.
func (User) GetSponsorshipForViewerAsSponsor ¶ added in v0.11.4
func (this User) GetSponsorshipForViewerAsSponsor() *Sponsorship
The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
func (User) GetSponsorshipForViewerAsSponsorable ¶ added in v0.11.4
func (this User) GetSponsorshipForViewerAsSponsorable() *Sponsorship
The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
func (User) GetSponsorshipNewsletters ¶ added in v0.11.4
func (this User) GetSponsorshipNewsletters() SponsorshipNewsletterConnection
List of sponsorship updates sent from this sponsorable to sponsors.
func (User) GetSponsorshipsAsMaintainer ¶ added in v0.11.4
func (this User) GetSponsorshipsAsMaintainer() SponsorshipConnection
The sponsorships where this user or organization is the maintainer receiving the funds.
func (User) GetSponsorshipsAsSponsor ¶ added in v0.11.4
func (this User) GetSponsorshipsAsSponsor() SponsorshipConnection
The sponsorships where this user or organization is the funder.
func (User) GetTotalSponsorshipAmountAsSponsorInCents ¶ added in v0.11.4
The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.
func (User) GetViewerCanChangePinnedItems ¶ added in v0.11.4
Can the viewer pin repositories and gists to the profile?
func (User) GetViewerCanCreateProjects ¶ added in v0.11.4
Can the current viewer create new projects on this owner.
func (User) GetViewerCanSponsor ¶ added in v0.11.4
Whether or not the viewer is able to sponsor this user/organization.
func (User) GetViewerIsSponsoring ¶ added in v0.11.4
True if the viewer is sponsoring this user/organization.
func (User) GetWebsiteURL ¶ added in v0.11.4
The public profile website URL.
func (User) IsAssignee ¶
func (User) IsAssignee()
func (User) IsAuditEntryActor ¶
func (User) IsAuditEntryActor()
func (User) IsBranchActorAllowanceActor ¶ added in v0.0.4
func (User) IsBranchActorAllowanceActor()
func (User) IsClaimable ¶ added in v0.11.4
func (User) IsClaimable()
func (User) IsDeploymentReviewer ¶ added in v0.0.3
func (User) IsDeploymentReviewer()
func (User) IsEnterpriseMember ¶
func (User) IsEnterpriseMember()
func (User) IsOrganizationOrUser ¶ added in v0.11.4
func (User) IsOrganizationOrUser()
func (User) IsPackageOwner ¶
func (User) IsPackageOwner()
func (User) IsProfileOwner ¶
func (User) IsProfileOwner()
func (User) IsProjectOwner ¶
func (User) IsProjectOwner()
func (User) IsProjectV2Owner ¶ added in v0.11.4
func (User) IsProjectV2Owner()
func (User) IsProjectV2Recent ¶ added in v0.11.4
func (User) IsProjectV2Recent()
func (User) IsPushAllowanceActor ¶
func (User) IsPushAllowanceActor()
func (User) IsRepositoryDiscussionAuthor ¶ added in v0.0.3
func (User) IsRepositoryDiscussionAuthor()
func (User) IsRepositoryDiscussionCommentAuthor ¶ added in v0.0.3
func (User) IsRepositoryDiscussionCommentAuthor()
func (User) IsRepositoryOwner ¶
func (User) IsRepositoryOwner()
func (User) IsRequestedReviewer ¶
func (User) IsRequestedReviewer()
func (User) IsReviewDismissalAllowanceActor ¶
func (User) IsReviewDismissalAllowanceActor()
func (User) IsSearchResultItem ¶
func (User) IsSearchResultItem()
func (User) IsSponsorable ¶
func (User) IsSponsorable()
func (User) IsSponsorableItem ¶
func (User) IsSponsorableItem()
func (User) IsSponsorsListingFeatureableItem ¶ added in v0.11.4
func (User) IsSponsorsListingFeatureableItem()
func (User) IsUniformResourceLocatable ¶
func (User) IsUniformResourceLocatable()
type UserBlockDuration ¶
type UserBlockDuration string
The possible durations that a user can be blocked for.
const ( // The user was blocked for 1 day UserBlockDurationOneDay UserBlockDuration = "ONE_DAY" // The user was blocked for 3 days UserBlockDurationThreeDays UserBlockDuration = "THREE_DAYS" // The user was blocked for 7 days UserBlockDurationOneWeek UserBlockDuration = "ONE_WEEK" // The user was blocked for 30 days UserBlockDurationOneMonth UserBlockDuration = "ONE_MONTH" // The user was blocked permanently UserBlockDurationPermanent UserBlockDuration = "PERMANENT" )
func (UserBlockDuration) IsValid ¶
func (e UserBlockDuration) IsValid() bool
func (UserBlockDuration) MarshalGQL ¶
func (e UserBlockDuration) MarshalGQL(w io.Writer)
func (UserBlockDuration) String ¶
func (e UserBlockDuration) String() string
func (*UserBlockDuration) UnmarshalGQL ¶
func (e *UserBlockDuration) UnmarshalGQL(v interface{}) error
type UserBlockedEvent ¶
type UserBlockedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor"` // Number of days that the user was blocked for. BlockDuration UserBlockDuration `json:"blockDuration"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` // The user who was blocked. Subject *User `json:"subject"` }
Represents a 'user_blocked' event on a given user.
func (UserBlockedEvent) GetID ¶ added in v0.11.4
func (this UserBlockedEvent) GetID() string
ID of the object.
func (UserBlockedEvent) IsIssueTimelineItem ¶
func (UserBlockedEvent) IsIssueTimelineItem()
func (UserBlockedEvent) IsIssueTimelineItems ¶
func (UserBlockedEvent) IsIssueTimelineItems()
func (UserBlockedEvent) IsNode ¶
func (UserBlockedEvent) IsNode()
func (UserBlockedEvent) IsPullRequestTimelineItem ¶
func (UserBlockedEvent) IsPullRequestTimelineItem()
func (UserBlockedEvent) IsPullRequestTimelineItems ¶
func (UserBlockedEvent) IsPullRequestTimelineItems()
type UserConnection ¶
type UserConnection struct { // A list of edges. Edges []*UserEdge `json:"edges"` // A list of nodes. Nodes []*User `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type UserContentEdit ¶
type UserContentEdit struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the date and time when the object was deleted. DeletedAt *time.Time `json:"deletedAt"` // The actor who deleted this content DeletedBy Actor `json:"deletedBy"` // A summary of the changes for this edit Diff *string `json:"diff"` // When this content was edited EditedAt time.Time `json:"editedAt"` // The actor who edited this content Editor Actor `json:"editor"` ID string `json:"id"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An edit on user content
func (UserContentEdit) GetID ¶ added in v0.11.4
func (this UserContentEdit) GetID() string
ID of the object.
func (UserContentEdit) IsNode ¶
func (UserContentEdit) IsNode()
type UserContentEditConnection ¶
type UserContentEditConnection struct { // A list of edges. Edges []*UserContentEditEdge `json:"edges"` // A list of nodes. Nodes []*UserContentEdit `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
A list of edits to content.
type UserContentEditEdge ¶
type UserContentEditEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *UserContentEdit `json:"node"` }
An edge in a connection.
type UserEdge ¶
type UserEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *User `json:"node"` }
Represents a user.
type UserEmailMetadata ¶
type UserEmailMetadata struct { // Boolean to identify primary emails Primary *bool `json:"primary"` // Type of email Type *string `json:"type"` // Email id Value string `json:"value"` }
Email attributes from External Identity
type UserStatus ¶
type UserStatus struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // An emoji summarizing the user's status. Emoji *string `json:"emoji"` // The status emoji as HTML. EmojiHTML *string `json:"emojiHTML"` // If set, the status will not be shown after this date. ExpiresAt *time.Time `json:"expiresAt"` ID string `json:"id"` // Whether this status indicates the user is not fully available on GitHub. IndicatesLimitedAvailability bool `json:"indicatesLimitedAvailability"` // A brief message describing what the user is doing. Message *string `json:"message"` // The organization whose members can see this status. If null, this status is publicly visible. Organization *Organization `json:"organization"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The user who has this status. User User `json:"user"` }
The user's description of what they're currently doing.
func (UserStatus) IsNode ¶
func (UserStatus) IsNode()
type UserStatusConnection ¶
type UserStatusConnection struct { // A list of edges. Edges []*UserStatusEdge `json:"edges"` // A list of nodes. Nodes []*UserStatus `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for UserStatus.
type UserStatusEdge ¶
type UserStatusEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *UserStatus `json:"node"` }
An edge in a connection.
type UserStatusOrder ¶
type UserStatusOrder struct { // The field to order user statuses by. Field UserStatusOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for user status connections.
type UserStatusOrderField ¶
type UserStatusOrderField string
Properties by which user status connections can be ordered.
const ( // Order user statuses by when they were updated. UserStatusOrderFieldUpdatedAt UserStatusOrderField = "UPDATED_AT" )
func (UserStatusOrderField) IsValid ¶
func (e UserStatusOrderField) IsValid() bool
func (UserStatusOrderField) MarshalGQL ¶
func (e UserStatusOrderField) MarshalGQL(w io.Writer)
func (UserStatusOrderField) String ¶
func (e UserStatusOrderField) String() string
func (*UserStatusOrderField) UnmarshalGQL ¶
func (e *UserStatusOrderField) UnmarshalGQL(v interface{}) error
type VerifiableDomain ¶
type VerifiableDomain struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The DNS host name that should be used for verification. DNSHostName *string `json:"dnsHostName"` // The unicode encoded domain. Domain string `json:"domain"` // Whether a TXT record for verification with the expected host name was found. HasFoundHostName bool `json:"hasFoundHostName"` // Whether a TXT record for verification with the expected verification token was found. HasFoundVerificationToken bool `json:"hasFoundVerificationToken"` ID string `json:"id"` // Whether or not the domain is approved. IsApproved bool `json:"isApproved"` // Whether this domain is required to exist for an organization or enterprise policy to be enforced. IsRequiredForPolicyEnforcement bool `json:"isRequiredForPolicyEnforcement"` // Whether or not the domain is verified. IsVerified bool `json:"isVerified"` // The owner of the domain. Owner VerifiableDomainOwner `json:"owner"` // The punycode encoded domain. PunycodeEncodedDomain string `json:"punycodeEncodedDomain"` // The time that the current verification token will expire. TokenExpirationTime *time.Time `json:"tokenExpirationTime"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The current verification token for the domain. VerificationToken *string `json:"verificationToken"` }
A domain that can be verified or approved for an organization or an enterprise.
func (VerifiableDomain) GetID ¶ added in v0.11.4
func (this VerifiableDomain) GetID() string
ID of the object.
func (VerifiableDomain) IsNode ¶
func (VerifiableDomain) IsNode()
type VerifiableDomainConnection ¶
type VerifiableDomainConnection struct { // A list of edges. Edges []*VerifiableDomainEdge `json:"edges"` // A list of nodes. Nodes []*VerifiableDomain `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for VerifiableDomain.
type VerifiableDomainEdge ¶
type VerifiableDomainEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *VerifiableDomain `json:"node"` }
An edge in a connection.
type VerifiableDomainOrder ¶
type VerifiableDomainOrder struct { // The field to order verifiable domains by. Field VerifiableDomainOrderField `json:"field"` // The ordering direction. Direction OrderDirection `json:"direction"` }
Ordering options for verifiable domain connections.
type VerifiableDomainOrderField ¶
type VerifiableDomainOrderField string
Properties by which verifiable domain connections can be ordered.
const ( // Order verifiable domains by the domain name. VerifiableDomainOrderFieldDomain VerifiableDomainOrderField = "DOMAIN" // Order verifiable domains by their creation date. VerifiableDomainOrderFieldCreatedAt VerifiableDomainOrderField = "CREATED_AT" )
func (VerifiableDomainOrderField) IsValid ¶
func (e VerifiableDomainOrderField) IsValid() bool
func (VerifiableDomainOrderField) MarshalGQL ¶
func (e VerifiableDomainOrderField) MarshalGQL(w io.Writer)
func (VerifiableDomainOrderField) String ¶
func (e VerifiableDomainOrderField) String() string
func (*VerifiableDomainOrderField) UnmarshalGQL ¶
func (e *VerifiableDomainOrderField) UnmarshalGQL(v interface{}) error
type VerifiableDomainOwner ¶
type VerifiableDomainOwner interface {
IsVerifiableDomainOwner()
}
Types that can own a verifiable domain.
type VerifyVerifiableDomainInput ¶
type VerifyVerifiableDomainInput struct { // The ID of the verifiable domain to verify. ID string `json:"id"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of VerifyVerifiableDomain
type VerifyVerifiableDomainPayload ¶
type VerifyVerifiableDomainPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` // The verifiable domain that was verified. Domain *VerifiableDomain `json:"domain"` }
Autogenerated return type of VerifyVerifiableDomain
type ViewerHovercardContext ¶
type ViewerHovercardContext struct { // A string describing this context Message string `json:"message"` // An octicon to accompany this context Octicon string `json:"octicon"` // Identifies the user who is related to this context. Viewer User `json:"viewer"` }
A hovercard context with a message describing how the viewer is related.
func (ViewerHovercardContext) GetMessage ¶ added in v0.11.4
func (this ViewerHovercardContext) GetMessage() string
A string describing this context
func (ViewerHovercardContext) GetOcticon ¶ added in v0.11.4
func (this ViewerHovercardContext) GetOcticon() string
An octicon to accompany this context
func (ViewerHovercardContext) IsHovercardContext ¶
func (ViewerHovercardContext) IsHovercardContext()
type Votable ¶ added in v0.0.3
type Votable interface { IsVotable() // Number of upvotes that this subject has received. GetUpvoteCount() int // Whether or not the current user can add or remove an upvote on this subject. GetViewerCanUpvote() bool // Whether or not the current user has already upvoted this subject. GetViewerHasUpvoted() bool }
A subject that may be upvoted.
type Workflow ¶ added in v0.0.3
type Workflow struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` ID string `json:"id"` // The name of the workflow. Name string `json:"name"` // The runs of the workflow. Runs WorkflowRunConnection `json:"runs"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A workflow contains meta information about an Actions workflow file.
type WorkflowRun ¶ added in v0.0.3
type WorkflowRun struct { // The check suite this workflow run belongs to. CheckSuite CheckSuite `json:"checkSuite"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId"` // The log of deployment reviews DeploymentReviews DeploymentReviewConnection `json:"deploymentReviews"` ID string `json:"id"` // The pending deployment requests of all check runs in this workflow run PendingDeploymentRequests DeploymentRequestConnection `json:"pendingDeploymentRequests"` // The HTTP path for this workflow run ResourcePath string `json:"resourcePath"` // A number that uniquely identifies this workflow run in its parent workflow. RunNumber int `json:"runNumber"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The HTTP URL for this workflow run URL string `json:"url"` // The workflow executed in this workflow run. Workflow Workflow `json:"workflow"` }
A workflow run.
func (WorkflowRun) GetID ¶ added in v0.11.4
func (this WorkflowRun) GetID() string
ID of the object.
func (WorkflowRun) GetResourcePath ¶ added in v0.11.4
func (this WorkflowRun) GetResourcePath() string
The HTML path to this resource.
func (WorkflowRun) GetURL ¶ added in v0.11.4
func (this WorkflowRun) GetURL() string
The URL to this resource.
func (WorkflowRun) IsNode ¶ added in v0.0.3
func (WorkflowRun) IsNode()
func (WorkflowRun) IsUniformResourceLocatable ¶ added in v0.11.4
func (WorkflowRun) IsUniformResourceLocatable()
type WorkflowRunConnection ¶ added in v0.11.4
type WorkflowRunConnection struct { // A list of edges. Edges []*WorkflowRunEdge `json:"edges"` // A list of nodes. Nodes []*WorkflowRun `json:"nodes"` // Information to aid in pagination. PageInfo PageInfo `json:"pageInfo"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for WorkflowRun.
type WorkflowRunEdge ¶ added in v0.11.4
type WorkflowRunEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *WorkflowRun `json:"node"` }
An edge in a connection.
type WorkflowRunOrder ¶ added in v0.11.4
type WorkflowRunOrder struct { // The field by which to order workflows. Field WorkflowRunOrderField `json:"field"` // The direction in which to order workflow runs by the specified field. Direction OrderDirection `json:"direction"` }
Ways in which lists of workflow runs can be ordered upon return.
type WorkflowRunOrderField ¶ added in v0.11.4
type WorkflowRunOrderField string
Properties by which workflow run connections can be ordered.
const ( // Order workflow runs by most recently created WorkflowRunOrderFieldCreatedAt WorkflowRunOrderField = "CREATED_AT" )
func (WorkflowRunOrderField) IsValid ¶ added in v0.11.4
func (e WorkflowRunOrderField) IsValid() bool
func (WorkflowRunOrderField) MarshalGQL ¶ added in v0.11.4
func (e WorkflowRunOrderField) MarshalGQL(w io.Writer)
func (WorkflowRunOrderField) String ¶ added in v0.11.4
func (e WorkflowRunOrderField) String() string
func (*WorkflowRunOrderField) UnmarshalGQL ¶ added in v0.11.4
func (e *WorkflowRunOrderField) UnmarshalGQL(v interface{}) error