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 AddEnterpriseSupportEntitlementInput
- type AddEnterpriseSupportEntitlementPayload
- type AddLabelsToLabelableInput
- type AddLabelsToLabelablePayload
- type AddProjectCardInput
- type AddProjectCardPayload
- type AddProjectColumnInput
- type AddProjectColumnPayload
- type AddProjectNextItemInput
- type AddProjectNextItemPayload
- 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 App
- type ApproveDeploymentsInput
- type ApproveDeploymentsPayload
- type ApproveVerifiableDomainInput
- type ApproveVerifiableDomainPayload
- 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
- 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
- type CheckRunAction
- type CheckRunConnection
- type CheckRunEdge
- type CheckRunFilter
- type CheckRunOutput
- type CheckRunOutputImage
- type CheckRunType
- type CheckStatusState
- type CheckStep
- type CheckStepConnection
- type CheckStepEdge
- type CheckSuite
- type CheckSuiteAutoTriggerPreference
- type CheckSuiteConnection
- type CheckSuiteEdge
- type CheckSuiteFilter
- type ClearLabelsFromLabelableInput
- type ClearLabelsFromLabelablePayload
- 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
- type Closer
- type CodeOfConduct
- type CollaboratorAffiliation
- type Comment
- type CommentAuthorAssociation
- type CommentCannotUpdateReason
- type CommentDeletedEvent
- type Commit
- type CommitAuthor
- type CommitComment
- type CommitCommentConnection
- type CommitCommentEdge
- type CommitCommentThread
- type CommitConnection
- type CommitContributionOrder
- type CommitContributionOrderField
- type CommitContributionsByRepository
- type CommitEdge
- type CommitHistoryConnection
- type CommitMessage
- type CommittableBranch
- 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 CreateBranchProtectionRuleInput
- type CreateBranchProtectionRulePayload
- type CreateCheckRunInput
- type CreateCheckRunPayload
- type CreateCheckSuiteInput
- type CreateCheckSuitePayload
- type CreateCommitOnBranchInput
- type CreateCommitOnBranchPayload
- type CreateDiscussionInput
- type CreateDiscussionPayload
- type CreateEnterpriseOrganizationInput
- type CreateEnterpriseOrganizationPayload
- type CreateEnvironmentInput
- type CreateEnvironmentPayload
- type CreateIPAllowListEntryInput
- type CreateIPAllowListEntryPayload
- type CreateIssueInput
- type CreateIssuePayload
- type CreateMigrationSourceInput
- type CreateMigrationSourcePayload
- type CreateProjectInput
- type CreateProjectPayload
- type CreatePullRequestInput
- type CreatePullRequestPayload
- type CreateRefInput
- type CreateRefPayload
- type CreateRepositoryInput
- type CreateRepositoryPayload
- type CreateSponsorshipInput
- type CreateSponsorshipPayload
- type CreateTeamDiscussionCommentInput
- type CreateTeamDiscussionCommentPayload
- type CreateTeamDiscussionInput
- type CreateTeamDiscussionPayload
- type CreatedCommitContribution
- type CreatedCommitContributionConnection
- type CreatedCommitContributionEdge
- type CreatedIssueContribution
- type CreatedIssueContributionConnection
- type CreatedIssueContributionEdge
- type CreatedIssueOrRestrictedContribution
- type CreatedPullRequestContribution
- type CreatedPullRequestContributionConnection
- type CreatedPullRequestContributionEdge
- type CreatedPullRequestOrRestrictedContribution
- type CreatedPullRequestReviewContribution
- type CreatedPullRequestReviewContributionConnection
- type CreatedPullRequestReviewContributionEdge
- type CreatedRepositoryContribution
- type CreatedRepositoryContributionConnection
- type CreatedRepositoryContributionEdge
- type CreatedRepositoryOrRestrictedContribution
- type CrossReferencedEvent
- 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 DeleteProjectCardInput
- type DeleteProjectCardPayload
- type DeleteProjectColumnInput
- type DeleteProjectColumnPayload
- type DeleteProjectInput
- type DeleteProjectNextItemInput
- type DeleteProjectNextItemPayload
- type DeleteProjectPayload
- 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 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 (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 (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 DismissPullRequestReviewInput
- type DismissPullRequestReviewPayload
- type DismissReason
- type DismissRepositoryVulnerabilityAlertInput
- type DismissRepositoryVulnerabilityAlertPayload
- type DraftPullRequestReviewComment
- type DraftPullRequestReviewThread
- type EnablePullRequestAutoMergeInput
- type EnablePullRequestAutoMergePayload
- type Enterprise
- 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 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 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
- type EnterpriseUserAccountConnection
- type EnterpriseUserAccountEdge
- type EnterpriseUserAccountMembershipRole
- type EnterpriseUserDeployment
- type Environment
- type EnvironmentConnection
- type EnvironmentEdge
- type ExternalIdentity
- type ExternalIdentityConnection
- type ExternalIdentityEdge
- type ExternalIdentitySamlAttributes
- type ExternalIdentityScimAttributes
- type FileAddition
- type FileChanges
- type FileDeletion
- type FileViewedState
- 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
- type GistComment
- 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
- 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 (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) IsProjectNextItemContent()
- func (Issue) IsProjectNextOwner()
- 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 IssueComment
- 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 IssueTemplate
- type IssueTimelineConnection
- type IssueTimelineItem
- type IssueTimelineItemEdge
- type IssueTimelineItems
- type IssueTimelineItemsConnection
- type IssueTimelineItemsEdge
- type IssueTimelineItemsItemType
- type JoinedGitHubContribution
- 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 LinkRepositoryToProjectInput
- type LinkRepositoryToProjectPayload
- type LockLockableInput
- type LockLockablePayload
- type LockReason
- type Lockable
- type LockedEvent
- type Mannequin
- 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 (MembersCanDeleteReposClearAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposClearAuditEntry) IsNode()
- func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData()
- type MembersCanDeleteReposDisableAuditEntry
- func (MembersCanDeleteReposDisableAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposDisableAuditEntry) IsNode()
- func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData()
- type MembersCanDeleteReposEnableAuditEntry
- func (MembersCanDeleteReposEnableAuditEntry) IsAuditEntry()
- func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData()
- func (MembersCanDeleteReposEnableAuditEntry) IsNode()
- func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry()
- func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData()
- type MentionedEvent
- type MergeBranchInput
- type MergeBranchPayload
- type MergePullRequestInput
- type MergePullRequestPayload
- type MergeableState
- type MergedEvent
- type Migration
- type MigrationSource
- type MigrationSourceType
- type MigrationState
- type Milestone
- 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 (OauthApplicationCreateAuditEntry) IsAuditEntry()
- func (OauthApplicationCreateAuditEntry) IsNode()
- func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData()
- func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry()
- func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData()
- type OauthApplicationCreateAuditEntryState
- type OperationType
- type OrderDirection
- type OrgAddBillingManagerAuditEntry
- type OrgAddMemberAuditEntry
- type OrgAddMemberAuditEntryPermission
- type OrgBlockUserAuditEntry
- type OrgConfigDisableCollaboratorsOnlyAuditEntry
- type OrgConfigEnableCollaboratorsOnlyAuditEntry
- type OrgCreateAuditEntry
- type OrgCreateAuditEntryBillingPlan
- type OrgDisableOauthAppRestrictionsAuditEntry
- type OrgDisableSamlAuditEntry
- type OrgDisableTwoFactorRequirementAuditEntry
- type OrgEnableOauthAppRestrictionsAuditEntry
- type OrgEnableSamlAuditEntry
- type OrgEnableTwoFactorRequirementAuditEntry
- type OrgEnterpriseOwnerOrder
- type OrgEnterpriseOwnerOrderField
- type OrgInviteMemberAuditEntry
- type OrgInviteToBusinessAuditEntry
- type OrgOauthAppAccessApprovedAuditEntry
- func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessApprovedAuditEntry) IsNode()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData()
- type OrgOauthAppAccessDeniedAuditEntry
- func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessDeniedAuditEntry) IsNode()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData()
- type OrgOauthAppAccessRequestedAuditEntry
- func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry()
- func (OrgOauthAppAccessRequestedAuditEntry) IsNode()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry()
- func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData()
- type OrgRemoveBillingManagerAuditEntry
- type OrgRemoveBillingManagerAuditEntryReason
- type OrgRemoveMemberAuditEntry
- type OrgRemoveMemberAuditEntryMembershipType
- type OrgRemoveMemberAuditEntryReason
- type OrgRemoveOutsideCollaboratorAuditEntry
- 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
- type OrgRestoreMemberAuditEntryMembership
- type OrgRestoreMemberMembershipOrganizationAuditEntryData
- type OrgRestoreMemberMembershipRepositoryAuditEntryData
- type OrgRestoreMemberMembershipTeamAuditEntryData
- type OrgUnblockUserAuditEntry
- type OrgUpdateDefaultRepositoryPermissionAuditEntry
- 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
- type OrgUpdateMemberAuditEntryPermission
- type OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- 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 (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsAuditEntry()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsNode()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntry()
- func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData()
- type Organization
- func (Organization) IsActor()
- func (Organization) IsAssignee()
- func (Organization) IsAuditEntryActor()
- func (Organization) IsIPAllowListOwner()
- func (Organization) IsMemberStatusable()
- func (Organization) IsNode()
- func (Organization) IsPackageOwner()
- func (Organization) IsPermissionGranter()
- func (Organization) IsProfileOwner()
- func (Organization) IsProjectNextOwner()
- func (Organization) IsProjectOwner()
- 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 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 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 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 (PrivateRepositoryForkingDisableAuditEntry) IsAuditEntry()
- func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (PrivateRepositoryForkingDisableAuditEntry) IsNode()
- func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry()
- func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData()
- func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData()
- type PrivateRepositoryForkingEnableAuditEntry
- 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 ProjectNext
- type ProjectNextConnection
- type ProjectNextEdge
- type ProjectNextField
- type ProjectNextFieldCommon
- type ProjectNextFieldConnection
- type ProjectNextFieldEdge
- type ProjectNextFieldType
- type ProjectNextItem
- type ProjectNextItemConnection
- type ProjectNextItemContent
- type ProjectNextItemEdge
- type ProjectNextItemFieldValue
- type ProjectNextItemFieldValueConnection
- type ProjectNextItemFieldValueEdge
- type ProjectNextOrderField
- type ProjectNextOwner
- type ProjectOrder
- type ProjectOrderField
- type ProjectOwner
- type ProjectProgress
- type ProjectState
- type ProjectTemplate
- type PublicKey
- type PublicKeyConnection
- type PublicKeyEdge
- type PullRequest
- 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) IsProjectNextItemContent()
- func (PullRequest) IsProjectNextOwner()
- 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 (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 (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 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
- 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 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
- type RepoAccessAuditEntryVisibility
- type RepoAddMemberAuditEntry
- type RepoAddMemberAuditEntryVisibility
- type RepoAddTopicAuditEntry
- func (RepoAddTopicAuditEntry) IsAuditEntry()
- func (RepoAddTopicAuditEntry) IsNode()
- func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry()
- func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData()
- func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData()
- func (RepoAddTopicAuditEntry) IsTopicAuditEntryData()
- type RepoArchivedAuditEntry
- type RepoArchivedAuditEntryVisibility
- type RepoChangeMergeSettingAuditEntry
- func (RepoChangeMergeSettingAuditEntry) IsAuditEntry()
- func (RepoChangeMergeSettingAuditEntry) IsNode()
- func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry()
- func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData()
- func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData()
- type RepoChangeMergeSettingAuditEntryMergeType
- type RepoConfigDisableAnonymousGitAccessAuditEntry
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableCollaboratorsOnlyAuditEntry
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsNode()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableContributorsOnlyAuditEntry
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsNode()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigDisableSockpuppetDisallowedAuditEntry
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsAuditEntry()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsNode()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableAnonymousGitAccessAuditEntry
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableCollaboratorsOnlyAuditEntry
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsNode()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableContributorsOnlyAuditEntry
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsAuditEntry()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsNode()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigEnableSockpuppetDisallowedAuditEntry
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsAuditEntry()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsNode()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigLockAnonymousGitAccessAuditEntry
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoConfigUnlockAnonymousGitAccessAuditEntry
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsAuditEntry()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsNode()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()
- func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()
- type RepoCreateAuditEntry
- type RepoCreateAuditEntryVisibility
- type RepoDestroyAuditEntry
- type RepoDestroyAuditEntryVisibility
- type RepoRemoveMemberAuditEntry
- type RepoRemoveMemberAuditEntryVisibility
- type RepoRemoveTopicAuditEntry
- func (RepoRemoveTopicAuditEntry) IsAuditEntry()
- func (RepoRemoveTopicAuditEntry) IsNode()
- func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry()
- func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData()
- func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData()
- func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData()
- type ReportedContentClassifiers
- type Repository
- func (Repository) IsNode()
- func (Repository) IsPackageOwner()
- func (Repository) IsPermissionGranter()
- func (Repository) IsPinnableItem()
- func (Repository) IsProjectOwner()
- func (Repository) IsRepositoryInfo()
- func (Repository) IsSearchResultItem()
- 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
- 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 (RepositoryVisibilityChangeDisableAuditEntry) IsAuditEntry()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsNode()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry()
- func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData()
- type RepositoryVisibilityChangeEnableAuditEntry
- func (RepositoryVisibilityChangeEnableAuditEntry) IsAuditEntry()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsNode()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry()
- func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData()
- type RepositoryVulnerabilityAlert
- type RepositoryVulnerabilityAlertConnection
- type RepositoryVulnerabilityAlertEdge
- type RepositoryVulnerabilityAlertState
- type RequestReviewsInput
- type RequestReviewsPayload
- type RequestableCheckStatusState
- type RequestedReviewer
- type RequirableByPullRequest
- type RequiredStatusCheckDescription
- type RequiredStatusCheckInput
- type RerequestCheckSuiteInput
- type RerequestCheckSuitePayload
- type ResolveReviewThreadInput
- type ResolveReviewThreadPayload
- type RestrictedContribution
- type ReviewDismissalAllowance
- type ReviewDismissalAllowanceActor
- type ReviewDismissalAllowanceConnection
- type ReviewDismissalAllowanceEdge
- type ReviewDismissedEvent
- type ReviewRequest
- type ReviewRequestConnection
- type ReviewRequestEdge
- type ReviewRequestRemovedEvent
- type ReviewRequestedEvent
- type ReviewStatusHovercardContext
- type RevokeEnterpriseOrganizationsMigratorRoleInput
- type RevokeEnterpriseOrganizationsMigratorRolePayload
- type RevokeMigratorRoleInput
- type RevokeMigratorRolePayload
- type RoleInOrganization
- type SamlDigestAlgorithm
- type SamlSignatureAlgorithm
- type SavedReply
- type SavedReplyConnection
- type SavedReplyEdge
- type SavedReplyOrder
- type SavedReplyOrderField
- type SearchResultItem
- type SearchResultItemConnection
- type SearchResultItemEdge
- type SearchType
- type SecurityAdvisory
- 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
- 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 SponsorsGoal
- type SponsorsGoalKind
- type SponsorsListing
- 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 StarOrder
- type StarOrderField
- type StargazerConnection
- type StargazerEdge
- type Starrable
- type StarredRepositoryConnection
- type StarredRepositoryEdge
- type StartRepositoryMigrationInput
- type StartRepositoryMigrationPayload
- type Status
- type StatusCheckRollup
- type StatusCheckRollupContext
- type StatusCheckRollupContextConnection
- type StatusCheckRollupContextEdge
- type StatusContext
- type StatusState
- type SubmitPullRequestReviewInput
- type SubmitPullRequestReviewPayload
- type Submodule
- type SubmoduleConnection
- type SubmoduleEdge
- type Subscribable
- type SubscribedEvent
- type SubscriptionState
- type SuggestedReviewer
- type Tag
- type Team
- 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
- type TeamAddRepositoryAuditEntry
- func (TeamAddRepositoryAuditEntry) IsAuditEntry()
- func (TeamAddRepositoryAuditEntry) IsNode()
- func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry()
- func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData()
- func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData()
- func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData()
- type TeamAuditEntryData
- type TeamChangeParentTeamAuditEntry
- type TeamConnection
- type TeamDiscussion
- 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 (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
- type TeamRemoveRepositoryAuditEntry
- 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 TransferIssueInput
- type TransferIssuePayload
- type TransferredEvent
- type Tree
- type TreeEntry
- type UnarchiveRepositoryInput
- type UnarchiveRepositoryPayload
- type UnassignedEvent
- type UnfollowUserInput
- type UnfollowUserPayload
- type UniformResourceLocatable
- type UnknownSignature
- type UnlabeledEvent
- type UnlinkRepositoryFromProjectInput
- type UnlinkRepositoryFromProjectPayload
- type UnlockLockableInput
- type UnlockLockablePayload
- type UnlockedEvent
- type UnmarkDiscussionCommentAsAnswerInput
- type UnmarkDiscussionCommentAsAnswerPayload
- type UnmarkFileAsViewedInput
- type UnmarkFileAsViewedPayload
- type UnmarkIssueAsDuplicateInput
- type UnmarkIssueAsDuplicatePayload
- type UnmarkedAsDuplicateEvent
- 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 UpdateProjectCardInput
- type UpdateProjectCardPayload
- type UpdateProjectColumnInput
- type UpdateProjectColumnPayload
- type UpdateProjectInput
- type UpdateProjectNextInput
- type UpdateProjectNextItemFieldInput
- type UpdateProjectNextItemFieldPayload
- type UpdateProjectNextPayload
- type UpdateProjectPayload
- type UpdatePullRequestBranchInput
- type UpdatePullRequestBranchPayload
- type UpdatePullRequestInput
- type UpdatePullRequestPayload
- type UpdatePullRequestReviewCommentInput
- type UpdatePullRequestReviewCommentPayload
- type UpdatePullRequestReviewInput
- type UpdatePullRequestReviewPayload
- type UpdateRefInput
- type UpdateRefPayload
- type UpdateRepositoryInput
- type UpdateRepositoryPayload
- type UpdateSponsorshipPreferencesInput
- type UpdateSponsorshipPreferencesPayload
- type UpdateSubscriptionInput
- type UpdateSubscriptionPayload
- type UpdateTeamDiscussionCommentInput
- type UpdateTeamDiscussionCommentPayload
- type UpdateTeamDiscussionInput
- type UpdateTeamDiscussionPayload
- type UpdateTopicsInput
- type UpdateTopicsPayload
- type User
- func (User) IsActor()
- func (User) IsAssignee()
- func (User) IsAuditEntryActor()
- func (User) IsBranchActorAllowanceActor()
- func (User) IsDeploymentReviewer()
- func (User) IsEnterpriseMember()
- func (User) IsNode()
- func (User) IsPackageOwner()
- func (User) IsProfileOwner()
- func (User) IsProjectNextOwner()
- func (User) IsProjectOwner()
- 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) 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
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 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 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, }
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 AllDismissReason = []DismissReason{ DismissReasonFixStarted, DismissReasonNoBandwidth, DismissReasonTolerableRisk, DismissReasonInaccurate, DismissReasonNotUsed, }
var AllEnterpriseAdministratorInvitationOrderField = []EnterpriseAdministratorInvitationOrderField{ EnterpriseAdministratorInvitationOrderFieldCreatedAt, }
var AllEnterpriseAdministratorRole = []EnterpriseAdministratorRole{ EnterpriseAdministratorRoleOwner, EnterpriseAdministratorRoleBillingManager, }
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, }
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 AllIssueCommentOrderField = []IssueCommentOrderField{ IssueCommentOrderFieldUpdatedAt, }
var AllIssueOrderField = []IssueOrderField{ IssueOrderFieldCreatedAt, IssueOrderFieldUpdatedAt, IssueOrderFieldComments, }
var AllIssueState = []IssueState{ IssueStateOpen, IssueStateClosed, }
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 AllMergeableState = []MergeableState{ MergeableStateMergeable, MergeableStateConflicting, MergeableStateUnknown, }
var AllMigrationSourceType = []MigrationSourceType{ MigrationSourceTypeGitlab, MigrationSourceTypeAzureDevops, MigrationSourceTypeBitbucketServer, MigrationSourceTypeGithub, MigrationSourceTypeGithubArchive, }
var AllMigrationState = []MigrationState{ MigrationStateNotStarted, MigrationStateQueued, MigrationStateInProgress, MigrationStateSucceeded, MigrationStateFailed, }
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{ 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 AllOrganizationInvitationType = []OrganizationInvitationType{ OrganizationInvitationTypeUser, OrganizationInvitationTypeEmail, }
var AllOrganizationMemberRole = []OrganizationMemberRole{ OrganizationMemberRoleMember, OrganizationMemberRoleAdmin, }
var AllOrganizationMembersCanCreateRepositoriesSettingValue = []OrganizationMembersCanCreateRepositoriesSettingValue{ OrganizationMembersCanCreateRepositoriesSettingValueAll, OrganizationMembersCanCreateRepositoriesSettingValuePrivate, OrganizationMembersCanCreateRepositoriesSettingValueInternal, OrganizationMembersCanCreateRepositoriesSettingValueDisabled, }
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 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 AllProjectNextFieldType = []ProjectNextFieldType{ ProjectNextFieldTypeAssignees, ProjectNextFieldTypeLinkedPullRequests, ProjectNextFieldTypeReviewers, ProjectNextFieldTypeLabels, ProjectNextFieldTypeMilestone, ProjectNextFieldTypeRepository, ProjectNextFieldTypeTitle, ProjectNextFieldTypeText, ProjectNextFieldTypeSingleSelect, ProjectNextFieldTypeNumber, ProjectNextFieldTypeDate, ProjectNextFieldTypeIteration, }
var AllProjectNextOrderField = []ProjectNextOrderField{ ProjectNextOrderFieldTitle, ProjectNextOrderFieldNumber, ProjectNextOrderFieldUpdatedAt, ProjectNextOrderFieldCreatedAt, }
var AllProjectOrderField = []ProjectOrderField{ ProjectOrderFieldCreatedAt, ProjectOrderFieldUpdatedAt, ProjectOrderFieldName, }
var AllProjectState = []ProjectState{ ProjectStateOpen, ProjectStateClosed, }
var AllProjectTemplate = []ProjectTemplate{ ProjectTemplateBasicKanban, ProjectTemplateAutomatedKanbanV2, ProjectTemplateAutomatedReviewsKanban, ProjectTemplateBugTriage, }
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, }
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 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 AllSecurityAdvisoryEcosystem = []SecurityAdvisoryEcosystem{ SecurityAdvisoryEcosystemComposer, SecurityAdvisoryEcosystemGo, SecurityAdvisoryEcosystemMaven, SecurityAdvisoryEcosystemNpm, SecurityAdvisoryEcosystemNuget, SecurityAdvisoryEcosystemPip, 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 AllSponsorsGoalKind = []SponsorsGoalKind{ SponsorsGoalKindTotalSponsorsCount, SponsorsGoalKindMonthlySponsorshipAmount, }
var AllSponsorsTierOrderField = []SponsorsTierOrderField{ SponsorsTierOrderFieldCreatedAt, SponsorsTierOrderFieldMonthlyPriceInCents, }
var AllSponsorshipNewsletterOrderField = []SponsorshipNewsletterOrderField{ SponsorshipNewsletterOrderFieldCreatedAt, }
var AllSponsorshipOrderField = []SponsorshipOrderField{ SponsorshipOrderFieldCreatedAt, }
var AllSponsorshipPrivacy = []SponsorshipPrivacy{ SponsorshipPrivacyPublic, SponsorshipPrivacyPrivate, }
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 AllUserBlockDuration = []UserBlockDuration{ UserBlockDurationOneDay, UserBlockDurationThreeDays, UserBlockDurationOneWeek, UserBlockDurationOneMonth, UserBlockDurationPermanent, }
var AllUserStatusOrderField = []UserStatusOrderField{ UserStatusOrderFieldUpdatedAt, }
var AllVerifiableDomainOrderField = []VerifiableDomainOrderField{ VerifiableDomainOrderFieldDomain, VerifiableDomainOrderFieldCreatedAt, }
Functions ¶
This section is empty.
Types ¶
type AbortQueuedMigrationsInput ¶ added in v0.0.16
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.16
type AbortQueuedMigrationsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // Did the operation succeed? Success *bool `json:"success,omitempty"` }
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,omitempty"` // The invitation that was accepted. Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"` // A message confirming the result of accepting an administrator invitation. Message *string `json:"message,omitempty"` }
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,omitempty"` // The accepted topic. Topic *Topic `json:"topic,omitempty"` }
Autogenerated return type of AcceptTopicSuggestion
type Actor ¶
type Actor interface {
IsActor()
}
Represents an object which can take actions on GitHub. Typically a User or Bot.
type ActorLocation ¶
type ActorLocation struct { // City City *string `json:"city,omitempty"` // Country name Country *string `json:"country,omitempty"` // Country code CountryCode *string `json:"countryCode,omitempty"` // Region name Region *string `json:"region,omitempty"` // Region or state code RegionCode *string `json:"regionCode,omitempty"` }
Location information for an actor
type ActorType ¶ added in v0.0.16
type ActorType string
The actor's type.
func (ActorType) MarshalGQL ¶ added in v0.0.16
func (*ActorType) UnmarshalGQL ¶ added in v0.0.16
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,omitempty"` // 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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // The edge from the subject's comment connection. CommentEdge *IssueCommentEdge `json:"commentEdge,omitempty"` // The subject Subject Node `json:"subject,omitempty"` // The edge from the subject's timeline connection. TimelineEdge *IssueTimelineItemEdge `json:"timelineEdge,omitempty"` }
Autogenerated return type of AddComment
type AddDiscussionCommentInput ¶ added in v0.0.16
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.16
type AddDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The newly created discussion comment. Comment *DiscussionComment `json:"comment,omitempty"` }
Autogenerated return type of AddDiscussionComment
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,omitempty"` // A message confirming the result of adding the support entitlement. Message *string `json:"message,omitempty"` }
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,omitempty"` // 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,omitempty"` // The item that was labeled. Labelable Labelable `json:"labelable,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The ProjectColumn ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"` }
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,omitempty"` // The edge from the project's column connection. ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"` // The project Project *Project `json:"project,omitempty"` }
Autogenerated return type of AddProjectColumn
type AddProjectNextItemInput ¶ added in v0.0.16
type AddProjectNextItemInput struct { // The ID of the Project to add the item to. ProjectID string `json:"projectId"` // The content id of the item (Issue or PullRequest). ContentID string `json:"contentId"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of AddProjectNextItem
type AddProjectNextItemPayload ¶ added in v0.0.16
type AddProjectNextItemPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The item added to the project. ProjectNextItem *ProjectNextItem `json:"projectNextItem,omitempty"` }
Autogenerated return type of AddProjectNextItem
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,omitempty"` // The newly created comment. Comment *PullRequestReviewComment `json:"comment,omitempty"` // The edge from the review's comment connection. CommentEdge *PullRequestReviewCommentEdge `json:"commentEdge,omitempty"` }
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,omitempty"` // The newly created pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` // The edge from the pull request's review connection. ReviewEdge *PullRequestReviewEdge `json:"reviewEdge,omitempty"` }
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,omitempty"` // The newly created thread. Thread *PullRequestReviewThread `json:"thread,omitempty"` }
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,omitempty"` // The reaction object. Reaction *Reaction `json:"reaction,omitempty"` // The reactable subject. Subject Reactable `json:"subject,omitempty"` }
Autogenerated return type of AddReaction
type AddStar ¶ added in v0.0.16
type AddStar struct {
AddStar *AddStar_AddStar "json:\"addStar\" 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,omitempty"` // The starrable. Starrable Starrable `json:"starrable,omitempty"` }
Autogenerated return type of AddStar
type AddStar_AddStar ¶ added in v0.0.16
type AddStar_AddStar struct {
Starrable *AddStar_AddStar_Starrable "json:\"starrable\" graphql:\"starrable\""
}
type AddStar_AddStar_Starrable ¶ added in v0.0.16
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.16
type AddUpvoteInput ¶ added in v0.0.16
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.16
type AddUpvotePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The votable subject. Subject Votable `json:"subject,omitempty"` }
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,omitempty"` // The verifiable domain that was added. Domain *VerifiableDomain `json:"domain,omitempty"` }
Autogenerated return type of AddVerifiableDomain
type AddedToProjectEvent ¶
type AddedToProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'added_to_project' event on a given issue or pull request.
func (AddedToProjectEvent) IsIssueTimelineItems ¶
func (AddedToProjectEvent) IsIssueTimelineItems()
func (AddedToProjectEvent) IsNode ¶
func (AddedToProjectEvent) IsNode()
func (AddedToProjectEvent) IsPullRequestTimelineItems ¶
func (AddedToProjectEvent) IsPullRequestTimelineItems()
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,omitempty"` // The description of the app. Description *string `json:"description,omitempty"` ID string `json:"id"` // The IP addresses of the app. IPAllowListEntries *IPAllowListEntryConnection `json:"ipAllowListEntries,omitempty"` // 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) IsIPAllowListOwner ¶ added in v0.0.16
func (App) IsIPAllowListOwner()
func (App) IsPushAllowanceActor ¶
func (App) IsPushAllowanceActor()
func (App) IsSearchResultItem ¶
func (App) IsSearchResultItem()
type ApproveDeploymentsInput ¶ added in v0.0.16
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,omitempty"` // 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.16
type ApproveDeploymentsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The affected deployments. Deployments []*Deployment `json:"deployments,omitempty"` }
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,omitempty"` // The verifiable domain that was approved. Domain *VerifiableDomain `json:"domain,omitempty"` }
Autogenerated return type of ApproveVerifiableDomain
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,omitempty"` // The repository that was marked as archived. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of ArchiveRepository
type Assignable ¶
type Assignable interface {
IsAssignable()
}
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,omitempty"` // Identifies the assignable associated with the event. Assignable Assignable `json:"assignable,omitempty"` // Identifies the user or mannequin that was assigned. Assignee Assignee `json:"assignee,omitempty"` // 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,omitempty"` }
Represents an 'assigned' event on any assignable 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 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,omitempty"` // 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,omitempty"` ID string `json:"id"` // PullRequest referenced by event PullRequest *PullRequest `json:"pullRequest,omitempty"` // The reason auto-merge was disabled Reason *string `json:"reason,omitempty"` // The reason_code relating to why auto-merge was disabled ReasonCode *string `json:"reasonCode,omitempty"` }
Represents a 'auto_merge_disabled' event on a given pull request.
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,omitempty"` // 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,omitempty"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Represents a 'auto_merge_enabled' event on a given pull request.
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,omitempty"` // The commit message of the auto-merge request. CommitBody *string `json:"commitBody,omitempty"` // The commit title of the auto-merge request. CommitHeadline *string `json:"commitHeadline,omitempty"` // When was this auto-merge request was enabled. EnabledAt *time.Time `json:"enabledAt,omitempty"` // The actor who created the auto-merge request. EnabledBy Actor `json:"enabledBy,omitempty"` // The merge method of the auto-merge request. MergeMethod PullRequestMergeMethod `json:"mergeMethod"` // The pull request that this auto-merge request is set against. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // 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,omitempty"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Represents a 'auto_rebase_enabled' event on a given pull request.
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,omitempty"` // 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,omitempty"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Represents a 'auto_squash_enabled' event on a given pull request.
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,omitempty"` // 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,omitempty"` }
Represents a 'automatic_base_change_failed' event on a given pull request.
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,omitempty"` // 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,omitempty"` }
Represents a 'automatic_base_change_succeeded' event on a given pull request.
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,omitempty"` // 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,omitempty"` 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,omitempty"` }
Represents a 'base_ref_changed' event on a given issue or pull request.
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,omitempty"` // Identifies the name of the Ref associated with the `base_ref_deleted` event. BaseRefName *string `json:"baseRefName,omitempty"` // 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,omitempty"` }
Represents a 'base_ref_deleted' event on a given pull request.
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,omitempty"` // Identifies the after commit SHA for the 'base_ref_force_pushed' event. AfterCommit *Commit `json:"afterCommit,omitempty"` // Identifies the before commit SHA for the 'base_ref_force_pushed' event. BeforeCommit *Commit `json:"beforeCommit,omitempty"` // 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,omitempty"` // Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. Ref *Ref `json:"ref,omitempty"` }
Represents a 'base_ref_force_pushed' event on a given pull request.
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,omitempty"` }
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,omitempty"` // 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,omitempty"` // 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,omitempty"` // UTF8 text data or null if the Blob is binary Text *string `json:"text,omitempty"` }
Represents a Git blob.
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,omitempty"` 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) IsAssignee ¶
func (Bot) IsAssignee()
func (Bot) IsAuditEntryActor ¶
func (Bot) IsAuditEntryActor()
func (Bot) IsUniformResourceLocatable ¶
func (Bot) IsUniformResourceLocatable()
type BranchActorAllowanceActor ¶ added in v0.0.16
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"` // A list of conflicts matching branches protection rule and other branch protection rules BranchProtectionRuleConflicts *BranchProtectionRuleConflictConnection `json:"branchProtectionRuleConflicts,omitempty"` // A list of actors able to force push for this branch protection rule. BypassForcePushAllowances *BypassForcePushAllowanceConnection `json:"bypassForcePushAllowances,omitempty"` // A list of actors able to bypass PRs for this branch protection rule. BypassPullRequestAllowances *BypassPullRequestAllowanceConnection `json:"bypassPullRequestAllowances,omitempty"` // The actor who created this branch protection rule. Creator Actor `json:"creator,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // 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"` // Repository refs that are protected by this rule MatchingRefs *RefConnection `json:"matchingRefs,omitempty"` // Identifies the protection rule pattern. Pattern string `json:"pattern"` // A list push allowances for this branch protection rule. PushAllowances *PushAllowanceConnection `json:"pushAllowances,omitempty"` // The repository associated with this branch protection rule. Repository *Repository `json:"repository,omitempty"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts,omitempty"` // List of required status checks that must pass for commits to be accepted to matching branches. RequiredStatusChecks []*RequiredStatusCheckDescription `json:"requiredStatusChecks,omitempty"` // 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,omitempty"` }
A branch protection rule.
func (BranchProtectionRule) IsNode ¶
func (BranchProtectionRule) IsNode()
type BranchProtectionRuleConflict ¶
type BranchProtectionRuleConflict struct { // Identifies the branch protection rule. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` // Identifies the conflicting branch protection rule. ConflictingBranchProtectionRule *BranchProtectionRule `json:"conflictingBranchProtectionRule,omitempty"` // Identifies the branch ref that has conflicting rules Ref *Ref `json:"ref,omitempty"` }
A conflict between two branch protection rules.
type BranchProtectionRuleConflictConnection ¶
type BranchProtectionRuleConflictConnection struct { // A list of edges. Edges []*BranchProtectionRuleConflictEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*BranchProtectionRuleConflict `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type BranchProtectionRuleConnection ¶
type BranchProtectionRuleConnection struct { // A list of edges. Edges []*BranchProtectionRuleEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*BranchProtectionRule `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type BypassForcePushAllowance ¶ added in v0.0.16
type BypassForcePushAllowance struct { // The actor that can dismiss. Actor BranchActorAllowanceActor `json:"actor,omitempty"` // Identifies the branch protection rule associated with the allowed user or team. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` ID string `json:"id"` }
A team or user who has the ability to bypass a force push requirement on a protected branch.
func (BypassForcePushAllowance) IsNode ¶ added in v0.0.16
func (BypassForcePushAllowance) IsNode()
type BypassForcePushAllowanceConnection ¶ added in v0.0.16
type BypassForcePushAllowanceConnection struct { // A list of edges. Edges []*BypassForcePushAllowanceEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*BypassForcePushAllowance `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BypassForcePushAllowance.
type BypassForcePushAllowanceEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type BypassPullRequestAllowance ¶ added in v0.0.16
type BypassPullRequestAllowance struct { // The actor that can dismiss. Actor BranchActorAllowanceActor `json:"actor,omitempty"` // Identifies the branch protection rule associated with the allowed user or team. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` ID string `json:"id"` }
A team or user who has the ability to bypass a pull request requirement on a protected branch.
func (BypassPullRequestAllowance) IsNode ¶ added in v0.0.16
func (BypassPullRequestAllowance) IsNode()
type BypassPullRequestAllowanceConnection ¶ added in v0.0.16
type BypassPullRequestAllowanceConnection struct { // A list of edges. Edges []*BypassPullRequestAllowanceEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*BypassPullRequestAllowance `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for BypassPullRequestAllowance.
type BypassPullRequestAllowanceEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type CWEConnection ¶
type CWEConnection struct { // A list of edges. Edges []*CWEEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Cwe `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The invitation that was canceled. Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"` // A message confirming the result of canceling an administrator invitation. Message *string `json:"message,omitempty"` }
Autogenerated return type of CancelEnterpriseAdminInvitation
type CancelSponsorshipInput ¶ added in v0.0.16
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.16
type CancelSponsorshipPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The tier that was being used at the time of cancellation. SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"` }
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,omitempty"` // Your updated status. Status *UserStatus `json:"status,omitempty"` }
Autogenerated return type of ChangeUserStatus
type CheckAnnotation ¶
type CheckAnnotation struct { // The annotation's severity level. AnnotationLevel *CheckAnnotationLevel `json:"annotationLevel,omitempty"` // 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,omitempty"` // The position of this annotation. Location *CheckAnnotationSpan `json:"location,omitempty"` // 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,omitempty"` // The annotation's title Title *string `json:"title,omitempty"` }
A single check annotation.
type CheckAnnotationConnection ¶
type CheckAnnotationConnection struct { // A list of edges. Edges []*CheckAnnotationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*CheckAnnotation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` // Start position (inclusive). Start *CheckAnnotationPosition `json:"start,omitempty"` }
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,omitempty"` // The check suite that this run is a part of. CheckSuite *CheckSuite `json:"checkSuite,omitempty"` // Identifies the date and time when the check run was completed. CompletedAt *time.Time `json:"completedAt,omitempty"` // The conclusion of the check run. Conclusion *CheckConclusionState `json:"conclusion,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // The corresponding deployment for this job, if any Deployment *Deployment `json:"deployment,omitempty"` // The URL from which to find full details of the check run on the integrator's site. DetailsURL *string `json:"detailsUrl,omitempty"` // A reference for the check run on the integrator's system. ExternalID *string `json:"externalId,omitempty"` 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,omitempty"` // The permalink to the check run summary. Permalink string `json:"permalink"` // The repository associated with this check run. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // The current status of the check run. Status CheckStatusState `json:"status"` // The check run's steps Steps *CheckStepConnection `json:"steps,omitempty"` // A string representing the check run's summary Summary *string `json:"summary,omitempty"` // A string representing the check run's text Text *string `json:"text,omitempty"` // A string representing the check run Title *string `json:"title,omitempty"` // The HTTP URL for this check run. URL string `json:"url"` }
A check run.
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,omitempty"` // A list of nodes. Nodes []*CheckRun `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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. Status *CheckStatusState `json:"status,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 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.16
type CheckStep struct { // Identifies the date and time when the check step was completed. CompletedAt *time.Time `json:"completedAt,omitempty"` // The conclusion of the check step. Conclusion *CheckConclusionState `json:"conclusion,omitempty"` // A reference for the check step on the integrator's system. ExternalID *string `json:"externalId,omitempty"` // 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,omitempty"` // Identifies the date and time when the check step was started. StartedAt *time.Time `json:"startedAt,omitempty"` // The current status of the check step. Status CheckStatusState `json:"status"` }
A single check step.
type CheckStepConnection ¶ added in v0.0.16
type CheckStepConnection struct { // A list of edges. Edges []*CheckStepEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*CheckStep `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for CheckStep.
type CheckStepEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type CheckSuite ¶
type CheckSuite struct { // The GitHub App which created this check suite. App *App `json:"app,omitempty"` // The name of the branch for this check suite. Branch *Ref `json:"branch,omitempty"` // The check runs associated with a check suite. CheckRuns *CheckRunConnection `json:"checkRuns,omitempty"` // The commit for this check suite Commit *Commit `json:"commit,omitempty"` // The conclusion of this check suite. Conclusion *CheckConclusionState `json:"conclusion,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` ID string `json:"id"` // A list of open pull requests matching the check suite. MatchingPullRequests *PullRequestConnection `json:"matchingPullRequests,omitempty"` // The push that triggered this check suite. Push *Push `json:"push,omitempty"` // The repository associated with this check suite. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*CheckSuite `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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 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,omitempty"` // The item that was unlabeled. Labelable Labelable `json:"labelable,omitempty"` }
Autogenerated return type of ClearLabelsFromLabelable
type Client ¶
func (*Client) AddStar ¶ added in v0.0.16
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,omitempty"` // The id of the JobStatus for populating cloned fields. JobStatusID *string `json:"jobStatusId,omitempty"` // The new cloned project. Project *Project `json:"project,omitempty"` }
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,omitempty"` // The new repository. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of CloneTemplateRepository
type CloseIssueInput ¶
type CloseIssueInput struct { // ID of the issue to be closed. IssueID string `json:"issueId"` // 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,omitempty"` // The issue that was closed. Issue *Issue `json:"issue,omitempty"` }
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,omitempty"` // The pull request that was closed. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of ClosePullRequest
type ClosedEvent ¶
type ClosedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // Object that was closed. Closable Closable `json:"closable,omitempty"` // Object which triggered the creation of this event. Closer Closer `json:"closer,omitempty"` // 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 HTTP URL for this closed event. URL string `json:"url"` }
Represents a 'closed' event on any `Closable`.
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,omitempty"` 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,omitempty"` // The HTTP URL for this Code of Conduct URL *string `json:"url,omitempty"` }
The Code of Conduct for a repository
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 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,omitempty"` // 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,omitempty"` // The user who authored the deleted comment. DeletedCommentAuthor Actor `json:"deletedCommentAuthor,omitempty"` ID string `json:"id"` }
Represents a 'comment_deleted' event on a given issue or pull request.
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,omitempty"` // Authorship details of the commit. Author *GitActor `json:"author,omitempty"` // 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,omitempty"` // Fetches `git blame` information. Blame *Blame `json:"blame,omitempty"` // The number of changed files in this commit. ChangedFiles int `json:"changedFiles"` // The check suites associated with a commit. CheckSuites *CheckSuiteConnection `json:"checkSuites,omitempty"` // Comments made on the commit. Comments *CommitCommentConnection `json:"comments,omitempty"` // 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,omitempty"` // The number of deletions in this commit. Deletions int `json:"deletions"` // The deployments associated with a commit. Deployments *DeploymentConnection `json:"deployments,omitempty"` // The tree entry representing the file located at the given path. File *TreeEntry `json:"file,omitempty"` // The linear commit history starting from (and including) this commit, in the same order as `git log`. History *CommitHistoryConnection `json:"history,omitempty"` 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,omitempty"` // The parents of a commit. Parents *CommitConnection `json:"parents,omitempty"` // The datetime when this commit was pushed. PushedDate *time.Time `json:"pushedDate,omitempty"` // The Repository this commit belongs to Repository *Repository `json:"repository,omitempty"` // The HTTP path for this commit ResourcePath string `json:"resourcePath"` // Commit signing information, if present. Signature GitSignature `json:"signature,omitempty"` // Status information for this commit Status *Status `json:"status,omitempty"` // Check and Status rollup information for this commit. StatusCheckRollup *StatusCheckRollup `json:"statusCheckRollup,omitempty"` // Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. Submodules *SubmoduleConnection `json:"submodules,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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) 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // Returns why the comment was minimized. MinimizedReason *string `json:"minimizedReason,omitempty"` // Identifies the file path associated with the comment. Path *string `json:"path,omitempty"` // Identifies the line position associated with the comment. Position *int `json:"position,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on a given Commit.
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,omitempty"` // A list of nodes. Nodes []*CommitComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type CommitCommentThread ¶
type CommitCommentThread struct { // The comments that exist in this thread. Comments *CommitCommentConnection `json:"comments,omitempty"` // The commit the comments were made on. Commit *Commit `json:"commit,omitempty"` ID string `json:"id"` // The file the comments were made on. Path *string `json:"path,omitempty"` // The position in the diff for the commit that the comment was made on. Position *int `json:"position,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` }
A thread of comments on a commit.
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,omitempty"` // A list of nodes. Nodes []*Commit `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The repository in which the commits were made. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` }
An edge in a connection.
type CommitHistoryConnection ¶
type CommitHistoryConnection struct { // A list of edges. Edges []*CommitEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Commit `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Commit.
type CommitMessage ¶ added in v0.0.16
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.16
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 repository nameWithOwner and branch name.
### Examples
Specify a branch using a global node ID:
{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }
Specify a branch using nameWithOwner and branch name:
{ "nameWithOwner": "github/graphql-client", "branchName": "main" }
type ConnectedEvent ¶
type ConnectedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Issue or pull request which was connected. Subject ReferencedSubject `json:"subject,omitempty"` }
Represents a 'connected' event on a given issue or pull request.
func (ConnectedEvent) IsIssueTimelineItems ¶
func (ConnectedEvent) IsIssueTimelineItems()
func (ConnectedEvent) IsNode ¶
func (ConnectedEvent) IsNode()
func (ConnectedEvent) IsPullRequestTimelineItems ¶
func (ConnectedEvent) IsPullRequestTimelineItems()
type Contribution ¶
type Contribution interface {
IsContribution()
}
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,omitempty"` // 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,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` // A calendar of this user's contributions on GitHub. ContributionCalendar *ContributionCalendar `json:"contributionCalendar,omitempty"` // The years the user has been making contributions with the most recent year first. ContributionYears []int `json:"contributionYears,omitempty"` // 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,omitempty"` // 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,omitempty"` // The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. FirstPullRequestContribution CreatedPullRequestOrRestrictedContribution `json:"firstPullRequestContribution,omitempty"` // The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned. FirstRepositoryContribution CreatedRepositoryOrRestrictedContribution `json:"firstRepositoryContribution,omitempty"` // 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,omitempty"` // Issue contributions made by the user, grouped by repository. IssueContributionsByRepository []*IssueContributionsByRepository `json:"issueContributionsByRepository,omitempty"` // When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false. JoinedGitHubContribution *JoinedGitHubContribution `json:"joinedGitHubContribution,omitempty"` // 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,omitempty"` // When this collection's time range does not include any activity from the user, use this // to get a different collection from an earlier time range that does have activity. // MostRecentCollectionWithActivity *ContributionsCollection `json:"mostRecentCollectionWithActivity,omitempty"` // Returns a different contributions collection from an earlier time range than this one // that does not have any contributions. // MostRecentCollectionWithoutActivity *ContributionsCollection `json:"mostRecentCollectionWithoutActivity,omitempty"` // The issue the user opened on GitHub that received the most comments in the specified // time frame. // PopularIssueContribution *CreatedIssueContribution `json:"popularIssueContribution,omitempty"` // The pull request the user opened on GitHub that received the most comments in the // specified time frame. // PopularPullRequestContribution *CreatedPullRequestContribution `json:"popularPullRequestContribution,omitempty"` // Pull request contributions made by the user. PullRequestContributions *CreatedPullRequestContributionConnection `json:"pullRequestContributions,omitempty"` // Pull request contributions made by the user, grouped by repository. PullRequestContributionsByRepository []*PullRequestContributionsByRepository `json:"pullRequestContributionsByRepository,omitempty"` // Pull request review contributions made by the user. PullRequestReviewContributions *CreatedPullRequestReviewContributionConnection `json:"pullRequestReviewContributions,omitempty"` // Pull request review contributions made by the user, grouped by repository. PullRequestReviewContributionsByRepository []*PullRequestReviewContributionsByRepository `json:"pullRequestReviewContributionsByRepository,omitempty"` // A list of repositories owned by the user that the user created in this time range. RepositoryContributions *CreatedRepositoryContributionConnection `json:"repositoryContributions,omitempty"` // 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,omitempty"` }
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,omitempty"` // The updated ProjectCard. ProjectCard *ProjectCard `json:"projectCard,omitempty"` }
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,omitempty"` // The pull request that is now a draft. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of ConvertPullRequestToDraft
type ConvertToDraftEvent ¶
type ConvertToDraftEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // 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) 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,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'converted_note_to_issue' event on a given issue or pull request.
func (ConvertedNoteToIssueEvent) IsIssueTimelineItems ¶
func (ConvertedNoteToIssueEvent) IsIssueTimelineItems()
func (ConvertedNoteToIssueEvent) IsNode ¶
func (ConvertedNoteToIssueEvent) IsNode()
func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems ¶
func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems()
type ConvertedToDiscussionEvent ¶ added in v0.0.16
type ConvertedToDiscussionEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'converted_to_discussion' event on a given issue.
func (ConvertedToDiscussionEvent) IsIssueTimelineItems ¶ added in v0.0.16
func (ConvertedToDiscussionEvent) IsIssueTimelineItems()
func (ConvertedToDiscussionEvent) IsNode ¶ added in v0.0.16
func (ConvertedToDiscussionEvent) IsNode()
func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems ¶ added in v0.0.16
func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems()
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"` // 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 or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"` // A list of User or Team IDs allowed to bypass pull requests targeting matching branches. BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"` // A list of User or Team 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"` // 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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated return type of CreateCheckSuite
type CreateCommitOnBranchInput ¶ added in v0.0.16
type CreateCommitOnBranchInput struct { // The Ref to be updated. Must be a branch. Branch *CommittableBranch `json:"branch,omitempty"` // 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,omitempty"` // 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.16
type CreateCommitOnBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The new commit. Commit *Commit `json:"commit,omitempty"` // The ref which has been updated to point to the new commit. Ref *Ref `json:"ref,omitempty"` }
Autogenerated return type of CreateCommitOnBranch
type CreateDiscussionInput ¶ added in v0.0.16
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.16
type CreateDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The discussion that was just created. Discussion *Discussion `json:"discussion,omitempty"` }
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,omitempty"` // 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,omitempty"` // The enterprise that owns the created organization. Enterprise *Enterprise `json:"enterprise,omitempty"` // The organization that was created. Organization *Organization `json:"organization,omitempty"` }
Autogenerated return type of CreateEnterpriseOrganization
type CreateEnvironmentInput ¶ added in v0.0.16
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.16
type CreateEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The new or existing environment. Environment *Environment `json:"environment,omitempty"` }
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,omitempty"` // The IP allow list entry that was created. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"` }
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,omitempty"` // The new issue. Issue *Issue `json:"issue,omitempty"` }
Autogenerated return type of CreateIssue
type CreateMigrationSourceInput ¶ added in v0.0.16
type CreateMigrationSourceInput struct { // The Octoshift migration source name. Name string `json:"name"` // The Octoshift migration source URL. URL string `json:"url"` // The Octoshift migration source access token. AccessToken string `json:"accessToken"` // The Octoshift migration source type. Type MigrationSourceType `json:"type"` // The ID of the organization that will own the Octoshift 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.16
type CreateMigrationSourcePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The created Octoshift migration source. MigrationSource *MigrationSource `json:"migrationSource,omitempty"` }
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,omitempty"` // The new project. Project *Project `json:"project,omitempty"` }
Autogenerated return type of CreateProject
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 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,omitempty"` // The new pull request. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // The newly created ref. Ref *Ref `json:"ref,omitempty"` }
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,omitempty"` // The new repository. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of CreateRepository
type CreateSponsorshipInput ¶ added in v0.0.16
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.16
type CreateSponsorshipPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The sponsorship that was started. Sponsorship *Sponsorship `json:"sponsorship,omitempty"` }
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,omitempty"` // The new comment. TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"` }
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,omitempty"` // The new discussion. TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Represents the contribution a user made by committing to a repository.
func (CreatedCommitContribution) IsContribution ¶
func (CreatedCommitContribution) IsContribution()
type CreatedCommitContributionConnection ¶
type CreatedCommitContributionConnection struct { // A list of edges. Edges []*CreatedCommitContributionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*CreatedCommitContribution `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Represents the contribution a user made on GitHub by opening an issue.
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,omitempty"` // A list of nodes. Nodes []*CreatedIssueContribution `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Represents the contribution a user made on GitHub by opening a pull request.
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,omitempty"` // A list of nodes. Nodes []*CreatedPullRequestContribution `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The review the user left on the pull request. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` // The repository containing the pull request that the user reviewed. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` }
Represents the contribution a user made by leaving a review on a pull request.
func (CreatedPullRequestReviewContribution) IsContribution ¶
func (CreatedPullRequestReviewContribution) IsContribution()
type CreatedPullRequestReviewContributionConnection ¶
type CreatedPullRequestReviewContributionConnection struct { // A list of edges. Edges []*CreatedPullRequestReviewContributionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*CreatedPullRequestReviewContribution `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Represents the contribution a user made on GitHub by creating a repository.
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,omitempty"` // A list of nodes. Nodes []*CreatedRepositoryContribution `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` // Issue or pull request to which the reference was made. Target ReferencedSubject `json:"target,omitempty"` // 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) 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,omitempty"` }
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,omitempty"` // The declined topic. Topic *Topic `json:"topic,omitempty"` }
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 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,omitempty"` }
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,omitempty"` }
Autogenerated return type of DeleteDeployment
type DeleteDiscussionCommentInput ¶ added in v0.0.16
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.16
type DeleteDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The discussion comment that was just deleted. Comment *DiscussionComment `json:"comment,omitempty"` }
Autogenerated return type of DeleteDiscussionComment
type DeleteDiscussionInput ¶ added in v0.0.16
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.16
type DeleteDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The discussion that was just deleted. Discussion *Discussion `json:"discussion,omitempty"` }
Autogenerated return type of DeleteDiscussion
type DeleteEnvironmentInput ¶ added in v0.0.16
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.16
type DeleteEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // The IP allow list entry that was deleted. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"` }
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,omitempty"` }
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,omitempty"` // The repository the issue belonged to Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of DeleteIssue
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,omitempty"` // The column the deleted card was in. Column *ProjectColumn `json:"column,omitempty"` // The deleted card ID. DeletedCardID *string `json:"deletedCardId,omitempty"` }
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,omitempty"` // The deleted column ID. DeletedColumnID *string `json:"deletedColumnId,omitempty"` // The project the deleted column was in. Project *Project `json:"project,omitempty"` }
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 DeleteProjectNextItemInput ¶ added in v0.0.16
type DeleteProjectNextItemInput 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 DeleteProjectNextItem
type DeleteProjectNextItemPayload ¶ added in v0.0.16
type DeleteProjectNextItemPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The ID of the deleted item. DeletedItemID *string `json:"deletedItemId,omitempty"` }
Autogenerated return type of DeleteProjectNextItem
type DeleteProjectPayload ¶
type DeleteProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The repository or organization the project was removed from. Owner ProjectOwner `json:"owner,omitempty"` }
Autogenerated return type of DeleteProject
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,omitempty"` // The pull request review the deleted comment belonged to. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` }
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,omitempty"` // The deleted pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` }
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,omitempty"` }
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,omitempty"` }
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,omitempty"` }
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,omitempty"` // The owning account from which the domain was deleted. Owner VerifiableDomainOwner `json:"owner,omitempty"` }
Autogenerated return type of DeleteVerifiableDomain
type DemilestonedEvent ¶
type DemilestonedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` }
Represents a 'demilestoned' event on a given issue or pull request.
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 DependencyGraphEcosystem ¶ added in v0.0.16
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" )
func (DependencyGraphEcosystem) IsValid ¶ added in v0.0.16
func (e DependencyGraphEcosystem) IsValid() bool
func (DependencyGraphEcosystem) MarshalGQL ¶ added in v0.0.16
func (e DependencyGraphEcosystem) MarshalGQL(w io.Writer)
func (DependencyGraphEcosystem) String ¶ added in v0.0.16
func (e DependencyGraphEcosystem) String() string
func (*DependencyGraphEcosystem) UnmarshalGQL ¶ added in v0.0.16
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,omitempty"` // A list of nodes. Nodes []*DeployKey `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type DeployedEvent ¶
type DeployedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // The deployment associated with the 'deployed' event. Deployment *Deployment `json:"deployment,omitempty"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` // The ref associated with the 'deployed' event. Ref *Ref `json:"ref,omitempty"` }
Represents a 'deployed' event on a given pull request.
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,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // The deployment description. Description *string `json:"description,omitempty"` // The latest environment to which this deployment was made. Environment *string `json:"environment,omitempty"` ID string `json:"id"` // The latest environment to which this deployment was made. LatestEnvironment *string `json:"latestEnvironment,omitempty"` // The latest status of this deployment. LatestStatus *DeploymentStatus `json:"latestStatus,omitempty"` // The original environment to which this deployment was made. OriginalEnvironment *string `json:"originalEnvironment,omitempty"` // Extra information that a deployment system might need. Payload *string `json:"payload,omitempty"` // Identifies the Ref of the deployment, if the deployment was created by ref. Ref *Ref `json:"ref,omitempty"` // Identifies the repository associated with the deployment. Repository *Repository `json:"repository,omitempty"` // The current state of the deployment. State *DeploymentState `json:"state,omitempty"` // A list of statuses associated with the deployment. Statuses *DeploymentStatusConnection `json:"statuses,omitempty"` // The deployment task. Task *string `json:"task,omitempty"` // 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,omitempty"` // A list of nodes. Nodes []*Deployment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type DeploymentEnvironmentChangedEvent ¶
type DeploymentEnvironmentChangedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` ID string `json:"id"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Represents a 'deployment_environment_changed' event on a given pull request.
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.16
type DeploymentProtectionRule struct { // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // The teams or users that can review the deployment Reviewers *DeploymentReviewerConnection `json:"reviewers,omitempty"` // 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.16
type DeploymentProtectionRuleConnection struct { // A list of edges. Edges []*DeploymentProtectionRuleEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DeploymentProtectionRule `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentProtectionRule.
type DeploymentProtectionRuleEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DeploymentProtectionRuleType ¶ added in v0.0.16
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.16
func (e DeploymentProtectionRuleType) IsValid() bool
func (DeploymentProtectionRuleType) MarshalGQL ¶ added in v0.0.16
func (e DeploymentProtectionRuleType) MarshalGQL(w io.Writer)
func (DeploymentProtectionRuleType) String ¶ added in v0.0.16
func (e DeploymentProtectionRuleType) String() string
func (*DeploymentProtectionRuleType) UnmarshalGQL ¶ added in v0.0.16
func (e *DeploymentProtectionRuleType) UnmarshalGQL(v interface{}) error
type DeploymentRequest ¶ added in v0.0.16
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,omitempty"` // The teams or users that can review the deployment Reviewers *DeploymentReviewerConnection `json:"reviewers,omitempty"` // 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,omitempty"` }
A request to deploy a workflow run to an environment.
type DeploymentRequestConnection ¶ added in v0.0.16
type DeploymentRequestConnection struct { // A list of edges. Edges []*DeploymentRequestEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DeploymentRequest `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentRequest.
type DeploymentRequestEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DeploymentReview ¶ added in v0.0.16
type DeploymentReview struct { // The comment the user left. Comment string `json:"comment"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // The environments approved or rejected Environments *EnvironmentConnection `json:"environments,omitempty"` ID string `json:"id"` // The decision of the user. State DeploymentReviewState `json:"state"` // The user that reviewed the deployment. User *User `json:"user,omitempty"` }
A deployment review.
func (DeploymentReview) IsNode ¶ added in v0.0.16
func (DeploymentReview) IsNode()
type DeploymentReviewConnection ¶ added in v0.0.16
type DeploymentReviewConnection struct { // A list of edges. Edges []*DeploymentReviewEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DeploymentReview `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentReview.
type DeploymentReviewEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DeploymentReviewState ¶ added in v0.0.16
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.16
func (e DeploymentReviewState) IsValid() bool
func (DeploymentReviewState) MarshalGQL ¶ added in v0.0.16
func (e DeploymentReviewState) MarshalGQL(w io.Writer)
func (DeploymentReviewState) String ¶ added in v0.0.16
func (e DeploymentReviewState) String() string
func (*DeploymentReviewState) UnmarshalGQL ¶ added in v0.0.16
func (e *DeploymentReviewState) UnmarshalGQL(v interface{}) error
type DeploymentReviewer ¶ added in v0.0.16
type DeploymentReviewer interface {
IsDeploymentReviewer()
}
Users and teams.
type DeploymentReviewerConnection ¶ added in v0.0.16
type DeploymentReviewerConnection struct { // A list of edges. Edges []*DeploymentReviewerEdge `json:"edges,omitempty"` // A list of nodes. Nodes []DeploymentReviewer `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DeploymentReviewer.
type DeploymentReviewerEdge ¶ added in v0.0.16
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,omitempty"` }
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,omitempty"` // Identifies the deployment associated with status. Deployment *Deployment `json:"deployment,omitempty"` // Identifies the description of the deployment. Description *string `json:"description,omitempty"` // Identifies the environment URL of the deployment. EnvironmentURL *string `json:"environmentUrl,omitempty"` ID string `json:"id"` // Identifies the log URL of the deployment. LogURL *string `json:"logUrl,omitempty"` // 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) IsNode ¶
func (DeploymentStatus) IsNode()
type DeploymentStatusConnection ¶
type DeploymentStatusConnection struct { // A list of edges. Edges []*DeploymentStatusEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DeploymentStatus `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The pull request auto merge was disabled on. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of DisablePullRequestAutoMerge
type DisconnectedEvent ¶
type DisconnectedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Issue or pull request which was disconnected. Subject ReferencedSubject `json:"subject,omitempty"` }
Represents a 'disconnected' event on a given issue or pull request.
func (DisconnectedEvent) IsIssueTimelineItems ¶
func (DisconnectedEvent) IsIssueTimelineItems()
func (DisconnectedEvent) IsNode ¶
func (DisconnectedEvent) IsNode()
func (DisconnectedEvent) IsPullRequestTimelineItems ¶
func (DisconnectedEvent) IsPullRequestTimelineItems()
type Discussion ¶ added in v0.0.16
type Discussion struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason,omitempty"` // The comment chosen as this discussion's answer, if any. Answer *DiscussionComment `json:"answer,omitempty"` // The time when a user chose this discussion's answer, if answered. AnswerChosenAt *time.Time `json:"answerChosenAt,omitempty"` // The user who chose this discussion's answer, if answered. AnswerChosenBy Actor `json:"answerChosenBy,omitempty"` // The actor who authored the comment. Author Actor `json:"author,omitempty"` // 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,omitempty"` // The replies to the discussion. Comments *DiscussionCommentConnection `json:"comments,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt,omitempty"` // `true` if the object is locked Locked bool `json:"locked"` // The number identifying this discussion within the repository. Number int `json:"number"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` }
A discussion in a repository.
func (Discussion) IsComment ¶ added in v0.0.16
func (Discussion) IsComment()
func (Discussion) IsDeletable ¶ added in v0.0.16
func (Discussion) IsDeletable()
func (Discussion) IsLabelable ¶ added in v0.0.16
func (Discussion) IsLabelable()
func (Discussion) IsLockable ¶ added in v0.0.16
func (Discussion) IsLockable()
func (Discussion) IsNode ¶ added in v0.0.16
func (Discussion) IsNode()
func (Discussion) IsReactable ¶ added in v0.0.16
func (Discussion) IsReactable()
func (Discussion) IsRepositoryNode ¶ added in v0.0.16
func (Discussion) IsRepositoryNode()
func (Discussion) IsSearchResultItem ¶ added in v0.0.16
func (Discussion) IsSearchResultItem()
func (Discussion) IsSubscribable ¶ added in v0.0.16
func (Discussion) IsSubscribable()
func (Discussion) IsUpdatable ¶ added in v0.0.16
func (Discussion) IsUpdatable()
func (Discussion) IsVotable ¶ added in v0.0.16
func (Discussion) IsVotable()
type DiscussionCategory ¶ added in v0.0.16
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,omitempty"` // 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,omitempty"` // 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) IsNode ¶ added in v0.0.16
func (DiscussionCategory) IsNode()
func (DiscussionCategory) IsRepositoryNode ¶ added in v0.0.16
func (DiscussionCategory) IsRepositoryNode()
type DiscussionCategoryConnection ¶ added in v0.0.16
type DiscussionCategoryConnection struct { // A list of edges. Edges []*DiscussionCategoryEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DiscussionCategory `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DiscussionCategory.
type DiscussionCategoryEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DiscussionComment ¶ added in v0.0.16
type DiscussionComment struct { // The actor who authored the comment. Author Actor `json:"author,omitempty"` // 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,omitempty"` // The time when this replied-to comment was deleted DeletedAt *time.Time `json:"deletedAt,omitempty"` // The discussion this comment was created in Discussion *Discussion `json:"discussion,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // Returns why the comment was minimized. MinimizedReason *string `json:"minimizedReason,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The threaded replies to this comment. Replies *DiscussionCommentConnection `json:"replies,omitempty"` // The discussion comment this comment is a reply to ReplyTo *DiscussionComment `json:"replyTo,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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) IsComment ¶ added in v0.0.16
func (DiscussionComment) IsComment()
func (DiscussionComment) IsDeletable ¶ added in v0.0.16
func (DiscussionComment) IsDeletable()
func (DiscussionComment) IsMinimizable ¶ added in v0.0.16
func (DiscussionComment) IsMinimizable()
func (DiscussionComment) IsNode ¶ added in v0.0.16
func (DiscussionComment) IsNode()
func (DiscussionComment) IsReactable ¶ added in v0.0.16
func (DiscussionComment) IsReactable()
func (DiscussionComment) IsUpdatable ¶ added in v0.0.16
func (DiscussionComment) IsUpdatable()
func (DiscussionComment) IsUpdatableComment ¶ added in v0.0.16
func (DiscussionComment) IsUpdatableComment()
func (DiscussionComment) IsVotable ¶ added in v0.0.16
func (DiscussionComment) IsVotable()
type DiscussionCommentConnection ¶ added in v0.0.16
type DiscussionCommentConnection struct { // A list of edges. Edges []*DiscussionCommentEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*DiscussionComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for DiscussionComment.
type DiscussionCommentEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DiscussionConnection ¶ added in v0.0.16
type DiscussionConnection struct { // A list of edges. Edges []*DiscussionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Discussion `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Discussion.
type DiscussionEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type DiscussionOrder ¶ added in v0.0.16
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.16
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.16
func (e DiscussionOrderField) IsValid() bool
func (DiscussionOrderField) MarshalGQL ¶ added in v0.0.16
func (e DiscussionOrderField) MarshalGQL(w io.Writer)
func (DiscussionOrderField) String ¶ added in v0.0.16
func (e DiscussionOrderField) String() string
func (*DiscussionOrderField) UnmarshalGQL ¶ added in v0.0.16
func (e *DiscussionOrderField) 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,omitempty"` // The dismissed pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` }
Autogenerated return type of DismissPullRequestReview
type DismissReason ¶ added in v0.0.16
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.16
func (e DismissReason) IsValid() bool
func (DismissReason) MarshalGQL ¶ added in v0.0.16
func (e DismissReason) MarshalGQL(w io.Writer)
func (DismissReason) String ¶ added in v0.0.16
func (e DismissReason) String() string
func (*DismissReason) UnmarshalGQL ¶ added in v0.0.16
func (e *DismissReason) UnmarshalGQL(v interface{}) error
type DismissRepositoryVulnerabilityAlertInput ¶ added in v0.0.16
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.16
type DismissRepositoryVulnerabilityAlertPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The Dependabot alert that was dismissed RepositoryVulnerabilityAlert *RepositoryVulnerabilityAlert `json:"repositoryVulnerabilityAlert,omitempty"` }
Autogenerated return type of DismissRepositoryVulnerabilityAlert
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. 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. CommitBody *string `json:"commitBody,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 EnablePullRequestAutoMerge
type EnablePullRequestAutoMergePayload ¶
type EnablePullRequestAutoMergePayload struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The pull request auto-merge was enabled on. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of EnablePullRequestAutoMerge
type Enterprise ¶
type Enterprise struct { // 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,omitempty"` // 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,omitempty"` // The description of the enterprise. Description *string `json:"description,omitempty"` // The description of the enterprise as HTML. DescriptionHTML string `json:"descriptionHTML"` ID string `json:"id"` // The location of the enterprise. Location *string `json:"location,omitempty"` // A list of users who are members of this enterprise. Members *EnterpriseMemberConnection `json:"members,omitempty"` // The name of the enterprise. Name string `json:"name"` // A list of organizations that belong to this enterprise. Organizations *OrganizationConnection `json:"organizations,omitempty"` // Enterprise information only visible to enterprise owners. OwnerInfo *EnterpriseOwnerInfo `json:"ownerInfo,omitempty"` // 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"` // A list of user accounts on this enterprise. UserAccounts *EnterpriseUserAccountConnection `json:"userAccounts,omitempty"` // Is the current viewer an admin of this enterprise? ViewerIsAdmin bool `json:"viewerIsAdmin"` // The URL of the enterprise website. WebsiteURL *string `json:"websiteUrl,omitempty"` }
An account to manage multiple organizations with consolidated policy and billing.
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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // The enterprise the invitation is for. Enterprise *Enterprise `json:"enterprise,omitempty"` ID string `json:"id"` // The user who was invited to the enterprise. Invitee *User `json:"invitee,omitempty"` // The user who created the invitation. Inviter *User `json:"inviter,omitempty"` // 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) IsNode ¶
func (EnterpriseAdministratorInvitation) IsNode()
type EnterpriseAdministratorInvitationConnection ¶
type EnterpriseAdministratorInvitationConnection struct { // A list of edges. Edges []*EnterpriseAdministratorInvitationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseAdministratorInvitation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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 EnterpriseAuditEntryData ¶
type EnterpriseAuditEntryData interface {
IsEnterpriseAuditEntryData()
}
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 number of available seats across all owned organizations based on the unique number of billable users. AvailableSeats int `json:"availableSeats"` // 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 total seats across all organizations owned by the enterprise. Seats int `json:"seats"` // 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 EnterpriseIdentityProvider ¶
type EnterpriseIdentityProvider struct { // The digest algorithm used to sign SAML requests for the identity provider. DigestMethod *SamlDigestAlgorithm `json:"digestMethod,omitempty"` // The enterprise this identity provider belongs to. Enterprise *Enterprise `json:"enterprise,omitempty"` // ExternalIdentities provisioned by this identity provider. ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"` ID string `json:"id"` // The x509 certificate used by the identity provider to sign assertions and responses. IdpCertificate *string `json:"idpCertificate,omitempty"` // The Issuer Entity ID for the SAML identity provider. Issuer *string `json:"issuer,omitempty"` // Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable. RecoveryCodes []string `json:"recoveryCodes,omitempty"` // The signature algorithm used to sign SAML requests for the identity provider. SignatureMethod *SamlSignatureAlgorithm `json:"signatureMethod,omitempty"` // The URL endpoint for the identity provider's SAML SSO. SsoURL *string `json:"ssoUrl,omitempty"` }
An identity provider configured to provision identities for an enterprise.
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,omitempty"` // A list of nodes. Nodes []EnterpriseMember `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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"` // Whether the user does not have a license for the enterprise. IsUnlicensed bool `json:"isUnlicensed"` // The item at the end of the edge. Node EnterpriseMember `json:"node,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*Organization `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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"` // Whether the outside collaborator does not have a license for the enterprise. IsUnlicensed bool `json:"isUnlicensed"` // The item at the end of the edge. Node *User `json:"node,omitempty"` // The enterprise organization repositories this user is a member of. Repositories *EnterpriseRepositoryInfoConnection `json:"repositories,omitempty"` }
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,omitempty"` // A list of users in the enterprise who currently have two-factor authentication disabled. AffiliatedUsersWithTwoFactorDisabled *UserConnection `json:"affiliatedUsersWithTwoFactorDisabled,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of domains owned by the enterprise. Domains *VerifiableDomainConnection `json:"domains,omitempty"` // Enterprise Server installations owned by the enterprise. EnterpriseServerInstallations *EnterpriseServerInstallationConnection `json:"enterpriseServerInstallations,omitempty"` // 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,omitempty"` // 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,omitempty"` // The setting value for whether members of organizations in the enterprise can create internal repositories. MembersCanCreateInternalRepositoriesSetting *bool `json:"membersCanCreateInternalRepositoriesSetting,omitempty"` // The setting value for whether members of organizations in the enterprise can create private repositories. MembersCanCreatePrivateRepositoriesSetting *bool `json:"membersCanCreatePrivateRepositoriesSetting,omitempty"` // The setting value for whether members of organizations in the enterprise can create public repositories. MembersCanCreatePublicRepositoriesSetting *bool `json:"membersCanCreatePublicRepositoriesSetting,omitempty"` // The setting value for whether members of organizations in the enterprise can create repositories. MembersCanCreateRepositoriesSetting *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"membersCanCreateRepositoriesSetting,omitempty"` // A list of enterprise organizations configured with the provided repository creation setting value. MembersCanCreateRepositoriesSettingOrganizations *OrganizationConnection `json:"membersCanCreateRepositoriesSettingOrganizations,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of outside collaborators across the repositories in the enterprise. OutsideCollaborators *EnterpriseOutsideCollaboratorConnection `json:"outsideCollaborators,omitempty"` // A list of pending administrator invitations for the enterprise. PendingAdminInvitations *EnterpriseAdministratorInvitationConnection `json:"pendingAdminInvitations,omitempty"` // A list of pending collaborator invitations across the repositories in the enterprise. PendingCollaboratorInvitations *RepositoryInvitationConnection `json:"pendingCollaboratorInvitations,omitempty"` // A list of pending member invitations for organizations in the enterprise. PendingMemberInvitations *EnterprisePendingMemberInvitationConnection `json:"pendingMemberInvitations,omitempty"` // 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,omitempty"` // The SAML Identity Provider for the enterprise. SamlIdentityProvider *EnterpriseIdentityProvider `json:"samlIdentityProvider,omitempty"` // A list of enterprise organizations configured with the SAML single sign-on setting value. SamlIdentityProviderSettingOrganizations *OrganizationConnection `json:"samlIdentityProviderSettingOrganizations,omitempty"` // A list of members with a support entitlement. SupportEntitlements *EnterpriseMemberConnection `json:"supportEntitlements,omitempty"` // 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,omitempty"` // 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,omitempty"` }
Enterprise information only visible to enterprise owners.
type EnterprisePendingMemberInvitationConnection ¶
type EnterprisePendingMemberInvitationConnection struct { // A list of edges. Edges []*EnterprisePendingMemberInvitationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*OrganizationInvitation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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"` // Whether the invitation has a license for the enterprise. IsUnlicensed bool `json:"isUnlicensed"` // The item at the end of the edge. Node *OrganizationInvitation `json:"node,omitempty"` }
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) IsNode ¶
func (EnterpriseRepositoryInfo) IsNode()
type EnterpriseRepositoryInfoConnection ¶
type EnterpriseRepositoryInfoConnection struct { // A list of edges. Edges []*EnterpriseRepositoryInfoEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseRepositoryInfo `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // User accounts uploads for the Enterprise Server installation. UserAccountsUploads *EnterpriseServerUserAccountsUploadConnection `json:"userAccountsUploads,omitempty"` }
An Enterprise Server installation.
func (EnterpriseServerInstallation) IsNode ¶
func (EnterpriseServerInstallation) IsNode()
type EnterpriseServerInstallationConnection ¶
type EnterpriseServerInstallationConnection struct { // A list of edges. Edges []*EnterpriseServerInstallationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseServerInstallation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The Enterprise Server installation on which this user account exists. EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation,omitempty"` 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,omitempty"` // 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) IsNode ¶
func (EnterpriseServerUserAccount) IsNode()
type EnterpriseServerUserAccountConnection ¶
type EnterpriseServerUserAccountConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseServerUserAccount `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` }
An email belonging to a user account on an Enterprise Server installation.
func (EnterpriseServerUserAccountEmail) IsNode ¶
func (EnterpriseServerUserAccountEmail) IsNode()
type EnterpriseServerUserAccountEmailConnection ¶
type EnterpriseServerUserAccountEmailConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountEmailEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseServerUserAccountEmail `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The Enterprise Server installation for which this upload was generated. EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation,omitempty"` 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) IsNode ¶
func (EnterpriseServerUserAccountsUpload) IsNode()
type EnterpriseServerUserAccountsUploadConnection ¶
type EnterpriseServerUserAccountsUploadConnection struct { // A list of edges. Edges []*EnterpriseServerUserAccountsUploadEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseServerUserAccountsUpload `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` 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,omitempty"` // A list of enterprise organizations this user is a member of. Organizations *EnterpriseOrganizationMembershipConnection `json:"organizations,omitempty"` // 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,omitempty"` }
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) IsActor ¶
func (EnterpriseUserAccount) IsActor()
func (EnterpriseUserAccount) IsEnterpriseMember ¶
func (EnterpriseUserAccount) IsEnterpriseMember()
func (EnterpriseUserAccount) IsNode ¶
func (EnterpriseUserAccount) IsNode()
type EnterpriseUserAccountConnection ¶
type EnterpriseUserAccountConnection struct { // A list of edges. Edges []*EnterpriseUserAccountEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*EnterpriseUserAccount `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for EnterpriseUserAccount.
type EnterpriseUserAccountEdge ¶
type EnterpriseUserAccountEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *EnterpriseUserAccount `json:"node,omitempty"` }
An edge in a connection.
type EnterpriseUserAccountMembershipRole ¶
type EnterpriseUserAccountMembershipRole string
The possible roles for enterprise membership.
const ( // The user is a member of the enterprise membership. EnterpriseUserAccountMembershipRoleMember EnterpriseUserAccountMembershipRole = "MEMBER" // The user is an owner of the enterprise membership. EnterpriseUserAccountMembershipRoleOwner EnterpriseUserAccountMembershipRole = "OWNER" )
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.16
type Environment struct { // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` ID string `json:"id"` // The name of the environment Name string `json:"name"` // The protection rules defined for this environment ProtectionRules *DeploymentProtectionRuleConnection `json:"protectionRules,omitempty"` }
An environment.
func (Environment) IsNode ¶ added in v0.0.16
func (Environment) IsNode()
type EnvironmentConnection ¶ added in v0.0.16
type EnvironmentConnection struct { // A list of edges. Edges []*EnvironmentEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Environment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Environment.
type EnvironmentEdge ¶ added in v0.0.16
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,omitempty"` }
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,omitempty"` // SAML Identity attributes SamlIdentity *ExternalIdentitySamlAttributes `json:"samlIdentity,omitempty"` // SCIM Identity attributes ScimIdentity *ExternalIdentityScimAttributes `json:"scimIdentity,omitempty"` // User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member. User *User `json:"user,omitempty"` }
An external identity provisioned by SAML SSO or SCIM.
func (ExternalIdentity) IsNode ¶
func (ExternalIdentity) IsNode()
type ExternalIdentityConnection ¶
type ExternalIdentityConnection struct { // A list of edges. Edges []*ExternalIdentityEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ExternalIdentity `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type ExternalIdentitySamlAttributes ¶
type ExternalIdentitySamlAttributes struct { // The emails associated with the SAML identity Emails []*UserEmailMetadata `json:"emails,omitempty"` // Family name of the SAML identity FamilyName *string `json:"familyName,omitempty"` // Given name of the SAML identity GivenName *string `json:"givenName,omitempty"` // The groups linked to this identity in IDP Groups []string `json:"groups,omitempty"` // The NameID of the SAML identity NameID *string `json:"nameId,omitempty"` // The userName of the SAML identity Username *string `json:"username,omitempty"` }
SAML attributes for the External Identity
type ExternalIdentityScimAttributes ¶
type ExternalIdentityScimAttributes struct { // The emails associated with the SCIM identity Emails []*UserEmailMetadata `json:"emails,omitempty"` // Family name of the SCIM identity FamilyName *string `json:"familyName,omitempty"` // Given name of the SCIM identity GivenName *string `json:"givenName,omitempty"` // The groups linked to this identity in IDP Groups []string `json:"groups,omitempty"` // The userName of the SCIM identity Username *string `json:"username,omitempty"` }
SCIM attributes for the External Identity
type FileAddition ¶ added in v0.0.16
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.16
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") } ] }
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") } ] }
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" } ] }
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") } ] }
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.16
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 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,omitempty"` // The user that was followed. User *User `json:"user,omitempty"` }
Autogenerated return type of FollowUser
type FollowerConnection ¶
type FollowerConnection struct { // A list of edges. Edges []*UserEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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) IsHovercardContext ¶
func (GenericHovercardContext) IsHovercardContext()
type GetNode ¶ added in v0.0.16
type GetNode struct {
Node *GetNode_Node "json:\"node\" graphql:\"node\""
}
type GetNode2 ¶ added in v0.0.16
type GetNode2 struct {
Node *GetNode2_Node_Release "json:\"node\" graphql:\"node\""
}
type GetNode2_Node_Release ¶ added in v0.0.16
type GetNode_Node ¶ added in v0.0.16
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.16
type GetNode_Node_Reaction struct { ID string "json:\"id\" graphql:\"id\"" User *GetNode_Node_Reaction_User "json:\"user\" graphql:\"user\"" }
type GetNode_Node_Reaction_User ¶ added in v0.0.16
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.16
type GetUser_Viewer struct { ID string "json:\"id\" graphql:\"id\"" Name *string "json:\"name\" graphql:\"name\"" Repositories GetUser_Viewer_Repositories "json:\"repositories\" graphql:\"repositories\"" }
type GetUser_Viewer_Repositories ¶ added in v0.0.16
type GetUser_Viewer_Repositories struct {
Nodes []*GetUser_Viewer_Repositories_Nodes "json:\"nodes\" graphql:\"nodes\""
}
type GetUser_Viewer_Repositories_Nodes ¶ added in v0.0.16
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\" graphql:\"languages\"" }
type GetUser_Viewer_Repositories_Nodes_Languages ¶ added in v0.0.16
type GetUser_Viewer_Repositories_Nodes_Languages struct {
Nodes []*LanguageFragment "json:\"nodes\" graphql:\"nodes\""
}
type Gist ¶
type Gist struct { // A list of comments associated with the gist Comments *GistCommentConnection `json:"comments,omitempty"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The gist description. Description *string `json:"description,omitempty"` // The files in this gist. Files []*GistFile `json:"files,omitempty"` // A list of forks associated with the gist Forks *GistConnection `json:"forks,omitempty"` 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,omitempty"` // Identifies when the gist was last pushed to. PushedAt *time.Time `json:"pushedAt,omitempty"` // 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,omitempty"` // 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) 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,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` // The associated gist. Gist *Gist `json:"gist,omitempty"` 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,omitempty"` // Returns why the comment was minimized. MinimizedReason *string `json:"minimizedReason,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on an Gist.
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,omitempty"` // A list of nodes. Nodes []*GistComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type GistConnection ¶
type GistConnection struct { // A list of edges. Edges []*GistEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Gist `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The gist file encoding. Encoding *string `json:"encoding,omitempty"` // The file extension from the file name. Extension *string `json:"extension,omitempty"` // 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,omitempty"` // The gist file name. Name *string `json:"name,omitempty"` // The gist file size in bytes. Size *int `json:"size,omitempty"` // UTF8 text data or null if the file is binary Text *string `json:"text,omitempty"` }
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,omitempty"` // The email in the Git commit. Email *string `json:"email,omitempty"` // The name in the Git commit. Name *string `json:"name,omitempty"` // The GitHub user corresponding to the email field. Null if no such user exists. User *User `json:"user,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*GitActor `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // IP addresses that service hooks are sent from HookIPAddresses []string `json:"hookIpAddresses,omitempty"` // IP addresses that the importer connects from ImporterIPAddresses []string `json:"importerIpAddresses,omitempty"` // Whether or not users are verified IsPasswordAuthenticationVerifiable bool `json:"isPasswordAuthenticationVerifiable"` // IP addresses for GitHub Pages' A records PagesIPAddresses []string `json:"pagesIpAddresses,omitempty"` }
Represents information about the GitHub instance.
type GitSignature ¶
type GitSignature interface {
IsGitSignature()
}
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.16
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, 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,omitempty"` // 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,omitempty"` // 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) IsGitSignature ¶
func (GpgSignature) IsGitSignature()
type GrantEnterpriseOrganizationsMigratorRoleInput ¶ added in v0.0.16
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.16
type GrantEnterpriseOrganizationsMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The organizations that had the migrator role applied to for the given user. Organizations *OrganizationConnection `json:"organizations,omitempty"` }
Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole
type GrantMigratorRoleInput ¶ added in v0.0.16
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.16
type GrantMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // Did the operation succeed? Success *bool `json:"success,omitempty"` }
Autogenerated return type of GrantMigratorRole
type HeadRefDeletedEvent ¶
type HeadRefDeletedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // 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,omitempty"` }
Represents a 'head_ref_deleted' event on a given pull request.
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,omitempty"` // Identifies the after commit SHA for the 'head_ref_force_pushed' event. AfterCommit *Commit `json:"afterCommit,omitempty"` // Identifies the before commit SHA for the 'head_ref_force_pushed' event. BeforeCommit *Commit `json:"beforeCommit,omitempty"` // 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,omitempty"` // Identifies the fully qualified ref name for the 'head_ref_force_pushed' event. Ref *Ref `json:"ref,omitempty"` }
Represents a 'head_ref_force_pushed' event on a given pull request.
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,omitempty"` // 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,omitempty"` }
Represents a 'head_ref_restored' event on a given pull request.
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,omitempty"` }
Detail needed to display a hovercard for a user
type HovercardContext ¶
type HovercardContext interface {
IsHovercardContext()
}
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,omitempty"` // The owner of the IP allow list entry. Owner IPAllowListOwner `json:"owner,omitempty"` // 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) IsNode ¶
func (IPAllowListEntry) IsNode()
type IPAllowListEntryConnection ¶
type IPAllowListEntryConnection struct { // A list of edges. Edges []*IPAllowListEntryEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*IPAllowListEntry `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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.16
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.16
func (e IPAllowListForInstalledAppsEnabledSettingValue) IsValid() bool
func (IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL ¶ added in v0.0.16
func (e IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL(w io.Writer)
func (IPAllowListForInstalledAppsEnabledSettingValue) String ¶ added in v0.0.16
func (e IPAllowListForInstalledAppsEnabledSettingValue) String() string
func (*IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL ¶ added in v0.0.16
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,omitempty"` // The created enterprise administrator invitation. Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"` }
Autogenerated return type of InviteEnterpriseAdmin
type Issue ¶
type Issue struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason,omitempty"` // A list of Users assigned to this object. Assignees *UserConnection `json:"assignees,omitempty"` // The actor who authored the comment. Author Actor `json:"author,omitempty"` // 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"` // `true` 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,omitempty"` // A list of comments associated with the Issue. Comments *IssueCommentConnection `json:"comments,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` // The hovercard information for this issue Hovercard *Hovercard `json:"hovercard,omitempty"` 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,omitempty"` // Is this issue read by the viewer IsReadByViewer *bool `json:"isReadByViewer,omitempty"` // A list of labels associated with the object. Labels *LabelConnection `json:"labels,omitempty"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt,omitempty"` // `true` if the object is locked Locked bool `json:"locked"` // Identifies the milestone associated with the issue. Milestone *Milestone `json:"milestone,omitempty"` // Identifies the issue number. Number int `json:"number"` // A list of Users that are participating in the Issue conversation. Participants *UserConnection `json:"participants,omitempty"` // List of project cards associated with this issue. ProjectCards *ProjectCardConnection `json:"projectCards,omitempty"` // Find a project by project (beta) number. ProjectNext *ProjectNext `json:"projectNext,omitempty"` // List of project (beta) items associated with this issue. ProjectNextItems *ProjectNextItemConnection `json:"projectNextItems,omitempty"` // A list of projects (beta) under the owner. ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // The HTTP path for this issue ResourcePath string `json:"resourcePath"` // Identifies the state of the issue. State IssueState `json:"state"` // A list of events, comments, commits, etc. associated with the issue. Timeline *IssueTimelineConnection `json:"timeline,omitempty"` // A list of events, comments, commits, etc. associated with the issue. TimelineItems *IssueTimelineItemsConnection `json:"timelineItems,omitempty"` // Identifies the issue title. Title string `json:"title"` // Identifies the issue title rendered to HTML. TitleHTML string `json:"titleHTML"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` }
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
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) IsProjectNextItemContent ¶ added in v0.0.16
func (Issue) IsProjectNextItemContent()
func (Issue) IsProjectNextOwner ¶ added in v0.0.16
func (Issue) IsProjectNextOwner()
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 IssueComment ¶
type IssueComment struct { // The actor who authored the comment. Author Actor `json:"author,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt,omitempty"` // Returns why the comment was minimized. MinimizedReason *string `json:"minimizedReason,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // Returns the pull request associated with the comment, if this comment was made on a // pull request. // PullRequest *PullRequest `json:"pullRequest,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
Represents a comment on an Issue.
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,omitempty"` // A list of nodes. Nodes []*IssueComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*Issue `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The repository in which the issues were opened. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` }
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 IssueTemplate ¶
type IssueTemplate struct { // The template purpose. About *string `json:"about,omitempty"` // The suggested issue body. Body *string `json:"body,omitempty"` // The template name. Name string `json:"name"` // The suggested issue title. Title *string `json:"title,omitempty"` }
A repository issue template.
type IssueTimelineConnection ¶
type IssueTimelineConnection struct { // A list of edges. Edges []*IssueTimelineItemEdge `json:"edges,omitempty"` // A list of nodes. Nodes []IssueTimelineItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // Identifies the count of items after applying `before` and `after` filters. FilteredCount int `json:"filteredCount"` // A list of nodes. Nodes []IssueTimelineItems `json:"nodes,omitempty"` // 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,omitempty"` // 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,omitempty"` }
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,omitempty"` }
Represents a user signing up for a GitHub account.
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,omitempty"` // A brief description of this label. Description *string `json:"description,omitempty"` 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,omitempty"` // Identifies the label name. Name string `json:"name"` // A list of pull requests associated with this label. PullRequests *PullRequestConnection `json:"pullRequests,omitempty"` // The repository associated with this label. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of nodes. Nodes []*Label `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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()
}
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,omitempty"` // 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,omitempty"` // Identifies the `Labelable` associated with the event. Labelable Labelable `json:"labelable,omitempty"` }
Represents a 'labeled' event on a given issue or pull request.
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,omitempty"` 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,omitempty"` // A list of nodes. Nodes []*Language `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // A human-readable description of the license Description *string `json:"description,omitempty"` // 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,omitempty"` // The lowercased SPDX ID of the license Key string `json:"key"` // The limitations set by the license Limitations []*LicenseRule `json:"limitations,omitempty"` // 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,omitempty"` // The permissions set by the license Permissions []*LicenseRule `json:"permissions,omitempty"` // 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,omitempty"` // URL to the license on <https://choosealicense.com> URL *string `json:"url,omitempty"` }
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 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,omitempty"` // The linked Project. Project *Project `json:"project,omitempty"` // The linked Repository. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of LinkRepositoryToProject
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The item that was locked. LockedRecord Lockable `json:"lockedRecord,omitempty"` }
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 LockedEvent ¶
type LockedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Object that was locked. Lockable Lockable `json:"lockable,omitempty"` }
Represents a 'locked' event on a given issue or pull request.
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,omitempty"` // 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,omitempty"` // The mannequin's email on the source instance. Email *string `json:"email,omitempty"` 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) IsAssignee ¶
func (Mannequin) IsAssignee()
func (Mannequin) IsRequestedReviewer ¶
func (Mannequin) IsRequestedReviewer()
func (Mannequin) IsUniformResourceLocatable ¶
func (Mannequin) IsUniformResourceLocatable()
type MarkDiscussionCommentAsAnswerInput ¶ added in v0.0.16
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.16
type MarkDiscussionCommentAsAnswerPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The discussion that includes the chosen comment. Discussion *Discussion `json:"discussion,omitempty"` }
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,omitempty"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // The pull request that is ready for review. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of MarkPullRequestReadyForReview
type MarkedAsDuplicateEvent ¶
type MarkedAsDuplicateEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // The authoritative issue or pull request which has been duplicated by another. Canonical IssueOrPullRequest `json:"canonical,omitempty"` // 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,omitempty"` 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) 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,omitempty"` // The technical description of how apps listed in this category work with GitHub. HowItWorks *string `json:"howItWorks,omitempty"` 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) IsNode ¶
func (MarketplaceCategory) IsNode()
type MarketplaceListing ¶
type MarketplaceListing struct { // The GitHub App this listing represents. App *App `json:"app,omitempty"` // URL to the listing owner's company site. CompanyURL *string `json:"companyUrl,omitempty"` // 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,omitempty"` // The listing's detailed description. ExtendedDescription *string `json:"extendedDescription,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // The category that best describes the listing. PrimaryCategory *MarketplaceCategory `json:"primaryCategory,omitempty"` // 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,omitempty"` // An alternate category that describes the listing. SecondaryCategory *MarketplaceCategory `json:"secondaryCategory,omitempty"` // 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,omitempty"` // An email address for support for this listing's app. SupportEmail *string `json:"supportEmail,omitempty"` // 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,omitempty"` // 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) IsNode ¶
func (MarketplaceListing) IsNode()
func (MarketplaceListing) IsSearchResultItem ¶
func (MarketplaceListing) IsSearchResultItem()
type MarketplaceListingConnection ¶
type MarketplaceListingConnection struct { // A list of edges. Edges []*MarketplaceListingEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*MarketplaceListing `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type MemberStatusable ¶
type MemberStatusable interface {
IsMemberStatusable()
}
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a members_can_delete_repos.clear event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a members_can_delete_repos.disable event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a members_can_delete_repos.enable event.
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,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'mentioned' event on a given issue or pull request.
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,omitempty"` // The resulting merge Commit. MergeCommit *Commit `json:"mergeCommit,omitempty"` }
Autogenerated return type of MergeBranch
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The pull request that was merged. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // Identifies the commit associated with the `merge` event. Commit *Commit `json:"commit,omitempty"` // 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,omitempty"` // Identifies the name of the Ref associated with the `merge` event. MergeRefName string `json:"mergeRefName"` // PullRequest referenced by event. PullRequest *PullRequest `json:"pullRequest,omitempty"` // 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) 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.16
type Migration interface {
IsMigration()
}
Represents an Octoshift migration.
type MigrationSource ¶ added in v0.0.16
type MigrationSource struct { ID string `json:"id"` // The Octoshift migration source name. Name string `json:"name"` // The Octoshift migration source type. Type MigrationSourceType `json:"type"` // The Octoshift migration source URL. URL string `json:"url"` }
An Octoshift migration source.
func (MigrationSource) IsNode ¶ added in v0.0.16
func (MigrationSource) IsNode()
type MigrationSourceType ¶ added in v0.0.16
type MigrationSourceType string
Represents the different Octoshift migration sources.
const ( // A GitLab migration source. MigrationSourceTypeGitlab MigrationSourceType = "GITLAB" // An Azure DevOps migration source. MigrationSourceTypeAzureDevops MigrationSourceType = "AZURE_DEVOPS" // A Bitbucket Server migration source. MigrationSourceTypeBitbucketServer MigrationSourceType = "BITBUCKET_SERVER" // A GitHub migration source. MigrationSourceTypeGithub MigrationSourceType = "GITHUB" // A GitHub Migration API source. MigrationSourceTypeGithubArchive MigrationSourceType = "GITHUB_ARCHIVE" )
func (MigrationSourceType) IsValid ¶ added in v0.0.16
func (e MigrationSourceType) IsValid() bool
func (MigrationSourceType) MarshalGQL ¶ added in v0.0.16
func (e MigrationSourceType) MarshalGQL(w io.Writer)
func (MigrationSourceType) String ¶ added in v0.0.16
func (e MigrationSourceType) String() string
func (*MigrationSourceType) UnmarshalGQL ¶ added in v0.0.16
func (e *MigrationSourceType) UnmarshalGQL(v interface{}) error
type MigrationState ¶ added in v0.0.16
type MigrationState string
The Octoshift migration state.
const ( // The Octoshift migration has not started. MigrationStateNotStarted MigrationState = "NOT_STARTED" // The Octoshift migration has been queued. MigrationStateQueued MigrationState = "QUEUED" // The Octoshift migration is in progress. MigrationStateInProgress MigrationState = "IN_PROGRESS" // The Octoshift migration has succeeded. MigrationStateSucceeded MigrationState = "SUCCEEDED" // The Octoshift migration has failed. MigrationStateFailed MigrationState = "FAILED" )
func (MigrationState) IsValid ¶ added in v0.0.16
func (e MigrationState) IsValid() bool
func (MigrationState) MarshalGQL ¶ added in v0.0.16
func (e MigrationState) MarshalGQL(w io.Writer)
func (MigrationState) String ¶ added in v0.0.16
func (e MigrationState) String() string
func (*MigrationState) UnmarshalGQL ¶ added in v0.0.16
func (e *MigrationState) UnmarshalGQL(v interface{}) error
type Milestone ¶
type Milestone struct { // `true` 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,omitempty"` // 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,omitempty"` // Identifies the description of the milestone. Description *string `json:"description,omitempty"` // Identifies the due date of the milestone. DueOn *time.Time `json:"dueOn,omitempty"` ID string `json:"id"` // A list of issues associated with the milestone. Issues *IssueConnection `json:"issues,omitempty"` // 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,omitempty"` // The repository associated with this milestone. Repository *Repository `json:"repository,omitempty"` // 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) IsClosable ¶
func (Milestone) IsClosable()
func (Milestone) IsUniformResourceLocatable ¶
func (Milestone) IsUniformResourceLocatable()
type MilestoneConnection ¶
type MilestoneConnection struct { // A list of edges. Edges []*MilestoneEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Milestone `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Represents a 'milestoned' event on a given issue or pull request.
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 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,omitempty"` // The comment that was minimized. MinimizedComment Minimizable `json:"minimizedComment,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // The new edge of the moved column. ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"` }
Autogenerated return type of MoveProjectColumn
type MovedColumnsInProjectEvent ¶
type MovedColumnsInProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'moved_columns_in_project' event on a given issue or pull request.
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\"" 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\"" AddProjectNextItem *AddProjectNextItemPayload "json:\"addProjectNextItem,omitempty\" graphql:\"addProjectNextItem\"" 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\"" 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\"" 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\"" 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\"" CreateMigrationSource *CreateMigrationSourcePayload "json:\"createMigrationSource,omitempty\" graphql:\"createMigrationSource\"" CreateProject *CreateProjectPayload "json:\"createProject,omitempty\" graphql:\"createProject\"" CreatePullRequest *CreatePullRequestPayload "json:\"createPullRequest,omitempty\" graphql:\"createPullRequest\"" CreateRef *CreateRefPayload "json:\"createRef,omitempty\" graphql:\"createRef\"" CreateRepository *CreateRepositoryPayload "json:\"createRepository,omitempty\" graphql:\"createRepository\"" 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\"" DeleteProject *DeleteProjectPayload "json:\"deleteProject,omitempty\" graphql:\"deleteProject\"" DeleteProjectCard *DeleteProjectCardPayload "json:\"deleteProjectCard,omitempty\" graphql:\"deleteProjectCard\"" DeleteProjectColumn *DeleteProjectColumnPayload "json:\"deleteProjectColumn,omitempty\" graphql:\"deleteProjectColumn\"" DeleteProjectNextItem *DeleteProjectNextItemPayload "json:\"deleteProjectNextItem,omitempty\" graphql:\"deleteProjectNextItem\"" 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\"" 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\"" 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\"" 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\"" 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\"" 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\"" StartRepositoryMigration *StartRepositoryMigrationPayload "json:\"startRepositoryMigration,omitempty\" graphql:\"startRepositoryMigration\"" SubmitPullRequestReview *SubmitPullRequestReviewPayload "json:\"submitPullRequestReview,omitempty\" graphql:\"submitPullRequestReview\"" TransferIssue *TransferIssuePayload "json:\"transferIssue,omitempty\" graphql:\"transferIssue\"" UnarchiveRepository *UnarchiveRepositoryPayload "json:\"unarchiveRepository,omitempty\" graphql:\"unarchiveRepository\"" UnfollowUser *UnfollowUserPayload "json:\"unfollowUser,omitempty\" graphql:\"unfollowUser\"" 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 */ UpdateProject *UpdateProjectPayload "json:\"updateProject,omitempty\" graphql:\"updateProject\"" UpdateProjectCard *UpdateProjectCardPayload "json:\"updateProjectCard,omitempty\" graphql:\"updateProjectCard\"" UpdateProjectColumn *UpdateProjectColumnPayload "json:\"updateProjectColumn,omitempty\" graphql:\"updateProjectColumn\"" UpdateProjectNext *UpdateProjectNextPayload "json:\"updateProjectNext,omitempty\" graphql:\"updateProjectNext\"" UpdateProjectNextItemField *UpdateProjectNextItemFieldPayload "json:\"updateProjectNextItemField,omitempty\" graphql:\"updateProjectNextItemField\"" 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\"" 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\"" UpdateTopics *UpdateTopicsPayload "json:\"updateTopics,omitempty\" graphql:\"updateTopics\"" VerifyVerifiableDomain *VerifyVerifiableDomainPayload "json:\"verifyVerifiableDomain,omitempty\" graphql:\"verifyVerifiableDomain\"" }
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.16
type OIDCProvider struct { // The enterprise this identity provider belongs to. Enterprise *Enterprise `json:"enterprise,omitempty"` // ExternalIdentities provisioned by this identity provider. ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"` 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) IsNode ¶ added in v0.0.16
func (OIDCProvider) IsNode()
type OIDCProviderType ¶ added in v0.0.16
type OIDCProviderType string
The OIDC identity provider type
const ( // Azure Active Directory OIDCProviderTypeAad OIDCProviderType = "AAD" )
func (OIDCProviderType) IsValid ¶ added in v0.0.16
func (e OIDCProviderType) IsValid() bool
func (OIDCProviderType) MarshalGQL ¶ added in v0.0.16
func (e OIDCProviderType) MarshalGQL(w io.Writer)
func (OIDCProviderType) String ¶ added in v0.0.16
func (e OIDCProviderType) String() string
func (*OIDCProviderType) UnmarshalGQL ¶ added in v0.0.16
func (e *OIDCProviderType) UnmarshalGQL(v interface{}) error
type OauthApplicationAuditEntryData ¶
type OauthApplicationAuditEntryData interface {
IsOauthApplicationAuditEntryData()
}
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The application URL of the OAuth Application. ApplicationURL *string `json:"applicationUrl,omitempty"` // The callback URL of the OAuth Application. CallbackURL *string `json:"callbackUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName,omitempty"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The rate limit of the OAuth Application. RateLimit *int `json:"rateLimit,omitempty"` // The state of the OAuth Application. State *OauthApplicationCreateAuditEntryState `json:"state,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a oauth_application.create event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.add_billing_manager
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The permission level of the member added to the organization. Permission *OrgAddMemberAuditEntryPermission `json:"permission,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.add_member
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The blocked user. BlockedUser *User `json:"blockedUser,omitempty"` // The username of the blocked user. BlockedUserName *string `json:"blockedUserName,omitempty"` // The HTTP path for the blocked user. BlockedUserResourcePath *string `json:"blockedUserResourcePath,omitempty"` // The HTTP URL for the blocked user. BlockedUserURL *string `json:"blockedUserUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.block_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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.config.disable_collaborators_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.config.enable_collaborators_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The billing plan for the Organization. BillingPlan *OrgCreateAuditEntryBillingPlan `json:"billingPlan,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.create event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.disable_oauth_app_restrictions event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The SAML provider's digest algorithm URL. DigestMethodURL *string `json:"digestMethodUrl,omitempty"` ID string `json:"id"` // The SAML provider's issuer URL. IssuerURL *string `json:"issuerUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The SAML provider's signature algorithm URL. SignatureMethodURL *string `json:"signatureMethodUrl,omitempty"` // The SAML provider's single sign-on URL. SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.disable_saml event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.disable_two_factor_requirement event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.enable_oauth_app_restrictions event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The SAML provider's digest algorithm URL. DigestMethodURL *string `json:"digestMethodUrl,omitempty"` ID string `json:"id"` // The SAML provider's issuer URL. IssuerURL *string `json:"issuerUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The SAML provider's signature algorithm URL. SignatureMethodURL *string `json:"signatureMethodUrl,omitempty"` // The SAML provider's single sign-on URL. SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.enable_saml event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.enable_two_factor_requirement event.
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.16
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.16
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.16
func (e OrgEnterpriseOwnerOrderField) IsValid() bool
func (OrgEnterpriseOwnerOrderField) MarshalGQL ¶ added in v0.0.16
func (e OrgEnterpriseOwnerOrderField) MarshalGQL(w io.Writer)
func (OrgEnterpriseOwnerOrderField) String ¶ added in v0.0.16
func (e OrgEnterpriseOwnerOrderField) String() string
func (*OrgEnterpriseOwnerOrderField) UnmarshalGQL ¶ added in v0.0.16
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The email address of the organization invitation. Email *string `json:"email,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The organization invitation. OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.invite_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.invite_to_business event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName,omitempty"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.oauth_app_access_approved event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName,omitempty"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.oauth_app_access_denied event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` ID string `json:"id"` // The name of the OAuth Application. OauthApplicationName *string `json:"oauthApplicationName,omitempty"` // The HTTP path for the OAuth Application OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"` // The HTTP URL for the OAuth Application OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.oauth_app_access_requested event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The reason for the billing manager being removed. Reason *OrgRemoveBillingManagerAuditEntryReason `json:"reason,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.remove_billing_manager event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The reason for the member being removed. Reason *OrgRemoveMemberAuditEntryReason `json:"reason,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.remove_member event.
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 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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The reason for the outside collaborator being removed from the Organization. Reason *OrgRemoveOutsideCollaboratorAuditEntryReason `json:"reason,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.remove_outside_collaborator event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The number of custom email routings for the restored member. RestoredCustomEmailRoutingsCount *int `json:"restoredCustomEmailRoutingsCount,omitempty"` // The number of issue assignments for the restored member. RestoredIssueAssignmentsCount *int `json:"restoredIssueAssignmentsCount,omitempty"` // Restored organization membership objects. RestoredMemberships []OrgRestoreMemberAuditEntryMembership `json:"restoredMemberships,omitempty"` // The number of restored memberships. RestoredMembershipsCount *int `json:"restoredMembershipsCount,omitempty"` // The number of repositories of the restored member. RestoredRepositoriesCount *int `json:"restoredRepositoriesCount,omitempty"` // The number of starred repositories for the restored member. RestoredRepositoryStarsCount *int `json:"restoredRepositoryStarsCount,omitempty"` // The number of watched repositories for the restored member. RestoredRepositoryWatchesCount *int `json:"restoredRepositoryWatchesCount,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.restore_member event.
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,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` }
Metadata for an organization membership for org.restore_member actions
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,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` }
Metadata for a repository membership for org.restore_member actions
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,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` }
Metadata for a team membership for org.restore_member actions
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The user being unblocked by the organization. BlockedUser *User `json:"blockedUser,omitempty"` // The username of the blocked user. BlockedUserName *string `json:"blockedUserName,omitempty"` // The HTTP path for the blocked user. BlockedUserResourcePath *string `json:"blockedUserResourcePath,omitempty"` // The HTTP URL for the blocked user. BlockedUserURL *string `json:"blockedUserUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.unblock_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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The new base repository permission level for the organization. Permission *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permission,omitempty"` // The former base repository permission level for the organization. PermissionWas *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permissionWas,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.update_default_repository_permission
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The new member permission level for the organization. Permission *OrgUpdateMemberAuditEntryPermission `json:"permission,omitempty"` // The former member permission level for the organization. PermissionWas *OrgUpdateMemberAuditEntryPermission `json:"permissionWas,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.update_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // Can members create repositories in the organization. CanCreateRepositories *bool `json:"canCreateRepositories,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The permission for visibility level of repositories for this organization. Visibility *OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a org.update_member_repository_creation_permission event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // Can outside collaborators be invited to repositories in the organization. CanInviteOutsideCollaboratorsToRepositories *bool `json:"canInviteOutsideCollaboratorsToRepositories,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a org.update_member_repository_invitation_permission event.
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 { // 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,omitempty"` // 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,omitempty"` // The organization's public profile description. Description *string `json:"description,omitempty"` // The organization's public profile description rendered to HTML. DescriptionHTML *string `json:"descriptionHTML,omitempty"` // A list of domains owned by the organization. Domains *VerifiableDomainConnection `json:"domains,omitempty"` // The organization's public email. Email *string `json:"email,omitempty"` // A list of owners of the organization's enterprise account. EnterpriseOwners *OrganizationEnterpriseOwnerConnection `json:"enterpriseOwners,omitempty"` // 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,omitempty"` // 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,omitempty"` // The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. IPAllowListForInstalledAppsEnabledSetting IPAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting"` // Check if 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,omitempty"` // The organization's public profile location. Location *string `json:"location,omitempty"` // The organization's login name. Login string `json:"login"` // Get the status messages members of this entity have set that are either public or visible only to the organization. MemberStatuses *UserStatusConnection `json:"memberStatuses,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of packages under the owner. Packages *PackageConnection `json:"packages,omitempty"` // A list of users who have been invited to join this organization. PendingMembers *UserConnection `json:"pendingMembers,omitempty"` // A list of repositories and gists this profile owner can pin to their profile. PinnableItems *PinnableItemConnection `json:"pinnableItems,omitempty"` // A list of repositories and gists this profile owner has pinned to their profile PinnedItems *PinnableItemConnection `json:"pinnedItems,omitempty"` // 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,omitempty"` // Find a project by project (beta) number. ProjectNext *ProjectNext `json:"projectNext,omitempty"` // A list of projects under the owner. Projects *ProjectConnection `json:"projects,omitempty"` // A list of projects (beta) under the owner. ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"` // 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 repositories that the user owns. Repositories *RepositoryConnection `json:"repositories,omitempty"` // Find Repository. Repository *Repository `json:"repository,omitempty"` // Discussion comments this user has authored. RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments,omitempty"` // Discussions this user has started. RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions,omitempty"` // A list of all repository migrations for this organization. RepositoryMigrations *RepositoryMigrationConnection `json:"repositoryMigrations,omitempty"` // When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication. RequiresTwoFactorAuthentication *bool `json:"requiresTwoFactorAuthentication,omitempty"` // The HTTP path for this organization. ResourcePath string `json:"resourcePath"` // The Organization's SAML identity providers SamlIdentityProvider *OrganizationIdentityProvider `json:"samlIdentityProvider,omitempty"` // List of users and organizations this entity is sponsoring. Sponsoring *SponsorConnection `json:"sponsoring,omitempty"` // List of sponsors for this user or organization. Sponsors *SponsorConnection `json:"sponsors,omitempty"` // Events involving this sponsorable, such as new sponsorships. SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities,omitempty"` // The GitHub Sponsors listing for this user or organization. SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"` // The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active. SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"` // The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active. SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"` // List of sponsorship updates sent from this sponsorable to sponsors. SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters,omitempty"` // This object's sponsorships as the maintainer. SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer,omitempty"` // This object's sponsorships as the sponsor. SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor,omitempty"` // Find an organization's team by its slug. Team *Team `json:"team,omitempty"` // A list of teams in this organization. Teams *TeamConnection `json:"teams,omitempty"` // The HTTP path listing organization's teams TeamsResourcePath string `json:"teamsResourcePath"` // The HTTP URL listing organization's teams TeamsURL string `json:"teamsUrl"` // The organization's Twitter username. TwitterUsername *string `json:"twitterUsername,omitempty"` // 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"` // True if the viewer is sponsoring this user/organization. ViewerIsSponsoring bool `json:"viewerIsSponsoring"` // The organization's public profile URL. WebsiteURL *string `json:"websiteUrl,omitempty"` }
An account on GitHub, with one or more owners, that has repositories, members and teams.
func (Organization) IsActor ¶
func (Organization) IsActor()
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) IsPackageOwner ¶
func (Organization) IsPackageOwner()
func (Organization) IsPermissionGranter ¶
func (Organization) IsPermissionGranter()
func (Organization) IsProfileOwner ¶
func (Organization) IsProfileOwner()
func (Organization) IsProjectNextOwner ¶ added in v0.0.16
func (Organization) IsProjectNextOwner()
func (Organization) IsProjectOwner ¶
func (Organization) IsProjectOwner()
func (Organization) IsReactor ¶ added in v0.0.16
func (Organization) IsReactor()
func (Organization) IsRepositoryDiscussionAuthor ¶ added in v0.0.16
func (Organization) IsRepositoryDiscussionAuthor()
func (Organization) IsRepositoryDiscussionCommentAuthor ¶ added in v0.0.16
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,omitempty"` // A list of nodes. Nodes []OrganizationAuditEntry `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for OrganizationAuditEntry.
type OrganizationAuditEntryData ¶
type OrganizationAuditEntryData interface {
IsOrganizationAuditEntryData()
}
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,omitempty"` }
An edge in a connection.
type OrganizationConnection ¶
type OrganizationConnection struct { // A list of edges. Edges []*OrganizationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Organization `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type OrganizationEnterpriseOwnerConnection ¶ added in v0.0.16
type OrganizationEnterpriseOwnerConnection struct { // A list of edges. Edges []*OrganizationEnterpriseOwnerEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for User.
type OrganizationEnterpriseOwnerEdge ¶ added in v0.0.16
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,omitempty"` // 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,omitempty"` // External Identities provisioned by this Identity Provider ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities,omitempty"` ID string `json:"id"` // The x509 certificate used by the Identity Provider to sign assertions and responses. IdpCertificate *string `json:"idpCertificate,omitempty"` // The Issuer Entity ID for the SAML Identity Provider Issuer *string `json:"issuer,omitempty"` // Organization this Identity Provider belongs to Organization *Organization `json:"organization,omitempty"` // The signature algorithm used to sign SAML requests for the Identity Provider. SignatureMethod *string `json:"signatureMethod,omitempty"` // The URL endpoint for the Identity Provider's SAML SSO. SsoURL *string `json:"ssoUrl,omitempty"` }
An Identity Provider configured to provision SAML and SCIM identities for Organizations
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,omitempty"` ID string `json:"id"` // 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,omitempty"` // The user who created the invitation. Inviter *User `json:"inviter,omitempty"` // The organization the invite is for Organization *Organization `json:"organization,omitempty"` // 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) IsNode ¶
func (OrganizationInvitation) IsNode()
type OrganizationInvitationConnection ¶
type OrganizationInvitationConnection struct { // A list of edges. Edges []*OrganizationInvitationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*OrganizationInvitation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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 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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The item at the end of the edge. Node *User `json:"node,omitempty"` // The role this user has in the organization. Role *OrganizationMemberRole `json:"role,omitempty"` }
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 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,omitempty"` // 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) 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,omitempty"` // The total number of organizations this user is in TotalOrganizationCount int `json:"totalOrganizationCount"` }
An organization list hovercard 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,omitempty"` // 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,omitempty"` // Statistics about package activity. Statistics *PackageStatistics `json:"statistics,omitempty"` // Find package version by version string. Version *PackageVersion `json:"version,omitempty"` // list of versions for this package Versions *PackageVersionConnection `json:"versions,omitempty"` }
Information for an uploaded package.
type PackageConnection ¶
type PackageConnection struct { // A list of edges. Edges []*PackageEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Package `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type PackageFile ¶
type PackageFile struct { ID string `json:"id"` // MD5 hash of the file. Md5 *string `json:"md5,omitempty"` // Name of the file. Name string `json:"name"` // The package version this file belongs to. PackageVersion *PackageVersion `json:"packageVersion,omitempty"` // SHA1 hash of the file. Sha1 *string `json:"sha1,omitempty"` // SHA256 hash of the file. Sha256 *string `json:"sha256,omitempty"` // Size of the file in bytes. Size *int `json:"size,omitempty"` // 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,omitempty"` }
A file in a package version.
func (PackageFile) IsNode ¶
func (PackageFile) IsNode()
type PackageFileConnection ¶
type PackageFileConnection struct { // A list of edges. Edges []*PackageFileEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PackageFile `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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()
}
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,omitempty"` }
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,omitempty"` ID string `json:"id"` // The package associated with this version. Package *Package `json:"package,omitempty"` // The platform this version was built for. Platform *string `json:"platform,omitempty"` // Whether or not this version is a pre-release. PreRelease bool `json:"preRelease"` // The README of this package version. Readme *string `json:"readme,omitempty"` // The release associated with this package version. Release *Release `json:"release,omitempty"` // Statistics about package activity. Statistics *PackageVersionStatistics `json:"statistics,omitempty"` // The package version summary. Summary *string `json:"summary,omitempty"` // The version string. Version string `json:"version"` }
Information about a specific package version.
func (PackageVersion) IsNode ¶
func (PackageVersion) IsNode()
type PackageVersionConnection ¶
type PackageVersionConnection struct { // A list of edges. Edges []*PackageVersionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PackageVersion `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` }
Information about pagination in a connection.
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,omitempty"` // The level of access this source has granted to the user. Permission DefaultRepositoryPermissionField `json:"permission"` // The source of this permission. Source PermissionGranter `json:"source,omitempty"` }
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,omitempty"` // The issue that was pinned Issue *Issue `json:"issue,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []PinnableItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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.16
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,omitempty"` // The discussion that was pinned. Discussion *Discussion `json:"discussion,omitempty"` // Color stops of the chosen gradient GradientStopColors []string `json:"gradientStopColors,omitempty"` ID string `json:"id"` // Background texture pattern Pattern PinnedDiscussionPattern `json:"pattern"` // The actor that pinned this discussion. PinnedBy Actor `json:"pinnedBy,omitempty"` // Preconfigured background gradient option PreconfiguredGradient *PinnedDiscussionGradient `json:"preconfiguredGradient,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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) IsNode ¶ added in v0.0.16
func (PinnedDiscussion) IsNode()
func (PinnedDiscussion) IsRepositoryNode ¶ added in v0.0.16
func (PinnedDiscussion) IsRepositoryNode()
type PinnedDiscussionConnection ¶ added in v0.0.16
type PinnedDiscussionConnection struct { // A list of edges. Edges []*PinnedDiscussionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PinnedDiscussion `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for PinnedDiscussion.
type PinnedDiscussionEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type PinnedDiscussionGradient ¶ added in v0.0.16
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.16
func (e PinnedDiscussionGradient) IsValid() bool
func (PinnedDiscussionGradient) MarshalGQL ¶ added in v0.0.16
func (e PinnedDiscussionGradient) MarshalGQL(w io.Writer)
func (PinnedDiscussionGradient) String ¶ added in v0.0.16
func (e PinnedDiscussionGradient) String() string
func (*PinnedDiscussionGradient) UnmarshalGQL ¶ added in v0.0.16
func (e *PinnedDiscussionGradient) UnmarshalGQL(v interface{}) error
type PinnedDiscussionPattern ¶ added in v0.0.16
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.16
func (e PinnedDiscussionPattern) IsValid() bool
func (PinnedDiscussionPattern) MarshalGQL ¶ added in v0.0.16
func (e PinnedDiscussionPattern) MarshalGQL(w io.Writer)
func (PinnedDiscussionPattern) String ¶ added in v0.0.16
func (e PinnedDiscussionPattern) String() string
func (*PinnedDiscussionPattern) UnmarshalGQL ¶ added in v0.0.16
func (e *PinnedDiscussionPattern) UnmarshalGQL(v interface{}) error
type PinnedEvent ¶
type PinnedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` }
Represents a 'pinned' event on a given issue or pull request.
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,omitempty"` ID string `json:"id"` // The issue that was pinned. Issue *Issue `json:"issue,omitempty"` // The actor that pinned this issue. PinnedBy Actor `json:"pinnedBy,omitempty"` // The repository that this issue was pinned to. Repository *Repository `json:"repository,omitempty"` }
A Pinned Issue is a issue pinned to a repository's index page.
func (PinnedIssue) IsNode ¶
func (PinnedIssue) IsNode()
type PinnedIssueConnection ¶
type PinnedIssueConnection struct { // A list of edges. Edges []*PinnedIssueEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PinnedIssue `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a private_repository_forking.disable event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a private_repository_forking.enable event.
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,omitempty"` }
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()
}
Represents any entity on GitHub that has a profile page.
type Project ¶
type Project struct { // The project's description body. Body *string `json:"body,omitempty"` // The projects description body rendered to HTML. BodyHTML string `json:"bodyHTML"` // `true` 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,omitempty"` // List of columns in the project Columns *ProjectColumnConnection `json:"columns,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` 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,omitempty"` // List of pending cards in this project PendingCards *ProjectCardConnection `json:"pendingCards,omitempty"` // Project progress details. Progress *ProjectProgress `json:"progress,omitempty"` // 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) 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,omitempty"` // The card content item Content ProjectCardItem `json:"content,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` ID string `json:"id"` // Whether the card is archived IsArchived bool `json:"isArchived"` // The card note Note *string `json:"note,omitempty"` // The project that contains this card. Project *Project `json:"project,omitempty"` // The HTTP path for this card ResourcePath string `json:"resourcePath"` // The state of ProjectCard State *ProjectCardState `json:"state,omitempty"` // 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) 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,omitempty"` // A list of nodes. Nodes []*ProjectCard `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` ID string `json:"id"` // The project column's name. Name string `json:"name"` // The project that contains this column. Project *Project `json:"project,omitempty"` // The semantic purpose of the column Purpose *ProjectColumnPurpose `json:"purpose,omitempty"` // 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) IsNode ¶
func (ProjectColumn) IsNode()
type ProjectColumnConnection ¶
type ProjectColumnConnection struct { // A list of edges. Edges []*ProjectColumnEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ProjectColumn `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*Project `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type ProjectNext ¶ added in v0.0.16
type ProjectNext 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,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // The project's description. Description *string `json:"description,omitempty"` // List of fields in the project Fields *ProjectNextFieldConnection `json:"fields,omitempty"` ID string `json:"id"` // List of items in the project Items *ProjectNextItemConnection `json:"items,omitempty"` // The project's number. Number int `json:"number"` // The project's owner. Currently limited to organizations and users. Owner ProjectNextOwner `json:"owner,omitempty"` // Returns true if the project is public. Public bool `json:"public"` // The repositories the project is linked to. Repositories *RepositoryConnection `json:"repositories,omitempty"` // The HTTP path for this project ResourcePath string `json:"resourcePath"` // The project's short description. ShortDescription *string `json:"shortDescription,omitempty"` // The project's name. Title *string `json:"title,omitempty"` // 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"` }
New projects that manage issues, pull requests and drafts using tables and boards.
func (ProjectNext) IsClosable ¶ added in v0.0.16
func (ProjectNext) IsClosable()
func (ProjectNext) IsNode ¶ added in v0.0.16
func (ProjectNext) IsNode()
func (ProjectNext) IsUpdatable ¶ added in v0.0.16
func (ProjectNext) IsUpdatable()
type ProjectNextConnection ¶ added in v0.0.16
type ProjectNextConnection struct { // A list of edges. Edges []*ProjectNextEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ProjectNext `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectNext.
type ProjectNextEdge ¶ added in v0.0.16
type ProjectNextEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectNext `json:"node,omitempty"` }
An edge in a connection.
type ProjectNextField ¶ added in v0.0.16
type ProjectNextField struct { // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The field's type. DataType ProjectNextFieldType `json:"dataType"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` ID string `json:"id"` // The project field's name. Name string `json:"name"` // The project that contains this field. Project *ProjectNext `json:"project,omitempty"` // The field's settings. Settings *string `json:"settings,omitempty"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
A field inside a project.
func (ProjectNextField) IsNode ¶ added in v0.0.16
func (ProjectNextField) IsNode()
func (ProjectNextField) IsProjectNextFieldCommon ¶ added in v0.0.16
func (ProjectNextField) IsProjectNextFieldCommon()
type ProjectNextFieldCommon ¶ added in v0.0.16
type ProjectNextFieldCommon interface {
IsProjectNextFieldCommon()
}
Common fields across different field types
type ProjectNextFieldConnection ¶ added in v0.0.16
type ProjectNextFieldConnection struct { // A list of edges. Edges []*ProjectNextFieldEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ProjectNextField `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectNextField.
type ProjectNextFieldEdge ¶ added in v0.0.16
type ProjectNextFieldEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectNextField `json:"node,omitempty"` }
An edge in a connection.
type ProjectNextFieldType ¶ added in v0.0.16
type ProjectNextFieldType string
The type of a project next field.
const ( // Assignees ProjectNextFieldTypeAssignees ProjectNextFieldType = "ASSIGNEES" // Linked Pull Requests ProjectNextFieldTypeLinkedPullRequests ProjectNextFieldType = "LINKED_PULL_REQUESTS" // Reviewers ProjectNextFieldTypeReviewers ProjectNextFieldType = "REVIEWERS" // Labels ProjectNextFieldTypeLabels ProjectNextFieldType = "LABELS" // Milestone ProjectNextFieldTypeMilestone ProjectNextFieldType = "MILESTONE" // Repository ProjectNextFieldTypeRepository ProjectNextFieldType = "REPOSITORY" // Title ProjectNextFieldTypeTitle ProjectNextFieldType = "TITLE" // Text ProjectNextFieldTypeText ProjectNextFieldType = "TEXT" // Single Select ProjectNextFieldTypeSingleSelect ProjectNextFieldType = "SINGLE_SELECT" // Number ProjectNextFieldTypeNumber ProjectNextFieldType = "NUMBER" // Date ProjectNextFieldTypeDate ProjectNextFieldType = "DATE" // Iteration ProjectNextFieldTypeIteration ProjectNextFieldType = "ITERATION" )
func (ProjectNextFieldType) IsValid ¶ added in v0.0.16
func (e ProjectNextFieldType) IsValid() bool
func (ProjectNextFieldType) MarshalGQL ¶ added in v0.0.16
func (e ProjectNextFieldType) MarshalGQL(w io.Writer)
func (ProjectNextFieldType) String ¶ added in v0.0.16
func (e ProjectNextFieldType) String() string
func (*ProjectNextFieldType) UnmarshalGQL ¶ added in v0.0.16
func (e *ProjectNextFieldType) UnmarshalGQL(v interface{}) error
type ProjectNextItem ¶ added in v0.0.16
type ProjectNextItem struct { // The content of the referenced issue or pull request Content ProjectNextItemContent `json:"content,omitempty"` // 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // List of field values FieldValues *ProjectNextItemFieldValueConnection `json:"fieldValues,omitempty"` ID string `json:"id"` // Whether the item is archived. IsArchived bool `json:"isArchived"` // The project that contains this item. Project *ProjectNext `json:"project,omitempty"` // The title of the item Title *string `json:"title,omitempty"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` }
An item within a new Project.
func (ProjectNextItem) IsNode ¶ added in v0.0.16
func (ProjectNextItem) IsNode()
type ProjectNextItemConnection ¶ added in v0.0.16
type ProjectNextItemConnection struct { // A list of edges. Edges []*ProjectNextItemEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ProjectNextItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectNextItem.
type ProjectNextItemContent ¶ added in v0.0.16
type ProjectNextItemContent interface {
IsProjectNextItemContent()
}
Types that can be inside Project Items.
type ProjectNextItemEdge ¶ added in v0.0.16
type ProjectNextItemEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectNextItem `json:"node,omitempty"` }
An edge in a connection.
type ProjectNextItemFieldValue ¶ added in v0.0.16
type ProjectNextItemFieldValue 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,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` ID string `json:"id"` // The project field that contains this value. ProjectField *ProjectNextField `json:"projectField,omitempty"` // The project item that contains this value. ProjectItem *ProjectNextItem `json:"projectItem,omitempty"` // Identifies the date and time when the object was last updated. UpdatedAt time.Time `json:"updatedAt"` // The value of a field Value *string `json:"value,omitempty"` }
An value of a field in an item of a new Project.
func (ProjectNextItemFieldValue) IsNode ¶ added in v0.0.16
func (ProjectNextItemFieldValue) IsNode()
type ProjectNextItemFieldValueConnection ¶ added in v0.0.16
type ProjectNextItemFieldValueConnection struct { // A list of edges. Edges []*ProjectNextItemFieldValueEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ProjectNextItemFieldValue `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for ProjectNextItemFieldValue.
type ProjectNextItemFieldValueEdge ¶ added in v0.0.16
type ProjectNextItemFieldValueEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The item at the end of the edge. Node *ProjectNextItemFieldValue `json:"node,omitempty"` }
An edge in a connection.
type ProjectNextOrderField ¶ added in v0.0.16
type ProjectNextOrderField string
Properties by which the return project can be ordered.
const ( // The project's title ProjectNextOrderFieldTitle ProjectNextOrderField = "TITLE" // The project's number ProjectNextOrderFieldNumber ProjectNextOrderField = "NUMBER" // The project's date and time of update ProjectNextOrderFieldUpdatedAt ProjectNextOrderField = "UPDATED_AT" // The project's date and time of creation ProjectNextOrderFieldCreatedAt ProjectNextOrderField = "CREATED_AT" )
func (ProjectNextOrderField) IsValid ¶ added in v0.0.16
func (e ProjectNextOrderField) IsValid() bool
func (ProjectNextOrderField) MarshalGQL ¶ added in v0.0.16
func (e ProjectNextOrderField) MarshalGQL(w io.Writer)
func (ProjectNextOrderField) String ¶ added in v0.0.16
func (e ProjectNextOrderField) String() string
func (*ProjectNextOrderField) UnmarshalGQL ¶ added in v0.0.16
func (e *ProjectNextOrderField) UnmarshalGQL(v interface{}) error
type ProjectNextOwner ¶ added in v0.0.16
type ProjectNextOwner interface {
IsProjectNextOwner()
}
Represents an owner of a project (beta).
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()
}
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 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` }
A user's public key.
type PublicKeyConnection ¶
type PublicKeyConnection struct { // A list of edges. Edges []*PublicKeyEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PublicKey `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type PullRequest ¶
type PullRequest struct { // Reason that the conversation was locked. ActiveLockReason *LockReason `json:"activeLockReason,omitempty"` // The number of additions in this pull request. Additions int `json:"additions"` // A list of Users assigned to this object. Assignees *UserConnection `json:"assignees,omitempty"` // The actor who authored the comment. Author Actor `json:"author,omitempty"` // 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,omitempty"` // Identifies the base Ref associated with the pull request. BaseRef *Ref `json:"baseRef,omitempty"` // 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,omitempty"` // 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,omitempty"` // List of issues that were may be closed by this pull request ClosingIssuesReferences *IssueConnection `json:"closingIssuesReferences,omitempty"` // A list of comments associated with the pull request. Comments *IssueCommentConnection `json:"comments,omitempty"` // A list of commits present in this pull request's head branch not present in the base branch. Commits *PullRequestCommitConnection `json:"commits,omitempty"` // 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,omitempty"` // 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,omitempty"` // Lists the files changed within this pull request. Files *PullRequestChangedFileConnection `json:"files,omitempty"` // Identifies the head Ref associated with the pull request. HeadRef *Ref `json:"headRef,omitempty"` // 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,omitempty"` // The owner of the repository associated with this pull request's head Ref. HeadRepositoryOwner RepositoryOwner `json:"headRepositoryOwner,omitempty"` // The hovercard information for this issue Hovercard *Hovercard `json:"hovercard,omitempty"` 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,omitempty"` // A list of labels associated with the object. Labels *LabelConnection `json:"labels,omitempty"` // The moment the editor made the last edit LastEditedAt *time.Time `json:"lastEditedAt,omitempty"` // A list of latest reviews per user associated with the pull request. LatestOpinionatedReviews *PullRequestReviewConnection `json:"latestOpinionatedReviews,omitempty"` // A list of latest reviews per user associated with the pull request that are not also pending review. LatestReviews *PullRequestReviewConnection `json:"latestReviews,omitempty"` // `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,omitempty"` // 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,omitempty"` // The actor who merged the pull request. MergedBy Actor `json:"mergedBy,omitempty"` // Identifies the milestone associated with the pull request. Milestone *Milestone `json:"milestone,omitempty"` // 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,omitempty"` // 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,omitempty"` // List of project cards associated with this pull request. ProjectCards *ProjectCardConnection `json:"projectCards,omitempty"` // Find a project by project (beta) number. ProjectNext *ProjectNext `json:"projectNext,omitempty"` // List of project (beta) items associated with this pull request. ProjectNextItems *ProjectNextItemConnection `json:"projectNextItems,omitempty"` // A list of projects (beta) under the owner. ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // A list of review requests associated with the pull request. ReviewRequests *ReviewRequestConnection `json:"reviewRequests,omitempty"` // The list of all review threads for this pull request. ReviewThreads *PullRequestReviewThreadConnection `json:"reviewThreads,omitempty"` // A list of reviews associated with the pull request. Reviews *PullRequestReviewConnection `json:"reviews,omitempty"` // 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,omitempty"` // A list of events, comments, commits, etc. associated with the pull request. Timeline *PullRequestTimelineConnection `json:"timeline,omitempty"` // A list of events, comments, commits, etc. associated with the pull request. TimelineItems *PullRequestTimelineItemsConnection `json:"timelineItems,omitempty"` // Identifies the pull request title. Title string `json:"title"` // Identifies the pull request title rendered to HTML. TitleHTML string `json:"titleHTML"` // 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,omitempty"` // 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"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` // The latest review given from the viewer. ViewerLatestReview *PullRequestReview `json:"viewerLatestReview,omitempty"` // The person who has requested the viewer for review on this pull request. ViewerLatestReviewRequest *ReviewRequest `json:"viewerLatestReviewRequest,omitempty"` // 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,omitempty"` }
A repository pull request.
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) IsProjectNextItemContent ¶ added in v0.0.16
func (PullRequest) IsProjectNextItemContent()
func (PullRequest) IsProjectNextOwner ¶ added in v0.0.16
func (PullRequest) IsProjectNextOwner()
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"` // 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,omitempty"` // A list of nodes. Nodes []*PullRequestChangedFile `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type PullRequestCommit ¶
type PullRequestCommit struct { // The Git commit object Commit *Commit `json:"commit,omitempty"` ID string `json:"id"` // The pull request this commit belongs to PullRequest *PullRequest `json:"pullRequest,omitempty"` // 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) 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,omitempty"` // The commit the comments were made on. Commit *Commit `json:"commit,omitempty"` ID string `json:"id"` // The file the comments were made on. Path *string `json:"path,omitempty"` // The position in the diff for the commit that the comment was made on. Position *int `json:"position,omitempty"` // The pull request this commit comment thread belongs to PullRequest *PullRequest `json:"pullRequest,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` }
Represents a commit comment thread part of a pull request.
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,omitempty"` // A list of nodes. Nodes []*PullRequestCommit `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type PullRequestConnection ¶
type PullRequestConnection struct { // A list of edges. Edges []*PullRequestEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*PullRequest `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The repository in which the pull requests were opened. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` }
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,omitempty"` // 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,omitempty"` // Identifies the commit associated with this pull request review. Commit *Commit `json:"commit,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // A list of teams that this review was made on behalf of. OnBehalfOf *TeamConnection `json:"onBehalfOf,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // Identifies the pull request associated with this pull request review. PullRequest *PullRequest `json:"pullRequest,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A review object for a given pull request.
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,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` 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,omitempty"` // Returns why the comment was minimized. MinimizedReason *string `json:"minimizedReason,omitempty"` // Identifies the original commit associated with the comment. OriginalCommit *Commit `json:"originalCommit,omitempty"` // 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,omitempty"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // The pull request associated with this review comment. PullRequest *PullRequest `json:"pullRequest,omitempty"` // The pull request review associated with this review comment. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The comment this is a reply to. ReplyTo *PullRequestReviewComment `json:"replyTo,omitempty"` // The repository associated with this node. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A review comment associated with a given repository pull request.
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,omitempty"` // A list of nodes. Nodes []*PullRequestReviewComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*PullRequestReview `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The repository in which the pull request reviews were made. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` }
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,omitempty"` // 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,omitempty"` // The original line in the file to which this thread refers. OriginalLine *int `json:"originalLine,omitempty"` // The original start line in the file to which this thread refers (multi-line only). OriginalStartLine *int `json:"originalStartLine,omitempty"` // Identifies the file path of this thread. Path string `json:"path"` // Identifies the pull request associated with this thread. PullRequest *PullRequest `json:"pullRequest,omitempty"` // Identifies the repository associated with this thread. Repository *Repository `json:"repository,omitempty"` // The user who resolved this thread ResolvedBy *User `json:"resolvedBy,omitempty"` // The side of the diff that the first line of the thread starts on (multi-line only) StartDiffSide *DiffSide `json:"startDiffSide,omitempty"` // The start line in the file to which this thread refers (multi-line only) StartLine *int `json:"startLine,omitempty"` // 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) 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,omitempty"` // A list of nodes. Nodes []*PullRequestReviewThread `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The pull request to which the marker belongs. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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.16
type PullRequestTemplate struct { // The body of the template Body *string `json:"body,omitempty"` // The filename of the template Filename *string `json:"filename,omitempty"` // The repository the template belongs to Repository *Repository `json:"repository,omitempty"` }
A repository pull request template.
type PullRequestTimelineConnection ¶
type PullRequestTimelineConnection struct { // A list of edges. Edges []*PullRequestTimelineItemEdge `json:"edges,omitempty"` // A list of nodes. Nodes []PullRequestTimelineItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // Identifies the count of items after applying `before` and `after` filters. FilteredCount int `json:"filteredCount"` // A list of nodes. Nodes []PullRequestTimelineItems `json:"nodes,omitempty"` // 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,omitempty"` // 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,omitempty"` }
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,omitempty"` // The permalink for this push. Permalink string `json:"permalink"` // The SHA before the push PreviousSha *string `json:"previousSha,omitempty"` // The actor who pushed Pusher Actor `json:"pusher,omitempty"` // The repository that was pushed to Repository *Repository `json:"repository,omitempty"` }
A Git push.
type PushAllowance ¶
type PushAllowance struct { // The actor that can push. Actor PushAllowanceActor `json:"actor,omitempty"` // Identifies the branch protection rule associated with the allowed user or team. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` ID string `json:"id"` }
A team, user or app who has the ability to push to a protected branch.
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,omitempty"` // A list of nodes. Nodes []*PushAllowance `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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()
}
Represents a subject that can be reacted on.
type ReactingUserConnection ¶
type ReactingUserConnection struct { // A list of edges. Edges []*ReactingUserEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` ID string `json:"id"` // The reactable piece of content Reactable Reactable `json:"reactable,omitempty"` // Identifies the user who created this reaction. User *User `json:"user,omitempty"` }
An emoji reaction to a particular piece of content.
type ReactionConnection ¶
type ReactionConnection struct { // A list of edges. Edges []*ReactionEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Reaction `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // Reactors to the reaction subject with the emotion represented by this reaction group. Reactors *ReactorConnection `json:"reactors,omitempty"` // The subject that was reacted to. Subject Reactable `json:"subject,omitempty"` // Users who have reacted to the reaction subject with the emotion represented by this reaction group Users *ReactingUserConnection `json:"users,omitempty"` // 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.16
type Reactor interface {
IsReactor()
}
Types that can be assigned to reactions.
type ReactorConnection ¶ added in v0.0.16
type ReactorConnection struct { // A list of edges. Edges []*ReactorEdge `json:"edges,omitempty"` // A list of nodes. Nodes []Reactor `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Reactor.
type ReactorEdge ¶ added in v0.0.16
type ReactorEdge struct { // A cursor for use in pagination. Cursor string `json:"cursor"` // The author of the reaction. Node Reactor `json:"node,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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) 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,omitempty"` // Branch protection rules for this ref BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` 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,omitempty"` // The repository the ref belongs to. Repository *Repository `json:"repository,omitempty"` // The object the ref points to. Returns null when object does not exist. Target GitObject `json:"target,omitempty"` }
Represents a Git reference.
type RefConnection ¶
type RefConnection struct { // A list of edges. Edges []*RefEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Ref `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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"` // Identifies the protection rule pattern. Pattern string `json:"pattern"` // Number of approving reviews required to update matching branches. RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"` // List of required status check contexts that must pass for commits to be accepted to matching branches. RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts,omitempty"` // 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,omitempty"` // Identifies the commit associated with the 'referenced' event. Commit *Commit `json:"commit,omitempty"` // Identifies the repository associated with the 'referenced' event. CommitRepository *Repository `json:"commitRepository,omitempty"` // 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,omitempty"` }
Represents a 'referenced' event on a given `ReferencedSubject`.
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,omitempty"` // The identity provider for the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"` }
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,omitempty"` // The verification token that was generated. VerificationToken *string `json:"verificationToken,omitempty"` }
Autogenerated return type of RegenerateVerifiableDomainToken
type RejectDeploymentsInput ¶ added in v0.0.16
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,omitempty"` // 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.16
type RejectDeploymentsPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The affected deployments. Deployments []*Deployment `json:"deployments,omitempty"` }
Autogenerated return type of RejectDeployments
type Release ¶
type Release struct { // The author of the release Author *User `json:"author,omitempty"` // 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,omitempty"` // The description of the release. Description *string `json:"description,omitempty"` // The description of this release rendered to HTML. DescriptionHTML *string `json:"descriptionHTML,omitempty"` 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,omitempty"` // The title of the release. Name *string `json:"name,omitempty"` // Identifies the date and time when the release was created. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // List of releases assets which are dependent on this release. ReleaseAssets *ReleaseAssetConnection `json:"releaseAssets,omitempty"` // The repository that the release belongs to. Repository *Repository `json:"repository,omitempty"` // 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,omitempty"` // The Git tag the release points to Tag *Ref `json:"tag,omitempty"` // The tag commit for this release. TagCommit *Commit `json:"tagCommit,omitempty"` // 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) IsReactable ¶ added in v0.0.16
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,omitempty"` // 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,omitempty"` // Identifies the URL of the release asset. URL string `json:"url"` }
A release asset contains the content for a release asset.
func (ReleaseAsset) IsNode ¶
func (ReleaseAsset) IsNode()
type ReleaseAssetConnection ¶
type ReleaseAssetConnection struct { // A list of edges. Edges []*ReleaseAssetEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ReleaseAsset `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type ReleaseConnection ¶
type ReleaseConnection struct { // A list of edges. Edges []*ReleaseEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Release `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // 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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of removing an administrator. Message *string `json:"message,omitempty"` // The viewer performing the mutation. Viewer *User `json:"viewer,omitempty"` }
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,omitempty"` // The identity provider that was removed from the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"` }
Autogenerated return type of RemoveEnterpriseIdentityProvider
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,omitempty"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise,omitempty"` // The organization that was removed from the enterprise. Organization *Organization `json:"organization,omitempty"` // The viewer performing the mutation. Viewer *User `json:"viewer,omitempty"` }
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,omitempty"` // A message confirming the result of removing the support entitlement. Message *string `json:"message,omitempty"` }
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,omitempty"` // 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,omitempty"` // The Labelable the labels were removed from. Labelable Labelable `json:"labelable,omitempty"` }
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,omitempty"` // The user that was removed as an outside collaborator. RemovedUser *User `json:"removedUser,omitempty"` }
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,omitempty"` // The reaction object. Reaction *Reaction `json:"reaction,omitempty"` // The reactable subject. Subject Reactable `json:"subject,omitempty"` }
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,omitempty"` // The starrable. Starrable Starrable `json:"starrable,omitempty"` }
Autogenerated return type of RemoveStar
type RemoveUpvoteInput ¶ added in v0.0.16
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.16
type RemoveUpvotePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The votable subject. Subject Votable `json:"subject,omitempty"` }
Autogenerated return type of RemoveUpvote
type RemovedFromProjectEvent ¶
type RemovedFromProjectEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` ID string `json:"id"` }
Represents a 'removed_from_project' event on a given issue or pull request.
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,omitempty"` // 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,omitempty"` }
Represents a 'renamed' event on a given issue or pull request
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,omitempty"` // The issue that was opened. Issue *Issue `json:"issue,omitempty"` }
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,omitempty"` // The pull request that was reopened. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
Autogenerated return type of ReopenPullRequest
type ReopenedEvent ¶
type ReopenedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // Object that was reopened. Closable Closable `json:"closable,omitempty"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` ID string `json:"id"` }
Represents a 'reopened' event on any `Closable`.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoAccessAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.access event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoAddMemberAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.add_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The name of the topic added to the repository Topic *Topic `json:"topic,omitempty"` // The name of the topic added to the repository TopicName *string `json:"topicName,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.add_topic event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoArchivedAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.archived event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The merge method affected by the change MergeType *RepoChangeMergeSettingAuditEntryMergeType `json:"mergeType,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.change_merge_setting event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.disable_anonymous_git_access event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.disable_collaborators_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.disable_contributors_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.disable_sockpuppet_disallowed event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.enable_anonymous_git_access event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.enable_collaborators_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.enable_contributors_only event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.enable_sockpuppet_disallowed event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.lock_anonymous_git_access event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.config.unlock_anonymous_git_access event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The name of the parent repository for this forked repository. ForkParentName *string `json:"forkParentName,omitempty"` // The name of the root repository for this network. ForkSourceName *string `json:"forkSourceName,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoCreateAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.create event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoDestroyAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.destroy event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` // The visibility of the repository Visibility *RepoRemoveMemberAuditEntryVisibility `json:"visibility,omitempty"` }
Audit log entry for a repo.remove_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The name of the topic added to the repository Topic *Topic `json:"topic,omitempty"` // The name of the topic added to the repository TopicName *string `json:"topicName,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repo.remove_topic event.
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 { // A list of users that can be assigned to issues in this repository. AssignableUsers *UserConnection `json:"assignableUsers,omitempty"` // 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,omitempty"` // Returns the code of conduct for this repository CodeOfConduct *CodeOfConduct `json:"codeOfConduct,omitempty"` // Information extracted from the repository's `CODEOWNERS` file. Codeowners *RepositoryCodeowners `json:"codeowners,omitempty"` // A list of collaborators associated with the repository. Collaborators *RepositoryCollaboratorConnection `json:"collaborators,omitempty"` // A list of commit comments associated with the repository. CommitComments *CommitCommentConnection `json:"commitComments,omitempty"` // Returns a list of contact links associated to the repository ContactLinks []*RepositoryContactLink `json:"contactLinks,omitempty"` // 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,omitempty"` // The Ref associated with the repository's default branch. DefaultBranchRef *Ref `json:"defaultBranchRef,omitempty"` // 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,omitempty"` // Deployments associated with the repository Deployments *DeploymentConnection `json:"deployments,omitempty"` // The description of the repository. Description *string `json:"description,omitempty"` // 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,omitempty"` // A list of discussion categories that are available in the repository. DiscussionCategories *DiscussionCategoryConnection `json:"discussionCategories,omitempty"` // A list of discussions that have been opened in the repository. Discussions *DiscussionConnection `json:"discussions,omitempty"` // The number of kilobytes this repository occupies on disk. DiskUsage *int `json:"diskUsage,omitempty"` // Returns a single active environment from the current repository by name. Environment *Environment `json:"environment,omitempty"` // A list of environments that are in this repository. Environments *EnvironmentConnection `json:"environments,omitempty"` // 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,omitempty"` // The funding links for this repository FundingLinks []*FundingLink `json:"fundingLinks,omitempty"` // 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"` // Indicates if the repository has wiki feature enabled. HasWikiEnabled bool `json:"hasWikiEnabled"` // The repository's URL. HomepageURL *string `json:"homepageUrl,omitempty"` ID string `json:"id"` // The interaction ability settings for this repository. InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"` // 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,omitempty"` // 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,omitempty"` // Returns a single issue-like object from the current repository by number. IssueOrPullRequest IssueOrPullRequest `json:"issueOrPullRequest,omitempty"` // Returns a list of issue templates associated to the repository IssueTemplates []*IssueTemplate `json:"issueTemplates,omitempty"` // A list of issues that have been opened in the repository. Issues *IssueConnection `json:"issues,omitempty"` // Returns a single label by name Label *Label `json:"label,omitempty"` // A list of labels associated with the repository. Labels *LabelConnection `json:"labels,omitempty"` // A list containing a breakdown of the language composition of the repository. Languages *LanguageConnection `json:"languages,omitempty"` // Get the latest release for the repository if one exists. LatestRelease *Release `json:"latestRelease,omitempty"` // The license associated with the repository LicenseInfo *License `json:"licenseInfo,omitempty"` // The reason the repository has been locked. LockReason *RepositoryLockReason `json:"lockReason,omitempty"` // A list of Users that can be mentioned in the context of the repository. MentionableUsers *UserConnection `json:"mentionableUsers,omitempty"` // Whether or not PRs are merged with a merge commit on this repository. MergeCommitAllowed bool `json:"mergeCommitAllowed"` // Returns a single milestone from the current repository by number. Milestone *Milestone `json:"milestone,omitempty"` // A list of milestones associated with the repository. Milestones *MilestoneConnection `json:"milestones,omitempty"` // The repository's original mirror URL. MirrorURL *string `json:"mirrorUrl,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of packages under the owner. Packages *PackageConnection `json:"packages,omitempty"` // The repository parent, if this is a fork. Parent *Repository `json:"parent,omitempty"` // A list of discussions that have been pinned in this repository. PinnedDiscussions *PinnedDiscussionConnection `json:"pinnedDiscussions,omitempty"` // A list of pinned issues for this repository. PinnedIssues *PinnedIssueConnection `json:"pinnedIssues,omitempty"` // The primary language of the repository's code. PrimaryLanguage *Language `json:"primaryLanguage,omitempty"` // Find project by number. Project *Project `json:"project,omitempty"` // Finds and returns the Project (beta) according to the provided Project (beta) number. ProjectNext *ProjectNext `json:"projectNext,omitempty"` // A list of projects under the owner. Projects *ProjectConnection `json:"projects,omitempty"` // List of projects (beta) linked to this repository. ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"` // The HTTP path listing the repository's projects ProjectsResourcePath string `json:"projectsResourcePath"` // The HTTP URL listing the repository's projects ProjectsURL string `json:"projectsUrl"` // Returns a single pull request from the current repository by number. PullRequest *PullRequest `json:"pullRequest,omitempty"` // Returns a list of pull request templates associated to the repository PullRequestTemplates []*PullRequestTemplate `json:"pullRequestTemplates,omitempty"` // A list of pull requests that have been opened in the repository. PullRequests *PullRequestConnection `json:"pullRequests,omitempty"` // Identifies when the repository was last pushed to. PushedAt *time.Time `json:"pushedAt,omitempty"` // Whether or not rebase-merging is enabled on this repository. RebaseMergeAllowed bool `json:"rebaseMergeAllowed"` // Fetch a given ref from the repository Ref *Ref `json:"ref,omitempty"` // Fetch a list of refs from the repository Refs *RefConnection `json:"refs,omitempty"` // Lookup a single release given various criteria. Release *Release `json:"release,omitempty"` // List of releases which are dependent on this repository. Releases *ReleaseConnection `json:"releases,omitempty"` // A list of applied repository-topic associations for this repository. RepositoryTopics *RepositoryTopicConnection `json:"repositoryTopics,omitempty"` // The HTTP path for this repository ResourcePath string `json:"resourcePath"` // The security policy URL. SecurityPolicyURL *string `json:"securityPolicyUrl,omitempty"` // 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"` // 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,omitempty"` // 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,omitempty"` // Temporary authentication token for cloning this repository. TempCloneToken *string `json:"tempCloneToken,omitempty"` // The repository from which this repository was generated, if any. TemplateRepository *Repository `json:"templateRepository,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of emails this viewer can commit with. ViewerPossibleCommitEmails []string `json:"viewerPossibleCommitEmails,omitempty"` // Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"` // Indicates the repository's visibility level. Visibility RepositoryVisibility `json:"visibility"` // A list of vulnerability alerts that are on this repository. VulnerabilityAlerts *RepositoryVulnerabilityAlertConnection `json:"vulnerabilityAlerts,omitempty"` // A list of users watching the repository. Watchers *UserConnection `json:"watchers,omitempty"` }
A repository contains the content for a project.
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) IsRepositoryInfo ¶
func (Repository) IsRepositoryInfo()
func (Repository) IsSearchResultItem ¶
func (Repository) IsSearchResultItem()
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()
}
Metadata for an audit entry with action repo.*
type RepositoryCodeowners ¶ added in v0.0.16
type RepositoryCodeowners struct { // Any problems that were encountered while parsing the `CODEOWNERS` file. Errors []*RepositoryCodeownersError `json:"errors,omitempty"` }
Information extracted from a repository's `CODEOWNERS` file.
type RepositoryCodeownersError ¶ added in v0.0.16
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,omitempty"` }
An error in a `CODEOWNERS` file.
type RepositoryCollaboratorConnection ¶
type RepositoryCollaboratorConnection struct { // A list of edges. Edges []*RepositoryCollaboratorEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` }
Represents a user who is a collaborator of a repository.
type RepositoryConnection ¶
type RepositoryConnection struct { // A list of edges. Edges []*RepositoryEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Repository `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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.16
type RepositoryDiscussionAuthor interface {
IsRepositoryDiscussionAuthor()
}
Represents an author of discussions in repositories.
type RepositoryDiscussionCommentAuthor ¶ added in v0.0.16
type RepositoryDiscussionCommentAuthor interface {
IsRepositoryDiscussionCommentAuthor()
}
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,omitempty"` }
An edge in a connection.
type RepositoryFragment ¶ added in v0.0.16
type RepositoryInfo ¶
type RepositoryInfo interface {
IsRepositoryInfo()
}
A subset of repository info.
type RepositoryInteractionAbility ¶
type RepositoryInteractionAbility struct { // The time the currently active limit expires. ExpiresAt *time.Time `json:"expiresAt,omitempty"` // 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,omitempty"` ID string `json:"id"` // The user who received the invitation. Invitee *User `json:"invitee,omitempty"` // The user who created the invitation. Inviter *User `json:"inviter,omitempty"` // 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,omitempty"` }
An invitation for a user to be added to a repository.
func (RepositoryInvitation) IsNode ¶
func (RepositoryInvitation) IsNode()
type RepositoryInvitationConnection ¶
type RepositoryInvitationConnection struct { // A list of edges. Edges []*RepositoryInvitationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*RepositoryInvitation `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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" )
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.16
type RepositoryMigration struct { // The Octoshift 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"` // The reason the migration failed. FailureReason *string `json:"failureReason,omitempty"` ID string `json:"id"` // The Octoshift migration source. MigrationSource *MigrationSource `json:"migrationSource,omitempty"` // The Octoshift migration source URL. SourceURL string `json:"sourceUrl"` // The Octoshift migration state. State MigrationState `json:"state"` }
An Octoshift repository migration.
func (RepositoryMigration) IsMigration ¶ added in v0.0.16
func (RepositoryMigration) IsMigration()
func (RepositoryMigration) IsNode ¶ added in v0.0.16
func (RepositoryMigration) IsNode()
type RepositoryMigrationConnection ¶ added in v0.0.16
type RepositoryMigrationConnection struct { // A list of edges. Edges []*RepositoryMigrationEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*RepositoryMigration `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RepositoryMigration.
type RepositoryMigrationEdge ¶ added in v0.0.16
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,omitempty"` }
Represents a repository migration.
type RepositoryMigrationOrder ¶ added in v0.0.16
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.16
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.16
func (e RepositoryMigrationOrderDirection) IsValid() bool
func (RepositoryMigrationOrderDirection) MarshalGQL ¶ added in v0.0.16
func (e RepositoryMigrationOrderDirection) MarshalGQL(w io.Writer)
func (RepositoryMigrationOrderDirection) String ¶ added in v0.0.16
func (e RepositoryMigrationOrderDirection) String() string
func (*RepositoryMigrationOrderDirection) UnmarshalGQL ¶ added in v0.0.16
func (e *RepositoryMigrationOrderDirection) UnmarshalGQL(v interface{}) error
type RepositoryMigrationOrderField ¶ added in v0.0.16
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.16
func (e RepositoryMigrationOrderField) IsValid() bool
func (RepositoryMigrationOrderField) MarshalGQL ¶ added in v0.0.16
func (e RepositoryMigrationOrderField) MarshalGQL(w io.Writer)
func (RepositoryMigrationOrderField) String ¶ added in v0.0.16
func (e RepositoryMigrationOrderField) String() string
func (*RepositoryMigrationOrderField) UnmarshalGQL ¶ added in v0.0.16
func (e *RepositoryMigrationOrderField) UnmarshalGQL(v interface{}) error
type RepositoryNode ¶
type RepositoryNode interface {
IsRepositoryNode()
}
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()
}
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,omitempty"` // The HTTP URL for this repository-topic. URL string `json:"url"` }
A repository-topic connects a repository to a topic.
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,omitempty"` // A list of nodes. Nodes []*RepositoryTopic `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repository_visibility_change.disable event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // The time the action was initiated CreatedAt string `json:"createdAt"` // The HTTP path for this enterprise. EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"` // The slug of the enterprise. EnterpriseSlug *string `json:"enterpriseSlug,omitempty"` // The HTTP URL for this enterprise. EnterpriseURL *string `json:"enterpriseUrl,omitempty"` ID string `json:"id"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a repository_visibility_change.enable event.
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 reason the alert was dismissed DismissReason *string `json:"dismissReason,omitempty"` // When was the alert dismissed? DismissedAt *time.Time `json:"dismissedAt,omitempty"` // The user who dismissed the alert Dismisser *User `json:"dismisser,omitempty"` // The reason the alert was marked as fixed. FixReason *string `json:"fixReason,omitempty"` // When was the alert fixed? FixedAt *time.Time `json:"fixedAt,omitempty"` ID string `json:"id"` // Identifies the alert number. Number int `json:"number"` // The associated repository Repository *Repository `json:"repository,omitempty"` // The associated security advisory SecurityAdvisory *SecurityAdvisory `json:"securityAdvisory,omitempty"` // The associated security vulnerability SecurityVulnerability *SecurityVulnerability `json:"securityVulnerability,omitempty"` // 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,omitempty"` }
A Dependabot alert for a repository with a dependency affected by a security vulnerability.
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,omitempty"` // A list of nodes. Nodes []*RepositoryVulnerabilityAlert `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for RepositoryVulnerabilityAlert.
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,omitempty"` }
An edge in a connection.
type RepositoryVulnerabilityAlertState ¶ added in v0.0.16
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.16
func (e RepositoryVulnerabilityAlertState) IsValid() bool
func (RepositoryVulnerabilityAlertState) MarshalGQL ¶ added in v0.0.16
func (e RepositoryVulnerabilityAlertState) MarshalGQL(w io.Writer)
func (RepositoryVulnerabilityAlertState) String ¶ added in v0.0.16
func (e RepositoryVulnerabilityAlertState) String() string
func (*RepositoryVulnerabilityAlertState) UnmarshalGQL ¶ added in v0.0.16
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The pull request that is getting requests. PullRequest *PullRequest `json:"pullRequest,omitempty"` // The edge from the pull request to the requested reviewers. RequestedReviewersEdge *UserEdge `json:"requestedReviewersEdge,omitempty"` }
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 RequirableByPullRequest ¶
type RequirableByPullRequest interface {
IsRequirableByPullRequest()
}
Represents a type that can be required by a pull request for merging.
type RequiredStatusCheckDescription ¶ added in v0.0.16
type RequiredStatusCheckDescription struct { // The App that must provide this status in order for it to be accepted. App *App `json:"app,omitempty"` // 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.16
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // The thread to resolve. Thread *PullRequestReviewThread `json:"thread,omitempty"` }
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,omitempty"` }
Represents a private contribution a user made on GitHub.
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 ReviewDismissalAllowance ¶
type ReviewDismissalAllowance struct { // The actor that can dismiss. Actor ReviewDismissalAllowanceActor `json:"actor,omitempty"` // Identifies the branch protection rule associated with the allowed user or team. BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"` ID string `json:"id"` }
A team or user who has the ability to dismiss a review on a protected branch.
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,omitempty"` // A list of nodes. Nodes []*ReviewDismissalAllowance `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type ReviewDismissedEvent ¶
type ReviewDismissedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Identifies the optional message associated with the 'review_dismissed' event. DismissalMessage *string `json:"dismissalMessage,omitempty"` // Identifies the optional message associated with the event, rendered to HTML. DismissalMessageHTML *string `json:"dismissalMessageHTML,omitempty"` 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,omitempty"` // Identifies the commit which caused the review to become stale. PullRequestCommit *PullRequestCommit `json:"pullRequestCommit,omitempty"` // 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,omitempty"` // 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) 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,omitempty"` ID string `json:"id"` // Identifies the pull request associated with this review request. PullRequest *PullRequest `json:"pullRequest,omitempty"` // The reviewer that is requested. RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"` }
A request for a user to review a pull request.
func (ReviewRequest) IsNode ¶
func (ReviewRequest) IsNode()
type ReviewRequestConnection ¶
type ReviewRequestConnection struct { // A list of edges. Edges []*ReviewRequestEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*ReviewRequest `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type ReviewRequestRemovedEvent ¶
type ReviewRequestRemovedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Identifies the reviewer whose review request was removed. RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"` }
Represents an 'review_request_removed' event on a given pull request.
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,omitempty"` // 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,omitempty"` // Identifies the reviewer whose review was requested. RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"` }
Represents an 'review_requested' event on a given pull request.
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,omitempty"` }
A hovercard context with a message describing the current code review state of the pull request.
func (ReviewStatusHovercardContext) IsHovercardContext ¶
func (ReviewStatusHovercardContext) IsHovercardContext()
type RevokeEnterpriseOrganizationsMigratorRoleInput ¶ added in v0.0.16
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.16
type RevokeEnterpriseOrganizationsMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The organizations that had the migrator role revoked for the given user. Organizations *OrganizationConnection `json:"organizations,omitempty"` }
Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole
type RevokeMigratorRoleInput ¶ added in v0.0.16
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.16
type RevokeMigratorRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // Did the operation succeed? Success *bool `json:"success,omitempty"` }
Autogenerated return type of RevokeMigratorRole
type RoleInOrganization ¶ added in v0.0.16
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.16
func (e RoleInOrganization) IsValid() bool
func (RoleInOrganization) MarshalGQL ¶ added in v0.0.16
func (e RoleInOrganization) MarshalGQL(w io.Writer)
func (RoleInOrganization) String ¶ added in v0.0.16
func (e RoleInOrganization) String() string
func (*RoleInOrganization) UnmarshalGQL ¶ added in v0.0.16
func (e *RoleInOrganization) UnmarshalGQL(v interface{}) error
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,omitempty"` ID string `json:"id"` // The title of the saved reply. Title string `json:"title"` // The user that saved this reply. User Actor `json:"user,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*SavedReply `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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 number of pieces of code that matched the search query. CodeCount int `json:"codeCount"` // The number of discussions that matched the search query. DiscussionCount int `json:"discussionCount"` // A list of edges. Edges []*SearchResultItemEdge `json:"edges,omitempty"` // The number of issues that matched the search query. IssueCount int `json:"issueCount"` // A list of nodes. Nodes []SearchResultItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // The number of repositories that matched the search query. RepositoryCount int `json:"repositoryCount"` // The number of users that matched the search query. UserCount int `json:"userCount"` // The number of wiki pages that matched the search query. WikiCount int `json:"wikiCount"` }
A list of results that matched against a search query.
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,omitempty"` // Text matches on the result found. TextMatches []*TextMatch `json:"textMatches,omitempty"` }
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 CVSS associated with this advisory Cvss *Cvss `json:"cvss,omitempty"` // CWEs associated with this Advisory Cwes *CWEConnection `json:"cwes,omitempty"` // Identifies the primary key from the database. DatabaseID *int `json:"databaseId,omitempty"` // 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,omitempty"` // The permalink for the advisory's dependabot alerts page NotificationsPermalink *string `json:"notificationsPermalink,omitempty"` // The organization that originated the advisory Origin string `json:"origin"` // The permalink for the advisory Permalink *string `json:"permalink,omitempty"` // When the advisory was published PublishedAt time.Time `json:"publishedAt"` // A list of references for this advisory References []*SecurityAdvisoryReference `json:"references,omitempty"` // 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,omitempty"` // When the advisory was withdrawn, if it has been withdrawn WithdrawnAt *time.Time `json:"withdrawnAt,omitempty"` }
A GitHub Security Advisory
func (SecurityAdvisory) IsNode ¶
func (SecurityAdvisory) IsNode()
type SecurityAdvisoryConnection ¶
type SecurityAdvisoryConnection struct { // A list of edges. Edges []*SecurityAdvisoryEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*SecurityAdvisory `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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" // 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" // 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,omitempty"` }
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,omitempty"` // The first version containing a fix for the vulnerability FirstPatchedVersion *SecurityAdvisoryPackageVersion `json:"firstPatchedVersion,omitempty"` // A description of the vulnerable package Package *SecurityAdvisoryPackage `json:"package,omitempty"` // 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,omitempty"` // A list of nodes. Nodes []*SecurityVulnerability `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The identity provider for the enterprise. IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"` }
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,omitempty"` // The organization that the interaction limit was set for. Organization *Organization `json:"organization,omitempty"` }
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,omitempty"` // The repository that the interaction limit was set for. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` // The user that the interaction limit was set for. User *User `json:"user,omitempty"` }
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,omitempty"` // 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) IsGitSignature ¶
func (SmimeSignature) IsGitSignature()
type Sponsor ¶
type Sponsor interface {
IsSponsor()
}
Entities that can sponsor others via GitHub Sponsors
type SponsorConnection ¶ added in v0.0.16
type SponsorConnection struct { // A list of edges. Edges []*SponsorEdge `json:"edges,omitempty"` // A list of nodes. Nodes []Sponsor `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for Sponsor.
type SponsorEdge ¶ added in v0.0.16
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,omitempty"` }
Represents a user or organization who is sponsoring someone in GitHub Sponsors.
type SponsorOrder ¶ added in v0.0.16
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.16
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.16
func (e SponsorOrderField) IsValid() bool
func (SponsorOrderField) MarshalGQL ¶ added in v0.0.16
func (e SponsorOrderField) MarshalGQL(w io.Writer)
func (SponsorOrderField) String ¶ added in v0.0.16
func (e SponsorOrderField) String() string
func (*SponsorOrderField) UnmarshalGQL ¶ added in v0.0.16
func (e *SponsorOrderField) UnmarshalGQL(v interface{}) error
type Sponsorable ¶
type Sponsorable interface {
IsSponsorable()
}
Entities that can 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,omitempty"` // A list of nodes. Nodes []SponsorableItem `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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.16
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,omitempty"` // The user or organization who triggered this activity and was/is sponsoring the sponsorable. Sponsor Sponsor `json:"sponsor,omitempty"` // The user or organization that is being sponsored, the maintainer. Sponsorable Sponsorable `json:"sponsorable,omitempty"` // The associated sponsorship tier. SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"` // The timestamp of this event. Timestamp *time.Time `json:"timestamp,omitempty"` }
An event related to sponsorship activity.
func (SponsorsActivity) IsNode ¶ added in v0.0.16
func (SponsorsActivity) IsNode()
type SponsorsActivityAction ¶ added in v0.0.16
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.16
func (e SponsorsActivityAction) IsValid() bool
func (SponsorsActivityAction) MarshalGQL ¶ added in v0.0.16
func (e SponsorsActivityAction) MarshalGQL(w io.Writer)
func (SponsorsActivityAction) String ¶ added in v0.0.16
func (e SponsorsActivityAction) String() string
func (*SponsorsActivityAction) UnmarshalGQL ¶ added in v0.0.16
func (e *SponsorsActivityAction) UnmarshalGQL(v interface{}) error
type SponsorsActivityConnection ¶ added in v0.0.16
type SponsorsActivityConnection struct { // A list of edges. Edges []*SponsorsActivityEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*SponsorsActivity `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorsActivity.
type SponsorsActivityEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type SponsorsActivityOrder ¶ added in v0.0.16
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.16
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.16
func (e SponsorsActivityOrderField) IsValid() bool
func (SponsorsActivityOrderField) MarshalGQL ¶ added in v0.0.16
func (e SponsorsActivityOrderField) MarshalGQL(w io.Writer)
func (SponsorsActivityOrderField) String ¶ added in v0.0.16
func (e SponsorsActivityOrderField) String() string
func (*SponsorsActivityOrderField) UnmarshalGQL ¶ added in v0.0.16
func (e *SponsorsActivityOrderField) UnmarshalGQL(v interface{}) error
type SponsorsActivityPeriod ¶ added in v0.0.16
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.16
func (e SponsorsActivityPeriod) IsValid() bool
func (SponsorsActivityPeriod) MarshalGQL ¶ added in v0.0.16
func (e SponsorsActivityPeriod) MarshalGQL(w io.Writer)
func (SponsorsActivityPeriod) String ¶ added in v0.0.16
func (e SponsorsActivityPeriod) String() string
func (*SponsorsActivityPeriod) UnmarshalGQL ¶ added in v0.0.16
func (e *SponsorsActivityPeriod) UnmarshalGQL(v interface{}) error
type SponsorsGoal ¶
type SponsorsGoal struct { // A description of the goal from the maintainer. Description *string `json:"description,omitempty"` // 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,omitempty"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // 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,omitempty"` // 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,omitempty"` // The published tiers for this GitHub Sponsors listing. Tiers *SponsorsTierConnection `json:"tiers,omitempty"` }
A GitHub Sponsors listing.
func (SponsorsListing) IsNode ¶
func (SponsorsListing) IsNode()
type SponsorsTier ¶
type SponsorsTier struct { // SponsorsTier information only visible to users that can administer the associated Sponsors listing. AdminInfo *SponsorsTierAdminInfo `json:"adminInfo,omitempty"` // Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over. ClosestLesserValueTier *SponsorsTier `json:"closestLesserValueTier,omitempty"` // 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,omitempty"` // 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) IsNode ¶
func (SponsorsTier) IsNode()
type SponsorsTierAdminInfo ¶
type SponsorsTierAdminInfo struct { // The sponsorships associated with this tier. Sponsorships *SponsorshipConnection `json:"sponsorships,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*SponsorsTier `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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 this sponsorship represents a one-time payment versus a recurring sponsorship. IsOneTimePayment bool `json:"isOneTimePayment"` // Check if the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this. IsSponsorOptedIntoEmail *bool `json:"isSponsorOptedIntoEmail,omitempty"` // The entity that is being sponsored Maintainer *User `json:"maintainer,omitempty"` // 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,omitempty"` // The user or organization that is sponsoring, if you have permission to view them. SponsorEntity Sponsor `json:"sponsorEntity,omitempty"` // The entity that is being sponsored Sponsorable Sponsorable `json:"sponsorable,omitempty"` // The associated sponsorship tier Tier *SponsorsTier `json:"tier,omitempty"` // Identifies the date and time when the current tier was chosen for this sponsorship. TierSelectedAt *time.Time `json:"tierSelectedAt,omitempty"` }
A sponsorship relationship between a sponsor and a maintainer
func (Sponsorship) IsNode ¶
func (Sponsorship) IsNode()
type SponsorshipConnection ¶
type SponsorshipConnection struct { // A list of edges. Edges []*SponsorshipEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*Sponsorship `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type SponsorshipNewsletter ¶ added in v0.0.16
type SponsorshipNewsletter struct { // 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,omitempty"` // 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) IsNode ¶ added in v0.0.16
func (SponsorshipNewsletter) IsNode()
type SponsorshipNewsletterConnection ¶ added in v0.0.16
type SponsorshipNewsletterConnection struct { // A list of edges. Edges []*SponsorshipNewsletterEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*SponsorshipNewsletter `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // Identifies the total count of items in the connection. TotalCount int `json:"totalCount"` }
The connection type for SponsorshipNewsletter.
type SponsorshipNewsletterEdge ¶ added in v0.0.16
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,omitempty"` }
An edge in a connection.
type SponsorshipNewsletterOrder ¶ added in v0.0.16
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.16
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.16
func (e SponsorshipNewsletterOrderField) IsValid() bool
func (SponsorshipNewsletterOrderField) MarshalGQL ¶ added in v0.0.16
func (e SponsorshipNewsletterOrderField) MarshalGQL(w io.Writer)
func (SponsorshipNewsletterOrderField) String ¶ added in v0.0.16
func (e SponsorshipNewsletterOrderField) String() string
func (*SponsorshipNewsletterOrderField) UnmarshalGQL ¶ added in v0.0.16
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 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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // Identifies when the item was starred. StarredAt time.Time `json:"starredAt"` }
Represents a user that's starred a repository.
type StarredRepositoryConnection ¶
type StarredRepositoryConnection struct { // A list of edges. Edges []*StarredRepositoryEdge `json:"edges,omitempty"` // 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,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // Identifies when the item was starred. StarredAt time.Time `json:"starredAt"` }
Represents a starred repository.
type StartRepositoryMigrationInput ¶ added in v0.0.16
type StartRepositoryMigrationInput struct { // The ID of the Octoshift migration source. SourceID string `json:"sourceId"` // The ID of the organization that will own the imported repository. OwnerID string `json:"ownerId"` // The Octoshift migration source repository URL. SourceRepositoryURL string `json:"sourceRepositoryUrl"` // The name of the imported repository. RepositoryName string `json:"repositoryName"` // Whether to continue the migration on error 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 Octoshift migration source access token. AccessToken *string `json:"accessToken,omitempty"` // 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 StartRepositoryMigration
type StartRepositoryMigrationPayload ¶ added in v0.0.16
type StartRepositoryMigrationPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The new Octoshift repository migration. RepositoryMigration *RepositoryMigration `json:"repositoryMigration,omitempty"` }
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,omitempty"` // The commit this status is attached to. Commit *Commit `json:"commit,omitempty"` // Looks up an individual status context by context name. Context *StatusContext `json:"context,omitempty"` // The individual status contexts for this commit. Contexts []*StatusContext `json:"contexts,omitempty"` 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,omitempty"` // A list of status contexts and check runs for this commit. Contexts *StatusCheckRollupContextConnection `json:"contexts,omitempty"` 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) IsNode ¶
func (StatusCheckRollup) IsNode()
type StatusCheckRollupContext ¶
type StatusCheckRollupContext interface {
IsStatusCheckRollupContext()
}
Types that can be inside a StatusCheckRollup context.
type StatusCheckRollupContextConnection ¶
type StatusCheckRollupContextConnection struct { // A list of edges. Edges []*StatusCheckRollupContextEdge `json:"edges,omitempty"` // A list of nodes. Nodes []StatusCheckRollupContext `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // This commit this status context is attached to. Commit *Commit `json:"commit,omitempty"` // 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,omitempty"` // The description for this status context. Description *string `json:"description,omitempty"` 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,omitempty"` }
Represents an individual commit status context
func (StatusContext) IsNode ¶
func (StatusContext) IsNode()
func (StatusContext) IsRequirableByPullRequest ¶
func (StatusContext) IsRequirableByPullRequest()
func (StatusContext) IsStatusCheckRollupContext ¶
func (StatusContext) IsStatusCheckRollupContext()
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 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,omitempty"` // The submitted pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` }
Autogenerated return type of SubmitPullRequestReview
type Submodule ¶
type Submodule struct { // The branch of the upstream submodule for tracking updates Branch *string `json:"branch,omitempty"` // The git URL of the submodule repository GitURL string `json:"gitUrl"` // The name of the submodule in .gitmodules Name string `json:"name"` // The path in the superproject that this submodule is located in Path string `json:"path"` // The commit revision of the subproject repository being tracked by the submodule SubprojectCommitOid *string `json:"subprojectCommitOid,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*Submodule `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
An edge in a connection.
type Subscribable ¶
type Subscribable interface {
IsSubscribable()
}
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,omitempty"` // 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,omitempty"` }
Represents a 'subscribed' event on a given `Subscribable`.
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,omitempty"` }
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,omitempty"` // 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,omitempty"` // Details about the tag author. Tagger *GitActor `json:"tagger,omitempty"` // The Git object the tag points to. Target GitObject `json:"target,omitempty"` }
Represents a Git tag.
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,omitempty"` // A URL pointing to the team's avatar. AvatarURL *string `json:"avatarUrl,omitempty"` // List of child teams belonging to this team ChildTeams *TeamConnection `json:"childTeams,omitempty"` // 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,omitempty"` // The description of the team. Description *string `json:"description,omitempty"` // Find a team discussion by its number. Discussion *TeamDiscussion `json:"discussion,omitempty"` // A list of team discussions. Discussions *TeamDiscussionConnection `json:"discussions,omitempty"` // 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,omitempty"` // Get the status messages members of this entity have set that are either public or visible only to the organization. MemberStatuses *UserStatusConnection `json:"memberStatuses,omitempty"` // A list of users who are members of this team. Members *TeamMemberConnection `json:"members,omitempty"` // 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,omitempty"` // The parent team of the team. ParentTeam *Team `json:"parentTeam,omitempty"` // The level of privacy the team has. Privacy TeamPrivacy `json:"privacy"` // A list of repositories this team has access to. Repositories *TeamRepositoryConnection `json:"repositories,omitempty"` // 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,omitempty"` }
A team of users in an organization.
func (Team) IsBranchActorAllowanceActor ¶ added in v0.0.16
func (Team) IsBranchActorAllowanceActor()
func (Team) IsDeploymentReviewer ¶ added in v0.0.16
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The team associated with the action Team *Team `json:"team,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a team.add_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The team associated with the action Team *Team `json:"team,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a team.add_repository event.
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()
}
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The new parent team. ParentTeam *Team `json:"parentTeam,omitempty"` // The name of the new parent team ParentTeamName *string `json:"parentTeamName,omitempty"` // The name of the former parent team ParentTeamNameWas *string `json:"parentTeamNameWas,omitempty"` // The HTTP path for the parent team ParentTeamResourcePath *string `json:"parentTeamResourcePath,omitempty"` // The HTTP URL for the parent team ParentTeamURL *string `json:"parentTeamUrl,omitempty"` // The former parent team. ParentTeamWas *Team `json:"parentTeamWas,omitempty"` // The HTTP path for the previous parent team ParentTeamWasResourcePath *string `json:"parentTeamWasResourcePath,omitempty"` // The HTTP URL for the previous parent team ParentTeamWasURL *string `json:"parentTeamWasUrl,omitempty"` // The team associated with the action Team *Team `json:"team,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a team.change_parent_team event.
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,omitempty"` // A list of nodes. Nodes []*Team `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // Identifies the discussion within its team. Number int `json:"number"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // The HTTP path for this discussion ResourcePath string `json:"resourcePath"` // The team that defines the context of this discussion. Team *Team `json:"team,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` }
A team discussion.
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,omitempty"` // 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,omitempty"` // The discussion this comment is about. Discussion *TeamDiscussion `json:"discussion,omitempty"` // The actor who edited the comment. Editor Actor `json:"editor,omitempty"` 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,omitempty"` // Identifies the comment number. Number int `json:"number"` // Identifies when the comment was published at. PublishedAt *time.Time `json:"publishedAt,omitempty"` // A list of reactions grouped by content left on the subject. ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"` // A list of Reactions left on the Issue. Reactions *ReactionConnection `json:"reactions,omitempty"` // 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,omitempty"` // 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,omitempty"` // Did the viewer author this comment. ViewerDidAuthor bool `json:"viewerDidAuthor"` }
A comment on a team discussion.
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,omitempty"` // A list of nodes. Nodes []*TeamDiscussionComment `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*TeamDiscussion `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` }
An edge in a connection.
type TeamMemberConnection ¶
type TeamMemberConnection struct { // A list of edges. Edges []*TeamMemberEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The team associated with the action Team *Team `json:"team,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a team.remove_member event.
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,omitempty"` // The IP address of the actor ActorIP *string `json:"actorIp,omitempty"` // A readable representation of the actor's location ActorLocation *ActorLocation `json:"actorLocation,omitempty"` // The username of the user who initiated the action ActorLogin *string `json:"actorLogin,omitempty"` // The HTTP path for the actor. ActorResourcePath *string `json:"actorResourcePath,omitempty"` // The HTTP URL for the actor. ActorURL *string `json:"actorUrl,omitempty"` // 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,omitempty"` // The corresponding operation type for the action OperationType *OperationType `json:"operationType,omitempty"` // The Organization associated with the Audit Entry. Organization *Organization `json:"organization,omitempty"` // The name of the Organization. OrganizationName *string `json:"organizationName,omitempty"` // The HTTP path for the organization OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"` // The HTTP URL for the organization OrganizationURL *string `json:"organizationUrl,omitempty"` // The repository associated with the action Repository *Repository `json:"repository,omitempty"` // The name of the repository RepositoryName *string `json:"repositoryName,omitempty"` // The HTTP path for the repository RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"` // The HTTP URL for the repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The team associated with the action Team *Team `json:"team,omitempty"` // The name of the team TeamName *string `json:"teamName,omitempty"` // The HTTP path for this team TeamResourcePath *string `json:"teamResourcePath,omitempty"` // The HTTP URL for this team TeamURL *string `json:"teamUrl,omitempty"` // The user affected by the action User *User `json:"user,omitempty"` // For actions involving two users, the actor is the initiator and the user is the affected user. UserLogin *string `json:"userLogin,omitempty"` // The HTTP path for the user. UserResourcePath *string `json:"userResourcePath,omitempty"` // The HTTP URL for the user. UserURL *string `json:"userUrl,omitempty"` }
Audit log entry for a team.remove_repository event.
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,omitempty"` // A list of nodes. Nodes []*Repository `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of repositories. Repositories *RepositoryConnection `json:"repositories,omitempty"` // 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,omitempty"` // 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) IsStarrable ¶
func (Topic) IsStarrable()
type TopicAuditEntryData ¶
type TopicAuditEntryData interface {
IsTopicAuditEntryData()
}
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 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"` // 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,omitempty"` // The issue that was transferred Issue *Issue `json:"issue,omitempty"` }
Autogenerated return type of TransferIssue
type TransferredEvent ¶
type TransferredEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // Identifies the date and time when the object was created. CreatedAt time.Time `json:"createdAt"` // The repository this came from FromRepository *Repository `json:"fromRepository,omitempty"` ID string `json:"id"` // Identifies the issue associated with the event. Issue *Issue `json:"issue,omitempty"` }
Represents a 'transferred' event on a given issue or pull request.
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,omitempty"` ID string `json:"id"` // The Git object ID Oid string `json:"oid"` // The Repository the Git object belongs to Repository *Repository `json:"repository,omitempty"` }
Represents a Git tree.
func (Tree) IsGitObject ¶
func (Tree) IsGitObject()
type TreeEntry ¶
type TreeEntry struct { // The extension of the file Extension *string `json:"extension,omitempty"` // Whether or not this tree entry is generated IsGenerated bool `json:"isGenerated"` // Entry file mode. Mode int `json:"mode"` // Entry file name. Name string `json:"name"` // Entry file object. Object GitObject `json:"object,omitempty"` // Entry file Git object ID. Oid string `json:"oid"` // The full path of the file. Path *string `json:"path,omitempty"` // The Repository the tree entry belongs to Repository *Repository `json:"repository,omitempty"` // If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule Submodule *Submodule `json:"submodule,omitempty"` // Entry file type. Type string `json:"type"` }
Represents a Git tree entry.
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,omitempty"` // The repository that was unarchived. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of UnarchiveRepository
type UnassignedEvent ¶
type UnassignedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // Identifies the assignable associated with the event. Assignable Assignable `json:"assignable,omitempty"` // Identifies the user or mannequin that was unassigned. Assignee Assignee `json:"assignee,omitempty"` // 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,omitempty"` }
Represents an 'unassigned' event on any assignable 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 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,omitempty"` // The user that was unfollowed. User *User `json:"user,omitempty"` }
Autogenerated return type of UnfollowUser
type UniformResourceLocatable ¶
type UniformResourceLocatable interface {
IsUniformResourceLocatable()
}
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,omitempty"` // 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) IsGitSignature ¶
func (UnknownSignature) IsGitSignature()
type UnlabeledEvent ¶
type UnlabeledEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` // Identifies the `Labelable` associated with the event. Labelable Labelable `json:"labelable,omitempty"` }
Represents an 'unlabeled' event on a given issue or pull request.
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 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,omitempty"` // The linked Project. Project *Project `json:"project,omitempty"` // The linked Repository. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The item that was unlocked. UnlockedRecord Lockable `json:"unlockedRecord,omitempty"` }
Autogenerated return type of UnlockLockable
type UnlockedEvent ¶
type UnlockedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` }
Represents an 'unlocked' event on a given issue or pull request.
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.16
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.16
type UnmarkDiscussionCommentAsAnswerPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The discussion that includes the comment. Discussion *Discussion `json:"discussion,omitempty"` }
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,omitempty"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // The issue or pull request that was marked as a duplicate. Duplicate IssueOrPullRequest `json:"duplicate,omitempty"` }
Autogenerated return type of UnmarkIssueAsDuplicate
type UnmarkedAsDuplicateEvent ¶
type UnmarkedAsDuplicateEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // The authoritative issue or pull request which has been duplicated by another. Canonical IssueOrPullRequest `json:"canonical,omitempty"` // 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,omitempty"` 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) 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,omitempty"` // The comment that was unminimized. UnminimizedComment Minimizable `json:"unminimizedComment,omitempty"` }
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,omitempty"` // The issue that was unpinned Issue *Issue `json:"issue,omitempty"` }
Autogenerated return type of UnpinIssue
type UnpinnedEvent ¶
type UnpinnedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` }
Represents an 'unpinned' event on a given issue or pull request.
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,omitempty"` // The thread to resolve. Thread *PullRequestReviewThread `json:"thread,omitempty"` }
Autogenerated return type of UnresolveReviewThread
type UnsubscribedEvent ¶
type UnsubscribedEvent struct { // Identifies the actor who performed the event. Actor Actor `json:"actor,omitempty"` // 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,omitempty"` }
Represents an 'unsubscribed' event on a given `Subscribable`.
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 UpdatableComment ¶
type UpdatableComment interface {
IsUpdatableComment()
}
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"` // 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 or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"` // A list of User or Team IDs allowed to bypass pull requests targeting matching branches. BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"` // A list of User or Team 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"` // 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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
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,omitempty"` // 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,omitempty"` // The updated repository. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of UpdateCheckSuitePreferences
type UpdateDiscussionCommentInput ¶ added in v0.0.16
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.16
type UpdateDiscussionCommentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The modified discussion comment. Comment *DiscussionComment `json:"comment,omitempty"` }
Autogenerated return type of UpdateDiscussionComment
type UpdateDiscussionInput ¶ added in v0.0.16
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.16
type UpdateDiscussionPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The modified discussion. Discussion *Discussion `json:"discussion,omitempty"` }
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,omitempty"` // A message confirming the result of changing the administrator's role. Message *string `json:"message,omitempty"` }
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"` // 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,omitempty"` // The enterprise with the updated allow private repository forking setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the allow private repository forking setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated base repository permission setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the base repository permission setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can change repository visibility setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can change repository visibility setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can create repositories setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can create repositories setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can delete issues setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can delete issues setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can delete repositories setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can delete repositories setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can invite collaborators setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can invite collaborators setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can make purchases setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can make purchases setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can update protected branches setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can update protected branches setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated members can view dependency insights setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the members can view dependency insights setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated organization projects setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the organization projects setting. Message *string `json:"message,omitempty"` }
Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting
type UpdateEnterpriseOwnerOrganizationRoleInput ¶ added in v0.0.16
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.16
type UpdateEnterpriseOwnerOrganizationRolePayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // A message confirming the result of changing the owner's organization role. Message *string `json:"message,omitempty"` }
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,omitempty"` // The updated enterprise. Enterprise *Enterprise `json:"enterprise,omitempty"` }
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,omitempty"` // The enterprise with the updated repository projects setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the repository projects setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated team discussions setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the team discussions setting. Message *string `json:"message,omitempty"` }
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,omitempty"` // The enterprise with the updated two factor authentication required setting. Enterprise *Enterprise `json:"enterprise,omitempty"` // A message confirming the result of updating the two factor authentication required setting. Message *string `json:"message,omitempty"` }
Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting
type UpdateEnvironmentInput ¶ added in v0.0.16
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.16
type UpdateEnvironmentPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated environment. Environment *Environment `json:"environment,omitempty"` }
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,omitempty"` // The IP allow list owner on which the setting was updated. Owner IPAllowListOwner `json:"owner,omitempty"` }
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,omitempty"` // The IP allow list entry that was updated. IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"` }
Autogenerated return type of UpdateIpAllowListEntry
type UpdateIPAllowListForInstalledAppsEnabledSettingInput ¶ added in v0.0.16
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.16
type UpdateIPAllowListForInstalledAppsEnabledSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The IP allow list owner on which the setting was updated. Owner IPAllowListOwner `json:"owner,omitempty"` }
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,omitempty"` // The updated comment. IssueComment *IssueComment `json:"issueComment,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The issue. Issue *Issue `json:"issue,omitempty"` }
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,omitempty"` // The owner on which the setting was updated. Owner VerifiableDomainOwner `json:"owner,omitempty"` }
Autogenerated return type of UpdateNotificationRestrictionSetting
type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput ¶ added in v0.0.16
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.16
type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // A message confirming the result of updating the allow private repository forking setting. Message *string `json:"message,omitempty"` // The organization with the updated allow private repository forking setting. Organization *Organization `json:"organization,omitempty"` }
Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting
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,omitempty"` // The updated ProjectCard. ProjectCard *ProjectCard `json:"projectCard,omitempty"` }
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,omitempty"` // The updated project column. ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"` }
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 UpdateProjectNextInput ¶ added in v0.0.16
type UpdateProjectNextInput 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 readme description of the project. Description *string `json:"description,omitempty"` // Set the short description of the project. ShortDescription *string `json:"shortDescription,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 UpdateProjectNext
type UpdateProjectNextItemFieldInput ¶ added in v0.0.16
type UpdateProjectNextItemFieldInput 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,omitempty"` // The value which will be set on the field. Value string `json:"value"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` }
Autogenerated input type of UpdateProjectNextItemField
type UpdateProjectNextItemFieldPayload ¶ added in v0.0.16
type UpdateProjectNextItemFieldPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated item. ProjectNextItem *ProjectNextItem `json:"projectNextItem,omitempty"` }
Autogenerated return type of UpdateProjectNextItemField
type UpdateProjectNextPayload ¶ added in v0.0.16
type UpdateProjectNextPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated Project. ProjectNext *ProjectNext `json:"projectNext,omitempty"` }
Autogenerated return type of UpdateProjectNext
type UpdateProjectPayload ¶
type UpdateProjectPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated project. Project *Project `json:"project,omitempty"` }
Autogenerated return type of UpdateProject
type UpdatePullRequestBranchInput ¶ added in v0.0.16
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.16
type UpdatePullRequestBranchPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The updated pull request. PullRequest *PullRequest `json:"pullRequest,omitempty"` }
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,omitempty"` // The updated comment. PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment,omitempty"` }
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,omitempty"` // The updated pull request review. PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"` }
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,omitempty"` // The updated Ref. Ref *Ref `json:"ref,omitempty"` }
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"` // 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,omitempty"` // The updated repository. Repository *Repository `json:"repository,omitempty"` }
Autogenerated return type of UpdateRepository
type UpdateSponsorshipPreferencesInput ¶ added in v0.0.16
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.16
type UpdateSponsorshipPreferencesPayload struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` // The sponsorship that was updated. Sponsorship *Sponsorship `json:"sponsorship,omitempty"` }
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,omitempty"` // The input subscribable entity. Subscribable Subscribable `json:"subscribable,omitempty"` }
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,omitempty"` // The updated comment. TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"` }
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,omitempty"` // The updated discussion. TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"` }
Autogenerated return type of UpdateTeamDiscussion
type UpdateTopicsInput ¶
type UpdateTopicsInput struct { // The Node ID of the repository. RepositoryID string `json:"repositoryId"` // An array of topic names. TopicNames []string `json:"topicNames,omitempty"` // 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,omitempty"` // Names of the provided topics that are not valid. InvalidTopicNames []string `json:"invalidTopicNames,omitempty"` // The updated repository. Repository *Repository `json:"repository,omitempty"` }
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,omitempty"` // 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,omitempty"` // The user's public profile company. Company *string `json:"company,omitempty"` // 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,omitempty"` // 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,omitempty"` // 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,omitempty"` // A list of users the given user is following. Following *FollowingConnection `json:"following,omitempty"` // Find gist by repo name. Gist *Gist `json:"gist,omitempty"` // A list of gist comments made by this user. GistComments *GistCommentConnection `json:"gistComments,omitempty"` // A list of the Gists the user has created. Gists *GistConnection `json:"gists,omitempty"` // 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,omitempty"` ID string `json:"id"` // The interaction ability settings for this user. InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"` // 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"` // Check if 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,omitempty"` // A list of issues associated with this user. Issues *IssueConnection `json:"issues,omitempty"` // Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. ItemShowcase *ProfileItemShowcase `json:"itemShowcase,omitempty"` // The user's public profile location. Location *string `json:"location,omitempty"` // 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,omitempty"` // Find an organization by its login that the user belongs to. Organization *Organization `json:"organization,omitempty"` // Verified email addresses that match verified domains for a specified organization the user is a member of. OrganizationVerifiedDomainEmails []string `json:"organizationVerifiedDomainEmails,omitempty"` // A list of organizations the user belongs to. Organizations *OrganizationConnection `json:"organizations,omitempty"` // A list of packages under the owner. Packages *PackageConnection `json:"packages,omitempty"` // A list of repositories and gists this profile owner can pin to their profile. PinnableItems *PinnableItemConnection `json:"pinnableItems,omitempty"` // A list of repositories and gists this profile owner has pinned to their profile PinnedItems *PinnableItemConnection `json:"pinnedItems,omitempty"` // 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,omitempty"` // Find a project by project (beta) number. ProjectNext *ProjectNext `json:"projectNext,omitempty"` // A list of projects under the owner. Projects *ProjectConnection `json:"projects,omitempty"` // A list of projects (beta) under the owner. ProjectsNext *ProjectNextConnection `json:"projectsNext,omitempty"` // 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 public keys associated with this user. PublicKeys *PublicKeyConnection `json:"publicKeys,omitempty"` // A list of pull requests associated with this user. PullRequests *PullRequestConnection `json:"pullRequests,omitempty"` // A list of repositories that the user owns. Repositories *RepositoryConnection `json:"repositories,omitempty"` // A list of repositories that the user recently contributed to. RepositoriesContributedTo *RepositoryConnection `json:"repositoriesContributedTo,omitempty"` // Find Repository. Repository *Repository `json:"repository,omitempty"` // Discussion comments this user has authored. RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments,omitempty"` // Discussions this user has started. RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions,omitempty"` // The HTTP path for this user ResourcePath string `json:"resourcePath"` // Replies this user has saved SavedReplies *SavedReplyConnection `json:"savedReplies,omitempty"` // List of users and organizations this entity is sponsoring. Sponsoring *SponsorConnection `json:"sponsoring,omitempty"` // List of sponsors for this user or organization. Sponsors *SponsorConnection `json:"sponsors,omitempty"` // Events involving this sponsorable, such as new sponsorships. SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities,omitempty"` // The GitHub Sponsors listing for this user or organization. SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"` // The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. Only returns a sponsorship if it is active. SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"` // The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. Only returns a sponsorship if it is active. SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"` // List of sponsorship updates sent from this sponsorable to sponsors. SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters,omitempty"` // This object's sponsorships as the maintainer. SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer,omitempty"` // This object's sponsorships as the sponsor. SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor,omitempty"` // Repositories the user has starred. StarredRepositories *StarredRepositoryConnection `json:"starredRepositories,omitempty"` // The user's description of what they're currently doing. Status *UserStatus `json:"status,omitempty"` // Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created // TopRepositories *RepositoryConnection `json:"topRepositories,omitempty"` // The user's Twitter username. TwitterUsername *string `json:"twitterUsername,omitempty"` // 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,omitempty"` // A URL pointing to the user's public website/blog. WebsiteURL *string `json:"websiteUrl,omitempty"` }
A user is an individual's account on GitHub that owns repositories and can make new content.
func (User) IsAssignee ¶
func (User) IsAssignee()
func (User) IsAuditEntryActor ¶
func (User) IsAuditEntryActor()
func (User) IsBranchActorAllowanceActor ¶ added in v0.0.16
func (User) IsBranchActorAllowanceActor()
func (User) IsDeploymentReviewer ¶ added in v0.0.16
func (User) IsDeploymentReviewer()
func (User) IsEnterpriseMember ¶
func (User) IsEnterpriseMember()
func (User) IsPackageOwner ¶
func (User) IsPackageOwner()
func (User) IsProfileOwner ¶
func (User) IsProfileOwner()
func (User) IsProjectNextOwner ¶ added in v0.0.16
func (User) IsProjectNextOwner()
func (User) IsProjectOwner ¶
func (User) IsProjectOwner()
func (User) IsPushAllowanceActor ¶
func (User) IsPushAllowanceActor()
func (User) IsRepositoryDiscussionAuthor ¶ added in v0.0.16
func (User) IsRepositoryDiscussionAuthor()
func (User) IsRepositoryDiscussionCommentAuthor ¶ added in v0.0.16
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) 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,omitempty"` // 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,omitempty"` }
Represents a 'user_blocked' event on a given user.
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,omitempty"` // A list of nodes. Nodes []*User `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` // The actor who deleted this content DeletedBy Actor `json:"deletedBy,omitempty"` // A summary of the changes for this edit Diff *string `json:"diff,omitempty"` // When this content was edited EditedAt time.Time `json:"editedAt"` // The actor who edited this content Editor Actor `json:"editor,omitempty"` 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) IsNode ¶
func (UserContentEdit) IsNode()
type UserContentEditConnection ¶
type UserContentEditConnection struct { // A list of edges. Edges []*UserContentEditEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*UserContentEdit `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` }
Represents a user.
type UserEmailMetadata ¶
type UserEmailMetadata struct { // Boolean to identify primary emails Primary *bool `json:"primary,omitempty"` // Type of email Type *string `json:"type,omitempty"` // 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,omitempty"` // The status emoji as HTML. EmojiHTML *string `json:"emojiHTML,omitempty"` // If set, the status will not be shown after this date. ExpiresAt *time.Time `json:"expiresAt,omitempty"` 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,omitempty"` // The organization whose members can see this status. If null, this status is publicly visible. Organization *Organization `json:"organization,omitempty"` // 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,omitempty"` }
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,omitempty"` // A list of nodes. Nodes []*UserStatus `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The DNS host name that should be used for verification. DNSHostName *string `json:"dnsHostName,omitempty"` // 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,omitempty"` // The punycode encoded domain. PunycodeEncodedDomain string `json:"punycodeEncodedDomain"` // The time that the current verification token will expire. TokenExpirationTime *time.Time `json:"tokenExpirationTime,omitempty"` // 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,omitempty"` }
A domain that can be verified or approved for an organization or an enterprise.
func (VerifiableDomain) IsNode ¶
func (VerifiableDomain) IsNode()
type VerifiableDomainConnection ¶
type VerifiableDomainConnection struct { // A list of edges. Edges []*VerifiableDomainEdge `json:"edges,omitempty"` // A list of nodes. Nodes []*VerifiableDomain `json:"nodes,omitempty"` // Information to aid in pagination. PageInfo *PageInfo `json:"pageInfo,omitempty"` // 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,omitempty"` }
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,omitempty"` // The verifiable domain that was verified. Domain *VerifiableDomain `json:"domain,omitempty"` }
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,omitempty"` }
A hovercard context with a message describing how the viewer is related.
func (ViewerHovercardContext) IsHovercardContext ¶
func (ViewerHovercardContext) IsHovercardContext()
type Votable ¶ added in v0.0.16
type Votable interface {
IsVotable()
}
A subject that may be upvoted.
type Workflow ¶ added in v0.0.16
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,omitempty"` ID string `json:"id"` // The name of the workflow. Name string `json:"name"` // 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.16
type WorkflowRun struct { // The check suite this workflow run belongs to. CheckSuite *CheckSuite `json:"checkSuite,omitempty"` // 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,omitempty"` // The log of deployment reviews DeploymentReviews *DeploymentReviewConnection `json:"deploymentReviews,omitempty"` ID string `json:"id"` // The pending deployment requests of all check runs in this workflow run PendingDeploymentRequests *DeploymentRequestConnection `json:"pendingDeploymentRequests,omitempty"` // 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,omitempty"` }
A workflow run.
func (WorkflowRun) IsNode ¶ added in v0.0.16
func (WorkflowRun) IsNode()