model

package
v0.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllActorType = []ActorType{
	ActorTypeUser,
	ActorTypeTeam,
}
View Source
var AllAuditLogOrderField = []AuditLogOrderField{
	AuditLogOrderFieldCreatedAt,
}
View Source
var AllDeploymentOrderField = []DeploymentOrderField{
	DeploymentOrderFieldCreatedAt,
}
View Source
var AllDiffSide = []DiffSide{
	DiffSideLeft,
	DiffSideRight,
}
View Source
var AllEnterpriseOrderField = []EnterpriseOrderField{
	EnterpriseOrderFieldName,
}
View Source
var AllEnvironmentOrderField = []EnvironmentOrderField{
	EnvironmentOrderFieldName,
}
View Source
var AllLanguageOrderField = []LanguageOrderField{
	LanguageOrderFieldSize,
}
View Source
var AllOIDCProviderType = []OIDCProviderType{
	OIDCProviderTypeAad,
}
View Source
var AllOrgEnterpriseOwnerOrderField = []OrgEnterpriseOwnerOrderField{
	OrgEnterpriseOwnerOrderFieldLogin,
}
View Source
var AllPackageOrderField = []PackageOrderField{
	PackageOrderFieldCreatedAt,
}
View Source
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,
}
View Source
var AllReactionOrderField = []ReactionOrderField{
	ReactionOrderFieldCreatedAt,
}
View Source
var AllSavedReplyOrderField = []SavedReplyOrderField{
	SavedReplyOrderFieldUpdatedAt,
}
View Source
var AllSponsorableOrderField = []SponsorableOrderField{
	SponsorableOrderFieldLogin,
}
View Source
var AllSponsorsCountryOrRegionCode = []SponsorsCountryOrRegionCode{}/* 246 elements not displayed */
View Source
var AllStarOrderField = []StarOrderField{
	StarOrderFieldStarredAt,
}
View Source
var AllTeamOrderField = []TeamOrderField{
	TeamOrderFieldName,
}
View Source
var AllUserStatusOrderField = []UserStatusOrderField{
	UserStatusOrderFieldUpdatedAt,
}

Functions

This section is empty.

Types

type Actor

type Actor interface {
	IsActor()
	// A URL pointing to the actor's public avatar.
	GetAvatarURL() string
	// The username of the actor.
	GetLogin() string
	// The HTTP path for this actor.
	GetResourcePath() string
	// The HTTP URL for this actor.
	GetURL() string
}

Represents an object which can take actions on GitHub. Typically a User or Bot.

type ActorType

type ActorType string

The actor's type.

const (
	// Indicates a user actor.
	ActorTypeUser ActorType = "USER"
	// Indicates a team actor.
	ActorTypeTeam ActorType = "TEAM"
)

func (ActorType) IsValid

func (e ActorType) IsValid() bool

func (ActorType) MarshalGQL

func (e ActorType) MarshalGQL(w io.Writer)

func (ActorType) String

func (e ActorType) String() string

func (*ActorType) UnmarshalGQL

func (e *ActorType) UnmarshalGQL(v interface{}) error

type AddStarInput

type AddStarInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Starrable ID to star.
	StarrableID string `json:"starrableId"`
}

Autogenerated input type of AddStar

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 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 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 CheckRunState

type CheckRunState string

The possible states of a check run in a status rollup.

const (
	// The check run requires action.
	CheckRunStateActionRequired CheckRunState = "ACTION_REQUIRED"
	// The check run has been cancelled.
	CheckRunStateCancelled CheckRunState = "CANCELLED"
	// The check run has been completed.
	CheckRunStateCompleted CheckRunState = "COMPLETED"
	// The check run has failed.
	CheckRunStateFailure CheckRunState = "FAILURE"
	// The check run is in progress.
	CheckRunStateInProgress CheckRunState = "IN_PROGRESS"
	// The check run was neutral.
	CheckRunStateNeutral CheckRunState = "NEUTRAL"
	// The check run is in pending state.
	CheckRunStatePending CheckRunState = "PENDING"
	// The check run has been queued.
	CheckRunStateQueued CheckRunState = "QUEUED"
	// The check run was skipped.
	CheckRunStateSkipped CheckRunState = "SKIPPED"
	// The check run was marked stale by GitHub. Only GitHub can use this conclusion.
	CheckRunStateStale CheckRunState = "STALE"
	// The check run has failed at startup.
	CheckRunStateStartupFailure CheckRunState = "STARTUP_FAILURE"
	// The check run has succeeded.
	CheckRunStateSuccess CheckRunState = "SUCCESS"
	// The check run has timed out.
	CheckRunStateTimedOut CheckRunState = "TIMED_OUT"
	// The check run is in waiting state.
	CheckRunStateWaiting CheckRunState = "WAITING"
)

func (CheckRunState) IsValid

func (e CheckRunState) IsValid() bool

func (CheckRunState) MarshalGQL

func (e CheckRunState) MarshalGQL(w io.Writer)

func (CheckRunState) String

func (e CheckRunState) String() string

func (*CheckRunState) UnmarshalGQL

func (e *CheckRunState) UnmarshalGQL(v interface{}) error

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 requested.
	CheckStatusStateRequested CheckStatusState = "REQUESTED"
	// 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"
)

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 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 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 (*CommitContributionOrderField) UnmarshalGQL

func (e *CommitContributionOrderField) UnmarshalGQL(v interface{}) error

type ComparisonStatus

type ComparisonStatus string

The status of a git comparison between two refs.

const (
	// The head ref is both ahead and behind of the base ref, indicating git history has diverged.
	ComparisonStatusDiverged ComparisonStatus = "DIVERGED"
	// The head ref is ahead of the base ref.
	ComparisonStatusAhead ComparisonStatus = "AHEAD"
	// The head ref is behind the base ref.
	ComparisonStatusBehind ComparisonStatus = "BEHIND"
	// The head ref and base ref are identical.
	ComparisonStatusIdentical ComparisonStatus = "IDENTICAL"
)

func (ComparisonStatus) IsValid

func (e ComparisonStatus) IsValid() bool

func (ComparisonStatus) MarshalGQL

func (e ComparisonStatus) MarshalGQL(w io.Writer)

func (ComparisonStatus) String

func (e ComparisonStatus) String() string

func (*ComparisonStatus) UnmarshalGQL

func (e *ComparisonStatus) UnmarshalGQL(v interface{}) error

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 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 (DefaultRepositoryPermissionField) MarshalGQL

func (e DefaultRepositoryPermissionField) MarshalGQL(w io.Writer)

func (DefaultRepositoryPermissionField) String

func (*DefaultRepositoryPermissionField) UnmarshalGQL

func (e *DefaultRepositoryPermissionField) UnmarshalGQL(v interface{}) error

type DependencyGraphEcosystem

type DependencyGraphEcosystem string

The possible ecosystems of a dependency graph package.

const (
	// Ruby gems hosted at RubyGems.org
	DependencyGraphEcosystemRubygems DependencyGraphEcosystem = "RUBYGEMS"
	// JavaScript packages hosted at npmjs.com
	DependencyGraphEcosystemNpm DependencyGraphEcosystem = "NPM"
	// Python packages hosted at PyPI.org
	DependencyGraphEcosystemPip DependencyGraphEcosystem = "PIP"
	// Java artifacts hosted at the Maven central repository
	DependencyGraphEcosystemMaven DependencyGraphEcosystem = "MAVEN"
	// .NET packages hosted at the NuGet Gallery
	DependencyGraphEcosystemNuget DependencyGraphEcosystem = "NUGET"
	// PHP packages hosted at packagist.org
	DependencyGraphEcosystemComposer DependencyGraphEcosystem = "COMPOSER"
	// Go modules
	DependencyGraphEcosystemGo DependencyGraphEcosystem = "GO"
	// GitHub Actions
	DependencyGraphEcosystemActions DependencyGraphEcosystem = "ACTIONS"
	// Rust crates
	DependencyGraphEcosystemRust DependencyGraphEcosystem = "RUST"
	// Dart packages hosted at pub.dev
	DependencyGraphEcosystemPub DependencyGraphEcosystem = "PUB"
	// Swift packages
	DependencyGraphEcosystemSwift DependencyGraphEcosystem = "SWIFT"
)

func (DependencyGraphEcosystem) IsValid

func (e DependencyGraphEcosystem) IsValid() bool

func (DependencyGraphEcosystem) MarshalGQL

func (e DependencyGraphEcosystem) MarshalGQL(w io.Writer)

func (DependencyGraphEcosystem) String

func (e DependencyGraphEcosystem) String() string

func (*DependencyGraphEcosystem) UnmarshalGQL

func (e *DependencyGraphEcosystem) UnmarshalGQL(v interface{}) error

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 DeploymentProtectionRuleType

type DeploymentProtectionRuleType string

The possible protection rule types.

const (
	// Required reviewers
	DeploymentProtectionRuleTypeRequiredReviewers DeploymentProtectionRuleType = "REQUIRED_REVIEWERS"
	// Wait timer
	DeploymentProtectionRuleTypeWaitTimer DeploymentProtectionRuleType = "WAIT_TIMER"
	// Branch policy
	DeploymentProtectionRuleTypeBranchPolicy DeploymentProtectionRuleType = "BRANCH_POLICY"
)

func (DeploymentProtectionRuleType) IsValid

func (e DeploymentProtectionRuleType) IsValid() bool

func (DeploymentProtectionRuleType) MarshalGQL

func (e DeploymentProtectionRuleType) MarshalGQL(w io.Writer)

func (DeploymentProtectionRuleType) String

func (*DeploymentProtectionRuleType) UnmarshalGQL

func (e *DeploymentProtectionRuleType) UnmarshalGQL(v interface{}) error

type DeploymentReviewState

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

func (e DeploymentReviewState) IsValid() bool

func (DeploymentReviewState) MarshalGQL

func (e DeploymentReviewState) MarshalGQL(w io.Writer)

func (DeploymentReviewState) String

func (e DeploymentReviewState) String() string

func (*DeploymentReviewState) UnmarshalGQL

func (e *DeploymentReviewState) UnmarshalGQL(v interface{}) error

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 was successful.
	DeploymentStateSuccess DeploymentState = "SUCCESS"
	// 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 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.

const (
	// The left side of the diff.
	DiffSideLeft DiffSide = "LEFT"
	// The right side of the diff.
	DiffSideRight DiffSide = "RIGHT"
)

func (DiffSide) IsValid

func (e DiffSide) IsValid() bool

func (DiffSide) MarshalGQL

func (e DiffSide) MarshalGQL(w io.Writer)

func (DiffSide) String

func (e DiffSide) String() string

func (*DiffSide) UnmarshalGQL

func (e *DiffSide) UnmarshalGQL(v interface{}) error

type DiscussionCloseReason

type DiscussionCloseReason string

The possible reasons for closing a discussion.

const (
	// The discussion has been resolved
	DiscussionCloseReasonResolved DiscussionCloseReason = "RESOLVED"
	// The discussion is no longer relevant
	DiscussionCloseReasonOutdated DiscussionCloseReason = "OUTDATED"
	// The discussion is a duplicate of another
	DiscussionCloseReasonDuplicate DiscussionCloseReason = "DUPLICATE"
)

func (DiscussionCloseReason) IsValid

func (e DiscussionCloseReason) IsValid() bool

func (DiscussionCloseReason) MarshalGQL

func (e DiscussionCloseReason) MarshalGQL(w io.Writer)

func (DiscussionCloseReason) String

func (e DiscussionCloseReason) String() string

func (*DiscussionCloseReason) UnmarshalGQL

func (e *DiscussionCloseReason) UnmarshalGQL(v interface{}) error

type DiscussionOrderField

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

func (e DiscussionOrderField) IsValid() bool

func (DiscussionOrderField) MarshalGQL

func (e DiscussionOrderField) MarshalGQL(w io.Writer)

func (DiscussionOrderField) String

func (e DiscussionOrderField) String() string

func (*DiscussionOrderField) UnmarshalGQL

func (e *DiscussionOrderField) UnmarshalGQL(v interface{}) error

type DiscussionPollOptionOrderField

type DiscussionPollOptionOrderField string

Properties by which discussion poll option connections can be ordered.

const (
	// Order poll options by the order that the poll author specified when creating the poll.
	DiscussionPollOptionOrderFieldAuthoredOrder DiscussionPollOptionOrderField = "AUTHORED_ORDER"
	// Order poll options by the number of votes it has.
	DiscussionPollOptionOrderFieldVoteCount DiscussionPollOptionOrderField = "VOTE_COUNT"
)

func (DiscussionPollOptionOrderField) IsValid

func (DiscussionPollOptionOrderField) MarshalGQL

func (e DiscussionPollOptionOrderField) MarshalGQL(w io.Writer)

func (DiscussionPollOptionOrderField) String

func (*DiscussionPollOptionOrderField) UnmarshalGQL

func (e *DiscussionPollOptionOrderField) UnmarshalGQL(v interface{}) error

type DiscussionState

type DiscussionState string

The possible states of a discussion.

const (
	// A discussion that is open
	DiscussionStateOpen DiscussionState = "OPEN"
	// A discussion that has been closed
	DiscussionStateClosed DiscussionState = "CLOSED"
)

func (DiscussionState) IsValid

func (e DiscussionState) IsValid() bool

func (DiscussionState) MarshalGQL

func (e DiscussionState) MarshalGQL(w io.Writer)

func (DiscussionState) String

func (e DiscussionState) String() string

func (*DiscussionState) UnmarshalGQL

func (e *DiscussionState) UnmarshalGQL(v interface{}) error

type DiscussionStateReason

type DiscussionStateReason string

The possible state reasons of a discussion.

const (
	// The discussion has been resolved
	DiscussionStateReasonResolved DiscussionStateReason = "RESOLVED"
	// The discussion is no longer relevant
	DiscussionStateReasonOutdated DiscussionStateReason = "OUTDATED"
	// The discussion is a duplicate of another
	DiscussionStateReasonDuplicate DiscussionStateReason = "DUPLICATE"
	// The discussion was reopened
	DiscussionStateReasonReopened DiscussionStateReason = "REOPENED"
)

func (DiscussionStateReason) IsValid

func (e DiscussionStateReason) IsValid() bool

func (DiscussionStateReason) MarshalGQL

func (e DiscussionStateReason) MarshalGQL(w io.Writer)

func (DiscussionStateReason) String

func (e DiscussionStateReason) String() string

func (*DiscussionStateReason) UnmarshalGQL

func (e *DiscussionStateReason) UnmarshalGQL(v interface{}) error

type DismissReason

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

func (e DismissReason) IsValid() bool

func (DismissReason) MarshalGQL

func (e DismissReason) MarshalGQL(w io.Writer)

func (DismissReason) String

func (e DismissReason) String() string

func (*DismissReason) UnmarshalGQL

func (e *DismissReason) UnmarshalGQL(v interface{}) error

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 (EnterpriseAdministratorInvitationOrderField) MarshalGQL

func (EnterpriseAdministratorInvitationOrderField) 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 (*EnterpriseAdministratorRole) UnmarshalGQL

func (e *EnterpriseAdministratorRole) UnmarshalGQL(v interface{}) error

type EnterpriseAllowPrivateRepositoryForkingPolicyValue

type EnterpriseAllowPrivateRepositoryForkingPolicyValue string

The possible values for the enterprise allow private repository forking policy value.

const (
	// Members can fork a repository to an organization within this enterprise.
	EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizations EnterpriseAllowPrivateRepositoryForkingPolicyValue = "ENTERPRISE_ORGANIZATIONS"
	// Members can fork a repository only within the same organization (intra-org).
	EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganization EnterpriseAllowPrivateRepositoryForkingPolicyValue = "SAME_ORGANIZATION"
	// Members can fork a repository to their user account or within the same organization.
	EnterpriseAllowPrivateRepositoryForkingPolicyValueSameOrganizationUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "SAME_ORGANIZATION_USER_ACCOUNTS"
	// Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise.
	EnterpriseAllowPrivateRepositoryForkingPolicyValueEnterpriseOrganizationsUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS"
	// Members can fork a repository to their user account.
	EnterpriseAllowPrivateRepositoryForkingPolicyValueUserAccounts EnterpriseAllowPrivateRepositoryForkingPolicyValue = "USER_ACCOUNTS"
	// Members can fork a repository to their user account or an organization, either inside or outside of this enterprise.
	EnterpriseAllowPrivateRepositoryForkingPolicyValueEverywhere EnterpriseAllowPrivateRepositoryForkingPolicyValue = "EVERYWHERE"
)

func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) IsValid

func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) MarshalGQL

func (EnterpriseAllowPrivateRepositoryForkingPolicyValue) String

func (*EnterpriseAllowPrivateRepositoryForkingPolicyValue) UnmarshalGQL

func (e *EnterpriseAllowPrivateRepositoryForkingPolicyValue) UnmarshalGQL(v interface{}) error

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 (EnterpriseDefaultRepositoryPermissionSettingValue) MarshalGQL

func (EnterpriseDefaultRepositoryPermissionSettingValue) String

func (*EnterpriseDefaultRepositoryPermissionSettingValue) UnmarshalGQL

func (e *EnterpriseDefaultRepositoryPermissionSettingValue) UnmarshalGQL(v interface{}) error

type EnterpriseDisallowedMethodsSettingValue added in v0.27.0

type EnterpriseDisallowedMethodsSettingValue string

The possible values for an enabled/no policy enterprise setting.

const (
	// The setting prevents insecure 2FA methods from being used by members of the enterprise.
	EnterpriseDisallowedMethodsSettingValueInsecure EnterpriseDisallowedMethodsSettingValue = "INSECURE"
	// There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise.
	EnterpriseDisallowedMethodsSettingValueNoPolicy EnterpriseDisallowedMethodsSettingValue = "NO_POLICY"
)

func (EnterpriseDisallowedMethodsSettingValue) IsValid added in v0.27.0

func (EnterpriseDisallowedMethodsSettingValue) MarshalGQL added in v0.27.0

func (EnterpriseDisallowedMethodsSettingValue) String added in v0.27.0

func (*EnterpriseDisallowedMethodsSettingValue) UnmarshalGQL added in v0.27.0

func (e *EnterpriseDisallowedMethodsSettingValue) 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 (EnterpriseEnabledDisabledSettingValue) MarshalGQL

func (EnterpriseEnabledDisabledSettingValue) 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 (*EnterpriseEnabledSettingValue) UnmarshalGQL

func (e *EnterpriseEnabledSettingValue) UnmarshalGQL(v interface{}) error

type EnterpriseMemberInvitationOrderField added in v0.27.0

type EnterpriseMemberInvitationOrderField string

Properties by which enterprise member invitation connections can be ordered.

const (
	// Order enterprise member invitations by creation time
	EnterpriseMemberInvitationOrderFieldCreatedAt EnterpriseMemberInvitationOrderField = "CREATED_AT"
)

func (EnterpriseMemberInvitationOrderField) IsValid added in v0.27.0

func (EnterpriseMemberInvitationOrderField) MarshalGQL added in v0.27.0

func (EnterpriseMemberInvitationOrderField) String added in v0.27.0

func (*EnterpriseMemberInvitationOrderField) UnmarshalGQL added in v0.27.0

func (e *EnterpriseMemberInvitationOrderField) UnmarshalGQL(v interface{}) error

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 (*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 owners 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 (EnterpriseMembersCanCreateRepositoriesSettingValue) MarshalGQL

func (EnterpriseMembersCanCreateRepositoriesSettingValue) 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 (EnterpriseMembersCanMakePurchasesSettingValue) MarshalGQL

func (EnterpriseMembersCanMakePurchasesSettingValue) String

func (*EnterpriseMembersCanMakePurchasesSettingValue) UnmarshalGQL

func (e *EnterpriseMembersCanMakePurchasesSettingValue) UnmarshalGQL(v interface{}) error

type EnterpriseMembershipType

type EnterpriseMembershipType string

The possible values we have for filtering Platform::Objects::User#enterprises.

const (
	// Returns all enterprises in which the user is a member, admin, or billing manager.
	EnterpriseMembershipTypeAll EnterpriseMembershipType = "ALL"
	// Returns all enterprises in which the user is an admin.
	EnterpriseMembershipTypeAdmin EnterpriseMembershipType = "ADMIN"
	// Returns all enterprises in which the user is a billing manager.
	EnterpriseMembershipTypeBillingManager EnterpriseMembershipType = "BILLING_MANAGER"
	// Returns all enterprises in which the user is a member of an org that is owned by the enterprise.
	EnterpriseMembershipTypeOrgMembership EnterpriseMembershipType = "ORG_MEMBERSHIP"
)

func (EnterpriseMembershipType) IsValid

func (e EnterpriseMembershipType) IsValid() bool

func (EnterpriseMembershipType) MarshalGQL

func (e EnterpriseMembershipType) MarshalGQL(w io.Writer)

func (EnterpriseMembershipType) String

func (e EnterpriseMembershipType) String() string

func (*EnterpriseMembershipType) UnmarshalGQL

func (e *EnterpriseMembershipType) UnmarshalGQL(v interface{}) error

type EnterpriseOrderField

type EnterpriseOrderField string

Properties by which enterprise connections can be ordered.

const (
	// Order enterprises by name
	EnterpriseOrderFieldName EnterpriseOrderField = "NAME"
)

func (EnterpriseOrderField) IsValid

func (e EnterpriseOrderField) IsValid() bool

func (EnterpriseOrderField) MarshalGQL

func (e EnterpriseOrderField) MarshalGQL(w io.Writer)

func (EnterpriseOrderField) String

func (e EnterpriseOrderField) String() string

func (*EnterpriseOrderField) UnmarshalGQL

func (e *EnterpriseOrderField) UnmarshalGQL(v interface{}) error

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 (EnterpriseServerInstallationOrderField) MarshalGQL

func (EnterpriseServerInstallationOrderField) String

func (*EnterpriseServerInstallationOrderField) UnmarshalGQL

func (e *EnterpriseServerInstallationOrderField) UnmarshalGQL(v interface{}) error

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 (EnterpriseServerUserAccountEmailOrderField) MarshalGQL

func (EnterpriseServerUserAccountEmailOrderField) String

func (*EnterpriseServerUserAccountEmailOrderField) UnmarshalGQL

func (e *EnterpriseServerUserAccountEmailOrderField) UnmarshalGQL(v interface{}) error

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 (EnterpriseServerUserAccountOrderField) MarshalGQL

func (EnterpriseServerUserAccountOrderField) String

func (*EnterpriseServerUserAccountOrderField) UnmarshalGQL

func (e *EnterpriseServerUserAccountOrderField) UnmarshalGQL(v interface{}) error

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 (EnterpriseServerUserAccountsUploadOrderField) MarshalGQL

func (EnterpriseServerUserAccountsUploadOrderField) 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 (EnterpriseServerUserAccountsUploadSyncState) MarshalGQL

func (EnterpriseServerUserAccountsUploadSyncState) String

func (*EnterpriseServerUserAccountsUploadSyncState) UnmarshalGQL

func (e *EnterpriseServerUserAccountsUploadSyncState) UnmarshalGQL(v interface{}) error

type EnterpriseUserAccountMembershipRole

type EnterpriseUserAccountMembershipRole string

The possible roles for enterprise membership.

const (
	// The user is a member of an organization in the enterprise.
	EnterpriseUserAccountMembershipRoleMember EnterpriseUserAccountMembershipRole = "MEMBER"
	// The user is an owner of an organization in the enterprise.
	EnterpriseUserAccountMembershipRoleOwner EnterpriseUserAccountMembershipRole = "OWNER"
	// The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises.
	EnterpriseUserAccountMembershipRoleUnaffiliated EnterpriseUserAccountMembershipRole = "UNAFFILIATED"
)

func (EnterpriseUserAccountMembershipRole) IsValid

func (EnterpriseUserAccountMembershipRole) MarshalGQL

func (EnterpriseUserAccountMembershipRole) 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 EnvironmentOrderField

type EnvironmentOrderField string

Properties by which environments connections can be ordered

const (
	// Order environments by name.
	EnvironmentOrderFieldName EnvironmentOrderField = "NAME"
)

func (EnvironmentOrderField) IsValid

func (e EnvironmentOrderField) IsValid() bool

func (EnvironmentOrderField) MarshalGQL

func (e EnvironmentOrderField) MarshalGQL(w io.Writer)

func (EnvironmentOrderField) String

func (e EnvironmentOrderField) String() string

func (*EnvironmentOrderField) UnmarshalGQL

func (e *EnvironmentOrderField) UnmarshalGQL(v interface{}) error

type EnvironmentPinnedFilterField added in v0.27.0

type EnvironmentPinnedFilterField string

Properties by which environments connections can be ordered

const (
	// All environments will be returned.
	EnvironmentPinnedFilterFieldAll EnvironmentPinnedFilterField = "ALL"
	// Only pinned environment will be returned
	EnvironmentPinnedFilterFieldOnly EnvironmentPinnedFilterField = "ONLY"
	// Environments exclude pinned will be returned
	EnvironmentPinnedFilterFieldNone EnvironmentPinnedFilterField = "NONE"
)

func (EnvironmentPinnedFilterField) IsValid added in v0.27.0

func (e EnvironmentPinnedFilterField) IsValid() bool

func (EnvironmentPinnedFilterField) MarshalGQL added in v0.27.0

func (e EnvironmentPinnedFilterField) MarshalGQL(w io.Writer)

func (EnvironmentPinnedFilterField) String added in v0.27.0

func (*EnvironmentPinnedFilterField) UnmarshalGQL added in v0.27.0

func (e *EnvironmentPinnedFilterField) UnmarshalGQL(v interface{}) error

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 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"
	// LFX Crowdfunding funding platform.
	FundingPlatformLfxCrowdfunding FundingPlatform = "LFX_CROWDFUNDING"
	// Polar funding platform.
	FundingPlatformPolar FundingPlatform = "POLAR"
	// Buy Me a Coffee funding platform.
	FundingPlatformBuyMeACoffee FundingPlatform = "BUY_ME_A_COFFEE"
	// thanks.dev funding platform.
	FundingPlatformThanksDev FundingPlatform = "THANKS_DEV"
	// 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 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 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"
	// Internal error - the GPG verification service is unavailable at the moment
	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 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 (IPAllowListEnabledSettingValue) MarshalGQL

func (e IPAllowListEnabledSettingValue) MarshalGQL(w io.Writer)

func (IPAllowListEnabledSettingValue) String

func (*IPAllowListEnabledSettingValue) UnmarshalGQL

func (e *IPAllowListEnabledSettingValue) UnmarshalGQL(v interface{}) error

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 (*IPAllowListEntryOrderField) UnmarshalGQL

func (e *IPAllowListEntryOrderField) UnmarshalGQL(v interface{}) error

type IPAllowListForInstalledAppsEnabledSettingValue

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

func (IPAllowListForInstalledAppsEnabledSettingValue) MarshalGQL

func (IPAllowListForInstalledAppsEnabledSettingValue) String

func (*IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL

func (e *IPAllowListForInstalledAppsEnabledSettingValue) UnmarshalGQL(v interface{}) error

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 (IdentityProviderConfigurationState) MarshalGQL

func (IdentityProviderConfigurationState) String

func (*IdentityProviderConfigurationState) UnmarshalGQL

func (e *IdentityProviderConfigurationState) UnmarshalGQL(v interface{}) error

type IssueClosedStateReason

type IssueClosedStateReason string

The possible state reasons of a closed issue.

const (
	// An issue that has been closed as completed
	IssueClosedStateReasonCompleted IssueClosedStateReason = "COMPLETED"
	// An issue that has been closed as not planned
	IssueClosedStateReasonNotPlanned IssueClosedStateReason = "NOT_PLANNED"
	// An issue that has been closed as a duplicate
	IssueClosedStateReasonDuplicate IssueClosedStateReason = "DUPLICATE"
)

func (IssueClosedStateReason) IsValid

func (e IssueClosedStateReason) IsValid() bool

func (IssueClosedStateReason) MarshalGQL

func (e IssueClosedStateReason) MarshalGQL(w io.Writer)

func (IssueClosedStateReason) String

func (e IssueClosedStateReason) String() string

func (*IssueClosedStateReason) UnmarshalGQL

func (e *IssueClosedStateReason) UnmarshalGQL(v interface{}) error

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 IssueOrderField

type IssueOrderField string

Properties by which issue connections can be ordered.

const (
	// Order issues by creation time
	IssueOrderFieldCreatedAt IssueOrderField = "CREATED_AT"
	// Order issues by update time
	IssueOrderFieldUpdatedAt IssueOrderField = "UPDATED_AT"
	// Order issues by comment count
	IssueOrderFieldComments IssueOrderField = "COMMENTS"
)

func (IssueOrderField) IsValid

func (e IssueOrderField) IsValid() bool

func (IssueOrderField) MarshalGQL

func (e IssueOrderField) MarshalGQL(w io.Writer)

func (IssueOrderField) String

func (e IssueOrderField) String() string

func (*IssueOrderField) UnmarshalGQL

func (e *IssueOrderField) UnmarshalGQL(v interface{}) error

type IssueState

type IssueState string

The possible states of an issue.

const (
	// An issue that is still open
	IssueStateOpen IssueState = "OPEN"
	// An issue that has been closed
	IssueStateClosed IssueState = "CLOSED"
)

func (IssueState) IsValid

func (e IssueState) IsValid() bool

func (IssueState) MarshalGQL

func (e IssueState) MarshalGQL(w io.Writer)

func (IssueState) String

func (e IssueState) String() string

func (*IssueState) UnmarshalGQL

func (e *IssueState) UnmarshalGQL(v interface{}) error

type IssueStateReason

type IssueStateReason string

The possible state reasons of an issue.

const (
	// An issue that has been reopened
	IssueStateReasonReopened IssueStateReason = "REOPENED"
	// An issue that has been closed as not planned
	IssueStateReasonNotPlanned IssueStateReason = "NOT_PLANNED"
	// An issue that has been closed as completed
	IssueStateReasonCompleted IssueStateReason = "COMPLETED"
	// An issue that has been closed as a duplicate
	IssueStateReasonDuplicate IssueStateReason = "DUPLICATE"
)

func (IssueStateReason) IsValid

func (e IssueStateReason) IsValid() bool

func (IssueStateReason) MarshalGQL

func (e IssueStateReason) MarshalGQL(w io.Writer)

func (IssueStateReason) String

func (e IssueStateReason) String() string

func (*IssueStateReason) UnmarshalGQL

func (e *IssueStateReason) UnmarshalGQL(v interface{}) error

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 (*IssueTimelineItemsItemType) UnmarshalGQL

func (e *IssueTimelineItemsItemType) UnmarshalGQL(v interface{}) error

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 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 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 MannequinOrderField

type MannequinOrderField string

Properties by which mannequins can be ordered.

const (
	// Order mannequins alphabetically by their source login.
	MannequinOrderFieldLogin MannequinOrderField = "LOGIN"
	// Order mannequins why when they were created.
	MannequinOrderFieldCreatedAt MannequinOrderField = "CREATED_AT"
)

func (MannequinOrderField) IsValid

func (e MannequinOrderField) IsValid() bool

func (MannequinOrderField) MarshalGQL

func (e MannequinOrderField) MarshalGQL(w io.Writer)

func (MannequinOrderField) String

func (e MannequinOrderField) String() string

func (*MannequinOrderField) UnmarshalGQL

func (e *MannequinOrderField) UnmarshalGQL(v interface{}) error

type MergeCommitMessage

type MergeCommitMessage string

The possible default commit messages for merges.

const (
	// Default to the pull request's title.
	MergeCommitMessagePrTitle MergeCommitMessage = "PR_TITLE"
	// Default to the pull request's body.
	MergeCommitMessagePrBody MergeCommitMessage = "PR_BODY"
	// Default to a blank commit message.
	MergeCommitMessageBlank MergeCommitMessage = "BLANK"
)

func (MergeCommitMessage) IsValid

func (e MergeCommitMessage) IsValid() bool

func (MergeCommitMessage) MarshalGQL

func (e MergeCommitMessage) MarshalGQL(w io.Writer)

func (MergeCommitMessage) String

func (e MergeCommitMessage) String() string

func (*MergeCommitMessage) UnmarshalGQL

func (e *MergeCommitMessage) UnmarshalGQL(v interface{}) error

type MergeCommitTitle

type MergeCommitTitle string

The possible default commit titles for merges.

const (
	// Default to the pull request's title.
	MergeCommitTitlePrTitle MergeCommitTitle = "PR_TITLE"
	// Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
	MergeCommitTitleMergeMessage MergeCommitTitle = "MERGE_MESSAGE"
)

func (MergeCommitTitle) IsValid

func (e MergeCommitTitle) IsValid() bool

func (MergeCommitTitle) MarshalGQL

func (e MergeCommitTitle) MarshalGQL(w io.Writer)

func (MergeCommitTitle) String

func (e MergeCommitTitle) String() string

func (*MergeCommitTitle) UnmarshalGQL

func (e *MergeCommitTitle) UnmarshalGQL(v interface{}) error

type MergeQueueEntryState

type MergeQueueEntryState string

The possible states for a merge queue entry.

const (
	// The entry is currently queued.
	MergeQueueEntryStateQueued MergeQueueEntryState = "QUEUED"
	// The entry is currently waiting for checks to pass.
	MergeQueueEntryStateAwaitingChecks MergeQueueEntryState = "AWAITING_CHECKS"
	// The entry is currently mergeable.
	MergeQueueEntryStateMergeable MergeQueueEntryState = "MERGEABLE"
	// The entry is currently unmergeable.
	MergeQueueEntryStateUnmergeable MergeQueueEntryState = "UNMERGEABLE"
	// The entry is currently locked.
	MergeQueueEntryStateLocked MergeQueueEntryState = "LOCKED"
)

func (MergeQueueEntryState) IsValid

func (e MergeQueueEntryState) IsValid() bool

func (MergeQueueEntryState) MarshalGQL

func (e MergeQueueEntryState) MarshalGQL(w io.Writer)

func (MergeQueueEntryState) String

func (e MergeQueueEntryState) String() string

func (*MergeQueueEntryState) UnmarshalGQL

func (e *MergeQueueEntryState) UnmarshalGQL(v interface{}) error

type MergeQueueGroupingStrategy added in v0.27.0

type MergeQueueGroupingStrategy string

When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.

const (
	// The merge commit created by merge queue for each PR in the group must pass all required checks to merge
	MergeQueueGroupingStrategyAllgreen MergeQueueGroupingStrategy = "ALLGREEN"
	// Only the commit at the head of the merge group must pass its required checks to merge.
	MergeQueueGroupingStrategyHeadgreen MergeQueueGroupingStrategy = "HEADGREEN"
)

func (MergeQueueGroupingStrategy) IsValid added in v0.27.0

func (e MergeQueueGroupingStrategy) IsValid() bool

func (MergeQueueGroupingStrategy) MarshalGQL added in v0.27.0

func (e MergeQueueGroupingStrategy) MarshalGQL(w io.Writer)

func (MergeQueueGroupingStrategy) String added in v0.27.0

func (*MergeQueueGroupingStrategy) UnmarshalGQL added in v0.27.0

func (e *MergeQueueGroupingStrategy) UnmarshalGQL(v interface{}) error

type MergeQueueMergeMethod added in v0.27.0

type MergeQueueMergeMethod string

Method to use when merging changes from queued pull requests.

const (
	// Merge commit
	MergeQueueMergeMethodMerge MergeQueueMergeMethod = "MERGE"
	// Squash and merge
	MergeQueueMergeMethodSquash MergeQueueMergeMethod = "SQUASH"
	// Rebase and merge
	MergeQueueMergeMethodRebase MergeQueueMergeMethod = "REBASE"
)

func (MergeQueueMergeMethod) IsValid added in v0.27.0

func (e MergeQueueMergeMethod) IsValid() bool

func (MergeQueueMergeMethod) MarshalGQL added in v0.27.0

func (e MergeQueueMergeMethod) MarshalGQL(w io.Writer)

func (MergeQueueMergeMethod) String added in v0.27.0

func (e MergeQueueMergeMethod) String() string

func (*MergeQueueMergeMethod) UnmarshalGQL added in v0.27.0

func (e *MergeQueueMergeMethod) UnmarshalGQL(v interface{}) error

type MergeQueueMergingStrategy

type MergeQueueMergingStrategy string

The possible merging strategies for a merge queue.

const (
	// Entries only allowed to merge if they are passing.
	MergeQueueMergingStrategyAllgreen MergeQueueMergingStrategy = "ALLGREEN"
	// Failing Entires are allowed to merge if they are with a passing entry.
	MergeQueueMergingStrategyHeadgreen MergeQueueMergingStrategy = "HEADGREEN"
)

func (MergeQueueMergingStrategy) IsValid

func (e MergeQueueMergingStrategy) IsValid() bool

func (MergeQueueMergingStrategy) MarshalGQL

func (e MergeQueueMergingStrategy) MarshalGQL(w io.Writer)

func (MergeQueueMergingStrategy) String

func (e MergeQueueMergingStrategy) String() string

func (*MergeQueueMergingStrategy) UnmarshalGQL

func (e *MergeQueueMergingStrategy) UnmarshalGQL(v interface{}) error

type MergeStateStatus added in v0.27.0

type MergeStateStatus string

Detailed status information about a pull request merge.

const (
	// The merge commit cannot be cleanly created.
	MergeStateStatusDirty MergeStateStatus = "DIRTY"
	// The state cannot currently be determined.
	MergeStateStatusUnknown MergeStateStatus = "UNKNOWN"
	// The merge is blocked.
	MergeStateStatusBlocked MergeStateStatus = "BLOCKED"
	// The head ref is out of date.
	MergeStateStatusBehind MergeStateStatus = "BEHIND"
	// The merge is blocked due to the pull request being a draft.
	MergeStateStatusDraft MergeStateStatus = "DRAFT"
	// Mergeable with non-passing commit status.
	MergeStateStatusUnstable MergeStateStatus = "UNSTABLE"
	// Mergeable with passing commit status and pre-receive hooks.
	MergeStateStatusHasHooks MergeStateStatus = "HAS_HOOKS"
	// Mergeable and passing commit status.
	MergeStateStatusClean MergeStateStatus = "CLEAN"
)

func (MergeStateStatus) IsValid added in v0.27.0

func (e MergeStateStatus) IsValid() bool

func (MergeStateStatus) MarshalGQL added in v0.27.0

func (e MergeStateStatus) MarshalGQL(w io.Writer)

func (MergeStateStatus) String added in v0.27.0

func (e MergeStateStatus) String() string

func (*MergeStateStatus) UnmarshalGQL added in v0.27.0

func (e *MergeStateStatus) UnmarshalGQL(v interface{}) error

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 MigrationSourceType

type MigrationSourceType string

Represents the different GitHub Enterprise Importer (GEI) migration sources.

const (
	// An Azure DevOps migration source.
	MigrationSourceTypeAzureDevops MigrationSourceType = "AZURE_DEVOPS"
	// A Bitbucket Server migration source.
	MigrationSourceTypeBitbucketServer MigrationSourceType = "BITBUCKET_SERVER"
	// A GitHub Migration API source.
	MigrationSourceTypeGithubArchive MigrationSourceType = "GITHUB_ARCHIVE"
)

func (MigrationSourceType) IsValid

func (e MigrationSourceType) IsValid() bool

func (MigrationSourceType) MarshalGQL

func (e MigrationSourceType) MarshalGQL(w io.Writer)

func (MigrationSourceType) String

func (e MigrationSourceType) String() string

func (*MigrationSourceType) UnmarshalGQL

func (e *MigrationSourceType) UnmarshalGQL(v interface{}) error

type MigrationState

type MigrationState string

The GitHub Enterprise Importer (GEI) migration state.

const (
	// The migration has not started.
	MigrationStateNotStarted MigrationState = "NOT_STARTED"
	// The migration has been queued.
	MigrationStateQueued MigrationState = "QUEUED"
	// The migration is in progress.
	MigrationStateInProgress MigrationState = "IN_PROGRESS"
	// The migration has succeeded.
	MigrationStateSucceeded MigrationState = "SUCCEEDED"
	// The migration has failed.
	MigrationStateFailed MigrationState = "FAILED"
	// The migration needs to have its credentials validated.
	MigrationStatePendingValidation MigrationState = "PENDING_VALIDATION"
	// The migration has invalid credentials.
	MigrationStateFailedValidation MigrationState = "FAILED_VALIDATION"
)

func (MigrationState) IsValid

func (e MigrationState) IsValid() bool

func (MigrationState) MarshalGQL

func (e MigrationState) MarshalGQL(w io.Writer)

func (MigrationState) String

func (e MigrationState) String() string

func (*MigrationState) UnmarshalGQL

func (e *MigrationState) UnmarshalGQL(v interface{}) error

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 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 (NotificationRestrictionSettingValue) MarshalGQL

func (NotificationRestrictionSettingValue) String

func (*NotificationRestrictionSettingValue) UnmarshalGQL

func (e *NotificationRestrictionSettingValue) UnmarshalGQL(v interface{}) error

type OIDCProviderType

type OIDCProviderType string

The OIDC identity provider type

const (
	// Azure Active Directory
	OIDCProviderTypeAad OIDCProviderType = "AAD"
)

func (OIDCProviderType) IsValid

func (e OIDCProviderType) IsValid() bool

func (OIDCProviderType) MarshalGQL

func (e OIDCProviderType) MarshalGQL(w io.Writer)

func (OIDCProviderType) String

func (e OIDCProviderType) String() string

func (*OIDCProviderType) UnmarshalGQL

func (e *OIDCProviderType) UnmarshalGQL(v interface{}) error

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 (OauthApplicationCreateAuditEntryState) MarshalGQL

func (OauthApplicationCreateAuditEntryState) 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 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 (OrgAddMemberAuditEntryPermission) MarshalGQL

func (e OrgAddMemberAuditEntryPermission) MarshalGQL(w io.Writer)

func (OrgAddMemberAuditEntryPermission) String

func (*OrgAddMemberAuditEntryPermission) UnmarshalGQL

func (e *OrgAddMemberAuditEntryPermission) UnmarshalGQL(v interface{}) error

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 (OrgCreateAuditEntryBillingPlan) MarshalGQL

func (e OrgCreateAuditEntryBillingPlan) MarshalGQL(w io.Writer)

func (OrgCreateAuditEntryBillingPlan) String

func (*OrgCreateAuditEntryBillingPlan) UnmarshalGQL

func (e *OrgCreateAuditEntryBillingPlan) UnmarshalGQL(v interface{}) error

type OrgEnterpriseOwnerOrderField

type OrgEnterpriseOwnerOrderField string

Properties by which enterprise owners can be ordered.

const (
	// Order enterprise owners by login.
	OrgEnterpriseOwnerOrderFieldLogin OrgEnterpriseOwnerOrderField = "LOGIN"
)

func (OrgEnterpriseOwnerOrderField) IsValid

func (e OrgEnterpriseOwnerOrderField) IsValid() bool

func (OrgEnterpriseOwnerOrderField) MarshalGQL

func (e OrgEnterpriseOwnerOrderField) MarshalGQL(w io.Writer)

func (OrgEnterpriseOwnerOrderField) String

func (*OrgEnterpriseOwnerOrderField) UnmarshalGQL

func (e *OrgEnterpriseOwnerOrderField) UnmarshalGQL(v interface{}) error

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 (OrgRemoveBillingManagerAuditEntryReason) MarshalGQL

func (OrgRemoveBillingManagerAuditEntryReason) String

func (*OrgRemoveBillingManagerAuditEntryReason) UnmarshalGQL

func (e *OrgRemoveBillingManagerAuditEntryReason) UnmarshalGQL(v interface{}) error

type OrgRemoveMemberAuditEntryMembershipType

type OrgRemoveMemberAuditEntryMembershipType string

The type of membership a user has with an Organization.

const (
	// A suspended member.
	OrgRemoveMemberAuditEntryMembershipTypeSuspended OrgRemoveMemberAuditEntryMembershipType = "SUSPENDED"
	// A direct member is a user that is a member of the Organization.
	OrgRemoveMemberAuditEntryMembershipTypeDirectMember OrgRemoveMemberAuditEntryMembershipType = "DIRECT_MEMBER"
	// Organization owners 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 owners 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 (OrgRemoveMemberAuditEntryMembershipType) MarshalGQL

func (OrgRemoveMemberAuditEntryMembershipType) 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 (OrgRemoveMemberAuditEntryReason) MarshalGQL

func (e OrgRemoveMemberAuditEntryReason) MarshalGQL(w io.Writer)

func (OrgRemoveMemberAuditEntryReason) String

func (*OrgRemoveMemberAuditEntryReason) UnmarshalGQL

func (e *OrgRemoveMemberAuditEntryReason) UnmarshalGQL(v interface{}) error

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 (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) MarshalGQL

func (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) 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 (OrgRemoveOutsideCollaboratorAuditEntryReason) MarshalGQL

func (OrgRemoveOutsideCollaboratorAuditEntryReason) String

func (*OrgRemoveOutsideCollaboratorAuditEntryReason) UnmarshalGQL

func (e *OrgRemoveOutsideCollaboratorAuditEntryReason) UnmarshalGQL(v interface{}) error

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 (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) MarshalGQL

func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) String

func (*OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL

func (e *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL(v interface{}) error

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 (OrgUpdateMemberAuditEntryPermission) MarshalGQL

func (OrgUpdateMemberAuditEntryPermission) String

func (*OrgUpdateMemberAuditEntryPermission) UnmarshalGQL

func (e *OrgUpdateMemberAuditEntryPermission) UnmarshalGQL(v interface{}) error

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 (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) MarshalGQL

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) String

func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) UnmarshalGQL

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 (*OrganizationInvitationRole) UnmarshalGQL

func (e *OrganizationInvitationRole) UnmarshalGQL(v interface{}) error

type OrganizationInvitationSource

type OrganizationInvitationSource string

The possible organization invitation sources.

const (
	// The invitation was sent before this feature was added
	OrganizationInvitationSourceUnknown OrganizationInvitationSource = "UNKNOWN"
	// The invitation was created from the web interface or from API
	OrganizationInvitationSourceMember OrganizationInvitationSource = "MEMBER"
	// The invitation was created from SCIM
	OrganizationInvitationSourceScim OrganizationInvitationSource = "SCIM"
)

func (OrganizationInvitationSource) IsValid

func (e OrganizationInvitationSource) IsValid() bool

func (OrganizationInvitationSource) MarshalGQL

func (e OrganizationInvitationSource) MarshalGQL(w io.Writer)

func (OrganizationInvitationSource) String

func (*OrganizationInvitationSource) UnmarshalGQL

func (e *OrganizationInvitationSource) UnmarshalGQL(v interface{}) error

type OrganizationInvitationType

type OrganizationInvitationType string

The possible organization invitation types.

const (
	// The invitation was to an existing user.
	OrganizationInvitationTypeUser OrganizationInvitationType = "USER"
	// The invitation was to an email address.
	OrganizationInvitationTypeEmail OrganizationInvitationType = "EMAIL"
)

func (OrganizationInvitationType) IsValid

func (e OrganizationInvitationType) IsValid() bool

func (OrganizationInvitationType) MarshalGQL

func (e OrganizationInvitationType) MarshalGQL(w io.Writer)

func (OrganizationInvitationType) String

func (*OrganizationInvitationType) UnmarshalGQL

func (e *OrganizationInvitationType) UnmarshalGQL(v interface{}) error

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 (OrganizationMembersCanCreateRepositoriesSettingValue) MarshalGQL

func (OrganizationMembersCanCreateRepositoriesSettingValue) String

func (*OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL

func (e *OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL(v interface{}) error

type OrganizationMigrationState

type OrganizationMigrationState string

The Octoshift Organization migration state.

const (
	// The Octoshift migration has not started.
	OrganizationMigrationStateNotStarted OrganizationMigrationState = "NOT_STARTED"
	// The Octoshift migration has been queued.
	OrganizationMigrationStateQueued OrganizationMigrationState = "QUEUED"
	// The Octoshift migration is in progress.
	OrganizationMigrationStateInProgress OrganizationMigrationState = "IN_PROGRESS"
	// The Octoshift migration is performing pre repository migrations.
	OrganizationMigrationStatePreRepoMigration OrganizationMigrationState = "PRE_REPO_MIGRATION"
	// The Octoshift org migration is performing repository migrations.
	OrganizationMigrationStateRepoMigration OrganizationMigrationState = "REPO_MIGRATION"
	// The Octoshift migration is performing post repository migrations.
	OrganizationMigrationStatePostRepoMigration OrganizationMigrationState = "POST_REPO_MIGRATION"
	// The Octoshift migration has succeeded.
	OrganizationMigrationStateSucceeded OrganizationMigrationState = "SUCCEEDED"
	// The Octoshift migration has failed.
	OrganizationMigrationStateFailed OrganizationMigrationState = "FAILED"
	// The Octoshift migration needs to have its credentials validated.
	OrganizationMigrationStatePendingValidation OrganizationMigrationState = "PENDING_VALIDATION"
	// The Octoshift migration has invalid credentials.
	OrganizationMigrationStateFailedValidation OrganizationMigrationState = "FAILED_VALIDATION"
)

func (OrganizationMigrationState) IsValid

func (e OrganizationMigrationState) IsValid() bool

func (OrganizationMigrationState) MarshalGQL

func (e OrganizationMigrationState) MarshalGQL(w io.Writer)

func (OrganizationMigrationState) String

func (*OrganizationMigrationState) UnmarshalGQL

func (e *OrganizationMigrationState) UnmarshalGQL(v interface{}) error

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 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 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 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 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 PatchStatus

type PatchStatus string

The possible types of patch statuses.

const (
	// The file was added. Git status 'A'.
	PatchStatusAdded PatchStatus = "ADDED"
	// The file was deleted. Git status 'D'.
	PatchStatusDeleted PatchStatus = "DELETED"
	// The file was renamed. Git status 'R'.
	PatchStatusRenamed PatchStatus = "RENAMED"
	// The file was copied. Git status 'C'.
	PatchStatusCopied PatchStatus = "COPIED"
	// The file's contents were changed. Git status 'M'.
	PatchStatusModified PatchStatus = "MODIFIED"
	// The file's type was changed. Git status 'T'.
	PatchStatusChanged PatchStatus = "CHANGED"
)

func (PatchStatus) IsValid

func (e PatchStatus) IsValid() bool

func (PatchStatus) MarshalGQL

func (e PatchStatus) MarshalGQL(w io.Writer)

func (PatchStatus) String

func (e PatchStatus) String() string

func (*PatchStatus) UnmarshalGQL

func (e *PatchStatus) UnmarshalGQL(v interface{}) error

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 PinnedDiscussionGradient

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

func (e PinnedDiscussionGradient) IsValid() bool

func (PinnedDiscussionGradient) MarshalGQL

func (e PinnedDiscussionGradient) MarshalGQL(w io.Writer)

func (PinnedDiscussionGradient) String

func (e PinnedDiscussionGradient) String() string

func (*PinnedDiscussionGradient) UnmarshalGQL

func (e *PinnedDiscussionGradient) UnmarshalGQL(v interface{}) error

type PinnedDiscussionPattern

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

func (e PinnedDiscussionPattern) IsValid() bool

func (PinnedDiscussionPattern) MarshalGQL

func (e PinnedDiscussionPattern) MarshalGQL(w io.Writer)

func (PinnedDiscussionPattern) String

func (e PinnedDiscussionPattern) String() string

func (*PinnedDiscussionPattern) UnmarshalGQL

func (e *PinnedDiscussionPattern) UnmarshalGQL(v interface{}) error

type PinnedEnvironmentOrderField added in v0.27.0

type PinnedEnvironmentOrderField string

Properties by which pinned environments connections can be ordered

const (
	// Order pinned environments by position
	PinnedEnvironmentOrderFieldPosition PinnedEnvironmentOrderField = "POSITION"
)

func (PinnedEnvironmentOrderField) IsValid added in v0.27.0

func (e PinnedEnvironmentOrderField) IsValid() bool

func (PinnedEnvironmentOrderField) MarshalGQL added in v0.27.0

func (e PinnedEnvironmentOrderField) MarshalGQL(w io.Writer)

func (PinnedEnvironmentOrderField) String added in v0.27.0

func (*PinnedEnvironmentOrderField) UnmarshalGQL added in v0.27.0

func (e *PinnedEnvironmentOrderField) UnmarshalGQL(v interface{}) error

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 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 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 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 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 ProjectV2CustomFieldType

type ProjectV2CustomFieldType string

The type of a project field.

const (
	// Text
	ProjectV2CustomFieldTypeText ProjectV2CustomFieldType = "TEXT"
	// Single Select
	ProjectV2CustomFieldTypeSingleSelect ProjectV2CustomFieldType = "SINGLE_SELECT"
	// Number
	ProjectV2CustomFieldTypeNumber ProjectV2CustomFieldType = "NUMBER"
	// Date
	ProjectV2CustomFieldTypeDate ProjectV2CustomFieldType = "DATE"
)

func (ProjectV2CustomFieldType) IsValid

func (e ProjectV2CustomFieldType) IsValid() bool

func (ProjectV2CustomFieldType) MarshalGQL

func (e ProjectV2CustomFieldType) MarshalGQL(w io.Writer)

func (ProjectV2CustomFieldType) String

func (e ProjectV2CustomFieldType) String() string

func (*ProjectV2CustomFieldType) UnmarshalGQL

func (e *ProjectV2CustomFieldType) UnmarshalGQL(v interface{}) error

type ProjectV2FieldOrderField

type ProjectV2FieldOrderField string

Properties by which project v2 field connections can be ordered.

const (
	// Order project v2 fields by position
	ProjectV2FieldOrderFieldPosition ProjectV2FieldOrderField = "POSITION"
	// Order project v2 fields by creation time
	ProjectV2FieldOrderFieldCreatedAt ProjectV2FieldOrderField = "CREATED_AT"
	// Order project v2 fields by name
	ProjectV2FieldOrderFieldName ProjectV2FieldOrderField = "NAME"
)

func (ProjectV2FieldOrderField) IsValid

func (e ProjectV2FieldOrderField) IsValid() bool

func (ProjectV2FieldOrderField) MarshalGQL

func (e ProjectV2FieldOrderField) MarshalGQL(w io.Writer)

func (ProjectV2FieldOrderField) String

func (e ProjectV2FieldOrderField) String() string

func (*ProjectV2FieldOrderField) UnmarshalGQL

func (e *ProjectV2FieldOrderField) UnmarshalGQL(v interface{}) error

type ProjectV2FieldType

type ProjectV2FieldType string

The type of a project field.

const (
	// Assignees
	ProjectV2FieldTypeAssignees ProjectV2FieldType = "ASSIGNEES"
	// Linked Pull Requests
	ProjectV2FieldTypeLinkedPullRequests ProjectV2FieldType = "LINKED_PULL_REQUESTS"
	// Reviewers
	ProjectV2FieldTypeReviewers ProjectV2FieldType = "REVIEWERS"
	// Labels
	ProjectV2FieldTypeLabels ProjectV2FieldType = "LABELS"
	// Milestone
	ProjectV2FieldTypeMilestone ProjectV2FieldType = "MILESTONE"
	// Repository
	ProjectV2FieldTypeRepository ProjectV2FieldType = "REPOSITORY"
	// Title
	ProjectV2FieldTypeTitle ProjectV2FieldType = "TITLE"
	// Text
	ProjectV2FieldTypeText ProjectV2FieldType = "TEXT"
	// Single Select
	ProjectV2FieldTypeSingleSelect ProjectV2FieldType = "SINGLE_SELECT"
	// Number
	ProjectV2FieldTypeNumber ProjectV2FieldType = "NUMBER"
	// Date
	ProjectV2FieldTypeDate ProjectV2FieldType = "DATE"
	// Iteration
	ProjectV2FieldTypeIteration ProjectV2FieldType = "ITERATION"
	// Tracks
	ProjectV2FieldTypeTracks ProjectV2FieldType = "TRACKS"
	// Tracked by
	ProjectV2FieldTypeTrackedBy ProjectV2FieldType = "TRACKED_BY"
)

func (ProjectV2FieldType) IsValid

func (e ProjectV2FieldType) IsValid() bool

func (ProjectV2FieldType) MarshalGQL

func (e ProjectV2FieldType) MarshalGQL(w io.Writer)

func (ProjectV2FieldType) String

func (e ProjectV2FieldType) String() string

func (*ProjectV2FieldType) UnmarshalGQL

func (e *ProjectV2FieldType) UnmarshalGQL(v interface{}) error

type ProjectV2ItemFieldValueOrderField

type ProjectV2ItemFieldValueOrderField string

Properties by which project v2 item field value connections can be ordered.

const (
	// Order project v2 item field values by the their position in the project
	ProjectV2ItemFieldValueOrderFieldPosition ProjectV2ItemFieldValueOrderField = "POSITION"
)

func (ProjectV2ItemFieldValueOrderField) IsValid

func (ProjectV2ItemFieldValueOrderField) MarshalGQL

func (ProjectV2ItemFieldValueOrderField) String

func (*ProjectV2ItemFieldValueOrderField) UnmarshalGQL

func (e *ProjectV2ItemFieldValueOrderField) UnmarshalGQL(v interface{}) error

type ProjectV2ItemOrderField

type ProjectV2ItemOrderField string

Properties by which project v2 item connections can be ordered.

const (
	// Order project v2 items by the their position in the project
	ProjectV2ItemOrderFieldPosition ProjectV2ItemOrderField = "POSITION"
)

func (ProjectV2ItemOrderField) IsValid

func (e ProjectV2ItemOrderField) IsValid() bool

func (ProjectV2ItemOrderField) MarshalGQL

func (e ProjectV2ItemOrderField) MarshalGQL(w io.Writer)

func (ProjectV2ItemOrderField) String

func (e ProjectV2ItemOrderField) String() string

func (*ProjectV2ItemOrderField) UnmarshalGQL

func (e *ProjectV2ItemOrderField) UnmarshalGQL(v interface{}) error

type ProjectV2ItemType

type ProjectV2ItemType string

The type of a project item.

const (
	// Issue
	ProjectV2ItemTypeIssue ProjectV2ItemType = "ISSUE"
	// Pull Request
	ProjectV2ItemTypePullRequest ProjectV2ItemType = "PULL_REQUEST"
	// Draft Issue
	ProjectV2ItemTypeDraftIssue ProjectV2ItemType = "DRAFT_ISSUE"
	// Redacted Item
	ProjectV2ItemTypeRedacted ProjectV2ItemType = "REDACTED"
)

func (ProjectV2ItemType) IsValid

func (e ProjectV2ItemType) IsValid() bool

func (ProjectV2ItemType) MarshalGQL

func (e ProjectV2ItemType) MarshalGQL(w io.Writer)

func (ProjectV2ItemType) String

func (e ProjectV2ItemType) String() string

func (*ProjectV2ItemType) UnmarshalGQL

func (e *ProjectV2ItemType) UnmarshalGQL(v interface{}) error

type ProjectV2OrderField

type ProjectV2OrderField string

Properties by which projects can be ordered.

const (
	// The project's title
	ProjectV2OrderFieldTitle ProjectV2OrderField = "TITLE"
	// The project's number
	ProjectV2OrderFieldNumber ProjectV2OrderField = "NUMBER"
	// The project's date and time of update
	ProjectV2OrderFieldUpdatedAt ProjectV2OrderField = "UPDATED_AT"
	// The project's date and time of creation
	ProjectV2OrderFieldCreatedAt ProjectV2OrderField = "CREATED_AT"
)

func (ProjectV2OrderField) IsValid

func (e ProjectV2OrderField) IsValid() bool

func (ProjectV2OrderField) MarshalGQL

func (e ProjectV2OrderField) MarshalGQL(w io.Writer)

func (ProjectV2OrderField) String

func (e ProjectV2OrderField) String() string

func (*ProjectV2OrderField) UnmarshalGQL

func (e *ProjectV2OrderField) UnmarshalGQL(v interface{}) error

type ProjectV2PermissionLevel added in v0.27.0

type ProjectV2PermissionLevel string

The possible roles of a collaborator on a project.

const (
	// The collaborator can view the project
	ProjectV2PermissionLevelRead ProjectV2PermissionLevel = "READ"
	// The collaborator can view and edit the project
	ProjectV2PermissionLevelWrite ProjectV2PermissionLevel = "WRITE"
	// The collaborator can view, edit, and maange the settings of the project
	ProjectV2PermissionLevelAdmin ProjectV2PermissionLevel = "ADMIN"
)

func (ProjectV2PermissionLevel) IsValid added in v0.27.0

func (e ProjectV2PermissionLevel) IsValid() bool

func (ProjectV2PermissionLevel) MarshalGQL added in v0.27.0

func (e ProjectV2PermissionLevel) MarshalGQL(w io.Writer)

func (ProjectV2PermissionLevel) String added in v0.27.0

func (e ProjectV2PermissionLevel) String() string

func (*ProjectV2PermissionLevel) UnmarshalGQL added in v0.27.0

func (e *ProjectV2PermissionLevel) UnmarshalGQL(v interface{}) error

type ProjectV2Roles

type ProjectV2Roles string

The possible roles of a collaborator on a project.

const (
	// The collaborator has no direct access to the project
	ProjectV2RolesNone ProjectV2Roles = "NONE"
	// The collaborator can view the project
	ProjectV2RolesReader ProjectV2Roles = "READER"
	// The collaborator can view and edit the project
	ProjectV2RolesWriter ProjectV2Roles = "WRITER"
	// The collaborator can view, edit, and maange the settings of the project
	ProjectV2RolesAdmin ProjectV2Roles = "ADMIN"
)

func (ProjectV2Roles) IsValid

func (e ProjectV2Roles) IsValid() bool

func (ProjectV2Roles) MarshalGQL

func (e ProjectV2Roles) MarshalGQL(w io.Writer)

func (ProjectV2Roles) String

func (e ProjectV2Roles) String() string

func (*ProjectV2Roles) UnmarshalGQL

func (e *ProjectV2Roles) UnmarshalGQL(v interface{}) error

type ProjectV2SingleSelectFieldOptionColor

type ProjectV2SingleSelectFieldOptionColor string

The display color of a single-select field option.

const (
	// GRAY
	ProjectV2SingleSelectFieldOptionColorGray ProjectV2SingleSelectFieldOptionColor = "GRAY"
	// BLUE
	ProjectV2SingleSelectFieldOptionColorBlue ProjectV2SingleSelectFieldOptionColor = "BLUE"
	// GREEN
	ProjectV2SingleSelectFieldOptionColorGreen ProjectV2SingleSelectFieldOptionColor = "GREEN"
	// YELLOW
	ProjectV2SingleSelectFieldOptionColorYellow ProjectV2SingleSelectFieldOptionColor = "YELLOW"
	// ORANGE
	ProjectV2SingleSelectFieldOptionColorOrange ProjectV2SingleSelectFieldOptionColor = "ORANGE"
	// RED
	ProjectV2SingleSelectFieldOptionColorRed ProjectV2SingleSelectFieldOptionColor = "RED"
	// PINK
	ProjectV2SingleSelectFieldOptionColorPink ProjectV2SingleSelectFieldOptionColor = "PINK"
	// PURPLE
	ProjectV2SingleSelectFieldOptionColorPurple ProjectV2SingleSelectFieldOptionColor = "PURPLE"
)

func (ProjectV2SingleSelectFieldOptionColor) IsValid

func (ProjectV2SingleSelectFieldOptionColor) MarshalGQL

func (ProjectV2SingleSelectFieldOptionColor) String

func (*ProjectV2SingleSelectFieldOptionColor) UnmarshalGQL

func (e *ProjectV2SingleSelectFieldOptionColor) UnmarshalGQL(v interface{}) error

type ProjectV2State

type ProjectV2State string

The possible states of a project v2.

const (
	// A project v2 that is still open
	ProjectV2StateOpen ProjectV2State = "OPEN"
	// A project v2 that has been closed
	ProjectV2StateClosed ProjectV2State = "CLOSED"
)

func (ProjectV2State) IsValid

func (e ProjectV2State) IsValid() bool

func (ProjectV2State) MarshalGQL

func (e ProjectV2State) MarshalGQL(w io.Writer)

func (ProjectV2State) String

func (e ProjectV2State) String() string

func (*ProjectV2State) UnmarshalGQL

func (e *ProjectV2State) UnmarshalGQL(v interface{}) error

type ProjectV2StatusUpdateOrderField added in v0.27.0

type ProjectV2StatusUpdateOrderField string

Properties by which project v2 status updates can be ordered.

const (
	// Allows chronological ordering of project v2 status updates.
	ProjectV2StatusUpdateOrderFieldCreatedAt ProjectV2StatusUpdateOrderField = "CREATED_AT"
)

func (ProjectV2StatusUpdateOrderField) IsValid added in v0.27.0

func (ProjectV2StatusUpdateOrderField) MarshalGQL added in v0.27.0

func (e ProjectV2StatusUpdateOrderField) MarshalGQL(w io.Writer)

func (ProjectV2StatusUpdateOrderField) String added in v0.27.0

func (*ProjectV2StatusUpdateOrderField) UnmarshalGQL added in v0.27.0

func (e *ProjectV2StatusUpdateOrderField) UnmarshalGQL(v interface{}) error

type ProjectV2StatusUpdateStatus added in v0.27.0

type ProjectV2StatusUpdateStatus string

The possible statuses of a project v2.

const (
	// A project v2 that is inactive.
	ProjectV2StatusUpdateStatusInactive ProjectV2StatusUpdateStatus = "INACTIVE"
	// A project v2 that is on track with no risks.
	ProjectV2StatusUpdateStatusOnTrack ProjectV2StatusUpdateStatus = "ON_TRACK"
	// A project v2 that is at risk and encountering some challenges.
	ProjectV2StatusUpdateStatusAtRisk ProjectV2StatusUpdateStatus = "AT_RISK"
	// A project v2 that is off track and needs attention.
	ProjectV2StatusUpdateStatusOffTrack ProjectV2StatusUpdateStatus = "OFF_TRACK"
	// A project v2 that is complete.
	ProjectV2StatusUpdateStatusComplete ProjectV2StatusUpdateStatus = "COMPLETE"
)

func (ProjectV2StatusUpdateStatus) IsValid added in v0.27.0

func (e ProjectV2StatusUpdateStatus) IsValid() bool

func (ProjectV2StatusUpdateStatus) MarshalGQL added in v0.27.0

func (e ProjectV2StatusUpdateStatus) MarshalGQL(w io.Writer)

func (ProjectV2StatusUpdateStatus) String added in v0.27.0

func (*ProjectV2StatusUpdateStatus) UnmarshalGQL added in v0.27.0

func (e *ProjectV2StatusUpdateStatus) UnmarshalGQL(v interface{}) error

type ProjectV2ViewLayout

type ProjectV2ViewLayout string

The layout of a project v2 view.

const (
	// Board layout
	ProjectV2ViewLayoutBoardLayout ProjectV2ViewLayout = "BOARD_LAYOUT"
	// Table layout
	ProjectV2ViewLayoutTableLayout ProjectV2ViewLayout = "TABLE_LAYOUT"
	// Roadmap layout
	ProjectV2ViewLayoutRoadmapLayout ProjectV2ViewLayout = "ROADMAP_LAYOUT"
)

func (ProjectV2ViewLayout) IsValid

func (e ProjectV2ViewLayout) IsValid() bool

func (ProjectV2ViewLayout) MarshalGQL

func (e ProjectV2ViewLayout) MarshalGQL(w io.Writer)

func (ProjectV2ViewLayout) String

func (e ProjectV2ViewLayout) String() string

func (*ProjectV2ViewLayout) UnmarshalGQL

func (e *ProjectV2ViewLayout) UnmarshalGQL(v interface{}) error

type ProjectV2ViewOrderField

type ProjectV2ViewOrderField string

Properties by which project v2 view connections can be ordered.

const (
	// Order project v2 views by position
	ProjectV2ViewOrderFieldPosition ProjectV2ViewOrderField = "POSITION"
	// Order project v2 views by creation time
	ProjectV2ViewOrderFieldCreatedAt ProjectV2ViewOrderField = "CREATED_AT"
	// Order project v2 views by name
	ProjectV2ViewOrderFieldName ProjectV2ViewOrderField = "NAME"
)

func (ProjectV2ViewOrderField) IsValid

func (e ProjectV2ViewOrderField) IsValid() bool

func (ProjectV2ViewOrderField) MarshalGQL

func (e ProjectV2ViewOrderField) MarshalGQL(w io.Writer)

func (ProjectV2ViewOrderField) String

func (e ProjectV2ViewOrderField) String() string

func (*ProjectV2ViewOrderField) UnmarshalGQL

func (e *ProjectV2ViewOrderField) UnmarshalGQL(v interface{}) error

type ProjectV2WorkflowsOrderField

type ProjectV2WorkflowsOrderField string

Properties by which project workflows can be ordered.

const (
	// The name of the workflow
	ProjectV2WorkflowsOrderFieldName ProjectV2WorkflowsOrderField = "NAME"
	// The number of the workflow
	ProjectV2WorkflowsOrderFieldNumber ProjectV2WorkflowsOrderField = "NUMBER"
	// The date and time of the workflow update
	ProjectV2WorkflowsOrderFieldUpdatedAt ProjectV2WorkflowsOrderField = "UPDATED_AT"
	// The date and time of the workflow creation
	ProjectV2WorkflowsOrderFieldCreatedAt ProjectV2WorkflowsOrderField = "CREATED_AT"
)

func (ProjectV2WorkflowsOrderField) IsValid

func (e ProjectV2WorkflowsOrderField) IsValid() bool

func (ProjectV2WorkflowsOrderField) MarshalGQL

func (e ProjectV2WorkflowsOrderField) MarshalGQL(w io.Writer)

func (ProjectV2WorkflowsOrderField) String

func (*ProjectV2WorkflowsOrderField) UnmarshalGQL

func (e *ProjectV2WorkflowsOrderField) UnmarshalGQL(v interface{}) error

type PullRequestBranchUpdateMethod

type PullRequestBranchUpdateMethod string

The possible methods for updating a pull request's head branch with the base branch.

const (
	// Update branch via merge
	PullRequestBranchUpdateMethodMerge PullRequestBranchUpdateMethod = "MERGE"
	// Update branch via rebase
	PullRequestBranchUpdateMethodRebase PullRequestBranchUpdateMethod = "REBASE"
)

func (PullRequestBranchUpdateMethod) IsValid

func (e PullRequestBranchUpdateMethod) IsValid() bool

func (PullRequestBranchUpdateMethod) MarshalGQL

func (e PullRequestBranchUpdateMethod) MarshalGQL(w io.Writer)

func (PullRequestBranchUpdateMethod) String

func (*PullRequestBranchUpdateMethod) UnmarshalGQL

func (e *PullRequestBranchUpdateMethod) UnmarshalGQL(v interface{}) error

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 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 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 (*PullRequestReviewCommentState) UnmarshalGQL

func (e *PullRequestReviewCommentState) UnmarshalGQL(v interface{}) error

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 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 PullRequestReviewThreadSubjectType

type PullRequestReviewThreadSubjectType string

The possible subject types of a pull request review comment.

const (
	// A comment that has been made against the line of a pull request
	PullRequestReviewThreadSubjectTypeLine PullRequestReviewThreadSubjectType = "LINE"
	// A comment that has been made against the file of a pull request
	PullRequestReviewThreadSubjectTypeFile PullRequestReviewThreadSubjectType = "FILE"
)

func (PullRequestReviewThreadSubjectType) IsValid

func (PullRequestReviewThreadSubjectType) MarshalGQL

func (PullRequestReviewThreadSubjectType) String

func (*PullRequestReviewThreadSubjectType) UnmarshalGQL

func (e *PullRequestReviewThreadSubjectType) UnmarshalGQL(v interface{}) error

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 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 (PullRequestTimelineItemsItemType) MarshalGQL

func (e PullRequestTimelineItemsItemType) MarshalGQL(w io.Writer)

func (PullRequestTimelineItemsItemType) 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 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 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 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 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 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 (RepoAccessAuditEntryVisibility) MarshalGQL

func (e RepoAccessAuditEntryVisibility) MarshalGQL(w io.Writer)

func (RepoAccessAuditEntryVisibility) String

func (*RepoAccessAuditEntryVisibility) UnmarshalGQL

func (e *RepoAccessAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (RepoAddMemberAuditEntryVisibility) MarshalGQL

func (RepoAddMemberAuditEntryVisibility) String

func (*RepoAddMemberAuditEntryVisibility) UnmarshalGQL

func (e *RepoAddMemberAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (RepoArchivedAuditEntryVisibility) MarshalGQL

func (e RepoArchivedAuditEntryVisibility) MarshalGQL(w io.Writer)

func (RepoArchivedAuditEntryVisibility) String

func (*RepoArchivedAuditEntryVisibility) UnmarshalGQL

func (e *RepoArchivedAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (RepoChangeMergeSettingAuditEntryMergeType) MarshalGQL

func (RepoChangeMergeSettingAuditEntryMergeType) String

func (*RepoChangeMergeSettingAuditEntryMergeType) UnmarshalGQL

func (e *RepoChangeMergeSettingAuditEntryMergeType) UnmarshalGQL(v interface{}) error

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 (RepoCreateAuditEntryVisibility) MarshalGQL

func (e RepoCreateAuditEntryVisibility) MarshalGQL(w io.Writer)

func (RepoCreateAuditEntryVisibility) String

func (*RepoCreateAuditEntryVisibility) UnmarshalGQL

func (e *RepoCreateAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (RepoDestroyAuditEntryVisibility) MarshalGQL

func (e RepoDestroyAuditEntryVisibility) MarshalGQL(w io.Writer)

func (RepoDestroyAuditEntryVisibility) String

func (*RepoDestroyAuditEntryVisibility) UnmarshalGQL

func (e *RepoDestroyAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (RepoRemoveMemberAuditEntryVisibility) MarshalGQL

func (RepoRemoveMemberAuditEntryVisibility) String

func (*RepoRemoveMemberAuditEntryVisibility) UnmarshalGQL

func (e *RepoRemoveMemberAuditEntryVisibility) UnmarshalGQL(v interface{}) error

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 (*ReportedContentClassifiers) UnmarshalGQL

func (e *ReportedContentClassifiers) UnmarshalGQL(v interface{}) error

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 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 (*RepositoryContributionType) UnmarshalGQL

func (e *RepositoryContributionType) UnmarshalGQL(v interface{}) error

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 (*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 (RepositoryInteractionLimitExpiry) MarshalGQL

func (e RepositoryInteractionLimitExpiry) MarshalGQL(w io.Writer)

func (RepositoryInteractionLimitExpiry) 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 (RepositoryInteractionLimitOrigin) MarshalGQL

func (e RepositoryInteractionLimitOrigin) MarshalGQL(w io.Writer)

func (RepositoryInteractionLimitOrigin) String

func (*RepositoryInteractionLimitOrigin) UnmarshalGQL

func (e *RepositoryInteractionLimitOrigin) UnmarshalGQL(v interface{}) error

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 (RepositoryInvitationOrderField) MarshalGQL

func (e RepositoryInvitationOrderField) MarshalGQL(w io.Writer)

func (RepositoryInvitationOrderField) String

func (*RepositoryInvitationOrderField) UnmarshalGQL

func (e *RepositoryInvitationOrderField) UnmarshalGQL(v interface{}) error

type RepositoryLockReason

type RepositoryLockReason string

The possible reasons a given repository could be in a locked state.

const (
	// The repository is locked due to a move.
	RepositoryLockReasonMoving RepositoryLockReason = "MOVING"
	// The repository is locked due to a billing related reason.
	RepositoryLockReasonBilling RepositoryLockReason = "BILLING"
	// The repository is locked due to a rename.
	RepositoryLockReasonRename RepositoryLockReason = "RENAME"
	// The repository is locked due to a migration.
	RepositoryLockReasonMigrating RepositoryLockReason = "MIGRATING"
	// The repository is locked due to a trade controls related reason.
	RepositoryLockReasonTradeRestriction RepositoryLockReason = "TRADE_RESTRICTION"
	// The repository is locked due to an ownership transfer.
	RepositoryLockReasonTransferringOwnership RepositoryLockReason = "TRANSFERRING_OWNERSHIP"
)

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 RepositoryMigrationOrderDirection

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

func (RepositoryMigrationOrderDirection) MarshalGQL

func (RepositoryMigrationOrderDirection) String

func (*RepositoryMigrationOrderDirection) UnmarshalGQL

func (e *RepositoryMigrationOrderDirection) UnmarshalGQL(v interface{}) error

type RepositoryMigrationOrderField

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

func (e RepositoryMigrationOrderField) IsValid() bool

func (RepositoryMigrationOrderField) MarshalGQL

func (e RepositoryMigrationOrderField) MarshalGQL(w io.Writer)

func (RepositoryMigrationOrderField) String

func (*RepositoryMigrationOrderField) UnmarshalGQL

func (e *RepositoryMigrationOrderField) UnmarshalGQL(v interface{}) error

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 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 RepositoryRuleOrderField

type RepositoryRuleOrderField string

Properties by which repository rule connections can be ordered.

const (
	// Order repository rules by updated time
	RepositoryRuleOrderFieldUpdatedAt RepositoryRuleOrderField = "UPDATED_AT"
	// Order repository rules by created time
	RepositoryRuleOrderFieldCreatedAt RepositoryRuleOrderField = "CREATED_AT"
	// Order repository rules by type
	RepositoryRuleOrderFieldType RepositoryRuleOrderField = "TYPE"
)

func (RepositoryRuleOrderField) IsValid

func (e RepositoryRuleOrderField) IsValid() bool

func (RepositoryRuleOrderField) MarshalGQL

func (e RepositoryRuleOrderField) MarshalGQL(w io.Writer)

func (RepositoryRuleOrderField) String

func (e RepositoryRuleOrderField) String() string

func (*RepositoryRuleOrderField) UnmarshalGQL

func (e *RepositoryRuleOrderField) UnmarshalGQL(v interface{}) error

type RepositoryRuleType

type RepositoryRuleType string

The rule types supported in rulesets

const (
	// Only allow users with bypass permission to create matching refs.
	RepositoryRuleTypeCreation RepositoryRuleType = "CREATION"
	// Only allow users with bypass permission to update matching refs.
	RepositoryRuleTypeUpdate RepositoryRuleType = "UPDATE"
	// Only allow users with bypass permissions to delete matching refs.
	RepositoryRuleTypeDeletion RepositoryRuleType = "DELETION"
	// Prevent merge commits from being pushed to matching refs.
	RepositoryRuleTypeRequiredLinearHistory RepositoryRuleType = "REQUIRED_LINEAR_HISTORY"
	// Merges must be performed via a merge queue.
	RepositoryRuleTypeMergeQueue RepositoryRuleType = "MERGE_QUEUE"
	// When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule.
	RepositoryRuleTypeRequiredReviewThreadResolution RepositoryRuleType = "REQUIRED_REVIEW_THREAD_RESOLUTION"
	// Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
	RepositoryRuleTypeRequiredDeployments RepositoryRuleType = "REQUIRED_DEPLOYMENTS"
	// Commits pushed to matching refs must have verified signatures.
	RepositoryRuleTypeRequiredSignatures RepositoryRuleType = "REQUIRED_SIGNATURES"
	// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
	RepositoryRuleTypePullRequest RepositoryRuleType = "PULL_REQUEST"
	// Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.
	RepositoryRuleTypeRequiredStatusChecks RepositoryRuleType = "REQUIRED_STATUS_CHECKS"
	// Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged.
	RepositoryRuleTypeRequiredWorkflowStatusChecks RepositoryRuleType = "REQUIRED_WORKFLOW_STATUS_CHECKS"
	// Prevent users with push access from force pushing to refs.
	RepositoryRuleTypeNonFastForward RepositoryRuleType = "NON_FAST_FORWARD"
	// Authorization
	RepositoryRuleTypeAuthorization RepositoryRuleType = "AUTHORIZATION"
	// Tag
	RepositoryRuleTypeTag RepositoryRuleType = "TAG"
	// Merge queue locked ref
	RepositoryRuleTypeMergeQueueLockedRef RepositoryRuleType = "MERGE_QUEUE_LOCKED_REF"
	// Branch is read-only. Users cannot push to the branch.
	RepositoryRuleTypeLockBranch RepositoryRuleType = "LOCK_BRANCH"
	// Max ref updates
	RepositoryRuleTypeMaxRefUpdates RepositoryRuleType = "MAX_REF_UPDATES"
	// Commit message pattern
	RepositoryRuleTypeCommitMessagePattern RepositoryRuleType = "COMMIT_MESSAGE_PATTERN"
	// Commit author email pattern
	RepositoryRuleTypeCommitAuthorEmailPattern RepositoryRuleType = "COMMIT_AUTHOR_EMAIL_PATTERN"
	// Committer email pattern
	RepositoryRuleTypeCommitterEmailPattern RepositoryRuleType = "COMMITTER_EMAIL_PATTERN"
	// Branch name pattern
	RepositoryRuleTypeBranchNamePattern RepositoryRuleType = "BRANCH_NAME_PATTERN"
	// Tag name pattern
	RepositoryRuleTypeTagNamePattern RepositoryRuleType = "TAG_NAME_PATTERN"
	// Prevent commits that include changes in specified file paths from being pushed to the commit graph.
	RepositoryRuleTypeFilePathRestriction RepositoryRuleType = "FILE_PATH_RESTRICTION"
	// Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.
	RepositoryRuleTypeMaxFilePathLength RepositoryRuleType = "MAX_FILE_PATH_LENGTH"
	// Prevent commits that include files with specified file extensions from being pushed to the commit graph.
	RepositoryRuleTypeFileExtensionRestriction RepositoryRuleType = "FILE_EXTENSION_RESTRICTION"
	// Prevent commits that exceed a specified file size limit from being pushed to the commit.
	RepositoryRuleTypeMaxFileSize RepositoryRuleType = "MAX_FILE_SIZE"
	// Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
	RepositoryRuleTypeWorkflows RepositoryRuleType = "WORKFLOWS"
	// Secret scanning
	RepositoryRuleTypeSecretScanning RepositoryRuleType = "SECRET_SCANNING"
	// Workflow files cannot be modified.
	RepositoryRuleTypeWorkflowUpdates RepositoryRuleType = "WORKFLOW_UPDATES"
	// Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.
	RepositoryRuleTypeCodeScanning RepositoryRuleType = "CODE_SCANNING"
)

func (RepositoryRuleType) IsValid

func (e RepositoryRuleType) IsValid() bool

func (RepositoryRuleType) MarshalGQL

func (e RepositoryRuleType) MarshalGQL(w io.Writer)

func (RepositoryRuleType) String

func (e RepositoryRuleType) String() string

func (*RepositoryRuleType) UnmarshalGQL

func (e *RepositoryRuleType) UnmarshalGQL(v interface{}) error

type RepositoryRulesetBypassActorBypassMode

type RepositoryRulesetBypassActorBypassMode string

The bypass mode for a specific actor on a ruleset.

const (
	// The actor can always bypass rules
	RepositoryRulesetBypassActorBypassModeAlways RepositoryRulesetBypassActorBypassMode = "ALWAYS"
	// The actor can only bypass rules via a pull request
	RepositoryRulesetBypassActorBypassModePullRequest RepositoryRulesetBypassActorBypassMode = "PULL_REQUEST"
)

func (RepositoryRulesetBypassActorBypassMode) IsValid

func (RepositoryRulesetBypassActorBypassMode) MarshalGQL

func (RepositoryRulesetBypassActorBypassMode) String

func (*RepositoryRulesetBypassActorBypassMode) UnmarshalGQL

func (e *RepositoryRulesetBypassActorBypassMode) UnmarshalGQL(v interface{}) error

type RepositoryRulesetTarget

type RepositoryRulesetTarget string

The targets supported for rulesets.

const (
	// Branch
	RepositoryRulesetTargetBranch RepositoryRulesetTarget = "BRANCH"
	// Tag
	RepositoryRulesetTargetTag RepositoryRulesetTarget = "TAG"
	// Push
	RepositoryRulesetTargetPush RepositoryRulesetTarget = "PUSH"
)

func (RepositoryRulesetTarget) IsValid

func (e RepositoryRulesetTarget) IsValid() bool

func (RepositoryRulesetTarget) MarshalGQL

func (e RepositoryRulesetTarget) MarshalGQL(w io.Writer)

func (RepositoryRulesetTarget) String

func (e RepositoryRulesetTarget) String() string

func (*RepositoryRulesetTarget) UnmarshalGQL

func (e *RepositoryRulesetTarget) UnmarshalGQL(v interface{}) error

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 RepositoryVulnerabilityAlertDependencyScope

type RepositoryVulnerabilityAlertDependencyScope string

The possible scopes of an alert's dependency.

const (
	// A dependency that is leveraged during application runtime
	RepositoryVulnerabilityAlertDependencyScopeRuntime RepositoryVulnerabilityAlertDependencyScope = "RUNTIME"
	// A dependency that is only used in development
	RepositoryVulnerabilityAlertDependencyScopeDevelopment RepositoryVulnerabilityAlertDependencyScope = "DEVELOPMENT"
)

func (RepositoryVulnerabilityAlertDependencyScope) IsValid

func (RepositoryVulnerabilityAlertDependencyScope) MarshalGQL

func (RepositoryVulnerabilityAlertDependencyScope) String

func (*RepositoryVulnerabilityAlertDependencyScope) UnmarshalGQL

func (e *RepositoryVulnerabilityAlertDependencyScope) UnmarshalGQL(v interface{}) error

type RepositoryVulnerabilityAlertState

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"
	// An alert that has been automatically closed by Dependabot.
	RepositoryVulnerabilityAlertStateAutoDismissed RepositoryVulnerabilityAlertState = "AUTO_DISMISSED"
)

func (RepositoryVulnerabilityAlertState) IsValid

func (RepositoryVulnerabilityAlertState) MarshalGQL

func (RepositoryVulnerabilityAlertState) String

func (*RepositoryVulnerabilityAlertState) UnmarshalGQL

func (e *RepositoryVulnerabilityAlertState) UnmarshalGQL(v interface{}) error

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 (*RequestableCheckStatusState) UnmarshalGQL

func (e *RequestableCheckStatusState) UnmarshalGQL(v interface{}) error

type RoleInOrganization

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

func (e RoleInOrganization) IsValid() bool

func (RoleInOrganization) MarshalGQL

func (e RoleInOrganization) MarshalGQL(w io.Writer)

func (RoleInOrganization) String

func (e RoleInOrganization) String() string

func (*RoleInOrganization) UnmarshalGQL

func (e *RoleInOrganization) UnmarshalGQL(v interface{}) error

type RuleEnforcement

type RuleEnforcement string

The level of enforcement for a rule or ruleset.

const (
	// Do not evaluate or enforce rules
	RuleEnforcementDisabled RuleEnforcement = "DISABLED"
	// Rules will be enforced
	RuleEnforcementActive RuleEnforcement = "ACTIVE"
	// Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise).
	RuleEnforcementEvaluate RuleEnforcement = "EVALUATE"
)

func (RuleEnforcement) IsValid

func (e RuleEnforcement) IsValid() bool

func (RuleEnforcement) MarshalGQL

func (e RuleEnforcement) MarshalGQL(w io.Writer)

func (RuleEnforcement) String

func (e RuleEnforcement) String() string

func (*RuleEnforcement) UnmarshalGQL

func (e *RuleEnforcement) 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 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 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 SecurityAdvisoryClassification

type SecurityAdvisoryClassification string

Classification of the advisory.

const (
	// Classification of general advisories.
	SecurityAdvisoryClassificationGeneral SecurityAdvisoryClassification = "GENERAL"
	// Classification of malware advisories.
	SecurityAdvisoryClassificationMalware SecurityAdvisoryClassification = "MALWARE"
)

func (SecurityAdvisoryClassification) IsValid

func (SecurityAdvisoryClassification) MarshalGQL

func (e SecurityAdvisoryClassification) MarshalGQL(w io.Writer)

func (SecurityAdvisoryClassification) String

func (*SecurityAdvisoryClassification) UnmarshalGQL

func (e *SecurityAdvisoryClassification) UnmarshalGQL(v interface{}) error

type SecurityAdvisoryEcosystem

type SecurityAdvisoryEcosystem string

The possible ecosystems of a security vulnerability's package.

const (
	// PHP packages hosted at packagist.org
	SecurityAdvisoryEcosystemComposer SecurityAdvisoryEcosystem = "COMPOSER"
	// Erlang/Elixir packages hosted at hex.pm
	SecurityAdvisoryEcosystemErlang SecurityAdvisoryEcosystem = "ERLANG"
	// GitHub Actions
	SecurityAdvisoryEcosystemActions SecurityAdvisoryEcosystem = "ACTIONS"
	// Go modules
	SecurityAdvisoryEcosystemGo SecurityAdvisoryEcosystem = "GO"
	// Java artifacts hosted at the Maven central repository
	SecurityAdvisoryEcosystemMaven SecurityAdvisoryEcosystem = "MAVEN"
	// JavaScript packages hosted at npmjs.com
	SecurityAdvisoryEcosystemNpm SecurityAdvisoryEcosystem = "NPM"
	// .NET packages hosted at the NuGet Gallery
	SecurityAdvisoryEcosystemNuget SecurityAdvisoryEcosystem = "NUGET"
	// Python packages hosted at PyPI.org
	SecurityAdvisoryEcosystemPip SecurityAdvisoryEcosystem = "PIP"
	// Dart packages hosted at pub.dev
	SecurityAdvisoryEcosystemPub SecurityAdvisoryEcosystem = "PUB"
	// Ruby gems hosted at RubyGems.org
	SecurityAdvisoryEcosystemRubygems SecurityAdvisoryEcosystem = "RUBYGEMS"
	// Rust crates
	SecurityAdvisoryEcosystemRust SecurityAdvisoryEcosystem = "RUST"
	// Swift packages
	SecurityAdvisoryEcosystemSwift SecurityAdvisoryEcosystem = "SWIFT"
)

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 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 (SecurityAdvisoryIdentifierType) MarshalGQL

func (e SecurityAdvisoryIdentifierType) MarshalGQL(w io.Writer)

func (SecurityAdvisoryIdentifierType) String

func (*SecurityAdvisoryIdentifierType) UnmarshalGQL

func (e *SecurityAdvisoryIdentifierType) UnmarshalGQL(v interface{}) error

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"
	// Order advisories by EPSS percentage
	SecurityAdvisoryOrderFieldEpssPercentage SecurityAdvisoryOrderField = "EPSS_PERCENTAGE"
	// Order advisories by EPSS percentile
	SecurityAdvisoryOrderFieldEpssPercentile SecurityAdvisoryOrderField = "EPSS_PERCENTILE"
)

func (SecurityAdvisoryOrderField) IsValid

func (e SecurityAdvisoryOrderField) IsValid() bool

func (SecurityAdvisoryOrderField) MarshalGQL

func (e SecurityAdvisoryOrderField) MarshalGQL(w io.Writer)

func (SecurityAdvisoryOrderField) String

func (*SecurityAdvisoryOrderField) UnmarshalGQL

func (e *SecurityAdvisoryOrderField) UnmarshalGQL(v interface{}) error

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 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 (SecurityVulnerabilityOrderField) MarshalGQL

func (e SecurityVulnerabilityOrderField) MarshalGQL(w io.Writer)

func (SecurityVulnerabilityOrderField) String

func (*SecurityVulnerabilityOrderField) UnmarshalGQL

func (e *SecurityVulnerabilityOrderField) UnmarshalGQL(v interface{}) error

type SocialAccountProvider

type SocialAccountProvider string

Software or company that hosts social media accounts.

const (
	// Catch-all for social media providers that do not yet have specific handling.
	SocialAccountProviderGeneric SocialAccountProvider = "GENERIC"
	// Social media and networking website.
	SocialAccountProviderFacebook SocialAccountProvider = "FACEBOOK"
	// Fork of Mastodon with a greater focus on local posting.
	SocialAccountProviderHometown SocialAccountProvider = "HOMETOWN"
	// Social media website with a focus on photo and video sharing.
	SocialAccountProviderInstagram SocialAccountProvider = "INSTAGRAM"
	// Professional networking website.
	SocialAccountProviderLinkedin SocialAccountProvider = "LINKEDIN"
	// Open-source federated microblogging service.
	SocialAccountProviderMastodon SocialAccountProvider = "MASTODON"
	// Social news aggregation and discussion website.
	SocialAccountProviderReddit SocialAccountProvider = "REDDIT"
	// Live-streaming service.
	SocialAccountProviderTwitch SocialAccountProvider = "TWITCH"
	// Microblogging website.
	SocialAccountProviderTwitter SocialAccountProvider = "TWITTER"
	// Online video platform.
	SocialAccountProviderYoutube SocialAccountProvider = "YOUTUBE"
	// Decentralized microblogging social platform.
	SocialAccountProviderBluesky SocialAccountProvider = "BLUESKY"
	// JavaScript package registry.
	SocialAccountProviderNpm SocialAccountProvider = "NPM"
)

func (SocialAccountProvider) IsValid

func (e SocialAccountProvider) IsValid() bool

func (SocialAccountProvider) MarshalGQL

func (e SocialAccountProvider) MarshalGQL(w io.Writer)

func (SocialAccountProvider) String

func (e SocialAccountProvider) String() string

func (*SocialAccountProvider) UnmarshalGQL

func (e *SocialAccountProvider) UnmarshalGQL(v interface{}) error

type SponsorAndLifetimeValueOrderField

type SponsorAndLifetimeValueOrderField string

Properties by which sponsor and lifetime value connections can be ordered.

const (
	// Order results by the sponsor's login (username).
	SponsorAndLifetimeValueOrderFieldSponsorLogin SponsorAndLifetimeValueOrderField = "SPONSOR_LOGIN"
	// Order results by the sponsor's relevance to the viewer.
	SponsorAndLifetimeValueOrderFieldSponsorRelevance SponsorAndLifetimeValueOrderField = "SPONSOR_RELEVANCE"
	// Order results by how much money the sponsor has paid in total.
	SponsorAndLifetimeValueOrderFieldLifetimeValue SponsorAndLifetimeValueOrderField = "LIFETIME_VALUE"
)

func (SponsorAndLifetimeValueOrderField) IsValid

func (SponsorAndLifetimeValueOrderField) MarshalGQL

func (SponsorAndLifetimeValueOrderField) String

func (*SponsorAndLifetimeValueOrderField) UnmarshalGQL

func (e *SponsorAndLifetimeValueOrderField) UnmarshalGQL(v interface{}) error

type SponsorOrderField

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

func (e SponsorOrderField) IsValid() bool

func (SponsorOrderField) MarshalGQL

func (e SponsorOrderField) MarshalGQL(w io.Writer)

func (SponsorOrderField) String

func (e SponsorOrderField) String() string

func (*SponsorOrderField) UnmarshalGQL

func (e *SponsorOrderField) UnmarshalGQL(v interface{}) error

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 SponsorsActivityAction

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

func (e SponsorsActivityAction) IsValid() bool

func (SponsorsActivityAction) MarshalGQL

func (e SponsorsActivityAction) MarshalGQL(w io.Writer)

func (SponsorsActivityAction) String

func (e SponsorsActivityAction) String() string

func (*SponsorsActivityAction) UnmarshalGQL

func (e *SponsorsActivityAction) UnmarshalGQL(v interface{}) error

type SponsorsActivityOrderField

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

func (e SponsorsActivityOrderField) IsValid() bool

func (SponsorsActivityOrderField) MarshalGQL

func (e SponsorsActivityOrderField) MarshalGQL(w io.Writer)

func (SponsorsActivityOrderField) String

func (*SponsorsActivityOrderField) UnmarshalGQL

func (e *SponsorsActivityOrderField) UnmarshalGQL(v interface{}) error

type SponsorsActivityPeriod

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

func (e SponsorsActivityPeriod) IsValid() bool

func (SponsorsActivityPeriod) MarshalGQL

func (e SponsorsActivityPeriod) MarshalGQL(w io.Writer)

func (SponsorsActivityPeriod) String

func (e SponsorsActivityPeriod) String() string

func (*SponsorsActivityPeriod) UnmarshalGQL

func (e *SponsorsActivityPeriod) UnmarshalGQL(v interface{}) error

type SponsorsCountryOrRegionCode

type SponsorsCountryOrRegionCode string

Represents countries or regions for billing and residence for a GitHub Sponsors profile.

const (
	// Afghanistan
	SponsorsCountryOrRegionCodeAf SponsorsCountryOrRegionCode = "AF"
	// Åland
	SponsorsCountryOrRegionCodeAx SponsorsCountryOrRegionCode = "AX"
	// Albania
	SponsorsCountryOrRegionCodeAl SponsorsCountryOrRegionCode = "AL"
	// Algeria
	SponsorsCountryOrRegionCodeDz SponsorsCountryOrRegionCode = "DZ"
	// American Samoa
	SponsorsCountryOrRegionCodeAs SponsorsCountryOrRegionCode = "AS"
	// Andorra
	SponsorsCountryOrRegionCodeAd SponsorsCountryOrRegionCode = "AD"
	// Angola
	SponsorsCountryOrRegionCodeAo SponsorsCountryOrRegionCode = "AO"
	// Anguilla
	SponsorsCountryOrRegionCodeAi SponsorsCountryOrRegionCode = "AI"
	// Antarctica
	SponsorsCountryOrRegionCodeAq SponsorsCountryOrRegionCode = "AQ"
	// Antigua and Barbuda
	SponsorsCountryOrRegionCodeAg SponsorsCountryOrRegionCode = "AG"
	// Argentina
	SponsorsCountryOrRegionCodeAr SponsorsCountryOrRegionCode = "AR"
	// Armenia
	SponsorsCountryOrRegionCodeAm SponsorsCountryOrRegionCode = "AM"
	// Aruba
	SponsorsCountryOrRegionCodeAw SponsorsCountryOrRegionCode = "AW"
	// Australia
	SponsorsCountryOrRegionCodeAu SponsorsCountryOrRegionCode = "AU"
	// Austria
	SponsorsCountryOrRegionCodeAt SponsorsCountryOrRegionCode = "AT"
	// Azerbaijan
	SponsorsCountryOrRegionCodeAz SponsorsCountryOrRegionCode = "AZ"
	// Bahamas
	SponsorsCountryOrRegionCodeBs SponsorsCountryOrRegionCode = "BS"
	// Bahrain
	SponsorsCountryOrRegionCodeBh SponsorsCountryOrRegionCode = "BH"
	// Bangladesh
	SponsorsCountryOrRegionCodeBd SponsorsCountryOrRegionCode = "BD"
	// Barbados
	SponsorsCountryOrRegionCodeBb SponsorsCountryOrRegionCode = "BB"
	// Belarus
	SponsorsCountryOrRegionCodeBy SponsorsCountryOrRegionCode = "BY"
	// Belgium
	SponsorsCountryOrRegionCodeBe SponsorsCountryOrRegionCode = "BE"
	// Belize
	SponsorsCountryOrRegionCodeBz SponsorsCountryOrRegionCode = "BZ"
	// Benin
	SponsorsCountryOrRegionCodeBj SponsorsCountryOrRegionCode = "BJ"
	// Bermuda
	SponsorsCountryOrRegionCodeBm SponsorsCountryOrRegionCode = "BM"
	// Bhutan
	SponsorsCountryOrRegionCodeBt SponsorsCountryOrRegionCode = "BT"
	// Bolivia
	SponsorsCountryOrRegionCodeBo SponsorsCountryOrRegionCode = "BO"
	// Bonaire, Sint Eustatius and Saba
	SponsorsCountryOrRegionCodeBq SponsorsCountryOrRegionCode = "BQ"
	// Bosnia and Herzegovina
	SponsorsCountryOrRegionCodeBa SponsorsCountryOrRegionCode = "BA"
	// Botswana
	SponsorsCountryOrRegionCodeBw SponsorsCountryOrRegionCode = "BW"
	// Bouvet Island
	SponsorsCountryOrRegionCodeBv SponsorsCountryOrRegionCode = "BV"
	// Brazil
	SponsorsCountryOrRegionCodeBr SponsorsCountryOrRegionCode = "BR"
	// British Indian Ocean Territory
	SponsorsCountryOrRegionCodeIo SponsorsCountryOrRegionCode = "IO"
	// Brunei Darussalam
	SponsorsCountryOrRegionCodeBn SponsorsCountryOrRegionCode = "BN"
	// Bulgaria
	SponsorsCountryOrRegionCodeBg SponsorsCountryOrRegionCode = "BG"
	// Burkina Faso
	SponsorsCountryOrRegionCodeBf SponsorsCountryOrRegionCode = "BF"
	// Burundi
	SponsorsCountryOrRegionCodeBi SponsorsCountryOrRegionCode = "BI"
	// Cambodia
	SponsorsCountryOrRegionCodeKh SponsorsCountryOrRegionCode = "KH"
	// Cameroon
	SponsorsCountryOrRegionCodeCm SponsorsCountryOrRegionCode = "CM"
	// Canada
	SponsorsCountryOrRegionCodeCa SponsorsCountryOrRegionCode = "CA"
	// Cape Verde
	SponsorsCountryOrRegionCodeCv SponsorsCountryOrRegionCode = "CV"
	// Cayman Islands
	SponsorsCountryOrRegionCodeKy SponsorsCountryOrRegionCode = "KY"
	// Central African Republic
	SponsorsCountryOrRegionCodeCf SponsorsCountryOrRegionCode = "CF"
	// Chad
	SponsorsCountryOrRegionCodeTd SponsorsCountryOrRegionCode = "TD"
	// Chile
	SponsorsCountryOrRegionCodeCl SponsorsCountryOrRegionCode = "CL"
	// China
	SponsorsCountryOrRegionCodeCn SponsorsCountryOrRegionCode = "CN"
	// Christmas Island
	SponsorsCountryOrRegionCodeCx SponsorsCountryOrRegionCode = "CX"
	// Cocos (Keeling) Islands
	SponsorsCountryOrRegionCodeCc SponsorsCountryOrRegionCode = "CC"
	// Colombia
	SponsorsCountryOrRegionCodeCo SponsorsCountryOrRegionCode = "CO"
	// Comoros
	SponsorsCountryOrRegionCodeKm SponsorsCountryOrRegionCode = "KM"
	// Congo (Brazzaville)
	SponsorsCountryOrRegionCodeCg SponsorsCountryOrRegionCode = "CG"
	// Congo (Kinshasa)
	SponsorsCountryOrRegionCodeCd SponsorsCountryOrRegionCode = "CD"
	// Cook Islands
	SponsorsCountryOrRegionCodeCk SponsorsCountryOrRegionCode = "CK"
	// Costa Rica
	SponsorsCountryOrRegionCodeCr SponsorsCountryOrRegionCode = "CR"
	// Côte d'Ivoire
	SponsorsCountryOrRegionCodeCi SponsorsCountryOrRegionCode = "CI"
	// Croatia
	SponsorsCountryOrRegionCodeHr SponsorsCountryOrRegionCode = "HR"
	// Curaçao
	SponsorsCountryOrRegionCodeCw SponsorsCountryOrRegionCode = "CW"
	// Cyprus
	SponsorsCountryOrRegionCodeCy SponsorsCountryOrRegionCode = "CY"
	// Czech Republic
	SponsorsCountryOrRegionCodeCz SponsorsCountryOrRegionCode = "CZ"
	// Denmark
	SponsorsCountryOrRegionCodeDk SponsorsCountryOrRegionCode = "DK"
	// Djibouti
	SponsorsCountryOrRegionCodeDj SponsorsCountryOrRegionCode = "DJ"
	// Dominica
	SponsorsCountryOrRegionCodeDm SponsorsCountryOrRegionCode = "DM"
	// Dominican Republic
	SponsorsCountryOrRegionCodeDo SponsorsCountryOrRegionCode = "DO"
	// Ecuador
	SponsorsCountryOrRegionCodeEc SponsorsCountryOrRegionCode = "EC"
	// Egypt
	SponsorsCountryOrRegionCodeEg SponsorsCountryOrRegionCode = "EG"
	// El Salvador
	SponsorsCountryOrRegionCodeSv SponsorsCountryOrRegionCode = "SV"
	// Equatorial Guinea
	SponsorsCountryOrRegionCodeGq SponsorsCountryOrRegionCode = "GQ"
	// Eritrea
	SponsorsCountryOrRegionCodeEr SponsorsCountryOrRegionCode = "ER"
	// Estonia
	SponsorsCountryOrRegionCodeEe SponsorsCountryOrRegionCode = "EE"
	// Ethiopia
	SponsorsCountryOrRegionCodeEt SponsorsCountryOrRegionCode = "ET"
	// Falkland Islands
	SponsorsCountryOrRegionCodeFk SponsorsCountryOrRegionCode = "FK"
	// Faroe Islands
	SponsorsCountryOrRegionCodeFo SponsorsCountryOrRegionCode = "FO"
	// Fiji
	SponsorsCountryOrRegionCodeFj SponsorsCountryOrRegionCode = "FJ"
	// Finland
	SponsorsCountryOrRegionCodeFi SponsorsCountryOrRegionCode = "FI"
	// France
	SponsorsCountryOrRegionCodeFr SponsorsCountryOrRegionCode = "FR"
	// French Guiana
	SponsorsCountryOrRegionCodeGf SponsorsCountryOrRegionCode = "GF"
	// French Polynesia
	SponsorsCountryOrRegionCodePf SponsorsCountryOrRegionCode = "PF"
	// French Southern Lands
	SponsorsCountryOrRegionCodeTf SponsorsCountryOrRegionCode = "TF"
	// Gabon
	SponsorsCountryOrRegionCodeGa SponsorsCountryOrRegionCode = "GA"
	// Gambia
	SponsorsCountryOrRegionCodeGm SponsorsCountryOrRegionCode = "GM"
	// Georgia
	SponsorsCountryOrRegionCodeGe SponsorsCountryOrRegionCode = "GE"
	// Germany
	SponsorsCountryOrRegionCodeDe SponsorsCountryOrRegionCode = "DE"
	// Ghana
	SponsorsCountryOrRegionCodeGh SponsorsCountryOrRegionCode = "GH"
	// Gibraltar
	SponsorsCountryOrRegionCodeGi SponsorsCountryOrRegionCode = "GI"
	// Greece
	SponsorsCountryOrRegionCodeGr SponsorsCountryOrRegionCode = "GR"
	// Greenland
	SponsorsCountryOrRegionCodeGl SponsorsCountryOrRegionCode = "GL"
	// Grenada
	SponsorsCountryOrRegionCodeGd SponsorsCountryOrRegionCode = "GD"
	// Guadeloupe
	SponsorsCountryOrRegionCodeGp SponsorsCountryOrRegionCode = "GP"
	// Guam
	SponsorsCountryOrRegionCodeGu SponsorsCountryOrRegionCode = "GU"
	// Guatemala
	SponsorsCountryOrRegionCodeGt SponsorsCountryOrRegionCode = "GT"
	// Guernsey
	SponsorsCountryOrRegionCodeGg SponsorsCountryOrRegionCode = "GG"
	// Guinea
	SponsorsCountryOrRegionCodeGn SponsorsCountryOrRegionCode = "GN"
	// Guinea-Bissau
	SponsorsCountryOrRegionCodeGw SponsorsCountryOrRegionCode = "GW"
	// Guyana
	SponsorsCountryOrRegionCodeGy SponsorsCountryOrRegionCode = "GY"
	// Haiti
	SponsorsCountryOrRegionCodeHt SponsorsCountryOrRegionCode = "HT"
	// Heard and McDonald Islands
	SponsorsCountryOrRegionCodeHm SponsorsCountryOrRegionCode = "HM"
	// Honduras
	SponsorsCountryOrRegionCodeHn SponsorsCountryOrRegionCode = "HN"
	// Hong Kong
	SponsorsCountryOrRegionCodeHk SponsorsCountryOrRegionCode = "HK"
	// Hungary
	SponsorsCountryOrRegionCodeHu SponsorsCountryOrRegionCode = "HU"
	// Iceland
	SponsorsCountryOrRegionCodeIs SponsorsCountryOrRegionCode = "IS"
	// India
	SponsorsCountryOrRegionCodeIn SponsorsCountryOrRegionCode = "IN"
	// Indonesia
	SponsorsCountryOrRegionCodeID SponsorsCountryOrRegionCode = "ID"
	// Iran
	SponsorsCountryOrRegionCodeIr SponsorsCountryOrRegionCode = "IR"
	// Iraq
	SponsorsCountryOrRegionCodeIq SponsorsCountryOrRegionCode = "IQ"
	// Ireland
	SponsorsCountryOrRegionCodeIe SponsorsCountryOrRegionCode = "IE"
	// Isle of Man
	SponsorsCountryOrRegionCodeIm SponsorsCountryOrRegionCode = "IM"
	// Israel
	SponsorsCountryOrRegionCodeIl SponsorsCountryOrRegionCode = "IL"
	// Italy
	SponsorsCountryOrRegionCodeIt SponsorsCountryOrRegionCode = "IT"
	// Jamaica
	SponsorsCountryOrRegionCodeJm SponsorsCountryOrRegionCode = "JM"
	// Japan
	SponsorsCountryOrRegionCodeJp SponsorsCountryOrRegionCode = "JP"
	// Jersey
	SponsorsCountryOrRegionCodeJe SponsorsCountryOrRegionCode = "JE"
	// Jordan
	SponsorsCountryOrRegionCodeJo SponsorsCountryOrRegionCode = "JO"
	// Kazakhstan
	SponsorsCountryOrRegionCodeKz SponsorsCountryOrRegionCode = "KZ"
	// Kenya
	SponsorsCountryOrRegionCodeKe SponsorsCountryOrRegionCode = "KE"
	// Kiribati
	SponsorsCountryOrRegionCodeKi SponsorsCountryOrRegionCode = "KI"
	// Korea, South
	SponsorsCountryOrRegionCodeKr SponsorsCountryOrRegionCode = "KR"
	// Kuwait
	SponsorsCountryOrRegionCodeKw SponsorsCountryOrRegionCode = "KW"
	// Kyrgyzstan
	SponsorsCountryOrRegionCodeKg SponsorsCountryOrRegionCode = "KG"
	// Laos
	SponsorsCountryOrRegionCodeLa SponsorsCountryOrRegionCode = "LA"
	// Latvia
	SponsorsCountryOrRegionCodeLv SponsorsCountryOrRegionCode = "LV"
	// Lebanon
	SponsorsCountryOrRegionCodeLb SponsorsCountryOrRegionCode = "LB"
	// Lesotho
	SponsorsCountryOrRegionCodeLs SponsorsCountryOrRegionCode = "LS"
	// Liberia
	SponsorsCountryOrRegionCodeLr SponsorsCountryOrRegionCode = "LR"
	// Libya
	SponsorsCountryOrRegionCodeLy SponsorsCountryOrRegionCode = "LY"
	// Liechtenstein
	SponsorsCountryOrRegionCodeLi SponsorsCountryOrRegionCode = "LI"
	// Lithuania
	SponsorsCountryOrRegionCodeLt SponsorsCountryOrRegionCode = "LT"
	// Luxembourg
	SponsorsCountryOrRegionCodeLu SponsorsCountryOrRegionCode = "LU"
	// Macau
	SponsorsCountryOrRegionCodeMo SponsorsCountryOrRegionCode = "MO"
	// Macedonia
	SponsorsCountryOrRegionCodeMk SponsorsCountryOrRegionCode = "MK"
	// Madagascar
	SponsorsCountryOrRegionCodeMg SponsorsCountryOrRegionCode = "MG"
	// Malawi
	SponsorsCountryOrRegionCodeMw SponsorsCountryOrRegionCode = "MW"
	// Malaysia
	SponsorsCountryOrRegionCodeMy SponsorsCountryOrRegionCode = "MY"
	// Maldives
	SponsorsCountryOrRegionCodeMv SponsorsCountryOrRegionCode = "MV"
	// Mali
	SponsorsCountryOrRegionCodeMl SponsorsCountryOrRegionCode = "ML"
	// Malta
	SponsorsCountryOrRegionCodeMt SponsorsCountryOrRegionCode = "MT"
	// Marshall Islands
	SponsorsCountryOrRegionCodeMh SponsorsCountryOrRegionCode = "MH"
	// Martinique
	SponsorsCountryOrRegionCodeMq SponsorsCountryOrRegionCode = "MQ"
	// Mauritania
	SponsorsCountryOrRegionCodeMr SponsorsCountryOrRegionCode = "MR"
	// Mauritius
	SponsorsCountryOrRegionCodeMu SponsorsCountryOrRegionCode = "MU"
	// Mayotte
	SponsorsCountryOrRegionCodeYt SponsorsCountryOrRegionCode = "YT"
	// Mexico
	SponsorsCountryOrRegionCodeMx SponsorsCountryOrRegionCode = "MX"
	// Micronesia
	SponsorsCountryOrRegionCodeFm SponsorsCountryOrRegionCode = "FM"
	// Moldova
	SponsorsCountryOrRegionCodeMd SponsorsCountryOrRegionCode = "MD"
	// Monaco
	SponsorsCountryOrRegionCodeMc SponsorsCountryOrRegionCode = "MC"
	// Mongolia
	SponsorsCountryOrRegionCodeMn SponsorsCountryOrRegionCode = "MN"
	// Montenegro
	SponsorsCountryOrRegionCodeMe SponsorsCountryOrRegionCode = "ME"
	// Montserrat
	SponsorsCountryOrRegionCodeMs SponsorsCountryOrRegionCode = "MS"
	// Morocco
	SponsorsCountryOrRegionCodeMa SponsorsCountryOrRegionCode = "MA"
	// Mozambique
	SponsorsCountryOrRegionCodeMz SponsorsCountryOrRegionCode = "MZ"
	// Myanmar
	SponsorsCountryOrRegionCodeMm SponsorsCountryOrRegionCode = "MM"
	// Namibia
	SponsorsCountryOrRegionCodeNa SponsorsCountryOrRegionCode = "NA"
	// Nauru
	SponsorsCountryOrRegionCodeNr SponsorsCountryOrRegionCode = "NR"
	// Nepal
	SponsorsCountryOrRegionCodeNp SponsorsCountryOrRegionCode = "NP"
	// Netherlands
	SponsorsCountryOrRegionCodeNl SponsorsCountryOrRegionCode = "NL"
	// New Caledonia
	SponsorsCountryOrRegionCodeNc SponsorsCountryOrRegionCode = "NC"
	// New Zealand
	SponsorsCountryOrRegionCodeNz SponsorsCountryOrRegionCode = "NZ"
	// Nicaragua
	SponsorsCountryOrRegionCodeNi SponsorsCountryOrRegionCode = "NI"
	// Niger
	SponsorsCountryOrRegionCodeNe SponsorsCountryOrRegionCode = "NE"
	// Nigeria
	SponsorsCountryOrRegionCodeNg SponsorsCountryOrRegionCode = "NG"
	// Niue
	SponsorsCountryOrRegionCodeNu SponsorsCountryOrRegionCode = "NU"
	// Norfolk Island
	SponsorsCountryOrRegionCodeNf SponsorsCountryOrRegionCode = "NF"
	// Northern Mariana Islands
	SponsorsCountryOrRegionCodeMp SponsorsCountryOrRegionCode = "MP"
	// Norway
	SponsorsCountryOrRegionCodeNo SponsorsCountryOrRegionCode = "NO"
	// Oman
	SponsorsCountryOrRegionCodeOm SponsorsCountryOrRegionCode = "OM"
	// Pakistan
	SponsorsCountryOrRegionCodePk SponsorsCountryOrRegionCode = "PK"
	// Palau
	SponsorsCountryOrRegionCodePw SponsorsCountryOrRegionCode = "PW"
	// Palestine
	SponsorsCountryOrRegionCodePs SponsorsCountryOrRegionCode = "PS"
	// Panama
	SponsorsCountryOrRegionCodePa SponsorsCountryOrRegionCode = "PA"
	// Papua New Guinea
	SponsorsCountryOrRegionCodePg SponsorsCountryOrRegionCode = "PG"
	// Paraguay
	SponsorsCountryOrRegionCodePy SponsorsCountryOrRegionCode = "PY"
	// Peru
	SponsorsCountryOrRegionCodePe SponsorsCountryOrRegionCode = "PE"
	// Philippines
	SponsorsCountryOrRegionCodePh SponsorsCountryOrRegionCode = "PH"
	// Pitcairn
	SponsorsCountryOrRegionCodePn SponsorsCountryOrRegionCode = "PN"
	// Poland
	SponsorsCountryOrRegionCodePl SponsorsCountryOrRegionCode = "PL"
	// Portugal
	SponsorsCountryOrRegionCodePt SponsorsCountryOrRegionCode = "PT"
	// Puerto Rico
	SponsorsCountryOrRegionCodePr SponsorsCountryOrRegionCode = "PR"
	// Qatar
	SponsorsCountryOrRegionCodeQa SponsorsCountryOrRegionCode = "QA"
	// Reunion
	SponsorsCountryOrRegionCodeRe SponsorsCountryOrRegionCode = "RE"
	// Romania
	SponsorsCountryOrRegionCodeRo SponsorsCountryOrRegionCode = "RO"
	// Russian Federation
	SponsorsCountryOrRegionCodeRu SponsorsCountryOrRegionCode = "RU"
	// Rwanda
	SponsorsCountryOrRegionCodeRw SponsorsCountryOrRegionCode = "RW"
	// Saint Barthélemy
	SponsorsCountryOrRegionCodeBl SponsorsCountryOrRegionCode = "BL"
	// Saint Helena
	SponsorsCountryOrRegionCodeSh SponsorsCountryOrRegionCode = "SH"
	// Saint Kitts and Nevis
	SponsorsCountryOrRegionCodeKn SponsorsCountryOrRegionCode = "KN"
	// Saint Lucia
	SponsorsCountryOrRegionCodeLc SponsorsCountryOrRegionCode = "LC"
	// Saint Martin (French part)
	SponsorsCountryOrRegionCodeMf SponsorsCountryOrRegionCode = "MF"
	// Saint Pierre and Miquelon
	SponsorsCountryOrRegionCodePm SponsorsCountryOrRegionCode = "PM"
	// Saint Vincent and the Grenadines
	SponsorsCountryOrRegionCodeVc SponsorsCountryOrRegionCode = "VC"
	// Samoa
	SponsorsCountryOrRegionCodeWs SponsorsCountryOrRegionCode = "WS"
	// San Marino
	SponsorsCountryOrRegionCodeSm SponsorsCountryOrRegionCode = "SM"
	// Sao Tome and Principe
	SponsorsCountryOrRegionCodeSt SponsorsCountryOrRegionCode = "ST"
	// Saudi Arabia
	SponsorsCountryOrRegionCodeSa SponsorsCountryOrRegionCode = "SA"
	// Senegal
	SponsorsCountryOrRegionCodeSn SponsorsCountryOrRegionCode = "SN"
	// Serbia
	SponsorsCountryOrRegionCodeRs SponsorsCountryOrRegionCode = "RS"
	// Seychelles
	SponsorsCountryOrRegionCodeSc SponsorsCountryOrRegionCode = "SC"
	// Sierra Leone
	SponsorsCountryOrRegionCodeSl SponsorsCountryOrRegionCode = "SL"
	// Singapore
	SponsorsCountryOrRegionCodeSg SponsorsCountryOrRegionCode = "SG"
	// Sint Maarten (Dutch part)
	SponsorsCountryOrRegionCodeSx SponsorsCountryOrRegionCode = "SX"
	// Slovakia
	SponsorsCountryOrRegionCodeSk SponsorsCountryOrRegionCode = "SK"
	// Slovenia
	SponsorsCountryOrRegionCodeSi SponsorsCountryOrRegionCode = "SI"
	// Solomon Islands
	SponsorsCountryOrRegionCodeSb SponsorsCountryOrRegionCode = "SB"
	// Somalia
	SponsorsCountryOrRegionCodeSo SponsorsCountryOrRegionCode = "SO"
	// South Africa
	SponsorsCountryOrRegionCodeZa SponsorsCountryOrRegionCode = "ZA"
	// South Georgia and South Sandwich Islands
	SponsorsCountryOrRegionCodeGs SponsorsCountryOrRegionCode = "GS"
	// South Sudan
	SponsorsCountryOrRegionCodeSs SponsorsCountryOrRegionCode = "SS"
	// Spain
	SponsorsCountryOrRegionCodeEs SponsorsCountryOrRegionCode = "ES"
	// Sri Lanka
	SponsorsCountryOrRegionCodeLk SponsorsCountryOrRegionCode = "LK"
	// Sudan
	SponsorsCountryOrRegionCodeSd SponsorsCountryOrRegionCode = "SD"
	// Suriname
	SponsorsCountryOrRegionCodeSr SponsorsCountryOrRegionCode = "SR"
	// Svalbard and Jan Mayen Islands
	SponsorsCountryOrRegionCodeSj SponsorsCountryOrRegionCode = "SJ"
	// Swaziland
	SponsorsCountryOrRegionCodeSz SponsorsCountryOrRegionCode = "SZ"
	// Sweden
	SponsorsCountryOrRegionCodeSe SponsorsCountryOrRegionCode = "SE"
	// Switzerland
	SponsorsCountryOrRegionCodeCh SponsorsCountryOrRegionCode = "CH"
	// Taiwan
	SponsorsCountryOrRegionCodeTw SponsorsCountryOrRegionCode = "TW"
	// Tajikistan
	SponsorsCountryOrRegionCodeTj SponsorsCountryOrRegionCode = "TJ"
	// Tanzania
	SponsorsCountryOrRegionCodeTz SponsorsCountryOrRegionCode = "TZ"
	// Thailand
	SponsorsCountryOrRegionCodeTh SponsorsCountryOrRegionCode = "TH"
	// Timor-Leste
	SponsorsCountryOrRegionCodeTl SponsorsCountryOrRegionCode = "TL"
	// Togo
	SponsorsCountryOrRegionCodeTg SponsorsCountryOrRegionCode = "TG"
	// Tokelau
	SponsorsCountryOrRegionCodeTk SponsorsCountryOrRegionCode = "TK"
	// Tonga
	SponsorsCountryOrRegionCodeTo SponsorsCountryOrRegionCode = "TO"
	// Trinidad and Tobago
	SponsorsCountryOrRegionCodeTt SponsorsCountryOrRegionCode = "TT"
	// Tunisia
	SponsorsCountryOrRegionCodeTn SponsorsCountryOrRegionCode = "TN"
	// Türkiye
	SponsorsCountryOrRegionCodeTr SponsorsCountryOrRegionCode = "TR"
	// Turkmenistan
	SponsorsCountryOrRegionCodeTm SponsorsCountryOrRegionCode = "TM"
	// Turks and Caicos Islands
	SponsorsCountryOrRegionCodeTc SponsorsCountryOrRegionCode = "TC"
	// Tuvalu
	SponsorsCountryOrRegionCodeTv SponsorsCountryOrRegionCode = "TV"
	// Uganda
	SponsorsCountryOrRegionCodeUg SponsorsCountryOrRegionCode = "UG"
	// Ukraine
	SponsorsCountryOrRegionCodeUa SponsorsCountryOrRegionCode = "UA"
	// United Arab Emirates
	SponsorsCountryOrRegionCodeAe SponsorsCountryOrRegionCode = "AE"
	// United Kingdom
	SponsorsCountryOrRegionCodeGb SponsorsCountryOrRegionCode = "GB"
	// United States Minor Outlying Islands
	SponsorsCountryOrRegionCodeUm SponsorsCountryOrRegionCode = "UM"
	// United States of America
	SponsorsCountryOrRegionCodeUs SponsorsCountryOrRegionCode = "US"
	// Uruguay
	SponsorsCountryOrRegionCodeUy SponsorsCountryOrRegionCode = "UY"
	// Uzbekistan
	SponsorsCountryOrRegionCodeUz SponsorsCountryOrRegionCode = "UZ"
	// Vanuatu
	SponsorsCountryOrRegionCodeVu SponsorsCountryOrRegionCode = "VU"
	// Vatican City
	SponsorsCountryOrRegionCodeVa SponsorsCountryOrRegionCode = "VA"
	// Venezuela
	SponsorsCountryOrRegionCodeVe SponsorsCountryOrRegionCode = "VE"
	// Vietnam
	SponsorsCountryOrRegionCodeVn SponsorsCountryOrRegionCode = "VN"
	// Virgin Islands, British
	SponsorsCountryOrRegionCodeVg SponsorsCountryOrRegionCode = "VG"
	// Virgin Islands, U.S.
	SponsorsCountryOrRegionCodeVi SponsorsCountryOrRegionCode = "VI"
	// Wallis and Futuna Islands
	SponsorsCountryOrRegionCodeWf SponsorsCountryOrRegionCode = "WF"
	// Western Sahara
	SponsorsCountryOrRegionCodeEh SponsorsCountryOrRegionCode = "EH"
	// Yemen
	SponsorsCountryOrRegionCodeYe SponsorsCountryOrRegionCode = "YE"
	// Zambia
	SponsorsCountryOrRegionCodeZm SponsorsCountryOrRegionCode = "ZM"
	// Zimbabwe
	SponsorsCountryOrRegionCodeZw SponsorsCountryOrRegionCode = "ZW"
)

func (SponsorsCountryOrRegionCode) IsValid

func (e SponsorsCountryOrRegionCode) IsValid() bool

func (SponsorsCountryOrRegionCode) MarshalGQL

func (e SponsorsCountryOrRegionCode) MarshalGQL(w io.Writer)

func (SponsorsCountryOrRegionCode) String

func (*SponsorsCountryOrRegionCode) UnmarshalGQL

func (e *SponsorsCountryOrRegionCode) UnmarshalGQL(v interface{}) error

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 SponsorsListingFeaturedItemFeatureableType

type SponsorsListingFeaturedItemFeatureableType string

The different kinds of records that can be featured on a GitHub Sponsors profile page.

const (
	// A repository owned by the user or organization with the GitHub Sponsors profile.
	SponsorsListingFeaturedItemFeatureableTypeRepository SponsorsListingFeaturedItemFeatureableType = "REPOSITORY"
	// A user who belongs to the organization with the GitHub Sponsors profile.
	SponsorsListingFeaturedItemFeatureableTypeUser SponsorsListingFeaturedItemFeatureableType = "USER"
)

func (SponsorsListingFeaturedItemFeatureableType) IsValid

func (SponsorsListingFeaturedItemFeatureableType) MarshalGQL

func (SponsorsListingFeaturedItemFeatureableType) String

func (*SponsorsListingFeaturedItemFeatureableType) UnmarshalGQL

func (e *SponsorsListingFeaturedItemFeatureableType) UnmarshalGQL(v interface{}) error

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 SponsorshipNewsletterOrderField

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

func (SponsorshipNewsletterOrderField) MarshalGQL

func (e SponsorshipNewsletterOrderField) MarshalGQL(w io.Writer)

func (SponsorshipNewsletterOrderField) String

func (*SponsorshipNewsletterOrderField) UnmarshalGQL

func (e *SponsorshipNewsletterOrderField) UnmarshalGQL(v interface{}) error

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 SponsorshipPaymentSource

type SponsorshipPaymentSource string

How payment was made for funding a GitHub Sponsors sponsorship.

const (
	// Payment was made through GitHub.
	SponsorshipPaymentSourceGithub SponsorshipPaymentSource = "GITHUB"
	// Payment was made through Patreon.
	SponsorshipPaymentSourcePatreon SponsorshipPaymentSource = "PATREON"
)

func (SponsorshipPaymentSource) IsValid

func (e SponsorshipPaymentSource) IsValid() bool

func (SponsorshipPaymentSource) MarshalGQL

func (e SponsorshipPaymentSource) MarshalGQL(w io.Writer)

func (SponsorshipPaymentSource) String

func (e SponsorshipPaymentSource) String() string

func (*SponsorshipPaymentSource) UnmarshalGQL

func (e *SponsorshipPaymentSource) UnmarshalGQL(v interface{}) error

type SponsorshipPrivacy

type SponsorshipPrivacy string

The privacy of a sponsorship

const (
	// Public
	SponsorshipPrivacyPublic SponsorshipPrivacy = "PUBLIC"
	// Private
	SponsorshipPrivacyPrivate SponsorshipPrivacy = "PRIVATE"
)

func (SponsorshipPrivacy) IsValid

func (e SponsorshipPrivacy) IsValid() bool

func (SponsorshipPrivacy) MarshalGQL

func (e SponsorshipPrivacy) MarshalGQL(w io.Writer)

func (SponsorshipPrivacy) String

func (e SponsorshipPrivacy) String() string

func (*SponsorshipPrivacy) UnmarshalGQL

func (e *SponsorshipPrivacy) UnmarshalGQL(v interface{}) error

type SquashMergeCommitMessage

type SquashMergeCommitMessage string

The possible default commit messages for squash merges.

const (
	// Default to the pull request's body.
	SquashMergeCommitMessagePrBody SquashMergeCommitMessage = "PR_BODY"
	// Default to the branch's commit messages.
	SquashMergeCommitMessageCommitMessages SquashMergeCommitMessage = "COMMIT_MESSAGES"
	// Default to a blank commit message.
	SquashMergeCommitMessageBlank SquashMergeCommitMessage = "BLANK"
)

func (SquashMergeCommitMessage) IsValid

func (e SquashMergeCommitMessage) IsValid() bool

func (SquashMergeCommitMessage) MarshalGQL

func (e SquashMergeCommitMessage) MarshalGQL(w io.Writer)

func (SquashMergeCommitMessage) String

func (e SquashMergeCommitMessage) String() string

func (*SquashMergeCommitMessage) UnmarshalGQL

func (e *SquashMergeCommitMessage) UnmarshalGQL(v interface{}) error

type SquashMergeCommitTitle

type SquashMergeCommitTitle string

The possible default commit titles for squash merges.

const (
	// Default to the pull request's title.
	SquashMergeCommitTitlePrTitle SquashMergeCommitTitle = "PR_TITLE"
	// Default to the commit's title (if only one commit) or the pull request's title (when more than one commit).
	SquashMergeCommitTitleCommitOrPrTitle SquashMergeCommitTitle = "COMMIT_OR_PR_TITLE"
)

func (SquashMergeCommitTitle) IsValid

func (e SquashMergeCommitTitle) IsValid() bool

func (SquashMergeCommitTitle) MarshalGQL

func (e SquashMergeCommitTitle) MarshalGQL(w io.Writer)

func (SquashMergeCommitTitle) String

func (e SquashMergeCommitTitle) String() string

func (*SquashMergeCommitTitle) UnmarshalGQL

func (e *SquashMergeCommitTitle) UnmarshalGQL(v interface{}) error

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 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 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 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 (TeamDiscussionCommentOrderField) MarshalGQL

func (e TeamDiscussionCommentOrderField) MarshalGQL(w io.Writer)

func (TeamDiscussionCommentOrderField) String

func (*TeamDiscussionCommentOrderField) UnmarshalGQL

func (e *TeamDiscussionCommentOrderField) UnmarshalGQL(v interface{}) error

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 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 TeamNotificationSetting

type TeamNotificationSetting string

The possible team notification values.

const (
	// Everyone will receive notifications when the team is @mentioned.
	TeamNotificationSettingNotificationsEnabled TeamNotificationSetting = "NOTIFICATIONS_ENABLED"
	// No one will receive notifications.
	TeamNotificationSettingNotificationsDisabled TeamNotificationSetting = "NOTIFICATIONS_DISABLED"
)

func (TeamNotificationSetting) IsValid

func (e TeamNotificationSetting) IsValid() bool

func (TeamNotificationSetting) MarshalGQL

func (e TeamNotificationSetting) MarshalGQL(w io.Writer)

func (TeamNotificationSetting) String

func (e TeamNotificationSetting) String() string

func (*TeamNotificationSetting) UnmarshalGQL

func (e *TeamNotificationSetting) UnmarshalGQL(v interface{}) error

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 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 TeamReviewAssignmentAlgorithm added in v0.27.0

type TeamReviewAssignmentAlgorithm string

The possible team review assignment algorithms

const (
	// Alternate reviews between each team member
	TeamReviewAssignmentAlgorithmRoundRobin TeamReviewAssignmentAlgorithm = "ROUND_ROBIN"
	// Balance review load across the entire team
	TeamReviewAssignmentAlgorithmLoadBalance TeamReviewAssignmentAlgorithm = "LOAD_BALANCE"
)

func (TeamReviewAssignmentAlgorithm) IsValid added in v0.27.0

func (e TeamReviewAssignmentAlgorithm) IsValid() bool

func (TeamReviewAssignmentAlgorithm) MarshalGQL added in v0.27.0

func (e TeamReviewAssignmentAlgorithm) MarshalGQL(w io.Writer)

func (TeamReviewAssignmentAlgorithm) String added in v0.27.0

func (*TeamReviewAssignmentAlgorithm) UnmarshalGQL added in v0.27.0

func (e *TeamReviewAssignmentAlgorithm) UnmarshalGQL(v interface{}) error

type TeamRole

type TeamRole string

The role of a user on a team.

const (
	// User has admin rights on the team.
	TeamRoleAdmin TeamRole = "ADMIN"
	// User is a member of the team.
	TeamRoleMember TeamRole = "MEMBER"
)

func (TeamRole) IsValid

func (e TeamRole) IsValid() bool

func (TeamRole) MarshalGQL

func (e TeamRole) MarshalGQL(w io.Writer)

func (TeamRole) String

func (e TeamRole) String() string

func (*TeamRole) UnmarshalGQL

func (e *TeamRole) UnmarshalGQL(v interface{}) error

type ThreadSubscriptionFormAction

type ThreadSubscriptionFormAction string

The possible states of a thread subscription form action

const (
	// The User cannot subscribe or unsubscribe to the thread
	ThreadSubscriptionFormActionNone ThreadSubscriptionFormAction = "NONE"
	// The User can subscribe to the thread
	ThreadSubscriptionFormActionSubscribe ThreadSubscriptionFormAction = "SUBSCRIBE"
	// The User can unsubscribe to the thread
	ThreadSubscriptionFormActionUnsubscribe ThreadSubscriptionFormAction = "UNSUBSCRIBE"
)

func (ThreadSubscriptionFormAction) IsValid

func (e ThreadSubscriptionFormAction) IsValid() bool

func (ThreadSubscriptionFormAction) MarshalGQL

func (e ThreadSubscriptionFormAction) MarshalGQL(w io.Writer)

func (ThreadSubscriptionFormAction) String

func (*ThreadSubscriptionFormAction) UnmarshalGQL

func (e *ThreadSubscriptionFormAction) UnmarshalGQL(v interface{}) error

type ThreadSubscriptionState

type ThreadSubscriptionState string

The possible states of a subscription.

const (
	// The subscription status is currently unavailable.
	ThreadSubscriptionStateUnavailable ThreadSubscriptionState = "UNAVAILABLE"
	// The subscription status is currently disabled.
	ThreadSubscriptionStateDisabled ThreadSubscriptionState = "DISABLED"
	// The User is never notified because they are ignoring the list
	ThreadSubscriptionStateIgnoringList ThreadSubscriptionState = "IGNORING_LIST"
	// The User is notified because they chose custom settings for this thread.
	ThreadSubscriptionStateSubscribedToThreadEvents ThreadSubscriptionState = "SUBSCRIBED_TO_THREAD_EVENTS"
	// The User is never notified because they are ignoring the thread
	ThreadSubscriptionStateIgnoringThread ThreadSubscriptionState = "IGNORING_THREAD"
	// The User is notified becuase they are watching the list
	ThreadSubscriptionStateSubscribedToList ThreadSubscriptionState = "SUBSCRIBED_TO_LIST"
	// The User is notified because they chose custom settings for this thread.
	ThreadSubscriptionStateSubscribedToThreadType ThreadSubscriptionState = "SUBSCRIBED_TO_THREAD_TYPE"
	// The User is notified because they are subscribed to the thread
	ThreadSubscriptionStateSubscribedToThread ThreadSubscriptionState = "SUBSCRIBED_TO_THREAD"
	// The User is not recieving notifications from this thread
	ThreadSubscriptionStateNone ThreadSubscriptionState = "NONE"
)

func (ThreadSubscriptionState) IsValid

func (e ThreadSubscriptionState) IsValid() bool

func (ThreadSubscriptionState) MarshalGQL

func (e ThreadSubscriptionState) MarshalGQL(w io.Writer)

func (ThreadSubscriptionState) String

func (e ThreadSubscriptionState) String() string

func (*ThreadSubscriptionState) UnmarshalGQL

func (e *ThreadSubscriptionState) UnmarshalGQL(v interface{}) error

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 (*TopicSuggestionDeclineReason) UnmarshalGQL

func (e *TopicSuggestionDeclineReason) UnmarshalGQL(v interface{}) error

type TrackedIssueStates

type TrackedIssueStates string

The possible states of a tracked issue.

const (
	// The tracked issue is open
	TrackedIssueStatesOpen TrackedIssueStates = "OPEN"
	// The tracked issue is closed
	TrackedIssueStatesClosed TrackedIssueStates = "CLOSED"
)

func (TrackedIssueStates) IsValid

func (e TrackedIssueStates) IsValid() bool

func (TrackedIssueStates) MarshalGQL

func (e TrackedIssueStates) MarshalGQL(w io.Writer)

func (TrackedIssueStates) String

func (e TrackedIssueStates) String() string

func (*TrackedIssueStates) UnmarshalGQL

func (e *TrackedIssueStates) UnmarshalGQL(v interface{}) error

type TwoFactorCredentialSecurityType added in v0.27.0

type TwoFactorCredentialSecurityType string

Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure.

const (
	// Has only secure methods of two-factor authentication.
	TwoFactorCredentialSecurityTypeSecure TwoFactorCredentialSecurityType = "SECURE"
	// Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication.
	TwoFactorCredentialSecurityTypeInsecure TwoFactorCredentialSecurityType = "INSECURE"
	// No method of two-factor authentication.
	TwoFactorCredentialSecurityTypeDisabled TwoFactorCredentialSecurityType = "DISABLED"
)

func (TwoFactorCredentialSecurityType) IsValid added in v0.27.0

func (TwoFactorCredentialSecurityType) MarshalGQL added in v0.27.0

func (e TwoFactorCredentialSecurityType) MarshalGQL(w io.Writer)

func (TwoFactorCredentialSecurityType) String added in v0.27.0

func (*TwoFactorCredentialSecurityType) UnmarshalGQL added in v0.27.0

func (e *TwoFactorCredentialSecurityType) UnmarshalGQL(v interface{}) error

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 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 UserViewType added in v0.27.0

type UserViewType string

Whether a user being viewed contains public or private information.

const (
	// A user that is publicly visible.
	UserViewTypePublic UserViewType = "PUBLIC"
	// A user containing information only visible to the authenticated user.
	UserViewTypePrivate UserViewType = "PRIVATE"
)

func (UserViewType) IsValid added in v0.27.0

func (e UserViewType) IsValid() bool

func (UserViewType) MarshalGQL added in v0.27.0

func (e UserViewType) MarshalGQL(w io.Writer)

func (UserViewType) String added in v0.27.0

func (e UserViewType) String() string

func (*UserViewType) UnmarshalGQL added in v0.27.0

func (e *UserViewType) UnmarshalGQL(v interface{}) error

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 (*VerifiableDomainOrderField) UnmarshalGQL

func (e *VerifiableDomainOrderField) UnmarshalGQL(v interface{}) error

type WorkflowRunOrderField

type WorkflowRunOrderField string

Properties by which workflow run connections can be ordered.

const (
	// Order workflow runs by most recently created
	WorkflowRunOrderFieldCreatedAt WorkflowRunOrderField = "CREATED_AT"
)

func (WorkflowRunOrderField) IsValid

func (e WorkflowRunOrderField) IsValid() bool

func (WorkflowRunOrderField) MarshalGQL

func (e WorkflowRunOrderField) MarshalGQL(w io.Writer)

func (WorkflowRunOrderField) String

func (e WorkflowRunOrderField) String() string

func (*WorkflowRunOrderField) UnmarshalGQL

func (e *WorkflowRunOrderField) UnmarshalGQL(v interface{}) error

type WorkflowState

type WorkflowState string

The possible states for a workflow.

const (
	// The workflow is active.
	WorkflowStateActive WorkflowState = "ACTIVE"
	// The workflow was deleted from the git repository.
	WorkflowStateDeleted WorkflowState = "DELETED"
	// The workflow was disabled by default on a fork.
	WorkflowStateDisabledFork WorkflowState = "DISABLED_FORK"
	// The workflow was disabled for inactivity in the repository.
	WorkflowStateDisabledInactivity WorkflowState = "DISABLED_INACTIVITY"
	// The workflow was disabled manually.
	WorkflowStateDisabledManually WorkflowState = "DISABLED_MANUALLY"
)

func (WorkflowState) IsValid

func (e WorkflowState) IsValid() bool

func (WorkflowState) MarshalGQL

func (e WorkflowState) MarshalGQL(w io.Writer)

func (WorkflowState) String

func (e WorkflowState) String() string

func (*WorkflowState) UnmarshalGQL

func (e *WorkflowState) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL