model

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 4 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 AbortQueuedMigrationsInput

type AbortQueuedMigrationsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization that is running the migrations.
	OwnerID string `json:"ownerId"`
}

Autogenerated input type of AbortQueuedMigrations

type AbortQueuedMigrationsPayload

type AbortQueuedMigrationsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
}

Autogenerated return type of AbortQueuedMigrations

type AbortRepositoryMigrationInput

type AbortRepositoryMigrationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the migration to be aborted.
	MigrationID string `json:"migrationId"`
}

Autogenerated input type of AbortRepositoryMigration

type AbortRepositoryMigrationPayload

type AbortRepositoryMigrationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
}

Autogenerated return type of AbortRepositoryMigration

type AcceptEnterpriseAdministratorInvitationInput

type AcceptEnterpriseAdministratorInvitationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the invitation being accepted
	InvitationID string `json:"invitationId"`
}

Autogenerated input type of AcceptEnterpriseAdministratorInvitation

type AcceptEnterpriseAdministratorInvitationPayload

type AcceptEnterpriseAdministratorInvitationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The invitation that was accepted.
	Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
	// A message confirming the result of accepting an administrator invitation.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of AcceptEnterpriseAdministratorInvitation

type AcceptTopicSuggestionInput

type AcceptTopicSuggestionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	//
	// **Upcoming Change on 2024-04-01 UTC**
	// **Description:** `repositoryId` will be removed.
	// **Reason:** Suggested topics are no longer supported
	//
	RepositoryID *string `json:"repositoryId,omitempty"`
	// The name of the suggested topic.
	//
	// **Upcoming Change on 2024-04-01 UTC**
	// **Description:** `name` will be removed.
	// **Reason:** Suggested topics are no longer supported
	//
	Name *string `json:"name,omitempty"`
}

Autogenerated input type of AcceptTopicSuggestion

type AcceptTopicSuggestionPayload

type AcceptTopicSuggestionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The accepted topic.
	Topic *Topic `json:"topic,omitempty"`
}

Autogenerated return type of AcceptTopicSuggestion

type Actor

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

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

type ActorLocation

type ActorLocation struct {
	// City
	City *string `json:"city,omitempty"`
	// Country name
	Country *string `json:"country,omitempty"`
	// Country code
	CountryCode *string `json:"countryCode,omitempty"`
	// Region name
	Region *string `json:"region,omitempty"`
	// Region or state code
	RegionCode *string `json:"regionCode,omitempty"`
}

Location information for an actor

type ActorType

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 AddAssigneesToAssignableInput

type AddAssigneesToAssignableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the assignable object to add assignees to.
	AssignableID string `json:"assignableId"`
	// The id of users to add as assignees.
	AssigneeIds []string `json:"assigneeIds"`
}

Autogenerated input type of AddAssigneesToAssignable

type AddAssigneesToAssignablePayload

type AddAssigneesToAssignablePayload struct {
	// The item that was assigned.
	Assignable Assignable `json:"assignable,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of AddAssigneesToAssignable

type AddCommentInput

type AddCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subject to modify.
	SubjectID string `json:"subjectId"`
	// The contents of the comment.
	Body string `json:"body"`
}

Autogenerated input type of AddComment

type AddCommentPayload

type AddCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The edge from the subject's comment connection.
	CommentEdge *IssueCommentEdge `json:"commentEdge,omitempty"`
	// The subject
	Subject Node `json:"subject,omitempty"`
	// The edge from the subject's timeline connection.
	TimelineEdge *IssueTimelineItemEdge `json:"timelineEdge,omitempty"`
}

Autogenerated return type of AddComment

type AddDiscussionCommentInput

type AddDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion to comment on.
	DiscussionID string `json:"discussionId"`
	// The Node ID of the discussion comment within this discussion to reply to.
	ReplyToID *string `json:"replyToId,omitempty"`
	// The contents of the comment.
	Body string `json:"body"`
}

Autogenerated input type of AddDiscussionComment

type AddDiscussionCommentPayload

type AddDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created discussion comment.
	Comment *DiscussionComment `json:"comment,omitempty"`
}

Autogenerated return type of AddDiscussionComment

type AddDiscussionPollVoteInput

type AddDiscussionPollVoteInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion poll option to vote for.
	PollOptionID string `json:"pollOptionId"`
}

Autogenerated input type of AddDiscussionPollVote

type AddDiscussionPollVotePayload

type AddDiscussionPollVotePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The poll option that a vote was added to.
	PollOption *DiscussionPollOption `json:"pollOption,omitempty"`
}

Autogenerated return type of AddDiscussionPollVote

type AddEnterpriseOrganizationMemberInput

type AddEnterpriseOrganizationMemberInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise which owns the organization.
	EnterpriseID string `json:"enterpriseId"`
	// The ID of the organization the users will be added to.
	OrganizationID string `json:"organizationId"`
	// The IDs of the enterprise members to add.
	UserIds []string `json:"userIds"`
	// The role to assign the users in the organization
	Role *OrganizationMemberRole `json:"role,omitempty"`
}

Autogenerated input type of AddEnterpriseOrganizationMember

type AddEnterpriseOrganizationMemberPayload

type AddEnterpriseOrganizationMemberPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The users who were added to the organization.
	Users []*User `json:"users,omitempty"`
}

Autogenerated return type of AddEnterpriseOrganizationMember

type AddEnterpriseSupportEntitlementInput

type AddEnterpriseSupportEntitlementInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Enterprise which the admin belongs to.
	EnterpriseID string `json:"enterpriseId"`
	// The login of a member who will receive the support entitlement.
	Login string `json:"login"`
}

Autogenerated input type of AddEnterpriseSupportEntitlement

type AddEnterpriseSupportEntitlementPayload

type AddEnterpriseSupportEntitlementPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of adding the support entitlement.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of AddEnterpriseSupportEntitlement

type AddLabelsToLabelableInput

type AddLabelsToLabelableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the labelable object to add labels to.
	LabelableID string `json:"labelableId"`
	// The ids of the labels to add.
	LabelIds []string `json:"labelIds"`
}

Autogenerated input type of AddLabelsToLabelable

type AddLabelsToLabelablePayload

type AddLabelsToLabelablePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item that was labeled.
	Labelable Labelable `json:"labelable,omitempty"`
}

Autogenerated return type of AddLabelsToLabelable

type AddProjectCardInput

type AddProjectCardInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the ProjectColumn.
	ProjectColumnID string `json:"projectColumnId"`
	// The content of the card. Must be a member of the ProjectCardItem union
	ContentID *string `json:"contentId,omitempty"`
	// The note on the card.
	Note *string `json:"note,omitempty"`
}

Autogenerated input type of AddProjectCard

type AddProjectCardPayload

type AddProjectCardPayload struct {
	// The edge from the ProjectColumn's card connection.
	CardEdge *ProjectCardEdge `json:"cardEdge,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ProjectColumn
	ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"`
}

Autogenerated return type of AddProjectCard

type AddProjectColumnInput

type AddProjectColumnInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the project.
	ProjectID string `json:"projectId"`
	// The name of the column.
	Name string `json:"name"`
}

Autogenerated input type of AddProjectColumn

type AddProjectColumnPayload

type AddProjectColumnPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The edge from the project's column connection.
	ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"`
	// The project
	Project *Project `json:"project,omitempty"`
}

Autogenerated return type of AddProjectColumn

type AddProjectV2DraftIssueInput

type AddProjectV2DraftIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to add the draft issue to.
	ProjectID string `json:"projectId"`
	// The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access.
	Title string `json:"title"`
	// The body of the draft issue.
	Body *string `json:"body,omitempty"`
	// The IDs of the assignees of the draft issue.
	AssigneeIds []string `json:"assigneeIds,omitempty"`
}

Autogenerated input type of AddProjectV2DraftIssue

type AddProjectV2DraftIssuePayload

type AddProjectV2DraftIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The draft issue added to the project.
	ProjectItem *ProjectV2Item `json:"projectItem,omitempty"`
}

Autogenerated return type of AddProjectV2DraftIssue

type AddProjectV2ItemByIDInput

type AddProjectV2ItemByIDInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to add the item to.
	ProjectID string `json:"projectId"`
	// The id of the Issue or Pull Request to add.
	ContentID string `json:"contentId"`
}

Autogenerated input type of AddProjectV2ItemById

type AddProjectV2ItemByIDPayload

type AddProjectV2ItemByIDPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item added to the project.
	Item *ProjectV2Item `json:"item,omitempty"`
}

Autogenerated return type of AddProjectV2ItemById

type AddPullRequestReviewCommentInput

type AddPullRequestReviewCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the pull request reviewing
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `pullRequestId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	PullRequestID *string `json:"pullRequestId,omitempty"`
	// The Node ID of the review to modify.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `pullRequestReviewId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"`
	// The SHA of the commit to comment on.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	CommitOid *string `json:"commitOID,omitempty"`
	// The text of the comment. This field is required
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	Body *string `json:"body,omitempty"`
	// The relative path of the file to comment on.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	Path *string `json:"path,omitempty"`
	// The line index in the diff to comment on.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	Position *int `json:"position,omitempty"`
	// The comment id to reply to.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead
	// **Reason:** We are deprecating the addPullRequestReviewComment mutation
	//
	InReplyTo *string `json:"inReplyTo,omitempty"`
}

Autogenerated input type of AddPullRequestReviewComment

type AddPullRequestReviewCommentPayload

type AddPullRequestReviewCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created comment.
	Comment *PullRequestReviewComment `json:"comment,omitempty"`
	// The edge from the review's comment connection.
	CommentEdge *PullRequestReviewCommentEdge `json:"commentEdge,omitempty"`
}

Autogenerated return type of AddPullRequestReviewComment

type AddPullRequestReviewInput

type AddPullRequestReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request to modify.
	PullRequestID string `json:"pullRequestId"`
	// The commit OID the review pertains to.
	CommitOid *string `json:"commitOID,omitempty"`
	// The contents of the review body comment.
	Body *string `json:"body,omitempty"`
	// The event to perform on the pull request review.
	Event *PullRequestReviewEvent `json:"event,omitempty"`
	// The review line comments.
	//
	// **Upcoming Change on 2023-10-01 UTC**
	// **Description:** `comments` will be removed. use the `threads` argument instead
	// **Reason:** We are deprecating comment fields that use diff-relative positioning
	//
	Comments []*DraftPullRequestReviewComment `json:"comments,omitempty"`
	// The review line comment threads.
	Threads []*DraftPullRequestReviewThread `json:"threads,omitempty"`
}

Autogenerated input type of AddPullRequestReview

type AddPullRequestReviewPayload

type AddPullRequestReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created pull request review.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
	// The edge from the pull request's review connection.
	ReviewEdge *PullRequestReviewEdge `json:"reviewEdge,omitempty"`
}

Autogenerated return type of AddPullRequestReview

type AddPullRequestReviewThreadInput

type AddPullRequestReviewThreadInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Path to the file being commented on.
	Path string `json:"path"`
	// Body of the thread's first comment.
	Body string `json:"body"`
	// The node ID of the pull request reviewing
	PullRequestID *string `json:"pullRequestId,omitempty"`
	// The Node ID of the review to modify.
	PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"`
	// The line of the blob to which the thread refers, required for line-level threads. The end of the line range for multi-line comments.
	Line *int `json:"line,omitempty"`
	// The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.
	Side *DiffSide `json:"side,omitempty"`
	// The first line of the range to which the comment refers.
	StartLine *int `json:"startLine,omitempty"`
	// The side of the diff on which the start line resides.
	StartSide *DiffSide `json:"startSide,omitempty"`
	// The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
	SubjectType *PullRequestReviewThreadSubjectType `json:"subjectType,omitempty"`
}

Autogenerated input type of AddPullRequestReviewThread

type AddPullRequestReviewThreadPayload

type AddPullRequestReviewThreadPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created thread.
	Thread *PullRequestReviewThread `json:"thread,omitempty"`
}

Autogenerated return type of AddPullRequestReviewThread

type AddPullRequestReviewThreadReplyInput

type AddPullRequestReviewThreadReplyInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pending review to which the reply will belong.
	PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"`
	// The Node ID of the thread to which this reply is being written.
	PullRequestReviewThreadID string `json:"pullRequestReviewThreadId"`
	// The text of the reply.
	Body string `json:"body"`
}

Autogenerated input type of AddPullRequestReviewThreadReply

type AddPullRequestReviewThreadReplyPayload

type AddPullRequestReviewThreadReplyPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created reply.
	Comment *PullRequestReviewComment `json:"comment,omitempty"`
}

Autogenerated return type of AddPullRequestReviewThreadReply

type AddReactionInput

type AddReactionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subject to modify.
	SubjectID string `json:"subjectId"`
	// The name of the emoji to react with.
	Content ReactionContent `json:"content"`
}

Autogenerated input type of AddReaction

type AddReactionPayload

type AddReactionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The reaction object.
	Reaction *Reaction `json:"reaction,omitempty"`
	// The reaction groups for the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// The reactable subject.
	Subject Reactable `json:"subject,omitempty"`
}

Autogenerated return type of AddReaction

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 AddStarPayload

type AddStarPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The starrable.
	Starrable Starrable `json:"starrable,omitempty"`
}

Autogenerated return type of AddStar

type AddUpvoteInput

type AddUpvoteInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion or comment to upvote.
	SubjectID string `json:"subjectId"`
}

Autogenerated input type of AddUpvote

type AddUpvotePayload

type AddUpvotePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The votable subject.
	Subject Votable `json:"subject,omitempty"`
}

Autogenerated return type of AddUpvote

type AddVerifiableDomainInput

type AddVerifiableDomainInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the owner to add the domain to
	OwnerID string `json:"ownerId"`
	// The URL of the domain
	Domain string `json:"domain"`
}

Autogenerated input type of AddVerifiableDomain

type AddVerifiableDomainPayload

type AddVerifiableDomainPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The verifiable domain that was added.
	Domain *VerifiableDomain `json:"domain,omitempty"`
}

Autogenerated return type of AddVerifiableDomain

type AddedToMergeQueueEvent

type AddedToMergeQueueEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who added this Pull Request to the merge queue
	Enqueuer *User `json:"enqueuer,omitempty"`
	// The Node ID of the AddedToMergeQueueEvent object
	ID string `json:"id"`
	// The merge queue where this pull request was added to.
	MergeQueue *MergeQueue `json:"mergeQueue,omitempty"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Represents an 'added_to_merge_queue' event on a given pull request.

func (AddedToMergeQueueEvent) GetID

func (this AddedToMergeQueueEvent) GetID() string

ID of the object.

func (AddedToMergeQueueEvent) IsNode

func (AddedToMergeQueueEvent) IsNode()

func (AddedToMergeQueueEvent) IsPullRequestTimelineItems

func (AddedToMergeQueueEvent) IsPullRequestTimelineItems()

type AddedToProjectEvent

type AddedToProjectEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the AddedToProjectEvent object
	ID string `json:"id"`
}

Represents a 'added_to_project' event on a given issue or pull request.

func (AddedToProjectEvent) GetID

func (this AddedToProjectEvent) GetID() string

ID of the object.

func (AddedToProjectEvent) IsIssueTimelineItems

func (AddedToProjectEvent) IsIssueTimelineItems()

func (AddedToProjectEvent) IsNode

func (AddedToProjectEvent) IsNode()

func (AddedToProjectEvent) IsPullRequestTimelineItems

func (AddedToProjectEvent) IsPullRequestTimelineItems()

type AnnouncementBanner

type AnnouncementBanner interface {
	IsAnnouncementBanner()
	// The text of the announcement
	GetAnnouncement() *string
	// The expiration date of the announcement, if any
	GetAnnouncementExpiresAt() *time.Time
	// Whether the announcement can be dismissed by the user
	GetAnnouncementUserDismissible() *bool
}

Represents an announcement banner.

type App

type App struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The description of the app.
	Description *string `json:"description,omitempty"`
	// The Node ID of the App object
	ID string `json:"id"`
	// The IP addresses of the app.
	IPAllowListEntries *IPAllowListEntryConnection `json:"ipAllowListEntries"`
	// The hex color code, without the leading '#', for the logo background.
	LogoBackgroundColor string `json:"logoBackgroundColor"`
	// A URL pointing to the app's logo.
	LogoURL string `json:"logoUrl"`
	// The name of the app.
	Name string `json:"name"`
	// A slug based on the name of the app for use in URLs.
	Slug string `json:"slug"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The URL to the app's homepage.
	URL string `json:"url"`
}

A GitHub App.

func (App) GetID

func (this App) GetID() string

ID of the object.

func (App) IsBranchActorAllowanceActor

func (App) IsBranchActorAllowanceActor()

func (App) IsBypassActor

func (App) IsBypassActor()

func (App) IsIPAllowListOwner

func (App) IsIPAllowListOwner()

func (App) IsNode

func (App) IsNode()

func (App) IsPushAllowanceActor

func (App) IsPushAllowanceActor()

func (App) IsReviewDismissalAllowanceActor

func (App) IsReviewDismissalAllowanceActor()

func (App) IsSearchResultItem

func (App) IsSearchResultItem()

type ApproveDeploymentsInput

type ApproveDeploymentsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the workflow run containing the pending deployments.
	WorkflowRunID string `json:"workflowRunId"`
	// The ids of environments to reject deployments
	EnvironmentIds []string `json:"environmentIds"`
	// Optional comment for approving deployments
	Comment *string `json:"comment,omitempty"`
}

Autogenerated input type of ApproveDeployments

type ApproveDeploymentsPayload

type ApproveDeploymentsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The affected deployments.
	Deployments []*Deployment `json:"deployments,omitempty"`
}

Autogenerated return type of ApproveDeployments

type ApproveVerifiableDomainInput

type ApproveVerifiableDomainInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the verifiable domain to approve.
	ID string `json:"id"`
}

Autogenerated input type of ApproveVerifiableDomain

type ApproveVerifiableDomainPayload

type ApproveVerifiableDomainPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The verifiable domain that was approved.
	Domain *VerifiableDomain `json:"domain,omitempty"`
}

Autogenerated return type of ApproveVerifiableDomain

type ArchiveProjectV2ItemInput

type ArchiveProjectV2ItemInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to archive the item from.
	ProjectID string `json:"projectId"`
	// The ID of the ProjectV2Item to archive.
	ItemID string `json:"itemId"`
}

Autogenerated input type of ArchiveProjectV2Item

type ArchiveProjectV2ItemPayload

type ArchiveProjectV2ItemPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item archived from the project.
	Item *ProjectV2Item `json:"item,omitempty"`
}

Autogenerated return type of ArchiveProjectV2Item

type ArchiveRepositoryInput

type ArchiveRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the repository to mark as archived.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of ArchiveRepository

type ArchiveRepositoryPayload

type ArchiveRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository that was marked as archived.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of ArchiveRepository

type Assignable

type Assignable interface {
	IsAssignable()
	// A list of Users assigned to this object.
	GetAssignees() *UserConnection
}

An object that can have users assigned to it.

type AssignedEvent

type AssignedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the assignable associated with the event.
	Assignable Assignable `json:"assignable"`
	// Identifies the user or mannequin that was assigned.
	Assignee Assignee `json:"assignee,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the AssignedEvent object
	ID string `json:"id"`
	// Identifies the user who was assigned.
	User *User `json:"user,omitempty"`
}

Represents an 'assigned' event on any assignable object.

func (AssignedEvent) GetID

func (this AssignedEvent) GetID() string

ID of the object.

func (AssignedEvent) IsIssueTimelineItem

func (AssignedEvent) IsIssueTimelineItem()

func (AssignedEvent) IsIssueTimelineItems

func (AssignedEvent) IsIssueTimelineItems()

func (AssignedEvent) IsNode

func (AssignedEvent) IsNode()

func (AssignedEvent) IsPullRequestTimelineItem

func (AssignedEvent) IsPullRequestTimelineItem()

func (AssignedEvent) IsPullRequestTimelineItems

func (AssignedEvent) IsPullRequestTimelineItems()

type Assignee

type Assignee interface {
	IsAssignee()
}

Types that can be assigned to issues.

type AuditEntry

type AuditEntry interface {
	IsAuditEntry()
	// The action name
	GetAction() string
	// The user who initiated the action
	GetActor() AuditEntryActor
	// The IP address of the actor
	GetActorIP() *string
	// A readable representation of the actor's location
	GetActorLocation() *ActorLocation
	// The username of the user who initiated the action
	GetActorLogin() *string
	// The HTTP path for the actor.
	GetActorResourcePath() *string
	// The HTTP URL for the actor.
	GetActorURL() *string
	// The time the action was initiated
	GetCreatedAt() string
	// The corresponding operation type for the action
	GetOperationType() *OperationType
	// The user affected by the action
	GetUser() *User
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	GetUserLogin() *string
	// The HTTP path for the user.
	GetUserResourcePath() *string
	// The HTTP URL for the user.
	GetUserURL() *string
}

An entry in the audit log.

type AuditEntryActor

type AuditEntryActor interface {
	IsAuditEntryActor()
}

Types that can initiate an audit log event.

type AuditLogOrder

type AuditLogOrder struct {
	// The field to order Audit Logs by.
	Field *AuditLogOrderField `json:"field,omitempty"`
	// The ordering direction.
	Direction *OrderDirection `json:"direction,omitempty"`
}

Ordering options for Audit Log connections.

type AuditLogOrderField

type AuditLogOrderField string

Properties by which Audit Log connections can be ordered.

const (
	// Order audit log entries by timestamp
	AuditLogOrderFieldCreatedAt AuditLogOrderField = "CREATED_AT"
)

func (AuditLogOrderField) IsValid

func (e AuditLogOrderField) IsValid() bool

func (AuditLogOrderField) MarshalGQL

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

func (AuditLogOrderField) String

func (e AuditLogOrderField) String() string

func (*AuditLogOrderField) UnmarshalGQL

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

type AutoMergeDisabledEvent

type AutoMergeDisabledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who disabled auto-merge for this Pull Request
	Disabler *User `json:"disabler,omitempty"`
	// The Node ID of the AutoMergeDisabledEvent object
	ID string `json:"id"`
	// PullRequest referenced by event
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// The reason auto-merge was disabled
	Reason *string `json:"reason,omitempty"`
	// The reason_code relating to why auto-merge was disabled
	ReasonCode *string `json:"reasonCode,omitempty"`
}

Represents a 'auto_merge_disabled' event on a given pull request.

func (AutoMergeDisabledEvent) GetID

func (this AutoMergeDisabledEvent) GetID() string

ID of the object.

func (AutoMergeDisabledEvent) IsNode

func (AutoMergeDisabledEvent) IsNode()

func (AutoMergeDisabledEvent) IsPullRequestTimelineItems

func (AutoMergeDisabledEvent) IsPullRequestTimelineItems()

type AutoMergeEnabledEvent

type AutoMergeEnabledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who enabled auto-merge for this Pull Request
	Enabler *User `json:"enabler,omitempty"`
	// The Node ID of the AutoMergeEnabledEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Represents a 'auto_merge_enabled' event on a given pull request.

func (AutoMergeEnabledEvent) GetID

func (this AutoMergeEnabledEvent) GetID() string

ID of the object.

func (AutoMergeEnabledEvent) IsNode

func (AutoMergeEnabledEvent) IsNode()

func (AutoMergeEnabledEvent) IsPullRequestTimelineItems

func (AutoMergeEnabledEvent) IsPullRequestTimelineItems()

type AutoMergeRequest

type AutoMergeRequest struct {
	// The email address of the author of this auto-merge request.
	AuthorEmail *string `json:"authorEmail,omitempty"`
	// The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.
	CommitBody *string `json:"commitBody,omitempty"`
	// The commit title of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging
	CommitHeadline *string `json:"commitHeadline,omitempty"`
	// When was this auto-merge request was enabled.
	EnabledAt *time.Time `json:"enabledAt,omitempty"`
	// The actor who created the auto-merge request.
	EnabledBy Actor `json:"enabledBy,omitempty"`
	// The merge method of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging.
	MergeMethod PullRequestMergeMethod `json:"mergeMethod"`
	// The pull request that this auto-merge request is set against.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents an auto-merge request for a pull request

type AutoRebaseEnabledEvent

type AutoRebaseEnabledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who enabled auto-merge (rebase) for this Pull Request
	Enabler *User `json:"enabler,omitempty"`
	// The Node ID of the AutoRebaseEnabledEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Represents a 'auto_rebase_enabled' event on a given pull request.

func (AutoRebaseEnabledEvent) GetID

func (this AutoRebaseEnabledEvent) GetID() string

ID of the object.

func (AutoRebaseEnabledEvent) IsNode

func (AutoRebaseEnabledEvent) IsNode()

func (AutoRebaseEnabledEvent) IsPullRequestTimelineItems

func (AutoRebaseEnabledEvent) IsPullRequestTimelineItems()

type AutoSquashEnabledEvent

type AutoSquashEnabledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who enabled auto-merge (squash) for this Pull Request
	Enabler *User `json:"enabler,omitempty"`
	// The Node ID of the AutoSquashEnabledEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Represents a 'auto_squash_enabled' event on a given pull request.

func (AutoSquashEnabledEvent) GetID

func (this AutoSquashEnabledEvent) GetID() string

ID of the object.

func (AutoSquashEnabledEvent) IsNode

func (AutoSquashEnabledEvent) IsNode()

func (AutoSquashEnabledEvent) IsPullRequestTimelineItems

func (AutoSquashEnabledEvent) IsPullRequestTimelineItems()

type AutomaticBaseChangeFailedEvent

type AutomaticBaseChangeFailedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the AutomaticBaseChangeFailedEvent object
	ID string `json:"id"`
	// The new base for this PR
	NewBase string `json:"newBase"`
	// The old base for this PR
	OldBase string `json:"oldBase"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'automatic_base_change_failed' event on a given pull request.

func (AutomaticBaseChangeFailedEvent) GetID

ID of the object.

func (AutomaticBaseChangeFailedEvent) IsNode

func (AutomaticBaseChangeFailedEvent) IsPullRequestTimelineItems

func (AutomaticBaseChangeFailedEvent) IsPullRequestTimelineItems()

type AutomaticBaseChangeSucceededEvent

type AutomaticBaseChangeSucceededEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the AutomaticBaseChangeSucceededEvent object
	ID string `json:"id"`
	// The new base for this PR
	NewBase string `json:"newBase"`
	// The old base for this PR
	OldBase string `json:"oldBase"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'automatic_base_change_succeeded' event on a given pull request.

func (AutomaticBaseChangeSucceededEvent) GetID

ID of the object.

func (AutomaticBaseChangeSucceededEvent) IsNode

func (AutomaticBaseChangeSucceededEvent) IsPullRequestTimelineItems

func (AutomaticBaseChangeSucceededEvent) IsPullRequestTimelineItems()

type BaseRefChangedEvent

type BaseRefChangedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the name of the base ref for the pull request after it was changed.
	CurrentRefName string `json:"currentRefName"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the BaseRefChangedEvent object
	ID string `json:"id"`
	// Identifies the name of the base ref for the pull request before it was changed.
	PreviousRefName string `json:"previousRefName"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'base_ref_changed' event on a given issue or pull request.

func (BaseRefChangedEvent) GetID

func (this BaseRefChangedEvent) GetID() string

ID of the object.

func (BaseRefChangedEvent) IsNode

func (BaseRefChangedEvent) IsNode()

func (BaseRefChangedEvent) IsPullRequestTimelineItems

func (BaseRefChangedEvent) IsPullRequestTimelineItems()

type BaseRefDeletedEvent

type BaseRefDeletedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the name of the Ref associated with the `base_ref_deleted` event.
	BaseRefName *string `json:"baseRefName,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the BaseRefDeletedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Represents a 'base_ref_deleted' event on a given pull request.

func (BaseRefDeletedEvent) GetID

func (this BaseRefDeletedEvent) GetID() string

ID of the object.

func (BaseRefDeletedEvent) IsNode

func (BaseRefDeletedEvent) IsNode()

func (BaseRefDeletedEvent) IsPullRequestTimelineItem

func (BaseRefDeletedEvent) IsPullRequestTimelineItem()

func (BaseRefDeletedEvent) IsPullRequestTimelineItems

func (BaseRefDeletedEvent) IsPullRequestTimelineItems()

type BaseRefForcePushedEvent

type BaseRefForcePushedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the after commit SHA for the 'base_ref_force_pushed' event.
	AfterCommit *Commit `json:"afterCommit,omitempty"`
	// Identifies the before commit SHA for the 'base_ref_force_pushed' event.
	BeforeCommit *Commit `json:"beforeCommit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the BaseRefForcePushedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the fully qualified ref name for the 'base_ref_force_pushed' event.
	Ref *Ref `json:"ref,omitempty"`
}

Represents a 'base_ref_force_pushed' event on a given pull request.

func (BaseRefForcePushedEvent) GetID

func (this BaseRefForcePushedEvent) GetID() string

ID of the object.

func (BaseRefForcePushedEvent) IsNode

func (BaseRefForcePushedEvent) IsNode()

func (BaseRefForcePushedEvent) IsPullRequestTimelineItem

func (BaseRefForcePushedEvent) IsPullRequestTimelineItem()

func (BaseRefForcePushedEvent) IsPullRequestTimelineItems

func (BaseRefForcePushedEvent) IsPullRequestTimelineItems()

type Blame

type Blame struct {
	// The list of ranges from a Git blame.
	Ranges []*BlameRange `json:"ranges"`
}

Represents a Git blame.

type BlameRange

type BlameRange struct {
	// Identifies the recency of the change, from 1 (new) to 10 (old). This is calculated as a 2-quantile and determines the length of distance between the median age of all the changes in the file and the recency of the current range's change.
	Age int `json:"age"`
	// Identifies the line author
	Commit *Commit `json:"commit"`
	// The ending line for the range
	EndingLine int `json:"endingLine"`
	// The starting line for the range
	StartingLine int `json:"startingLine"`
}

Represents a range of information from a Git blame.

type Blob

type Blob struct {
	// An abbreviated version of the Git object ID
	AbbreviatedOid string `json:"abbreviatedOid"`
	// Byte size of Blob object
	ByteSize int `json:"byteSize"`
	// The HTTP path for this Git object
	CommitResourcePath string `json:"commitResourcePath"`
	// The HTTP URL for this Git object
	CommitURL string `json:"commitUrl"`
	// The Node ID of the Blob object
	ID string `json:"id"`
	// Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding.
	IsBinary *bool `json:"isBinary,omitempty"`
	// Indicates whether the contents is truncated
	IsTruncated bool `json:"isTruncated"`
	// The Git object ID
	Oid string `json:"oid"`
	// The Repository the Git object belongs to
	Repository *Repository `json:"repository"`
	// UTF8 text data or null if the Blob is binary
	Text *string `json:"text,omitempty"`
}

Represents a Git blob.

func (Blob) GetAbbreviatedOid

func (this Blob) GetAbbreviatedOid() string

An abbreviated version of the Git object ID

func (Blob) GetCommitResourcePath

func (this Blob) GetCommitResourcePath() string

The HTTP path for this Git object

func (Blob) GetCommitURL

func (this Blob) GetCommitURL() string

The HTTP URL for this Git object

func (Blob) GetID

func (this Blob) GetID() string

The Node ID of the GitObject object

func (Blob) GetOid

func (this Blob) GetOid() string

The Git object ID

func (Blob) GetRepository

func (this Blob) GetRepository() *Repository

The Repository the Git object belongs to

func (Blob) IsGitObject

func (Blob) IsGitObject()

func (Blob) IsNode

func (Blob) IsNode()

type Bot

type Bot struct {
	// A URL pointing to the GitHub App's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the Bot object
	ID string `json:"id"`
	// The username of the actor.
	Login string `json:"login"`
	// The HTTP path for this bot
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this bot
	URL string `json:"url"`
}

A special type of user which takes actions on behalf of GitHub Apps.

func (Bot) GetID

func (this Bot) GetID() string

ID of the object.

func (Bot) GetResourcePath

func (this Bot) GetResourcePath() string

The HTML path to this resource.

func (Bot) GetURL

func (this Bot) GetURL() string

The URL to this resource.

func (Bot) IsActor

func (Bot) IsActor()

func (Bot) IsAssignee

func (Bot) IsAssignee()

func (Bot) IsAuditEntryActor

func (Bot) IsAuditEntryActor()

func (Bot) IsNode

func (Bot) IsNode()

func (Bot) IsReactor

func (Bot) IsReactor()

func (Bot) IsRequestedReviewer

func (Bot) IsRequestedReviewer()

func (Bot) IsUniformResourceLocatable

func (Bot) IsUniformResourceLocatable()

type BranchActorAllowanceActor

type BranchActorAllowanceActor interface {
	IsBranchActorAllowanceActor()
}

Types which can be actors for `BranchActorAllowance` objects.

type BranchNamePatternParameters

type BranchNamePatternParameters struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate bool `json:"negate"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the branch_name_pattern rule

func (BranchNamePatternParameters) IsRuleParameters

func (BranchNamePatternParameters) IsRuleParameters()

type BranchNamePatternParametersInput

type BranchNamePatternParametersInput struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the branch_name_pattern rule

type BranchProtectionRule

type BranchProtectionRule struct {
	// Can this branch be deleted.
	AllowsDeletions bool `json:"allowsDeletions"`
	// Are force pushes allowed on this branch.
	AllowsForcePushes bool `json:"allowsForcePushes"`
	// Is branch creation a protected operation.
	BlocksCreations bool `json:"blocksCreations"`
	// A list of conflicts matching branches protection rule and other branch protection rules
	BranchProtectionRuleConflicts *BranchProtectionRuleConflictConnection `json:"branchProtectionRuleConflicts"`
	// A list of actors able to force push for this branch protection rule.
	BypassForcePushAllowances *BypassForcePushAllowanceConnection `json:"bypassForcePushAllowances"`
	// A list of actors able to bypass PRs for this branch protection rule.
	BypassPullRequestAllowances *BypassPullRequestAllowanceConnection `json:"bypassPullRequestAllowances"`
	// The actor who created this branch protection rule.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Will new commits pushed to matching branches dismiss pull request review approvals.
	DismissesStaleReviews bool `json:"dismissesStaleReviews"`
	// The Node ID of the BranchProtectionRule object
	ID string `json:"id"`
	// Can admins override branch protection.
	IsAdminEnforced bool `json:"isAdminEnforced"`
	// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.
	LockAllowsFetchAndMerge bool `json:"lockAllowsFetchAndMerge"`
	// Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
	LockBranch bool `json:"lockBranch"`
	// Repository refs that are protected by this rule
	MatchingRefs *RefConnection `json:"matchingRefs"`
	// Identifies the protection rule pattern.
	Pattern string `json:"pattern"`
	// A list push allowances for this branch protection rule.
	PushAllowances *PushAllowanceConnection `json:"pushAllowances"`
	// The repository associated with this branch protection rule.
	Repository *Repository `json:"repository,omitempty"`
	// Whether the most recent push must be approved by someone other than the person who pushed it
	RequireLastPushApproval bool `json:"requireLastPushApproval"`
	// Number of approving reviews required to update matching branches.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`
	// List of required deployment environments that must be deployed successfully to update matching branches
	RequiredDeploymentEnvironments []*string `json:"requiredDeploymentEnvironments,omitempty"`
	// List of required status check contexts that must pass for commits to be accepted to matching branches.
	RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts,omitempty"`
	// List of required status checks that must pass for commits to be accepted to matching branches.
	RequiredStatusChecks []*RequiredStatusCheckDescription `json:"requiredStatusChecks,omitempty"`
	// Are approving reviews required to update matching branches.
	RequiresApprovingReviews bool `json:"requiresApprovingReviews"`
	// Are reviews from code owners required to update matching branches.
	RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews"`
	// Are commits required to be signed.
	RequiresCommitSignatures bool `json:"requiresCommitSignatures"`
	// Are conversations required to be resolved before merging.
	RequiresConversationResolution bool `json:"requiresConversationResolution"`
	// Does this branch require deployment to specific environments before merging
	RequiresDeployments bool `json:"requiresDeployments"`
	// Are merge commits prohibited from being pushed to this branch.
	RequiresLinearHistory bool `json:"requiresLinearHistory"`
	// Are status checks required to update matching branches.
	RequiresStatusChecks bool `json:"requiresStatusChecks"`
	// Are branches required to be up to date before merging.
	RequiresStrictStatusChecks bool `json:"requiresStrictStatusChecks"`
	// Is pushing to matching branches restricted.
	RestrictsPushes bool `json:"restrictsPushes"`
	// Is dismissal of pull request reviews restricted.
	RestrictsReviewDismissals bool `json:"restrictsReviewDismissals"`
	// A list review dismissal allowances for this branch protection rule.
	ReviewDismissalAllowances *ReviewDismissalAllowanceConnection `json:"reviewDismissalAllowances"`
}

A branch protection rule.

func (BranchProtectionRule) GetID

func (this BranchProtectionRule) GetID() string

ID of the object.

func (BranchProtectionRule) IsNode

func (BranchProtectionRule) IsNode()

type BranchProtectionRuleConflict

type BranchProtectionRuleConflict struct {
	// Identifies the branch protection rule.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// Identifies the conflicting branch protection rule.
	ConflictingBranchProtectionRule *BranchProtectionRule `json:"conflictingBranchProtectionRule,omitempty"`
	// Identifies the branch ref that has conflicting rules
	Ref *Ref `json:"ref,omitempty"`
}

A conflict between two branch protection rules.

type BranchProtectionRuleConflictConnection

type BranchProtectionRuleConflictConnection struct {
	// A list of edges.
	Edges []*BranchProtectionRuleConflictEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*BranchProtectionRuleConflict `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for BranchProtectionRuleConflict.

type BranchProtectionRuleConflictEdge

type BranchProtectionRuleConflictEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *BranchProtectionRuleConflict `json:"node,omitempty"`
}

An edge in a connection.

type BranchProtectionRuleConnection

type BranchProtectionRuleConnection struct {
	// A list of edges.
	Edges []*BranchProtectionRuleEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*BranchProtectionRule `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for BranchProtectionRule.

type BranchProtectionRuleEdge

type BranchProtectionRuleEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *BranchProtectionRule `json:"node,omitempty"`
}

An edge in a connection.

type BulkSponsorship

type BulkSponsorship struct {
	// The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
	SponsorableID *string `json:"sponsorableId,omitempty"`
	// The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// The amount to pay to the sponsorable in US dollars. Valid values: 1-12000.
	Amount int `json:"amount"`
}

Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once.

type BypassActor

type BypassActor interface {
	IsBypassActor()
}

Types that can represent a repository ruleset bypass actor.

type BypassForcePushAllowance

type BypassForcePushAllowance struct {
	// The actor that can force push.
	Actor BranchActorAllowanceActor `json:"actor,omitempty"`
	// Identifies the branch protection rule associated with the allowed user, team, or app.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// The Node ID of the BypassForcePushAllowance object
	ID string `json:"id"`
}

A user, team, or app who has the ability to bypass a force push requirement on a protected branch.

func (BypassForcePushAllowance) GetID

func (this BypassForcePushAllowance) GetID() string

ID of the object.

func (BypassForcePushAllowance) IsNode

func (BypassForcePushAllowance) IsNode()

type BypassForcePushAllowanceConnection

type BypassForcePushAllowanceConnection struct {
	// A list of edges.
	Edges []*BypassForcePushAllowanceEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*BypassForcePushAllowance `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for BypassForcePushAllowance.

type BypassForcePushAllowanceEdge

type BypassForcePushAllowanceEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *BypassForcePushAllowance `json:"node,omitempty"`
}

An edge in a connection.

type BypassPullRequestAllowance

type BypassPullRequestAllowance struct {
	// The actor that can bypass.
	Actor BranchActorAllowanceActor `json:"actor,omitempty"`
	// Identifies the branch protection rule associated with the allowed user, team, or app.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// The Node ID of the BypassPullRequestAllowance object
	ID string `json:"id"`
}

A user, team, or app who has the ability to bypass a pull request requirement on a protected branch.

func (BypassPullRequestAllowance) GetID

func (this BypassPullRequestAllowance) GetID() string

ID of the object.

func (BypassPullRequestAllowance) IsNode

func (BypassPullRequestAllowance) IsNode()

type BypassPullRequestAllowanceConnection

type BypassPullRequestAllowanceConnection struct {
	// A list of edges.
	Edges []*BypassPullRequestAllowanceEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*BypassPullRequestAllowance `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for BypassPullRequestAllowance.

type BypassPullRequestAllowanceEdge

type BypassPullRequestAllowanceEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *BypassPullRequestAllowance `json:"node,omitempty"`
}

An edge in a connection.

type CWEConnection

type CWEConnection struct {
	// A list of edges.
	Edges []*CWEEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Cwe `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CWE.

type CWEEdge

type CWEEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Cwe `json:"node,omitempty"`
}

An edge in a connection.

type CancelEnterpriseAdminInvitationInput

type CancelEnterpriseAdminInvitationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pending enterprise administrator invitation.
	InvitationID string `json:"invitationId"`
}

Autogenerated input type of CancelEnterpriseAdminInvitation

type CancelEnterpriseAdminInvitationPayload

type CancelEnterpriseAdminInvitationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The invitation that was canceled.
	Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
	// A message confirming the result of canceling an administrator invitation.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of CancelEnterpriseAdminInvitation

type CancelSponsorshipInput

type CancelSponsorshipInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
	SponsorID *string `json:"sponsorId,omitempty"`
	// The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
	SponsorLogin *string `json:"sponsorLogin,omitempty"`
	// The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
	SponsorableID *string `json:"sponsorableId,omitempty"`
	// The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
}

Autogenerated input type of CancelSponsorship

type CancelSponsorshipPayload

type CancelSponsorshipPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The tier that was being used at the time of cancellation.
	SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}

Autogenerated return type of CancelSponsorship

type ChangeUserStatusInput

type ChangeUserStatusInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:.
	Emoji *string `json:"emoji,omitempty"`
	// A short description of your current status.
	Message *string `json:"message,omitempty"`
	// The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible.
	OrganizationID *string `json:"organizationId,omitempty"`
	// Whether this status should indicate you are not fully available on GitHub, e.g., you are away.
	LimitedAvailability *bool `json:"limitedAvailability,omitempty"`
	// If set, the user status will not be shown after this date.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
}

Autogenerated input type of ChangeUserStatus

type ChangeUserStatusPayload

type ChangeUserStatusPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Your updated status.
	Status *UserStatus `json:"status,omitempty"`
}

Autogenerated return type of ChangeUserStatus

type CheckAnnotation

type CheckAnnotation struct {
	// The annotation's severity level.
	AnnotationLevel *CheckAnnotationLevel `json:"annotationLevel,omitempty"`
	// The path to the file that this annotation was made on.
	BlobURL string `json:"blobUrl"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The position of this annotation.
	Location *CheckAnnotationSpan `json:"location"`
	// The annotation's message.
	Message string `json:"message"`
	// The path that this annotation was made on.
	Path string `json:"path"`
	// Additional information about the annotation.
	RawDetails *string `json:"rawDetails,omitempty"`
	// The annotation's title
	Title *string `json:"title,omitempty"`
}

A single check annotation.

type CheckAnnotationConnection

type CheckAnnotationConnection struct {
	// A list of edges.
	Edges []*CheckAnnotationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CheckAnnotation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CheckAnnotation.

type CheckAnnotationData

type CheckAnnotationData struct {
	// The path of the file to add an annotation to.
	Path string `json:"path"`
	// The location of the annotation
	Location *CheckAnnotationRange `json:"location"`
	// Represents an annotation's information level
	AnnotationLevel CheckAnnotationLevel `json:"annotationLevel"`
	// A short description of the feedback for these lines of code.
	Message string `json:"message"`
	// The title that represents the annotation.
	Title *string `json:"title,omitempty"`
	// Details about this annotation.
	RawDetails *string `json:"rawDetails,omitempty"`
}

Information from a check run analysis to specific lines of code.

type CheckAnnotationEdge

type CheckAnnotationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CheckAnnotation `json:"node,omitempty"`
}

An edge in a connection.

type CheckAnnotationLevel

type CheckAnnotationLevel string

Represents an annotation's information level.

const (
	// An annotation indicating an inescapable error.
	CheckAnnotationLevelFailure CheckAnnotationLevel = "FAILURE"
	// An annotation indicating some information.
	CheckAnnotationLevelNotice CheckAnnotationLevel = "NOTICE"
	// An annotation indicating an ignorable error.
	CheckAnnotationLevelWarning CheckAnnotationLevel = "WARNING"
)

func (CheckAnnotationLevel) IsValid

func (e CheckAnnotationLevel) IsValid() bool

func (CheckAnnotationLevel) MarshalGQL

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

func (CheckAnnotationLevel) String

func (e CheckAnnotationLevel) String() string

func (*CheckAnnotationLevel) UnmarshalGQL

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

type CheckAnnotationPosition

type CheckAnnotationPosition struct {
	// Column number (1 indexed).
	Column *int `json:"column,omitempty"`
	// Line number (1 indexed).
	Line int `json:"line"`
}

A character position in a check annotation.

type CheckAnnotationRange

type CheckAnnotationRange struct {
	// The starting line of the range.
	StartLine int `json:"startLine"`
	// The starting column of the range.
	StartColumn *int `json:"startColumn,omitempty"`
	// The ending line of the range.
	EndLine int `json:"endLine"`
	// The ending column of the range.
	EndColumn *int `json:"endColumn,omitempty"`
}

Information from a check run analysis to specific lines of code.

type CheckAnnotationSpan

type CheckAnnotationSpan struct {
	// End position (inclusive).
	End *CheckAnnotationPosition `json:"end"`
	// Start position (inclusive).
	Start *CheckAnnotationPosition `json:"start"`
}

An inclusive pair of positions for a check annotation.

type CheckConclusionState

type CheckConclusionState string

The possible states for a check suite or run conclusion.

const (
	// The check suite or run requires action.
	CheckConclusionStateActionRequired CheckConclusionState = "ACTION_REQUIRED"
	// The check suite or run has timed out.
	CheckConclusionStateTimedOut CheckConclusionState = "TIMED_OUT"
	// The check suite or run has been cancelled.
	CheckConclusionStateCancelled CheckConclusionState = "CANCELLED"
	// The check suite or run has failed.
	CheckConclusionStateFailure CheckConclusionState = "FAILURE"
	// The check suite or run has succeeded.
	CheckConclusionStateSuccess CheckConclusionState = "SUCCESS"
	// The check suite or run was neutral.
	CheckConclusionStateNeutral CheckConclusionState = "NEUTRAL"
	// The check suite or run was skipped.
	CheckConclusionStateSkipped CheckConclusionState = "SKIPPED"
	// The check suite or run has failed at startup.
	CheckConclusionStateStartupFailure CheckConclusionState = "STARTUP_FAILURE"
	// The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion.
	CheckConclusionStateStale CheckConclusionState = "STALE"
)

func (CheckConclusionState) IsValid

func (e CheckConclusionState) IsValid() bool

func (CheckConclusionState) MarshalGQL

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

func (CheckConclusionState) String

func (e CheckConclusionState) String() string

func (*CheckConclusionState) UnmarshalGQL

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

type CheckRun

type CheckRun struct {
	// The check run's annotations
	Annotations *CheckAnnotationConnection `json:"annotations,omitempty"`
	// The check suite that this run is a part of.
	CheckSuite *CheckSuite `json:"checkSuite"`
	// Identifies the date and time when the check run was completed.
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The conclusion of the check run.
	Conclusion *CheckConclusionState `json:"conclusion,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The corresponding deployment for this job, if any
	Deployment *Deployment `json:"deployment,omitempty"`
	// The URL from which to find full details of the check run on the integrator's site.
	DetailsURL *string `json:"detailsUrl,omitempty"`
	// A reference for the check run on the integrator's system.
	ExternalID *string `json:"externalId,omitempty"`
	// The Node ID of the CheckRun object
	ID string `json:"id"`
	// Whether this is required to pass before merging for a specific pull request.
	IsRequired bool `json:"isRequired"`
	// The name of the check for this check run.
	Name string `json:"name"`
	// Information about a pending deployment, if any, in this check run
	PendingDeploymentRequest *DeploymentRequest `json:"pendingDeploymentRequest,omitempty"`
	// The permalink to the check run summary.
	Permalink string `json:"permalink"`
	// The repository associated with this check run.
	Repository *Repository `json:"repository"`
	// The HTTP path for this check run.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the check run was started.
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The current status of the check run.
	Status CheckStatusState `json:"status"`
	// The check run's steps
	Steps *CheckStepConnection `json:"steps,omitempty"`
	// A string representing the check run's summary
	Summary *string `json:"summary,omitempty"`
	// A string representing the check run's text
	Text *string `json:"text,omitempty"`
	// A string representing the check run
	Title *string `json:"title,omitempty"`
	// The HTTP URL for this check run.
	URL string `json:"url"`
}

A check run.

func (CheckRun) GetID

func (this CheckRun) GetID() string

ID of the object.

func (CheckRun) GetIsRequired

func (this CheckRun) GetIsRequired() bool

Whether this is required to pass before merging for a specific pull request.

func (CheckRun) GetResourcePath

func (this CheckRun) GetResourcePath() string

The HTML path to this resource.

func (CheckRun) GetURL

func (this CheckRun) GetURL() string

The URL to this resource.

func (CheckRun) IsNode

func (CheckRun) IsNode()

func (CheckRun) IsRequirableByPullRequest

func (CheckRun) IsRequirableByPullRequest()

func (CheckRun) IsStatusCheckRollupContext

func (CheckRun) IsStatusCheckRollupContext()

func (CheckRun) IsUniformResourceLocatable

func (CheckRun) IsUniformResourceLocatable()

type CheckRunAction

type CheckRunAction struct {
	// The text to be displayed on a button in the web UI.
	Label string `json:"label"`
	// A short explanation of what this action would do.
	Description string `json:"description"`
	// A reference for the action on the integrator's system.
	Identifier string `json:"identifier"`
}

Possible further actions the integrator can perform.

type CheckRunConnection

type CheckRunConnection struct {
	// A list of edges.
	Edges []*CheckRunEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CheckRun `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CheckRun.

type CheckRunEdge

type CheckRunEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CheckRun `json:"node,omitempty"`
}

An edge in a connection.

type CheckRunFilter

type CheckRunFilter struct {
	// Filters the check runs by this type.
	CheckType *CheckRunType `json:"checkType,omitempty"`
	// Filters the check runs created by this application ID.
	AppID *int `json:"appId,omitempty"`
	// Filters the check runs by this name.
	CheckName *string `json:"checkName,omitempty"`
	// Filters the check runs by this status. Superceded by statuses.
	Status *CheckStatusState `json:"status,omitempty"`
	// Filters the check runs by this status. Overrides status.
	Statuses []CheckStatusState `json:"statuses,omitempty"`
	// Filters the check runs by these conclusions.
	Conclusions []CheckConclusionState `json:"conclusions,omitempty"`
}

The filters that are available when fetching check runs.

type CheckRunOutput

type CheckRunOutput struct {
	// A title to provide for this check run.
	Title string `json:"title"`
	// The summary of the check run (supports Commonmark).
	Summary string `json:"summary"`
	// The details of the check run (supports Commonmark).
	Text *string `json:"text,omitempty"`
	// The annotations that are made as part of the check run.
	Annotations []*CheckAnnotationData `json:"annotations,omitempty"`
	// Images attached to the check run output displayed in the GitHub pull request UI.
	Images []*CheckRunOutputImage `json:"images,omitempty"`
}

Descriptive details about the check run.

type CheckRunOutputImage

type CheckRunOutputImage struct {
	// The alternative text for the image.
	Alt string `json:"alt"`
	// The full URL of the image.
	ImageURL string `json:"imageUrl"`
	// A short image description.
	Caption *string `json:"caption,omitempty"`
}

Images attached to the check run output displayed in the GitHub pull request UI.

type CheckRunState

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 CheckRunStateCount

type CheckRunStateCount struct {
	// The number of check runs with this state.
	Count int `json:"count"`
	// The state of a check run.
	State CheckRunState `json:"state"`
}

Represents a count of the state of a check run.

type CheckRunType

type CheckRunType string

The possible types of check runs.

const (
	// Every check run available.
	CheckRunTypeAll CheckRunType = "ALL"
	// The latest check run.
	CheckRunTypeLatest CheckRunType = "LATEST"
)

func (CheckRunType) IsValid

func (e CheckRunType) IsValid() bool

func (CheckRunType) MarshalGQL

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

func (CheckRunType) String

func (e CheckRunType) String() string

func (*CheckRunType) UnmarshalGQL

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

type CheckStatusState

type CheckStatusState string

The possible states for a check suite or run status.

const (
	// The check suite or run has been 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 CheckStep

type CheckStep struct {
	// Identifies the date and time when the check step was completed.
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The conclusion of the check step.
	Conclusion *CheckConclusionState `json:"conclusion,omitempty"`
	// A reference for the check step on the integrator's system.
	ExternalID *string `json:"externalId,omitempty"`
	// The step's name.
	Name string `json:"name"`
	// The index of the step in the list of steps of the parent check run.
	Number int `json:"number"`
	// Number of seconds to completion.
	SecondsToCompletion *int `json:"secondsToCompletion,omitempty"`
	// Identifies the date and time when the check step was started.
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The current status of the check step.
	Status CheckStatusState `json:"status"`
}

A single check step.

type CheckStepConnection

type CheckStepConnection struct {
	// A list of edges.
	Edges []*CheckStepEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CheckStep `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CheckStep.

type CheckStepEdge

type CheckStepEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CheckStep `json:"node,omitempty"`
}

An edge in a connection.

type CheckSuite

type CheckSuite struct {
	// The GitHub App which created this check suite.
	App *App `json:"app,omitempty"`
	// The name of the branch for this check suite.
	Branch *Ref `json:"branch,omitempty"`
	// The check runs associated with a check suite.
	CheckRuns *CheckRunConnection `json:"checkRuns,omitempty"`
	// The commit for this check suite
	Commit *Commit `json:"commit"`
	// The conclusion of this check suite.
	Conclusion *CheckConclusionState `json:"conclusion,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who triggered the check suite.
	Creator *User `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the CheckSuite object
	ID string `json:"id"`
	// A list of open pull requests matching the check suite.
	MatchingPullRequests *PullRequestConnection `json:"matchingPullRequests,omitempty"`
	// The push that triggered this check suite.
	Push *Push `json:"push,omitempty"`
	// The repository associated with this check suite.
	Repository *Repository `json:"repository"`
	// The HTTP path for this check suite
	ResourcePath string `json:"resourcePath"`
	// The status of this check suite.
	Status CheckStatusState `json:"status"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this check suite
	URL string `json:"url"`
	// The workflow run associated with this check suite.
	WorkflowRun *WorkflowRun `json:"workflowRun,omitempty"`
}

A check suite.

func (CheckSuite) GetID

func (this CheckSuite) GetID() string

ID of the object.

func (CheckSuite) IsNode

func (CheckSuite) IsNode()

type CheckSuiteAutoTriggerPreference

type CheckSuiteAutoTriggerPreference struct {
	// The node ID of the application that owns the check suite.
	AppID string `json:"appId"`
	// Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository.
	Setting bool `json:"setting"`
}

The auto-trigger preferences that are available for check suites.

type CheckSuiteConnection

type CheckSuiteConnection struct {
	// A list of edges.
	Edges []*CheckSuiteEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CheckSuite `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CheckSuite.

type CheckSuiteEdge

type CheckSuiteEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CheckSuite `json:"node,omitempty"`
}

An edge in a connection.

type CheckSuiteFilter

type CheckSuiteFilter struct {
	// Filters the check suites created by this application ID.
	AppID *int `json:"appId,omitempty"`
	// Filters the check suites by this name.
	CheckName *string `json:"checkName,omitempty"`
}

The filters that are available when fetching check suites.

type Claimable

type Claimable interface {
	IsClaimable()
}

An object which can have its data claimed or claim data from another.

type ClearLabelsFromLabelableInput

type ClearLabelsFromLabelableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the labelable object to clear the labels from.
	LabelableID string `json:"labelableId"`
}

Autogenerated input type of ClearLabelsFromLabelable

type ClearLabelsFromLabelablePayload

type ClearLabelsFromLabelablePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item that was unlabeled.
	Labelable Labelable `json:"labelable,omitempty"`
}

Autogenerated return type of ClearLabelsFromLabelable

type ClearProjectV2ItemFieldValueInput

type ClearProjectV2ItemFieldValueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project.
	ProjectID string `json:"projectId"`
	// The ID of the item to be cleared.
	ItemID string `json:"itemId"`
	// The ID of the field to be cleared.
	FieldID string `json:"fieldId"`
}

Autogenerated input type of ClearProjectV2ItemFieldValue

type ClearProjectV2ItemFieldValuePayload

type ClearProjectV2ItemFieldValuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated item.
	ProjectV2Item *ProjectV2Item `json:"projectV2Item,omitempty"`
}

Autogenerated return type of ClearProjectV2ItemFieldValue

type CloneProjectInput

type CloneProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner ID to create the project under.
	TargetOwnerID string `json:"targetOwnerId"`
	// The source project to clone.
	SourceID string `json:"sourceId"`
	// Whether or not to clone the source project's workflows.
	IncludeWorkflows bool `json:"includeWorkflows"`
	// The name of the project.
	Name string `json:"name"`
	// The description of the project.
	Body *string `json:"body,omitempty"`
	// The visibility of the project, defaults to false (private).
	Public *bool `json:"public,omitempty"`
}

Autogenerated input type of CloneProject

type CloneProjectPayload

type CloneProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the JobStatus for populating cloned fields.
	JobStatusID *string `json:"jobStatusId,omitempty"`
	// The new cloned project.
	Project *Project `json:"project,omitempty"`
}

Autogenerated return type of CloneProject

type CloneTemplateRepositoryInput

type CloneTemplateRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the template repository.
	RepositoryID string `json:"repositoryId"`
	// The name of the new repository.
	Name string `json:"name"`
	// The ID of the owner for the new repository.
	OwnerID string `json:"ownerId"`
	// A short description of the new repository.
	Description *string `json:"description,omitempty"`
	// Indicates the repository's visibility level.
	Visibility RepositoryVisibility `json:"visibility"`
	// Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template.
	IncludeAllBranches *bool `json:"includeAllBranches,omitempty"`
}

Autogenerated input type of CloneTemplateRepository

type CloneTemplateRepositoryPayload

type CloneTemplateRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of CloneTemplateRepository

type Closable

type Closable interface {
	IsClosable()
	// Indicates if the object is closed (definition of closed may depend on type)
	GetClosed() bool
	// Identifies the date and time when the object was closed.
	GetClosedAt() *time.Time
	// Indicates if the object can be closed by the viewer.
	GetViewerCanClose() bool
	// Indicates if the object can be reopened by the viewer.
	GetViewerCanReopen() bool
}

An object that can be closed

type CloseDiscussionInput

type CloseDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the discussion to be closed.
	DiscussionID string `json:"discussionId"`
	// The reason why the discussion is being closed.
	Reason *DiscussionCloseReason `json:"reason,omitempty"`
}

Autogenerated input type of CloseDiscussion

type CloseDiscussionPayload

type CloseDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that was closed.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of CloseDiscussion

type CloseIssueInput

type CloseIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the issue to be closed.
	IssueID string `json:"issueId"`
	// The reason the issue is to be closed.
	StateReason *IssueClosedStateReason `json:"stateReason,omitempty"`
}

Autogenerated input type of CloseIssue

type CloseIssuePayload

type CloseIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue that was closed.
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of CloseIssue

type ClosePullRequestInput

type ClosePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to be closed.
	PullRequestID string `json:"pullRequestId"`
}

Autogenerated input type of ClosePullRequest

type ClosePullRequestPayload

type ClosePullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that was closed.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of ClosePullRequest

type ClosedEvent

type ClosedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Object that was closed.
	Closable Closable `json:"closable"`
	// Object which triggered the creation of this event.
	Closer Closer `json:"closer,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ClosedEvent object
	ID string `json:"id"`
	// The HTTP path for this closed event.
	ResourcePath string `json:"resourcePath"`
	// The reason the issue state was changed to closed.
	StateReason *IssueStateReason `json:"stateReason,omitempty"`
	// The HTTP URL for this closed event.
	URL string `json:"url"`
}

Represents a 'closed' event on any `Closable`.

func (ClosedEvent) GetID

func (this ClosedEvent) GetID() string

ID of the object.

func (ClosedEvent) GetResourcePath

func (this ClosedEvent) GetResourcePath() string

The HTML path to this resource.

func (ClosedEvent) GetURL

func (this ClosedEvent) GetURL() string

The URL to this resource.

func (ClosedEvent) IsIssueTimelineItem

func (ClosedEvent) IsIssueTimelineItem()

func (ClosedEvent) IsIssueTimelineItems

func (ClosedEvent) IsIssueTimelineItems()

func (ClosedEvent) IsNode

func (ClosedEvent) IsNode()

func (ClosedEvent) IsPullRequestTimelineItem

func (ClosedEvent) IsPullRequestTimelineItem()

func (ClosedEvent) IsPullRequestTimelineItems

func (ClosedEvent) IsPullRequestTimelineItems()

func (ClosedEvent) IsUniformResourceLocatable

func (ClosedEvent) IsUniformResourceLocatable()

type Closer

type Closer interface {
	IsCloser()
}

The object which triggered a `ClosedEvent`.

type CodeOfConduct

type CodeOfConduct struct {
	// The body of the Code of Conduct
	Body *string `json:"body,omitempty"`
	// The Node ID of the CodeOfConduct object
	ID string `json:"id"`
	// The key for the Code of Conduct
	Key string `json:"key"`
	// The formal name of the Code of Conduct
	Name string `json:"name"`
	// The HTTP path for this Code of Conduct
	ResourcePath *string `json:"resourcePath,omitempty"`
	// The HTTP URL for this Code of Conduct
	URL *string `json:"url,omitempty"`
}

The Code of Conduct for a repository

func (CodeOfConduct) GetID

func (this CodeOfConduct) GetID() string

ID of the object.

func (CodeOfConduct) IsNode

func (CodeOfConduct) IsNode()

type CollaboratorAffiliation

type CollaboratorAffiliation string

Collaborators affiliation level with a subject.

const (
	// All outside collaborators of an organization-owned subject.
	CollaboratorAffiliationOutside CollaboratorAffiliation = "OUTSIDE"
	// All collaborators with permissions to an organization-owned subject, regardless of organization membership status.
	CollaboratorAffiliationDirect CollaboratorAffiliation = "DIRECT"
	// All collaborators the authenticated user can see.
	CollaboratorAffiliationAll CollaboratorAffiliation = "ALL"
)

func (CollaboratorAffiliation) IsValid

func (e CollaboratorAffiliation) IsValid() bool

func (CollaboratorAffiliation) MarshalGQL

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

func (CollaboratorAffiliation) String

func (e CollaboratorAffiliation) String() string

func (*CollaboratorAffiliation) UnmarshalGQL

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

type Comment

type Comment interface {
	IsComment()
	// The actor who authored the comment.
	GetAuthor() Actor
	// Author's association with the subject of the comment.
	GetAuthorAssociation() CommentAuthorAssociation
	// The body as Markdown.
	GetBody() string
	// The body rendered to HTML.
	GetBodyHTML() string
	// The body rendered to text.
	GetBodyText() string
	// Identifies the date and time when the object was created.
	GetCreatedAt() time.Time
	// Check if this comment was created via an email reply.
	GetCreatedViaEmail() bool
	// The actor who edited the comment.
	GetEditor() Actor
	// The Node ID of the Comment object
	GetID() string
	// Check if this comment was edited and includes an edit with the creation data
	GetIncludesCreatedEdit() bool
	// The moment the editor made the last edit
	GetLastEditedAt() *time.Time
	// Identifies when the comment was published at.
	GetPublishedAt() *time.Time
	// Identifies the date and time when the object was last updated.
	GetUpdatedAt() time.Time
	// A list of edits to this content.
	GetUserContentEdits() *UserContentEditConnection
	// Did the viewer author this comment.
	GetViewerDidAuthor() bool
}

Represents a comment.

type CommentAuthorAssociation

type CommentAuthorAssociation string

A comment author association with repository.

const (
	// Author is a member of the organization that owns the repository.
	CommentAuthorAssociationMember CommentAuthorAssociation = "MEMBER"
	// Author is the owner of the repository.
	CommentAuthorAssociationOwner CommentAuthorAssociation = "OWNER"
	// Author is a placeholder for an unclaimed user.
	CommentAuthorAssociationMannequin CommentAuthorAssociation = "MANNEQUIN"
	// Author has been invited to collaborate on the repository.
	CommentAuthorAssociationCollaborator CommentAuthorAssociation = "COLLABORATOR"
	// Author has previously committed to the repository.
	CommentAuthorAssociationContributor CommentAuthorAssociation = "CONTRIBUTOR"
	// Author has not previously committed to the repository.
	CommentAuthorAssociationFirstTimeContributor CommentAuthorAssociation = "FIRST_TIME_CONTRIBUTOR"
	// Author has not previously committed to GitHub.
	CommentAuthorAssociationFirstTimer CommentAuthorAssociation = "FIRST_TIMER"
	// Author has no association with the repository.
	CommentAuthorAssociationNone CommentAuthorAssociation = "NONE"
)

func (CommentAuthorAssociation) IsValid

func (e CommentAuthorAssociation) IsValid() bool

func (CommentAuthorAssociation) MarshalGQL

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

func (CommentAuthorAssociation) String

func (e CommentAuthorAssociation) String() string

func (*CommentAuthorAssociation) UnmarshalGQL

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

type CommentCannotUpdateReason

type CommentCannotUpdateReason string

The possible errors that will prevent a user from updating a comment.

const (
	// Unable to create comment because repository is archived.
	CommentCannotUpdateReasonArchived CommentCannotUpdateReason = "ARCHIVED"
	// You must be the author or have write access to this repository to update this comment.
	CommentCannotUpdateReasonInsufficientAccess CommentCannotUpdateReason = "INSUFFICIENT_ACCESS"
	// Unable to create comment because issue is locked.
	CommentCannotUpdateReasonLocked CommentCannotUpdateReason = "LOCKED"
	// You must be logged in to update this comment.
	CommentCannotUpdateReasonLoginRequired CommentCannotUpdateReason = "LOGIN_REQUIRED"
	// Repository is under maintenance.
	CommentCannotUpdateReasonMaintenance CommentCannotUpdateReason = "MAINTENANCE"
	// At least one email address must be verified to update this comment.
	CommentCannotUpdateReasonVerifiedEmailRequired CommentCannotUpdateReason = "VERIFIED_EMAIL_REQUIRED"
	// You cannot update this comment
	CommentCannotUpdateReasonDenied CommentCannotUpdateReason = "DENIED"
)

func (CommentCannotUpdateReason) IsValid

func (e CommentCannotUpdateReason) IsValid() bool

func (CommentCannotUpdateReason) MarshalGQL

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

func (CommentCannotUpdateReason) String

func (e CommentCannotUpdateReason) String() string

func (*CommentCannotUpdateReason) UnmarshalGQL

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

type CommentDeletedEvent

type CommentDeletedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The user who authored the deleted comment.
	DeletedCommentAuthor Actor `json:"deletedCommentAuthor,omitempty"`
	// The Node ID of the CommentDeletedEvent object
	ID string `json:"id"`
}

Represents a 'comment_deleted' event on a given issue or pull request.

func (CommentDeletedEvent) GetID

func (this CommentDeletedEvent) GetID() string

ID of the object.

func (CommentDeletedEvent) IsIssueTimelineItems

func (CommentDeletedEvent) IsIssueTimelineItems()

func (CommentDeletedEvent) IsNode

func (CommentDeletedEvent) IsNode()

func (CommentDeletedEvent) IsPullRequestTimelineItems

func (CommentDeletedEvent) IsPullRequestTimelineItems()

type Commit

type Commit struct {
	// An abbreviated version of the Git object ID
	AbbreviatedOid string `json:"abbreviatedOid"`
	// The number of additions in this commit.
	Additions int `json:"additions"`
	// The merged Pull Request that introduced the commit to the repository. If the commit is not present in the default branch, additionally returns open Pull Requests associated with the commit
	AssociatedPullRequests *PullRequestConnection `json:"associatedPullRequests,omitempty"`
	// Authorship details of the commit.
	Author *GitActor `json:"author,omitempty"`
	// Check if the committer and the author match.
	AuthoredByCommitter bool `json:"authoredByCommitter"`
	// The datetime when this commit was authored.
	AuthoredDate time.Time `json:"authoredDate"`
	// The list of authors for this commit based on the git author and the Co-authored-by
	// message trailer. The git author will always be first.
	//
	Authors *GitActorConnection `json:"authors"`
	// Fetches `git blame` information.
	Blame *Blame `json:"blame"`
	// We recommend using the `changedFilesIfAvailable` field instead of `changedFiles`, as `changedFiles` will cause your request to return an error if GitHub is unable to calculate the number of changed files.
	ChangedFiles int `json:"changedFiles"`
	// The number of changed files in this commit. If GitHub is unable to calculate the number of changed files (for example due to a timeout), this will return `null`. We recommend using this field instead of `changedFiles`.
	ChangedFilesIfAvailable *int `json:"changedFilesIfAvailable,omitempty"`
	// The check suites associated with a commit.
	CheckSuites *CheckSuiteConnection `json:"checkSuites,omitempty"`
	// Comments made on the commit.
	Comments *CommitCommentConnection `json:"comments"`
	// The HTTP path for this Git object
	CommitResourcePath string `json:"commitResourcePath"`
	// The HTTP URL for this Git object
	CommitURL string `json:"commitUrl"`
	// The datetime when this commit was committed.
	CommittedDate time.Time `json:"committedDate"`
	// Check if committed via GitHub web UI.
	CommittedViaWeb bool `json:"committedViaWeb"`
	// Committer details of the commit.
	Committer *GitActor `json:"committer,omitempty"`
	// The number of deletions in this commit.
	Deletions int `json:"deletions"`
	// The deployments associated with a commit.
	Deployments *DeploymentConnection `json:"deployments,omitempty"`
	// The tree entry representing the file located at the given path.
	File *TreeEntry `json:"file,omitempty"`
	// The linear commit history starting from (and including) this commit, in the same order as `git log`.
	History *CommitHistoryConnection `json:"history"`
	// The Node ID of the Commit object
	ID string `json:"id"`
	// The Git commit message
	Message string `json:"message"`
	// The Git commit message body
	MessageBody string `json:"messageBody"`
	// The commit message body rendered to HTML.
	MessageBodyHTML string `json:"messageBodyHTML"`
	// The Git commit message headline
	MessageHeadline string `json:"messageHeadline"`
	// The commit message headline rendered to HTML.
	MessageHeadlineHTML string `json:"messageHeadlineHTML"`
	// The Git object ID
	Oid string `json:"oid"`
	// The organization this commit was made on behalf of.
	OnBehalfOf *Organization `json:"onBehalfOf,omitempty"`
	// The parents of a commit.
	Parents *CommitConnection `json:"parents"`
	// The datetime when this commit was pushed.
	PushedDate *time.Time `json:"pushedDate,omitempty"`
	// The Repository this commit belongs to
	Repository *Repository `json:"repository"`
	// The HTTP path for this commit
	ResourcePath string `json:"resourcePath"`
	// Commit signing information, if present.
	Signature GitSignature `json:"signature,omitempty"`
	// Status information for this commit
	Status *Status `json:"status,omitempty"`
	// Check and Status rollup information for this commit.
	StatusCheckRollup *StatusCheckRollup `json:"statusCheckRollup,omitempty"`
	// Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file.
	Submodules *SubmoduleConnection `json:"submodules"`
	// Returns a URL to download a tarball archive for a repository.
	// Note: For private repositories, these links are temporary and expire after five minutes.
	TarballURL string `json:"tarballUrl"`
	// Commit's root Tree
	Tree *Tree `json:"tree"`
	// The HTTP path for the tree of this commit
	TreeResourcePath string `json:"treeResourcePath"`
	// The HTTP URL for the tree of this commit
	TreeURL string `json:"treeUrl"`
	// The HTTP URL for this commit
	URL string `json:"url"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
	// Returns a URL to download a zipball archive for a repository.
	// Note: For private repositories, these links are temporary and expire after five minutes.
	ZipballURL string `json:"zipballUrl"`
}

Represents a Git commit.

func (Commit) GetAbbreviatedOid

func (this Commit) GetAbbreviatedOid() string

An abbreviated version of the Git object ID

func (Commit) GetCommitResourcePath

func (this Commit) GetCommitResourcePath() string

The HTTP path for this Git object

func (Commit) GetCommitURL

func (this Commit) GetCommitURL() string

The HTTP URL for this Git object

func (Commit) GetID

func (this Commit) GetID() string

The Node ID of the GitObject object

func (Commit) GetOid

func (this Commit) GetOid() string

The Git object ID

func (Commit) GetRepository

func (this Commit) GetRepository() *Repository

The Repository the Git object belongs to

func (Commit) GetResourcePath

func (this Commit) GetResourcePath() string

The HTML path to this resource.

func (Commit) GetURL

func (this Commit) GetURL() string

The URL to this resource.

func (Commit) GetViewerCanSubscribe

func (this Commit) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (Commit) GetViewerSubscription

func (this Commit) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (Commit) IsCloser

func (Commit) IsCloser()

func (Commit) IsGitObject

func (Commit) IsGitObject()

func (Commit) IsIssueTimelineItem

func (Commit) IsIssueTimelineItem()

func (Commit) IsNode

func (Commit) IsNode()

func (Commit) IsPullRequestTimelineItem

func (Commit) IsPullRequestTimelineItem()

func (Commit) IsSubscribable

func (Commit) IsSubscribable()

func (Commit) IsUniformResourceLocatable

func (Commit) IsUniformResourceLocatable()

type CommitAuthor

type CommitAuthor struct {
	// ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails.
	ID *string `json:"id,omitempty"`
	// Email addresses to filter by. Commits authored by any of the specified email addresses will be returned.
	Emails []string `json:"emails,omitempty"`
}

Specifies an author for filtering Git commits.

type CommitAuthorEmailPatternParameters

type CommitAuthorEmailPatternParameters struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate bool `json:"negate"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the commit_author_email_pattern rule

func (CommitAuthorEmailPatternParameters) IsRuleParameters

func (CommitAuthorEmailPatternParameters) IsRuleParameters()

type CommitAuthorEmailPatternParametersInput

type CommitAuthorEmailPatternParametersInput struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the commit_author_email_pattern rule

type CommitComment

type CommitComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// Identifies the comment body.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the commit associated with the comment, if the commit exists.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the CommitComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// Identifies the file path associated with the comment.
	Path *string `json:"path,omitempty"`
	// Identifies the line position associated with the comment.
	Position *int `json:"position,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path permalink for this commit comment.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL permalink for this commit comment.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

Represents a comment on a given Commit.

func (CommitComment) GetAuthor

func (this CommitComment) GetAuthor() Actor

The actor who authored the comment.

func (CommitComment) GetAuthorAssociation

func (this CommitComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (CommitComment) GetBody

func (this CommitComment) GetBody() string

The body as Markdown.

func (CommitComment) GetBodyHTML

func (this CommitComment) GetBodyHTML() string

The body rendered to HTML.

func (CommitComment) GetBodyText

func (this CommitComment) GetBodyText() string

The body rendered to text.

func (CommitComment) GetCreatedAt

func (this CommitComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (CommitComment) GetCreatedViaEmail

func (this CommitComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (CommitComment) GetDatabaseID

func (this CommitComment) GetDatabaseID() *int

Identifies the primary key from the database.

func (CommitComment) GetEditor

func (this CommitComment) GetEditor() Actor

The actor who edited the comment.

func (CommitComment) GetID

func (this CommitComment) GetID() string

The Node ID of the Comment object

func (CommitComment) GetIncludesCreatedEdit

func (this CommitComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (CommitComment) GetIsMinimized

func (this CommitComment) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (CommitComment) GetLastEditedAt

func (this CommitComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (CommitComment) GetMinimizedReason

func (this CommitComment) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (CommitComment) GetPublishedAt

func (this CommitComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (CommitComment) GetReactionGroups

func (this CommitComment) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (CommitComment) GetReactions

func (this CommitComment) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (CommitComment) GetRepository

func (this CommitComment) GetRepository() *Repository

The repository associated with this node.

func (CommitComment) GetUpdatedAt

func (this CommitComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (CommitComment) GetUserContentEdits

func (this CommitComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (CommitComment) GetViewerCanDelete

func (this CommitComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (CommitComment) GetViewerCanMinimize

func (this CommitComment) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (CommitComment) GetViewerCanReact

func (this CommitComment) GetViewerCanReact() bool

Can user react to this subject

func (CommitComment) GetViewerCanUpdate

func (this CommitComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (CommitComment) GetViewerCannotUpdateReasons

func (this CommitComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (CommitComment) GetViewerDidAuthor

func (this CommitComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (CommitComment) IsComment

func (CommitComment) IsComment()

func (CommitComment) IsDeletable

func (CommitComment) IsDeletable()

func (CommitComment) IsMinimizable

func (CommitComment) IsMinimizable()

func (CommitComment) IsNode

func (CommitComment) IsNode()

func (CommitComment) IsReactable

func (CommitComment) IsReactable()

func (CommitComment) IsRepositoryNode

func (CommitComment) IsRepositoryNode()

func (CommitComment) IsUpdatable

func (CommitComment) IsUpdatable()

func (CommitComment) IsUpdatableComment

func (CommitComment) IsUpdatableComment()

type CommitCommentConnection

type CommitCommentConnection struct {
	// A list of edges.
	Edges []*CommitCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CommitComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CommitComment.

type CommitCommentEdge

type CommitCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CommitComment `json:"node,omitempty"`
}

An edge in a connection.

type CommitCommentThread

type CommitCommentThread struct {
	// The comments that exist in this thread.
	Comments *CommitCommentConnection `json:"comments"`
	// The commit the comments were made on.
	Commit *Commit `json:"commit,omitempty"`
	// The Node ID of the CommitCommentThread object
	ID string `json:"id"`
	// The file the comments were made on.
	Path *string `json:"path,omitempty"`
	// The position in the diff for the commit that the comment was made on.
	Position *int `json:"position,omitempty"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
}

A thread of comments on a commit.

func (CommitCommentThread) GetID

func (this CommitCommentThread) GetID() string

ID of the object.

func (CommitCommentThread) GetRepository

func (this CommitCommentThread) GetRepository() *Repository

The repository associated with this node.

func (CommitCommentThread) IsNode

func (CommitCommentThread) IsNode()

func (CommitCommentThread) IsPullRequestTimelineItem

func (CommitCommentThread) IsPullRequestTimelineItem()

func (CommitCommentThread) IsRepositoryNode

func (CommitCommentThread) IsRepositoryNode()

type CommitConnection

type CommitConnection struct {
	// A list of edges.
	Edges []*CommitEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Commit `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Commit.

type CommitContributionOrder

type CommitContributionOrder struct {
	// The field by which to order commit contributions.
	Field CommitContributionOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for commit contribution connections.

type CommitContributionOrderField

type CommitContributionOrderField string

Properties by which commit contribution connections can be ordered.

const (
	// Order commit contributions by when they were made.
	CommitContributionOrderFieldOccurredAt CommitContributionOrderField = "OCCURRED_AT"
	// Order commit contributions by how many commits they represent.
	CommitContributionOrderFieldCommitCount CommitContributionOrderField = "COMMIT_COUNT"
)

func (CommitContributionOrderField) IsValid

func (e CommitContributionOrderField) IsValid() bool

func (CommitContributionOrderField) MarshalGQL

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

func (CommitContributionOrderField) String

func (*CommitContributionOrderField) UnmarshalGQL

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

type CommitContributionsByRepository

type CommitContributionsByRepository struct {
	// The commit contributions, each representing a day.
	Contributions *CreatedCommitContributionConnection `json:"contributions"`
	// The repository in which the commits were made.
	Repository *Repository `json:"repository"`
	// The HTTP path for the user's commits to the repository in this time range.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for the user's commits to the repository in this time range.
	URL string `json:"url"`
}

This aggregates commits made by a user within one repository.

type CommitEdge

type CommitEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Commit `json:"node,omitempty"`
}

An edge in a connection.

type CommitHistoryConnection

type CommitHistoryConnection struct {
	// A list of edges.
	Edges []*CommitEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Commit `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Commit.

type CommitMessage

type CommitMessage struct {
	// The headline of the message.
	Headline string `json:"headline"`
	// The body of the message.
	Body *string `json:"body,omitempty"`
}

A message to include with a new commit

type CommitMessagePatternParameters

type CommitMessagePatternParameters struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate bool `json:"negate"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the commit_message_pattern rule

func (CommitMessagePatternParameters) IsRuleParameters

func (CommitMessagePatternParameters) IsRuleParameters()

type CommitMessagePatternParametersInput

type CommitMessagePatternParametersInput struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the commit_message_pattern rule

type CommittableBranch

type CommittableBranch struct {
	// The Node ID of the Ref to be updated.
	ID *string `json:"id,omitempty"`
	// The nameWithOwner of the repository to commit to.
	RepositoryNameWithOwner *string `json:"repositoryNameWithOwner,omitempty"`
	// The unqualified name of the branch to append the commit to.
	BranchName *string `json:"branchName,omitempty"`
}

A git ref for a commit to be appended to.

The ref must be a branch, i.e. its fully qualified name must start with `refs/heads/` (although the input is not required to be fully qualified).

The Ref may be specified by its global node ID or by the `repositoryNameWithOwner` and `branchName`.

### Examples

Specify a branch using a global node ID:

{ "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" }

Specify a branch using `repositoryNameWithOwner` and `branchName`:

{
  "repositoryNameWithOwner": "github/graphql-client",
  "branchName": "main"
}

type CommitterEmailPatternParameters

type CommitterEmailPatternParameters struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate bool `json:"negate"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the committer_email_pattern rule

func (CommitterEmailPatternParameters) IsRuleParameters

func (CommitterEmailPatternParameters) IsRuleParameters()

type CommitterEmailPatternParametersInput

type CommitterEmailPatternParametersInput struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the committer_email_pattern rule

type Comparison

type Comparison struct {
	// The number of commits ahead of the base branch.
	AheadBy int `json:"aheadBy"`
	// The base revision of this comparison.
	BaseTarget GitObject `json:"baseTarget"`
	// The number of commits behind the base branch.
	BehindBy int `json:"behindBy"`
	// The commits which compose this comparison.
	Commits *ComparisonCommitConnection `json:"commits"`
	// The head revision of this comparison.
	HeadTarget GitObject `json:"headTarget"`
	// The Node ID of the Comparison object
	ID string `json:"id"`
	// The status of this comparison.
	Status ComparisonStatus `json:"status"`
}

Represents a comparison between two commit revisions.

func (Comparison) GetID

func (this Comparison) GetID() string

ID of the object.

func (Comparison) IsNode

func (Comparison) IsNode()

type ComparisonCommitConnection

type ComparisonCommitConnection struct {
	// The total count of authors and co-authors across all commits.
	AuthorCount int `json:"authorCount"`
	// A list of edges.
	Edges []*CommitEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Commit `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Commit.

type ComparisonStatus

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 ConnectedEvent

type ConnectedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ConnectedEvent object
	ID string `json:"id"`
	// Reference originated in a different repository.
	IsCrossRepository bool `json:"isCrossRepository"`
	// Issue or pull request that made the reference.
	Source ReferencedSubject `json:"source"`
	// Issue or pull request which was connected.
	Subject ReferencedSubject `json:"subject"`
}

Represents a 'connected' event on a given issue or pull request.

func (ConnectedEvent) GetID

func (this ConnectedEvent) GetID() string

ID of the object.

func (ConnectedEvent) IsIssueTimelineItems

func (ConnectedEvent) IsIssueTimelineItems()

func (ConnectedEvent) IsNode

func (ConnectedEvent) IsNode()

func (ConnectedEvent) IsPullRequestTimelineItems

func (ConnectedEvent) IsPullRequestTimelineItems()

type ContributingGuidelines

type ContributingGuidelines struct {
	// The body of the Contributing Guidelines.
	Body *string `json:"body,omitempty"`
	// The HTTP path for the Contributing Guidelines.
	ResourcePath *string `json:"resourcePath,omitempty"`
	// The HTTP URL for the Contributing Guidelines.
	URL *string `json:"url,omitempty"`
}

The Contributing Guidelines for a repository.

type Contribution

type Contribution interface {
	IsContribution()
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	GetIsRestricted() bool
	// When this contribution was made.
	GetOccurredAt() time.Time
	// The HTTP path for this contribution.
	GetResourcePath() string
	// The HTTP URL for this contribution.
	GetURL() string
	// The user who made this contribution.
	//
	GetUser() *User
}

Represents a contribution a user made on GitHub, such as opening an issue.

type ContributionCalendar

type ContributionCalendar struct {
	// A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.
	Colors []string `json:"colors"`
	// Determine if the color set was chosen because it's currently Halloween.
	IsHalloween bool `json:"isHalloween"`
	// A list of the months of contributions in this calendar.
	Months []*ContributionCalendarMonth `json:"months"`
	// The count of total contributions in the calendar.
	TotalContributions int `json:"totalContributions"`
	// A list of the weeks of contributions in this calendar.
	Weeks []*ContributionCalendarWeek `json:"weeks"`
}

A calendar of contributions made on GitHub by a user.

type ContributionCalendarDay

type ContributionCalendarDay struct {
	// The hex color code that represents how many contributions were made on this day compared to others in the calendar.
	Color string `json:"color"`
	// How many contributions were made by the user on this day.
	ContributionCount int `json:"contributionCount"`
	// Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar.
	ContributionLevel ContributionLevel `json:"contributionLevel"`
	// The day this square represents.
	Date string `json:"date"`
	// A number representing which day of the week this square represents, e.g., 1 is Monday.
	Weekday int `json:"weekday"`
}

Represents a single day of contributions on GitHub by a user.

type ContributionCalendarMonth

type ContributionCalendarMonth struct {
	// The date of the first day of this month.
	FirstDay string `json:"firstDay"`
	// The name of the month.
	Name string `json:"name"`
	// How many weeks started in this month.
	TotalWeeks int `json:"totalWeeks"`
	// The year the month occurred in.
	Year int `json:"year"`
}

A month of contributions in a user's contribution graph.

type ContributionCalendarWeek

type ContributionCalendarWeek struct {
	// The days of contributions in this week.
	ContributionDays []*ContributionCalendarDay `json:"contributionDays"`
	// The date of the earliest square in this week.
	FirstDay string `json:"firstDay"`
}

A week of contributions in a user's contribution graph.

type ContributionLevel

type ContributionLevel string

Varying levels of contributions from none to many.

const (
	// No contributions occurred.
	ContributionLevelNone ContributionLevel = "NONE"
	// Lowest 25% of days of contributions.
	ContributionLevelFirstQuartile ContributionLevel = "FIRST_QUARTILE"
	// Second lowest 25% of days of contributions. More contributions than the first quartile.
	ContributionLevelSecondQuartile ContributionLevel = "SECOND_QUARTILE"
	// Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile.
	ContributionLevelThirdQuartile ContributionLevel = "THIRD_QUARTILE"
	// Highest 25% of days of contributions. More contributions than the third quartile.
	ContributionLevelFourthQuartile ContributionLevel = "FOURTH_QUARTILE"
)

func (ContributionLevel) IsValid

func (e ContributionLevel) IsValid() bool

func (ContributionLevel) MarshalGQL

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

func (ContributionLevel) String

func (e ContributionLevel) String() string

func (*ContributionLevel) UnmarshalGQL

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

type ContributionOrder

type ContributionOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for contribution connections.

type ContributionsCollection

type ContributionsCollection struct {
	// Commit contributions made by the user, grouped by repository.
	CommitContributionsByRepository []*CommitContributionsByRepository `json:"commitContributionsByRepository"`
	// A calendar of this user's contributions on GitHub.
	ContributionCalendar *ContributionCalendar `json:"contributionCalendar"`
	// The years the user has been making contributions with the most recent year first.
	ContributionYears []int `json:"contributionYears"`
	// Determine if this collection's time span ends in the current month.
	//
	DoesEndInCurrentMonth bool `json:"doesEndInCurrentMonth"`
	// The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.
	EarliestRestrictedContributionDate *string `json:"earliestRestrictedContributionDate,omitempty"`
	// The ending date and time of this collection.
	EndedAt time.Time `json:"endedAt"`
	// The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.
	FirstIssueContribution CreatedIssueOrRestrictedContribution `json:"firstIssueContribution,omitempty"`
	// The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned.
	FirstPullRequestContribution CreatedPullRequestOrRestrictedContribution `json:"firstPullRequestContribution,omitempty"`
	// The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned.
	FirstRepositoryContribution CreatedRepositoryOrRestrictedContribution `json:"firstRepositoryContribution,omitempty"`
	// Does the user have any more activity in the timeline that occurred prior to the collection's time range?
	HasActivityInThePast bool `json:"hasActivityInThePast"`
	// Determine if there are any contributions in this collection.
	HasAnyContributions bool `json:"hasAnyContributions"`
	// Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts.
	HasAnyRestrictedContributions bool `json:"hasAnyRestrictedContributions"`
	// Whether or not the collector's time span is all within the same day.
	IsSingleDay bool `json:"isSingleDay"`
	// A list of issues the user opened.
	IssueContributions *CreatedIssueContributionConnection `json:"issueContributions"`
	// Issue contributions made by the user, grouped by repository.
	IssueContributionsByRepository []*IssueContributionsByRepository `json:"issueContributionsByRepository"`
	// When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false.
	JoinedGitHubContribution *JoinedGitHubContribution `json:"joinedGitHubContribution,omitempty"`
	// The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts.
	LatestRestrictedContributionDate *string `json:"latestRestrictedContributionDate,omitempty"`
	// When this collection's time range does not include any activity from the user, use this
	// to get a different collection from an earlier time range that does have activity.
	//
	MostRecentCollectionWithActivity *ContributionsCollection `json:"mostRecentCollectionWithActivity,omitempty"`
	// Returns a different contributions collection from an earlier time range than this one
	// that does not have any contributions.
	//
	MostRecentCollectionWithoutActivity *ContributionsCollection `json:"mostRecentCollectionWithoutActivity,omitempty"`
	// The issue the user opened on GitHub that received the most comments in the specified
	// time frame.
	//
	PopularIssueContribution *CreatedIssueContribution `json:"popularIssueContribution,omitempty"`
	// The pull request the user opened on GitHub that received the most comments in the
	// specified time frame.
	//
	PopularPullRequestContribution *CreatedPullRequestContribution `json:"popularPullRequestContribution,omitempty"`
	// Pull request contributions made by the user.
	PullRequestContributions *CreatedPullRequestContributionConnection `json:"pullRequestContributions"`
	// Pull request contributions made by the user, grouped by repository.
	PullRequestContributionsByRepository []*PullRequestContributionsByRepository `json:"pullRequestContributionsByRepository"`
	// Pull request review contributions made by the user. Returns the most recently
	// submitted review for each PR reviewed by the user.
	//
	PullRequestReviewContributions *CreatedPullRequestReviewContributionConnection `json:"pullRequestReviewContributions"`
	// Pull request review contributions made by the user, grouped by repository.
	PullRequestReviewContributionsByRepository []*PullRequestReviewContributionsByRepository `json:"pullRequestReviewContributionsByRepository"`
	// A list of repositories owned by the user that the user created in this time range.
	RepositoryContributions *CreatedRepositoryContributionConnection `json:"repositoryContributions"`
	// A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts.
	RestrictedContributionsCount int `json:"restrictedContributionsCount"`
	// The beginning date and time of this collection.
	StartedAt time.Time `json:"startedAt"`
	// How many commits were made by the user in this time span.
	TotalCommitContributions int `json:"totalCommitContributions"`
	// How many issues the user opened.
	TotalIssueContributions int `json:"totalIssueContributions"`
	// How many pull requests the user opened.
	TotalPullRequestContributions int `json:"totalPullRequestContributions"`
	// How many pull request reviews the user left.
	TotalPullRequestReviewContributions int `json:"totalPullRequestReviewContributions"`
	// How many different repositories the user committed to.
	TotalRepositoriesWithContributedCommits int `json:"totalRepositoriesWithContributedCommits"`
	// How many different repositories the user opened issues in.
	TotalRepositoriesWithContributedIssues int `json:"totalRepositoriesWithContributedIssues"`
	// How many different repositories the user left pull request reviews in.
	TotalRepositoriesWithContributedPullRequestReviews int `json:"totalRepositoriesWithContributedPullRequestReviews"`
	// How many different repositories the user opened pull requests in.
	TotalRepositoriesWithContributedPullRequests int `json:"totalRepositoriesWithContributedPullRequests"`
	// How many repositories the user created.
	TotalRepositoryContributions int `json:"totalRepositoryContributions"`
	// The user who made the contributions in this collection.
	User *User `json:"user"`
}

A contributions collection aggregates contributions such as opened issues and commits created by a user.

type ConvertProjectCardNoteToIssueInput

type ConvertProjectCardNoteToIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ProjectCard ID to convert.
	ProjectCardID string `json:"projectCardId"`
	// The ID of the repository to create the issue in.
	RepositoryID string `json:"repositoryId"`
	// The title of the newly created issue. Defaults to the card's note text.
	Title *string `json:"title,omitempty"`
	// The body of the newly created issue.
	Body *string `json:"body,omitempty"`
}

Autogenerated input type of ConvertProjectCardNoteToIssue

type ConvertProjectCardNoteToIssuePayload

type ConvertProjectCardNoteToIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated ProjectCard.
	ProjectCard *ProjectCard `json:"projectCard,omitempty"`
}

Autogenerated return type of ConvertProjectCardNoteToIssue

type ConvertPullRequestToDraftInput

type ConvertPullRequestToDraftInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to convert to draft
	PullRequestID string `json:"pullRequestId"`
}

Autogenerated input type of ConvertPullRequestToDraft

type ConvertPullRequestToDraftPayload

type ConvertPullRequestToDraftPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that is now a draft.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of ConvertPullRequestToDraft

type ConvertToDraftEvent

type ConvertToDraftEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ConvertToDraftEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// The HTTP path for this convert to draft event.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this convert to draft event.
	URL string `json:"url"`
}

Represents a 'convert_to_draft' event on a given pull request.

func (ConvertToDraftEvent) GetID

func (this ConvertToDraftEvent) GetID() string

ID of the object.

func (ConvertToDraftEvent) GetResourcePath

func (this ConvertToDraftEvent) GetResourcePath() string

The HTML path to this resource.

func (ConvertToDraftEvent) GetURL

func (this ConvertToDraftEvent) GetURL() string

The URL to this resource.

func (ConvertToDraftEvent) IsNode

func (ConvertToDraftEvent) IsNode()

func (ConvertToDraftEvent) IsPullRequestTimelineItems

func (ConvertToDraftEvent) IsPullRequestTimelineItems()

func (ConvertToDraftEvent) IsUniformResourceLocatable

func (ConvertToDraftEvent) IsUniformResourceLocatable()

type ConvertedNoteToIssueEvent

type ConvertedNoteToIssueEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ConvertedNoteToIssueEvent object
	ID string `json:"id"`
}

Represents a 'converted_note_to_issue' event on a given issue or pull request.

func (ConvertedNoteToIssueEvent) GetID

func (this ConvertedNoteToIssueEvent) GetID() string

ID of the object.

func (ConvertedNoteToIssueEvent) IsIssueTimelineItems

func (ConvertedNoteToIssueEvent) IsIssueTimelineItems()

func (ConvertedNoteToIssueEvent) IsNode

func (ConvertedNoteToIssueEvent) IsNode()

func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems

func (ConvertedNoteToIssueEvent) IsPullRequestTimelineItems()

type ConvertedToDiscussionEvent

type ConvertedToDiscussionEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The discussion that the issue was converted into.
	Discussion *Discussion `json:"discussion,omitempty"`
	// The Node ID of the ConvertedToDiscussionEvent object
	ID string `json:"id"`
}

Represents a 'converted_to_discussion' event on a given issue.

func (ConvertedToDiscussionEvent) GetID

func (this ConvertedToDiscussionEvent) GetID() string

ID of the object.

func (ConvertedToDiscussionEvent) IsIssueTimelineItems

func (ConvertedToDiscussionEvent) IsIssueTimelineItems()

func (ConvertedToDiscussionEvent) IsNode

func (ConvertedToDiscussionEvent) IsNode()

func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems

func (ConvertedToDiscussionEvent) IsPullRequestTimelineItems()

type CopyProjectV2Input

type CopyProjectV2Input struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the source Project to copy.
	ProjectID string `json:"projectId"`
	// The owner ID of the new project.
	OwnerID string `json:"ownerId"`
	// The title of the project.
	Title string `json:"title"`
	// Include draft issues in the new project
	IncludeDraftIssues *bool `json:"includeDraftIssues,omitempty"`
}

Autogenerated input type of CopyProjectV2

type CopyProjectV2Payload

type CopyProjectV2Payload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The copied project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of CopyProjectV2

type CreateAttributionInvitationInput

type CreateAttributionInvitationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the owner scoping the reattributable data.
	OwnerID string `json:"ownerId"`
	// The Node ID of the account owning the data to reattribute.
	SourceID string `json:"sourceId"`
	// The Node ID of the account which may claim the data.
	TargetID string `json:"targetId"`
}

Autogenerated input type of CreateAttributionInvitation

type CreateAttributionInvitationPayload

type CreateAttributionInvitationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner scoping the reattributable data.
	Owner *Organization `json:"owner,omitempty"`
	// The account owning the data to reattribute.
	Source Claimable `json:"source,omitempty"`
	// The account which may claim the data.
	Target Claimable `json:"target,omitempty"`
}

Autogenerated return type of CreateAttributionInvitation

type CreateBranchProtectionRuleInput

type CreateBranchProtectionRuleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the repository in which a new branch protection rule should be created in.
	RepositoryID string `json:"repositoryId"`
	// The glob-like pattern used to determine matching branches.
	Pattern string `json:"pattern"`
	// Are approving reviews required to update matching branches.
	RequiresApprovingReviews *bool `json:"requiresApprovingReviews,omitempty"`
	// Number of approving reviews required to update matching branches.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`
	// Are commits required to be signed.
	RequiresCommitSignatures *bool `json:"requiresCommitSignatures,omitempty"`
	// Are merge commits prohibited from being pushed to this branch.
	RequiresLinearHistory *bool `json:"requiresLinearHistory,omitempty"`
	// Is branch creation a protected operation.
	BlocksCreations *bool `json:"blocksCreations,omitempty"`
	// Are force pushes allowed on this branch.
	AllowsForcePushes *bool `json:"allowsForcePushes,omitempty"`
	// Can this branch be deleted.
	AllowsDeletions *bool `json:"allowsDeletions,omitempty"`
	// Can admins override branch protection.
	IsAdminEnforced *bool `json:"isAdminEnforced,omitempty"`
	// Are status checks required to update matching branches.
	RequiresStatusChecks *bool `json:"requiresStatusChecks,omitempty"`
	// Are branches required to be up to date before merging.
	RequiresStrictStatusChecks *bool `json:"requiresStrictStatusChecks,omitempty"`
	// Are reviews from code owners required to update matching branches.
	RequiresCodeOwnerReviews *bool `json:"requiresCodeOwnerReviews,omitempty"`
	// Will new commits pushed to matching branches dismiss pull request review approvals.
	DismissesStaleReviews *bool `json:"dismissesStaleReviews,omitempty"`
	// Is dismissal of pull request reviews restricted.
	RestrictsReviewDismissals *bool `json:"restrictsReviewDismissals,omitempty"`
	// A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches.
	ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"`
	// A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches.
	BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"`
	// A list of User, Team, or App IDs allowed to bypass force push targeting matching branches.
	BypassForcePushActorIds []string `json:"bypassForcePushActorIds,omitempty"`
	// Is pushing to matching branches restricted.
	RestrictsPushes *bool `json:"restrictsPushes,omitempty"`
	// A list of User, Team, or App IDs allowed to push to matching branches.
	PushActorIds []string `json:"pushActorIds,omitempty"`
	// List of required status check contexts that must pass for commits to be accepted to matching branches.
	RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
	// The list of required status checks
	RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"`
	// Are successful deployments required before merging.
	RequiresDeployments *bool `json:"requiresDeployments,omitempty"`
	// The list of required deployment environments
	RequiredDeploymentEnvironments []string `json:"requiredDeploymentEnvironments,omitempty"`
	// Are conversations required to be resolved before merging.
	RequiresConversationResolution *bool `json:"requiresConversationResolution,omitempty"`
	// Whether the most recent push must be approved by someone other than the person who pushed it
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`
	// Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
	LockBranch *bool `json:"lockBranch,omitempty"`
	// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.
	LockAllowsFetchAndMerge *bool `json:"lockAllowsFetchAndMerge,omitempty"`
}

Autogenerated input type of CreateBranchProtectionRule

type CreateBranchProtectionRulePayload

type CreateBranchProtectionRulePayload struct {
	// The newly created BranchProtectionRule.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of CreateBranchProtectionRule

type CreateCheckRunInput

type CreateCheckRunInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The name of the check.
	Name string `json:"name"`
	// The SHA of the head commit.
	HeadSha string `json:"headSha"`
	// The URL of the integrator's site that has the full details of the check.
	DetailsURL *string `json:"detailsUrl,omitempty"`
	// A reference for the run on the integrator's system.
	ExternalID *string `json:"externalId,omitempty"`
	// The current status.
	Status *RequestableCheckStatusState `json:"status,omitempty"`
	// The time that the check run began.
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The final conclusion of the check.
	Conclusion *CheckConclusionState `json:"conclusion,omitempty"`
	// The time that the check run finished.
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// Descriptive details about the run.
	Output *CheckRunOutput `json:"output,omitempty"`
	// Possible further actions the integrator can perform, which a user may trigger.
	Actions []*CheckRunAction `json:"actions,omitempty"`
}

Autogenerated input type of CreateCheckRun

type CreateCheckRunPayload

type CreateCheckRunPayload struct {
	// The newly created check run.
	CheckRun *CheckRun `json:"checkRun,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of CreateCheckRun

type CreateCheckSuiteInput

type CreateCheckSuiteInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The SHA of the head commit.
	HeadSha string `json:"headSha"`
}

Autogenerated input type of CreateCheckSuite

type CreateCheckSuitePayload

type CreateCheckSuitePayload struct {
	// The newly created check suite.
	CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of CreateCheckSuite

type CreateCommitOnBranchInput

type CreateCommitOnBranchInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Ref to be updated.  Must be a branch.
	Branch *CommittableBranch `json:"branch"`
	// A description of changes to files in this commit.
	FileChanges *FileChanges `json:"fileChanges,omitempty"`
	// The commit message the be included with the commit.
	Message *CommitMessage `json:"message"`
	// The git commit oid expected at the head of the branch prior to the commit
	ExpectedHeadOid string `json:"expectedHeadOid"`
}

Autogenerated input type of CreateCommitOnBranch

type CreateCommitOnBranchPayload

type CreateCommitOnBranchPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new commit.
	Commit *Commit `json:"commit,omitempty"`
	// The ref which has been updated to point to the new commit.
	Ref *Ref `json:"ref,omitempty"`
}

Autogenerated return type of CreateCommitOnBranch

type CreateDiscussionInput

type CreateDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the repository on which to create the discussion.
	RepositoryID string `json:"repositoryId"`
	// The title of the discussion.
	Title string `json:"title"`
	// The body of the discussion.
	Body string `json:"body"`
	// The id of the discussion category to associate with this discussion.
	CategoryID string `json:"categoryId"`
}

Autogenerated input type of CreateDiscussion

type CreateDiscussionPayload

type CreateDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that was just created.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of CreateDiscussion

type CreateEnterpriseOrganizationInput

type CreateEnterpriseOrganizationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise owning the new organization.
	EnterpriseID string `json:"enterpriseId"`
	// The login of the new organization.
	Login string `json:"login"`
	// The profile name of the new organization.
	ProfileName string `json:"profileName"`
	// The email used for sending billing receipts.
	BillingEmail string `json:"billingEmail"`
	// The logins for the administrators of the new organization.
	AdminLogins []string `json:"adminLogins"`
}

Autogenerated input type of CreateEnterpriseOrganization

type CreateEnterpriseOrganizationPayload

type CreateEnterpriseOrganizationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise that owns the created organization.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// The organization that was created.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of CreateEnterpriseOrganization

type CreateEnvironmentInput

type CreateEnvironmentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The name of the environment.
	Name string `json:"name"`
}

Autogenerated input type of CreateEnvironment

type CreateEnvironmentPayload

type CreateEnvironmentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new or existing environment.
	Environment *Environment `json:"environment,omitempty"`
}

Autogenerated return type of CreateEnvironment

type CreateIPAllowListEntryInput

type CreateIPAllowListEntryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the owner for which to create the new IP allow list entry.
	OwnerID string `json:"ownerId"`
	// An IP address or range of addresses in CIDR notation.
	AllowListValue string `json:"allowListValue"`
	// An optional name for the IP allow list entry.
	Name *string `json:"name,omitempty"`
	// Whether the IP allow list entry is active when an IP allow list is enabled.
	IsActive bool `json:"isActive"`
}

Autogenerated input type of CreateIpAllowListEntry

type CreateIPAllowListEntryPayload

type CreateIPAllowListEntryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The IP allow list entry that was created.
	IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"`
}

Autogenerated return type of CreateIpAllowListEntry

type CreateIssueInput

type CreateIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The title for the issue.
	Title string `json:"title"`
	// The body for the issue description.
	Body *string `json:"body,omitempty"`
	// The Node ID for the user assignee for this issue.
	AssigneeIds []string `json:"assigneeIds,omitempty"`
	// The Node ID of the milestone for this issue.
	MilestoneID *string `json:"milestoneId,omitempty"`
	// An array of Node IDs of labels for this issue.
	LabelIds []string `json:"labelIds,omitempty"`
	// An array of Node IDs for projects associated with this issue.
	ProjectIds []string `json:"projectIds,omitempty"`
	// The name of an issue template in the repository, assigns labels and assignees from the template to the issue
	IssueTemplate *string `json:"issueTemplate,omitempty"`
}

Autogenerated input type of CreateIssue

type CreateIssuePayload

type CreateIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new issue.
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of CreateIssue

type CreateLinkedBranchInput

type CreateLinkedBranchInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the issue to link to.
	IssueID string `json:"issueId"`
	// The commit SHA to base the new branch on.
	Oid string `json:"oid"`
	// The name of the new branch. Defaults to issue number and title.
	Name *string `json:"name,omitempty"`
	// ID of the repository to create the branch in. Defaults to the issue repository.
	RepositoryID *string `json:"repositoryId,omitempty"`
}

Autogenerated input type of CreateLinkedBranch

type CreateLinkedBranchPayload

type CreateLinkedBranchPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue that was linked to.
	Issue *Issue `json:"issue,omitempty"`
	// The new branch issue reference.
	LinkedBranch *LinkedBranch `json:"linkedBranch,omitempty"`
}

Autogenerated return type of CreateLinkedBranch

type CreateMigrationSourceInput

type CreateMigrationSourceInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The migration source name.
	Name string `json:"name"`
	// The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.
	URL *string `json:"url,omitempty"`
	// The migration source access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The migration source type.
	Type MigrationSourceType `json:"type"`
	// The ID of the organization that will own the migration source.
	OwnerID string `json:"ownerId"`
	// The GitHub personal access token of the user importing to the target repository.
	GithubPat *string `json:"githubPat,omitempty"`
}

Autogenerated input type of CreateMigrationSource

type CreateMigrationSourcePayload

type CreateMigrationSourcePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The created migration source.
	MigrationSource *MigrationSource `json:"migrationSource,omitempty"`
}

Autogenerated return type of CreateMigrationSource

type CreateProjectInput

type CreateProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner ID to create the project under.
	OwnerID string `json:"ownerId"`
	// The name of project.
	Name string `json:"name"`
	// The description of project.
	Body *string `json:"body,omitempty"`
	// The name of the GitHub-provided template.
	Template *ProjectTemplate `json:"template,omitempty"`
	// A list of repository IDs to create as linked repositories for the project
	RepositoryIds []string `json:"repositoryIds,omitempty"`
}

Autogenerated input type of CreateProject

type CreateProjectPayload

type CreateProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new project.
	Project *Project `json:"project,omitempty"`
}

Autogenerated return type of CreateProject

type CreateProjectV2FieldInput

type CreateProjectV2FieldInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to create the field in.
	ProjectID string `json:"projectId"`
	// The data type of the field.
	DataType ProjectV2CustomFieldType `json:"dataType"`
	// The name of the field.
	Name string `json:"name"`
	// Options for a single select field. At least one value is required if data_type is SINGLE_SELECT
	SingleSelectOptions []*ProjectV2SingleSelectFieldOptionInput `json:"singleSelectOptions,omitempty"`
}

Autogenerated input type of CreateProjectV2Field

type CreateProjectV2FieldPayload

type CreateProjectV2FieldPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new field.
	ProjectV2Field ProjectV2FieldConfiguration `json:"projectV2Field,omitempty"`
}

Autogenerated return type of CreateProjectV2Field

type CreateProjectV2Input

type CreateProjectV2Input struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner ID to create the project under.
	OwnerID string `json:"ownerId"`
	// The title of the project.
	Title string `json:"title"`
	// The repository to link the project to.
	RepositoryID *string `json:"repositoryId,omitempty"`
	// The team to link the project to. The team will be granted read permissions.
	TeamID *string `json:"teamId,omitempty"`
}

Autogenerated input type of CreateProjectV2

type CreateProjectV2Payload

type CreateProjectV2Payload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of CreateProjectV2

type CreatePullRequestInput

type CreatePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The name of the branch you want your changes pulled into. This should be an existing branch
	// on the current repository. You cannot update the base branch on a pull request to point
	// to another repository.
	//
	BaseRefName string `json:"baseRefName"`
	// The name of the branch where your changes are implemented. For cross-repository pull requests
	// in the same network, namespace `head_ref_name` with a user like this: `username:branch`.
	//
	HeadRefName string `json:"headRefName"`
	// The Node ID of the head repository.
	HeadRepositoryID *string `json:"headRepositoryId,omitempty"`
	// The title of the pull request.
	Title string `json:"title"`
	// The contents of the pull request.
	Body *string `json:"body,omitempty"`
	// Indicates whether maintainers can modify the pull request.
	MaintainerCanModify *bool `json:"maintainerCanModify,omitempty"`
	// Indicates whether this pull request should be a draft.
	Draft *bool `json:"draft,omitempty"`
}

Autogenerated input type of CreatePullRequest

type CreatePullRequestPayload

type CreatePullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new pull request.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of CreatePullRequest

type CreateRefInput

type CreateRefInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the Repository to create the Ref in.
	RepositoryID string `json:"repositoryId"`
	// The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`).
	Name string `json:"name"`
	// The GitObjectID that the new Ref shall target. Must point to a commit.
	Oid string `json:"oid"`
}

Autogenerated input type of CreateRef

type CreateRefPayload

type CreateRefPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created ref.
	Ref *Ref `json:"ref,omitempty"`
}

Autogenerated return type of CreateRef

type CreateRepositoryInput

type CreateRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The name of the new repository.
	Name string `json:"name"`
	// The ID of the owner for the new repository.
	OwnerID *string `json:"ownerId,omitempty"`
	// A short description of the new repository.
	Description *string `json:"description,omitempty"`
	// Indicates the repository's visibility level.
	Visibility RepositoryVisibility `json:"visibility"`
	// Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.
	Template *bool `json:"template,omitempty"`
	// The URL for a web page about this repository.
	HomepageURL *string `json:"homepageUrl,omitempty"`
	// Indicates if the repository should have the wiki feature enabled.
	HasWikiEnabled *bool `json:"hasWikiEnabled,omitempty"`
	// Indicates if the repository should have the issues feature enabled.
	HasIssuesEnabled *bool `json:"hasIssuesEnabled,omitempty"`
	// When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository.
	TeamID *string `json:"teamId,omitempty"`
}

Autogenerated input type of CreateRepository

type CreateRepositoryPayload

type CreateRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of CreateRepository

type CreateRepositoryRulesetInput

type CreateRepositoryRulesetInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the source in which a new ruleset should be created in.
	SourceID string `json:"sourceId"`
	// The name of the ruleset.
	Name string `json:"name"`
	// The target of the ruleset.
	Target *RepositoryRulesetTarget `json:"target,omitempty"`
	// The list of rules for this ruleset
	Rules []*RepositoryRuleInput `json:"rules,omitempty"`
	// The set of conditions for this ruleset
	Conditions *RepositoryRuleConditionsInput `json:"conditions"`
	// The enforcement level for this ruleset
	Enforcement RuleEnforcement `json:"enforcement"`
	// A list of actors that are allowed to bypass rules in this ruleset.
	BypassActors []*RepositoryRulesetBypassActorInput `json:"bypassActors,omitempty"`
}

Autogenerated input type of CreateRepositoryRuleset

type CreateRepositoryRulesetPayload

type CreateRepositoryRulesetPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created Ruleset.
	Ruleset *RepositoryRuleset `json:"ruleset,omitempty"`
}

Autogenerated return type of CreateRepositoryRuleset

type CreateSponsorsListingInput

type CreateSponsorsListingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information.
	FiscalHostLogin *string `json:"fiscalHostLogin,omitempty"`
	// The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified.
	FiscallyHostedProjectProfileURL *string `json:"fiscallyHostedProjectProfileUrl,omitempty"`
	// The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified.
	BillingCountryOrRegionCode *SponsorsCountryOrRegionCode `json:"billingCountryOrRegionCode,omitempty"`
	// The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization.
	ResidenceCountryOrRegionCode *SponsorsCountryOrRegionCode `json:"residenceCountryOrRegionCode,omitempty"`
	// The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted.
	ContactEmail *string `json:"contactEmail,omitempty"`
	// Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported.
	FullDescription *string `json:"fullDescription,omitempty"`
}

Autogenerated input type of CreateSponsorsListing

type CreateSponsorsListingPayload

type CreateSponsorsListingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new GitHub Sponsors profile.
	SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
}

Autogenerated return type of CreateSponsorsListing

type CreateSponsorsTierInput

type CreateSponsorsTierInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given.
	SponsorableID *string `json:"sponsorableId,omitempty"`
	// The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// The value of the new tier in US dollars. Valid values: 1-12000.
	Amount int `json:"amount"`
	// Whether sponsorships using this tier should happen monthly/yearly or just once.
	IsRecurring *bool `json:"isRecurring,omitempty"`
	// Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization.
	RepositoryID *string `json:"repositoryId,omitempty"`
	// Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given.
	RepositoryOwnerLogin *string `json:"repositoryOwnerLogin,omitempty"`
	// Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given.
	RepositoryName *string `json:"repositoryName,omitempty"`
	// Optional message new sponsors at this tier will receive.
	WelcomeMessage *string `json:"welcomeMessage,omitempty"`
	// A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc.
	Description string `json:"description"`
	// Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible.
	Publish *bool `json:"publish,omitempty"`
}

Autogenerated input type of CreateSponsorsTier

type CreateSponsorsTierPayload

type CreateSponsorsTierPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new tier.
	SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}

Autogenerated return type of CreateSponsorsTier

type CreateSponsorshipInput

type CreateSponsorshipInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
	SponsorID *string `json:"sponsorId,omitempty"`
	// The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
	SponsorLogin *string `json:"sponsorLogin,omitempty"`
	// The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
	SponsorableID *string `json:"sponsorableId,omitempty"`
	// The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified.
	TierID *string `json:"tierId,omitempty"`
	// The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000.
	Amount *int `json:"amount,omitempty"`
	// Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified.
	IsRecurring *bool `json:"isRecurring,omitempty"`
	// Whether the sponsor should receive email updates from the sponsorable.
	ReceiveEmails *bool `json:"receiveEmails,omitempty"`
	// Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used.
	PrivacyLevel *SponsorshipPrivacy `json:"privacyLevel,omitempty"`
}

Autogenerated input type of CreateSponsorship

type CreateSponsorshipPayload

type CreateSponsorshipPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The sponsorship that was started.
	Sponsorship *Sponsorship `json:"sponsorship,omitempty"`
}

Autogenerated return type of CreateSponsorship

type CreateSponsorshipsInput

type CreateSponsorshipsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The username of the user or organization who is acting as the sponsor, paying for the sponsorships.
	SponsorLogin string `json:"sponsorLogin"`
	// The list of maintainers to sponsor and for how much apiece.
	Sponsorships []*BulkSponsorship `json:"sponsorships"`
	// Whether the sponsor should receive email updates from the sponsorables.
	ReceiveEmails *bool `json:"receiveEmails,omitempty"`
	// Specify whether others should be able to see that the sponsor is sponsoring the sponsorables. Public visibility still does not reveal the dollar value of the sponsorship.
	PrivacyLevel *SponsorshipPrivacy `json:"privacyLevel,omitempty"`
	// Whether the sponsorships created should continue each billing cycle for the sponsor (monthly or annually), versus lasting only a single month. Defaults to one-time sponsorships.
	Recurring *bool `json:"recurring,omitempty"`
}

Autogenerated input type of CreateSponsorships

type CreateSponsorshipsPayload

type CreateSponsorshipsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The users and organizations who received a sponsorship.
	Sponsorables []Sponsorable `json:"sponsorables,omitempty"`
}

Autogenerated return type of CreateSponsorships

type CreateTeamDiscussionCommentInput

type CreateTeamDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the discussion to which the comment belongs. This field is required.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `discussionId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	DiscussionID *string `json:"discussionId,omitempty"`
	// The content of the comment. This field is required.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	Body *string `json:"body,omitempty"`
}

Autogenerated input type of CreateTeamDiscussionComment

type CreateTeamDiscussionCommentPayload

type CreateTeamDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new comment.
	TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"`
}

Autogenerated return type of CreateTeamDiscussionComment

type CreateTeamDiscussionInput

type CreateTeamDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the team to which the discussion belongs. This field is required.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `teamId` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	TeamID *string `json:"teamId,omitempty"`
	// The title of the discussion. This field is required.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `title` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	Title *string `json:"title,omitempty"`
	// The content of the discussion. This field is required.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `body` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	Body *string `json:"body,omitempty"`
	// If true, restricts the visibility of this discussion to team members and organization owners. If false or not specified, allows any organization member to view this discussion.
	//
	// **Upcoming Change on 2024-07-01 UTC**
	// **Description:** `private` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.
	// **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions.
	//
	Private *bool `json:"private,omitempty"`
}

Autogenerated input type of CreateTeamDiscussion

type CreateTeamDiscussionPayload

type CreateTeamDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new discussion.
	TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"`
}

Autogenerated return type of CreateTeamDiscussion

type CreateUserListInput

type CreateUserListInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The name of the new list
	Name string `json:"name"`
	// A description of the list
	Description *string `json:"description,omitempty"`
	// Whether or not the list is private
	IsPrivate *bool `json:"isPrivate,omitempty"`
}

Autogenerated input type of CreateUserList

type CreateUserListPayload

type CreateUserListPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The list that was just created
	List *UserList `json:"list,omitempty"`
	// The user who created the list
	Viewer *User `json:"viewer,omitempty"`
}

Autogenerated return type of CreateUserList

type CreatedCommitContribution

type CreatedCommitContribution struct {
	// How many commits were made on this day to this repository by the user.
	CommitCount int `json:"commitCount"`
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The repository the user made a commit in.
	Repository *Repository `json:"repository"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents the contribution a user made by committing to a repository.

func (CreatedCommitContribution) GetIsRestricted

func (this CreatedCommitContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (CreatedCommitContribution) GetOccurredAt

func (this CreatedCommitContribution) GetOccurredAt() time.Time

When this contribution was made.

func (CreatedCommitContribution) GetResourcePath

func (this CreatedCommitContribution) GetResourcePath() string

The HTTP path for this contribution.

func (CreatedCommitContribution) GetURL

func (this CreatedCommitContribution) GetURL() string

The HTTP URL for this contribution.

func (CreatedCommitContribution) GetUser

func (this CreatedCommitContribution) GetUser() *User

The user who made this contribution.

func (CreatedCommitContribution) IsContribution

func (CreatedCommitContribution) IsContribution()

type CreatedCommitContributionConnection

type CreatedCommitContributionConnection struct {
	// A list of edges.
	Edges []*CreatedCommitContributionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CreatedCommitContribution `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of commits across days and repositories in the connection.
	//
	TotalCount int `json:"totalCount"`
}

The connection type for CreatedCommitContribution.

type CreatedCommitContributionEdge

type CreatedCommitContributionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CreatedCommitContribution `json:"node,omitempty"`
}

An edge in a connection.

type CreatedIssueContribution

type CreatedIssueContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// The issue that was opened.
	Issue *Issue `json:"issue"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents the contribution a user made on GitHub by opening an issue.

func (CreatedIssueContribution) GetIsRestricted

func (this CreatedIssueContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (CreatedIssueContribution) GetOccurredAt

func (this CreatedIssueContribution) GetOccurredAt() time.Time

When this contribution was made.

func (CreatedIssueContribution) GetResourcePath

func (this CreatedIssueContribution) GetResourcePath() string

The HTTP path for this contribution.

func (CreatedIssueContribution) GetURL

func (this CreatedIssueContribution) GetURL() string

The HTTP URL for this contribution.

func (CreatedIssueContribution) GetUser

func (this CreatedIssueContribution) GetUser() *User

The user who made this contribution.

func (CreatedIssueContribution) IsContribution

func (CreatedIssueContribution) IsContribution()

func (CreatedIssueContribution) IsCreatedIssueOrRestrictedContribution

func (CreatedIssueContribution) IsCreatedIssueOrRestrictedContribution()

type CreatedIssueContributionConnection

type CreatedIssueContributionConnection struct {
	// A list of edges.
	Edges []*CreatedIssueContributionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CreatedIssueContribution `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CreatedIssueContribution.

type CreatedIssueContributionEdge

type CreatedIssueContributionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CreatedIssueContribution `json:"node,omitempty"`
}

An edge in a connection.

type CreatedIssueOrRestrictedContribution

type CreatedIssueOrRestrictedContribution interface {
	IsCreatedIssueOrRestrictedContribution()
}

Represents either a issue the viewer can access or a restricted contribution.

type CreatedPullRequestContribution

type CreatedPullRequestContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The pull request that was opened.
	PullRequest *PullRequest `json:"pullRequest"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents the contribution a user made on GitHub by opening a pull request.

func (CreatedPullRequestContribution) GetIsRestricted

func (this CreatedPullRequestContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (CreatedPullRequestContribution) GetOccurredAt

func (this CreatedPullRequestContribution) GetOccurredAt() time.Time

When this contribution was made.

func (CreatedPullRequestContribution) GetResourcePath

func (this CreatedPullRequestContribution) GetResourcePath() string

The HTTP path for this contribution.

func (CreatedPullRequestContribution) GetURL

func (this CreatedPullRequestContribution) GetURL() string

The HTTP URL for this contribution.

func (CreatedPullRequestContribution) GetUser

func (this CreatedPullRequestContribution) GetUser() *User

The user who made this contribution.

func (CreatedPullRequestContribution) IsContribution

func (CreatedPullRequestContribution) IsContribution()

func (CreatedPullRequestContribution) IsCreatedPullRequestOrRestrictedContribution

func (CreatedPullRequestContribution) IsCreatedPullRequestOrRestrictedContribution()

type CreatedPullRequestContributionConnection

type CreatedPullRequestContributionConnection struct {
	// A list of edges.
	Edges []*CreatedPullRequestContributionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CreatedPullRequestContribution `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CreatedPullRequestContribution.

type CreatedPullRequestContributionEdge

type CreatedPullRequestContributionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CreatedPullRequestContribution `json:"node,omitempty"`
}

An edge in a connection.

type CreatedPullRequestOrRestrictedContribution

type CreatedPullRequestOrRestrictedContribution interface {
	IsCreatedPullRequestOrRestrictedContribution()
}

Represents either a pull request the viewer can access or a restricted contribution.

type CreatedPullRequestReviewContribution

type CreatedPullRequestReviewContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The pull request the user reviewed.
	PullRequest *PullRequest `json:"pullRequest"`
	// The review the user left on the pull request.
	PullRequestReview *PullRequestReview `json:"pullRequestReview"`
	// The repository containing the pull request that the user reviewed.
	Repository *Repository `json:"repository"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents the contribution a user made by leaving a review on a pull request.

func (CreatedPullRequestReviewContribution) GetIsRestricted

func (this CreatedPullRequestReviewContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (CreatedPullRequestReviewContribution) GetOccurredAt

func (this CreatedPullRequestReviewContribution) GetOccurredAt() time.Time

When this contribution was made.

func (CreatedPullRequestReviewContribution) GetResourcePath

func (this CreatedPullRequestReviewContribution) GetResourcePath() string

The HTTP path for this contribution.

func (CreatedPullRequestReviewContribution) GetURL

The HTTP URL for this contribution.

func (CreatedPullRequestReviewContribution) GetUser

The user who made this contribution.

func (CreatedPullRequestReviewContribution) IsContribution

func (CreatedPullRequestReviewContribution) IsContribution()

type CreatedPullRequestReviewContributionConnection

type CreatedPullRequestReviewContributionConnection struct {
	// A list of edges.
	Edges []*CreatedPullRequestReviewContributionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CreatedPullRequestReviewContribution `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CreatedPullRequestReviewContribution.

type CreatedPullRequestReviewContributionEdge

type CreatedPullRequestReviewContributionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CreatedPullRequestReviewContribution `json:"node,omitempty"`
}

An edge in a connection.

type CreatedRepositoryContribution

type CreatedRepositoryContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The repository that was created.
	Repository *Repository `json:"repository"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents the contribution a user made on GitHub by creating a repository.

func (CreatedRepositoryContribution) GetIsRestricted

func (this CreatedRepositoryContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (CreatedRepositoryContribution) GetOccurredAt

func (this CreatedRepositoryContribution) GetOccurredAt() time.Time

When this contribution was made.

func (CreatedRepositoryContribution) GetResourcePath

func (this CreatedRepositoryContribution) GetResourcePath() string

The HTTP path for this contribution.

func (CreatedRepositoryContribution) GetURL

func (this CreatedRepositoryContribution) GetURL() string

The HTTP URL for this contribution.

func (CreatedRepositoryContribution) GetUser

func (this CreatedRepositoryContribution) GetUser() *User

The user who made this contribution.

func (CreatedRepositoryContribution) IsContribution

func (CreatedRepositoryContribution) IsContribution()

func (CreatedRepositoryContribution) IsCreatedRepositoryOrRestrictedContribution

func (CreatedRepositoryContribution) IsCreatedRepositoryOrRestrictedContribution()

type CreatedRepositoryContributionConnection

type CreatedRepositoryContributionConnection struct {
	// A list of edges.
	Edges []*CreatedRepositoryContributionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*CreatedRepositoryContribution `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for CreatedRepositoryContribution.

type CreatedRepositoryContributionEdge

type CreatedRepositoryContributionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *CreatedRepositoryContribution `json:"node,omitempty"`
}

An edge in a connection.

type CreatedRepositoryOrRestrictedContribution

type CreatedRepositoryOrRestrictedContribution interface {
	IsCreatedRepositoryOrRestrictedContribution()
}

Represents either a repository the viewer can access or a restricted contribution.

type CrossReferencedEvent

type CrossReferencedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the CrossReferencedEvent object
	ID string `json:"id"`
	// Reference originated in a different repository.
	IsCrossRepository bool `json:"isCrossRepository"`
	// Identifies when the reference was made.
	ReferencedAt time.Time `json:"referencedAt"`
	// The HTTP path for this pull request.
	ResourcePath string `json:"resourcePath"`
	// Issue or pull request that made the reference.
	Source ReferencedSubject `json:"source"`
	// Issue or pull request to which the reference was made.
	Target ReferencedSubject `json:"target"`
	// The HTTP URL for this pull request.
	URL string `json:"url"`
	// Checks if the target will be closed when the source is merged.
	WillCloseTarget bool `json:"willCloseTarget"`
}

Represents a mention made by one issue or pull request to another.

func (CrossReferencedEvent) GetID

func (this CrossReferencedEvent) GetID() string

ID of the object.

func (CrossReferencedEvent) GetResourcePath

func (this CrossReferencedEvent) GetResourcePath() string

The HTML path to this resource.

func (CrossReferencedEvent) GetURL

func (this CrossReferencedEvent) GetURL() string

The URL to this resource.

func (CrossReferencedEvent) IsIssueTimelineItem

func (CrossReferencedEvent) IsIssueTimelineItem()

func (CrossReferencedEvent) IsIssueTimelineItems

func (CrossReferencedEvent) IsIssueTimelineItems()

func (CrossReferencedEvent) IsNode

func (CrossReferencedEvent) IsNode()

func (CrossReferencedEvent) IsPullRequestTimelineItem

func (CrossReferencedEvent) IsPullRequestTimelineItem()

func (CrossReferencedEvent) IsPullRequestTimelineItems

func (CrossReferencedEvent) IsPullRequestTimelineItems()

func (CrossReferencedEvent) IsUniformResourceLocatable

func (CrossReferencedEvent) IsUniformResourceLocatable()

type Cvss

type Cvss struct {
	// The CVSS score associated with this advisory
	Score float64 `json:"score"`
	// The CVSS vector string associated with this advisory
	VectorString *string `json:"vectorString,omitempty"`
}

The Common Vulnerability Scoring System

type Cwe

type Cwe struct {
	// The id of the CWE
	CweID string `json:"cweId"`
	// A detailed description of this CWE
	Description string `json:"description"`
	// The Node ID of the CWE object
	ID string `json:"id"`
	// The name of this CWE
	Name string `json:"name"`
}

A common weakness enumeration

func (Cwe) GetID

func (this Cwe) GetID() string

ID of the object.

func (Cwe) IsNode

func (Cwe) IsNode()

type DeclineTopicSuggestionInput

type DeclineTopicSuggestionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	//
	// **Upcoming Change on 2024-04-01 UTC**
	// **Description:** `repositoryId` will be removed.
	// **Reason:** Suggested topics are no longer supported
	//
	RepositoryID *string `json:"repositoryId,omitempty"`
	// The name of the suggested topic.
	//
	// **Upcoming Change on 2024-04-01 UTC**
	// **Description:** `name` will be removed.
	// **Reason:** Suggested topics are no longer supported
	//
	Name *string `json:"name,omitempty"`
	// The reason why the suggested topic is declined.
	//
	// **Upcoming Change on 2024-04-01 UTC**
	// **Description:** `reason` will be removed.
	// **Reason:** Suggested topics are no longer supported
	//
	Reason *TopicSuggestionDeclineReason `json:"reason,omitempty"`
}

Autogenerated input type of DeclineTopicSuggestion

type DeclineTopicSuggestionPayload

type DeclineTopicSuggestionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The declined topic.
	Topic *Topic `json:"topic,omitempty"`
}

Autogenerated return type of DeclineTopicSuggestion

type DefaultRepositoryPermissionField

type DefaultRepositoryPermissionField string

The possible base permissions for repositories.

const (
	// No access
	DefaultRepositoryPermissionFieldNone DefaultRepositoryPermissionField = "NONE"
	// Can read repos by default
	DefaultRepositoryPermissionFieldRead DefaultRepositoryPermissionField = "READ"
	// Can read and write repos by default
	DefaultRepositoryPermissionFieldWrite DefaultRepositoryPermissionField = "WRITE"
	// Can read, write, and administrate repos by default
	DefaultRepositoryPermissionFieldAdmin DefaultRepositoryPermissionField = "ADMIN"
)

func (DefaultRepositoryPermissionField) IsValid

func (DefaultRepositoryPermissionField) MarshalGQL

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

func (DefaultRepositoryPermissionField) String

func (*DefaultRepositoryPermissionField) UnmarshalGQL

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

type Deletable

type Deletable interface {
	IsDeletable()
	// Check if the current viewer can delete this object.
	GetViewerCanDelete() bool
}

Entities that can be deleted.

type DeleteBranchProtectionRuleInput

type DeleteBranchProtectionRuleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the branch protection rule to be deleted.
	BranchProtectionRuleID string `json:"branchProtectionRuleId"`
}

Autogenerated input type of DeleteBranchProtectionRule

type DeleteBranchProtectionRulePayload

type DeleteBranchProtectionRulePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteBranchProtectionRule

type DeleteDeploymentInput

type DeleteDeploymentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the deployment to be deleted.
	ID string `json:"id"`
}

Autogenerated input type of DeleteDeployment

type DeleteDeploymentPayload

type DeleteDeploymentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteDeployment

type DeleteDiscussionCommentInput

type DeleteDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node id of the discussion comment to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteDiscussionComment

type DeleteDiscussionCommentPayload

type DeleteDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion comment that was just deleted.
	Comment *DiscussionComment `json:"comment,omitempty"`
}

Autogenerated return type of DeleteDiscussionComment

type DeleteDiscussionInput

type DeleteDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the discussion to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteDiscussion

type DeleteDiscussionPayload

type DeleteDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that was just deleted.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of DeleteDiscussion

type DeleteEnvironmentInput

type DeleteEnvironmentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the environment to be deleted.
	ID string `json:"id"`
}

Autogenerated input type of DeleteEnvironment

type DeleteEnvironmentPayload

type DeleteEnvironmentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteEnvironment

type DeleteIPAllowListEntryInput

type DeleteIPAllowListEntryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the IP allow list entry to delete.
	IPAllowListEntryID string `json:"ipAllowListEntryId"`
}

Autogenerated input type of DeleteIpAllowListEntry

type DeleteIPAllowListEntryPayload

type DeleteIPAllowListEntryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The IP allow list entry that was deleted.
	IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"`
}

Autogenerated return type of DeleteIpAllowListEntry

type DeleteIssueCommentInput

type DeleteIssueCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the comment to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteIssueComment

type DeleteIssueCommentPayload

type DeleteIssueCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteIssueComment

type DeleteIssueInput

type DeleteIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the issue to delete.
	IssueID string `json:"issueId"`
}

Autogenerated input type of DeleteIssue

type DeleteIssuePayload

type DeleteIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository the issue belonged to
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of DeleteIssue

type DeleteLinkedBranchInput

type DeleteLinkedBranchInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the linked branch
	LinkedBranchID string `json:"linkedBranchId"`
}

Autogenerated input type of DeleteLinkedBranch

type DeleteLinkedBranchPayload

type DeleteLinkedBranchPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue the linked branch was unlinked from.
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of DeleteLinkedBranch

type DeleteProjectCardInput

type DeleteProjectCardInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the card to delete.
	CardID string `json:"cardId"`
}

Autogenerated input type of DeleteProjectCard

type DeleteProjectCardPayload

type DeleteProjectCardPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The column the deleted card was in.
	Column *ProjectColumn `json:"column,omitempty"`
	// The deleted card ID.
	DeletedCardID *string `json:"deletedCardId,omitempty"`
}

Autogenerated return type of DeleteProjectCard

type DeleteProjectColumnInput

type DeleteProjectColumnInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the column to delete.
	ColumnID string `json:"columnId"`
}

Autogenerated input type of DeleteProjectColumn

type DeleteProjectColumnPayload

type DeleteProjectColumnPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The deleted column ID.
	DeletedColumnID *string `json:"deletedColumnId,omitempty"`
	// The project the deleted column was in.
	Project *Project `json:"project,omitempty"`
}

Autogenerated return type of DeleteProjectColumn

type DeleteProjectInput

type DeleteProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Project ID to update.
	ProjectID string `json:"projectId"`
}

Autogenerated input type of DeleteProject

type DeleteProjectPayload

type DeleteProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository or organization the project was removed from.
	Owner ProjectOwner `json:"owner,omitempty"`
}

Autogenerated return type of DeleteProject

type DeleteProjectV2FieldInput

type DeleteProjectV2FieldInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the field to delete.
	FieldID string `json:"fieldId"`
}

Autogenerated input type of DeleteProjectV2Field

type DeleteProjectV2FieldPayload

type DeleteProjectV2FieldPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The deleted field.
	ProjectV2Field ProjectV2FieldConfiguration `json:"projectV2Field,omitempty"`
}

Autogenerated return type of DeleteProjectV2Field

type DeleteProjectV2Input

type DeleteProjectV2Input struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to delete.
	ProjectID string `json:"projectId"`
}

Autogenerated input type of DeleteProjectV2

type DeleteProjectV2ItemInput

type DeleteProjectV2ItemInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project from which the item should be removed.
	ProjectID string `json:"projectId"`
	// The ID of the item to be removed.
	ItemID string `json:"itemId"`
}

Autogenerated input type of DeleteProjectV2Item

type DeleteProjectV2ItemPayload

type DeleteProjectV2ItemPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the deleted item.
	DeletedItemID *string `json:"deletedItemId,omitempty"`
}

Autogenerated return type of DeleteProjectV2Item

type DeleteProjectV2Payload

type DeleteProjectV2Payload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The deleted Project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of DeleteProjectV2

type DeleteProjectV2WorkflowInput

type DeleteProjectV2WorkflowInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the workflow to be removed.
	WorkflowID string `json:"workflowId"`
}

Autogenerated input type of DeleteProjectV2Workflow

type DeleteProjectV2WorkflowPayload

type DeleteProjectV2WorkflowPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the deleted workflow.
	DeletedWorkflowID *string `json:"deletedWorkflowId,omitempty"`
	// The project the deleted workflow was in.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of DeleteProjectV2Workflow

type DeletePullRequestReviewCommentInput

type DeletePullRequestReviewCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the comment to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeletePullRequestReviewComment

type DeletePullRequestReviewCommentPayload

type DeletePullRequestReviewCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request review the deleted comment belonged to.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
	// The deleted pull request review comment.
	PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment,omitempty"`
}

Autogenerated return type of DeletePullRequestReviewComment

type DeletePullRequestReviewInput

type DeletePullRequestReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request review to delete.
	PullRequestReviewID string `json:"pullRequestReviewId"`
}

Autogenerated input type of DeletePullRequestReview

type DeletePullRequestReviewPayload

type DeletePullRequestReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The deleted pull request review.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}

Autogenerated return type of DeletePullRequestReview

type DeleteRefInput

type DeleteRefInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the Ref to be deleted.
	RefID string `json:"refId"`
}

Autogenerated input type of DeleteRef

type DeleteRefPayload

type DeleteRefPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteRef

type DeleteRepositoryRulesetInput

type DeleteRepositoryRulesetInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the repository ruleset to be deleted.
	RepositoryRulesetID string `json:"repositoryRulesetId"`
}

Autogenerated input type of DeleteRepositoryRuleset

type DeleteRepositoryRulesetPayload

type DeleteRepositoryRulesetPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteRepositoryRuleset

type DeleteTeamDiscussionCommentInput

type DeleteTeamDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the comment to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteTeamDiscussionComment

type DeleteTeamDiscussionCommentPayload

type DeleteTeamDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteTeamDiscussionComment

type DeleteTeamDiscussionInput

type DeleteTeamDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion ID to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteTeamDiscussion

type DeleteTeamDiscussionPayload

type DeleteTeamDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of DeleteTeamDiscussion

type DeleteUserListInput

type DeleteUserListInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the list to delete.
	ListID string `json:"listId"`
}

Autogenerated input type of DeleteUserList

type DeleteUserListPayload

type DeleteUserListPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner of the list that will be deleted
	User *User `json:"user,omitempty"`
}

Autogenerated return type of DeleteUserList

type DeleteVerifiableDomainInput

type DeleteVerifiableDomainInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the verifiable domain to delete.
	ID string `json:"id"`
}

Autogenerated input type of DeleteVerifiableDomain

type DeleteVerifiableDomainPayload

type DeleteVerifiableDomainPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owning account from which the domain was deleted.
	Owner VerifiableDomainOwner `json:"owner,omitempty"`
}

Autogenerated return type of DeleteVerifiableDomain

type DemilestonedEvent

type DemilestonedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the DemilestonedEvent object
	ID string `json:"id"`
	// Identifies the milestone title associated with the 'demilestoned' event.
	MilestoneTitle string `json:"milestoneTitle"`
	// Object referenced by event.
	Subject MilestoneItem `json:"subject"`
}

Represents a 'demilestoned' event on a given issue or pull request.

func (DemilestonedEvent) GetID

func (this DemilestonedEvent) GetID() string

ID of the object.

func (DemilestonedEvent) IsIssueTimelineItem

func (DemilestonedEvent) IsIssueTimelineItem()

func (DemilestonedEvent) IsIssueTimelineItems

func (DemilestonedEvent) IsIssueTimelineItems()

func (DemilestonedEvent) IsNode

func (DemilestonedEvent) IsNode()

func (DemilestonedEvent) IsPullRequestTimelineItem

func (DemilestonedEvent) IsPullRequestTimelineItem()

func (DemilestonedEvent) IsPullRequestTimelineItems

func (DemilestonedEvent) IsPullRequestTimelineItems()

type DependabotUpdate

type DependabotUpdate struct {
	// The error from a dependency update
	Error *DependabotUpdateError `json:"error,omitempty"`
	// The associated pull request
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
}

A Dependabot Update for a dependency in a repository

func (DependabotUpdate) GetRepository

func (this DependabotUpdate) GetRepository() *Repository

The repository associated with this node.

func (DependabotUpdate) IsRepositoryNode

func (DependabotUpdate) IsRepositoryNode()

type DependabotUpdateError

type DependabotUpdateError struct {
	// The body of the error
	Body string `json:"body"`
	// The error code
	ErrorType string `json:"errorType"`
	// The title of the error
	Title string `json:"title"`
}

An error produced from a Dependabot Update

type DependencyGraphEcosystem

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 DeployKey

type DeployKey struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the DeployKey object
	ID string `json:"id"`
	// The deploy key.
	Key string `json:"key"`
	// Whether or not the deploy key is read only.
	ReadOnly bool `json:"readOnly"`
	// The deploy key title.
	Title string `json:"title"`
	// Whether or not the deploy key has been verified.
	Verified bool `json:"verified"`
}

A repository deploy key.

func (DeployKey) GetID

func (this DeployKey) GetID() string

ID of the object.

func (DeployKey) IsNode

func (DeployKey) IsNode()

type DeployKeyConnection

type DeployKeyConnection struct {
	// A list of edges.
	Edges []*DeployKeyEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DeployKey `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeployKey.

type DeployKeyEdge

type DeployKeyEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DeployKey `json:"node,omitempty"`
}

An edge in a connection.

type DeployedEvent

type DeployedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The deployment associated with the 'deployed' event.
	Deployment *Deployment `json:"deployment"`
	// The Node ID of the DeployedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// The ref associated with the 'deployed' event.
	Ref *Ref `json:"ref,omitempty"`
}

Represents a 'deployed' event on a given pull request.

func (DeployedEvent) GetID

func (this DeployedEvent) GetID() string

ID of the object.

func (DeployedEvent) IsNode

func (DeployedEvent) IsNode()

func (DeployedEvent) IsPullRequestTimelineItem

func (DeployedEvent) IsPullRequestTimelineItem()

func (DeployedEvent) IsPullRequestTimelineItems

func (DeployedEvent) IsPullRequestTimelineItems()

type Deployment

type Deployment struct {
	// Identifies the commit sha of the deployment.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies the oid of the deployment commit, even if the commit has been deleted.
	CommitOid string `json:"commitOid"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the actor who triggered the deployment.
	Creator Actor `json:"creator"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The deployment description.
	Description *string `json:"description,omitempty"`
	// The latest environment to which this deployment was made.
	Environment *string `json:"environment,omitempty"`
	// The Node ID of the Deployment object
	ID string `json:"id"`
	// The latest environment to which this deployment was made.
	LatestEnvironment *string `json:"latestEnvironment,omitempty"`
	// The latest status of this deployment.
	LatestStatus *DeploymentStatus `json:"latestStatus,omitempty"`
	// The original environment to which this deployment was made.
	OriginalEnvironment *string `json:"originalEnvironment,omitempty"`
	// Extra information that a deployment system might need.
	Payload *string `json:"payload,omitempty"`
	// Identifies the Ref of the deployment, if the deployment was created by ref.
	Ref *Ref `json:"ref,omitempty"`
	// Identifies the repository associated with the deployment.
	Repository *Repository `json:"repository"`
	// The current state of the deployment.
	State *DeploymentState `json:"state,omitempty"`
	// A list of statuses associated with the deployment.
	Statuses *DeploymentStatusConnection `json:"statuses,omitempty"`
	// The deployment task.
	Task *string `json:"task,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

Represents triggered deployment instance.

func (Deployment) GetID

func (this Deployment) GetID() string

ID of the object.

func (Deployment) IsNode

func (Deployment) IsNode()

type DeploymentConnection

type DeploymentConnection struct {
	// A list of edges.
	Edges []*DeploymentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Deployment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Deployment.

type DeploymentEdge

type DeploymentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Deployment `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentEnvironmentChangedEvent

type DeploymentEnvironmentChangedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The deployment status that updated the deployment environment.
	DeploymentStatus *DeploymentStatus `json:"deploymentStatus"`
	// The Node ID of the DeploymentEnvironmentChangedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'deployment_environment_changed' event on a given pull request.

func (DeploymentEnvironmentChangedEvent) GetID

ID of the object.

func (DeploymentEnvironmentChangedEvent) IsNode

func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItem

func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItem()

func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItems

func (DeploymentEnvironmentChangedEvent) IsPullRequestTimelineItems()

type DeploymentOrder

type DeploymentOrder struct {
	// The field to order deployments by.
	Field DeploymentOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for deployment connections

type DeploymentOrderField

type DeploymentOrderField string

Properties by which deployment connections can be ordered.

const (
	// Order collection by creation time
	DeploymentOrderFieldCreatedAt DeploymentOrderField = "CREATED_AT"
)

func (DeploymentOrderField) IsValid

func (e DeploymentOrderField) IsValid() bool

func (DeploymentOrderField) MarshalGQL

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

func (DeploymentOrderField) String

func (e DeploymentOrderField) String() string

func (*DeploymentOrderField) UnmarshalGQL

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

type DeploymentProtectionRule

type DeploymentProtectionRule struct {
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Whether deployments to this environment can be approved by the user who created the deployment.
	PreventSelfReview *bool `json:"preventSelfReview,omitempty"`
	// The teams or users that can review the deployment
	Reviewers *DeploymentReviewerConnection `json:"reviewers"`
	// The timeout in minutes for this protection rule.
	Timeout int `json:"timeout"`
	// The type of protection rule.
	Type DeploymentProtectionRuleType `json:"type"`
}

A protection rule.

type DeploymentProtectionRuleConnection

type DeploymentProtectionRuleConnection struct {
	// A list of edges.
	Edges []*DeploymentProtectionRuleEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DeploymentProtectionRule `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeploymentProtectionRule.

type DeploymentProtectionRuleEdge

type DeploymentProtectionRuleEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DeploymentProtectionRule `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentProtectionRuleType

type DeploymentProtectionRuleType string

The possible protection rule types.

const (
	// Required reviewers
	DeploymentProtectionRuleTypeRequiredReviewers DeploymentProtectionRuleType = "REQUIRED_REVIEWERS"
	// Wait timer
	DeploymentProtectionRuleTypeWaitTimer DeploymentProtectionRuleType = "WAIT_TIMER"
)

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 DeploymentRequest

type DeploymentRequest struct {
	// Whether or not the current user can approve the deployment
	CurrentUserCanApprove bool `json:"currentUserCanApprove"`
	// The target environment of the deployment
	Environment *Environment `json:"environment"`
	// The teams or users that can review the deployment
	Reviewers *DeploymentReviewerConnection `json:"reviewers"`
	// The wait timer in minutes configured in the environment
	WaitTimer int `json:"waitTimer"`
	// The wait timer in minutes configured in the environment
	WaitTimerStartedAt *time.Time `json:"waitTimerStartedAt,omitempty"`
}

A request to deploy a workflow run to an environment.

type DeploymentRequestConnection

type DeploymentRequestConnection struct {
	// A list of edges.
	Edges []*DeploymentRequestEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DeploymentRequest `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeploymentRequest.

type DeploymentRequestEdge

type DeploymentRequestEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DeploymentRequest `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentReview

type DeploymentReview struct {
	// The comment the user left.
	Comment string `json:"comment"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The environments approved or rejected
	Environments *EnvironmentConnection `json:"environments"`
	// The Node ID of the DeploymentReview object
	ID string `json:"id"`
	// The decision of the user.
	State DeploymentReviewState `json:"state"`
	// The user that reviewed the deployment.
	User *User `json:"user"`
}

A deployment review.

func (DeploymentReview) GetID

func (this DeploymentReview) GetID() string

ID of the object.

func (DeploymentReview) IsNode

func (DeploymentReview) IsNode()

type DeploymentReviewConnection

type DeploymentReviewConnection struct {
	// A list of edges.
	Edges []*DeploymentReviewEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DeploymentReview `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeploymentReview.

type DeploymentReviewEdge

type DeploymentReviewEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DeploymentReview `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentReviewState

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 DeploymentReviewer

type DeploymentReviewer interface {
	IsDeploymentReviewer()
}

Users and teams.

type DeploymentReviewerConnection

type DeploymentReviewerConnection struct {
	// A list of edges.
	Edges []*DeploymentReviewerEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []DeploymentReviewer `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeploymentReviewer.

type DeploymentReviewerEdge

type DeploymentReviewerEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node DeploymentReviewer `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentState

type DeploymentState string

The possible states in which a deployment can be.

const (
	// The pending deployment was not updated after 30 minutes.
	DeploymentStateAbandoned DeploymentState = "ABANDONED"
	// The deployment is currently active.
	DeploymentStateActive DeploymentState = "ACTIVE"
	// An inactive transient deployment.
	DeploymentStateDestroyed DeploymentState = "DESTROYED"
	// The deployment experienced an error.
	DeploymentStateError DeploymentState = "ERROR"
	// The deployment has failed.
	DeploymentStateFailure DeploymentState = "FAILURE"
	// The deployment is inactive.
	DeploymentStateInactive DeploymentState = "INACTIVE"
	// The deployment is pending.
	DeploymentStatePending DeploymentState = "PENDING"
	// The deployment 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 DeploymentStatus

type DeploymentStatus struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the actor who triggered the deployment.
	Creator Actor `json:"creator"`
	// Identifies the deployment associated with status.
	Deployment *Deployment `json:"deployment"`
	// Identifies the description of the deployment.
	Description *string `json:"description,omitempty"`
	// Identifies the environment URL of the deployment.
	EnvironmentURL *string `json:"environmentUrl,omitempty"`
	// The Node ID of the DeploymentStatus object
	ID string `json:"id"`
	// Identifies the log URL of the deployment.
	LogURL *string `json:"logUrl,omitempty"`
	// Identifies the current state of the deployment.
	State DeploymentStatusState `json:"state"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

Describes the status of a given deployment attempt.

func (DeploymentStatus) GetID

func (this DeploymentStatus) GetID() string

ID of the object.

func (DeploymentStatus) IsNode

func (DeploymentStatus) IsNode()

type DeploymentStatusConnection

type DeploymentStatusConnection struct {
	// A list of edges.
	Edges []*DeploymentStatusEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DeploymentStatus `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DeploymentStatus.

type DeploymentStatusEdge

type DeploymentStatusEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DeploymentStatus `json:"node,omitempty"`
}

An edge in a connection.

type DeploymentStatusState

type DeploymentStatusState string

The possible states for a deployment status.

const (
	// The deployment is pending.
	DeploymentStatusStatePending DeploymentStatusState = "PENDING"
	// The deployment was successful.
	DeploymentStatusStateSuccess DeploymentStatusState = "SUCCESS"
	// The deployment has failed.
	DeploymentStatusStateFailure DeploymentStatusState = "FAILURE"
	// The deployment is inactive.
	DeploymentStatusStateInactive DeploymentStatusState = "INACTIVE"
	// The deployment experienced an error.
	DeploymentStatusStateError DeploymentStatusState = "ERROR"
	// The deployment is queued
	DeploymentStatusStateQueued DeploymentStatusState = "QUEUED"
	// The deployment is in progress.
	DeploymentStatusStateInProgress DeploymentStatusState = "IN_PROGRESS"
	// The deployment is waiting.
	DeploymentStatusStateWaiting DeploymentStatusState = "WAITING"
)

func (DeploymentStatusState) IsValid

func (e DeploymentStatusState) IsValid() bool

func (DeploymentStatusState) MarshalGQL

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

func (DeploymentStatusState) String

func (e DeploymentStatusState) String() string

func (*DeploymentStatusState) UnmarshalGQL

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

type DequeuePullRequestInput

type DequeuePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the pull request to be dequeued.
	ID string `json:"id"`
}

Autogenerated input type of DequeuePullRequest

type DequeuePullRequestPayload

type DequeuePullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The merge queue entry of the dequeued pull request.
	MergeQueueEntry *MergeQueueEntry `json:"mergeQueueEntry,omitempty"`
}

Autogenerated return type of DequeuePullRequest

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 DisablePullRequestAutoMergeInput

type DisablePullRequestAutoMergeInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to disable auto merge on.
	PullRequestID string `json:"pullRequestId"`
}

Autogenerated input type of DisablePullRequestAutoMerge

type DisablePullRequestAutoMergePayload

type DisablePullRequestAutoMergePayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request auto merge was disabled on.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of DisablePullRequestAutoMerge

type DisconnectedEvent

type DisconnectedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the DisconnectedEvent object
	ID string `json:"id"`
	// Reference originated in a different repository.
	IsCrossRepository bool `json:"isCrossRepository"`
	// Issue or pull request from which the issue was disconnected.
	Source ReferencedSubject `json:"source"`
	// Issue or pull request which was disconnected.
	Subject ReferencedSubject `json:"subject"`
}

Represents a 'disconnected' event on a given issue or pull request.

func (DisconnectedEvent) GetID

func (this DisconnectedEvent) GetID() string

ID of the object.

func (DisconnectedEvent) IsIssueTimelineItems

func (DisconnectedEvent) IsIssueTimelineItems()

func (DisconnectedEvent) IsNode

func (DisconnectedEvent) IsNode()

func (DisconnectedEvent) IsPullRequestTimelineItems

func (DisconnectedEvent) IsPullRequestTimelineItems()

type Discussion

type Discussion struct {
	// Reason that the conversation was locked.
	ActiveLockReason *LockReason `json:"activeLockReason,omitempty"`
	// The comment chosen as this discussion's answer, if any.
	Answer *DiscussionComment `json:"answer,omitempty"`
	// The time when a user chose this discussion's answer, if answered.
	AnswerChosenAt *time.Time `json:"answerChosenAt,omitempty"`
	// The user who chose this discussion's answer, if answered.
	AnswerChosenBy Actor `json:"answerChosenBy,omitempty"`
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The main text of the discussion post.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// The category for this discussion.
	Category *DiscussionCategory `json:"category"`
	// Indicates if the object is closed (definition of closed may depend on type)
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// The replies to the discussion.
	Comments *DiscussionCommentConnection `json:"comments"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the Discussion object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Only return answered/unanswered discussions
	IsAnswered *bool `json:"isAnswered,omitempty"`
	// A list of labels associated with the object.
	Labels *LabelConnection `json:"labels,omitempty"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// `true` if the object is locked
	Locked bool `json:"locked"`
	// The number identifying this discussion within the repository.
	Number int `json:"number"`
	// The poll associated with this discussion, if one exists.
	Poll *DiscussionPoll `json:"poll,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The path for this discussion.
	ResourcePath string `json:"resourcePath"`
	// Identifies the reason for the discussion's state.
	StateReason *DiscussionStateReason `json:"stateReason,omitempty"`
	// The title of this discussion.
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// Number of upvotes that this subject has received.
	UpvoteCount int `json:"upvoteCount"`
	// The URL for this discussion.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Whether or not the current user can add or remove an upvote on this subject.
	ViewerCanUpvote bool `json:"viewerCanUpvote"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
	// Whether or not the current user has already upvoted this subject.
	ViewerHasUpvoted bool `json:"viewerHasUpvoted"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
}

A discussion in a repository.

func (Discussion) GetActiveLockReason

func (this Discussion) GetActiveLockReason() *LockReason

Reason that the conversation was locked.

func (Discussion) GetAuthor

func (this Discussion) GetAuthor() Actor

The actor who authored the comment.

func (Discussion) GetAuthorAssociation

func (this Discussion) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (Discussion) GetBody

func (this Discussion) GetBody() string

The body as Markdown.

func (Discussion) GetBodyHTML

func (this Discussion) GetBodyHTML() string

The body rendered to HTML.

func (Discussion) GetBodyText

func (this Discussion) GetBodyText() string

The body rendered to text.

func (Discussion) GetClosed

func (this Discussion) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (Discussion) GetClosedAt

func (this Discussion) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (Discussion) GetCreatedAt

func (this Discussion) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (Discussion) GetCreatedViaEmail

func (this Discussion) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (Discussion) GetDatabaseID

func (this Discussion) GetDatabaseID() *int

Identifies the primary key from the database.

func (Discussion) GetEditor

func (this Discussion) GetEditor() Actor

The actor who edited the comment.

func (Discussion) GetID

func (this Discussion) GetID() string

The Node ID of the Comment object

func (Discussion) GetIncludesCreatedEdit

func (this Discussion) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (Discussion) GetLabels

func (this Discussion) GetLabels() *LabelConnection

A list of labels associated with the object.

func (Discussion) GetLastEditedAt

func (this Discussion) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (Discussion) GetLocked

func (this Discussion) GetLocked() bool

`true` if the object is locked

func (Discussion) GetPublishedAt

func (this Discussion) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (Discussion) GetReactionGroups

func (this Discussion) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (Discussion) GetReactions

func (this Discussion) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (Discussion) GetRepository

func (this Discussion) GetRepository() *Repository

The repository associated with this node.

func (Discussion) GetUpdatedAt

func (this Discussion) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (Discussion) GetUpvoteCount

func (this Discussion) GetUpvoteCount() int

Number of upvotes that this subject has received.

func (Discussion) GetUserContentEdits

func (this Discussion) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (Discussion) GetViewerCanClose

func (this Discussion) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (Discussion) GetViewerCanDelete

func (this Discussion) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (Discussion) GetViewerCanReact

func (this Discussion) GetViewerCanReact() bool

Can user react to this subject

func (Discussion) GetViewerCanReopen

func (this Discussion) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (Discussion) GetViewerCanSubscribe

func (this Discussion) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (Discussion) GetViewerCanUpdate

func (this Discussion) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (Discussion) GetViewerCanUpvote

func (this Discussion) GetViewerCanUpvote() bool

Whether or not the current user can add or remove an upvote on this subject.

func (Discussion) GetViewerDidAuthor

func (this Discussion) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (Discussion) GetViewerHasUpvoted

func (this Discussion) GetViewerHasUpvoted() bool

Whether or not the current user has already upvoted this subject.

func (Discussion) GetViewerSubscription

func (this Discussion) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (Discussion) IsClosable

func (Discussion) IsClosable()

func (Discussion) IsComment

func (Discussion) IsComment()

func (Discussion) IsDeletable

func (Discussion) IsDeletable()

func (Discussion) IsLabelable

func (Discussion) IsLabelable()

func (Discussion) IsLockable

func (Discussion) IsLockable()

func (Discussion) IsNode

func (Discussion) IsNode()

func (Discussion) IsReactable

func (Discussion) IsReactable()

func (Discussion) IsRepositoryNode

func (Discussion) IsRepositoryNode()

func (Discussion) IsSearchResultItem

func (Discussion) IsSearchResultItem()

func (Discussion) IsSubscribable

func (Discussion) IsSubscribable()

func (Discussion) IsUpdatable

func (Discussion) IsUpdatable()

func (Discussion) IsVotable

func (Discussion) IsVotable()

type DiscussionCategory

type DiscussionCategory struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// A description of this category.
	Description *string `json:"description,omitempty"`
	// An emoji representing this category.
	Emoji string `json:"emoji"`
	// This category's emoji rendered as HTML.
	EmojiHTML string `json:"emojiHTML"`
	// The Node ID of the DiscussionCategory object
	ID string `json:"id"`
	// Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.
	IsAnswerable bool `json:"isAnswerable"`
	// The name of this category.
	Name string `json:"name"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The slug of this category.
	Slug string `json:"slug"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A category for discussions in a repository.

func (DiscussionCategory) GetID

func (this DiscussionCategory) GetID() string

ID of the object.

func (DiscussionCategory) GetRepository

func (this DiscussionCategory) GetRepository() *Repository

The repository associated with this node.

func (DiscussionCategory) IsNode

func (DiscussionCategory) IsNode()

func (DiscussionCategory) IsRepositoryNode

func (DiscussionCategory) IsRepositoryNode()

type DiscussionCategoryConnection

type DiscussionCategoryConnection struct {
	// A list of edges.
	Edges []*DiscussionCategoryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DiscussionCategory `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DiscussionCategory.

type DiscussionCategoryEdge

type DiscussionCategoryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DiscussionCategory `json:"node,omitempty"`
}

An edge in a connection.

type 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 DiscussionComment

type DiscussionComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The body as Markdown.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The time when this replied-to comment was deleted
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The discussion this comment was created in
	Discussion *Discussion `json:"discussion,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the DiscussionComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Has this comment been chosen as the answer of its discussion?
	IsAnswer bool `json:"isAnswer"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The threaded replies to this comment.
	Replies *DiscussionCommentConnection `json:"replies"`
	// The discussion comment this comment is a reply to
	ReplyTo *DiscussionComment `json:"replyTo,omitempty"`
	// The path for this discussion comment.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// Number of upvotes that this subject has received.
	UpvoteCount int `json:"upvoteCount"`
	// The URL for this discussion comment.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Can the current user mark this comment as an answer?
	ViewerCanMarkAsAnswer bool `json:"viewerCanMarkAsAnswer"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Can the current user unmark this comment as an answer?
	ViewerCanUnmarkAsAnswer bool `json:"viewerCanUnmarkAsAnswer"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Whether or not the current user can add or remove an upvote on this subject.
	ViewerCanUpvote bool `json:"viewerCanUpvote"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
	// Whether or not the current user has already upvoted this subject.
	ViewerHasUpvoted bool `json:"viewerHasUpvoted"`
}

A comment on a discussion.

func (DiscussionComment) GetAuthor

func (this DiscussionComment) GetAuthor() Actor

The actor who authored the comment.

func (DiscussionComment) GetAuthorAssociation

func (this DiscussionComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (DiscussionComment) GetBody

func (this DiscussionComment) GetBody() string

The body as Markdown.

func (DiscussionComment) GetBodyHTML

func (this DiscussionComment) GetBodyHTML() string

The body rendered to HTML.

func (DiscussionComment) GetBodyText

func (this DiscussionComment) GetBodyText() string

The body rendered to text.

func (DiscussionComment) GetCreatedAt

func (this DiscussionComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (DiscussionComment) GetCreatedViaEmail

func (this DiscussionComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (DiscussionComment) GetDatabaseID

func (this DiscussionComment) GetDatabaseID() *int

Identifies the primary key from the database.

func (DiscussionComment) GetEditor

func (this DiscussionComment) GetEditor() Actor

The actor who edited the comment.

func (DiscussionComment) GetID

func (this DiscussionComment) GetID() string

The Node ID of the Comment object

func (DiscussionComment) GetIncludesCreatedEdit

func (this DiscussionComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (DiscussionComment) GetIsMinimized

func (this DiscussionComment) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (DiscussionComment) GetLastEditedAt

func (this DiscussionComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (DiscussionComment) GetMinimizedReason

func (this DiscussionComment) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (DiscussionComment) GetPublishedAt

func (this DiscussionComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (DiscussionComment) GetReactionGroups

func (this DiscussionComment) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (DiscussionComment) GetReactions

func (this DiscussionComment) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (DiscussionComment) GetUpdatedAt

func (this DiscussionComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (DiscussionComment) GetUpvoteCount

func (this DiscussionComment) GetUpvoteCount() int

Number of upvotes that this subject has received.

func (DiscussionComment) GetUserContentEdits

func (this DiscussionComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (DiscussionComment) GetViewerCanDelete

func (this DiscussionComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (DiscussionComment) GetViewerCanMinimize

func (this DiscussionComment) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (DiscussionComment) GetViewerCanReact

func (this DiscussionComment) GetViewerCanReact() bool

Can user react to this subject

func (DiscussionComment) GetViewerCanUpdate

func (this DiscussionComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (DiscussionComment) GetViewerCanUpvote

func (this DiscussionComment) GetViewerCanUpvote() bool

Whether or not the current user can add or remove an upvote on this subject.

func (DiscussionComment) GetViewerCannotUpdateReasons

func (this DiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (DiscussionComment) GetViewerDidAuthor

func (this DiscussionComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (DiscussionComment) GetViewerHasUpvoted

func (this DiscussionComment) GetViewerHasUpvoted() bool

Whether or not the current user has already upvoted this subject.

func (DiscussionComment) IsComment

func (DiscussionComment) IsComment()

func (DiscussionComment) IsDeletable

func (DiscussionComment) IsDeletable()

func (DiscussionComment) IsMinimizable

func (DiscussionComment) IsMinimizable()

func (DiscussionComment) IsNode

func (DiscussionComment) IsNode()

func (DiscussionComment) IsReactable

func (DiscussionComment) IsReactable()

func (DiscussionComment) IsUpdatable

func (DiscussionComment) IsUpdatable()

func (DiscussionComment) IsUpdatableComment

func (DiscussionComment) IsUpdatableComment()

func (DiscussionComment) IsVotable

func (DiscussionComment) IsVotable()

type DiscussionCommentConnection

type DiscussionCommentConnection struct {
	// A list of edges.
	Edges []*DiscussionCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DiscussionComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DiscussionComment.

type DiscussionCommentEdge

type DiscussionCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DiscussionComment `json:"node,omitempty"`
}

An edge in a connection.

type DiscussionConnection

type DiscussionConnection struct {
	// A list of edges.
	Edges []*DiscussionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Discussion `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Discussion.

type DiscussionEdge

type DiscussionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Discussion `json:"node,omitempty"`
}

An edge in a connection.

type DiscussionOrder

type DiscussionOrder struct {
	// The field by which to order discussions.
	Field DiscussionOrderField `json:"field"`
	// The direction in which to order discussions by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of discussions can be ordered upon return.

type DiscussionOrderField

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 DiscussionPoll

type DiscussionPoll struct {
	// The discussion that this poll belongs to.
	Discussion *Discussion `json:"discussion,omitempty"`
	// The Node ID of the DiscussionPoll object
	ID string `json:"id"`
	// The options for this poll.
	Options *DiscussionPollOptionConnection `json:"options,omitempty"`
	// The question that is being asked by this poll.
	Question string `json:"question"`
	// The total number of votes that have been cast for this poll.
	TotalVoteCount int `json:"totalVoteCount"`
	// Indicates if the viewer has permission to vote in this poll.
	ViewerCanVote bool `json:"viewerCanVote"`
	// Indicates if the viewer has voted for any option in this poll.
	ViewerHasVoted bool `json:"viewerHasVoted"`
}

A poll for a discussion.

func (DiscussionPoll) GetID

func (this DiscussionPoll) GetID() string

ID of the object.

func (DiscussionPoll) IsNode

func (DiscussionPoll) IsNode()

type DiscussionPollOption

type DiscussionPollOption struct {
	// The Node ID of the DiscussionPollOption object
	ID string `json:"id"`
	// The text for this option.
	Option string `json:"option"`
	// The discussion poll that this option belongs to.
	Poll *DiscussionPoll `json:"poll,omitempty"`
	// The total number of votes that have been cast for this option.
	TotalVoteCount int `json:"totalVoteCount"`
	// Indicates if the viewer has voted for this option in the poll.
	ViewerHasVoted bool `json:"viewerHasVoted"`
}

An option for a discussion poll.

func (DiscussionPollOption) GetID

func (this DiscussionPollOption) GetID() string

ID of the object.

func (DiscussionPollOption) IsNode

func (DiscussionPollOption) IsNode()

type DiscussionPollOptionConnection

type DiscussionPollOptionConnection struct {
	// A list of edges.
	Edges []*DiscussionPollOptionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*DiscussionPollOption `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for DiscussionPollOption.

type DiscussionPollOptionEdge

type DiscussionPollOptionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *DiscussionPollOption `json:"node,omitempty"`
}

An edge in a connection.

type DiscussionPollOptionOrder

type DiscussionPollOptionOrder struct {
	// The field to order poll options by.
	Field DiscussionPollOptionOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for discussion poll option connections.

type DiscussionPollOptionOrderField

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 DismissPullRequestReviewInput

type DismissPullRequestReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request review to modify.
	PullRequestReviewID string `json:"pullRequestReviewId"`
	// The contents of the pull request review dismissal message.
	Message string `json:"message"`
}

Autogenerated input type of DismissPullRequestReview

type DismissPullRequestReviewPayload

type DismissPullRequestReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The dismissed pull request review.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}

Autogenerated return type of DismissPullRequestReview

type DismissReason

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 DismissRepositoryVulnerabilityAlertInput

type DismissRepositoryVulnerabilityAlertInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Dependabot alert ID to dismiss.
	RepositoryVulnerabilityAlertID string `json:"repositoryVulnerabilityAlertId"`
	// The reason the Dependabot alert is being dismissed.
	DismissReason DismissReason `json:"dismissReason"`
}

Autogenerated input type of DismissRepositoryVulnerabilityAlert

type DismissRepositoryVulnerabilityAlertPayload

type DismissRepositoryVulnerabilityAlertPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Dependabot alert that was dismissed
	RepositoryVulnerabilityAlert *RepositoryVulnerabilityAlert `json:"repositoryVulnerabilityAlert,omitempty"`
}

Autogenerated return type of DismissRepositoryVulnerabilityAlert

type DraftIssue

type DraftIssue struct {
	// A list of users to assigned to this draft issue.
	Assignees *UserConnection `json:"assignees"`
	// The body of the draft issue.
	Body string `json:"body"`
	// The body of the draft issue rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body of the draft issue rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created this draft issue.
	Creator Actor `json:"creator,omitempty"`
	// The Node ID of the DraftIssue object
	ID string `json:"id"`
	// List of items linked with the draft issue (currently draft issue can be linked to only one item).
	ProjectV2Items *ProjectV2ItemConnection `json:"projectV2Items"`
	// Projects that link to this draft issue (currently draft issue can be linked to only one project).
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// The title of the draft issue
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A draft issue within a project.

func (DraftIssue) GetID

func (this DraftIssue) GetID() string

ID of the object.

func (DraftIssue) IsNode

func (DraftIssue) IsNode()

func (DraftIssue) IsProjectV2ItemContent

func (DraftIssue) IsProjectV2ItemContent()

type DraftPullRequestReviewComment

type DraftPullRequestReviewComment struct {
	// Path to the file being commented on.
	Path string `json:"path"`
	// Position in the file to leave a comment on.
	Position int `json:"position"`
	// Body of the comment to leave.
	Body string `json:"body"`
}

Specifies a review comment to be left with a Pull Request Review.

type DraftPullRequestReviewThread

type DraftPullRequestReviewThread struct {
	// Path to the file being commented on.
	Path string `json:"path"`
	// The line of the blob to which the thread refers. The end of the line range for multi-line comments.
	Line int `json:"line"`
	// The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.
	Side *DiffSide `json:"side,omitempty"`
	// The first line of the range to which the comment refers.
	StartLine *int `json:"startLine,omitempty"`
	// The side of the diff on which the start line resides.
	StartSide *DiffSide `json:"startSide,omitempty"`
	// Body of the comment to leave.
	Body string `json:"body"`
}

Specifies a review comment thread to be left with a Pull Request Review.

type EnablePullRequestAutoMergeInput

type EnablePullRequestAutoMergeInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to enable auto-merge on.
	PullRequestID string `json:"pullRequestId"`
	// Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored.
	CommitHeadline *string `json:"commitHeadline,omitempty"`
	// Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored.
	CommitBody *string `json:"commitBody,omitempty"`
	// The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored.
	MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"`
	// The email address to associate with this merge.
	AuthorEmail *string `json:"authorEmail,omitempty"`
	// The expected head OID of the pull request.
	ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"`
}

Autogenerated input type of EnablePullRequestAutoMerge

type EnablePullRequestAutoMergePayload

type EnablePullRequestAutoMergePayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request auto-merge was enabled on.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of EnablePullRequestAutoMerge

type EnqueuePullRequestInput

type EnqueuePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the pull request to enqueue.
	PullRequestID string `json:"pullRequestId"`
	// Add the pull request to the front of the queue.
	Jump *bool `json:"jump,omitempty"`
	// The expected head OID of the pull request.
	ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"`
}

Autogenerated input type of EnqueuePullRequest

type EnqueuePullRequestPayload

type EnqueuePullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The merge queue entry for the enqueued pull request.
	MergeQueueEntry *MergeQueueEntry `json:"mergeQueueEntry,omitempty"`
}

Autogenerated return type of EnqueuePullRequest

type Enterprise

type Enterprise struct {
	// The text of the announcement
	Announcement *string `json:"announcement,omitempty"`
	// The expiration date of the announcement, if any
	AnnouncementExpiresAt *time.Time `json:"announcementExpiresAt,omitempty"`
	// Whether the announcement can be dismissed by the user
	AnnouncementUserDismissible *bool `json:"announcementUserDismissible,omitempty"`
	// A URL pointing to the enterprise's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// The enterprise's billing email.
	BillingEmail *string `json:"billingEmail,omitempty"`
	// Enterprise billing information visible to enterprise billing managers.
	BillingInfo *EnterpriseBillingInfo `json:"billingInfo,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The description of the enterprise.
	Description *string `json:"description,omitempty"`
	// The description of the enterprise as HTML.
	DescriptionHTML string `json:"descriptionHTML"`
	// The Node ID of the Enterprise object
	ID string `json:"id"`
	// The location of the enterprise.
	Location *string `json:"location,omitempty"`
	// A list of users who are members of this enterprise.
	Members *EnterpriseMemberConnection `json:"members"`
	// The name of the enterprise.
	Name string `json:"name"`
	// A list of organizations that belong to this enterprise.
	Organizations *OrganizationConnection `json:"organizations"`
	// Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.
	OwnerInfo *EnterpriseOwnerInfo `json:"ownerInfo,omitempty"`
	// The HTTP path for this enterprise.
	ResourcePath string `json:"resourcePath"`
	// The URL-friendly identifier for the enterprise.
	Slug string `json:"slug"`
	// The HTTP URL for this enterprise.
	URL string `json:"url"`
	// Is the current viewer an admin of this enterprise?
	ViewerIsAdmin bool `json:"viewerIsAdmin"`
	// The URL of the enterprise website.
	WebsiteURL *string `json:"websiteUrl,omitempty"`
}

An account to manage multiple organizations with consolidated policy and billing.

func (Enterprise) GetAnnouncement

func (this Enterprise) GetAnnouncement() *string

The text of the announcement

func (Enterprise) GetAnnouncementExpiresAt

func (this Enterprise) GetAnnouncementExpiresAt() *time.Time

The expiration date of the announcement, if any

func (Enterprise) GetAnnouncementUserDismissible

func (this Enterprise) GetAnnouncementUserDismissible() *bool

Whether the announcement can be dismissed by the user

func (Enterprise) GetID

func (this Enterprise) GetID() string

ID of the object.

func (Enterprise) IsAnnouncementBanner

func (Enterprise) IsAnnouncementBanner()

func (Enterprise) IsIPAllowListOwner

func (Enterprise) IsIPAllowListOwner()

func (Enterprise) IsNode

func (Enterprise) IsNode()

func (Enterprise) IsVerifiableDomainOwner

func (Enterprise) IsVerifiableDomainOwner()

type EnterpriseAdministratorConnection

type EnterpriseAdministratorConnection struct {
	// A list of edges.
	Edges []*EnterpriseAdministratorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type EnterpriseAdministratorEdge

type EnterpriseAdministratorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *User `json:"node,omitempty"`
	// The role of the administrator.
	Role EnterpriseAdministratorRole `json:"role"`
}

A User who is an administrator of an enterprise.

type EnterpriseAdministratorInvitation

type EnterpriseAdministratorInvitation struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The email of the person who was invited to the enterprise.
	Email *string `json:"email,omitempty"`
	// The enterprise the invitation is for.
	Enterprise *Enterprise `json:"enterprise"`
	// The Node ID of the EnterpriseAdministratorInvitation object
	ID string `json:"id"`
	// The user who was invited to the enterprise.
	Invitee *User `json:"invitee,omitempty"`
	// The user who created the invitation.
	Inviter *User `json:"inviter,omitempty"`
	// The invitee's pending role in the enterprise (owner or billing_manager).
	Role EnterpriseAdministratorRole `json:"role"`
}

An invitation for a user to become an owner or billing manager of an enterprise.

func (EnterpriseAdministratorInvitation) GetID

ID of the object.

func (EnterpriseAdministratorInvitation) IsNode

type EnterpriseAdministratorInvitationConnection

type EnterpriseAdministratorInvitationConnection struct {
	// A list of edges.
	Edges []*EnterpriseAdministratorInvitationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseAdministratorInvitation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseAdministratorInvitation.

type EnterpriseAdministratorInvitationEdge

type EnterpriseAdministratorInvitationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseAdministratorInvitation `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseAdministratorInvitationOrder

type EnterpriseAdministratorInvitationOrder struct {
	// The field to order enterprise administrator invitations by.
	Field EnterpriseAdministratorInvitationOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for enterprise administrator invitation connections

type EnterpriseAdministratorInvitationOrderField

type EnterpriseAdministratorInvitationOrderField string

Properties by which enterprise administrator invitation connections can be ordered.

const (
	// Order enterprise administrator member invitations by creation time
	EnterpriseAdministratorInvitationOrderFieldCreatedAt EnterpriseAdministratorInvitationOrderField = "CREATED_AT"
)

func (EnterpriseAdministratorInvitationOrderField) IsValid

func (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 EnterpriseAuditEntryData

type EnterpriseAuditEntryData interface {
	IsEnterpriseAuditEntryData()
	// The HTTP path for this enterprise.
	GetEnterpriseResourcePath() *string
	// The slug of the enterprise.
	GetEnterpriseSlug() *string
	// The HTTP URL for this enterprise.
	GetEnterpriseURL() *string
}

Metadata for an audit entry containing enterprise account information.

type EnterpriseBillingInfo

type EnterpriseBillingInfo struct {
	// The number of licenseable users/emails across the enterprise.
	AllLicensableUsersCount int `json:"allLicensableUsersCount"`
	// The number of data packs used by all organizations owned by the enterprise.
	AssetPacks int `json:"assetPacks"`
	// The bandwidth quota in GB for all organizations owned by the enterprise.
	BandwidthQuota float64 `json:"bandwidthQuota"`
	// The bandwidth usage in GB for all organizations owned by the enterprise.
	BandwidthUsage float64 `json:"bandwidthUsage"`
	// The bandwidth usage as a percentage of the bandwidth quota.
	BandwidthUsagePercentage int `json:"bandwidthUsagePercentage"`
	// The storage quota in GB for all organizations owned by the enterprise.
	StorageQuota float64 `json:"storageQuota"`
	// The storage usage in GB for all organizations owned by the enterprise.
	StorageUsage float64 `json:"storageUsage"`
	// The storage usage as a percentage of the storage quota.
	StorageUsagePercentage int `json:"storageUsagePercentage"`
	// The number of available licenses across all owned organizations based on the unique number of billable users.
	TotalAvailableLicenses int `json:"totalAvailableLicenses"`
	// The total number of licenses allocated.
	TotalLicenses int `json:"totalLicenses"`
}

Enterprise billing information visible to enterprise billing managers and owners.

type EnterpriseConnection

type EnterpriseConnection struct {
	// A list of edges.
	Edges []*EnterpriseEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Enterprise `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Enterprise.

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 EnterpriseEdge

type EnterpriseEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Enterprise `json:"node,omitempty"`
}

An edge in a connection.

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 EnterpriseFailedInvitationConnection

type EnterpriseFailedInvitationConnection struct {
	// A list of edges.
	Edges []*EnterpriseFailedInvitationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*OrganizationInvitation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// Identifies the total count of unique users in the connection.
	TotalUniqueUserCount int `json:"totalUniqueUserCount"`
}

The connection type for OrganizationInvitation.

type EnterpriseFailedInvitationEdge

type EnterpriseFailedInvitationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *OrganizationInvitation `json:"node,omitempty"`
}

A failed invitation to be a member in an enterprise organization.

type EnterpriseIdentityProvider

type EnterpriseIdentityProvider struct {
	// The digest algorithm used to sign SAML requests for the identity provider.
	DigestMethod *SamlDigestAlgorithm `json:"digestMethod,omitempty"`
	// The enterprise this identity provider belongs to.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// ExternalIdentities provisioned by this identity provider.
	ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities"`
	// The Node ID of the EnterpriseIdentityProvider object
	ID string `json:"id"`
	// The x509 certificate used by the identity provider to sign assertions and responses.
	IdpCertificate *string `json:"idpCertificate,omitempty"`
	// The Issuer Entity ID for the SAML identity provider.
	Issuer *string `json:"issuer,omitempty"`
	// Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.
	RecoveryCodes []string `json:"recoveryCodes,omitempty"`
	// The signature algorithm used to sign SAML requests for the identity provider.
	SignatureMethod *SamlSignatureAlgorithm `json:"signatureMethod,omitempty"`
	// The URL endpoint for the identity provider's SAML SSO.
	SsoURL *string `json:"ssoUrl,omitempty"`
}

An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

func (EnterpriseIdentityProvider) GetID

func (this EnterpriseIdentityProvider) GetID() string

ID of the object.

func (EnterpriseIdentityProvider) IsNode

func (EnterpriseIdentityProvider) IsNode()

type EnterpriseMember

type EnterpriseMember interface {
	IsEnterpriseMember()
}

An object that is a member of an enterprise.

type EnterpriseMemberConnection

type EnterpriseMemberConnection struct {
	// A list of edges.
	Edges []*EnterpriseMemberEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []EnterpriseMember `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseMember.

type EnterpriseMemberEdge

type EnterpriseMemberEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node EnterpriseMember `json:"node,omitempty"`
}

A User who is a member of an enterprise through one or more organizations.

type EnterpriseMemberOrder

type EnterpriseMemberOrder struct {
	// The field to order enterprise members by.
	Field EnterpriseMemberOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for enterprise member connections.

type EnterpriseMemberOrderField

type EnterpriseMemberOrderField string

Properties by which enterprise member connections can be ordered.

const (
	// Order enterprise members by login
	EnterpriseMemberOrderFieldLogin EnterpriseMemberOrderField = "LOGIN"
	// Order enterprise members by creation time
	EnterpriseMemberOrderFieldCreatedAt EnterpriseMemberOrderField = "CREATED_AT"
)

func (EnterpriseMemberOrderField) IsValid

func (e EnterpriseMemberOrderField) IsValid() bool

func (EnterpriseMemberOrderField) MarshalGQL

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

func (EnterpriseMemberOrderField) String

func (*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 EnterpriseOrder

type EnterpriseOrder struct {
	// The field to order enterprises by.
	Field EnterpriseOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for enterprises.

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 EnterpriseOrganizationMembershipConnection

type EnterpriseOrganizationMembershipConnection struct {
	// A list of edges.
	Edges []*EnterpriseOrganizationMembershipEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Organization `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Organization.

type EnterpriseOrganizationMembershipEdge

type EnterpriseOrganizationMembershipEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Organization `json:"node,omitempty"`
	// The role of the user in the enterprise membership.
	Role EnterpriseUserAccountMembershipRole `json:"role"`
}

An enterprise organization that a user is a member of.

type EnterpriseOutsideCollaboratorConnection

type EnterpriseOutsideCollaboratorConnection struct {
	// A list of edges.
	Edges []*EnterpriseOutsideCollaboratorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type EnterpriseOutsideCollaboratorEdge

type EnterpriseOutsideCollaboratorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *User `json:"node,omitempty"`
	// The enterprise organization repositories this user is a member of.
	Repositories *EnterpriseRepositoryInfoConnection `json:"repositories"`
}

A User who is an outside collaborator of an enterprise through one or more organizations.

type EnterpriseOwnerInfo

type EnterpriseOwnerInfo struct {
	// A list of all of the administrators for this enterprise.
	Admins *EnterpriseAdministratorConnection `json:"admins"`
	// A list of users in the enterprise who currently have two-factor authentication disabled.
	AffiliatedUsersWithTwoFactorDisabled *UserConnection `json:"affiliatedUsersWithTwoFactorDisabled"`
	// Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.
	AffiliatedUsersWithTwoFactorDisabledExist bool `json:"affiliatedUsersWithTwoFactorDisabledExist"`
	// The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.
	AllowPrivateRepositoryForkingSetting EnterpriseEnabledDisabledSettingValue `json:"allowPrivateRepositoryForkingSetting"`
	// A list of enterprise organizations configured with the provided private repository forking setting value.
	AllowPrivateRepositoryForkingSettingOrganizations *OrganizationConnection `json:"allowPrivateRepositoryForkingSettingOrganizations"`
	// The value for the allow private repository forking policy on the enterprise.
	AllowPrivateRepositoryForkingSettingPolicyValue *EnterpriseAllowPrivateRepositoryForkingPolicyValue `json:"allowPrivateRepositoryForkingSettingPolicyValue,omitempty"`
	// The setting value for base repository permissions for organizations in this enterprise.
	DefaultRepositoryPermissionSetting EnterpriseDefaultRepositoryPermissionSettingValue `json:"defaultRepositoryPermissionSetting"`
	// A list of enterprise organizations configured with the provided base repository permission.
	DefaultRepositoryPermissionSettingOrganizations *OrganizationConnection `json:"defaultRepositoryPermissionSettingOrganizations"`
	// A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.
	Domains *VerifiableDomainConnection `json:"domains"`
	// Enterprise Server installations owned by the enterprise.
	EnterpriseServerInstallations *EnterpriseServerInstallationConnection `json:"enterpriseServerInstallations"`
	// A list of failed invitations in the enterprise.
	FailedInvitations *EnterpriseFailedInvitationConnection `json:"failedInvitations"`
	// The setting value for whether the enterprise has an IP allow list enabled.
	IPAllowListEnabledSetting IPAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting"`
	// The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.
	IPAllowListEntries *IPAllowListEntryConnection `json:"ipAllowListEntries"`
	// The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled.
	IPAllowListForInstalledAppsEnabledSetting IPAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting"`
	// Whether or not the base repository permission is currently being updated.
	IsUpdatingDefaultRepositoryPermission bool `json:"isUpdatingDefaultRepositoryPermission"`
	// Whether the two-factor authentication requirement is currently being enforced.
	IsUpdatingTwoFactorRequirement bool `json:"isUpdatingTwoFactorRequirement"`
	// The setting value for whether organization members with admin permissions on a repository can change repository visibility.
	MembersCanChangeRepositoryVisibilitySetting EnterpriseEnabledDisabledSettingValue `json:"membersCanChangeRepositoryVisibilitySetting"`
	// A list of enterprise organizations configured with the provided can change repository visibility setting value.
	MembersCanChangeRepositoryVisibilitySettingOrganizations *OrganizationConnection `json:"membersCanChangeRepositoryVisibilitySettingOrganizations"`
	// The setting value for whether members of organizations in the enterprise can create internal repositories.
	MembersCanCreateInternalRepositoriesSetting *bool `json:"membersCanCreateInternalRepositoriesSetting,omitempty"`
	// The setting value for whether members of organizations in the enterprise can create private repositories.
	MembersCanCreatePrivateRepositoriesSetting *bool `json:"membersCanCreatePrivateRepositoriesSetting,omitempty"`
	// The setting value for whether members of organizations in the enterprise can create public repositories.
	MembersCanCreatePublicRepositoriesSetting *bool `json:"membersCanCreatePublicRepositoriesSetting,omitempty"`
	// The setting value for whether members of organizations in the enterprise can create repositories.
	MembersCanCreateRepositoriesSetting *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"membersCanCreateRepositoriesSetting,omitempty"`
	// A list of enterprise organizations configured with the provided repository creation setting value.
	MembersCanCreateRepositoriesSettingOrganizations *OrganizationConnection `json:"membersCanCreateRepositoriesSettingOrganizations"`
	// The setting value for whether members with admin permissions for repositories can delete issues.
	MembersCanDeleteIssuesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteIssuesSetting"`
	// A list of enterprise organizations configured with the provided members can delete issues setting value.
	MembersCanDeleteIssuesSettingOrganizations *OrganizationConnection `json:"membersCanDeleteIssuesSettingOrganizations"`
	// The setting value for whether members with admin permissions for repositories can delete or transfer repositories.
	MembersCanDeleteRepositoriesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanDeleteRepositoriesSetting"`
	// A list of enterprise organizations configured with the provided members can delete repositories setting value.
	MembersCanDeleteRepositoriesSettingOrganizations *OrganizationConnection `json:"membersCanDeleteRepositoriesSettingOrganizations"`
	// The setting value for whether members of organizations in the enterprise can invite outside collaborators.
	MembersCanInviteCollaboratorsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanInviteCollaboratorsSetting"`
	// A list of enterprise organizations configured with the provided members can invite collaborators setting value.
	MembersCanInviteCollaboratorsSettingOrganizations *OrganizationConnection `json:"membersCanInviteCollaboratorsSettingOrganizations"`
	// Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.
	MembersCanMakePurchasesSetting EnterpriseMembersCanMakePurchasesSettingValue `json:"membersCanMakePurchasesSetting"`
	// The setting value for whether members with admin permissions for repositories can update protected branches.
	MembersCanUpdateProtectedBranchesSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanUpdateProtectedBranchesSetting"`
	// A list of enterprise organizations configured with the provided members can update protected branches setting value.
	MembersCanUpdateProtectedBranchesSettingOrganizations *OrganizationConnection `json:"membersCanUpdateProtectedBranchesSettingOrganizations"`
	// The setting value for whether members can view dependency insights.
	MembersCanViewDependencyInsightsSetting EnterpriseEnabledDisabledSettingValue `json:"membersCanViewDependencyInsightsSetting"`
	// A list of enterprise organizations configured with the provided members can view dependency insights setting value.
	MembersCanViewDependencyInsightsSettingOrganizations *OrganizationConnection `json:"membersCanViewDependencyInsightsSettingOrganizations"`
	// Indicates if email notification delivery for this enterprise is restricted to verified or approved domains.
	NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting"`
	// The OIDC Identity Provider for the enterprise.
	OidcProvider *OIDCProvider `json:"oidcProvider,omitempty"`
	// The setting value for whether organization projects are enabled for organizations in this enterprise.
	OrganizationProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"organizationProjectsSetting"`
	// A list of enterprise organizations configured with the provided organization projects setting value.
	OrganizationProjectsSettingOrganizations *OrganizationConnection `json:"organizationProjectsSettingOrganizations"`
	// A list of outside collaborators across the repositories in the enterprise.
	OutsideCollaborators *EnterpriseOutsideCollaboratorConnection `json:"outsideCollaborators"`
	// A list of pending administrator invitations for the enterprise.
	PendingAdminInvitations *EnterpriseAdministratorInvitationConnection `json:"pendingAdminInvitations"`
	// A list of pending collaborator invitations across the repositories in the enterprise.
	PendingCollaboratorInvitations *RepositoryInvitationConnection `json:"pendingCollaboratorInvitations"`
	// A list of pending member invitations for organizations in the enterprise.
	PendingMemberInvitations *EnterprisePendingMemberInvitationConnection `json:"pendingMemberInvitations"`
	// The setting value for whether repository projects are enabled in this enterprise.
	RepositoryProjectsSetting EnterpriseEnabledDisabledSettingValue `json:"repositoryProjectsSetting"`
	// A list of enterprise organizations configured with the provided repository projects setting value.
	RepositoryProjectsSettingOrganizations *OrganizationConnection `json:"repositoryProjectsSettingOrganizations"`
	// The SAML Identity Provider for the enterprise.
	SamlIdentityProvider *EnterpriseIdentityProvider `json:"samlIdentityProvider,omitempty"`
	// A list of enterprise organizations configured with the SAML single sign-on setting value.
	SamlIdentityProviderSettingOrganizations *OrganizationConnection `json:"samlIdentityProviderSettingOrganizations"`
	// A list of members with a support entitlement.
	SupportEntitlements *EnterpriseMemberConnection `json:"supportEntitlements"`
	// The setting value for whether team discussions are enabled for organizations in this enterprise.
	TeamDiscussionsSetting EnterpriseEnabledDisabledSettingValue `json:"teamDiscussionsSetting"`
	// A list of enterprise organizations configured with the provided team discussions setting value.
	TeamDiscussionsSettingOrganizations *OrganizationConnection `json:"teamDiscussionsSettingOrganizations"`
	// The setting value for whether the enterprise requires two-factor authentication for its organizations and users.
	TwoFactorRequiredSetting EnterpriseEnabledSettingValue `json:"twoFactorRequiredSetting"`
	// A list of enterprise organizations configured with the two-factor authentication setting value.
	TwoFactorRequiredSettingOrganizations *OrganizationConnection `json:"twoFactorRequiredSettingOrganizations"`
}

Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

type EnterprisePendingMemberInvitationConnection

type EnterprisePendingMemberInvitationConnection struct {
	// A list of edges.
	Edges []*EnterprisePendingMemberInvitationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*OrganizationInvitation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// Identifies the total count of unique users in the connection.
	TotalUniqueUserCount int `json:"totalUniqueUserCount"`
}

The connection type for OrganizationInvitation.

type EnterprisePendingMemberInvitationEdge

type EnterprisePendingMemberInvitationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *OrganizationInvitation `json:"node,omitempty"`
}

An invitation to be a member in an enterprise organization.

type EnterpriseRepositoryInfo

type EnterpriseRepositoryInfo struct {
	// The Node ID of the EnterpriseRepositoryInfo object
	ID string `json:"id"`
	// Identifies if the repository is private or internal.
	IsPrivate bool `json:"isPrivate"`
	// The repository's name.
	Name string `json:"name"`
	// The repository's name with owner.
	NameWithOwner string `json:"nameWithOwner"`
}

A subset of repository information queryable from an enterprise.

func (EnterpriseRepositoryInfo) GetID

func (this EnterpriseRepositoryInfo) GetID() string

ID of the object.

func (EnterpriseRepositoryInfo) IsNode

func (EnterpriseRepositoryInfo) IsNode()

type EnterpriseRepositoryInfoConnection

type EnterpriseRepositoryInfoConnection struct {
	// A list of edges.
	Edges []*EnterpriseRepositoryInfoEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseRepositoryInfo `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseRepositoryInfo.

type EnterpriseRepositoryInfoEdge

type EnterpriseRepositoryInfoEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseRepositoryInfo `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseServerInstallation

type EnterpriseServerInstallation struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The customer name to which the Enterprise Server installation belongs.
	CustomerName string `json:"customerName"`
	// The host name of the Enterprise Server installation.
	HostName string `json:"hostName"`
	// The Node ID of the EnterpriseServerInstallation object
	ID string `json:"id"`
	// Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.
	IsConnected bool `json:"isConnected"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// User accounts on this Enterprise Server installation.
	UserAccounts *EnterpriseServerUserAccountConnection `json:"userAccounts"`
	// User accounts uploads for the Enterprise Server installation.
	UserAccountsUploads *EnterpriseServerUserAccountsUploadConnection `json:"userAccountsUploads"`
}

An Enterprise Server installation.

func (EnterpriseServerInstallation) GetID

func (this EnterpriseServerInstallation) GetID() string

ID of the object.

func (EnterpriseServerInstallation) IsNode

type EnterpriseServerInstallationConnection

type EnterpriseServerInstallationConnection struct {
	// A list of edges.
	Edges []*EnterpriseServerInstallationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseServerInstallation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseServerInstallation.

type EnterpriseServerInstallationEdge

type EnterpriseServerInstallationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseServerInstallation `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseServerInstallationMembershipConnection

type EnterpriseServerInstallationMembershipConnection struct {
	// A list of edges.
	Edges []*EnterpriseServerInstallationMembershipEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseServerInstallation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseServerInstallation.

type EnterpriseServerInstallationMembershipEdge

type EnterpriseServerInstallationMembershipEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseServerInstallation `json:"node,omitempty"`
	// The role of the user in the enterprise membership.
	Role EnterpriseUserAccountMembershipRole `json:"role"`
}

An Enterprise Server installation that a user is a member of.

type EnterpriseServerInstallationOrder

type EnterpriseServerInstallationOrder struct {
	// The field to order Enterprise Server installations by.
	Field EnterpriseServerInstallationOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for Enterprise Server installation connections.

type EnterpriseServerInstallationOrderField

type EnterpriseServerInstallationOrderField string

Properties by which Enterprise Server installation connections can be ordered.

const (
	// Order Enterprise Server installations by host name
	EnterpriseServerInstallationOrderFieldHostName EnterpriseServerInstallationOrderField = "HOST_NAME"
	// Order Enterprise Server installations by customer name
	EnterpriseServerInstallationOrderFieldCustomerName EnterpriseServerInstallationOrderField = "CUSTOMER_NAME"
	// Order Enterprise Server installations by creation time
	EnterpriseServerInstallationOrderFieldCreatedAt EnterpriseServerInstallationOrderField = "CREATED_AT"
)

func (EnterpriseServerInstallationOrderField) IsValid

func (EnterpriseServerInstallationOrderField) MarshalGQL

func (EnterpriseServerInstallationOrderField) String

func (*EnterpriseServerInstallationOrderField) UnmarshalGQL

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

type EnterpriseServerUserAccount

type EnterpriseServerUserAccount struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// User emails belonging to this user account.
	Emails *EnterpriseServerUserAccountEmailConnection `json:"emails"`
	// The Enterprise Server installation on which this user account exists.
	EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation"`
	// The Node ID of the EnterpriseServerUserAccount object
	ID string `json:"id"`
	// Whether the user account is a site administrator on the Enterprise Server installation.
	IsSiteAdmin bool `json:"isSiteAdmin"`
	// The login of the user account on the Enterprise Server installation.
	Login string `json:"login"`
	// The profile name of the user account on the Enterprise Server installation.
	ProfileName *string `json:"profileName,omitempty"`
	// The date and time when the user account was created on the Enterprise Server installation.
	RemoteCreatedAt time.Time `json:"remoteCreatedAt"`
	// The ID of the user account on the Enterprise Server installation.
	RemoteUserID int `json:"remoteUserId"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A user account on an Enterprise Server installation.

func (EnterpriseServerUserAccount) GetID

func (this EnterpriseServerUserAccount) GetID() string

ID of the object.

func (EnterpriseServerUserAccount) IsNode

func (EnterpriseServerUserAccount) IsNode()

type EnterpriseServerUserAccountConnection

type EnterpriseServerUserAccountConnection struct {
	// A list of edges.
	Edges []*EnterpriseServerUserAccountEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseServerUserAccount `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseServerUserAccount.

type EnterpriseServerUserAccountEdge

type EnterpriseServerUserAccountEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseServerUserAccount `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseServerUserAccountEmail

type EnterpriseServerUserAccountEmail struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The email address.
	Email string `json:"email"`
	// The Node ID of the EnterpriseServerUserAccountEmail object
	ID string `json:"id"`
	// Indicates whether this is the primary email of the associated user account.
	IsPrimary bool `json:"isPrimary"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The user account to which the email belongs.
	UserAccount *EnterpriseServerUserAccount `json:"userAccount"`
}

An email belonging to a user account on an Enterprise Server installation.

func (EnterpriseServerUserAccountEmail) GetID

ID of the object.

func (EnterpriseServerUserAccountEmail) IsNode

type EnterpriseServerUserAccountEmailConnection

type EnterpriseServerUserAccountEmailConnection struct {
	// A list of edges.
	Edges []*EnterpriseServerUserAccountEmailEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseServerUserAccountEmail `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseServerUserAccountEmail.

type EnterpriseServerUserAccountEmailEdge

type EnterpriseServerUserAccountEmailEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseServerUserAccountEmail `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseServerUserAccountEmailOrder

type EnterpriseServerUserAccountEmailOrder struct {
	// The field to order emails by.
	Field EnterpriseServerUserAccountEmailOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for Enterprise Server user account email connections.

type EnterpriseServerUserAccountEmailOrderField

type EnterpriseServerUserAccountEmailOrderField string

Properties by which Enterprise Server user account email connections can be ordered.

const (
	// Order emails by email
	EnterpriseServerUserAccountEmailOrderFieldEmail EnterpriseServerUserAccountEmailOrderField = "EMAIL"
)

func (EnterpriseServerUserAccountEmailOrderField) IsValid

func (EnterpriseServerUserAccountEmailOrderField) MarshalGQL

func (EnterpriseServerUserAccountEmailOrderField) String

func (*EnterpriseServerUserAccountEmailOrderField) UnmarshalGQL

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

type EnterpriseServerUserAccountOrder

type EnterpriseServerUserAccountOrder struct {
	// The field to order user accounts by.
	Field EnterpriseServerUserAccountOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for Enterprise Server user account connections.

type EnterpriseServerUserAccountOrderField

type EnterpriseServerUserAccountOrderField string

Properties by which Enterprise Server user account connections can be ordered.

const (
	// Order user accounts by login
	EnterpriseServerUserAccountOrderFieldLogin EnterpriseServerUserAccountOrderField = "LOGIN"
	// Order user accounts by creation time on the Enterprise Server installation
	EnterpriseServerUserAccountOrderFieldRemoteCreatedAt EnterpriseServerUserAccountOrderField = "REMOTE_CREATED_AT"
)

func (EnterpriseServerUserAccountOrderField) IsValid

func (EnterpriseServerUserAccountOrderField) MarshalGQL

func (EnterpriseServerUserAccountOrderField) String

func (*EnterpriseServerUserAccountOrderField) UnmarshalGQL

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

type EnterpriseServerUserAccountsUpload

type EnterpriseServerUserAccountsUpload struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The enterprise to which this upload belongs.
	Enterprise *Enterprise `json:"enterprise"`
	// The Enterprise Server installation for which this upload was generated.
	EnterpriseServerInstallation *EnterpriseServerInstallation `json:"enterpriseServerInstallation"`
	// The Node ID of the EnterpriseServerUserAccountsUpload object
	ID string `json:"id"`
	// The name of the file uploaded.
	Name string `json:"name"`
	// The synchronization state of the upload
	SyncState EnterpriseServerUserAccountsUploadSyncState `json:"syncState"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A user accounts upload from an Enterprise Server installation.

func (EnterpriseServerUserAccountsUpload) GetID

ID of the object.

func (EnterpriseServerUserAccountsUpload) IsNode

type EnterpriseServerUserAccountsUploadConnection

type EnterpriseServerUserAccountsUploadConnection struct {
	// A list of edges.
	Edges []*EnterpriseServerUserAccountsUploadEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*EnterpriseServerUserAccountsUpload `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for EnterpriseServerUserAccountsUpload.

type EnterpriseServerUserAccountsUploadEdge

type EnterpriseServerUserAccountsUploadEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *EnterpriseServerUserAccountsUpload `json:"node,omitempty"`
}

An edge in a connection.

type EnterpriseServerUserAccountsUploadOrder

type EnterpriseServerUserAccountsUploadOrder struct {
	// The field to order user accounts uploads by.
	Field EnterpriseServerUserAccountsUploadOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for Enterprise Server user accounts upload connections.

type EnterpriseServerUserAccountsUploadOrderField

type EnterpriseServerUserAccountsUploadOrderField string

Properties by which Enterprise Server user accounts upload connections can be ordered.

const (
	// Order user accounts uploads by creation time
	EnterpriseServerUserAccountsUploadOrderFieldCreatedAt EnterpriseServerUserAccountsUploadOrderField = "CREATED_AT"
)

func (EnterpriseServerUserAccountsUploadOrderField) IsValid

func (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 EnterpriseUserAccount

type EnterpriseUserAccount struct {
	// A URL pointing to the enterprise user account's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The enterprise in which this user account exists.
	Enterprise *Enterprise `json:"enterprise"`
	// A list of Enterprise Server installations this user is a member of.
	EnterpriseInstallations *EnterpriseServerInstallationMembershipConnection `json:"enterpriseInstallations"`
	// The Node ID of the EnterpriseUserAccount object
	ID string `json:"id"`
	// An identifier for the enterprise user account, a login or email address
	Login string `json:"login"`
	// The name of the enterprise user account
	Name *string `json:"name,omitempty"`
	// A list of enterprise organizations this user is a member of.
	Organizations *EnterpriseOrganizationMembershipConnection `json:"organizations"`
	// The HTTP path for this user.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this user.
	URL string `json:"url"`
	// The user within the enterprise.
	User *User `json:"user,omitempty"`
}

An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

func (EnterpriseUserAccount) GetID

func (this EnterpriseUserAccount) GetID() string

ID of the object.

func (EnterpriseUserAccount) IsActor

func (EnterpriseUserAccount) IsActor()

func (EnterpriseUserAccount) IsEnterpriseMember

func (EnterpriseUserAccount) IsEnterpriseMember()

func (EnterpriseUserAccount) IsNode

func (EnterpriseUserAccount) IsNode()

type EnterpriseUserAccountMembershipRole

type EnterpriseUserAccountMembershipRole string

The possible roles for enterprise membership.

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

func (EnterpriseUserAccountMembershipRole) IsValid

func (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 Environment

type Environment struct {
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the Environment object
	ID string `json:"id"`
	// The name of the environment
	Name string `json:"name"`
	// The protection rules defined for this environment
	ProtectionRules *DeploymentProtectionRuleConnection `json:"protectionRules"`
}

An environment.

func (Environment) GetID

func (this Environment) GetID() string

ID of the object.

func (Environment) IsNode

func (Environment) IsNode()

type EnvironmentConnection

type EnvironmentConnection struct {
	// A list of edges.
	Edges []*EnvironmentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Environment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Environment.

type EnvironmentEdge

type EnvironmentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Environment `json:"node,omitempty"`
}

An edge in a connection.

type 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 Environments

type Environments struct {
	// The field to order environments by.
	Field EnvironmentOrderField `json:"field"`
	// The direction in which to order environments by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ordering options for environments

type ExternalIdentity

type ExternalIdentity struct {
	// The GUID for this identity
	GUID string `json:"guid"`
	// The Node ID of the ExternalIdentity object
	ID string `json:"id"`
	// Organization invitation for this SCIM-provisioned external identity
	OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation,omitempty"`
	// SAML Identity attributes
	SamlIdentity *ExternalIdentitySamlAttributes `json:"samlIdentity,omitempty"`
	// SCIM Identity attributes
	ScimIdentity *ExternalIdentityScimAttributes `json:"scimIdentity,omitempty"`
	// User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.
	User *User `json:"user,omitempty"`
}

An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

func (ExternalIdentity) GetID

func (this ExternalIdentity) GetID() string

ID of the object.

func (ExternalIdentity) IsNode

func (ExternalIdentity) IsNode()

type ExternalIdentityAttribute

type ExternalIdentityAttribute struct {
	// The attribute metadata as JSON
	Metadata *string `json:"metadata,omitempty"`
	// The attribute name
	Name string `json:"name"`
	// The attribute value
	Value string `json:"value"`
}

An attribute for the External Identity attributes collection

type ExternalIdentityConnection

type ExternalIdentityConnection struct {
	// A list of edges.
	Edges []*ExternalIdentityEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ExternalIdentity `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ExternalIdentity.

type ExternalIdentityEdge

type ExternalIdentityEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ExternalIdentity `json:"node,omitempty"`
}

An edge in a connection.

type ExternalIdentitySamlAttributes

type ExternalIdentitySamlAttributes struct {
	// SAML Identity attributes
	Attributes []*ExternalIdentityAttribute `json:"attributes"`
	// The emails associated with the SAML identity
	Emails []*UserEmailMetadata `json:"emails,omitempty"`
	// Family name of the SAML identity
	FamilyName *string `json:"familyName,omitempty"`
	// Given name of the SAML identity
	GivenName *string `json:"givenName,omitempty"`
	// The groups linked to this identity in IDP
	Groups []string `json:"groups,omitempty"`
	// The NameID of the SAML identity
	NameID *string `json:"nameId,omitempty"`
	// The userName of the SAML identity
	Username *string `json:"username,omitempty"`
}

SAML attributes for the External Identity

type ExternalIdentityScimAttributes

type ExternalIdentityScimAttributes struct {
	// The emails associated with the SCIM identity
	Emails []*UserEmailMetadata `json:"emails,omitempty"`
	// Family name of the SCIM identity
	FamilyName *string `json:"familyName,omitempty"`
	// Given name of the SCIM identity
	GivenName *string `json:"givenName,omitempty"`
	// The groups linked to this identity in IDP
	Groups []string `json:"groups,omitempty"`
	// The userName of the SCIM identity
	Username *string `json:"username,omitempty"`
}

SCIM attributes for the External Identity

type FileAddition

type FileAddition struct {
	// The path in the repository where the file will be located
	Path string `json:"path"`
	// The base64 encoded contents of the file
	Contents string `json:"contents"`
}

A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced.

type FileChanges

type FileChanges struct {
	// Files to delete.
	Deletions []*FileDeletion `json:"deletions,omitempty"`
	// File to add or change.
	Additions []*FileAddition `json:"additions,omitempty"`
}

A description of a set of changes to a file tree to be made as part of a git commit, modeled as zero or more file `additions` and zero or more file `deletions`.

Both fields are optional; omitting both will produce a commit with no file changes.

`deletions` and `additions` describe changes to files identified by their path in the git tree using unix-style path separators, i.e. `/`. The root of a git tree is an empty string, so paths are not slash-prefixed.

`path` values must be unique across all `additions` and `deletions` provided. Any duplication will result in a validation error.

### Encoding

File contents must be provided in full for each `FileAddition`.

The `contents` of a `FileAddition` must be encoded using RFC 4648 compliant base64, i.e. correct padding is required and no characters outside the standard alphabet may be used. Invalid base64 encoding will be rejected with a validation error.

The encoded contents may be binary.

For text files, no assumptions are made about the character encoding of the file contents (after base64 decoding). No charset transcoding or line-ending normalization will be performed; it is the client's responsibility to manage the character encoding of files they provide. However, for maximum compatibility we recommend using UTF-8 encoding and ensuring that all files in a repository use a consistent line-ending convention (`\n` or `\r\n`), and that all files end with a newline.

### Modeling file changes

Each of the the five types of conceptual changes that can be made in a git commit can be described using the `FileChanges` type as follows:

1. New file addition: create file `hello world\n` at path `docs/README.txt`:

	{
	  "additions" [
	    {
	      "path": "docs/README.txt",
	      "contents": base64encode("hello world\n")
	    }
	  ]
	}

 2. Existing file modification: change existing `docs/README.txt` to have new
    content `new content here\n`:

    {
    "additions" [
    {
    "path": "docs/README.txt",
    "contents": base64encode("new content here\n")
    }
    ]
    }

 3. Existing file deletion: remove existing file `docs/README.txt`.
    Note that the path is required to exist -- specifying a
    path that does not exist on the given branch will abort the
    commit and return an error.

    {
    "deletions" [
    {
    "path": "docs/README.txt"
    }
    ]
    }

 4. File rename with no changes: rename `docs/README.txt` with
    previous content `hello world\n` to the same content at
    `newdocs/README.txt`:

    {
    "deletions" [
    {
    "path": "docs/README.txt",
    }
    ],
    "additions" [
    {
    "path": "newdocs/README.txt",
    "contents": base64encode("hello world\n")
    }
    ]
    }

 5. File rename with changes: rename `docs/README.txt` with
    previous content `hello world\n` to a file at path
    `newdocs/README.txt` with content `new contents\n`:

    {
    "deletions" [
    {
    "path": "docs/README.txt",
    }
    ],
    "additions" [
    {
    "path": "newdocs/README.txt",
    "contents": base64encode("new contents\n")
    }
    ]
    }

type FileDeletion

type FileDeletion struct {
	// The path to delete
	Path string `json:"path"`
}

A command to delete the file at the given path as part of a commit.

type FileViewedState

type FileViewedState string

The possible viewed states of a file .

const (
	// The file has new changes since last viewed.
	FileViewedStateDismissed FileViewedState = "DISMISSED"
	// The file has been marked as viewed.
	FileViewedStateViewed FileViewedState = "VIEWED"
	// The file has not been marked as viewed.
	FileViewedStateUnviewed FileViewedState = "UNVIEWED"
)

func (FileViewedState) IsValid

func (e FileViewedState) IsValid() bool

func (FileViewedState) MarshalGQL

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

func (FileViewedState) String

func (e FileViewedState) String() string

func (*FileViewedState) UnmarshalGQL

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

type FollowOrganizationInput

type FollowOrganizationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the organization to follow.
	OrganizationID string `json:"organizationId"`
}

Autogenerated input type of FollowOrganization

type FollowOrganizationPayload

type FollowOrganizationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organization that was followed.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of FollowOrganization

type FollowUserInput

type FollowUserInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the user to follow.
	UserID string `json:"userId"`
}

Autogenerated input type of FollowUser

type FollowUserPayload

type FollowUserPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The user that was followed.
	User *User `json:"user,omitempty"`
}

Autogenerated return type of FollowUser

type FollowerConnection

type FollowerConnection struct {
	// A list of edges.
	Edges []*UserEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type FollowingConnection

type FollowingConnection struct {
	// A list of edges.
	Edges []*UserEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type FundingLink struct {
	// The funding platform this link is for.
	Platform FundingPlatform `json:"platform"`
	// The configured URL for this funding link.
	URL string `json:"url"`
}

A funding platform link for a repository.

type FundingPlatform

type FundingPlatform string

The possible funding platforms for repository funding links.

const (
	// GitHub funding platform.
	FundingPlatformGithub FundingPlatform = "GITHUB"
	// Patreon funding platform.
	FundingPlatformPatreon FundingPlatform = "PATREON"
	// Open Collective funding platform.
	FundingPlatformOpenCollective FundingPlatform = "OPEN_COLLECTIVE"
	// Ko-fi funding platform.
	FundingPlatformKoFi FundingPlatform = "KO_FI"
	// Tidelift funding platform.
	FundingPlatformTidelift FundingPlatform = "TIDELIFT"
	// Community Bridge funding platform.
	FundingPlatformCommunityBridge FundingPlatform = "COMMUNITY_BRIDGE"
	// Liberapay funding platform.
	FundingPlatformLiberapay FundingPlatform = "LIBERAPAY"
	// IssueHunt funding platform.
	FundingPlatformIssuehunt FundingPlatform = "ISSUEHUNT"
	// 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"
	// Custom funding platform.
	FundingPlatformCustom FundingPlatform = "CUSTOM"
)

func (FundingPlatform) IsValid

func (e FundingPlatform) IsValid() bool

func (FundingPlatform) MarshalGQL

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

func (FundingPlatform) String

func (e FundingPlatform) String() string

func (*FundingPlatform) UnmarshalGQL

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

type GenericHovercardContext

type GenericHovercardContext struct {
	// A string describing this context
	Message string `json:"message"`
	// An octicon to accompany this context
	Octicon string `json:"octicon"`
}

A generic hovercard context with a message and icon

func (GenericHovercardContext) GetMessage

func (this GenericHovercardContext) GetMessage() string

A string describing this context

func (GenericHovercardContext) GetOcticon

func (this GenericHovercardContext) GetOcticon() string

An octicon to accompany this context

func (GenericHovercardContext) IsHovercardContext

func (GenericHovercardContext) IsHovercardContext()

type Gist

type Gist struct {
	// A list of comments associated with the gist
	Comments *GistCommentConnection `json:"comments"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The gist description.
	Description *string `json:"description,omitempty"`
	// The files in this gist.
	Files []*GistFile `json:"files,omitempty"`
	// A list of forks associated with the gist
	Forks *GistConnection `json:"forks"`
	// The Node ID of the Gist object
	ID string `json:"id"`
	// Identifies if the gist is a fork.
	IsFork bool `json:"isFork"`
	// Whether the gist is public or not.
	IsPublic bool `json:"isPublic"`
	// The gist name.
	Name string `json:"name"`
	// The gist owner.
	Owner RepositoryOwner `json:"owner,omitempty"`
	// Identifies when the gist was last pushed to.
	PushedAt *time.Time `json:"pushedAt,omitempty"`
	// The HTML path to this resource.
	ResourcePath string `json:"resourcePath"`
	// Returns a count of how many stargazers there are on this object
	//
	StargazerCount int `json:"stargazerCount"`
	// A list of users who have starred this starrable.
	Stargazers *StargazerConnection `json:"stargazers"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this Gist.
	URL string `json:"url"`
	// Returns a boolean indicating whether the viewing user has starred this starrable.
	ViewerHasStarred bool `json:"viewerHasStarred"`
}

A Gist.

func (Gist) GetID

func (this Gist) GetID() string

ID of the object.

func (Gist) GetResourcePath

func (this Gist) GetResourcePath() string

The HTML path to this resource.

func (Gist) GetStargazerCount

func (this Gist) GetStargazerCount() int

Returns a count of how many stargazers there are on this object

func (Gist) GetStargazers

func (this Gist) GetStargazers() *StargazerConnection

A list of users who have starred this starrable.

func (Gist) GetURL

func (this Gist) GetURL() string

The URL to this resource.

func (Gist) GetViewerHasStarred

func (this Gist) GetViewerHasStarred() bool

Returns a boolean indicating whether the viewing user has starred this starrable.

func (Gist) IsNode

func (Gist) IsNode()

func (Gist) IsPinnableItem

func (Gist) IsPinnableItem()

func (Gist) IsStarrable

func (Gist) IsStarrable()

func (Gist) IsUniformResourceLocatable

func (Gist) IsUniformResourceLocatable()

type GistComment

type GistComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the gist.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// Identifies the comment body.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The associated gist.
	Gist *Gist `json:"gist"`
	// The Node ID of the GistComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

Represents a comment on an Gist.

func (GistComment) GetAuthor

func (this GistComment) GetAuthor() Actor

The actor who authored the comment.

func (GistComment) GetAuthorAssociation

func (this GistComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (GistComment) GetBody

func (this GistComment) GetBody() string

The body as Markdown.

func (GistComment) GetBodyHTML

func (this GistComment) GetBodyHTML() string

The body rendered to HTML.

func (GistComment) GetBodyText

func (this GistComment) GetBodyText() string

The body rendered to text.

func (GistComment) GetCreatedAt

func (this GistComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (GistComment) GetCreatedViaEmail

func (this GistComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (GistComment) GetEditor

func (this GistComment) GetEditor() Actor

The actor who edited the comment.

func (GistComment) GetID

func (this GistComment) GetID() string

The Node ID of the Comment object

func (GistComment) GetIncludesCreatedEdit

func (this GistComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (GistComment) GetIsMinimized

func (this GistComment) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (GistComment) GetLastEditedAt

func (this GistComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (GistComment) GetMinimizedReason

func (this GistComment) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (GistComment) GetPublishedAt

func (this GistComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (GistComment) GetUpdatedAt

func (this GistComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (GistComment) GetUserContentEdits

func (this GistComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (GistComment) GetViewerCanDelete

func (this GistComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (GistComment) GetViewerCanMinimize

func (this GistComment) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (GistComment) GetViewerCanUpdate

func (this GistComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (GistComment) GetViewerCannotUpdateReasons

func (this GistComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (GistComment) GetViewerDidAuthor

func (this GistComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (GistComment) IsComment

func (GistComment) IsComment()

func (GistComment) IsDeletable

func (GistComment) IsDeletable()

func (GistComment) IsMinimizable

func (GistComment) IsMinimizable()

func (GistComment) IsNode

func (GistComment) IsNode()

func (GistComment) IsUpdatable

func (GistComment) IsUpdatable()

func (GistComment) IsUpdatableComment

func (GistComment) IsUpdatableComment()

type GistCommentConnection

type GistCommentConnection struct {
	// A list of edges.
	Edges []*GistCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*GistComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for GistComment.

type GistCommentEdge

type GistCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *GistComment `json:"node,omitempty"`
}

An edge in a connection.

type GistConnection

type GistConnection struct {
	// A list of edges.
	Edges []*GistEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Gist `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Gist.

type GistEdge

type GistEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Gist `json:"node,omitempty"`
}

An edge in a connection.

type GistFile

type GistFile struct {
	// The file name encoded to remove characters that are invalid in URL paths.
	EncodedName *string `json:"encodedName,omitempty"`
	// The gist file encoding.
	Encoding *string `json:"encoding,omitempty"`
	// The file extension from the file name.
	Extension *string `json:"extension,omitempty"`
	// Indicates if this file is an image.
	IsImage bool `json:"isImage"`
	// Whether the file's contents were truncated.
	IsTruncated bool `json:"isTruncated"`
	// The programming language this file is written in.
	Language *Language `json:"language,omitempty"`
	// The gist file name.
	Name *string `json:"name,omitempty"`
	// The gist file size in bytes.
	Size *int `json:"size,omitempty"`
	// UTF8 text data or null if the file is binary
	Text *string `json:"text,omitempty"`
}

A file in a gist.

type GistOrder

type GistOrder struct {
	// The field to order repositories by.
	Field GistOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for gist connections

type GistOrderField

type GistOrderField string

Properties by which gist connections can be ordered.

const (
	// Order gists by creation time
	GistOrderFieldCreatedAt GistOrderField = "CREATED_AT"
	// Order gists by update time
	GistOrderFieldUpdatedAt GistOrderField = "UPDATED_AT"
	// Order gists by push time
	GistOrderFieldPushedAt GistOrderField = "PUSHED_AT"
)

func (GistOrderField) IsValid

func (e GistOrderField) IsValid() bool

func (GistOrderField) MarshalGQL

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

func (GistOrderField) String

func (e GistOrderField) String() string

func (*GistOrderField) UnmarshalGQL

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

type GistPrivacy

type GistPrivacy string

The privacy of a Gist

const (
	// Public
	GistPrivacyPublic GistPrivacy = "PUBLIC"
	// Secret
	GistPrivacySecret GistPrivacy = "SECRET"
	// Gists that are public and secret
	GistPrivacyAll GistPrivacy = "ALL"
)

func (GistPrivacy) IsValid

func (e GistPrivacy) IsValid() bool

func (GistPrivacy) MarshalGQL

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

func (GistPrivacy) String

func (e GistPrivacy) String() string

func (*GistPrivacy) UnmarshalGQL

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

type GitActor

type GitActor struct {
	// A URL pointing to the author's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// The timestamp of the Git action (authoring or committing).
	Date *string `json:"date,omitempty"`
	// The email in the Git commit.
	Email *string `json:"email,omitempty"`
	// The name in the Git commit.
	Name *string `json:"name,omitempty"`
	// The GitHub user corresponding to the email field. Null if no such user exists.
	User *User `json:"user,omitempty"`
}

Represents an actor in a Git commit (ie. an author or committer).

type GitActorConnection

type GitActorConnection struct {
	// A list of edges.
	Edges []*GitActorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*GitActor `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for GitActor.

type GitActorEdge

type GitActorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *GitActor `json:"node,omitempty"`
}

An edge in a connection.

type GitHubMetadata

type GitHubMetadata struct {
	// Returns a String that's a SHA of `github-services`
	GitHubServicesSha string `json:"gitHubServicesSha"`
	// IP addresses that users connect to for git operations
	GitIPAddresses []string `json:"gitIpAddresses,omitempty"`
	// IP addresses that GitHub Enterprise Importer uses for outbound connections
	GithubEnterpriseImporterIPAddresses []string `json:"githubEnterpriseImporterIpAddresses,omitempty"`
	// IP addresses that service hooks are sent from
	HookIPAddresses []string `json:"hookIpAddresses,omitempty"`
	// IP addresses that the importer connects from
	ImporterIPAddresses []string `json:"importerIpAddresses,omitempty"`
	// Whether or not users are verified
	IsPasswordAuthenticationVerifiable bool `json:"isPasswordAuthenticationVerifiable"`
	// IP addresses for GitHub Pages' A records
	PagesIPAddresses []string `json:"pagesIpAddresses,omitempty"`
}

Represents information about the GitHub instance.

type GitObject

type GitObject interface {
	IsGitObject()
	// An abbreviated version of the Git object ID
	GetAbbreviatedOid() string
	// The HTTP path for this Git object
	GetCommitResourcePath() string
	// The HTTP URL for this Git object
	GetCommitURL() string
	// The Node ID of the GitObject object
	GetID() string
	// The Git object ID
	GetOid() string
	// The Repository the Git object belongs to
	GetRepository() *Repository
}

Represents a Git object.

type GitSignature

type GitSignature interface {
	IsGitSignature()
	// Email used to sign this object.
	GetEmail() string
	// True if the signature is valid and verified by GitHub.
	GetIsValid() bool
	// Payload for GPG signing object. Raw ODB object without the signature header.
	GetPayload() string
	// ASCII-armored signature header from object.
	GetSignature() string
	// GitHub user corresponding to the email signing this commit.
	GetSigner() *User
	// The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
	GetState() GitSignatureState
	// True if the signature was made with GitHub's signing key.
	GetWasSignedByGitHub() bool
}

Information about a signature (GPG or S/MIME) on a Commit or Tag.

type GitSignatureState

type GitSignatureState string

The state of a Git signature.

const (
	// Valid signature and verified by GitHub
	GitSignatureStateValid GitSignatureState = "VALID"
	// Invalid signature
	GitSignatureStateInvalid GitSignatureState = "INVALID"
	// Malformed signature
	GitSignatureStateMalformedSig GitSignatureState = "MALFORMED_SIG"
	// Key used for signing not known to GitHub
	GitSignatureStateUnknownKey GitSignatureState = "UNKNOWN_KEY"
	// Invalid email used for signing
	GitSignatureStateBadEmail GitSignatureState = "BAD_EMAIL"
	// Email used for signing unverified on GitHub
	GitSignatureStateUnverifiedEmail GitSignatureState = "UNVERIFIED_EMAIL"
	// Email used for signing not known to GitHub
	GitSignatureStateNoUser GitSignatureState = "NO_USER"
	// Unknown signature type
	GitSignatureStateUnknownSigType GitSignatureState = "UNKNOWN_SIG_TYPE"
	// Unsigned
	GitSignatureStateUnsigned GitSignatureState = "UNSIGNED"
	// 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 GpgSignature

type GpgSignature struct {
	// Email used to sign this object.
	Email string `json:"email"`
	// True if the signature is valid and verified by GitHub.
	IsValid bool `json:"isValid"`
	// Hex-encoded ID of the key that signed this object.
	KeyID *string `json:"keyId,omitempty"`
	// Payload for GPG signing object. Raw ODB object without the signature header.
	Payload string `json:"payload"`
	// ASCII-armored signature header from object.
	Signature string `json:"signature"`
	// GitHub user corresponding to the email signing this commit.
	Signer *User `json:"signer,omitempty"`
	// The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
	State GitSignatureState `json:"state"`
	// True if the signature was made with GitHub's signing key.
	WasSignedByGitHub bool `json:"wasSignedByGitHub"`
}

Represents a GPG signature on a Commit or Tag.

func (GpgSignature) GetEmail

func (this GpgSignature) GetEmail() string

Email used to sign this object.

func (GpgSignature) GetIsValid

func (this GpgSignature) GetIsValid() bool

True if the signature is valid and verified by GitHub.

func (GpgSignature) GetPayload

func (this GpgSignature) GetPayload() string

Payload for GPG signing object. Raw ODB object without the signature header.

func (GpgSignature) GetSignature

func (this GpgSignature) GetSignature() string

ASCII-armored signature header from object.

func (GpgSignature) GetSigner

func (this GpgSignature) GetSigner() *User

GitHub user corresponding to the email signing this commit.

func (GpgSignature) GetState

func (this GpgSignature) GetState() GitSignatureState

The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

func (GpgSignature) GetWasSignedByGitHub

func (this GpgSignature) GetWasSignedByGitHub() bool

True if the signature was made with GitHub's signing key.

func (GpgSignature) IsGitSignature

func (GpgSignature) IsGitSignature()

type GrantEnterpriseOrganizationsMigratorRoleInput

type GrantEnterpriseOrganizationsMigratorRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise to which all organizations managed by it will be granted the migrator role.
	EnterpriseID string `json:"enterpriseId"`
	// The login of the user to grant the migrator role
	Login string `json:"login"`
}

Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole

type GrantEnterpriseOrganizationsMigratorRolePayload

type GrantEnterpriseOrganizationsMigratorRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organizations that had the migrator role applied to for the given user.
	Organizations *OrganizationConnection `json:"organizations,omitempty"`
}

Autogenerated return type of GrantEnterpriseOrganizationsMigratorRole

type GrantMigratorRoleInput

type GrantMigratorRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization that the user/team belongs to.
	OrganizationID string `json:"organizationId"`
	// The user login or Team slug to grant the migrator role.
	Actor string `json:"actor"`
	// Specifies the type of the actor, can be either USER or TEAM.
	ActorType ActorType `json:"actorType"`
}

Autogenerated input type of GrantMigratorRole

type GrantMigratorRolePayload

type GrantMigratorRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
}

Autogenerated return type of GrantMigratorRole

type HeadRefDeletedEvent

type HeadRefDeletedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the Ref associated with the `head_ref_deleted` event.
	HeadRef *Ref `json:"headRef,omitempty"`
	// Identifies the name of the Ref associated with the `head_ref_deleted` event.
	HeadRefName string `json:"headRefName"`
	// The Node ID of the HeadRefDeletedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'head_ref_deleted' event on a given pull request.

func (HeadRefDeletedEvent) GetID

func (this HeadRefDeletedEvent) GetID() string

ID of the object.

func (HeadRefDeletedEvent) IsNode

func (HeadRefDeletedEvent) IsNode()

func (HeadRefDeletedEvent) IsPullRequestTimelineItem

func (HeadRefDeletedEvent) IsPullRequestTimelineItem()

func (HeadRefDeletedEvent) IsPullRequestTimelineItems

func (HeadRefDeletedEvent) IsPullRequestTimelineItems()

type HeadRefForcePushedEvent

type HeadRefForcePushedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the after commit SHA for the 'head_ref_force_pushed' event.
	AfterCommit *Commit `json:"afterCommit,omitempty"`
	// Identifies the before commit SHA for the 'head_ref_force_pushed' event.
	BeforeCommit *Commit `json:"beforeCommit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the HeadRefForcePushedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the fully qualified ref name for the 'head_ref_force_pushed' event.
	Ref *Ref `json:"ref,omitempty"`
}

Represents a 'head_ref_force_pushed' event on a given pull request.

func (HeadRefForcePushedEvent) GetID

func (this HeadRefForcePushedEvent) GetID() string

ID of the object.

func (HeadRefForcePushedEvent) IsNode

func (HeadRefForcePushedEvent) IsNode()

func (HeadRefForcePushedEvent) IsPullRequestTimelineItem

func (HeadRefForcePushedEvent) IsPullRequestTimelineItem()

func (HeadRefForcePushedEvent) IsPullRequestTimelineItems

func (HeadRefForcePushedEvent) IsPullRequestTimelineItems()

type HeadRefRestoredEvent

type HeadRefRestoredEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the HeadRefRestoredEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents a 'head_ref_restored' event on a given pull request.

func (HeadRefRestoredEvent) GetID

func (this HeadRefRestoredEvent) GetID() string

ID of the object.

func (HeadRefRestoredEvent) IsNode

func (HeadRefRestoredEvent) IsNode()

func (HeadRefRestoredEvent) IsPullRequestTimelineItem

func (HeadRefRestoredEvent) IsPullRequestTimelineItem()

func (HeadRefRestoredEvent) IsPullRequestTimelineItems

func (HeadRefRestoredEvent) IsPullRequestTimelineItems()

type Hovercard

type Hovercard struct {
	// Each of the contexts for this hovercard
	Contexts []HovercardContext `json:"contexts"`
}

Detail needed to display a hovercard for a user

type HovercardContext

type HovercardContext interface {
	IsHovercardContext()
	// A string describing this context
	GetMessage() string
	// An octicon to accompany this context
	GetOcticon() string
}

An individual line of a hovercard

type IPAllowListEnabledSettingValue

type IPAllowListEnabledSettingValue string

The possible values for the IP allow list enabled setting.

const (
	// The setting is enabled for the owner.
	IPAllowListEnabledSettingValueEnabled IPAllowListEnabledSettingValue = "ENABLED"
	// The setting is disabled for the owner.
	IPAllowListEnabledSettingValueDisabled IPAllowListEnabledSettingValue = "DISABLED"
)

func (IPAllowListEnabledSettingValue) IsValid

func (IPAllowListEnabledSettingValue) MarshalGQL

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

func (IPAllowListEnabledSettingValue) String

func (*IPAllowListEnabledSettingValue) UnmarshalGQL

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

type IPAllowListEntry

type IPAllowListEntry struct {
	// A single IP address or range of IP addresses in CIDR notation.
	AllowListValue string `json:"allowListValue"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the IpAllowListEntry object
	ID string `json:"id"`
	// Whether the entry is currently active.
	IsActive bool `json:"isActive"`
	// The name of the IP allow list entry.
	Name *string `json:"name,omitempty"`
	// The owner of the IP allow list entry.
	Owner IPAllowListOwner `json:"owner"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

An IP address or range of addresses that is allowed to access an owner's resources.

func (IPAllowListEntry) GetID

func (this IPAllowListEntry) GetID() string

ID of the object.

func (IPAllowListEntry) IsNode

func (IPAllowListEntry) IsNode()

type IPAllowListEntryConnection

type IPAllowListEntryConnection struct {
	// A list of edges.
	Edges []*IPAllowListEntryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*IPAllowListEntry `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for IpAllowListEntry.

type IPAllowListEntryEdge

type IPAllowListEntryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *IPAllowListEntry `json:"node,omitempty"`
}

An edge in a connection.

type IPAllowListEntryOrder

type IPAllowListEntryOrder struct {
	// The field to order IP allow list entries by.
	Field IPAllowListEntryOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for IP allow list entry connections.

type IPAllowListEntryOrderField

type IPAllowListEntryOrderField string

Properties by which IP allow list entry connections can be ordered.

const (
	// Order IP allow list entries by creation time.
	IPAllowListEntryOrderFieldCreatedAt IPAllowListEntryOrderField = "CREATED_AT"
	// Order IP allow list entries by the allow list value.
	IPAllowListEntryOrderFieldAllowListValue IPAllowListEntryOrderField = "ALLOW_LIST_VALUE"
)

func (IPAllowListEntryOrderField) IsValid

func (e IPAllowListEntryOrderField) IsValid() bool

func (IPAllowListEntryOrderField) MarshalGQL

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

func (IPAllowListEntryOrderField) String

func (*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 IPAllowListOwner

type IPAllowListOwner interface {
	IsIPAllowListOwner()
}

Types that can own an IP allow list.

type IdentityProviderConfigurationState

type IdentityProviderConfigurationState string

The possible states in which authentication can be configured with an identity provider.

const (
	// Authentication with an identity provider is configured and enforced.
	IdentityProviderConfigurationStateEnforced IdentityProviderConfigurationState = "ENFORCED"
	// Authentication with an identity provider is configured but not enforced.
	IdentityProviderConfigurationStateConfigured IdentityProviderConfigurationState = "CONFIGURED"
	// Authentication with an identity provider is not configured.
	IdentityProviderConfigurationStateUnconfigured IdentityProviderConfigurationState = "UNCONFIGURED"
)

func (IdentityProviderConfigurationState) IsValid

func (IdentityProviderConfigurationState) MarshalGQL

func (IdentityProviderConfigurationState) String

func (*IdentityProviderConfigurationState) UnmarshalGQL

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

type InviteEnterpriseAdminInput

type InviteEnterpriseAdminInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise to which you want to invite an administrator.
	EnterpriseID string `json:"enterpriseId"`
	// The login of a user to invite as an administrator.
	Invitee *string `json:"invitee,omitempty"`
	// The email of the person to invite as an administrator.
	Email *string `json:"email,omitempty"`
	// The role of the administrator.
	Role *EnterpriseAdministratorRole `json:"role,omitempty"`
}

Autogenerated input type of InviteEnterpriseAdmin

type InviteEnterpriseAdminPayload

type InviteEnterpriseAdminPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The created enterprise administrator invitation.
	Invitation *EnterpriseAdministratorInvitation `json:"invitation,omitempty"`
}

Autogenerated return type of InviteEnterpriseAdmin

type Issue

type Issue struct {
	// Reason that the conversation was locked.
	ActiveLockReason *LockReason `json:"activeLockReason,omitempty"`
	// A list of Users assigned to this object.
	Assignees *UserConnection `json:"assignees"`
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// Identifies the body of the issue.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The http path for this issue body
	BodyResourcePath string `json:"bodyResourcePath"`
	// Identifies the body of the issue rendered to text.
	BodyText string `json:"bodyText"`
	// The http URL for this issue body
	BodyURL string `json:"bodyUrl"`
	// Indicates if the object is closed (definition of closed may depend on type)
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// A list of comments associated with the Issue.
	Comments *IssueCommentConnection `json:"comments"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The hovercard information for this issue
	Hovercard *Hovercard `json:"hovercard"`
	// The Node ID of the Issue object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Indicates whether or not this issue is currently pinned to the repository issues list
	IsPinned *bool `json:"isPinned,omitempty"`
	// Is this issue read by the viewer
	IsReadByViewer *bool `json:"isReadByViewer,omitempty"`
	// A list of labels associated with the object.
	Labels *LabelConnection `json:"labels,omitempty"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Branches linked to this issue.
	LinkedBranches *LinkedBranchConnection `json:"linkedBranches"`
	// `true` if the object is locked
	Locked bool `json:"locked"`
	// Identifies the milestone associated with the issue.
	Milestone *Milestone `json:"milestone,omitempty"`
	// Identifies the issue number.
	Number int `json:"number"`
	// A list of Users that are participating in the Issue conversation.
	Participants *UserConnection `json:"participants"`
	// List of project cards associated with this issue.
	ProjectCards *ProjectCardConnection `json:"projectCards"`
	// List of project items associated with this issue.
	ProjectItems *ProjectV2ItemConnection `json:"projectItems"`
	// Find a project by number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// A list of projects under the owner.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path for this issue
	ResourcePath string `json:"resourcePath"`
	// Identifies the state of the issue.
	State IssueState `json:"state"`
	// Identifies the reason for the issue state.
	StateReason *IssueStateReason `json:"stateReason,omitempty"`
	// A list of events, comments, commits, etc. associated with the issue.
	Timeline *IssueTimelineConnection `json:"timeline"`
	// A list of events, comments, commits, etc. associated with the issue.
	TimelineItems *IssueTimelineItemsConnection `json:"timelineItems"`
	// Identifies the issue title.
	Title string `json:"title"`
	// Identifies the issue title rendered to HTML.
	TitleHTML string `json:"titleHTML"`
	// A list of issues that track this issue
	TrackedInIssues *IssueConnection `json:"trackedInIssues"`
	// A list of issues tracked inside the current issue
	TrackedIssues *IssueConnection `json:"trackedIssues"`
	// The number of tracked issues for this issue
	TrackedIssuesCount int `json:"trackedIssuesCount"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this issue
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
	// Identifies the viewer's thread subscription form action.
	ViewerThreadSubscriptionFormAction *ThreadSubscriptionFormAction `json:"viewerThreadSubscriptionFormAction,omitempty"`
	// Identifies the viewer's thread subscription status.
	ViewerThreadSubscriptionStatus *ThreadSubscriptionState `json:"viewerThreadSubscriptionStatus,omitempty"`
}

An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

func (Issue) GetActiveLockReason

func (this Issue) GetActiveLockReason() *LockReason

Reason that the conversation was locked.

func (Issue) GetAssignees

func (this Issue) GetAssignees() *UserConnection

A list of Users assigned to this object.

func (Issue) GetAuthor

func (this Issue) GetAuthor() Actor

The actor who authored the comment.

func (Issue) GetAuthorAssociation

func (this Issue) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (Issue) GetBody

func (this Issue) GetBody() string

The body as Markdown.

func (Issue) GetBodyHTML

func (this Issue) GetBodyHTML() string

The body rendered to HTML.

func (Issue) GetBodyText

func (this Issue) GetBodyText() string

The body rendered to text.

func (Issue) GetClosed

func (this Issue) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (Issue) GetClosedAt

func (this Issue) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (Issue) GetCreatedAt

func (this Issue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (Issue) GetCreatedViaEmail

func (this Issue) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (Issue) GetDatabaseID

func (this Issue) GetDatabaseID() *int

Identifies the primary key from the database.

func (Issue) GetEditor

func (this Issue) GetEditor() Actor

The actor who edited the comment.

func (Issue) GetID

func (this Issue) GetID() string

The Node ID of the Comment object

func (Issue) GetIncludesCreatedEdit

func (this Issue) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (Issue) GetLabels

func (this Issue) GetLabels() *LabelConnection

A list of labels associated with the object.

func (Issue) GetLastEditedAt

func (this Issue) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (Issue) GetLocked

func (this Issue) GetLocked() bool

`true` if the object is locked

func (Issue) GetProjectV2

func (this Issue) GetProjectV2() *ProjectV2

Find a project by number.

func (Issue) GetProjectsV2

func (this Issue) GetProjectsV2() *ProjectV2Connection

A list of projects under the owner.

func (Issue) GetPublishedAt

func (this Issue) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (Issue) GetReactionGroups

func (this Issue) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (Issue) GetReactions

func (this Issue) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (Issue) GetRepository

func (this Issue) GetRepository() *Repository

The repository associated with this node.

func (Issue) GetResourcePath

func (this Issue) GetResourcePath() string

The HTML path to this resource.

func (Issue) GetURL

func (this Issue) GetURL() string

The URL to this resource.

func (Issue) GetUpdatedAt

func (this Issue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (Issue) GetUserContentEdits

func (this Issue) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (Issue) GetViewerCanClose

func (this Issue) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (Issue) GetViewerCanDelete

func (this Issue) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (Issue) GetViewerCanReact

func (this Issue) GetViewerCanReact() bool

Can user react to this subject

func (Issue) GetViewerCanReopen

func (this Issue) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (Issue) GetViewerCanSubscribe

func (this Issue) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (Issue) GetViewerCanUpdate

func (this Issue) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (Issue) GetViewerCannotUpdateReasons

func (this Issue) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (Issue) GetViewerDidAuthor

func (this Issue) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (Issue) GetViewerSubscription

func (this Issue) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (Issue) GetViewerThreadSubscriptionFormAction

func (this Issue) GetViewerThreadSubscriptionFormAction() *ThreadSubscriptionFormAction

Identifies the viewer's thread subscription form action.

func (Issue) GetViewerThreadSubscriptionStatus

func (this Issue) GetViewerThreadSubscriptionStatus() *ThreadSubscriptionState

Identifies the viewer's thread subscription status.

func (Issue) IsAssignable

func (Issue) IsAssignable()

func (Issue) IsClosable

func (Issue) IsClosable()

func (Issue) IsComment

func (Issue) IsComment()

func (Issue) IsDeletable

func (Issue) IsDeletable()

func (Issue) IsIssueOrPullRequest

func (Issue) IsIssueOrPullRequest()

func (Issue) IsLabelable

func (Issue) IsLabelable()

func (Issue) IsLockable

func (Issue) IsLockable()

func (Issue) IsMilestoneItem

func (Issue) IsMilestoneItem()

func (Issue) IsNode

func (Issue) IsNode()

func (Issue) IsProjectCardItem

func (Issue) IsProjectCardItem()

func (Issue) IsProjectV2ItemContent

func (Issue) IsProjectV2ItemContent()

func (Issue) IsProjectV2Owner

func (Issue) IsProjectV2Owner()

func (Issue) IsReactable

func (Issue) IsReactable()

func (Issue) IsReferencedSubject

func (Issue) IsReferencedSubject()

func (Issue) IsRenamedTitleSubject

func (Issue) IsRenamedTitleSubject()

func (Issue) IsRepositoryNode

func (Issue) IsRepositoryNode()

func (Issue) IsSearchResultItem

func (Issue) IsSearchResultItem()

func (Issue) IsSubscribable

func (Issue) IsSubscribable()

func (Issue) IsSubscribableThread

func (Issue) IsSubscribableThread()

func (Issue) IsUniformResourceLocatable

func (Issue) IsUniformResourceLocatable()

func (Issue) IsUpdatable

func (Issue) IsUpdatable()

func (Issue) IsUpdatableComment

func (Issue) IsUpdatableComment()

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"
)

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 IssueComment

type IssueComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The body as Markdown.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The Node ID of the IssueComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// Identifies the issue associated with the comment.
	Issue *Issue `json:"issue"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// Returns the pull request associated with the comment, if this comment was made on a
	// pull request.
	//
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path for this issue comment
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this issue comment
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

Represents a comment on an Issue.

func (IssueComment) GetAuthor

func (this IssueComment) GetAuthor() Actor

The actor who authored the comment.

func (IssueComment) GetAuthorAssociation

func (this IssueComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (IssueComment) GetBody

func (this IssueComment) GetBody() string

The body as Markdown.

func (IssueComment) GetBodyHTML

func (this IssueComment) GetBodyHTML() string

The body rendered to HTML.

func (IssueComment) GetBodyText

func (this IssueComment) GetBodyText() string

The body rendered to text.

func (IssueComment) GetCreatedAt

func (this IssueComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (IssueComment) GetCreatedViaEmail

func (this IssueComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (IssueComment) GetDatabaseID

func (this IssueComment) GetDatabaseID() *int

Identifies the primary key from the database.

func (IssueComment) GetEditor

func (this IssueComment) GetEditor() Actor

The actor who edited the comment.

func (IssueComment) GetID

func (this IssueComment) GetID() string

The Node ID of the Comment object

func (IssueComment) GetIncludesCreatedEdit

func (this IssueComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (IssueComment) GetIsMinimized

func (this IssueComment) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (IssueComment) GetLastEditedAt

func (this IssueComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (IssueComment) GetMinimizedReason

func (this IssueComment) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (IssueComment) GetPublishedAt

func (this IssueComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (IssueComment) GetReactionGroups

func (this IssueComment) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (IssueComment) GetReactions

func (this IssueComment) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (IssueComment) GetRepository

func (this IssueComment) GetRepository() *Repository

The repository associated with this node.

func (IssueComment) GetUpdatedAt

func (this IssueComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (IssueComment) GetUserContentEdits

func (this IssueComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (IssueComment) GetViewerCanDelete

func (this IssueComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (IssueComment) GetViewerCanMinimize

func (this IssueComment) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (IssueComment) GetViewerCanReact

func (this IssueComment) GetViewerCanReact() bool

Can user react to this subject

func (IssueComment) GetViewerCanUpdate

func (this IssueComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (IssueComment) GetViewerCannotUpdateReasons

func (this IssueComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (IssueComment) GetViewerDidAuthor

func (this IssueComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (IssueComment) IsComment

func (IssueComment) IsComment()

func (IssueComment) IsDeletable

func (IssueComment) IsDeletable()

func (IssueComment) IsIssueTimelineItem

func (IssueComment) IsIssueTimelineItem()

func (IssueComment) IsIssueTimelineItems

func (IssueComment) IsIssueTimelineItems()

func (IssueComment) IsMinimizable

func (IssueComment) IsMinimizable()

func (IssueComment) IsNode

func (IssueComment) IsNode()

func (IssueComment) IsPullRequestTimelineItem

func (IssueComment) IsPullRequestTimelineItem()

func (IssueComment) IsPullRequestTimelineItems

func (IssueComment) IsPullRequestTimelineItems()

func (IssueComment) IsReactable

func (IssueComment) IsReactable()

func (IssueComment) IsRepositoryNode

func (IssueComment) IsRepositoryNode()

func (IssueComment) IsUpdatable

func (IssueComment) IsUpdatable()

func (IssueComment) IsUpdatableComment

func (IssueComment) IsUpdatableComment()

type IssueCommentConnection

type IssueCommentConnection struct {
	// A list of edges.
	Edges []*IssueCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*IssueComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for IssueComment.

type IssueCommentEdge

type IssueCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *IssueComment `json:"node,omitempty"`
}

An edge in a connection.

type IssueCommentOrder

type IssueCommentOrder struct {
	// The field in which to order issue comments by.
	Field IssueCommentOrderField `json:"field"`
	// The direction in which to order issue comments by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of issue comments can be ordered upon return.

type IssueCommentOrderField

type IssueCommentOrderField string

Properties by which issue comment connections can be ordered.

const (
	// Order issue comments by update time
	IssueCommentOrderFieldUpdatedAt IssueCommentOrderField = "UPDATED_AT"
)

func (IssueCommentOrderField) IsValid

func (e IssueCommentOrderField) IsValid() bool

func (IssueCommentOrderField) MarshalGQL

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

func (IssueCommentOrderField) String

func (e IssueCommentOrderField) String() string

func (*IssueCommentOrderField) UnmarshalGQL

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

type IssueConnection

type IssueConnection struct {
	// A list of edges.
	Edges []*IssueEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Issue `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Issue.

type IssueContributionsByRepository

type IssueContributionsByRepository struct {
	// The issue contributions.
	Contributions *CreatedIssueContributionConnection `json:"contributions"`
	// The repository in which the issues were opened.
	Repository *Repository `json:"repository"`
}

This aggregates issues opened by a user within one repository.

type IssueEdge

type IssueEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Issue `json:"node,omitempty"`
}

An edge in a connection.

type IssueFilters

type IssueFilters struct {
	// List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user.
	Assignee *string `json:"assignee,omitempty"`
	// List issues created by given name.
	CreatedBy *string `json:"createdBy,omitempty"`
	// List issues where the list of label names exist on the issue.
	Labels []string `json:"labels,omitempty"`
	// List issues where the given name is mentioned in the issue.
	Mentioned *string `json:"mentioned,omitempty"`
	// List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
	Milestone *string `json:"milestone,omitempty"`
	// List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
	MilestoneNumber *string `json:"milestoneNumber,omitempty"`
	// List issues that have been updated at or after the given date.
	Since *time.Time `json:"since,omitempty"`
	// List issues filtered by the list of states given.
	States []IssueState `json:"states,omitempty"`
	// List issues subscribed to by viewer.
	ViewerSubscribed *bool `json:"viewerSubscribed,omitempty"`
}

Ways in which to filter lists of issues.

type IssueOrPullRequest

type IssueOrPullRequest interface {
	IsIssueOrPullRequest()
}

Used for return value of Repository.issueOrPullRequest.

type IssueOrder

type IssueOrder struct {
	// The field in which to order issues by.
	Field IssueOrderField `json:"field"`
	// The direction in which to order issues by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of issues can be ordered upon return.

type IssueOrderField

type IssueOrderField string

Properties by which issue connections can be ordered.

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

func (IssueOrderField) IsValid

func (e IssueOrderField) IsValid() bool

func (IssueOrderField) MarshalGQL

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

func (IssueOrderField) String

func (e IssueOrderField) String() string

func (*IssueOrderField) UnmarshalGQL

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

type IssueState

type IssueState string

The possible states of an issue.

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

func (IssueState) IsValid

func (e IssueState) IsValid() bool

func (IssueState) MarshalGQL

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

func (IssueState) String

func (e IssueState) String() string

func (*IssueState) UnmarshalGQL

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

type 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"
)

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 IssueTemplate

type IssueTemplate struct {
	// The template purpose.
	About *string `json:"about,omitempty"`
	// The suggested assignees.
	Assignees *UserConnection `json:"assignees"`
	// The suggested issue body.
	Body *string `json:"body,omitempty"`
	// The template filename.
	Filename string `json:"filename"`
	// The suggested issue labels
	Labels *LabelConnection `json:"labels,omitempty"`
	// The template name.
	Name string `json:"name"`
	// The suggested issue title.
	Title *string `json:"title,omitempty"`
}

A repository issue template.

type IssueTimelineConnection

type IssueTimelineConnection struct {
	// A list of edges.
	Edges []*IssueTimelineItemEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []IssueTimelineItem `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for IssueTimelineItem.

type IssueTimelineItem

type IssueTimelineItem interface {
	IsIssueTimelineItem()
}

An item in an issue timeline

type IssueTimelineItemEdge

type IssueTimelineItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node IssueTimelineItem `json:"node,omitempty"`
}

An edge in a connection.

type IssueTimelineItems

type IssueTimelineItems interface {
	IsIssueTimelineItems()
}

An item in an issue timeline

type IssueTimelineItemsConnection

type IssueTimelineItemsConnection struct {
	// A list of edges.
	Edges []*IssueTimelineItemsEdge `json:"edges,omitempty"`
	// Identifies the count of items after applying `before` and `after` filters.
	FilteredCount int `json:"filteredCount"`
	// A list of nodes.
	Nodes []IssueTimelineItems `json:"nodes,omitempty"`
	// Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
	PageCount int `json:"pageCount"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// Identifies the date and time when the timeline was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The connection type for IssueTimelineItems.

type IssueTimelineItemsEdge

type IssueTimelineItemsEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node IssueTimelineItems `json:"node,omitempty"`
}

An edge in a connection.

type IssueTimelineItemsItemType

type IssueTimelineItemsItemType string

The possible item types found in a timeline.

const (
	// Represents a comment on an Issue.
	IssueTimelineItemsItemTypeIssueComment IssueTimelineItemsItemType = "ISSUE_COMMENT"
	// Represents a mention made by one issue or pull request to another.
	IssueTimelineItemsItemTypeCrossReferencedEvent IssueTimelineItemsItemType = "CROSS_REFERENCED_EVENT"
	// Represents a 'added_to_project' event on a given issue or pull request.
	IssueTimelineItemsItemTypeAddedToProjectEvent IssueTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT"
	// Represents an 'assigned' event on any assignable object.
	IssueTimelineItemsItemTypeAssignedEvent IssueTimelineItemsItemType = "ASSIGNED_EVENT"
	// Represents a 'closed' event on any `Closable`.
	IssueTimelineItemsItemTypeClosedEvent IssueTimelineItemsItemType = "CLOSED_EVENT"
	// Represents a 'comment_deleted' event on a given issue or pull request.
	IssueTimelineItemsItemTypeCommentDeletedEvent IssueTimelineItemsItemType = "COMMENT_DELETED_EVENT"
	// Represents a 'connected' event on a given issue or pull request.
	IssueTimelineItemsItemTypeConnectedEvent IssueTimelineItemsItemType = "CONNECTED_EVENT"
	// Represents a 'converted_note_to_issue' event on a given issue or pull request.
	IssueTimelineItemsItemTypeConvertedNoteToIssueEvent IssueTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT"
	// Represents a 'converted_to_discussion' event on a given issue.
	IssueTimelineItemsItemTypeConvertedToDiscussionEvent IssueTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT"
	// Represents a 'demilestoned' event on a given issue or pull request.
	IssueTimelineItemsItemTypeDemilestonedEvent IssueTimelineItemsItemType = "DEMILESTONED_EVENT"
	// Represents a 'disconnected' event on a given issue or pull request.
	IssueTimelineItemsItemTypeDisconnectedEvent IssueTimelineItemsItemType = "DISCONNECTED_EVENT"
	// Represents a 'labeled' event on a given issue or pull request.
	IssueTimelineItemsItemTypeLabeledEvent IssueTimelineItemsItemType = "LABELED_EVENT"
	// Represents a 'locked' event on a given issue or pull request.
	IssueTimelineItemsItemTypeLockedEvent IssueTimelineItemsItemType = "LOCKED_EVENT"
	// Represents a 'marked_as_duplicate' event on a given issue or pull request.
	IssueTimelineItemsItemTypeMarkedAsDuplicateEvent IssueTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT"
	// Represents a 'mentioned' event on a given issue or pull request.
	IssueTimelineItemsItemTypeMentionedEvent IssueTimelineItemsItemType = "MENTIONED_EVENT"
	// Represents a 'milestoned' event on a given issue or pull request.
	IssueTimelineItemsItemTypeMilestonedEvent IssueTimelineItemsItemType = "MILESTONED_EVENT"
	// Represents a 'moved_columns_in_project' event on a given issue or pull request.
	IssueTimelineItemsItemTypeMovedColumnsInProjectEvent IssueTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT"
	// Represents a 'pinned' event on a given issue or pull request.
	IssueTimelineItemsItemTypePinnedEvent IssueTimelineItemsItemType = "PINNED_EVENT"
	// Represents a 'referenced' event on a given `ReferencedSubject`.
	IssueTimelineItemsItemTypeReferencedEvent IssueTimelineItemsItemType = "REFERENCED_EVENT"
	// Represents a 'removed_from_project' event on a given issue or pull request.
	IssueTimelineItemsItemTypeRemovedFromProjectEvent IssueTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT"
	// Represents a 'renamed' event on a given issue or pull request
	IssueTimelineItemsItemTypeRenamedTitleEvent IssueTimelineItemsItemType = "RENAMED_TITLE_EVENT"
	// Represents a 'reopened' event on any `Closable`.
	IssueTimelineItemsItemTypeReopenedEvent IssueTimelineItemsItemType = "REOPENED_EVENT"
	// Represents a 'subscribed' event on a given `Subscribable`.
	IssueTimelineItemsItemTypeSubscribedEvent IssueTimelineItemsItemType = "SUBSCRIBED_EVENT"
	// Represents a 'transferred' event on a given issue or pull request.
	IssueTimelineItemsItemTypeTransferredEvent IssueTimelineItemsItemType = "TRANSFERRED_EVENT"
	// Represents an 'unassigned' event on any assignable object.
	IssueTimelineItemsItemTypeUnassignedEvent IssueTimelineItemsItemType = "UNASSIGNED_EVENT"
	// Represents an 'unlabeled' event on a given issue or pull request.
	IssueTimelineItemsItemTypeUnlabeledEvent IssueTimelineItemsItemType = "UNLABELED_EVENT"
	// Represents an 'unlocked' event on a given issue or pull request.
	IssueTimelineItemsItemTypeUnlockedEvent IssueTimelineItemsItemType = "UNLOCKED_EVENT"
	// Represents a 'user_blocked' event on a given user.
	IssueTimelineItemsItemTypeUserBlockedEvent IssueTimelineItemsItemType = "USER_BLOCKED_EVENT"
	// Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
	IssueTimelineItemsItemTypeUnmarkedAsDuplicateEvent IssueTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT"
	// Represents an 'unpinned' event on a given issue or pull request.
	IssueTimelineItemsItemTypeUnpinnedEvent IssueTimelineItemsItemType = "UNPINNED_EVENT"
	// Represents an 'unsubscribed' event on a given `Subscribable`.
	IssueTimelineItemsItemTypeUnsubscribedEvent IssueTimelineItemsItemType = "UNSUBSCRIBED_EVENT"
)

func (IssueTimelineItemsItemType) IsValid

func (e IssueTimelineItemsItemType) IsValid() bool

func (IssueTimelineItemsItemType) MarshalGQL

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

func (IssueTimelineItemsItemType) String

func (*IssueTimelineItemsItemType) UnmarshalGQL

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

type JoinedGitHubContribution

type JoinedGitHubContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents a user signing up for a GitHub account.

func (JoinedGitHubContribution) GetIsRestricted

func (this JoinedGitHubContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (JoinedGitHubContribution) GetOccurredAt

func (this JoinedGitHubContribution) GetOccurredAt() time.Time

When this contribution was made.

func (JoinedGitHubContribution) GetResourcePath

func (this JoinedGitHubContribution) GetResourcePath() string

The HTTP path for this contribution.

func (JoinedGitHubContribution) GetURL

func (this JoinedGitHubContribution) GetURL() string

The HTTP URL for this contribution.

func (JoinedGitHubContribution) GetUser

func (this JoinedGitHubContribution) GetUser() *User

The user who made this contribution.

func (JoinedGitHubContribution) IsContribution

func (JoinedGitHubContribution) IsContribution()

type Label

type Label struct {
	// Identifies the label color.
	Color string `json:"color"`
	// Identifies the date and time when the label was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// A brief description of this label.
	Description *string `json:"description,omitempty"`
	// The Node ID of the Label object
	ID string `json:"id"`
	// Indicates whether or not this is a default label.
	IsDefault bool `json:"isDefault"`
	// A list of issues associated with this label.
	Issues *IssueConnection `json:"issues"`
	// Identifies the label name.
	Name string `json:"name"`
	// A list of pull requests associated with this label.
	PullRequests *PullRequestConnection `json:"pullRequests"`
	// The repository associated with this label.
	Repository *Repository `json:"repository"`
	// The HTTP path for this label.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the label was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The HTTP URL for this label.
	URL string `json:"url"`
}

A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.

func (Label) GetID

func (this Label) GetID() string

ID of the object.

func (Label) IsNode

func (Label) IsNode()

type LabelConnection

type LabelConnection struct {
	// A list of edges.
	Edges []*LabelEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Label `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Label.

type LabelEdge

type LabelEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Label `json:"node,omitempty"`
}

An edge in a connection.

type LabelOrder

type LabelOrder struct {
	// The field in which to order labels by.
	Field LabelOrderField `json:"field"`
	// The direction in which to order labels by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of labels can be ordered upon return.

type LabelOrderField

type LabelOrderField string

Properties by which label connections can be ordered.

const (
	// Order labels by name
	LabelOrderFieldName LabelOrderField = "NAME"
	// Order labels by creation time
	LabelOrderFieldCreatedAt LabelOrderField = "CREATED_AT"
)

func (LabelOrderField) IsValid

func (e LabelOrderField) IsValid() bool

func (LabelOrderField) MarshalGQL

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

func (LabelOrderField) String

func (e LabelOrderField) String() string

func (*LabelOrderField) UnmarshalGQL

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

type Labelable

type Labelable interface {
	IsLabelable()
	// A list of labels associated with the object.
	GetLabels() *LabelConnection
}

An object that can have labels assigned to it.

type LabeledEvent

type LabeledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the LabeledEvent object
	ID string `json:"id"`
	// Identifies the label associated with the 'labeled' event.
	Label *Label `json:"label"`
	// Identifies the `Labelable` associated with the event.
	Labelable Labelable `json:"labelable"`
}

Represents a 'labeled' event on a given issue or pull request.

func (LabeledEvent) GetID

func (this LabeledEvent) GetID() string

ID of the object.

func (LabeledEvent) IsIssueTimelineItem

func (LabeledEvent) IsIssueTimelineItem()

func (LabeledEvent) IsIssueTimelineItems

func (LabeledEvent) IsIssueTimelineItems()

func (LabeledEvent) IsNode

func (LabeledEvent) IsNode()

func (LabeledEvent) IsPullRequestTimelineItem

func (LabeledEvent) IsPullRequestTimelineItem()

func (LabeledEvent) IsPullRequestTimelineItems

func (LabeledEvent) IsPullRequestTimelineItems()

type Language

type Language struct {
	// The color defined for the current language.
	Color *string `json:"color,omitempty"`
	// The Node ID of the Language object
	ID string `json:"id"`
	// The name of the current language.
	Name string `json:"name"`
}

Represents a given language found in repositories.

func (Language) GetID

func (this Language) GetID() string

ID of the object.

func (Language) IsNode

func (Language) IsNode()

type LanguageConnection

type LanguageConnection struct {
	// A list of edges.
	Edges []*LanguageEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Language `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// The total size in bytes of files written in that language.
	TotalSize int `json:"totalSize"`
}

A list of languages associated with the parent.

type LanguageEdge

type LanguageEdge struct {
	Cursor string    `json:"cursor"`
	Node   *Language `json:"node"`
	// The number of bytes of code written in the language.
	Size int `json:"size"`
}

Represents the language of a repository.

type LanguageOrder

type LanguageOrder struct {
	// The field to order languages by.
	Field LanguageOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for language connections.

type LanguageOrderField

type LanguageOrderField string

Properties by which language connections can be ordered.

const (
	// Order languages by the size of all files containing the language
	LanguageOrderFieldSize LanguageOrderField = "SIZE"
)

func (LanguageOrderField) IsValid

func (e LanguageOrderField) IsValid() bool

func (LanguageOrderField) MarshalGQL

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

func (LanguageOrderField) String

func (e LanguageOrderField) String() string

func (*LanguageOrderField) UnmarshalGQL

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

type License

type License struct {
	// The full text of the license
	Body string `json:"body"`
	// The conditions set by the license
	Conditions []*LicenseRule `json:"conditions"`
	// A human-readable description of the license
	Description *string `json:"description,omitempty"`
	// Whether the license should be featured
	Featured bool `json:"featured"`
	// Whether the license should be displayed in license pickers
	Hidden bool `json:"hidden"`
	// The Node ID of the License object
	ID string `json:"id"`
	// Instructions on how to implement the license
	Implementation *string `json:"implementation,omitempty"`
	// The lowercased SPDX ID of the license
	Key string `json:"key"`
	// The limitations set by the license
	Limitations []*LicenseRule `json:"limitations"`
	// The license full name specified by <https://spdx.org/licenses>
	Name string `json:"name"`
	// Customary short name if applicable (e.g, GPLv3)
	Nickname *string `json:"nickname,omitempty"`
	// The permissions set by the license
	Permissions []*LicenseRule `json:"permissions"`
	// Whether the license is a pseudo-license placeholder (e.g., other, no-license)
	PseudoLicense bool `json:"pseudoLicense"`
	// Short identifier specified by <https://spdx.org/licenses>
	SpdxID *string `json:"spdxId,omitempty"`
	// URL to the license on <https://choosealicense.com>
	URL *string `json:"url,omitempty"`
}

A repository's open source license

func (License) GetID

func (this License) GetID() string

ID of the object.

func (License) IsNode

func (License) IsNode()

type LicenseRule

type LicenseRule struct {
	// A description of the rule
	Description string `json:"description"`
	// The machine-readable rule key
	Key string `json:"key"`
	// The human-readable rule label
	Label string `json:"label"`
}

Describes a License's conditions, permissions, and limitations

type LinkProjectV2ToRepositoryInput

type LinkProjectV2ToRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the project to link to the repository.
	ProjectID string `json:"projectId"`
	// The ID of the repository to link to the project.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of LinkProjectV2ToRepository

type LinkProjectV2ToRepositoryPayload

type LinkProjectV2ToRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository the project is linked to.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of LinkProjectV2ToRepository

type LinkProjectV2ToTeamInput

type LinkProjectV2ToTeamInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the project to link to the team.
	ProjectID string `json:"projectId"`
	// The ID of the team to link to the project.
	TeamID string `json:"teamId"`
}

Autogenerated input type of LinkProjectV2ToTeam

type LinkProjectV2ToTeamPayload

type LinkProjectV2ToTeamPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The team the project is linked to
	Team *Team `json:"team,omitempty"`
}

Autogenerated return type of LinkProjectV2ToTeam

type LinkRepositoryToProjectInput

type LinkRepositoryToProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to link to a Repository
	ProjectID string `json:"projectId"`
	// The ID of the Repository to link to a Project.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of LinkRepositoryToProject

type LinkRepositoryToProjectPayload

type LinkRepositoryToProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The linked Project.
	Project *Project `json:"project,omitempty"`
	// The linked Repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of LinkRepositoryToProject

type LinkedBranch

type LinkedBranch struct {
	// The Node ID of the LinkedBranch object
	ID string `json:"id"`
	// The branch's ref.
	Ref *Ref `json:"ref,omitempty"`
}

A branch linked to an issue.

func (LinkedBranch) GetID

func (this LinkedBranch) GetID() string

ID of the object.

func (LinkedBranch) IsNode

func (LinkedBranch) IsNode()

type LinkedBranchConnection

type LinkedBranchConnection struct {
	// A list of edges.
	Edges []*LinkedBranchEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*LinkedBranch `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of branches linked to an issue.

type LinkedBranchEdge

type LinkedBranchEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *LinkedBranch `json:"node,omitempty"`
}

An edge in a connection.

type LockLockableInput

type LockLockableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the item to be locked.
	LockableID string `json:"lockableId"`
	// A reason for why the item will be locked.
	LockReason *LockReason `json:"lockReason,omitempty"`
}

Autogenerated input type of LockLockable

type LockLockablePayload

type LockLockablePayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item that was locked.
	LockedRecord Lockable `json:"lockedRecord,omitempty"`
}

Autogenerated return type of LockLockable

type LockReason

type LockReason string

The possible reasons that an issue or pull request was locked.

const (
	// The issue or pull request was locked because the conversation was off-topic.
	LockReasonOffTopic LockReason = "OFF_TOPIC"
	// The issue or pull request was locked because the conversation was too heated.
	LockReasonTooHeated LockReason = "TOO_HEATED"
	// The issue or pull request was locked because the conversation was resolved.
	LockReasonResolved LockReason = "RESOLVED"
	// The issue or pull request was locked because the conversation was spam.
	LockReasonSpam LockReason = "SPAM"
)

func (LockReason) IsValid

func (e LockReason) IsValid() bool

func (LockReason) MarshalGQL

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

func (LockReason) String

func (e LockReason) String() string

func (*LockReason) UnmarshalGQL

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

type Lockable

type Lockable interface {
	IsLockable()
	// Reason that the conversation was locked.
	GetActiveLockReason() *LockReason
	// `true` if the object is locked
	GetLocked() bool
}

An object that can be locked.

type LockedEvent

type LockedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the LockedEvent object
	ID string `json:"id"`
	// Reason that the conversation was locked (optional).
	LockReason *LockReason `json:"lockReason,omitempty"`
	// Object that was locked.
	Lockable Lockable `json:"lockable"`
}

Represents a 'locked' event on a given issue or pull request.

func (LockedEvent) GetID

func (this LockedEvent) GetID() string

ID of the object.

func (LockedEvent) IsIssueTimelineItem

func (LockedEvent) IsIssueTimelineItem()

func (LockedEvent) IsIssueTimelineItems

func (LockedEvent) IsIssueTimelineItems()

func (LockedEvent) IsNode

func (LockedEvent) IsNode()

func (LockedEvent) IsPullRequestTimelineItem

func (LockedEvent) IsPullRequestTimelineItem()

func (LockedEvent) IsPullRequestTimelineItems

func (LockedEvent) IsPullRequestTimelineItems()

type Mannequin

type Mannequin struct {
	// A URL pointing to the GitHub App's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// The user that has claimed the data attributed to this mannequin.
	Claimant *User `json:"claimant,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The mannequin's email on the source instance.
	Email *string `json:"email,omitempty"`
	// The Node ID of the Mannequin object
	ID string `json:"id"`
	// The username of the actor.
	Login string `json:"login"`
	// The HTML path to this resource.
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The URL to this resource.
	URL string `json:"url"`
}

A placeholder user for attribution of imported data on GitHub.

func (Mannequin) GetID

func (this Mannequin) GetID() string

ID of the object.

func (Mannequin) GetResourcePath

func (this Mannequin) GetResourcePath() string

The HTML path to this resource.

func (Mannequin) GetURL

func (this Mannequin) GetURL() string

The URL to this resource.

func (Mannequin) IsActor

func (Mannequin) IsActor()

func (Mannequin) IsAssignee

func (Mannequin) IsAssignee()

func (Mannequin) IsClaimable

func (Mannequin) IsClaimable()

func (Mannequin) IsNode

func (Mannequin) IsNode()

func (Mannequin) IsReactor

func (Mannequin) IsReactor()

func (Mannequin) IsRequestedReviewer

func (Mannequin) IsRequestedReviewer()

func (Mannequin) IsUniformResourceLocatable

func (Mannequin) IsUniformResourceLocatable()

type MannequinConnection

type MannequinConnection struct {
	// A list of edges.
	Edges []*MannequinEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Mannequin `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of mannequins.

type MannequinEdge

type MannequinEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Mannequin `json:"node,omitempty"`
}

Represents a mannequin.

type MannequinOrder

type MannequinOrder struct {
	// The field to order mannequins by.
	Field MannequinOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for mannequins.

type MannequinOrderField

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 MarkDiscussionCommentAsAnswerInput

type MarkDiscussionCommentAsAnswerInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion comment to mark as an answer.
	ID string `json:"id"`
}

Autogenerated input type of MarkDiscussionCommentAsAnswer

type MarkDiscussionCommentAsAnswerPayload

type MarkDiscussionCommentAsAnswerPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that includes the chosen comment.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of MarkDiscussionCommentAsAnswer

type MarkFileAsViewedInput

type MarkFileAsViewedInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request.
	PullRequestID string `json:"pullRequestId"`
	// The path of the file to mark as viewed
	Path string `json:"path"`
}

Autogenerated input type of MarkFileAsViewed

type MarkFileAsViewedPayload

type MarkFileAsViewedPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated pull request.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of MarkFileAsViewed

type MarkNotificationAsDoneInput added in v0.20.0

type MarkNotificationAsDoneInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The NotificationThread id.
	ID string `json:"id"`
}

Autogenerated input type of MarkNotificationAsDone

type MarkNotificationAsDonePayload added in v0.20.0

type MarkNotificationAsDonePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
	// The user that the notification belongs to.
	Viewer *User `json:"viewer,omitempty"`
}

Autogenerated return type of MarkNotificationAsDone

type MarkProjectV2AsTemplateInput

type MarkProjectV2AsTemplateInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to mark as a template.
	ProjectID string `json:"projectId"`
}

Autogenerated input type of MarkProjectV2AsTemplate

type MarkProjectV2AsTemplatePayload

type MarkProjectV2AsTemplatePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of MarkProjectV2AsTemplate

type MarkPullRequestReadyForReviewInput

type MarkPullRequestReadyForReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to be marked as ready for review.
	PullRequestID string `json:"pullRequestId"`
}

Autogenerated input type of MarkPullRequestReadyForReview

type MarkPullRequestReadyForReviewPayload

type MarkPullRequestReadyForReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that is ready for review.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of MarkPullRequestReadyForReview

type MarkedAsDuplicateEvent

type MarkedAsDuplicateEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// The authoritative issue or pull request which has been duplicated by another.
	Canonical IssueOrPullRequest `json:"canonical,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The issue or pull request which has been marked as a duplicate of another.
	Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
	// The Node ID of the MarkedAsDuplicateEvent object
	ID string `json:"id"`
	// Canonical and duplicate belong to different repositories.
	IsCrossRepository bool `json:"isCrossRepository"`
}

Represents a 'marked_as_duplicate' event on a given issue or pull request.

func (MarkedAsDuplicateEvent) GetID

func (this MarkedAsDuplicateEvent) GetID() string

ID of the object.

func (MarkedAsDuplicateEvent) IsIssueTimelineItems

func (MarkedAsDuplicateEvent) IsIssueTimelineItems()

func (MarkedAsDuplicateEvent) IsNode

func (MarkedAsDuplicateEvent) IsNode()

func (MarkedAsDuplicateEvent) IsPullRequestTimelineItems

func (MarkedAsDuplicateEvent) IsPullRequestTimelineItems()

type MarketplaceCategory

type MarketplaceCategory struct {
	// The category's description.
	Description *string `json:"description,omitempty"`
	// The technical description of how apps listed in this category work with GitHub.
	HowItWorks *string `json:"howItWorks,omitempty"`
	// The Node ID of the MarketplaceCategory object
	ID string `json:"id"`
	// The category's name.
	Name string `json:"name"`
	// How many Marketplace listings have this as their primary category.
	PrimaryListingCount int `json:"primaryListingCount"`
	// The HTTP path for this Marketplace category.
	ResourcePath string `json:"resourcePath"`
	// How many Marketplace listings have this as their secondary category.
	SecondaryListingCount int `json:"secondaryListingCount"`
	// The short name of the category used in its URL.
	Slug string `json:"slug"`
	// The HTTP URL for this Marketplace category.
	URL string `json:"url"`
}

A public description of a Marketplace category.

func (MarketplaceCategory) GetID

func (this MarketplaceCategory) GetID() string

ID of the object.

func (MarketplaceCategory) IsNode

func (MarketplaceCategory) IsNode()

type MarketplaceListing

type MarketplaceListing struct {
	// The GitHub App this listing represents.
	App *App `json:"app,omitempty"`
	// URL to the listing owner's company site.
	CompanyURL *string `json:"companyUrl,omitempty"`
	// The HTTP path for configuring access to the listing's integration or OAuth app
	ConfigurationResourcePath string `json:"configurationResourcePath"`
	// The HTTP URL for configuring access to the listing's integration or OAuth app
	ConfigurationURL string `json:"configurationUrl"`
	// URL to the listing's documentation.
	DocumentationURL *string `json:"documentationUrl,omitempty"`
	// The listing's detailed description.
	ExtendedDescription *string `json:"extendedDescription,omitempty"`
	// The listing's detailed description rendered to HTML.
	ExtendedDescriptionHTML string `json:"extendedDescriptionHTML"`
	// The listing's introductory description.
	FullDescription string `json:"fullDescription"`
	// The listing's introductory description rendered to HTML.
	FullDescriptionHTML string `json:"fullDescriptionHTML"`
	// Does this listing have any plans with a free trial?
	HasPublishedFreeTrialPlans bool `json:"hasPublishedFreeTrialPlans"`
	// Does this listing have a terms of service link?
	HasTermsOfService bool `json:"hasTermsOfService"`
	// Whether the creator of the app is a verified org
	HasVerifiedOwner bool `json:"hasVerifiedOwner"`
	// A technical description of how this app works with GitHub.
	HowItWorks *string `json:"howItWorks,omitempty"`
	// The listing's technical description rendered to HTML.
	HowItWorksHTML string `json:"howItWorksHTML"`
	// The Node ID of the MarketplaceListing object
	ID string `json:"id"`
	// URL to install the product to the viewer's account or organization.
	InstallationURL *string `json:"installationUrl,omitempty"`
	// Whether this listing's app has been installed for the current viewer
	InstalledForViewer bool `json:"installedForViewer"`
	// Whether this listing has been removed from the Marketplace.
	IsArchived bool `json:"isArchived"`
	// Whether this listing is still an editable draft that has not been submitted for review and is not publicly visible in the Marketplace.
	IsDraft bool `json:"isDraft"`
	// Whether the product this listing represents is available as part of a paid plan.
	IsPaid bool `json:"isPaid"`
	// Whether this listing has been approved for display in the Marketplace.
	IsPublic bool `json:"isPublic"`
	// Whether this listing has been rejected by GitHub for display in the Marketplace.
	IsRejected bool `json:"isRejected"`
	// Whether this listing has been approved for unverified display in the Marketplace.
	IsUnverified bool `json:"isUnverified"`
	// Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace.
	IsUnverifiedPending bool `json:"isUnverifiedPending"`
	// Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
	IsVerificationPendingFromDraft bool `json:"isVerificationPendingFromDraft"`
	// Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace.
	IsVerificationPendingFromUnverified bool `json:"isVerificationPendingFromUnverified"`
	// Whether this listing has been approved for verified display in the Marketplace.
	IsVerified bool `json:"isVerified"`
	// The hex color code, without the leading '#', for the logo background.
	LogoBackgroundColor string `json:"logoBackgroundColor"`
	// URL for the listing's logo image.
	LogoURL *string `json:"logoUrl,omitempty"`
	// The listing's full name.
	Name string `json:"name"`
	// The listing's very short description without a trailing period or ampersands.
	NormalizedShortDescription string `json:"normalizedShortDescription"`
	// URL to the listing's detailed pricing.
	PricingURL *string `json:"pricingUrl,omitempty"`
	// The category that best describes the listing.
	PrimaryCategory *MarketplaceCategory `json:"primaryCategory"`
	// URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL.
	PrivacyPolicyURL string `json:"privacyPolicyUrl"`
	// The HTTP path for the Marketplace listing.
	ResourcePath string `json:"resourcePath"`
	// The URLs for the listing's screenshots.
	ScreenshotUrls []*string `json:"screenshotUrls"`
	// An alternate category that describes the listing.
	SecondaryCategory *MarketplaceCategory `json:"secondaryCategory,omitempty"`
	// The listing's very short description.
	ShortDescription string `json:"shortDescription"`
	// The short name of the listing used in its URL.
	Slug string `json:"slug"`
	// URL to the listing's status page.
	StatusURL *string `json:"statusUrl,omitempty"`
	// An email address for support for this listing's app.
	SupportEmail *string `json:"supportEmail,omitempty"`
	// Either a URL or an email address for support for this listing's app, may return an empty string for listings that do not require a support URL.
	SupportURL string `json:"supportUrl"`
	// URL to the listing's terms of service.
	TermsOfServiceURL *string `json:"termsOfServiceUrl,omitempty"`
	// The HTTP URL for the Marketplace listing.
	URL string `json:"url"`
	// Can the current viewer add plans for this Marketplace listing.
	ViewerCanAddPlans bool `json:"viewerCanAddPlans"`
	// Can the current viewer approve this Marketplace listing.
	ViewerCanApprove bool `json:"viewerCanApprove"`
	// Can the current viewer delist this Marketplace listing.
	ViewerCanDelist bool `json:"viewerCanDelist"`
	// Can the current viewer edit this Marketplace listing.
	ViewerCanEdit bool `json:"viewerCanEdit"`
	// Can the current viewer edit the primary and secondary category of this
	// Marketplace listing.
	//
	ViewerCanEditCategories bool `json:"viewerCanEditCategories"`
	// Can the current viewer edit the plans for this Marketplace listing.
	ViewerCanEditPlans bool `json:"viewerCanEditPlans"`
	// Can the current viewer return this Marketplace listing to draft state
	// so it becomes editable again.
	//
	ViewerCanRedraft bool `json:"viewerCanRedraft"`
	// Can the current viewer reject this Marketplace listing by returning it to
	// an editable draft state or rejecting it entirely.
	//
	ViewerCanReject bool `json:"viewerCanReject"`
	// Can the current viewer request this listing be reviewed for display in
	// the Marketplace as verified.
	//
	ViewerCanRequestApproval bool `json:"viewerCanRequestApproval"`
	// Indicates whether the current user has an active subscription to this Marketplace listing.
	//
	ViewerHasPurchased bool `json:"viewerHasPurchased"`
	// Indicates if the current user has purchased a subscription to this Marketplace listing
	// for all of the organizations the user owns.
	//
	ViewerHasPurchasedForAllOrganizations bool `json:"viewerHasPurchasedForAllOrganizations"`
	// Does the current viewer role allow them to administer this Marketplace listing.
	//
	ViewerIsListingAdmin bool `json:"viewerIsListingAdmin"`
}

A listing in the GitHub integration marketplace.

func (MarketplaceListing) GetID

func (this MarketplaceListing) GetID() string

ID of the object.

func (MarketplaceListing) IsNode

func (MarketplaceListing) IsNode()

func (MarketplaceListing) IsSearchResultItem

func (MarketplaceListing) IsSearchResultItem()

type MarketplaceListingConnection

type MarketplaceListingConnection struct {
	// A list of edges.
	Edges []*MarketplaceListingEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*MarketplaceListing `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

Look up Marketplace Listings

type MarketplaceListingEdge

type MarketplaceListingEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *MarketplaceListing `json:"node,omitempty"`
}

An edge in a connection.

type MemberFeatureRequestNotification

type MemberFeatureRequestNotification struct {
	// Represents member feature request body containing organization name and the number of feature requests
	Body string `json:"body"`
	// The Node ID of the MemberFeatureRequestNotification object
	ID string `json:"id"`
	// Represents member feature request notification title
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

Represents a member feature request notification

func (MemberFeatureRequestNotification) GetID

ID of the object.

func (MemberFeatureRequestNotification) IsNode

type MemberStatusable

type MemberStatusable interface {
	IsMemberStatusable()
	// Get the status messages members of this entity have set that are either public or visible only to the organization.
	GetMemberStatuses() *UserStatusConnection
}

Entities that have members who can set status messages.

type MembersCanDeleteReposClearAuditEntry

type MembersCanDeleteReposClearAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the MembersCanDeleteReposClearAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a members_can_delete_repos.clear event.

func (MembersCanDeleteReposClearAuditEntry) GetAction

The action name

func (MembersCanDeleteReposClearAuditEntry) GetActor

The user who initiated the action

func (MembersCanDeleteReposClearAuditEntry) GetActorIP

func (this MembersCanDeleteReposClearAuditEntry) GetActorIP() *string

The IP address of the actor

func (MembersCanDeleteReposClearAuditEntry) GetActorLocation

func (this MembersCanDeleteReposClearAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (MembersCanDeleteReposClearAuditEntry) GetActorLogin

func (this MembersCanDeleteReposClearAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (MembersCanDeleteReposClearAuditEntry) GetActorResourcePath

func (this MembersCanDeleteReposClearAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (MembersCanDeleteReposClearAuditEntry) GetActorURL

func (this MembersCanDeleteReposClearAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (MembersCanDeleteReposClearAuditEntry) GetCreatedAt

func (this MembersCanDeleteReposClearAuditEntry) GetCreatedAt() string

The time the action was initiated

func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath

func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug

func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (MembersCanDeleteReposClearAuditEntry) GetEnterpriseURL

func (this MembersCanDeleteReposClearAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (MembersCanDeleteReposClearAuditEntry) GetID

ID of the object.

func (MembersCanDeleteReposClearAuditEntry) GetOperationType

func (this MembersCanDeleteReposClearAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (MembersCanDeleteReposClearAuditEntry) GetOrganization

func (this MembersCanDeleteReposClearAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (MembersCanDeleteReposClearAuditEntry) GetOrganizationName

func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath

func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (MembersCanDeleteReposClearAuditEntry) GetOrganizationURL

func (this MembersCanDeleteReposClearAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (MembersCanDeleteReposClearAuditEntry) GetUser

The user affected by the action

func (MembersCanDeleteReposClearAuditEntry) GetUserLogin

func (this MembersCanDeleteReposClearAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (MembersCanDeleteReposClearAuditEntry) GetUserResourcePath

func (this MembersCanDeleteReposClearAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (MembersCanDeleteReposClearAuditEntry) GetUserURL

func (this MembersCanDeleteReposClearAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (MembersCanDeleteReposClearAuditEntry) IsAuditEntry

func (MembersCanDeleteReposClearAuditEntry) IsAuditEntry()

func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData

func (MembersCanDeleteReposClearAuditEntry) IsEnterpriseAuditEntryData()

func (MembersCanDeleteReposClearAuditEntry) IsNode

func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry

func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntry()

func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData

func (MembersCanDeleteReposClearAuditEntry) IsOrganizationAuditEntryData()

type MembersCanDeleteReposDisableAuditEntry

type MembersCanDeleteReposDisableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the MembersCanDeleteReposDisableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a members_can_delete_repos.disable event.

func (MembersCanDeleteReposDisableAuditEntry) GetAction

The action name

func (MembersCanDeleteReposDisableAuditEntry) GetActor

The user who initiated the action

func (MembersCanDeleteReposDisableAuditEntry) GetActorIP

The IP address of the actor

func (MembersCanDeleteReposDisableAuditEntry) GetActorLocation

func (this MembersCanDeleteReposDisableAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (MembersCanDeleteReposDisableAuditEntry) GetActorLogin

func (this MembersCanDeleteReposDisableAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath

func (this MembersCanDeleteReposDisableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (MembersCanDeleteReposDisableAuditEntry) GetActorURL

func (this MembersCanDeleteReposDisableAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (MembersCanDeleteReposDisableAuditEntry) GetCreatedAt

func (this MembersCanDeleteReposDisableAuditEntry) GetCreatedAt() string

The time the action was initiated

func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath

func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug

func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (MembersCanDeleteReposDisableAuditEntry) GetEnterpriseURL

func (this MembersCanDeleteReposDisableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (MembersCanDeleteReposDisableAuditEntry) GetID

ID of the object.

func (MembersCanDeleteReposDisableAuditEntry) GetOperationType

func (this MembersCanDeleteReposDisableAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (MembersCanDeleteReposDisableAuditEntry) GetOrganization

func (this MembersCanDeleteReposDisableAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationName

func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath

func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (MembersCanDeleteReposDisableAuditEntry) GetOrganizationURL

func (this MembersCanDeleteReposDisableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (MembersCanDeleteReposDisableAuditEntry) GetUser

The user affected by the action

func (MembersCanDeleteReposDisableAuditEntry) GetUserLogin

func (this MembersCanDeleteReposDisableAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath

func (this MembersCanDeleteReposDisableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (MembersCanDeleteReposDisableAuditEntry) GetUserURL

The HTTP URL for the user.

func (MembersCanDeleteReposDisableAuditEntry) IsAuditEntry

func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData

func (MembersCanDeleteReposDisableAuditEntry) IsEnterpriseAuditEntryData()

func (MembersCanDeleteReposDisableAuditEntry) IsNode

func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry

func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntry()

func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData

func (MembersCanDeleteReposDisableAuditEntry) IsOrganizationAuditEntryData()

type MembersCanDeleteReposEnableAuditEntry

type MembersCanDeleteReposEnableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the MembersCanDeleteReposEnableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a members_can_delete_repos.enable event.

func (MembersCanDeleteReposEnableAuditEntry) GetAction

The action name

func (MembersCanDeleteReposEnableAuditEntry) GetActor

The user who initiated the action

func (MembersCanDeleteReposEnableAuditEntry) GetActorIP

func (this MembersCanDeleteReposEnableAuditEntry) GetActorIP() *string

The IP address of the actor

func (MembersCanDeleteReposEnableAuditEntry) GetActorLocation

func (this MembersCanDeleteReposEnableAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (MembersCanDeleteReposEnableAuditEntry) GetActorLogin

func (this MembersCanDeleteReposEnableAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath

func (this MembersCanDeleteReposEnableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (MembersCanDeleteReposEnableAuditEntry) GetActorURL

func (this MembersCanDeleteReposEnableAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (MembersCanDeleteReposEnableAuditEntry) GetCreatedAt

func (this MembersCanDeleteReposEnableAuditEntry) GetCreatedAt() string

The time the action was initiated

func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath

func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug

func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (MembersCanDeleteReposEnableAuditEntry) GetEnterpriseURL

func (this MembersCanDeleteReposEnableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (MembersCanDeleteReposEnableAuditEntry) GetID

ID of the object.

func (MembersCanDeleteReposEnableAuditEntry) GetOperationType

func (this MembersCanDeleteReposEnableAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (MembersCanDeleteReposEnableAuditEntry) GetOrganization

func (this MembersCanDeleteReposEnableAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationName

func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath

func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (MembersCanDeleteReposEnableAuditEntry) GetOrganizationURL

func (this MembersCanDeleteReposEnableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (MembersCanDeleteReposEnableAuditEntry) GetUser

The user affected by the action

func (MembersCanDeleteReposEnableAuditEntry) GetUserLogin

func (this MembersCanDeleteReposEnableAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath

func (this MembersCanDeleteReposEnableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (MembersCanDeleteReposEnableAuditEntry) GetUserURL

func (this MembersCanDeleteReposEnableAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (MembersCanDeleteReposEnableAuditEntry) IsAuditEntry

func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData

func (MembersCanDeleteReposEnableAuditEntry) IsEnterpriseAuditEntryData()

func (MembersCanDeleteReposEnableAuditEntry) IsNode

func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry

func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntry()

func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData

func (MembersCanDeleteReposEnableAuditEntry) IsOrganizationAuditEntryData()

type MentionedEvent

type MentionedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the MentionedEvent object
	ID string `json:"id"`
}

Represents a 'mentioned' event on a given issue or pull request.

func (MentionedEvent) GetID

func (this MentionedEvent) GetID() string

ID of the object.

func (MentionedEvent) IsIssueTimelineItems

func (MentionedEvent) IsIssueTimelineItems()

func (MentionedEvent) IsNode

func (MentionedEvent) IsNode()

func (MentionedEvent) IsPullRequestTimelineItems

func (MentionedEvent) IsPullRequestTimelineItems()

type MergeBranchInput

type MergeBranchInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the Repository containing the base branch that will be modified.
	RepositoryID string `json:"repositoryId"`
	// The name of the base branch that the provided head will be merged into.
	Base string `json:"base"`
	// The head to merge into the base branch. This can be a branch name or a commit GitObjectID.
	Head string `json:"head"`
	// Message to use for the merge commit. If omitted, a default will be used.
	CommitMessage *string `json:"commitMessage,omitempty"`
	// The email address to associate with this commit.
	AuthorEmail *string `json:"authorEmail,omitempty"`
}

Autogenerated input type of MergeBranch

type MergeBranchPayload

type MergeBranchPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The resulting merge Commit.
	MergeCommit *Commit `json:"mergeCommit,omitempty"`
}

Autogenerated return type of MergeBranch

type 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 MergePullRequestInput

type MergePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to be merged.
	PullRequestID string `json:"pullRequestId"`
	// Commit headline to use for the merge commit; if omitted, a default message will be used.
	CommitHeadline *string `json:"commitHeadline,omitempty"`
	// Commit body to use for the merge commit; if omitted, a default message will be used
	CommitBody *string `json:"commitBody,omitempty"`
	// OID that the pull request head ref must match to allow merge; if omitted, no check is performed.
	ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"`
	// The merge method to use. If omitted, defaults to 'MERGE'
	MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"`
	// The email address to associate with this merge.
	AuthorEmail *string `json:"authorEmail,omitempty"`
}

Autogenerated input type of MergePullRequest

type MergePullRequestPayload

type MergePullRequestPayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that was merged.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of MergePullRequest

type MergeQueue

type MergeQueue struct {
	// The configuration for this merge queue
	Configuration *MergeQueueConfiguration `json:"configuration,omitempty"`
	// The entries in the queue
	Entries *MergeQueueEntryConnection `json:"entries,omitempty"`
	// The Node ID of the MergeQueue object
	ID string `json:"id"`
	// The estimated time in seconds until a newly added entry would be merged
	NextEntryEstimatedTimeToMerge *int `json:"nextEntryEstimatedTimeToMerge,omitempty"`
	// The repository this merge queue belongs to
	Repository *Repository `json:"repository,omitempty"`
	// The HTTP path for this merge queue
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this merge queue
	URL string `json:"url"`
}

The queue of pull request entries to be merged into a protected branch in a repository.

func (MergeQueue) GetID

func (this MergeQueue) GetID() string

ID of the object.

func (MergeQueue) IsNode

func (MergeQueue) IsNode()

type MergeQueueConfiguration

type MergeQueueConfiguration struct {
	// The amount of time in minutes to wait for a check response before considering it a failure.
	CheckResponseTimeout *int `json:"checkResponseTimeout,omitempty"`
	// The maximum number of entries to build at once.
	MaximumEntriesToBuild *int `json:"maximumEntriesToBuild,omitempty"`
	// The maximum number of entries to merge at once.
	MaximumEntriesToMerge *int `json:"maximumEntriesToMerge,omitempty"`
	// The merge method to use for this queue.
	MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"`
	// The strategy to use when merging entries.
	MergingStrategy *MergeQueueMergingStrategy `json:"mergingStrategy,omitempty"`
	// The minimum number of entries required to merge at once.
	MinimumEntriesToMerge *int `json:"minimumEntriesToMerge,omitempty"`
	// The amount of time in minutes to wait before ignoring the minumum number of entries in the queue requirement and merging a collection of entries
	MinimumEntriesToMergeWaitTime *int `json:"minimumEntriesToMergeWaitTime,omitempty"`
}

Configuration for a MergeQueue

type MergeQueueEntry

type MergeQueueEntry struct {
	// The base commit for this entry
	BaseCommit *Commit `json:"baseCommit,omitempty"`
	// The date and time this entry was added to the merge queue
	EnqueuedAt time.Time `json:"enqueuedAt"`
	// The actor that enqueued this entry
	Enqueuer Actor `json:"enqueuer"`
	// The estimated time in seconds until this entry will be merged
	EstimatedTimeToMerge *int `json:"estimatedTimeToMerge,omitempty"`
	// The head commit for this entry
	HeadCommit *Commit `json:"headCommit,omitempty"`
	// The Node ID of the MergeQueueEntry object
	ID string `json:"id"`
	// Whether this pull request should jump the queue
	Jump bool `json:"jump"`
	// The merge queue that this entry belongs to
	MergeQueue *MergeQueue `json:"mergeQueue,omitempty"`
	// The position of this entry in the queue
	Position int `json:"position"`
	// The pull request that will be added to a merge group
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// Does this pull request need to be deployed on its own
	Solo bool `json:"solo"`
	// The state of this entry in the queue
	State MergeQueueEntryState `json:"state"`
}

Entries in a MergeQueue

func (MergeQueueEntry) GetID

func (this MergeQueueEntry) GetID() string

ID of the object.

func (MergeQueueEntry) IsNode

func (MergeQueueEntry) IsNode()

type MergeQueueEntryConnection

type MergeQueueEntryConnection struct {
	// A list of edges.
	Edges []*MergeQueueEntryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*MergeQueueEntry `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for MergeQueueEntry.

type MergeQueueEntryEdge

type MergeQueueEntryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *MergeQueueEntry `json:"node,omitempty"`
}

An edge in a connection.

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

type MergeableState string

Whether or not a PullRequest can be merged.

const (
	// The pull request can be merged.
	MergeableStateMergeable MergeableState = "MERGEABLE"
	// The pull request cannot be merged due to merge conflicts.
	MergeableStateConflicting MergeableState = "CONFLICTING"
	// The mergeability of the pull request is still being calculated.
	MergeableStateUnknown MergeableState = "UNKNOWN"
)

func (MergeableState) IsValid

func (e MergeableState) IsValid() bool

func (MergeableState) MarshalGQL

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

func (MergeableState) String

func (e MergeableState) String() string

func (*MergeableState) UnmarshalGQL

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

type MergedEvent

type MergedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the commit associated with the `merge` event.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the MergedEvent object
	ID string `json:"id"`
	// Identifies the Ref associated with the `merge` event.
	MergeRef *Ref `json:"mergeRef,omitempty"`
	// Identifies the name of the Ref associated with the `merge` event.
	MergeRefName string `json:"mergeRefName"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// The HTTP path for this merged event.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this merged event.
	URL string `json:"url"`
}

Represents a 'merged' event on a given pull request.

func (MergedEvent) GetID

func (this MergedEvent) GetID() string

ID of the object.

func (MergedEvent) GetResourcePath

func (this MergedEvent) GetResourcePath() string

The HTML path to this resource.

func (MergedEvent) GetURL

func (this MergedEvent) GetURL() string

The URL to this resource.

func (MergedEvent) IsNode

func (MergedEvent) IsNode()

func (MergedEvent) IsPullRequestTimelineItem

func (MergedEvent) IsPullRequestTimelineItem()

func (MergedEvent) IsPullRequestTimelineItems

func (MergedEvent) IsPullRequestTimelineItems()

func (MergedEvent) IsUniformResourceLocatable

func (MergedEvent) IsUniformResourceLocatable()

type Migration

type Migration interface {
	IsMigration()
	// The migration flag to continue on error.
	GetContinueOnError() bool
	// Identifies the date and time when the object was created.
	GetCreatedAt() time.Time
	// Identifies the primary key from the database.
	GetDatabaseID() *string
	// The reason the migration failed.
	GetFailureReason() *string
	// The Node ID of the Migration object
	GetID() string
	// The URL for the migration log (expires 1 day after migration completes).
	GetMigrationLogURL() *string
	// The migration source.
	GetMigrationSource() *MigrationSource
	// The target repository name.
	GetRepositoryName() string
	// The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.
	GetSourceURL() string
	// The migration state.
	GetState() MigrationState
	// The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer).
	GetWarningsCount() int
}

Represents a GitHub Enterprise Importer (GEI) migration.

type MigrationSource

type MigrationSource struct {
	// The Node ID of the MigrationSource object
	ID string `json:"id"`
	// The migration source name.
	Name string `json:"name"`
	// The migration source type.
	Type MigrationSourceType `json:"type"`
	// The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.
	URL string `json:"url"`
}

A GitHub Enterprise Importer (GEI) migration source.

func (MigrationSource) GetID

func (this MigrationSource) GetID() string

ID of the object.

func (MigrationSource) IsNode

func (MigrationSource) IsNode()

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 Milestone

type Milestone struct {
	// Indicates if the object is closed (definition of closed may depend on type)
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the actor who created the milestone.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the description of the milestone.
	Description *string `json:"description,omitempty"`
	// Identifies the due date of the milestone.
	DueOn *time.Time `json:"dueOn,omitempty"`
	// The Node ID of the Milestone object
	ID string `json:"id"`
	// A list of issues associated with the milestone.
	Issues *IssueConnection `json:"issues"`
	// Identifies the number of the milestone.
	Number int `json:"number"`
	// Identifies the percentage complete for the milestone
	ProgressPercentage float64 `json:"progressPercentage"`
	// A list of pull requests associated with the milestone.
	PullRequests *PullRequestConnection `json:"pullRequests"`
	// The repository associated with this milestone.
	Repository *Repository `json:"repository"`
	// The HTTP path for this milestone
	ResourcePath string `json:"resourcePath"`
	// Identifies the state of the milestone.
	State MilestoneState `json:"state"`
	// Identifies the title of the milestone.
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this milestone
	URL string `json:"url"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
}

Represents a Milestone object on a given repository.

func (Milestone) GetClosed

func (this Milestone) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (Milestone) GetClosedAt

func (this Milestone) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (Milestone) GetID

func (this Milestone) GetID() string

ID of the object.

func (Milestone) GetResourcePath

func (this Milestone) GetResourcePath() string

The HTML path to this resource.

func (Milestone) GetURL

func (this Milestone) GetURL() string

The URL to this resource.

func (Milestone) GetViewerCanClose

func (this Milestone) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (Milestone) GetViewerCanReopen

func (this Milestone) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (Milestone) IsClosable

func (Milestone) IsClosable()

func (Milestone) IsNode

func (Milestone) IsNode()

func (Milestone) IsUniformResourceLocatable

func (Milestone) IsUniformResourceLocatable()

type MilestoneConnection

type MilestoneConnection struct {
	// A list of edges.
	Edges []*MilestoneEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Milestone `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Milestone.

type MilestoneEdge

type MilestoneEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Milestone `json:"node,omitempty"`
}

An edge in a connection.

type MilestoneItem

type MilestoneItem interface {
	IsMilestoneItem()
}

Types that can be inside a Milestone.

type MilestoneOrder

type MilestoneOrder struct {
	// The field to order milestones by.
	Field MilestoneOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for milestone connections.

type MilestoneOrderField

type MilestoneOrderField string

Properties by which milestone connections can be ordered.

const (
	// Order milestones by when they are due.
	MilestoneOrderFieldDueDate MilestoneOrderField = "DUE_DATE"
	// Order milestones by when they were created.
	MilestoneOrderFieldCreatedAt MilestoneOrderField = "CREATED_AT"
	// Order milestones by when they were last updated.
	MilestoneOrderFieldUpdatedAt MilestoneOrderField = "UPDATED_AT"
	// Order milestones by their number.
	MilestoneOrderFieldNumber MilestoneOrderField = "NUMBER"
)

func (MilestoneOrderField) IsValid

func (e MilestoneOrderField) IsValid() bool

func (MilestoneOrderField) MarshalGQL

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

func (MilestoneOrderField) String

func (e MilestoneOrderField) String() string

func (*MilestoneOrderField) UnmarshalGQL

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

type MilestoneState

type MilestoneState string

The possible states of a milestone.

const (
	// A milestone that is still open.
	MilestoneStateOpen MilestoneState = "OPEN"
	// A milestone that has been closed.
	MilestoneStateClosed MilestoneState = "CLOSED"
)

func (MilestoneState) IsValid

func (e MilestoneState) IsValid() bool

func (MilestoneState) MarshalGQL

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

func (MilestoneState) String

func (e MilestoneState) String() string

func (*MilestoneState) UnmarshalGQL

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

type MilestonedEvent

type MilestonedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the MilestonedEvent object
	ID string `json:"id"`
	// Identifies the milestone title associated with the 'milestoned' event.
	MilestoneTitle string `json:"milestoneTitle"`
	// Object referenced by event.
	Subject MilestoneItem `json:"subject"`
}

Represents a 'milestoned' event on a given issue or pull request.

func (MilestonedEvent) GetID

func (this MilestonedEvent) GetID() string

ID of the object.

func (MilestonedEvent) IsIssueTimelineItem

func (MilestonedEvent) IsIssueTimelineItem()

func (MilestonedEvent) IsIssueTimelineItems

func (MilestonedEvent) IsIssueTimelineItems()

func (MilestonedEvent) IsNode

func (MilestonedEvent) IsNode()

func (MilestonedEvent) IsPullRequestTimelineItem

func (MilestonedEvent) IsPullRequestTimelineItem()

func (MilestonedEvent) IsPullRequestTimelineItems

func (MilestonedEvent) IsPullRequestTimelineItems()

type Minimizable

type Minimizable interface {
	IsMinimizable()
	// Returns whether or not a comment has been minimized.
	GetIsMinimized() bool
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	GetMinimizedReason() *string
	// Check if the current viewer can minimize this object.
	GetViewerCanMinimize() bool
}

Entities that can be minimized.

type MinimizeCommentInput

type MinimizeCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subject to modify.
	SubjectID string `json:"subjectId"`
	// The classification of comment
	Classifier ReportedContentClassifiers `json:"classifier"`
}

Autogenerated input type of MinimizeComment

type MinimizeCommentPayload

type MinimizeCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The comment that was minimized.
	MinimizedComment Minimizable `json:"minimizedComment,omitempty"`
}

Autogenerated return type of MinimizeComment

type MoveProjectCardInput

type MoveProjectCardInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the card to move.
	CardID string `json:"cardId"`
	// The id of the column to move it into.
	ColumnID string `json:"columnId"`
	// Place the new card after the card with this id. Pass null to place it at the top.
	AfterCardID *string `json:"afterCardId,omitempty"`
}

Autogenerated input type of MoveProjectCard

type MoveProjectCardPayload

type MoveProjectCardPayload struct {
	// The new edge of the moved card.
	CardEdge *ProjectCardEdge `json:"cardEdge,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of MoveProjectCard

type MoveProjectColumnInput

type MoveProjectColumnInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the column to move.
	ColumnID string `json:"columnId"`
	// Place the new column after the column with this id. Pass null to place it at the front.
	AfterColumnID *string `json:"afterColumnId,omitempty"`
}

Autogenerated input type of MoveProjectColumn

type MoveProjectColumnPayload

type MoveProjectColumnPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new edge of the moved column.
	ColumnEdge *ProjectColumnEdge `json:"columnEdge,omitempty"`
}

Autogenerated return type of MoveProjectColumn

type MovedColumnsInProjectEvent

type MovedColumnsInProjectEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the MovedColumnsInProjectEvent object
	ID string `json:"id"`
}

Represents a 'moved_columns_in_project' event on a given issue or pull request.

func (MovedColumnsInProjectEvent) GetID

func (this MovedColumnsInProjectEvent) GetID() string

ID of the object.

func (MovedColumnsInProjectEvent) IsIssueTimelineItems

func (MovedColumnsInProjectEvent) IsIssueTimelineItems()

func (MovedColumnsInProjectEvent) IsNode

func (MovedColumnsInProjectEvent) IsNode()

func (MovedColumnsInProjectEvent) IsPullRequestTimelineItems

func (MovedColumnsInProjectEvent) IsPullRequestTimelineItems()

type Mutation

type Mutation struct {
}

The root query for implementing GraphQL mutations.

type Node

type Node interface {
	IsNode()
	// ID of the object.
	GetID() string
}

An object with an ID.

type NotificationRestrictionSettingValue

type NotificationRestrictionSettingValue string

The possible values for the notification restriction setting.

const (
	// The setting is enabled for the owner.
	NotificationRestrictionSettingValueEnabled NotificationRestrictionSettingValue = "ENABLED"
	// The setting is disabled for the owner.
	NotificationRestrictionSettingValueDisabled NotificationRestrictionSettingValue = "DISABLED"
)

func (NotificationRestrictionSettingValue) IsValid

func (NotificationRestrictionSettingValue) MarshalGQL

func (NotificationRestrictionSettingValue) String

func (*NotificationRestrictionSettingValue) UnmarshalGQL

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

type OIDCProvider

type OIDCProvider struct {
	// The enterprise this identity provider belongs to.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// ExternalIdentities provisioned by this identity provider.
	ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities"`
	// The Node ID of the OIDCProvider object
	ID string `json:"id"`
	// The OIDC identity provider type
	ProviderType OIDCProviderType `json:"providerType"`
	// The id of the tenant this provider is attached to
	TenantID string `json:"tenantId"`
}

An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

func (OIDCProvider) GetID

func (this OIDCProvider) GetID() string

ID of the object.

func (OIDCProvider) IsNode

func (OIDCProvider) IsNode()

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 OauthApplicationAuditEntryData

type OauthApplicationAuditEntryData interface {
	IsOauthApplicationAuditEntryData()
	// The name of the OAuth application.
	GetOauthApplicationName() *string
	// The HTTP path for the OAuth application
	GetOauthApplicationResourcePath() *string
	// The HTTP URL for the OAuth application
	GetOauthApplicationURL() *string
}

Metadata for an audit entry with action oauth_application.*

type OauthApplicationCreateAuditEntry

type OauthApplicationCreateAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The application URL of the OAuth application.
	ApplicationURL *string `json:"applicationUrl,omitempty"`
	// The callback URL of the OAuth application.
	CallbackURL *string `json:"callbackUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OauthApplicationCreateAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The rate limit of the OAuth application.
	RateLimit *int `json:"rateLimit,omitempty"`
	// The state of the OAuth application.
	State *OauthApplicationCreateAuditEntryState `json:"state,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a oauth_application.create event.

func (OauthApplicationCreateAuditEntry) GetAction

func (this OauthApplicationCreateAuditEntry) GetAction() string

The action name

func (OauthApplicationCreateAuditEntry) GetActor

The user who initiated the action

func (OauthApplicationCreateAuditEntry) GetActorIP

func (this OauthApplicationCreateAuditEntry) GetActorIP() *string

The IP address of the actor

func (OauthApplicationCreateAuditEntry) GetActorLocation

func (this OauthApplicationCreateAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OauthApplicationCreateAuditEntry) GetActorLogin

func (this OauthApplicationCreateAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OauthApplicationCreateAuditEntry) GetActorResourcePath

func (this OauthApplicationCreateAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OauthApplicationCreateAuditEntry) GetActorURL

func (this OauthApplicationCreateAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OauthApplicationCreateAuditEntry) GetCreatedAt

func (this OauthApplicationCreateAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OauthApplicationCreateAuditEntry) GetID

ID of the object.

func (OauthApplicationCreateAuditEntry) GetOauthApplicationName

func (this OauthApplicationCreateAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath

func (this OauthApplicationCreateAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OauthApplicationCreateAuditEntry) GetOauthApplicationURL

func (this OauthApplicationCreateAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OauthApplicationCreateAuditEntry) GetOperationType

func (this OauthApplicationCreateAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OauthApplicationCreateAuditEntry) GetOrganization

func (this OauthApplicationCreateAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OauthApplicationCreateAuditEntry) GetOrganizationName

func (this OauthApplicationCreateAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OauthApplicationCreateAuditEntry) GetOrganizationResourcePath

func (this OauthApplicationCreateAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OauthApplicationCreateAuditEntry) GetOrganizationURL

func (this OauthApplicationCreateAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OauthApplicationCreateAuditEntry) GetUser

func (this OauthApplicationCreateAuditEntry) GetUser() *User

The user affected by the action

func (OauthApplicationCreateAuditEntry) GetUserLogin

func (this OauthApplicationCreateAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OauthApplicationCreateAuditEntry) GetUserResourcePath

func (this OauthApplicationCreateAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OauthApplicationCreateAuditEntry) GetUserURL

func (this OauthApplicationCreateAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OauthApplicationCreateAuditEntry) IsAuditEntry

func (OauthApplicationCreateAuditEntry) IsAuditEntry()

func (OauthApplicationCreateAuditEntry) IsNode

func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData

func (OauthApplicationCreateAuditEntry) IsOauthApplicationAuditEntryData()

func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry

func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntry()

func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData

func (OauthApplicationCreateAuditEntry) IsOrganizationAuditEntryData()

type OauthApplicationCreateAuditEntryState

type OauthApplicationCreateAuditEntryState string

The state of an OAuth application when it was created.

const (
	// The OAuth application was active and allowed to have OAuth Accesses.
	OauthApplicationCreateAuditEntryStateActive OauthApplicationCreateAuditEntryState = "ACTIVE"
	// The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns.
	OauthApplicationCreateAuditEntryStateSuspended OauthApplicationCreateAuditEntryState = "SUSPENDED"
	// The OAuth application was in the process of being deleted.
	OauthApplicationCreateAuditEntryStatePendingDeletion OauthApplicationCreateAuditEntryState = "PENDING_DELETION"
)

func (OauthApplicationCreateAuditEntryState) IsValid

func (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 OrgAddBillingManagerAuditEntry

type OrgAddBillingManagerAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgAddBillingManagerAuditEntry object
	ID string `json:"id"`
	// The email address used to invite a billing manager for the organization.
	InvitationEmail *string `json:"invitationEmail,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.add_billing_manager

func (OrgAddBillingManagerAuditEntry) GetAction

func (this OrgAddBillingManagerAuditEntry) GetAction() string

The action name

func (OrgAddBillingManagerAuditEntry) GetActor

The user who initiated the action

func (OrgAddBillingManagerAuditEntry) GetActorIP

func (this OrgAddBillingManagerAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgAddBillingManagerAuditEntry) GetActorLocation

func (this OrgAddBillingManagerAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgAddBillingManagerAuditEntry) GetActorLogin

func (this OrgAddBillingManagerAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgAddBillingManagerAuditEntry) GetActorResourcePath

func (this OrgAddBillingManagerAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgAddBillingManagerAuditEntry) GetActorURL

func (this OrgAddBillingManagerAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgAddBillingManagerAuditEntry) GetCreatedAt

func (this OrgAddBillingManagerAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgAddBillingManagerAuditEntry) GetID

ID of the object.

func (OrgAddBillingManagerAuditEntry) GetOperationType

func (this OrgAddBillingManagerAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgAddBillingManagerAuditEntry) GetOrganization

func (this OrgAddBillingManagerAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgAddBillingManagerAuditEntry) GetOrganizationName

func (this OrgAddBillingManagerAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath

func (this OrgAddBillingManagerAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgAddBillingManagerAuditEntry) GetOrganizationURL

func (this OrgAddBillingManagerAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgAddBillingManagerAuditEntry) GetUser

func (this OrgAddBillingManagerAuditEntry) GetUser() *User

The user affected by the action

func (OrgAddBillingManagerAuditEntry) GetUserLogin

func (this OrgAddBillingManagerAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgAddBillingManagerAuditEntry) GetUserResourcePath

func (this OrgAddBillingManagerAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgAddBillingManagerAuditEntry) GetUserURL

func (this OrgAddBillingManagerAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgAddBillingManagerAuditEntry) IsAuditEntry

func (OrgAddBillingManagerAuditEntry) IsAuditEntry()

func (OrgAddBillingManagerAuditEntry) IsNode

func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntry

func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntry()

func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntryData

func (OrgAddBillingManagerAuditEntry) IsOrganizationAuditEntryData()

type OrgAddMemberAuditEntry

type OrgAddMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgAddMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The permission level of the member added to the organization.
	Permission *OrgAddMemberAuditEntryPermission `json:"permission,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.add_member

func (OrgAddMemberAuditEntry) GetAction

func (this OrgAddMemberAuditEntry) GetAction() string

The action name

func (OrgAddMemberAuditEntry) GetActor

func (this OrgAddMemberAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgAddMemberAuditEntry) GetActorIP

func (this OrgAddMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgAddMemberAuditEntry) GetActorLocation

func (this OrgAddMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgAddMemberAuditEntry) GetActorLogin

func (this OrgAddMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgAddMemberAuditEntry) GetActorResourcePath

func (this OrgAddMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgAddMemberAuditEntry) GetActorURL

func (this OrgAddMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgAddMemberAuditEntry) GetCreatedAt

func (this OrgAddMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgAddMemberAuditEntry) GetID

func (this OrgAddMemberAuditEntry) GetID() string

ID of the object.

func (OrgAddMemberAuditEntry) GetOperationType

func (this OrgAddMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgAddMemberAuditEntry) GetOrganization

func (this OrgAddMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgAddMemberAuditEntry) GetOrganizationName

func (this OrgAddMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgAddMemberAuditEntry) GetOrganizationResourcePath

func (this OrgAddMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgAddMemberAuditEntry) GetOrganizationURL

func (this OrgAddMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgAddMemberAuditEntry) GetUser

func (this OrgAddMemberAuditEntry) GetUser() *User

The user affected by the action

func (OrgAddMemberAuditEntry) GetUserLogin

func (this OrgAddMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgAddMemberAuditEntry) GetUserResourcePath

func (this OrgAddMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgAddMemberAuditEntry) GetUserURL

func (this OrgAddMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgAddMemberAuditEntry) IsAuditEntry

func (OrgAddMemberAuditEntry) IsAuditEntry()

func (OrgAddMemberAuditEntry) IsNode

func (OrgAddMemberAuditEntry) IsNode()

func (OrgAddMemberAuditEntry) IsOrganizationAuditEntry

func (OrgAddMemberAuditEntry) IsOrganizationAuditEntry()

func (OrgAddMemberAuditEntry) IsOrganizationAuditEntryData

func (OrgAddMemberAuditEntry) IsOrganizationAuditEntryData()

type OrgAddMemberAuditEntryPermission

type OrgAddMemberAuditEntryPermission string

The permissions available to members on an Organization.

const (
	// Can read and clone repositories.
	OrgAddMemberAuditEntryPermissionRead OrgAddMemberAuditEntryPermission = "READ"
	// Can read, clone, push, and add collaborators to repositories.
	OrgAddMemberAuditEntryPermissionAdmin OrgAddMemberAuditEntryPermission = "ADMIN"
)

func (OrgAddMemberAuditEntryPermission) IsValid

func (OrgAddMemberAuditEntryPermission) MarshalGQL

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

func (OrgAddMemberAuditEntryPermission) String

func (*OrgAddMemberAuditEntryPermission) UnmarshalGQL

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

type OrgBlockUserAuditEntry

type OrgBlockUserAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The blocked user.
	BlockedUser *User `json:"blockedUser,omitempty"`
	// The username of the blocked user.
	BlockedUserName *string `json:"blockedUserName,omitempty"`
	// The HTTP path for the blocked user.
	BlockedUserResourcePath *string `json:"blockedUserResourcePath,omitempty"`
	// The HTTP URL for the blocked user.
	BlockedUserURL *string `json:"blockedUserUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgBlockUserAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.block_user

func (OrgBlockUserAuditEntry) GetAction

func (this OrgBlockUserAuditEntry) GetAction() string

The action name

func (OrgBlockUserAuditEntry) GetActor

func (this OrgBlockUserAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgBlockUserAuditEntry) GetActorIP

func (this OrgBlockUserAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgBlockUserAuditEntry) GetActorLocation

func (this OrgBlockUserAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgBlockUserAuditEntry) GetActorLogin

func (this OrgBlockUserAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgBlockUserAuditEntry) GetActorResourcePath

func (this OrgBlockUserAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgBlockUserAuditEntry) GetActorURL

func (this OrgBlockUserAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgBlockUserAuditEntry) GetCreatedAt

func (this OrgBlockUserAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgBlockUserAuditEntry) GetID

func (this OrgBlockUserAuditEntry) GetID() string

ID of the object.

func (OrgBlockUserAuditEntry) GetOperationType

func (this OrgBlockUserAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgBlockUserAuditEntry) GetOrganization

func (this OrgBlockUserAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgBlockUserAuditEntry) GetOrganizationName

func (this OrgBlockUserAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgBlockUserAuditEntry) GetOrganizationResourcePath

func (this OrgBlockUserAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgBlockUserAuditEntry) GetOrganizationURL

func (this OrgBlockUserAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgBlockUserAuditEntry) GetUser

func (this OrgBlockUserAuditEntry) GetUser() *User

The user affected by the action

func (OrgBlockUserAuditEntry) GetUserLogin

func (this OrgBlockUserAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgBlockUserAuditEntry) GetUserResourcePath

func (this OrgBlockUserAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgBlockUserAuditEntry) GetUserURL

func (this OrgBlockUserAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgBlockUserAuditEntry) IsAuditEntry

func (OrgBlockUserAuditEntry) IsAuditEntry()

func (OrgBlockUserAuditEntry) IsNode

func (OrgBlockUserAuditEntry) IsNode()

func (OrgBlockUserAuditEntry) IsOrganizationAuditEntry

func (OrgBlockUserAuditEntry) IsOrganizationAuditEntry()

func (OrgBlockUserAuditEntry) IsOrganizationAuditEntryData

func (OrgBlockUserAuditEntry) IsOrganizationAuditEntryData()

type OrgConfigDisableCollaboratorsOnlyAuditEntry

type OrgConfigDisableCollaboratorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.config.disable_collaborators_only event.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetAction

The action name

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActor

The user who initiated the action

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin

The username of the user who initiated the action

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath

func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetID

ID of the object.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName

func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath

func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL

func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUser

The user affected by the action

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath

func (this OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsNode

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (OrgConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()

type OrgConfigEnableCollaboratorsOnlyAuditEntry

type OrgConfigEnableCollaboratorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.config.enable_collaborators_only event.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetAction

The action name

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActor

The user who initiated the action

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetID

ID of the object.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUser

The user affected by the action

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath

func (this OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsNode

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (OrgConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()

type OrgCreateAuditEntry

type OrgCreateAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The billing plan for the Organization.
	BillingPlan *OrgCreateAuditEntryBillingPlan `json:"billingPlan,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgCreateAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.create event.

func (OrgCreateAuditEntry) GetAction

func (this OrgCreateAuditEntry) GetAction() string

The action name

func (OrgCreateAuditEntry) GetActor

func (this OrgCreateAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgCreateAuditEntry) GetActorIP

func (this OrgCreateAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgCreateAuditEntry) GetActorLocation

func (this OrgCreateAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgCreateAuditEntry) GetActorLogin

func (this OrgCreateAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgCreateAuditEntry) GetActorResourcePath

func (this OrgCreateAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgCreateAuditEntry) GetActorURL

func (this OrgCreateAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgCreateAuditEntry) GetCreatedAt

func (this OrgCreateAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgCreateAuditEntry) GetID

func (this OrgCreateAuditEntry) GetID() string

ID of the object.

func (OrgCreateAuditEntry) GetOperationType

func (this OrgCreateAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgCreateAuditEntry) GetOrganization

func (this OrgCreateAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgCreateAuditEntry) GetOrganizationName

func (this OrgCreateAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgCreateAuditEntry) GetOrganizationResourcePath

func (this OrgCreateAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgCreateAuditEntry) GetOrganizationURL

func (this OrgCreateAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgCreateAuditEntry) GetUser

func (this OrgCreateAuditEntry) GetUser() *User

The user affected by the action

func (OrgCreateAuditEntry) GetUserLogin

func (this OrgCreateAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgCreateAuditEntry) GetUserResourcePath

func (this OrgCreateAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgCreateAuditEntry) GetUserURL

func (this OrgCreateAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgCreateAuditEntry) IsAuditEntry

func (OrgCreateAuditEntry) IsAuditEntry()

func (OrgCreateAuditEntry) IsNode

func (OrgCreateAuditEntry) IsNode()

func (OrgCreateAuditEntry) IsOrganizationAuditEntry

func (OrgCreateAuditEntry) IsOrganizationAuditEntry()

func (OrgCreateAuditEntry) IsOrganizationAuditEntryData

func (OrgCreateAuditEntry) IsOrganizationAuditEntryData()

type OrgCreateAuditEntryBillingPlan

type OrgCreateAuditEntryBillingPlan string

The billing plans available for organizations.

const (
	// Free Plan
	OrgCreateAuditEntryBillingPlanFree OrgCreateAuditEntryBillingPlan = "FREE"
	// Team Plan
	OrgCreateAuditEntryBillingPlanBusiness OrgCreateAuditEntryBillingPlan = "BUSINESS"
	// Enterprise Cloud Plan
	OrgCreateAuditEntryBillingPlanBusinessPlus OrgCreateAuditEntryBillingPlan = "BUSINESS_PLUS"
	// Legacy Unlimited Plan
	OrgCreateAuditEntryBillingPlanUnlimited OrgCreateAuditEntryBillingPlan = "UNLIMITED"
	// Tiered Per Seat Plan
	OrgCreateAuditEntryBillingPlanTieredPerSeat OrgCreateAuditEntryBillingPlan = "TIERED_PER_SEAT"
)

func (OrgCreateAuditEntryBillingPlan) IsValid

func (OrgCreateAuditEntryBillingPlan) MarshalGQL

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

func (OrgCreateAuditEntryBillingPlan) String

func (*OrgCreateAuditEntryBillingPlan) UnmarshalGQL

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

type OrgDisableOauthAppRestrictionsAuditEntry

type OrgDisableOauthAppRestrictionsAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.disable_oauth_app_restrictions event.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetAction

The action name

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActor

The user who initiated the action

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorIP

The IP address of the actor

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgDisableOauthAppRestrictionsAuditEntry) GetID

ID of the object.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationURL

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgDisableOauthAppRestrictionsAuditEntry) GetUser

The user affected by the action

func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath

func (this OrgDisableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgDisableOauthAppRestrictionsAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgDisableOauthAppRestrictionsAuditEntry) IsAuditEntry

func (OrgDisableOauthAppRestrictionsAuditEntry) IsNode

func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry

func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()

func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData

func (OrgDisableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()

type OrgDisableSamlAuditEntry

type OrgDisableSamlAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The SAML provider's digest algorithm URL.
	DigestMethodURL *string `json:"digestMethodUrl,omitempty"`
	// The Node ID of the OrgDisableSamlAuditEntry object
	ID string `json:"id"`
	// The SAML provider's issuer URL.
	IssuerURL *string `json:"issuerUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The SAML provider's signature algorithm URL.
	SignatureMethodURL *string `json:"signatureMethodUrl,omitempty"`
	// The SAML provider's single sign-on URL.
	SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.disable_saml event.

func (OrgDisableSamlAuditEntry) GetAction

func (this OrgDisableSamlAuditEntry) GetAction() string

The action name

func (OrgDisableSamlAuditEntry) GetActor

func (this OrgDisableSamlAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgDisableSamlAuditEntry) GetActorIP

func (this OrgDisableSamlAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgDisableSamlAuditEntry) GetActorLocation

func (this OrgDisableSamlAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgDisableSamlAuditEntry) GetActorLogin

func (this OrgDisableSamlAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgDisableSamlAuditEntry) GetActorResourcePath

func (this OrgDisableSamlAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgDisableSamlAuditEntry) GetActorURL

func (this OrgDisableSamlAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgDisableSamlAuditEntry) GetCreatedAt

func (this OrgDisableSamlAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgDisableSamlAuditEntry) GetID

func (this OrgDisableSamlAuditEntry) GetID() string

ID of the object.

func (OrgDisableSamlAuditEntry) GetOperationType

func (this OrgDisableSamlAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgDisableSamlAuditEntry) GetOrganization

func (this OrgDisableSamlAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgDisableSamlAuditEntry) GetOrganizationName

func (this OrgDisableSamlAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgDisableSamlAuditEntry) GetOrganizationResourcePath

func (this OrgDisableSamlAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgDisableSamlAuditEntry) GetOrganizationURL

func (this OrgDisableSamlAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgDisableSamlAuditEntry) GetUser

func (this OrgDisableSamlAuditEntry) GetUser() *User

The user affected by the action

func (OrgDisableSamlAuditEntry) GetUserLogin

func (this OrgDisableSamlAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgDisableSamlAuditEntry) GetUserResourcePath

func (this OrgDisableSamlAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgDisableSamlAuditEntry) GetUserURL

func (this OrgDisableSamlAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgDisableSamlAuditEntry) IsAuditEntry

func (OrgDisableSamlAuditEntry) IsAuditEntry()

func (OrgDisableSamlAuditEntry) IsNode

func (OrgDisableSamlAuditEntry) IsNode()

func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntry

func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntry()

func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntryData

func (OrgDisableSamlAuditEntry) IsOrganizationAuditEntryData()

type OrgDisableTwoFactorRequirementAuditEntry

type OrgDisableTwoFactorRequirementAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.disable_two_factor_requirement event.

func (OrgDisableTwoFactorRequirementAuditEntry) GetAction

The action name

func (OrgDisableTwoFactorRequirementAuditEntry) GetActor

The user who initiated the action

func (OrgDisableTwoFactorRequirementAuditEntry) GetActorIP

The IP address of the actor

func (OrgDisableTwoFactorRequirementAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin

func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath

func (this OrgDisableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgDisableTwoFactorRequirementAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgDisableTwoFactorRequirementAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgDisableTwoFactorRequirementAuditEntry) GetID

ID of the object.

func (OrgDisableTwoFactorRequirementAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName

func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath

func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationURL

func (this OrgDisableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgDisableTwoFactorRequirementAuditEntry) GetUser

The user affected by the action

func (OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin

func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath

func (this OrgDisableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgDisableTwoFactorRequirementAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgDisableTwoFactorRequirementAuditEntry) IsAuditEntry

func (OrgDisableTwoFactorRequirementAuditEntry) IsNode

func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry

func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()

func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData

func (OrgDisableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()

type OrgEnableOauthAppRestrictionsAuditEntry

type OrgEnableOauthAppRestrictionsAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.enable_oauth_app_restrictions event.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetAction

The action name

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActor

The user who initiated the action

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorIP

The IP address of the actor

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetActorURL

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgEnableOauthAppRestrictionsAuditEntry) GetID

ID of the object.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationURL

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgEnableOauthAppRestrictionsAuditEntry) GetUser

The user affected by the action

func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath

func (this OrgEnableOauthAppRestrictionsAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgEnableOauthAppRestrictionsAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgEnableOauthAppRestrictionsAuditEntry) IsAuditEntry

func (OrgEnableOauthAppRestrictionsAuditEntry) IsNode

func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry

func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntry()

func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData

func (OrgEnableOauthAppRestrictionsAuditEntry) IsOrganizationAuditEntryData()

type OrgEnableSamlAuditEntry

type OrgEnableSamlAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The SAML provider's digest algorithm URL.
	DigestMethodURL *string `json:"digestMethodUrl,omitempty"`
	// The Node ID of the OrgEnableSamlAuditEntry object
	ID string `json:"id"`
	// The SAML provider's issuer URL.
	IssuerURL *string `json:"issuerUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The SAML provider's signature algorithm URL.
	SignatureMethodURL *string `json:"signatureMethodUrl,omitempty"`
	// The SAML provider's single sign-on URL.
	SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.enable_saml event.

func (OrgEnableSamlAuditEntry) GetAction

func (this OrgEnableSamlAuditEntry) GetAction() string

The action name

func (OrgEnableSamlAuditEntry) GetActor

func (this OrgEnableSamlAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgEnableSamlAuditEntry) GetActorIP

func (this OrgEnableSamlAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgEnableSamlAuditEntry) GetActorLocation

func (this OrgEnableSamlAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgEnableSamlAuditEntry) GetActorLogin

func (this OrgEnableSamlAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgEnableSamlAuditEntry) GetActorResourcePath

func (this OrgEnableSamlAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgEnableSamlAuditEntry) GetActorURL

func (this OrgEnableSamlAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgEnableSamlAuditEntry) GetCreatedAt

func (this OrgEnableSamlAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgEnableSamlAuditEntry) GetID

func (this OrgEnableSamlAuditEntry) GetID() string

ID of the object.

func (OrgEnableSamlAuditEntry) GetOperationType

func (this OrgEnableSamlAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgEnableSamlAuditEntry) GetOrganization

func (this OrgEnableSamlAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgEnableSamlAuditEntry) GetOrganizationName

func (this OrgEnableSamlAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgEnableSamlAuditEntry) GetOrganizationResourcePath

func (this OrgEnableSamlAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgEnableSamlAuditEntry) GetOrganizationURL

func (this OrgEnableSamlAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgEnableSamlAuditEntry) GetUser

func (this OrgEnableSamlAuditEntry) GetUser() *User

The user affected by the action

func (OrgEnableSamlAuditEntry) GetUserLogin

func (this OrgEnableSamlAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgEnableSamlAuditEntry) GetUserResourcePath

func (this OrgEnableSamlAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgEnableSamlAuditEntry) GetUserURL

func (this OrgEnableSamlAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgEnableSamlAuditEntry) IsAuditEntry

func (OrgEnableSamlAuditEntry) IsAuditEntry()

func (OrgEnableSamlAuditEntry) IsNode

func (OrgEnableSamlAuditEntry) IsNode()

func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntry

func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntry()

func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntryData

func (OrgEnableSamlAuditEntry) IsOrganizationAuditEntryData()

type OrgEnableTwoFactorRequirementAuditEntry

type OrgEnableTwoFactorRequirementAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.enable_two_factor_requirement event.

func (OrgEnableTwoFactorRequirementAuditEntry) GetAction

The action name

func (OrgEnableTwoFactorRequirementAuditEntry) GetActor

The user who initiated the action

func (OrgEnableTwoFactorRequirementAuditEntry) GetActorIP

The IP address of the actor

func (OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation

func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin

func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath

func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgEnableTwoFactorRequirementAuditEntry) GetActorURL

func (this OrgEnableTwoFactorRequirementAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt

func (this OrgEnableTwoFactorRequirementAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgEnableTwoFactorRequirementAuditEntry) GetID

ID of the object.

func (OrgEnableTwoFactorRequirementAuditEntry) GetOperationType

func (this OrgEnableTwoFactorRequirementAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganization

func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName

func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath

func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationURL

func (this OrgEnableTwoFactorRequirementAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgEnableTwoFactorRequirementAuditEntry) GetUser

The user affected by the action

func (OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin

func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath

func (this OrgEnableTwoFactorRequirementAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgEnableTwoFactorRequirementAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgEnableTwoFactorRequirementAuditEntry) IsAuditEntry

func (OrgEnableTwoFactorRequirementAuditEntry) IsNode

func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry

func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntry()

func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData

func (OrgEnableTwoFactorRequirementAuditEntry) IsOrganizationAuditEntryData()

type OrgEnterpriseOwnerOrder

type OrgEnterpriseOwnerOrder struct {
	// The field to order enterprise owners by.
	Field OrgEnterpriseOwnerOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for an organization's enterprise owner connections.

type OrgEnterpriseOwnerOrderField

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 OrgInviteMemberAuditEntry

type OrgInviteMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The email address of the organization invitation.
	Email *string `json:"email,omitempty"`
	// The Node ID of the OrgInviteMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The organization invitation.
	OrganizationInvitation *OrganizationInvitation `json:"organizationInvitation,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.invite_member event.

func (OrgInviteMemberAuditEntry) GetAction

func (this OrgInviteMemberAuditEntry) GetAction() string

The action name

func (OrgInviteMemberAuditEntry) GetActor

The user who initiated the action

func (OrgInviteMemberAuditEntry) GetActorIP

func (this OrgInviteMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgInviteMemberAuditEntry) GetActorLocation

func (this OrgInviteMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgInviteMemberAuditEntry) GetActorLogin

func (this OrgInviteMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgInviteMemberAuditEntry) GetActorResourcePath

func (this OrgInviteMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgInviteMemberAuditEntry) GetActorURL

func (this OrgInviteMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgInviteMemberAuditEntry) GetCreatedAt

func (this OrgInviteMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgInviteMemberAuditEntry) GetID

func (this OrgInviteMemberAuditEntry) GetID() string

ID of the object.

func (OrgInviteMemberAuditEntry) GetOperationType

func (this OrgInviteMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgInviteMemberAuditEntry) GetOrganization

func (this OrgInviteMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgInviteMemberAuditEntry) GetOrganizationName

func (this OrgInviteMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgInviteMemberAuditEntry) GetOrganizationResourcePath

func (this OrgInviteMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgInviteMemberAuditEntry) GetOrganizationURL

func (this OrgInviteMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgInviteMemberAuditEntry) GetUser

func (this OrgInviteMemberAuditEntry) GetUser() *User

The user affected by the action

func (OrgInviteMemberAuditEntry) GetUserLogin

func (this OrgInviteMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgInviteMemberAuditEntry) GetUserResourcePath

func (this OrgInviteMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgInviteMemberAuditEntry) GetUserURL

func (this OrgInviteMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgInviteMemberAuditEntry) IsAuditEntry

func (OrgInviteMemberAuditEntry) IsAuditEntry()

func (OrgInviteMemberAuditEntry) IsNode

func (OrgInviteMemberAuditEntry) IsNode()

func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntry

func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntry()

func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntryData

func (OrgInviteMemberAuditEntry) IsOrganizationAuditEntryData()

type OrgInviteToBusinessAuditEntry

type OrgInviteToBusinessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the OrgInviteToBusinessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.invite_to_business event.

func (OrgInviteToBusinessAuditEntry) GetAction

func (this OrgInviteToBusinessAuditEntry) GetAction() string

The action name

func (OrgInviteToBusinessAuditEntry) GetActor

The user who initiated the action

func (OrgInviteToBusinessAuditEntry) GetActorIP

func (this OrgInviteToBusinessAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgInviteToBusinessAuditEntry) GetActorLocation

func (this OrgInviteToBusinessAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgInviteToBusinessAuditEntry) GetActorLogin

func (this OrgInviteToBusinessAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgInviteToBusinessAuditEntry) GetActorResourcePath

func (this OrgInviteToBusinessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgInviteToBusinessAuditEntry) GetActorURL

func (this OrgInviteToBusinessAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgInviteToBusinessAuditEntry) GetCreatedAt

func (this OrgInviteToBusinessAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath

func (this OrgInviteToBusinessAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (OrgInviteToBusinessAuditEntry) GetEnterpriseSlug

func (this OrgInviteToBusinessAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (OrgInviteToBusinessAuditEntry) GetEnterpriseURL

func (this OrgInviteToBusinessAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (OrgInviteToBusinessAuditEntry) GetID

ID of the object.

func (OrgInviteToBusinessAuditEntry) GetOperationType

func (this OrgInviteToBusinessAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgInviteToBusinessAuditEntry) GetOrganization

func (this OrgInviteToBusinessAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgInviteToBusinessAuditEntry) GetOrganizationName

func (this OrgInviteToBusinessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath

func (this OrgInviteToBusinessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgInviteToBusinessAuditEntry) GetOrganizationURL

func (this OrgInviteToBusinessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgInviteToBusinessAuditEntry) GetUser

func (this OrgInviteToBusinessAuditEntry) GetUser() *User

The user affected by the action

func (OrgInviteToBusinessAuditEntry) GetUserLogin

func (this OrgInviteToBusinessAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgInviteToBusinessAuditEntry) GetUserResourcePath

func (this OrgInviteToBusinessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgInviteToBusinessAuditEntry) GetUserURL

func (this OrgInviteToBusinessAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgInviteToBusinessAuditEntry) IsAuditEntry

func (OrgInviteToBusinessAuditEntry) IsAuditEntry()

func (OrgInviteToBusinessAuditEntry) IsEnterpriseAuditEntryData

func (OrgInviteToBusinessAuditEntry) IsEnterpriseAuditEntryData()

func (OrgInviteToBusinessAuditEntry) IsNode

func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntry

func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntry()

func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntryData

func (OrgInviteToBusinessAuditEntry) IsOrganizationAuditEntryData()

type OrgOauthAppAccessApprovedAuditEntry

type OrgOauthAppAccessApprovedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgOauthAppAccessApprovedAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.oauth_app_access_approved event.

func (OrgOauthAppAccessApprovedAuditEntry) GetAction

The action name

func (OrgOauthAppAccessApprovedAuditEntry) GetActor

The user who initiated the action

func (OrgOauthAppAccessApprovedAuditEntry) GetActorIP

func (this OrgOauthAppAccessApprovedAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgOauthAppAccessApprovedAuditEntry) GetActorLocation

func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgOauthAppAccessApprovedAuditEntry) GetActorLogin

func (this OrgOauthAppAccessApprovedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath

func (this OrgOauthAppAccessApprovedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgOauthAppAccessApprovedAuditEntry) GetActorURL

func (this OrgOauthAppAccessApprovedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt

func (this OrgOauthAppAccessApprovedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgOauthAppAccessApprovedAuditEntry) GetID

ID of the object.

func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName

func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath

func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationURL

func (this OrgOauthAppAccessApprovedAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OrgOauthAppAccessApprovedAuditEntry) GetOperationType

func (this OrgOauthAppAccessApprovedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgOauthAppAccessApprovedAuditEntry) GetOrganization

func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName

func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath

func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgOauthAppAccessApprovedAuditEntry) GetOrganizationURL

func (this OrgOauthAppAccessApprovedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgOauthAppAccessApprovedAuditEntry) GetUser

func (this OrgOauthAppAccessApprovedAuditEntry) GetUser() *User

The user affected by the action

func (OrgOauthAppAccessApprovedAuditEntry) GetUserLogin

func (this OrgOauthAppAccessApprovedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath

func (this OrgOauthAppAccessApprovedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgOauthAppAccessApprovedAuditEntry) GetUserURL

func (this OrgOauthAppAccessApprovedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry

func (OrgOauthAppAccessApprovedAuditEntry) IsAuditEntry()

func (OrgOauthAppAccessApprovedAuditEntry) IsNode

func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData

func (OrgOauthAppAccessApprovedAuditEntry) IsOauthApplicationAuditEntryData()

func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry

func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntry()

func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData

func (OrgOauthAppAccessApprovedAuditEntry) IsOrganizationAuditEntryData()

type OrgOauthAppAccessBlockedAuditEntry

type OrgOauthAppAccessBlockedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgOauthAppAccessBlockedAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.oauth_app_access_blocked event.

func (OrgOauthAppAccessBlockedAuditEntry) GetAction

func (this OrgOauthAppAccessBlockedAuditEntry) GetAction() string

The action name

func (OrgOauthAppAccessBlockedAuditEntry) GetActor

The user who initiated the action

func (OrgOauthAppAccessBlockedAuditEntry) GetActorIP

func (this OrgOauthAppAccessBlockedAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgOauthAppAccessBlockedAuditEntry) GetActorLocation

func (this OrgOauthAppAccessBlockedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgOauthAppAccessBlockedAuditEntry) GetActorLogin

func (this OrgOauthAppAccessBlockedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgOauthAppAccessBlockedAuditEntry) GetActorResourcePath

func (this OrgOauthAppAccessBlockedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgOauthAppAccessBlockedAuditEntry) GetActorURL

func (this OrgOauthAppAccessBlockedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgOauthAppAccessBlockedAuditEntry) GetCreatedAt

func (this OrgOauthAppAccessBlockedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgOauthAppAccessBlockedAuditEntry) GetID

ID of the object.

func (OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationName

func (this OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationResourcePath

func (this OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationURL

func (this OrgOauthAppAccessBlockedAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OrgOauthAppAccessBlockedAuditEntry) GetOperationType

func (this OrgOauthAppAccessBlockedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgOauthAppAccessBlockedAuditEntry) GetOrganization

func (this OrgOauthAppAccessBlockedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgOauthAppAccessBlockedAuditEntry) GetOrganizationName

func (this OrgOauthAppAccessBlockedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgOauthAppAccessBlockedAuditEntry) GetOrganizationResourcePath

func (this OrgOauthAppAccessBlockedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgOauthAppAccessBlockedAuditEntry) GetOrganizationURL

func (this OrgOauthAppAccessBlockedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgOauthAppAccessBlockedAuditEntry) GetUser

func (this OrgOauthAppAccessBlockedAuditEntry) GetUser() *User

The user affected by the action

func (OrgOauthAppAccessBlockedAuditEntry) GetUserLogin

func (this OrgOauthAppAccessBlockedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgOauthAppAccessBlockedAuditEntry) GetUserResourcePath

func (this OrgOauthAppAccessBlockedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgOauthAppAccessBlockedAuditEntry) GetUserURL

func (this OrgOauthAppAccessBlockedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgOauthAppAccessBlockedAuditEntry) IsAuditEntry

func (OrgOauthAppAccessBlockedAuditEntry) IsAuditEntry()

func (OrgOauthAppAccessBlockedAuditEntry) IsNode

func (OrgOauthAppAccessBlockedAuditEntry) IsOauthApplicationAuditEntryData

func (OrgOauthAppAccessBlockedAuditEntry) IsOauthApplicationAuditEntryData()

func (OrgOauthAppAccessBlockedAuditEntry) IsOrganizationAuditEntry

func (OrgOauthAppAccessBlockedAuditEntry) IsOrganizationAuditEntry()

func (OrgOauthAppAccessBlockedAuditEntry) IsOrganizationAuditEntryData

func (OrgOauthAppAccessBlockedAuditEntry) IsOrganizationAuditEntryData()

type OrgOauthAppAccessDeniedAuditEntry

type OrgOauthAppAccessDeniedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgOauthAppAccessDeniedAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.oauth_app_access_denied event.

func (OrgOauthAppAccessDeniedAuditEntry) GetAction

func (this OrgOauthAppAccessDeniedAuditEntry) GetAction() string

The action name

func (OrgOauthAppAccessDeniedAuditEntry) GetActor

The user who initiated the action

func (OrgOauthAppAccessDeniedAuditEntry) GetActorIP

func (this OrgOauthAppAccessDeniedAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgOauthAppAccessDeniedAuditEntry) GetActorLocation

func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgOauthAppAccessDeniedAuditEntry) GetActorLogin

func (this OrgOauthAppAccessDeniedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath

func (this OrgOauthAppAccessDeniedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgOauthAppAccessDeniedAuditEntry) GetActorURL

func (this OrgOauthAppAccessDeniedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt

func (this OrgOauthAppAccessDeniedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgOauthAppAccessDeniedAuditEntry) GetID

ID of the object.

func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName

func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath

func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationURL

func (this OrgOauthAppAccessDeniedAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OrgOauthAppAccessDeniedAuditEntry) GetOperationType

func (this OrgOauthAppAccessDeniedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgOauthAppAccessDeniedAuditEntry) GetOrganization

func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName

func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath

func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgOauthAppAccessDeniedAuditEntry) GetOrganizationURL

func (this OrgOauthAppAccessDeniedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgOauthAppAccessDeniedAuditEntry) GetUser

func (this OrgOauthAppAccessDeniedAuditEntry) GetUser() *User

The user affected by the action

func (OrgOauthAppAccessDeniedAuditEntry) GetUserLogin

func (this OrgOauthAppAccessDeniedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath

func (this OrgOauthAppAccessDeniedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgOauthAppAccessDeniedAuditEntry) GetUserURL

func (this OrgOauthAppAccessDeniedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry

func (OrgOauthAppAccessDeniedAuditEntry) IsAuditEntry()

func (OrgOauthAppAccessDeniedAuditEntry) IsNode

func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData

func (OrgOauthAppAccessDeniedAuditEntry) IsOauthApplicationAuditEntryData()

func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry

func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntry()

func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData

func (OrgOauthAppAccessDeniedAuditEntry) IsOrganizationAuditEntryData()

type OrgOauthAppAccessRequestedAuditEntry

type OrgOauthAppAccessRequestedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgOauthAppAccessRequestedAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.oauth_app_access_requested event.

func (OrgOauthAppAccessRequestedAuditEntry) GetAction

The action name

func (OrgOauthAppAccessRequestedAuditEntry) GetActor

The user who initiated the action

func (OrgOauthAppAccessRequestedAuditEntry) GetActorIP

func (this OrgOauthAppAccessRequestedAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgOauthAppAccessRequestedAuditEntry) GetActorLocation

func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgOauthAppAccessRequestedAuditEntry) GetActorLogin

func (this OrgOauthAppAccessRequestedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath

func (this OrgOauthAppAccessRequestedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgOauthAppAccessRequestedAuditEntry) GetActorURL

func (this OrgOauthAppAccessRequestedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt

func (this OrgOauthAppAccessRequestedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgOauthAppAccessRequestedAuditEntry) GetID

ID of the object.

func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName

func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath

func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationURL

func (this OrgOauthAppAccessRequestedAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OrgOauthAppAccessRequestedAuditEntry) GetOperationType

func (this OrgOauthAppAccessRequestedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgOauthAppAccessRequestedAuditEntry) GetOrganization

func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName

func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath

func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgOauthAppAccessRequestedAuditEntry) GetOrganizationURL

func (this OrgOauthAppAccessRequestedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgOauthAppAccessRequestedAuditEntry) GetUser

The user affected by the action

func (OrgOauthAppAccessRequestedAuditEntry) GetUserLogin

func (this OrgOauthAppAccessRequestedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath

func (this OrgOauthAppAccessRequestedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgOauthAppAccessRequestedAuditEntry) GetUserURL

func (this OrgOauthAppAccessRequestedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry

func (OrgOauthAppAccessRequestedAuditEntry) IsAuditEntry()

func (OrgOauthAppAccessRequestedAuditEntry) IsNode

func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData

func (OrgOauthAppAccessRequestedAuditEntry) IsOauthApplicationAuditEntryData()

func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry

func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntry()

func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData

func (OrgOauthAppAccessRequestedAuditEntry) IsOrganizationAuditEntryData()

type OrgOauthAppAccessUnblockedAuditEntry

type OrgOauthAppAccessUnblockedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object
	ID string `json:"id"`
	// The name of the OAuth application.
	OauthApplicationName *string `json:"oauthApplicationName,omitempty"`
	// The HTTP path for the OAuth application
	OauthApplicationResourcePath *string `json:"oauthApplicationResourcePath,omitempty"`
	// The HTTP URL for the OAuth application
	OauthApplicationURL *string `json:"oauthApplicationUrl,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.oauth_app_access_unblocked event.

func (OrgOauthAppAccessUnblockedAuditEntry) GetAction

The action name

func (OrgOauthAppAccessUnblockedAuditEntry) GetActor

The user who initiated the action

func (OrgOauthAppAccessUnblockedAuditEntry) GetActorIP

func (this OrgOauthAppAccessUnblockedAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgOauthAppAccessUnblockedAuditEntry) GetActorLocation

func (this OrgOauthAppAccessUnblockedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgOauthAppAccessUnblockedAuditEntry) GetActorLogin

func (this OrgOauthAppAccessUnblockedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgOauthAppAccessUnblockedAuditEntry) GetActorResourcePath

func (this OrgOauthAppAccessUnblockedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgOauthAppAccessUnblockedAuditEntry) GetActorURL

func (this OrgOauthAppAccessUnblockedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgOauthAppAccessUnblockedAuditEntry) GetCreatedAt

func (this OrgOauthAppAccessUnblockedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgOauthAppAccessUnblockedAuditEntry) GetID

ID of the object.

func (OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationName

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationName() *string

The name of the OAuth application.

func (OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationResourcePath

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationResourcePath() *string

The HTTP path for the OAuth application

func (OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationURL

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOauthApplicationURL() *string

The HTTP URL for the OAuth application

func (OrgOauthAppAccessUnblockedAuditEntry) GetOperationType

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgOauthAppAccessUnblockedAuditEntry) GetOrganization

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationName

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationResourcePath

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationURL

func (this OrgOauthAppAccessUnblockedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgOauthAppAccessUnblockedAuditEntry) GetUser

The user affected by the action

func (OrgOauthAppAccessUnblockedAuditEntry) GetUserLogin

func (this OrgOauthAppAccessUnblockedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgOauthAppAccessUnblockedAuditEntry) GetUserResourcePath

func (this OrgOauthAppAccessUnblockedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgOauthAppAccessUnblockedAuditEntry) GetUserURL

func (this OrgOauthAppAccessUnblockedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgOauthAppAccessUnblockedAuditEntry) IsAuditEntry

func (OrgOauthAppAccessUnblockedAuditEntry) IsAuditEntry()

func (OrgOauthAppAccessUnblockedAuditEntry) IsNode

func (OrgOauthAppAccessUnblockedAuditEntry) IsOauthApplicationAuditEntryData

func (OrgOauthAppAccessUnblockedAuditEntry) IsOauthApplicationAuditEntryData()

func (OrgOauthAppAccessUnblockedAuditEntry) IsOrganizationAuditEntry

func (OrgOauthAppAccessUnblockedAuditEntry) IsOrganizationAuditEntry()

func (OrgOauthAppAccessUnblockedAuditEntry) IsOrganizationAuditEntryData

func (OrgOauthAppAccessUnblockedAuditEntry) IsOrganizationAuditEntryData()

type OrgRemoveBillingManagerAuditEntry

type OrgRemoveBillingManagerAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgRemoveBillingManagerAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The reason for the billing manager being removed.
	Reason *OrgRemoveBillingManagerAuditEntryReason `json:"reason,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.remove_billing_manager event.

func (OrgRemoveBillingManagerAuditEntry) GetAction

func (this OrgRemoveBillingManagerAuditEntry) GetAction() string

The action name

func (OrgRemoveBillingManagerAuditEntry) GetActor

The user who initiated the action

func (OrgRemoveBillingManagerAuditEntry) GetActorIP

func (this OrgRemoveBillingManagerAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgRemoveBillingManagerAuditEntry) GetActorLocation

func (this OrgRemoveBillingManagerAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgRemoveBillingManagerAuditEntry) GetActorLogin

func (this OrgRemoveBillingManagerAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgRemoveBillingManagerAuditEntry) GetActorResourcePath

func (this OrgRemoveBillingManagerAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgRemoveBillingManagerAuditEntry) GetActorURL

func (this OrgRemoveBillingManagerAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgRemoveBillingManagerAuditEntry) GetCreatedAt

func (this OrgRemoveBillingManagerAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgRemoveBillingManagerAuditEntry) GetID

ID of the object.

func (OrgRemoveBillingManagerAuditEntry) GetOperationType

func (this OrgRemoveBillingManagerAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgRemoveBillingManagerAuditEntry) GetOrganization

func (this OrgRemoveBillingManagerAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgRemoveBillingManagerAuditEntry) GetOrganizationName

func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath

func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgRemoveBillingManagerAuditEntry) GetOrganizationURL

func (this OrgRemoveBillingManagerAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgRemoveBillingManagerAuditEntry) GetUser

func (this OrgRemoveBillingManagerAuditEntry) GetUser() *User

The user affected by the action

func (OrgRemoveBillingManagerAuditEntry) GetUserLogin

func (this OrgRemoveBillingManagerAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgRemoveBillingManagerAuditEntry) GetUserResourcePath

func (this OrgRemoveBillingManagerAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgRemoveBillingManagerAuditEntry) GetUserURL

func (this OrgRemoveBillingManagerAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgRemoveBillingManagerAuditEntry) IsAuditEntry

func (OrgRemoveBillingManagerAuditEntry) IsAuditEntry()

func (OrgRemoveBillingManagerAuditEntry) IsNode

func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntry

func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntry()

func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntryData

func (OrgRemoveBillingManagerAuditEntry) IsOrganizationAuditEntryData()

type OrgRemoveBillingManagerAuditEntryReason

type OrgRemoveBillingManagerAuditEntryReason string

The reason a billing manager was removed from an Organization.

const (
	// The organization required 2FA of its billing managers and this user did not have 2FA enabled.
	OrgRemoveBillingManagerAuditEntryReasonTwoFactorRequirementNonCompliance OrgRemoveBillingManagerAuditEntryReason = "TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE"
	// SAML external identity missing
	OrgRemoveBillingManagerAuditEntryReasonSamlExternalIDEntityMissing OrgRemoveBillingManagerAuditEntryReason = "SAML_EXTERNAL_IDENTITY_MISSING"
	// SAML SSO enforcement requires an external identity
	OrgRemoveBillingManagerAuditEntryReasonSamlSsoEnforcementRequiresExternalIDEntity OrgRemoveBillingManagerAuditEntryReason = "SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY"
)

func (OrgRemoveBillingManagerAuditEntryReason) IsValid

func (OrgRemoveBillingManagerAuditEntryReason) MarshalGQL

func (OrgRemoveBillingManagerAuditEntryReason) String

func (*OrgRemoveBillingManagerAuditEntryReason) UnmarshalGQL

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

type OrgRemoveMemberAuditEntry

type OrgRemoveMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgRemoveMemberAuditEntry object
	ID string `json:"id"`
	// The types of membership the member has with the organization.
	MembershipTypes []OrgRemoveMemberAuditEntryMembershipType `json:"membershipTypes,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The reason for the member being removed.
	Reason *OrgRemoveMemberAuditEntryReason `json:"reason,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.remove_member event.

func (OrgRemoveMemberAuditEntry) GetAction

func (this OrgRemoveMemberAuditEntry) GetAction() string

The action name

func (OrgRemoveMemberAuditEntry) GetActor

The user who initiated the action

func (OrgRemoveMemberAuditEntry) GetActorIP

func (this OrgRemoveMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgRemoveMemberAuditEntry) GetActorLocation

func (this OrgRemoveMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgRemoveMemberAuditEntry) GetActorLogin

func (this OrgRemoveMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgRemoveMemberAuditEntry) GetActorResourcePath

func (this OrgRemoveMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgRemoveMemberAuditEntry) GetActorURL

func (this OrgRemoveMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgRemoveMemberAuditEntry) GetCreatedAt

func (this OrgRemoveMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgRemoveMemberAuditEntry) GetID

func (this OrgRemoveMemberAuditEntry) GetID() string

ID of the object.

func (OrgRemoveMemberAuditEntry) GetOperationType

func (this OrgRemoveMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgRemoveMemberAuditEntry) GetOrganization

func (this OrgRemoveMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgRemoveMemberAuditEntry) GetOrganizationName

func (this OrgRemoveMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgRemoveMemberAuditEntry) GetOrganizationResourcePath

func (this OrgRemoveMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgRemoveMemberAuditEntry) GetOrganizationURL

func (this OrgRemoveMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgRemoveMemberAuditEntry) GetUser

func (this OrgRemoveMemberAuditEntry) GetUser() *User

The user affected by the action

func (OrgRemoveMemberAuditEntry) GetUserLogin

func (this OrgRemoveMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgRemoveMemberAuditEntry) GetUserResourcePath

func (this OrgRemoveMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgRemoveMemberAuditEntry) GetUserURL

func (this OrgRemoveMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgRemoveMemberAuditEntry) IsAuditEntry

func (OrgRemoveMemberAuditEntry) IsAuditEntry()

func (OrgRemoveMemberAuditEntry) IsNode

func (OrgRemoveMemberAuditEntry) IsNode()

func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntry

func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntry()

func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntryData

func (OrgRemoveMemberAuditEntry) IsOrganizationAuditEntryData()

type OrgRemoveMemberAuditEntryMembershipType

type OrgRemoveMemberAuditEntryMembershipType string

The type of membership a user has with an Organization.

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

type OrgRemoveOutsideCollaboratorAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object
	ID string `json:"id"`
	// The types of membership the outside collaborator has with the organization.
	MembershipTypes []OrgRemoveOutsideCollaboratorAuditEntryMembershipType `json:"membershipTypes,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The reason for the outside collaborator being removed from the Organization.
	Reason *OrgRemoveOutsideCollaboratorAuditEntryReason `json:"reason,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.remove_outside_collaborator event.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetAction

The action name

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActor

The user who initiated the action

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorIP

The IP address of the actor

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetActorURL

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgRemoveOutsideCollaboratorAuditEntry) GetID

ID of the object.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationURL

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgRemoveOutsideCollaboratorAuditEntry) GetUser

The user affected by the action

func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath

func (this OrgRemoveOutsideCollaboratorAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgRemoveOutsideCollaboratorAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgRemoveOutsideCollaboratorAuditEntry) IsAuditEntry

func (OrgRemoveOutsideCollaboratorAuditEntry) IsNode

func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntry

func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntry()

func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntryData

func (OrgRemoveOutsideCollaboratorAuditEntry) IsOrganizationAuditEntryData()

type OrgRemoveOutsideCollaboratorAuditEntryMembershipType

type OrgRemoveOutsideCollaboratorAuditEntryMembershipType string

The type of membership a user has with an Organization.

const (
	// An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization.
	OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeOutsideCollaborator OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "OUTSIDE_COLLABORATOR"
	// An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization.
	OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeUnaffiliated OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "UNAFFILIATED"
	// A billing manager is a user who manages the billing settings for the Organization, such as updating payment information.
	OrgRemoveOutsideCollaboratorAuditEntryMembershipTypeBillingManager OrgRemoveOutsideCollaboratorAuditEntryMembershipType = "BILLING_MANAGER"
)

func (OrgRemoveOutsideCollaboratorAuditEntryMembershipType) IsValid

func (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 OrgRestoreMemberAuditEntry

type OrgRestoreMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgRestoreMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The number of custom email routings for the restored member.
	RestoredCustomEmailRoutingsCount *int `json:"restoredCustomEmailRoutingsCount,omitempty"`
	// The number of issue assignments for the restored member.
	RestoredIssueAssignmentsCount *int `json:"restoredIssueAssignmentsCount,omitempty"`
	// Restored organization membership objects.
	RestoredMemberships []OrgRestoreMemberAuditEntryMembership `json:"restoredMemberships,omitempty"`
	// The number of restored memberships.
	RestoredMembershipsCount *int `json:"restoredMembershipsCount,omitempty"`
	// The number of repositories of the restored member.
	RestoredRepositoriesCount *int `json:"restoredRepositoriesCount,omitempty"`
	// The number of starred repositories for the restored member.
	RestoredRepositoryStarsCount *int `json:"restoredRepositoryStarsCount,omitempty"`
	// The number of watched repositories for the restored member.
	RestoredRepositoryWatchesCount *int `json:"restoredRepositoryWatchesCount,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.restore_member event.

func (OrgRestoreMemberAuditEntry) GetAction

func (this OrgRestoreMemberAuditEntry) GetAction() string

The action name

func (OrgRestoreMemberAuditEntry) GetActor

The user who initiated the action

func (OrgRestoreMemberAuditEntry) GetActorIP

func (this OrgRestoreMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgRestoreMemberAuditEntry) GetActorLocation

func (this OrgRestoreMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgRestoreMemberAuditEntry) GetActorLogin

func (this OrgRestoreMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgRestoreMemberAuditEntry) GetActorResourcePath

func (this OrgRestoreMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgRestoreMemberAuditEntry) GetActorURL

func (this OrgRestoreMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgRestoreMemberAuditEntry) GetCreatedAt

func (this OrgRestoreMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgRestoreMemberAuditEntry) GetID

func (this OrgRestoreMemberAuditEntry) GetID() string

ID of the object.

func (OrgRestoreMemberAuditEntry) GetOperationType

func (this OrgRestoreMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgRestoreMemberAuditEntry) GetOrganization

func (this OrgRestoreMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgRestoreMemberAuditEntry) GetOrganizationName

func (this OrgRestoreMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgRestoreMemberAuditEntry) GetOrganizationResourcePath

func (this OrgRestoreMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgRestoreMemberAuditEntry) GetOrganizationURL

func (this OrgRestoreMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgRestoreMemberAuditEntry) GetUser

func (this OrgRestoreMemberAuditEntry) GetUser() *User

The user affected by the action

func (OrgRestoreMemberAuditEntry) GetUserLogin

func (this OrgRestoreMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgRestoreMemberAuditEntry) GetUserResourcePath

func (this OrgRestoreMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgRestoreMemberAuditEntry) GetUserURL

func (this OrgRestoreMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgRestoreMemberAuditEntry) IsAuditEntry

func (OrgRestoreMemberAuditEntry) IsAuditEntry()

func (OrgRestoreMemberAuditEntry) IsNode

func (OrgRestoreMemberAuditEntry) IsNode()

func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntry

func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntry()

func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntryData

func (OrgRestoreMemberAuditEntry) IsOrganizationAuditEntryData()

type OrgRestoreMemberAuditEntryMembership

type OrgRestoreMemberAuditEntryMembership interface {
	IsOrgRestoreMemberAuditEntryMembership()
}

Types of memberships that can be restored for an Organization member.

type OrgRestoreMemberMembershipOrganizationAuditEntryData

type OrgRestoreMemberMembershipOrganizationAuditEntryData struct {
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
}

Metadata for an organization membership for org.restore_member actions

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganization

The Organization associated with the Audit Entry.

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationName

The name of the Organization.

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath

func (this OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) GetOrganizationURL

The HTTP URL for the organization

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrgRestoreMemberAuditEntryMembership

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrganizationAuditEntryData

func (OrgRestoreMemberMembershipOrganizationAuditEntryData) IsOrganizationAuditEntryData()

type OrgRestoreMemberMembershipRepositoryAuditEntryData

type OrgRestoreMemberMembershipRepositoryAuditEntryData struct {
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
}

Metadata for a repository membership for org.restore_member actions

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepository

The repository associated with the action

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryName

The name of the repository

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath

func (this OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) GetRepositoryURL

The HTTP URL for the repository

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsOrgRestoreMemberAuditEntryMembership

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsRepositoryAuditEntryData

func (OrgRestoreMemberMembershipRepositoryAuditEntryData) IsRepositoryAuditEntryData()

type OrgRestoreMemberMembershipTeamAuditEntryData

type OrgRestoreMemberMembershipTeamAuditEntryData struct {
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
}

Metadata for a team membership for org.restore_member actions

func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeam

The team associated with the action

func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamName

The name of the team

func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath

func (this OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamResourcePath() *string

The HTTP path for this team

func (OrgRestoreMemberMembershipTeamAuditEntryData) GetTeamURL

The HTTP URL for this team

func (OrgRestoreMemberMembershipTeamAuditEntryData) IsOrgRestoreMemberAuditEntryMembership

func (OrgRestoreMemberMembershipTeamAuditEntryData) IsOrgRestoreMemberAuditEntryMembership()

func (OrgRestoreMemberMembershipTeamAuditEntryData) IsTeamAuditEntryData

func (OrgRestoreMemberMembershipTeamAuditEntryData) IsTeamAuditEntryData()

type OrgUnblockUserAuditEntry

type OrgUnblockUserAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The user being unblocked by the organization.
	BlockedUser *User `json:"blockedUser,omitempty"`
	// The username of the blocked user.
	BlockedUserName *string `json:"blockedUserName,omitempty"`
	// The HTTP path for the blocked user.
	BlockedUserResourcePath *string `json:"blockedUserResourcePath,omitempty"`
	// The HTTP URL for the blocked user.
	BlockedUserURL *string `json:"blockedUserUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgUnblockUserAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.unblock_user

func (OrgUnblockUserAuditEntry) GetAction

func (this OrgUnblockUserAuditEntry) GetAction() string

The action name

func (OrgUnblockUserAuditEntry) GetActor

func (this OrgUnblockUserAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (OrgUnblockUserAuditEntry) GetActorIP

func (this OrgUnblockUserAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgUnblockUserAuditEntry) GetActorLocation

func (this OrgUnblockUserAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgUnblockUserAuditEntry) GetActorLogin

func (this OrgUnblockUserAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgUnblockUserAuditEntry) GetActorResourcePath

func (this OrgUnblockUserAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgUnblockUserAuditEntry) GetActorURL

func (this OrgUnblockUserAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgUnblockUserAuditEntry) GetCreatedAt

func (this OrgUnblockUserAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgUnblockUserAuditEntry) GetID

func (this OrgUnblockUserAuditEntry) GetID() string

ID of the object.

func (OrgUnblockUserAuditEntry) GetOperationType

func (this OrgUnblockUserAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgUnblockUserAuditEntry) GetOrganization

func (this OrgUnblockUserAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgUnblockUserAuditEntry) GetOrganizationName

func (this OrgUnblockUserAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgUnblockUserAuditEntry) GetOrganizationResourcePath

func (this OrgUnblockUserAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgUnblockUserAuditEntry) GetOrganizationURL

func (this OrgUnblockUserAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgUnblockUserAuditEntry) GetUser

func (this OrgUnblockUserAuditEntry) GetUser() *User

The user affected by the action

func (OrgUnblockUserAuditEntry) GetUserLogin

func (this OrgUnblockUserAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgUnblockUserAuditEntry) GetUserResourcePath

func (this OrgUnblockUserAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgUnblockUserAuditEntry) GetUserURL

func (this OrgUnblockUserAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgUnblockUserAuditEntry) IsAuditEntry

func (OrgUnblockUserAuditEntry) IsAuditEntry()

func (OrgUnblockUserAuditEntry) IsNode

func (OrgUnblockUserAuditEntry) IsNode()

func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntry

func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntry()

func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntryData

func (OrgUnblockUserAuditEntry) IsOrganizationAuditEntryData()

type OrgUpdateDefaultRepositoryPermissionAuditEntry

type OrgUpdateDefaultRepositoryPermissionAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The new base repository permission level for the organization.
	Permission *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permission,omitempty"`
	// The former base repository permission level for the organization.
	PermissionWas *OrgUpdateDefaultRepositoryPermissionAuditEntryPermission `json:"permissionWas,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.update_default_repository_permission

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetAction

The action name

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActor

The user who initiated the action

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorIP

The IP address of the actor

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorLogin

The username of the user who initiated the action

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath

func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetID

ID of the object.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName

func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath

func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationURL

func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUser

The user affected by the action

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath

func (this OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsAuditEntry

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsNode

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntry

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntry()

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntryData

func (OrgUpdateDefaultRepositoryPermissionAuditEntry) IsOrganizationAuditEntryData()

type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission

type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission string

The default permission a repository can have in an Organization.

const (
	// Can read and clone repositories.
	OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionRead OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "READ"
	// Can read, clone and push to repositories.
	OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionWrite OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "WRITE"
	// Can read, clone, push, and add collaborators to repositories.
	OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionAdmin OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "ADMIN"
	// No default permission value.
	OrgUpdateDefaultRepositoryPermissionAuditEntryPermissionNone OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = "NONE"
)

func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) IsValid

func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) MarshalGQL

func (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) String

func (*OrgUpdateDefaultRepositoryPermissionAuditEntryPermission) UnmarshalGQL

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

type OrgUpdateMemberAuditEntry

type OrgUpdateMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgUpdateMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The new member permission level for the organization.
	Permission *OrgUpdateMemberAuditEntryPermission `json:"permission,omitempty"`
	// The former member permission level for the organization.
	PermissionWas *OrgUpdateMemberAuditEntryPermission `json:"permissionWas,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.update_member event.

func (OrgUpdateMemberAuditEntry) GetAction

func (this OrgUpdateMemberAuditEntry) GetAction() string

The action name

func (OrgUpdateMemberAuditEntry) GetActor

The user who initiated the action

func (OrgUpdateMemberAuditEntry) GetActorIP

func (this OrgUpdateMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (OrgUpdateMemberAuditEntry) GetActorLocation

func (this OrgUpdateMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (OrgUpdateMemberAuditEntry) GetActorLogin

func (this OrgUpdateMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (OrgUpdateMemberAuditEntry) GetActorResourcePath

func (this OrgUpdateMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (OrgUpdateMemberAuditEntry) GetActorURL

func (this OrgUpdateMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (OrgUpdateMemberAuditEntry) GetCreatedAt

func (this OrgUpdateMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (OrgUpdateMemberAuditEntry) GetID

func (this OrgUpdateMemberAuditEntry) GetID() string

ID of the object.

func (OrgUpdateMemberAuditEntry) GetOperationType

func (this OrgUpdateMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (OrgUpdateMemberAuditEntry) GetOrganization

func (this OrgUpdateMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (OrgUpdateMemberAuditEntry) GetOrganizationName

func (this OrgUpdateMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (OrgUpdateMemberAuditEntry) GetOrganizationResourcePath

func (this OrgUpdateMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgUpdateMemberAuditEntry) GetOrganizationURL

func (this OrgUpdateMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (OrgUpdateMemberAuditEntry) GetUser

func (this OrgUpdateMemberAuditEntry) GetUser() *User

The user affected by the action

func (OrgUpdateMemberAuditEntry) GetUserLogin

func (this OrgUpdateMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgUpdateMemberAuditEntry) GetUserResourcePath

func (this OrgUpdateMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (OrgUpdateMemberAuditEntry) GetUserURL

func (this OrgUpdateMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (OrgUpdateMemberAuditEntry) IsAuditEntry

func (OrgUpdateMemberAuditEntry) IsAuditEntry()

func (OrgUpdateMemberAuditEntry) IsNode

func (OrgUpdateMemberAuditEntry) IsNode()

func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntry

func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntry()

func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntryData

func (OrgUpdateMemberAuditEntry) IsOrganizationAuditEntryData()

type OrgUpdateMemberAuditEntryPermission

type OrgUpdateMemberAuditEntryPermission string

The permissions available to members on an Organization.

const (
	// Can read and clone repositories.
	OrgUpdateMemberAuditEntryPermissionRead OrgUpdateMemberAuditEntryPermission = "READ"
	// Can read, clone, push, and add collaborators to repositories.
	OrgUpdateMemberAuditEntryPermissionAdmin OrgUpdateMemberAuditEntryPermission = "ADMIN"
)

func (OrgUpdateMemberAuditEntryPermission) IsValid

func (OrgUpdateMemberAuditEntryPermission) MarshalGQL

func (OrgUpdateMemberAuditEntryPermission) String

func (*OrgUpdateMemberAuditEntryPermission) UnmarshalGQL

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

type OrgUpdateMemberRepositoryCreationPermissionAuditEntry

type OrgUpdateMemberRepositoryCreationPermissionAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// Can members create repositories in the organization.
	CanCreateRepositories *bool `json:"canCreateRepositories,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The permission for visibility level of repositories for this organization.
	Visibility *OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a org.update_member_repository_creation_permission event.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetAction

The action name

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActor

The user who initiated the action

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorIP

The IP address of the actor

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorLogin

The username of the user who initiated the action

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorResourcePath

The HTTP path for the actor.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetID

ID of the object.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationName

The name of the Organization.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath

func (this OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetOrganizationURL

The HTTP URL for the organization

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUser

The user affected by the action

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserResourcePath

The HTTP path for the user.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsAuditEntry

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsNode

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntry

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntry()

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntryData

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntry) IsOrganizationAuditEntryData()

type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility

type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility string

The permissions available for repository creation on an Organization.

const (
	// All organization members are restricted from creating any repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityAll OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "ALL"
	// All organization members are restricted from creating public repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublic OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC"
	// All organization members are allowed to create any repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityNone OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "NONE"
	// All organization members are restricted from creating private repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivate OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE"
	// All organization members are restricted from creating internal repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "INTERNAL"
	// All organization members are restricted from creating public or internal repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_INTERNAL"
	// All organization members are restricted from creating private or internal repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPrivateInternal OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PRIVATE_INTERNAL"
	// All organization members are restricted from creating public or private repositories.
	OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibilityPublicPrivate OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = "PUBLIC_PRIVATE"
)

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) IsValid

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) MarshalGQL

func (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) String

func (*OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility) UnmarshalGQL

type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry

type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// Can outside collaborators be invited to repositories in the organization.
	CanInviteOutsideCollaboratorsToRepositories *bool `json:"canInviteOutsideCollaboratorsToRepositories,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a org.update_member_repository_invitation_permission event.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetAction

The action name

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActor

The user who initiated the action

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorIP

The IP address of the actor

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLocation

A readable representation of the actor's location

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorLogin

The username of the user who initiated the action

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorResourcePath

The HTTP path for the actor.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetActorURL

The HTTP URL for the actor.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetCreatedAt

The time the action was initiated

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetID

ID of the object.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOperationType

The corresponding operation type for the action

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationName

The name of the Organization.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath

func (this OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetOrganizationURL

The HTTP URL for the organization

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUser

The user affected by the action

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserResourcePath

The HTTP path for the user.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) GetUserURL

The HTTP URL for the user.

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsAuditEntry

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsNode

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntry

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData

func (OrgUpdateMemberRepositoryInvitationPermissionAuditEntry) IsOrganizationAuditEntryData()

type Organization

type Organization struct {
	// The text of the announcement
	Announcement *string `json:"announcement,omitempty"`
	// The expiration date of the announcement, if any
	AnnouncementExpiresAt *time.Time `json:"announcementExpiresAt,omitempty"`
	// Whether the announcement can be dismissed by the user
	AnnouncementUserDismissible *bool `json:"announcementUserDismissible,omitempty"`
	// Determine if this repository owner has any items that can be pinned to their profile.
	AnyPinnableItems bool `json:"anyPinnableItems"`
	// Identifies the date and time when the organization was archived.
	ArchivedAt *time.Time `json:"archivedAt,omitempty"`
	// Audit log entries of the organization
	AuditLog *OrganizationAuditEntryConnection `json:"auditLog"`
	// A URL pointing to the organization's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The organization's public profile description.
	Description *string `json:"description,omitempty"`
	// The organization's public profile description rendered to HTML.
	DescriptionHTML *string `json:"descriptionHTML,omitempty"`
	// A list of domains owned by the organization.
	Domains *VerifiableDomainConnection `json:"domains,omitempty"`
	// The organization's public email.
	Email *string `json:"email,omitempty"`
	// A list of owners of the organization's enterprise account.
	EnterpriseOwners *OrganizationEnterpriseOwnerConnection `json:"enterpriseOwners"`
	// The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
	EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents"`
	// True if this user/organization has a GitHub Sponsors listing.
	HasSponsorsListing bool `json:"hasSponsorsListing"`
	// The Node ID of the Organization object
	ID string `json:"id"`
	// The interaction ability settings for this organization.
	InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
	// The setting value for whether the organization has an IP allow list enabled.
	IPAllowListEnabledSetting IPAllowListEnabledSettingValue `json:"ipAllowListEnabledSetting"`
	// The IP addresses that are allowed to access resources owned by the organization.
	IPAllowListEntries *IPAllowListEntryConnection `json:"ipAllowListEntries"`
	// The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled.
	IPAllowListForInstalledAppsEnabledSetting IPAllowListForInstalledAppsEnabledSettingValue `json:"ipAllowListForInstalledAppsEnabledSetting"`
	// Whether the given account is sponsoring this user/organization.
	IsSponsoredBy bool `json:"isSponsoredBy"`
	// True if the viewer is sponsored by this user/organization.
	IsSponsoringViewer bool `json:"isSponsoringViewer"`
	// Whether the organization has verified its profile email and website.
	IsVerified bool `json:"isVerified"`
	// Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
	ItemShowcase *ProfileItemShowcase `json:"itemShowcase"`
	// Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.
	LifetimeReceivedSponsorshipValues *SponsorAndLifetimeValueConnection `json:"lifetimeReceivedSponsorshipValues"`
	// The organization's public profile location.
	Location *string `json:"location,omitempty"`
	// The organization's login name.
	Login string `json:"login"`
	// A list of all mannequins for this organization.
	Mannequins *MannequinConnection `json:"mannequins"`
	// Get the status messages members of this entity have set that are either public or visible only to the organization.
	MemberStatuses *UserStatusConnection `json:"memberStatuses"`
	// Members can fork private repositories in this organization
	MembersCanForkPrivateRepositories bool `json:"membersCanForkPrivateRepositories"`
	// A list of users who are members of this organization.
	MembersWithRole *OrganizationMemberConnection `json:"membersWithRole"`
	// The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
	MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents"`
	// The organization's public profile name.
	Name *string `json:"name,omitempty"`
	// The HTTP path creating a new team
	NewTeamResourcePath string `json:"newTeamResourcePath"`
	// The HTTP URL creating a new team
	NewTeamURL string `json:"newTeamUrl"`
	// Indicates if email notification delivery for this organization is restricted to verified or approved domains.
	NotificationDeliveryRestrictionEnabledSetting NotificationRestrictionSettingValue `json:"notificationDeliveryRestrictionEnabledSetting"`
	// The billing email for the organization.
	OrganizationBillingEmail *string `json:"organizationBillingEmail,omitempty"`
	// A list of packages under the owner.
	Packages *PackageConnection `json:"packages"`
	// A list of users who have been invited to join this organization.
	PendingMembers *UserConnection `json:"pendingMembers"`
	// A list of repositories and gists this profile owner can pin to their profile.
	PinnableItems *PinnableItemConnection `json:"pinnableItems"`
	// A list of repositories and gists this profile owner has pinned to their profile
	PinnedItems *PinnableItemConnection `json:"pinnedItems"`
	// Returns how many more items this profile owner can pin to their profile.
	PinnedItemsRemaining int `json:"pinnedItemsRemaining"`
	// Find project by number.
	Project *Project `json:"project,omitempty"`
	// Find a project by number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// A list of projects under the owner.
	Projects *ProjectConnection `json:"projects"`
	// The HTTP path listing organization's projects
	ProjectsResourcePath string `json:"projectsResourcePath"`
	// The HTTP URL listing organization's projects
	ProjectsURL string `json:"projectsUrl"`
	// A list of projects under the owner.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// Recent projects that this user has modified in the context of the owner.
	RecentProjects *ProjectV2Connection `json:"recentProjects"`
	// A list of repositories that the user owns.
	Repositories *RepositoryConnection `json:"repositories"`
	// Find Repository.
	Repository *Repository `json:"repository,omitempty"`
	// Discussion comments this user has authored.
	RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments"`
	// Discussions this user has started.
	RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions"`
	// A list of all repository migrations for this organization.
	RepositoryMigrations *RepositoryMigrationConnection `json:"repositoryMigrations"`
	// When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.
	RequiresTwoFactorAuthentication *bool `json:"requiresTwoFactorAuthentication,omitempty"`
	// The HTTP path for this organization.
	ResourcePath string `json:"resourcePath"`
	// Returns a single ruleset from the current organization by ID.
	Ruleset *RepositoryRuleset `json:"ruleset,omitempty"`
	// A list of rulesets for this organization.
	Rulesets *RepositoryRulesetConnection `json:"rulesets,omitempty"`
	// The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members.
	SamlIdentityProvider *OrganizationIdentityProvider `json:"samlIdentityProvider,omitempty"`
	// List of users and organizations this entity is sponsoring.
	Sponsoring *SponsorConnection `json:"sponsoring"`
	// List of sponsors for this user or organization.
	Sponsors *SponsorConnection `json:"sponsors"`
	// Events involving this sponsorable, such as new sponsorships.
	SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities"`
	// The GitHub Sponsors listing for this user or organization.
	SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
	// The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
	SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"`
	// The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
	SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"`
	// List of sponsorship updates sent from this sponsorable to sponsors.
	SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters"`
	// The sponsorships where this user or organization is the maintainer receiving the funds.
	SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer"`
	// The sponsorships where this user or organization is the funder.
	SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor"`
	// Find an organization's team by its slug.
	Team *Team `json:"team,omitempty"`
	// A list of teams in this organization.
	Teams *TeamConnection `json:"teams"`
	// The HTTP path listing organization's teams
	TeamsResourcePath string `json:"teamsResourcePath"`
	// The HTTP URL listing organization's teams
	TeamsURL string `json:"teamsUrl"`
	// The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.
	TotalSponsorshipAmountAsSponsorInCents *int `json:"totalSponsorshipAmountAsSponsorInCents,omitempty"`
	// The organization's Twitter username.
	TwitterUsername *string `json:"twitterUsername,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this organization.
	URL string `json:"url"`
	// Organization is adminable by the viewer.
	ViewerCanAdminister bool `json:"viewerCanAdminister"`
	// Can the viewer pin repositories and gists to the profile?
	ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems"`
	// Can the current viewer create new projects on this owner.
	ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"`
	// Viewer can create repositories on this organization
	ViewerCanCreateRepositories bool `json:"viewerCanCreateRepositories"`
	// Viewer can create teams on this organization.
	ViewerCanCreateTeams bool `json:"viewerCanCreateTeams"`
	// Whether or not the viewer is able to sponsor this user/organization.
	ViewerCanSponsor bool `json:"viewerCanSponsor"`
	// Viewer is an active member of this organization.
	ViewerIsAMember bool `json:"viewerIsAMember"`
	// Whether or not this Organization is followed by the viewer.
	ViewerIsFollowing bool `json:"viewerIsFollowing"`
	// True if the viewer is sponsoring this user/organization.
	ViewerIsSponsoring bool `json:"viewerIsSponsoring"`
	// Whether contributors are required to sign off on web-based commits for repositories in this organization.
	WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"`
	// The organization's public profile URL.
	WebsiteURL *string `json:"websiteUrl,omitempty"`
}

An account on GitHub, with one or more owners, that has repositories, members and teams.

func (Organization) GetAnnouncement

func (this Organization) GetAnnouncement() *string

The text of the announcement

func (Organization) GetAnnouncementExpiresAt

func (this Organization) GetAnnouncementExpiresAt() *time.Time

The expiration date of the announcement, if any

func (Organization) GetAnnouncementUserDismissible

func (this Organization) GetAnnouncementUserDismissible() *bool

Whether the announcement can be dismissed by the user

func (Organization) GetAnyPinnableItems

func (this Organization) GetAnyPinnableItems() bool

Determine if this repository owner has any items that can be pinned to their profile.

func (Organization) GetAvatarURL

func (this Organization) GetAvatarURL() string

A URL pointing to the owner's public avatar.

func (Organization) GetEmail

func (this Organization) GetEmail() *string

The public profile email.

func (Organization) GetEstimatedNextSponsorsPayoutInCents

func (this Organization) GetEstimatedNextSponsorsPayoutInCents() int

The estimated next GitHub Sponsors payout for this user/organization in cents (USD).

func (Organization) GetHasSponsorsListing

func (this Organization) GetHasSponsorsListing() bool

True if this user/organization has a GitHub Sponsors listing.

func (Organization) GetID

func (this Organization) GetID() string

ID of the object.

func (Organization) GetIsSponsoredBy

func (this Organization) GetIsSponsoredBy() bool

Whether the given account is sponsoring this user/organization.

func (Organization) GetIsSponsoringViewer

func (this Organization) GetIsSponsoringViewer() bool

True if the viewer is sponsored by this user/organization.

func (Organization) GetItemShowcase

func (this Organization) GetItemShowcase() *ProfileItemShowcase

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

func (Organization) GetLifetimeReceivedSponsorshipValues

func (this Organization) GetLifetimeReceivedSponsorshipValues() *SponsorAndLifetimeValueConnection

Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.

func (Organization) GetLocation

func (this Organization) GetLocation() *string

The public profile location.

func (Organization) GetLogin

func (this Organization) GetLogin() string

The username used to login.

func (Organization) GetMemberStatuses

func (this Organization) GetMemberStatuses() *UserStatusConnection

Get the status messages members of this entity have set that are either public or visible only to the organization.

func (Organization) GetMonthlyEstimatedSponsorsIncomeInCents

func (this Organization) GetMonthlyEstimatedSponsorsIncomeInCents() int

The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).

func (Organization) GetName

func (this Organization) GetName() *string

The public profile name.

func (Organization) GetPackages

func (this Organization) GetPackages() *PackageConnection

A list of packages under the owner.

func (Organization) GetPinnableItems

func (this Organization) GetPinnableItems() *PinnableItemConnection

A list of repositories and gists this profile owner can pin to their profile.

func (Organization) GetPinnedItems

func (this Organization) GetPinnedItems() *PinnableItemConnection

A list of repositories and gists this profile owner has pinned to their profile

func (Organization) GetPinnedItemsRemaining

func (this Organization) GetPinnedItemsRemaining() int

Returns how many more items this profile owner can pin to their profile.

func (Organization) GetProject

func (this Organization) GetProject() *Project

Find project by number.

func (Organization) GetProjectV2

func (this Organization) GetProjectV2() *ProjectV2

Find a project by number.

func (Organization) GetProjects

func (this Organization) GetProjects() *ProjectConnection

A list of projects under the owner.

func (Organization) GetProjectsResourcePath

func (this Organization) GetProjectsResourcePath() string

The HTTP path listing owners projects

func (Organization) GetProjectsURL

func (this Organization) GetProjectsURL() string

The HTTP URL listing owners projects

func (Organization) GetProjectsV2

func (this Organization) GetProjectsV2() *ProjectV2Connection

A list of projects under the owner.

func (Organization) GetRecentProjects

func (this Organization) GetRecentProjects() *ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

func (Organization) GetRepositories

func (this Organization) GetRepositories() *RepositoryConnection

A list of repositories that the user owns.

func (Organization) GetRepository

func (this Organization) GetRepository() *Repository

Find Repository.

func (Organization) GetRepositoryDiscussionComments

func (this Organization) GetRepositoryDiscussionComments() *DiscussionCommentConnection

Discussion comments this user has authored.

func (Organization) GetRepositoryDiscussions

func (this Organization) GetRepositoryDiscussions() *DiscussionConnection

Discussions this user has started.

func (Organization) GetResourcePath

func (this Organization) GetResourcePath() string

The HTTP URL for the owner.

func (Organization) GetSponsoring

func (this Organization) GetSponsoring() *SponsorConnection

List of users and organizations this entity is sponsoring.

func (Organization) GetSponsors

func (this Organization) GetSponsors() *SponsorConnection

List of sponsors for this user or organization.

func (Organization) GetSponsorsActivities

func (this Organization) GetSponsorsActivities() *SponsorsActivityConnection

Events involving this sponsorable, such as new sponsorships.

func (Organization) GetSponsorsListing

func (this Organization) GetSponsorsListing() *SponsorsListing

The GitHub Sponsors listing for this user or organization.

func (Organization) GetSponsorshipForViewerAsSponsor

func (this Organization) GetSponsorshipForViewerAsSponsor() *Sponsorship

The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.

func (Organization) GetSponsorshipForViewerAsSponsorable

func (this Organization) GetSponsorshipForViewerAsSponsorable() *Sponsorship

The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.

func (Organization) GetSponsorshipNewsletters

func (this Organization) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection

List of sponsorship updates sent from this sponsorable to sponsors.

func (Organization) GetSponsorshipsAsMaintainer

func (this Organization) GetSponsorshipsAsMaintainer() *SponsorshipConnection

The sponsorships where this user or organization is the maintainer receiving the funds.

func (Organization) GetSponsorshipsAsSponsor

func (this Organization) GetSponsorshipsAsSponsor() *SponsorshipConnection

The sponsorships where this user or organization is the funder.

func (Organization) GetTotalSponsorshipAmountAsSponsorInCents

func (this Organization) GetTotalSponsorshipAmountAsSponsorInCents() *int

The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.

func (Organization) GetURL

func (this Organization) GetURL() string

The HTTP URL for the owner.

func (Organization) GetViewerCanChangePinnedItems

func (this Organization) GetViewerCanChangePinnedItems() bool

Can the viewer pin repositories and gists to the profile?

func (Organization) GetViewerCanCreateProjects

func (this Organization) GetViewerCanCreateProjects() bool

Can the current viewer create new projects on this owner.

func (Organization) GetViewerCanSponsor

func (this Organization) GetViewerCanSponsor() bool

Whether or not the viewer is able to sponsor this user/organization.

func (Organization) GetViewerIsSponsoring

func (this Organization) GetViewerIsSponsoring() bool

True if the viewer is sponsoring this user/organization.

func (Organization) GetWebsiteURL

func (this Organization) GetWebsiteURL() *string

The public profile website URL.

func (Organization) IsActor

func (Organization) IsActor()

func (Organization) IsAnnouncementBanner

func (Organization) IsAnnouncementBanner()

func (Organization) IsAssignee

func (Organization) IsAssignee()

func (Organization) IsAuditEntryActor

func (Organization) IsAuditEntryActor()

func (Organization) IsIPAllowListOwner

func (Organization) IsIPAllowListOwner()

func (Organization) IsMemberStatusable

func (Organization) IsMemberStatusable()

func (Organization) IsNode

func (Organization) IsNode()

func (Organization) IsOrganizationOrUser

func (Organization) IsOrganizationOrUser()

func (Organization) IsPackageOwner

func (Organization) IsPackageOwner()

func (Organization) IsPermissionGranter

func (Organization) IsPermissionGranter()

func (Organization) IsProfileOwner

func (Organization) IsProfileOwner()

func (Organization) IsProjectOwner

func (Organization) IsProjectOwner()

func (Organization) IsProjectV2Owner

func (Organization) IsProjectV2Owner()

func (Organization) IsProjectV2Recent

func (Organization) IsProjectV2Recent()

func (Organization) IsReactor

func (Organization) IsReactor()

func (Organization) IsRepositoryDiscussionAuthor

func (Organization) IsRepositoryDiscussionAuthor()

func (Organization) IsRepositoryDiscussionCommentAuthor

func (Organization) IsRepositoryDiscussionCommentAuthor()

func (Organization) IsRepositoryOwner

func (Organization) IsRepositoryOwner()

func (Organization) IsRuleSource

func (Organization) IsRuleSource()

func (Organization) IsSearchResultItem

func (Organization) IsSearchResultItem()

func (Organization) IsSponsor

func (Organization) IsSponsor()

func (Organization) IsSponsorable

func (Organization) IsSponsorable()

func (Organization) IsSponsorableItem

func (Organization) IsSponsorableItem()

func (Organization) IsUniformResourceLocatable

func (Organization) IsUniformResourceLocatable()

func (Organization) IsVerifiableDomainOwner

func (Organization) IsVerifiableDomainOwner()

type OrganizationAuditEntry

type OrganizationAuditEntry interface {
	IsOrganizationAuditEntry()
}

An audit entry in an organization audit log.

type OrganizationAuditEntryConnection

type OrganizationAuditEntryConnection struct {
	// A list of edges.
	Edges []*OrganizationAuditEntryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []OrganizationAuditEntry `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for OrganizationAuditEntry.

type OrganizationAuditEntryData

type OrganizationAuditEntryData interface {
	IsOrganizationAuditEntryData()
	// The Organization associated with the Audit Entry.
	GetOrganization() *Organization
	// The name of the Organization.
	GetOrganizationName() *string
	// The HTTP path for the organization
	GetOrganizationResourcePath() *string
	// The HTTP URL for the organization
	GetOrganizationURL() *string
}

Metadata for an audit entry with action org.*

type OrganizationAuditEntryEdge

type OrganizationAuditEntryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node OrganizationAuditEntry `json:"node,omitempty"`
}

An edge in a connection.

type OrganizationConnection

type OrganizationConnection struct {
	// A list of edges.
	Edges []*OrganizationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Organization `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of organizations managed by an enterprise.

type OrganizationEdge

type OrganizationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Organization `json:"node,omitempty"`
}

An edge in a connection.

type OrganizationEnterpriseOwnerConnection

type OrganizationEnterpriseOwnerConnection struct {
	// A list of edges.
	Edges []*OrganizationEnterpriseOwnerEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type OrganizationEnterpriseOwnerEdge

type OrganizationEnterpriseOwnerEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *User `json:"node,omitempty"`
	// The role of the owner with respect to the organization.
	OrganizationRole RoleInOrganization `json:"organizationRole"`
}

An enterprise owner in the context of an organization that is part of the enterprise.

type OrganizationIdentityProvider

type OrganizationIdentityProvider struct {
	// The digest algorithm used to sign SAML requests for the Identity Provider.
	DigestMethod *string `json:"digestMethod,omitempty"`
	// External Identities provisioned by this Identity Provider
	ExternalIdentities *ExternalIdentityConnection `json:"externalIdentities"`
	// The Node ID of the OrganizationIdentityProvider object
	ID string `json:"id"`
	// The x509 certificate used by the Identity Provider to sign assertions and responses.
	IdpCertificate *string `json:"idpCertificate,omitempty"`
	// The Issuer Entity ID for the SAML Identity Provider
	Issuer *string `json:"issuer,omitempty"`
	// Organization this Identity Provider belongs to
	Organization *Organization `json:"organization,omitempty"`
	// The signature algorithm used to sign SAML requests for the Identity Provider.
	SignatureMethod *string `json:"signatureMethod,omitempty"`
	// The URL endpoint for the Identity Provider's SAML SSO.
	SsoURL *string `json:"ssoUrl,omitempty"`
}

An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members.

func (OrganizationIdentityProvider) GetID

func (this OrganizationIdentityProvider) GetID() string

ID of the object.

func (OrganizationIdentityProvider) IsNode

type OrganizationInvitation

type OrganizationInvitation struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The email address of the user invited to the organization.
	Email *string `json:"email,omitempty"`
	// The Node ID of the OrganizationInvitation object
	ID string `json:"id"`
	// The source of the invitation.
	InvitationSource OrganizationInvitationSource `json:"invitationSource"`
	// The type of invitation that was sent (e.g. email, user).
	InvitationType OrganizationInvitationType `json:"invitationType"`
	// The user who was invited to the organization.
	Invitee *User `json:"invitee,omitempty"`
	// The user who created the invitation.
	Inviter *User `json:"inviter"`
	// The user who created the invitation.
	InviterActor *User `json:"inviterActor,omitempty"`
	// The organization the invite is for
	Organization *Organization `json:"organization"`
	// The user's pending role in the organization (e.g. member, owner).
	Role OrganizationInvitationRole `json:"role"`
}

An Invitation for a user to an organization.

func (OrganizationInvitation) GetID

func (this OrganizationInvitation) GetID() string

ID of the object.

func (OrganizationInvitation) IsNode

func (OrganizationInvitation) IsNode()

type OrganizationInvitationConnection

type OrganizationInvitationConnection struct {
	// A list of edges.
	Edges []*OrganizationInvitationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*OrganizationInvitation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for OrganizationInvitation.

type OrganizationInvitationEdge

type OrganizationInvitationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *OrganizationInvitation `json:"node,omitempty"`
}

An edge in a connection.

type OrganizationInvitationRole

type OrganizationInvitationRole string

The possible organization invitation roles.

const (
	// The user is invited to be a direct member of the organization.
	OrganizationInvitationRoleDirectMember OrganizationInvitationRole = "DIRECT_MEMBER"
	// The user is invited to be an admin of the organization.
	OrganizationInvitationRoleAdmin OrganizationInvitationRole = "ADMIN"
	// The user is invited to be a billing manager of the organization.
	OrganizationInvitationRoleBillingManager OrganizationInvitationRole = "BILLING_MANAGER"
	// The user's previous role will be reinstated.
	OrganizationInvitationRoleReinstate OrganizationInvitationRole = "REINSTATE"
)

func (OrganizationInvitationRole) IsValid

func (e OrganizationInvitationRole) IsValid() bool

func (OrganizationInvitationRole) MarshalGQL

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

func (OrganizationInvitationRole) String

func (*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 OrganizationMemberConnection

type OrganizationMemberConnection struct {
	// A list of edges.
	Edges []*OrganizationMemberEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of users who belong to the organization.

type OrganizationMemberEdge

type OrganizationMemberEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.
	HasTwoFactorEnabled *bool `json:"hasTwoFactorEnabled,omitempty"`
	// The item at the end of the edge.
	Node *User `json:"node,omitempty"`
	// The role this user has in the organization.
	Role *OrganizationMemberRole `json:"role,omitempty"`
}

Represents a user within an organization.

type OrganizationMemberRole

type OrganizationMemberRole string

The possible roles within an organization for its members.

const (
	// The user is a member of the organization.
	OrganizationMemberRoleMember OrganizationMemberRole = "MEMBER"
	// The user is an administrator of the organization.
	OrganizationMemberRoleAdmin OrganizationMemberRole = "ADMIN"
)

func (OrganizationMemberRole) IsValid

func (e OrganizationMemberRole) IsValid() bool

func (OrganizationMemberRole) MarshalGQL

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

func (OrganizationMemberRole) String

func (e OrganizationMemberRole) String() string

func (*OrganizationMemberRole) UnmarshalGQL

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

type OrganizationMembersCanCreateRepositoriesSettingValue

type OrganizationMembersCanCreateRepositoriesSettingValue string

The possible values for the members can create repositories setting on an organization.

const (
	// Members will be able to create public and private repositories.
	OrganizationMembersCanCreateRepositoriesSettingValueAll OrganizationMembersCanCreateRepositoriesSettingValue = "ALL"
	// Members will be able to create only private repositories.
	OrganizationMembersCanCreateRepositoriesSettingValuePrivate OrganizationMembersCanCreateRepositoriesSettingValue = "PRIVATE"
	// Members will be able to create only internal repositories.
	OrganizationMembersCanCreateRepositoriesSettingValueInternal OrganizationMembersCanCreateRepositoriesSettingValue = "INTERNAL"
	// Members will not be able to create public or private repositories.
	OrganizationMembersCanCreateRepositoriesSettingValueDisabled OrganizationMembersCanCreateRepositoriesSettingValue = "DISABLED"
)

func (OrganizationMembersCanCreateRepositoriesSettingValue) IsValid

func (OrganizationMembersCanCreateRepositoriesSettingValue) MarshalGQL

func (OrganizationMembersCanCreateRepositoriesSettingValue) String

func (*OrganizationMembersCanCreateRepositoriesSettingValue) UnmarshalGQL

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

type OrganizationMigration

type OrganizationMigration struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *string `json:"databaseId,omitempty"`
	// The reason the organization migration failed.
	FailureReason *string `json:"failureReason,omitempty"`
	// The Node ID of the OrganizationMigration object
	ID string `json:"id"`
	// The remaining amount of repos to be migrated.
	RemainingRepositoriesCount *int `json:"remainingRepositoriesCount,omitempty"`
	// The name of the source organization to be migrated.
	SourceOrgName string `json:"sourceOrgName"`
	// The URL of the source organization to migrate.
	SourceOrgURL string `json:"sourceOrgUrl"`
	// The migration state.
	State OrganizationMigrationState `json:"state"`
	// The name of the target organization.
	TargetOrgName string `json:"targetOrgName"`
	// The total amount of repositories to be migrated.
	TotalRepositoriesCount *int `json:"totalRepositoriesCount,omitempty"`
}

A GitHub Enterprise Importer (GEI) organization migration.

func (OrganizationMigration) GetID

func (this OrganizationMigration) GetID() string

ID of the object.

func (OrganizationMigration) IsNode

func (OrganizationMigration) IsNode()

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 OrganizationOrUser

type OrganizationOrUser interface {
	IsOrganizationOrUser()
}

Used for argument of CreateProjectV2 mutation.

type OrganizationOrder

type OrganizationOrder struct {
	// The field to order organizations by.
	Field OrganizationOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for organization connections.

type OrganizationOrderField

type OrganizationOrderField string

Properties by which organization connections can be ordered.

const (
	// Order organizations by creation time
	OrganizationOrderFieldCreatedAt OrganizationOrderField = "CREATED_AT"
	// Order organizations by login
	OrganizationOrderFieldLogin OrganizationOrderField = "LOGIN"
)

func (OrganizationOrderField) IsValid

func (e OrganizationOrderField) IsValid() bool

func (OrganizationOrderField) MarshalGQL

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

func (OrganizationOrderField) String

func (e OrganizationOrderField) String() string

func (*OrganizationOrderField) UnmarshalGQL

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

type OrganizationTeamsHovercardContext

type OrganizationTeamsHovercardContext struct {
	// A string describing this context
	Message string `json:"message"`
	// An octicon to accompany this context
	Octicon string `json:"octicon"`
	// Teams in this organization the user is a member of that are relevant
	RelevantTeams *TeamConnection `json:"relevantTeams"`
	// The path for the full team list for this user
	TeamsResourcePath string `json:"teamsResourcePath"`
	// The URL for the full team list for this user
	TeamsURL string `json:"teamsUrl"`
	// The total number of teams the user is on in the organization
	TotalTeamCount int `json:"totalTeamCount"`
}

An organization teams hovercard context

func (OrganizationTeamsHovercardContext) GetMessage

func (this OrganizationTeamsHovercardContext) GetMessage() string

A string describing this context

func (OrganizationTeamsHovercardContext) GetOcticon

func (this OrganizationTeamsHovercardContext) GetOcticon() string

An octicon to accompany this context

func (OrganizationTeamsHovercardContext) IsHovercardContext

func (OrganizationTeamsHovercardContext) IsHovercardContext()

type OrganizationsHovercardContext

type OrganizationsHovercardContext struct {
	// A string describing this context
	Message string `json:"message"`
	// An octicon to accompany this context
	Octicon string `json:"octicon"`
	// Organizations this user is a member of that are relevant
	RelevantOrganizations *OrganizationConnection `json:"relevantOrganizations"`
	// The total number of organizations this user is in
	TotalOrganizationCount int `json:"totalOrganizationCount"`
}

An organization list hovercard context

func (OrganizationsHovercardContext) GetMessage

func (this OrganizationsHovercardContext) GetMessage() string

A string describing this context

func (OrganizationsHovercardContext) GetOcticon

func (this OrganizationsHovercardContext) GetOcticon() string

An octicon to accompany this context

func (OrganizationsHovercardContext) IsHovercardContext

func (OrganizationsHovercardContext) IsHovercardContext()

type Package

type Package struct {
	// The Node ID of the Package object
	ID string `json:"id"`
	// Find the latest version for the package.
	LatestVersion *PackageVersion `json:"latestVersion,omitempty"`
	// Identifies the name of the package.
	Name string `json:"name"`
	// Identifies the type of the package.
	PackageType PackageType `json:"packageType"`
	// The repository this package belongs to.
	Repository *Repository `json:"repository,omitempty"`
	// Statistics about package activity.
	Statistics *PackageStatistics `json:"statistics,omitempty"`
	// Find package version by version string.
	Version *PackageVersion `json:"version,omitempty"`
	// list of versions for this package
	Versions *PackageVersionConnection `json:"versions"`
}

Information for an uploaded package.

func (Package) GetID

func (this Package) GetID() string

ID of the object.

func (Package) IsNode

func (Package) IsNode()

type PackageConnection

type PackageConnection struct {
	// A list of edges.
	Edges []*PackageEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Package `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Package.

type PackageEdge

type PackageEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Package `json:"node,omitempty"`
}

An edge in a connection.

type PackageFile

type PackageFile struct {
	// The Node ID of the PackageFile object
	ID string `json:"id"`
	// MD5 hash of the file.
	Md5 *string `json:"md5,omitempty"`
	// Name of the file.
	Name string `json:"name"`
	// The package version this file belongs to.
	PackageVersion *PackageVersion `json:"packageVersion,omitempty"`
	// SHA1 hash of the file.
	Sha1 *string `json:"sha1,omitempty"`
	// SHA256 hash of the file.
	Sha256 *string `json:"sha256,omitempty"`
	// Size of the file in bytes.
	Size *int `json:"size,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// URL to download the asset.
	URL *string `json:"url,omitempty"`
}

A file in a package version.

func (PackageFile) GetID

func (this PackageFile) GetID() string

ID of the object.

func (PackageFile) IsNode

func (PackageFile) IsNode()

type PackageFileConnection

type PackageFileConnection struct {
	// A list of edges.
	Edges []*PackageFileEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PackageFile `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PackageFile.

type PackageFileEdge

type PackageFileEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PackageFile `json:"node,omitempty"`
}

An edge in a connection.

type PackageFileOrder

type PackageFileOrder struct {
	// The field in which to order package files by.
	Field *PackageFileOrderField `json:"field,omitempty"`
	// The direction in which to order package files by the specified field.
	Direction *OrderDirection `json:"direction,omitempty"`
}

Ways in which lists of package files can be ordered upon return.

type PackageFileOrderField

type PackageFileOrderField string

Properties by which package file connections can be ordered.

const (
	// Order package files by creation time
	PackageFileOrderFieldCreatedAt PackageFileOrderField = "CREATED_AT"
)

func (PackageFileOrderField) IsValid

func (e PackageFileOrderField) IsValid() bool

func (PackageFileOrderField) MarshalGQL

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

func (PackageFileOrderField) String

func (e PackageFileOrderField) String() string

func (*PackageFileOrderField) UnmarshalGQL

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

type PackageOrder

type PackageOrder struct {
	// The field in which to order packages by.
	Field *PackageOrderField `json:"field,omitempty"`
	// The direction in which to order packages by the specified field.
	Direction *OrderDirection `json:"direction,omitempty"`
}

Ways in which lists of packages can be ordered upon return.

type PackageOrderField

type PackageOrderField string

Properties by which package connections can be ordered.

const (
	// Order packages by creation time
	PackageOrderFieldCreatedAt PackageOrderField = "CREATED_AT"
)

func (PackageOrderField) IsValid

func (e PackageOrderField) IsValid() bool

func (PackageOrderField) MarshalGQL

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

func (PackageOrderField) String

func (e PackageOrderField) String() string

func (*PackageOrderField) UnmarshalGQL

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

type PackageOwner

type PackageOwner interface {
	IsPackageOwner()
	// The Node ID of the PackageOwner object
	GetID() string
	// A list of packages under the owner.
	GetPackages() *PackageConnection
}

Represents an owner of a package.

type PackageStatistics

type PackageStatistics struct {
	// Number of times the package was downloaded since it was created.
	DownloadsTotalCount int `json:"downloadsTotalCount"`
}

Represents a object that contains package activity statistics such as downloads.

type PackageTag

type PackageTag struct {
	// The Node ID of the PackageTag object
	ID string `json:"id"`
	// Identifies the tag name of the version.
	Name string `json:"name"`
	// Version that the tag is associated with.
	Version *PackageVersion `json:"version,omitempty"`
}

A version tag contains the mapping between a tag name and a version.

func (PackageTag) GetID

func (this PackageTag) GetID() string

ID of the object.

func (PackageTag) IsNode

func (PackageTag) IsNode()

type PackageType

type PackageType string

The possible types of a package.

const (
	// An npm package.
	PackageTypeNpm PackageType = "NPM"
	// A rubygems package.
	PackageTypeRubygems PackageType = "RUBYGEMS"
	// A maven package.
	PackageTypeMaven PackageType = "MAVEN"
	// A docker image.
	PackageTypeDocker PackageType = "DOCKER"
	// A debian package.
	PackageTypeDebian PackageType = "DEBIAN"
	// A nuget package.
	PackageTypeNuget PackageType = "NUGET"
	// A python package.
	PackageTypePypi PackageType = "PYPI"
)

func (PackageType) IsValid

func (e PackageType) IsValid() bool

func (PackageType) MarshalGQL

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

func (PackageType) String

func (e PackageType) String() string

func (*PackageType) UnmarshalGQL

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

type PackageVersion

type PackageVersion struct {
	// List of files associated with this package version
	Files *PackageFileConnection `json:"files"`
	// The Node ID of the PackageVersion object
	ID string `json:"id"`
	// The package associated with this version.
	Package *Package `json:"package,omitempty"`
	// The platform this version was built for.
	Platform *string `json:"platform,omitempty"`
	// Whether or not this version is a pre-release.
	PreRelease bool `json:"preRelease"`
	// The README of this package version.
	Readme *string `json:"readme,omitempty"`
	// The release associated with this package version.
	Release *Release `json:"release,omitempty"`
	// Statistics about package activity.
	Statistics *PackageVersionStatistics `json:"statistics,omitempty"`
	// The package version summary.
	Summary *string `json:"summary,omitempty"`
	// The version string.
	Version string `json:"version"`
}

Information about a specific package version.

func (PackageVersion) GetID

func (this PackageVersion) GetID() string

ID of the object.

func (PackageVersion) IsNode

func (PackageVersion) IsNode()

type PackageVersionConnection

type PackageVersionConnection struct {
	// A list of edges.
	Edges []*PackageVersionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PackageVersion `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PackageVersion.

type PackageVersionEdge

type PackageVersionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PackageVersion `json:"node,omitempty"`
}

An edge in a connection.

type PackageVersionOrder

type PackageVersionOrder struct {
	// The field in which to order package versions by.
	Field *PackageVersionOrderField `json:"field,omitempty"`
	// The direction in which to order package versions by the specified field.
	Direction *OrderDirection `json:"direction,omitempty"`
}

Ways in which lists of package versions can be ordered upon return.

type PackageVersionOrderField

type PackageVersionOrderField string

Properties by which package version connections can be ordered.

const (
	// Order package versions by creation time
	PackageVersionOrderFieldCreatedAt PackageVersionOrderField = "CREATED_AT"
)

func (PackageVersionOrderField) IsValid

func (e PackageVersionOrderField) IsValid() bool

func (PackageVersionOrderField) MarshalGQL

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

func (PackageVersionOrderField) String

func (e PackageVersionOrderField) String() string

func (*PackageVersionOrderField) UnmarshalGQL

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

type PackageVersionStatistics

type PackageVersionStatistics struct {
	// Number of times the package was downloaded since it was created.
	DownloadsTotalCount int `json:"downloadsTotalCount"`
}

Represents a object that contains package version activity statistics such as downloads.

type PageInfo

type PageInfo struct {
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor,omitempty"`
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
	// When paginating backwards, are there more items?
	HasPreviousPage bool `json:"hasPreviousPage"`
	// When paginating backwards, the cursor to continue.
	StartCursor *string `json:"startCursor,omitempty"`
}

Information about pagination in a connection.

type 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 PermissionGranter

type PermissionGranter interface {
	IsPermissionGranter()
}

Types that can grant permissions on a repository to a user

type PermissionSource

type PermissionSource struct {
	// The organization the repository belongs to.
	Organization *Organization `json:"organization"`
	// The level of access this source has granted to the user.
	Permission DefaultRepositoryPermissionField `json:"permission"`
	// The name of the role this source has granted to the user.
	RoleName *string `json:"roleName,omitempty"`
	// The source of this permission.
	Source PermissionGranter `json:"source"`
}

A level of permission and source for a user's access to a repository.

type PinIssueInput

type PinIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the issue to be pinned
	IssueID string `json:"issueId"`
}

Autogenerated input type of PinIssue

type PinIssuePayload

type PinIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue that was pinned
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of PinIssue

type PinnableItem

type PinnableItem interface {
	IsPinnableItem()
}

Types that can be pinned to a profile page.

type PinnableItemConnection

type PinnableItemConnection struct {
	// A list of edges.
	Edges []*PinnableItemEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []PinnableItem `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PinnableItem.

type PinnableItemEdge

type PinnableItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node PinnableItem `json:"node,omitempty"`
}

An edge in a connection.

type PinnableItemType

type PinnableItemType string

Represents items that can be pinned to a profile page or dashboard.

const (
	// A repository.
	PinnableItemTypeRepository PinnableItemType = "REPOSITORY"
	// A gist.
	PinnableItemTypeGist PinnableItemType = "GIST"
	// An issue.
	PinnableItemTypeIssue PinnableItemType = "ISSUE"
	// A project.
	PinnableItemTypeProject PinnableItemType = "PROJECT"
	// A pull request.
	PinnableItemTypePullRequest PinnableItemType = "PULL_REQUEST"
	// A user.
	PinnableItemTypeUser PinnableItemType = "USER"
	// An organization.
	PinnableItemTypeOrganization PinnableItemType = "ORGANIZATION"
	// A team.
	PinnableItemTypeTeam PinnableItemType = "TEAM"
)

func (PinnableItemType) IsValid

func (e PinnableItemType) IsValid() bool

func (PinnableItemType) MarshalGQL

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

func (PinnableItemType) String

func (e PinnableItemType) String() string

func (*PinnableItemType) UnmarshalGQL

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

type PinnedDiscussion

type PinnedDiscussion struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The discussion that was pinned.
	Discussion *Discussion `json:"discussion"`
	// Color stops of the chosen gradient
	GradientStopColors []string `json:"gradientStopColors"`
	// The Node ID of the PinnedDiscussion object
	ID string `json:"id"`
	// Background texture pattern
	Pattern PinnedDiscussionPattern `json:"pattern"`
	// The actor that pinned this discussion.
	PinnedBy Actor `json:"pinnedBy"`
	// Preconfigured background gradient option
	PreconfiguredGradient *PinnedDiscussionGradient `json:"preconfiguredGradient,omitempty"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A Pinned Discussion is a discussion pinned to a repository's index page.

func (PinnedDiscussion) GetID

func (this PinnedDiscussion) GetID() string

ID of the object.

func (PinnedDiscussion) GetRepository

func (this PinnedDiscussion) GetRepository() *Repository

The repository associated with this node.

func (PinnedDiscussion) IsNode

func (PinnedDiscussion) IsNode()

func (PinnedDiscussion) IsRepositoryNode

func (PinnedDiscussion) IsRepositoryNode()

type PinnedDiscussionConnection

type PinnedDiscussionConnection struct {
	// A list of edges.
	Edges []*PinnedDiscussionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PinnedDiscussion `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PinnedDiscussion.

type PinnedDiscussionEdge

type PinnedDiscussionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PinnedDiscussion `json:"node,omitempty"`
}

An edge in a connection.

type PinnedDiscussionGradient

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 PinnedEvent

type PinnedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the PinnedEvent object
	ID string `json:"id"`
	// Identifies the issue associated with the event.
	Issue *Issue `json:"issue"`
}

Represents a 'pinned' event on a given issue or pull request.

func (PinnedEvent) GetID

func (this PinnedEvent) GetID() string

ID of the object.

func (PinnedEvent) IsIssueTimelineItems

func (PinnedEvent) IsIssueTimelineItems()

func (PinnedEvent) IsNode

func (PinnedEvent) IsNode()

func (PinnedEvent) IsPullRequestTimelineItems

func (PinnedEvent) IsPullRequestTimelineItems()

type PinnedIssue

type PinnedIssue struct {
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The Node ID of the PinnedIssue object
	ID string `json:"id"`
	// The issue that was pinned.
	Issue *Issue `json:"issue"`
	// The actor that pinned this issue.
	PinnedBy Actor `json:"pinnedBy"`
	// The repository that this issue was pinned to.
	Repository *Repository `json:"repository"`
}

A Pinned Issue is a issue pinned to a repository's index page.

func (PinnedIssue) GetID

func (this PinnedIssue) GetID() string

ID of the object.

func (PinnedIssue) IsNode

func (PinnedIssue) IsNode()

type PinnedIssueConnection

type PinnedIssueConnection struct {
	// A list of edges.
	Edges []*PinnedIssueEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PinnedIssue `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PinnedIssue.

type PinnedIssueEdge

type PinnedIssueEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PinnedIssue `json:"node,omitempty"`
}

An edge in a connection.

type PrivateRepositoryForkingDisableAuditEntry

type PrivateRepositoryForkingDisableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the PrivateRepositoryForkingDisableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a private_repository_forking.disable event.

func (PrivateRepositoryForkingDisableAuditEntry) GetAction

The action name

func (PrivateRepositoryForkingDisableAuditEntry) GetActor

The user who initiated the action

func (PrivateRepositoryForkingDisableAuditEntry) GetActorIP

The IP address of the actor

func (PrivateRepositoryForkingDisableAuditEntry) GetActorLocation

A readable representation of the actor's location

func (PrivateRepositoryForkingDisableAuditEntry) GetActorLogin

func (this PrivateRepositoryForkingDisableAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath

func (this PrivateRepositoryForkingDisableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (PrivateRepositoryForkingDisableAuditEntry) GetActorURL

The HTTP URL for the actor.

func (PrivateRepositoryForkingDisableAuditEntry) GetCreatedAt

The time the action was initiated

func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath

func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug

func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseURL

func (this PrivateRepositoryForkingDisableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (PrivateRepositoryForkingDisableAuditEntry) GetID

ID of the object.

func (PrivateRepositoryForkingDisableAuditEntry) GetOperationType

The corresponding operation type for the action

func (PrivateRepositoryForkingDisableAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName

func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath

func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (PrivateRepositoryForkingDisableAuditEntry) GetOrganizationURL

func (this PrivateRepositoryForkingDisableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (PrivateRepositoryForkingDisableAuditEntry) GetRepository

The repository associated with the action

func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName

func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryName() *string

The name of the repository

func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath

func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (PrivateRepositoryForkingDisableAuditEntry) GetRepositoryURL

func (this PrivateRepositoryForkingDisableAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (PrivateRepositoryForkingDisableAuditEntry) GetUser

The user affected by the action

func (PrivateRepositoryForkingDisableAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath

func (this PrivateRepositoryForkingDisableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (PrivateRepositoryForkingDisableAuditEntry) GetUserURL

The HTTP URL for the user.

func (PrivateRepositoryForkingDisableAuditEntry) IsAuditEntry

func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData

func (PrivateRepositoryForkingDisableAuditEntry) IsEnterpriseAuditEntryData()

func (PrivateRepositoryForkingDisableAuditEntry) IsNode

func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry

func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntry()

func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData

func (PrivateRepositoryForkingDisableAuditEntry) IsOrganizationAuditEntryData()

func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData

func (PrivateRepositoryForkingDisableAuditEntry) IsRepositoryAuditEntryData()

type PrivateRepositoryForkingEnableAuditEntry

type PrivateRepositoryForkingEnableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the PrivateRepositoryForkingEnableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a private_repository_forking.enable event.

func (PrivateRepositoryForkingEnableAuditEntry) GetAction

The action name

func (PrivateRepositoryForkingEnableAuditEntry) GetActor

The user who initiated the action

func (PrivateRepositoryForkingEnableAuditEntry) GetActorIP

The IP address of the actor

func (PrivateRepositoryForkingEnableAuditEntry) GetActorLocation

A readable representation of the actor's location

func (PrivateRepositoryForkingEnableAuditEntry) GetActorLogin

func (this PrivateRepositoryForkingEnableAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath

func (this PrivateRepositoryForkingEnableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (PrivateRepositoryForkingEnableAuditEntry) GetActorURL

The HTTP URL for the actor.

func (PrivateRepositoryForkingEnableAuditEntry) GetCreatedAt

The time the action was initiated

func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath

func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug

func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseURL

func (this PrivateRepositoryForkingEnableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (PrivateRepositoryForkingEnableAuditEntry) GetID

ID of the object.

func (PrivateRepositoryForkingEnableAuditEntry) GetOperationType

The corresponding operation type for the action

func (PrivateRepositoryForkingEnableAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName

func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath

func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (PrivateRepositoryForkingEnableAuditEntry) GetOrganizationURL

func (this PrivateRepositoryForkingEnableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (PrivateRepositoryForkingEnableAuditEntry) GetRepository

The repository associated with the action

func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName

func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryName() *string

The name of the repository

func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath

func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (PrivateRepositoryForkingEnableAuditEntry) GetRepositoryURL

func (this PrivateRepositoryForkingEnableAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (PrivateRepositoryForkingEnableAuditEntry) GetUser

The user affected by the action

func (PrivateRepositoryForkingEnableAuditEntry) GetUserLogin

func (this PrivateRepositoryForkingEnableAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath

func (this PrivateRepositoryForkingEnableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (PrivateRepositoryForkingEnableAuditEntry) GetUserURL

The HTTP URL for the user.

func (PrivateRepositoryForkingEnableAuditEntry) IsAuditEntry

func (PrivateRepositoryForkingEnableAuditEntry) IsEnterpriseAuditEntryData

func (PrivateRepositoryForkingEnableAuditEntry) IsEnterpriseAuditEntryData()

func (PrivateRepositoryForkingEnableAuditEntry) IsNode

func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntry

func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntry()

func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntryData

func (PrivateRepositoryForkingEnableAuditEntry) IsOrganizationAuditEntryData()

func (PrivateRepositoryForkingEnableAuditEntry) IsRepositoryAuditEntryData

func (PrivateRepositoryForkingEnableAuditEntry) IsRepositoryAuditEntryData()

type ProfileItemShowcase

type ProfileItemShowcase struct {
	// Whether or not the owner has pinned any repositories or gists.
	HasPinnedItems bool `json:"hasPinnedItems"`
	// The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned.
	Items *PinnableItemConnection `json:"items"`
}

A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.

type ProfileOwner

type ProfileOwner interface {
	IsProfileOwner()
	// Determine if this repository owner has any items that can be pinned to their profile.
	GetAnyPinnableItems() bool
	// The public profile email.
	GetEmail() *string
	// The Node ID of the ProfileOwner object
	GetID() string
	// Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
	GetItemShowcase() *ProfileItemShowcase
	// The public profile location.
	GetLocation() *string
	// The username used to login.
	GetLogin() string
	// The public profile name.
	GetName() *string
	// A list of repositories and gists this profile owner can pin to their profile.
	GetPinnableItems() *PinnableItemConnection
	// A list of repositories and gists this profile owner has pinned to their profile
	GetPinnedItems() *PinnableItemConnection
	// Returns how many more items this profile owner can pin to their profile.
	GetPinnedItemsRemaining() int
	// Can the viewer pin repositories and gists to the profile?
	GetViewerCanChangePinnedItems() bool
	// The public profile website URL.
	GetWebsiteURL() *string
}

Represents any entity on GitHub that has a profile page.

type Project

type Project struct {
	// The project's description body.
	Body *string `json:"body,omitempty"`
	// The projects description body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// Indicates if the object is closed (definition of closed may depend on type)
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// List of columns in the project
	Columns *ProjectColumnConnection `json:"columns"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who originally created the project.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the Project object
	ID string `json:"id"`
	// The project's name.
	Name string `json:"name"`
	// The project's number.
	Number int `json:"number"`
	// The project's owner. Currently limited to repositories, organizations, and users.
	Owner ProjectOwner `json:"owner"`
	// List of pending cards in this project
	PendingCards *ProjectCardConnection `json:"pendingCards"`
	// Project progress details.
	Progress *ProjectProgress `json:"progress"`
	// The HTTP path for this project
	ResourcePath string `json:"resourcePath"`
	// Whether the project is open or closed.
	State ProjectState `json:"state"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this project
	URL string `json:"url"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
}

Projects manage issues, pull requests and notes within a project owner.

func (Project) GetClosed

func (this Project) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (Project) GetClosedAt

func (this Project) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (Project) GetID

func (this Project) GetID() string

ID of the object.

func (Project) GetViewerCanClose

func (this Project) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (Project) GetViewerCanReopen

func (this Project) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (Project) GetViewerCanUpdate

func (this Project) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (Project) IsClosable

func (Project) IsClosable()

func (Project) IsNode

func (Project) IsNode()

func (Project) IsUpdatable

func (Project) IsUpdatable()

type ProjectCard

type ProjectCard struct {
	// The project column this card is associated under. A card may only belong to one
	// project column at a time. The column field will be null if the card is created
	// in a pending state and has yet to be associated with a column. Once cards are
	// associated with a column, they will not become pending in the future.
	//
	Column *ProjectColumn `json:"column,omitempty"`
	// The card content item
	Content ProjectCardItem `json:"content,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created this card
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ProjectCard object
	ID string `json:"id"`
	// Whether the card is archived
	IsArchived bool `json:"isArchived"`
	// The card note
	Note *string `json:"note,omitempty"`
	// The project that contains this card.
	Project *Project `json:"project"`
	// The HTTP path for this card
	ResourcePath string `json:"resourcePath"`
	// The state of ProjectCard
	State *ProjectCardState `json:"state,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this card
	URL string `json:"url"`
}

A card in a project.

func (ProjectCard) GetID

func (this ProjectCard) GetID() string

ID of the object.

func (ProjectCard) IsNode

func (ProjectCard) IsNode()

type ProjectCardArchivedState

type ProjectCardArchivedState string

The possible archived states of a project card.

const (
	// A project card that is archived
	ProjectCardArchivedStateArchived ProjectCardArchivedState = "ARCHIVED"
	// A project card that is not archived
	ProjectCardArchivedStateNotArchived ProjectCardArchivedState = "NOT_ARCHIVED"
)

func (ProjectCardArchivedState) IsValid

func (e ProjectCardArchivedState) IsValid() bool

func (ProjectCardArchivedState) MarshalGQL

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

func (ProjectCardArchivedState) String

func (e ProjectCardArchivedState) String() string

func (*ProjectCardArchivedState) UnmarshalGQL

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

type ProjectCardConnection

type ProjectCardConnection struct {
	// A list of edges.
	Edges []*ProjectCardEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectCard `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectCard.

type ProjectCardEdge

type ProjectCardEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectCard `json:"node,omitempty"`
}

An edge in a connection.

type ProjectCardItem

type ProjectCardItem interface {
	IsProjectCardItem()
}

Types that can be inside Project Cards.

type ProjectCardState

type ProjectCardState string

Various content states of a ProjectCard

const (
	// The card has content only.
	ProjectCardStateContentOnly ProjectCardState = "CONTENT_ONLY"
	// The card has a note only.
	ProjectCardStateNoteOnly ProjectCardState = "NOTE_ONLY"
	// The card is redacted.
	ProjectCardStateRedacted ProjectCardState = "REDACTED"
)

func (ProjectCardState) IsValid

func (e ProjectCardState) IsValid() bool

func (ProjectCardState) MarshalGQL

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

func (ProjectCardState) String

func (e ProjectCardState) String() string

func (*ProjectCardState) UnmarshalGQL

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

type ProjectColumn

type ProjectColumn struct {
	// List of cards in the column
	Cards *ProjectCardConnection `json:"cards"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ProjectColumn object
	ID string `json:"id"`
	// The project column's name.
	Name string `json:"name"`
	// The project that contains this column.
	Project *Project `json:"project"`
	// The semantic purpose of the column
	Purpose *ProjectColumnPurpose `json:"purpose,omitempty"`
	// The HTTP path for this project column
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this project column
	URL string `json:"url"`
}

A column inside a project.

func (ProjectColumn) GetID

func (this ProjectColumn) GetID() string

ID of the object.

func (ProjectColumn) IsNode

func (ProjectColumn) IsNode()

type ProjectColumnConnection

type ProjectColumnConnection struct {
	// A list of edges.
	Edges []*ProjectColumnEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectColumn `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectColumn.

type ProjectColumnEdge

type ProjectColumnEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectColumn `json:"node,omitempty"`
}

An edge in a connection.

type ProjectColumnPurpose

type ProjectColumnPurpose string

The semantic purpose of the column - todo, in progress, or done.

const (
	// The column contains cards still to be worked on
	ProjectColumnPurposeTodo ProjectColumnPurpose = "TODO"
	// The column contains cards which are currently being worked on
	ProjectColumnPurposeInProgress ProjectColumnPurpose = "IN_PROGRESS"
	// The column contains cards which are complete
	ProjectColumnPurposeDone ProjectColumnPurpose = "DONE"
)

func (ProjectColumnPurpose) IsValid

func (e ProjectColumnPurpose) IsValid() bool

func (ProjectColumnPurpose) MarshalGQL

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

func (ProjectColumnPurpose) String

func (e ProjectColumnPurpose) String() string

func (*ProjectColumnPurpose) UnmarshalGQL

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

type ProjectConnection

type ProjectConnection struct {
	// A list of edges.
	Edges []*ProjectEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Project `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of projects associated with the owner.

type ProjectEdge

type ProjectEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Project `json:"node,omitempty"`
}

An edge in a connection.

type ProjectOrder

type ProjectOrder struct {
	// The field in which to order projects by.
	Field ProjectOrderField `json:"field"`
	// The direction in which to order projects by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of projects can be ordered upon return.

type ProjectOrderField

type ProjectOrderField string

Properties by which project connections can be ordered.

const (
	// Order projects by creation time
	ProjectOrderFieldCreatedAt ProjectOrderField = "CREATED_AT"
	// Order projects by update time
	ProjectOrderFieldUpdatedAt ProjectOrderField = "UPDATED_AT"
	// Order projects by name
	ProjectOrderFieldName ProjectOrderField = "NAME"
)

func (ProjectOrderField) IsValid

func (e ProjectOrderField) IsValid() bool

func (ProjectOrderField) MarshalGQL

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

func (ProjectOrderField) String

func (e ProjectOrderField) String() string

func (*ProjectOrderField) UnmarshalGQL

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

type ProjectOwner

type ProjectOwner interface {
	IsProjectOwner()
	// The Node ID of the ProjectOwner object
	GetID() string
	// Find project by number.
	GetProject() *Project
	// A list of projects under the owner.
	GetProjects() *ProjectConnection
	// The HTTP path listing owners projects
	GetProjectsResourcePath() string
	// The HTTP URL listing owners projects
	GetProjectsURL() string
	// Can the current viewer create new projects on this owner.
	GetViewerCanCreateProjects() bool
}

Represents an owner of a Project.

type ProjectProgress

type ProjectProgress struct {
	// The number of done cards.
	DoneCount int `json:"doneCount"`
	// The percentage of done cards.
	DonePercentage float64 `json:"donePercentage"`
	// Whether progress tracking is enabled and cards with purpose exist for this project
	Enabled bool `json:"enabled"`
	// The number of in-progress cards.
	InProgressCount int `json:"inProgressCount"`
	// The percentage of in-progress cards.
	InProgressPercentage float64 `json:"inProgressPercentage"`
	// The number of to do cards.
	TodoCount int `json:"todoCount"`
	// The percentage of to do cards.
	TodoPercentage float64 `json:"todoPercentage"`
}

Project progress stats.

type ProjectState

type ProjectState string

State of the project; either 'open' or 'closed'

const (
	// The project is open.
	ProjectStateOpen ProjectState = "OPEN"
	// The project is closed.
	ProjectStateClosed ProjectState = "CLOSED"
)

func (ProjectState) IsValid

func (e ProjectState) IsValid() bool

func (ProjectState) MarshalGQL

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

func (ProjectState) String

func (e ProjectState) String() string

func (*ProjectState) UnmarshalGQL

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

type ProjectTemplate

type ProjectTemplate string

GitHub-provided templates for Projects

const (
	// Create a board with columns for To do, In progress and Done.
	ProjectTemplateBasicKanban ProjectTemplate = "BASIC_KANBAN"
	// Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns.
	ProjectTemplateAutomatedKanbanV2 ProjectTemplate = "AUTOMATED_KANBAN_V2"
	// Create a board with triggers to automatically move cards across columns with review automation.
	ProjectTemplateAutomatedReviewsKanban ProjectTemplate = "AUTOMATED_REVIEWS_KANBAN"
	// Create a board to triage and prioritize bugs with To do, priority, and Done columns.
	ProjectTemplateBugTriage ProjectTemplate = "BUG_TRIAGE"
)

func (ProjectTemplate) IsValid

func (e ProjectTemplate) IsValid() bool

func (ProjectTemplate) MarshalGQL

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

func (ProjectTemplate) String

func (e ProjectTemplate) String() string

func (*ProjectTemplate) UnmarshalGQL

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

type ProjectV2

type ProjectV2 struct {
	// Returns true if the project is closed.
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who originally created the project.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// A field of the project
	Field ProjectV2FieldConfiguration `json:"field,omitempty"`
	// List of fields and their constraints in the project
	Fields *ProjectV2FieldConfigurationConnection `json:"fields"`
	// The Node ID of the ProjectV2 object
	ID string `json:"id"`
	// List of items in the project
	Items *ProjectV2ItemConnection `json:"items"`
	// The project's number.
	Number int `json:"number"`
	// The project's owner. Currently limited to organizations and users.
	Owner ProjectV2Owner `json:"owner"`
	// Returns true if the project is public.
	Public bool `json:"public"`
	// The project's readme.
	Readme *string `json:"readme,omitempty"`
	// The repositories the project is linked to.
	Repositories *RepositoryConnection `json:"repositories"`
	// The HTTP path for this project
	ResourcePath string `json:"resourcePath"`
	// The project's short description.
	ShortDescription *string `json:"shortDescription,omitempty"`
	// The teams the project is linked to.
	Teams *TeamConnection `json:"teams"`
	// Returns true if this project is a template.
	Template bool `json:"template"`
	// The project's name.
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this project
	URL string `json:"url"`
	// A view of the project
	View *ProjectV2View `json:"view,omitempty"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// List of views in the project
	Views *ProjectV2ViewConnection `json:"views"`
	// A workflow of the project
	Workflow *ProjectV2Workflow `json:"workflow,omitempty"`
	// List of the workflows in the project
	Workflows *ProjectV2WorkflowConnection `json:"workflows"`
}

New projects that manage issues, pull requests and drafts using tables and boards.

func (ProjectV2) GetClosed

func (this ProjectV2) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (ProjectV2) GetClosedAt

func (this ProjectV2) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (ProjectV2) GetID

func (this ProjectV2) GetID() string

ID of the object.

func (ProjectV2) GetViewerCanClose

func (this ProjectV2) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (ProjectV2) GetViewerCanReopen

func (this ProjectV2) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (ProjectV2) GetViewerCanUpdate

func (this ProjectV2) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (ProjectV2) IsClosable

func (ProjectV2) IsClosable()

func (ProjectV2) IsNode

func (ProjectV2) IsNode()

func (ProjectV2) IsUpdatable

func (ProjectV2) IsUpdatable()

type ProjectV2Actor

type ProjectV2Actor interface {
	IsProjectV2Actor()
}

Possible collaborators for a project.

type ProjectV2ActorConnection

type ProjectV2ActorConnection struct {
	// A list of edges.
	Edges []*ProjectV2ActorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []ProjectV2Actor `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2Actor.

type ProjectV2ActorEdge

type ProjectV2ActorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node ProjectV2Actor `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2Collaborator

type ProjectV2Collaborator struct {
	// The ID of the user as a collaborator.
	UserID *string `json:"userId,omitempty"`
	// The ID of the team as a collaborator.
	TeamID *string `json:"teamId,omitempty"`
	// The role to grant the collaborator
	Role ProjectV2Roles `json:"role"`
}

A collaborator to update on a project. Only one of the userId or teamId should be provided.

type ProjectV2Connection

type ProjectV2Connection struct {
	// A list of edges.
	Edges []*ProjectV2Edge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2 `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2.

type ProjectV2CustomFieldType

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 ProjectV2Edge

type ProjectV2Edge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2 `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2Field

type ProjectV2Field struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The field's type.
	DataType ProjectV2FieldType `json:"dataType"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ProjectV2Field object
	ID string `json:"id"`
	// The project field's name.
	Name string `json:"name"`
	// The project that contains this field.
	Project *ProjectV2 `json:"project"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A field inside a project.

func (ProjectV2Field) GetCreatedAt

func (this ProjectV2Field) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2Field) GetDataType

func (this ProjectV2Field) GetDataType() ProjectV2FieldType

The field's type.

func (ProjectV2Field) GetDatabaseID

func (this ProjectV2Field) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2Field) GetID

func (this ProjectV2Field) GetID() string

ID of the object.

func (ProjectV2Field) GetName

func (this ProjectV2Field) GetName() string

The project field's name.

func (ProjectV2Field) GetProject

func (this ProjectV2Field) GetProject() *ProjectV2

The project that contains this field.

func (ProjectV2Field) GetUpdatedAt

func (this ProjectV2Field) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2Field) IsNode

func (ProjectV2Field) IsNode()

func (ProjectV2Field) IsProjectV2FieldCommon

func (ProjectV2Field) IsProjectV2FieldCommon()

func (ProjectV2Field) IsProjectV2FieldConfiguration

func (ProjectV2Field) IsProjectV2FieldConfiguration()

type ProjectV2FieldCommon

type ProjectV2FieldCommon interface {
	IsProjectV2FieldCommon()
	// Identifies the date and time when the object was created.
	GetCreatedAt() time.Time
	// The field's type.
	GetDataType() ProjectV2FieldType
	// Identifies the primary key from the database.
	GetDatabaseID() *int
	// The Node ID of the ProjectV2FieldCommon object
	GetID() string
	// The project field's name.
	GetName() string
	// The project that contains this field.
	GetProject() *ProjectV2
	// Identifies the date and time when the object was last updated.
	GetUpdatedAt() time.Time
}

Common fields across different project field types

type ProjectV2FieldConfiguration

type ProjectV2FieldConfiguration interface {
	IsProjectV2FieldConfiguration()
}

Configurations for project fields.

type ProjectV2FieldConfigurationConnection

type ProjectV2FieldConfigurationConnection struct {
	// A list of edges.
	Edges []*ProjectV2FieldConfigurationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []ProjectV2FieldConfiguration `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2FieldConfiguration.

type ProjectV2FieldConfigurationEdge

type ProjectV2FieldConfigurationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node ProjectV2FieldConfiguration `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2FieldConnection

type ProjectV2FieldConnection struct {
	// A list of edges.
	Edges []*ProjectV2FieldEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2Field `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2Field.

type ProjectV2FieldEdge

type ProjectV2FieldEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2Field `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2FieldOrder

type ProjectV2FieldOrder struct {
	// The field to order the project v2 fields by.
	Field ProjectV2FieldOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for project v2 field connections

type ProjectV2FieldOrderField

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 ProjectV2FieldValue

type ProjectV2FieldValue struct {
	// The text to set on the field.
	Text *string `json:"text,omitempty"`
	// The number to set on the field.
	Number *float64 `json:"number,omitempty"`
	// The ISO 8601 date to set on the field.
	Date *string `json:"date,omitempty"`
	// The id of the single select option to set on the field.
	SingleSelectOptionID *string `json:"singleSelectOptionId,omitempty"`
	// The id of the iteration to set on the field.
	IterationID *string `json:"iterationId,omitempty"`
}

The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time.

type ProjectV2Filters

type ProjectV2Filters struct {
	// List project v2 filtered by the state given.
	State *ProjectV2State `json:"state,omitempty"`
}

Ways in which to filter lists of projects.

type ProjectV2Item

type ProjectV2Item struct {
	// The content of the referenced draft issue, issue, or pull request
	Content ProjectV2ItemContent `json:"content,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The field value of the first project field which matches the 'name' argument that is set on the item.
	FieldValueByName ProjectV2ItemFieldValue `json:"fieldValueByName,omitempty"`
	// The field values that are set on the item.
	FieldValues *ProjectV2ItemFieldValueConnection `json:"fieldValues"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The Node ID of the ProjectV2Item object
	ID string `json:"id"`
	// Whether the item is archived.
	IsArchived bool `json:"isArchived"`
	// The project that contains this item.
	Project *ProjectV2 `json:"project"`
	// The type of the item.
	Type ProjectV2ItemType `json:"type"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

An item within a Project.

func (ProjectV2Item) GetID

func (this ProjectV2Item) GetID() string

ID of the object.

func (ProjectV2Item) IsNode

func (ProjectV2Item) IsNode()

type ProjectV2ItemConnection

type ProjectV2ItemConnection struct {
	// A list of edges.
	Edges []*ProjectV2ItemEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2Item `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2Item.

type ProjectV2ItemContent

type ProjectV2ItemContent interface {
	IsProjectV2ItemContent()
}

Types that can be inside Project Items.

type ProjectV2ItemEdge

type ProjectV2ItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2Item `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2ItemFieldDateValue

type ProjectV2ItemFieldDateValue struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Date value for the field
	Date *string `json:"date,omitempty"`
	// The project field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The Node ID of the ProjectV2ItemFieldDateValue object
	ID string `json:"id"`
	// The project item that contains this value.
	Item *ProjectV2Item `json:"item"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The value of a date field in a Project item.

func (ProjectV2ItemFieldDateValue) GetCreatedAt

func (this ProjectV2ItemFieldDateValue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2ItemFieldDateValue) GetCreator

func (this ProjectV2ItemFieldDateValue) GetCreator() Actor

The actor who created the item.

func (ProjectV2ItemFieldDateValue) GetDatabaseID

func (this ProjectV2ItemFieldDateValue) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2ItemFieldDateValue) GetField

The project field that contains this value.

func (ProjectV2ItemFieldDateValue) GetID

func (this ProjectV2ItemFieldDateValue) GetID() string

ID of the object.

func (ProjectV2ItemFieldDateValue) GetItem

The project item that contains this value.

func (ProjectV2ItemFieldDateValue) GetUpdatedAt

func (this ProjectV2ItemFieldDateValue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2ItemFieldDateValue) IsNode

func (ProjectV2ItemFieldDateValue) IsNode()

func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValue()

func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValueCommon

func (ProjectV2ItemFieldDateValue) IsProjectV2ItemFieldValueCommon()

type ProjectV2ItemFieldIterationValue

type ProjectV2ItemFieldIterationValue struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The duration of the iteration in days.
	Duration int `json:"duration"`
	// The project field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The Node ID of the ProjectV2ItemFieldIterationValue object
	ID string `json:"id"`
	// The project item that contains this value.
	Item *ProjectV2Item `json:"item"`
	// The ID of the iteration.
	IterationID string `json:"iterationId"`
	// The start date of the iteration.
	StartDate string `json:"startDate"`
	// The title of the iteration.
	Title string `json:"title"`
	// The title of the iteration, with HTML.
	TitleHTML string `json:"titleHTML"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The value of an iteration field in a Project item.

func (ProjectV2ItemFieldIterationValue) GetCreatedAt

func (this ProjectV2ItemFieldIterationValue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2ItemFieldIterationValue) GetCreator

func (this ProjectV2ItemFieldIterationValue) GetCreator() Actor

The actor who created the item.

func (ProjectV2ItemFieldIterationValue) GetDatabaseID

func (this ProjectV2ItemFieldIterationValue) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2ItemFieldIterationValue) GetField

The project field that contains this value.

func (ProjectV2ItemFieldIterationValue) GetID

ID of the object.

func (ProjectV2ItemFieldIterationValue) GetItem

The project item that contains this value.

func (ProjectV2ItemFieldIterationValue) GetUpdatedAt

func (this ProjectV2ItemFieldIterationValue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2ItemFieldIterationValue) IsNode

func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValue()

func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValueCommon

func (ProjectV2ItemFieldIterationValue) IsProjectV2ItemFieldValueCommon()

type ProjectV2ItemFieldLabelValue

type ProjectV2ItemFieldLabelValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// Labels value of a field
	Labels *LabelConnection `json:"labels,omitempty"`
}

The value of the labels field in a Project item.

func (ProjectV2ItemFieldLabelValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldLabelValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldMilestoneValue

type ProjectV2ItemFieldMilestoneValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// Milestone value of a field
	Milestone *Milestone `json:"milestone,omitempty"`
}

The value of a milestone field in a Project item.

func (ProjectV2ItemFieldMilestoneValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldMilestoneValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldNumberValue

type ProjectV2ItemFieldNumberValue struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The project field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The Node ID of the ProjectV2ItemFieldNumberValue object
	ID string `json:"id"`
	// The project item that contains this value.
	Item *ProjectV2Item `json:"item"`
	// Number as a float(8)
	Number *float64 `json:"number,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The value of a number field in a Project item.

func (ProjectV2ItemFieldNumberValue) GetCreatedAt

func (this ProjectV2ItemFieldNumberValue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2ItemFieldNumberValue) GetCreator

func (this ProjectV2ItemFieldNumberValue) GetCreator() Actor

The actor who created the item.

func (ProjectV2ItemFieldNumberValue) GetDatabaseID

func (this ProjectV2ItemFieldNumberValue) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2ItemFieldNumberValue) GetField

The project field that contains this value.

func (ProjectV2ItemFieldNumberValue) GetID

ID of the object.

func (ProjectV2ItemFieldNumberValue) GetItem

The project item that contains this value.

func (ProjectV2ItemFieldNumberValue) GetUpdatedAt

func (this ProjectV2ItemFieldNumberValue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2ItemFieldNumberValue) IsNode

func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValue()

func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValueCommon

func (ProjectV2ItemFieldNumberValue) IsProjectV2ItemFieldValueCommon()

type ProjectV2ItemFieldPullRequestValue

type ProjectV2ItemFieldPullRequestValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The pull requests for this field
	PullRequests *PullRequestConnection `json:"pullRequests,omitempty"`
}

The value of a pull request field in a Project item.

func (ProjectV2ItemFieldPullRequestValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldPullRequestValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldRepositoryValue

type ProjectV2ItemFieldRepositoryValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The repository for this field.
	Repository *Repository `json:"repository,omitempty"`
}

The value of a repository field in a Project item.

func (ProjectV2ItemFieldRepositoryValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldRepositoryValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldReviewerValue

type ProjectV2ItemFieldReviewerValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The reviewers for this field.
	Reviewers *RequestedReviewerConnection `json:"reviewers,omitempty"`
}

The value of a reviewers field in a Project item.

func (ProjectV2ItemFieldReviewerValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldReviewerValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldSingleSelectValue

type ProjectV2ItemFieldSingleSelectValue struct {
	// The color applied to the selected single-select option.
	Color ProjectV2SingleSelectFieldOptionColor `json:"color"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// A plain-text description of the selected single-select option, such as what the option means.
	Description *string `json:"description,omitempty"`
	// The description of the selected single-select option, including HTML tags.
	DescriptionHTML *string `json:"descriptionHTML,omitempty"`
	// The project field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The Node ID of the ProjectV2ItemFieldSingleSelectValue object
	ID string `json:"id"`
	// The project item that contains this value.
	Item *ProjectV2Item `json:"item"`
	// The name of the selected single select option.
	Name *string `json:"name,omitempty"`
	// The html name of the selected single select option.
	NameHTML *string `json:"nameHTML,omitempty"`
	// The id of the selected single select option.
	OptionID *string `json:"optionId,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The value of a single select field in a Project item.

func (ProjectV2ItemFieldSingleSelectValue) GetCreatedAt

func (this ProjectV2ItemFieldSingleSelectValue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2ItemFieldSingleSelectValue) GetCreator

func (this ProjectV2ItemFieldSingleSelectValue) GetCreator() Actor

The actor who created the item.

func (ProjectV2ItemFieldSingleSelectValue) GetDatabaseID

func (this ProjectV2ItemFieldSingleSelectValue) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2ItemFieldSingleSelectValue) GetField

The project field that contains this value.

func (ProjectV2ItemFieldSingleSelectValue) GetID

ID of the object.

func (ProjectV2ItemFieldSingleSelectValue) GetItem

The project item that contains this value.

func (ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt

func (this ProjectV2ItemFieldSingleSelectValue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2ItemFieldSingleSelectValue) IsNode

func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValue()

func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValueCommon

func (ProjectV2ItemFieldSingleSelectValue) IsProjectV2ItemFieldValueCommon()

type ProjectV2ItemFieldTextValue

type ProjectV2ItemFieldTextValue struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created the item.
	Creator Actor `json:"creator,omitempty"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The project field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The Node ID of the ProjectV2ItemFieldTextValue object
	ID string `json:"id"`
	// The project item that contains this value.
	Item *ProjectV2Item `json:"item"`
	// Text value of a field
	Text *string `json:"text,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The value of a text field in a Project item.

func (ProjectV2ItemFieldTextValue) GetCreatedAt

func (this ProjectV2ItemFieldTextValue) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2ItemFieldTextValue) GetCreator

func (this ProjectV2ItemFieldTextValue) GetCreator() Actor

The actor who created the item.

func (ProjectV2ItemFieldTextValue) GetDatabaseID

func (this ProjectV2ItemFieldTextValue) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2ItemFieldTextValue) GetField

The project field that contains this value.

func (ProjectV2ItemFieldTextValue) GetID

func (this ProjectV2ItemFieldTextValue) GetID() string

ID of the object.

func (ProjectV2ItemFieldTextValue) GetItem

The project item that contains this value.

func (ProjectV2ItemFieldTextValue) GetUpdatedAt

func (this ProjectV2ItemFieldTextValue) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2ItemFieldTextValue) IsNode

func (ProjectV2ItemFieldTextValue) IsNode()

func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValue()

func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValueCommon

func (ProjectV2ItemFieldTextValue) IsProjectV2ItemFieldValueCommon()

type ProjectV2ItemFieldUserValue

type ProjectV2ItemFieldUserValue struct {
	// The field that contains this value.
	Field ProjectV2FieldConfiguration `json:"field"`
	// The users for this field
	Users *UserConnection `json:"users,omitempty"`
}

The value of a user field in a Project item.

func (ProjectV2ItemFieldUserValue) IsProjectV2ItemFieldValue

func (ProjectV2ItemFieldUserValue) IsProjectV2ItemFieldValue()

type ProjectV2ItemFieldValue

type ProjectV2ItemFieldValue interface {
	IsProjectV2ItemFieldValue()
}

Project field values

type ProjectV2ItemFieldValueCommon

type ProjectV2ItemFieldValueCommon interface {
	IsProjectV2ItemFieldValueCommon()
	// Identifies the date and time when the object was created.
	GetCreatedAt() time.Time
	// The actor who created the item.
	GetCreator() Actor
	// Identifies the primary key from the database.
	GetDatabaseID() *int
	// The project field that contains this value.
	GetField() ProjectV2FieldConfiguration
	// The Node ID of the ProjectV2ItemFieldValueCommon object
	GetID() string
	// The project item that contains this value.
	GetItem() *ProjectV2Item
	// Identifies the date and time when the object was last updated.
	GetUpdatedAt() time.Time
}

Common fields across different project field value types

type ProjectV2ItemFieldValueConnection

type ProjectV2ItemFieldValueConnection struct {
	// A list of edges.
	Edges []*ProjectV2ItemFieldValueEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []ProjectV2ItemFieldValue `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2ItemFieldValue.

type ProjectV2ItemFieldValueEdge

type ProjectV2ItemFieldValueEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node ProjectV2ItemFieldValue `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2ItemFieldValueOrder

type ProjectV2ItemFieldValueOrder struct {
	// The field to order the project v2 item field values by.
	Field ProjectV2ItemFieldValueOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for project v2 item field value connections

type ProjectV2ItemFieldValueOrderField

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 ProjectV2ItemOrder

type ProjectV2ItemOrder struct {
	// The field to order the project v2 items by.
	Field ProjectV2ItemOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for project v2 item connections

type ProjectV2ItemOrderField

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 ProjectV2IterationField

type ProjectV2IterationField struct {
	// Iteration configuration settings
	Configuration *ProjectV2IterationFieldConfiguration `json:"configuration"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The field's type.
	DataType ProjectV2FieldType `json:"dataType"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ProjectV2IterationField object
	ID string `json:"id"`
	// The project field's name.
	Name string `json:"name"`
	// The project that contains this field.
	Project *ProjectV2 `json:"project"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

An iteration field inside a project.

func (ProjectV2IterationField) GetCreatedAt

func (this ProjectV2IterationField) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2IterationField) GetDataType

func (this ProjectV2IterationField) GetDataType() ProjectV2FieldType

The field's type.

func (ProjectV2IterationField) GetDatabaseID

func (this ProjectV2IterationField) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2IterationField) GetID

func (this ProjectV2IterationField) GetID() string

ID of the object.

func (ProjectV2IterationField) GetName

func (this ProjectV2IterationField) GetName() string

The project field's name.

func (ProjectV2IterationField) GetProject

func (this ProjectV2IterationField) GetProject() *ProjectV2

The project that contains this field.

func (ProjectV2IterationField) GetUpdatedAt

func (this ProjectV2IterationField) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2IterationField) IsNode

func (ProjectV2IterationField) IsNode()

func (ProjectV2IterationField) IsProjectV2FieldCommon

func (ProjectV2IterationField) IsProjectV2FieldCommon()

func (ProjectV2IterationField) IsProjectV2FieldConfiguration

func (ProjectV2IterationField) IsProjectV2FieldConfiguration()

type ProjectV2IterationFieldConfiguration

type ProjectV2IterationFieldConfiguration struct {
	// The iteration's completed iterations
	CompletedIterations []*ProjectV2IterationFieldIteration `json:"completedIterations"`
	// The iteration's duration in days
	Duration int `json:"duration"`
	// The iteration's iterations
	Iterations []*ProjectV2IterationFieldIteration `json:"iterations"`
	// The iteration's start day of the week
	StartDay int `json:"startDay"`
}

Iteration field configuration for a project.

type ProjectV2IterationFieldIteration

type ProjectV2IterationFieldIteration struct {
	// The iteration's duration in days
	Duration int `json:"duration"`
	// The iteration's ID.
	ID string `json:"id"`
	// The iteration's start date
	StartDate string `json:"startDate"`
	// The iteration's title.
	Title string `json:"title"`
	// The iteration's html title.
	TitleHTML string `json:"titleHTML"`
}

Iteration field iteration settings for a project.

type ProjectV2Order

type ProjectV2Order struct {
	// The field in which to order projects by.
	Field ProjectV2OrderField `json:"field"`
	// The direction in which to order projects by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of projects can be ordered upon return.

type ProjectV2OrderField

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 ProjectV2Owner

type ProjectV2Owner interface {
	IsProjectV2Owner()
	// The Node ID of the ProjectV2Owner object
	GetID() string
	// Find a project by number.
	GetProjectV2() *ProjectV2
	// A list of projects under the owner.
	GetProjectsV2() *ProjectV2Connection
}

Represents an owner of a project.

type ProjectV2Recent

type ProjectV2Recent interface {
	IsProjectV2Recent()
	// Recent projects that this user has modified in the context of the owner.
	GetRecentProjects() *ProjectV2Connection
}

Recent projects for the owner.

type 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 ProjectV2SingleSelectField

type ProjectV2SingleSelectField struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The field's type.
	DataType ProjectV2FieldType `json:"dataType"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ProjectV2SingleSelectField object
	ID string `json:"id"`
	// The project field's name.
	Name string `json:"name"`
	// Options for the single select field
	Options []*ProjectV2SingleSelectFieldOption `json:"options"`
	// The project that contains this field.
	Project *ProjectV2 `json:"project"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A single select field inside a project.

func (ProjectV2SingleSelectField) GetCreatedAt

func (this ProjectV2SingleSelectField) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (ProjectV2SingleSelectField) GetDataType

The field's type.

func (ProjectV2SingleSelectField) GetDatabaseID

func (this ProjectV2SingleSelectField) GetDatabaseID() *int

Identifies the primary key from the database.

func (ProjectV2SingleSelectField) GetID

func (this ProjectV2SingleSelectField) GetID() string

ID of the object.

func (ProjectV2SingleSelectField) GetName

func (this ProjectV2SingleSelectField) GetName() string

The project field's name.

func (ProjectV2SingleSelectField) GetProject

func (this ProjectV2SingleSelectField) GetProject() *ProjectV2

The project that contains this field.

func (ProjectV2SingleSelectField) GetUpdatedAt

func (this ProjectV2SingleSelectField) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (ProjectV2SingleSelectField) IsNode

func (ProjectV2SingleSelectField) IsNode()

func (ProjectV2SingleSelectField) IsProjectV2FieldCommon

func (ProjectV2SingleSelectField) IsProjectV2FieldCommon()

func (ProjectV2SingleSelectField) IsProjectV2FieldConfiguration

func (ProjectV2SingleSelectField) IsProjectV2FieldConfiguration()

type ProjectV2SingleSelectFieldOption

type ProjectV2SingleSelectFieldOption struct {
	// The option's display color.
	Color ProjectV2SingleSelectFieldOptionColor `json:"color"`
	// The option's plain-text description.
	Description string `json:"description"`
	// The option's description, possibly containing HTML.
	DescriptionHTML string `json:"descriptionHTML"`
	// The option's ID.
	ID string `json:"id"`
	// The option's name.
	Name string `json:"name"`
	// The option's html name.
	NameHTML string `json:"nameHTML"`
}

Single select field option for a configuration for a project.

type ProjectV2SingleSelectFieldOptionColor

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 ProjectV2SingleSelectFieldOptionInput

type ProjectV2SingleSelectFieldOptionInput struct {
	// The name of the option
	Name string `json:"name"`
	// The display color of the option
	Color ProjectV2SingleSelectFieldOptionColor `json:"color"`
	// The description text of the option
	Description string `json:"description"`
}

Represents a single select field option

type ProjectV2SortBy

type ProjectV2SortBy struct {
	// The direction of the sorting. Possible values are ASC and DESC.
	Direction OrderDirection `json:"direction"`
	// The field by which items are sorted.
	Field *ProjectV2Field `json:"field"`
}

Represents a sort by field and direction.

type ProjectV2SortByConnection

type ProjectV2SortByConnection struct {
	// A list of edges.
	Edges []*ProjectV2SortByEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2SortBy `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2SortBy.

type ProjectV2SortByEdge

type ProjectV2SortByEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2SortBy `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2SortByField

type ProjectV2SortByField struct {
	// The direction of the sorting. Possible values are ASC and DESC.
	Direction OrderDirection `json:"direction"`
	// The field by which items are sorted.
	Field ProjectV2FieldConfiguration `json:"field"`
}

Represents a sort by field and direction.

type ProjectV2SortByFieldConnection

type ProjectV2SortByFieldConnection struct {
	// A list of edges.
	Edges []*ProjectV2SortByFieldEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2SortByField `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2SortByField.

type ProjectV2SortByFieldEdge

type ProjectV2SortByFieldEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2SortByField `json:"node,omitempty"`
}

An edge in a connection.

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 ProjectV2View

type ProjectV2View struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The view's visible fields.
	Fields *ProjectV2FieldConfigurationConnection `json:"fields,omitempty"`
	// The project view's filter.
	Filter *string `json:"filter,omitempty"`
	// The view's group-by field.
	GroupBy *ProjectV2FieldConnection `json:"groupBy,omitempty"`
	// The view's group-by field.
	GroupByFields *ProjectV2FieldConfigurationConnection `json:"groupByFields,omitempty"`
	// The Node ID of the ProjectV2View object
	ID string `json:"id"`
	// The project view's layout.
	Layout ProjectV2ViewLayout `json:"layout"`
	// The project view's name.
	Name string `json:"name"`
	// The project view's number.
	Number int `json:"number"`
	// The project that contains this view.
	Project *ProjectV2 `json:"project"`
	// The view's sort-by config.
	SortBy *ProjectV2SortByConnection `json:"sortBy,omitempty"`
	// The view's sort-by config.
	SortByFields *ProjectV2SortByFieldConnection `json:"sortByFields,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The view's vertical-group-by field.
	VerticalGroupBy *ProjectV2FieldConnection `json:"verticalGroupBy,omitempty"`
	// The view's vertical-group-by field.
	VerticalGroupByFields *ProjectV2FieldConfigurationConnection `json:"verticalGroupByFields,omitempty"`
	// The view's visible fields.
	VisibleFields *ProjectV2FieldConnection `json:"visibleFields,omitempty"`
}

A view within a ProjectV2.

func (ProjectV2View) GetID

func (this ProjectV2View) GetID() string

ID of the object.

func (ProjectV2View) IsNode

func (ProjectV2View) IsNode()

type ProjectV2ViewConnection

type ProjectV2ViewConnection struct {
	// A list of edges.
	Edges []*ProjectV2ViewEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2View `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2View.

type ProjectV2ViewEdge

type ProjectV2ViewEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2View `json:"node,omitempty"`
}

An edge in a connection.

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 ProjectV2ViewOrder

type ProjectV2ViewOrder struct {
	// The field to order the project v2 views by.
	Field ProjectV2ViewOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for project v2 view connections

type ProjectV2ViewOrderField

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 ProjectV2Workflow

type ProjectV2Workflow struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Whether the workflow is enabled.
	Enabled bool `json:"enabled"`
	// The Node ID of the ProjectV2Workflow object
	ID string `json:"id"`
	// The name of the workflow.
	Name string `json:"name"`
	// The number of the workflow.
	Number int `json:"number"`
	// The project that contains this workflow.
	Project *ProjectV2 `json:"project"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A workflow inside a project.

func (ProjectV2Workflow) GetID

func (this ProjectV2Workflow) GetID() string

ID of the object.

func (ProjectV2Workflow) IsNode

func (ProjectV2Workflow) IsNode()

type ProjectV2WorkflowConnection

type ProjectV2WorkflowConnection struct {
	// A list of edges.
	Edges []*ProjectV2WorkflowEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ProjectV2Workflow `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ProjectV2Workflow.

type ProjectV2WorkflowEdge

type ProjectV2WorkflowEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ProjectV2Workflow `json:"node,omitempty"`
}

An edge in a connection.

type ProjectV2WorkflowOrder

type ProjectV2WorkflowOrder struct {
	// The field to order the project v2 workflows by.
	Field ProjectV2WorkflowsOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for project v2 workflows connections

type ProjectV2WorkflowsOrderField

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 PropertyTargetDefinition

type PropertyTargetDefinition struct {
	// The name of the property
	Name string `json:"name"`
	// The values to match for
	PropertyValues []string `json:"propertyValues"`
}

A property that must match

type PropertyTargetDefinitionInput

type PropertyTargetDefinitionInput struct {
	// The name of the property
	Name string `json:"name"`
	// The values to match for
	PropertyValues []string `json:"propertyValues"`
}

A property that must match

type PublicKey

type PublicKey struct {
	// The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.
	AccessedAt *time.Time `json:"accessedAt,omitempty"`
	// Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The fingerprint for this PublicKey.
	Fingerprint string `json:"fingerprint"`
	// The Node ID of the PublicKey object
	ID string `json:"id"`
	// Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.
	IsReadOnly *bool `json:"isReadOnly,omitempty"`
	// The public key string.
	Key string `json:"key"`
	// Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

A user's public key.

func (PublicKey) GetID

func (this PublicKey) GetID() string

ID of the object.

func (PublicKey) IsNode

func (PublicKey) IsNode()

type PublicKeyConnection

type PublicKeyConnection struct {
	// A list of edges.
	Edges []*PublicKeyEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PublicKey `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PublicKey.

type PublicKeyEdge

type PublicKeyEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PublicKey `json:"node,omitempty"`
}

An edge in a connection.

type PublishSponsorsTierInput

type PublishSponsorsTierInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the draft tier to publish.
	TierID string `json:"tierId"`
}

Autogenerated input type of PublishSponsorsTier

type PublishSponsorsTierPayload

type PublishSponsorsTierPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The tier that was published.
	SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}

Autogenerated return type of PublishSponsorsTier

type PullRequest

type PullRequest struct {
	// Reason that the conversation was locked.
	ActiveLockReason *LockReason `json:"activeLockReason,omitempty"`
	// The number of additions in this pull request.
	Additions int `json:"additions"`
	// A list of Users assigned to this object.
	Assignees *UserConnection `json:"assignees"`
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// Returns the auto-merge request object if one exists for this pull request.
	AutoMergeRequest *AutoMergeRequest `json:"autoMergeRequest,omitempty"`
	// Identifies the base Ref associated with the pull request.
	BaseRef *Ref `json:"baseRef,omitempty"`
	// Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
	BaseRefName string `json:"baseRefName"`
	// Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.
	BaseRefOid string `json:"baseRefOid"`
	// The repository associated with this pull request's base Ref.
	BaseRepository *Repository `json:"baseRepository,omitempty"`
	// The body as Markdown.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// The number of changed files in this pull request.
	ChangedFiles int `json:"changedFiles"`
	// The HTTP path for the checks of this pull request.
	ChecksResourcePath string `json:"checksResourcePath"`
	// The HTTP URL for the checks of this pull request.
	ChecksURL string `json:"checksUrl"`
	// `true` if the pull request is closed
	Closed bool `json:"closed"`
	// Identifies the date and time when the object was closed.
	ClosedAt *time.Time `json:"closedAt,omitempty"`
	// List of issues that were may be closed by this pull request
	ClosingIssuesReferences *IssueConnection `json:"closingIssuesReferences,omitempty"`
	// A list of comments associated with the pull request.
	Comments *IssueCommentConnection `json:"comments"`
	// A list of commits present in this pull request's head branch not present in the base branch.
	Commits *PullRequestCommitConnection `json:"commits"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The number of deletions in this pull request.
	Deletions int `json:"deletions"`
	// The actor who edited this pull request's body.
	Editor Actor `json:"editor,omitempty"`
	// Lists the files changed within this pull request.
	Files *PullRequestChangedFileConnection `json:"files,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// Identifies the head Ref associated with the pull request.
	HeadRef *Ref `json:"headRef,omitempty"`
	// Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
	HeadRefName string `json:"headRefName"`
	// Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.
	HeadRefOid string `json:"headRefOid"`
	// The repository associated with this pull request's head Ref.
	HeadRepository *Repository `json:"headRepository,omitempty"`
	// The owner of the repository associated with this pull request's head Ref.
	HeadRepositoryOwner RepositoryOwner `json:"headRepositoryOwner,omitempty"`
	// The hovercard information for this issue
	Hovercard *Hovercard `json:"hovercard"`
	// The Node ID of the PullRequest object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// The head and base repositories are different.
	IsCrossRepository bool `json:"isCrossRepository"`
	// Identifies if the pull request is a draft.
	IsDraft bool `json:"isDraft"`
	// Indicates whether the pull request is in a merge queue
	IsInMergeQueue bool `json:"isInMergeQueue"`
	// Indicates whether the pull request's base ref has a merge queue enabled.
	IsMergeQueueEnabled bool `json:"isMergeQueueEnabled"`
	// Is this pull request read by the viewer
	IsReadByViewer *bool `json:"isReadByViewer,omitempty"`
	// A list of labels associated with the object.
	Labels *LabelConnection `json:"labels,omitempty"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// A list of latest reviews per user associated with the pull request.
	LatestOpinionatedReviews *PullRequestReviewConnection `json:"latestOpinionatedReviews,omitempty"`
	// A list of latest reviews per user associated with the pull request that are not also pending review.
	LatestReviews *PullRequestReviewConnection `json:"latestReviews,omitempty"`
	// `true` if the pull request is locked
	Locked bool `json:"locked"`
	// Indicates whether maintainers can modify the pull request.
	MaintainerCanModify bool `json:"maintainerCanModify"`
	// The commit that was created when this pull request was merged.
	MergeCommit *Commit `json:"mergeCommit,omitempty"`
	// The merge queue for the pull request's base branch
	MergeQueue *MergeQueue `json:"mergeQueue,omitempty"`
	// The merge queue entry of the pull request in the base branch's merge queue
	MergeQueueEntry *MergeQueueEntry `json:"mergeQueueEntry,omitempty"`
	// Whether or not the pull request can be merged based on the existence of merge conflicts.
	Mergeable MergeableState `json:"mergeable"`
	// Whether or not the pull request was merged.
	Merged bool `json:"merged"`
	// The date and time that the pull request was merged.
	MergedAt *time.Time `json:"mergedAt,omitempty"`
	// The actor who merged the pull request.
	MergedBy Actor `json:"mergedBy,omitempty"`
	// Identifies the milestone associated with the pull request.
	Milestone *Milestone `json:"milestone,omitempty"`
	// Identifies the pull request number.
	Number int `json:"number"`
	// A list of Users that are participating in the Pull Request conversation.
	Participants *UserConnection `json:"participants"`
	// The permalink to the pull request.
	Permalink string `json:"permalink"`
	// The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the `mergeable` field for more details on the mergeability of the pull request.
	PotentialMergeCommit *Commit `json:"potentialMergeCommit,omitempty"`
	// List of project cards associated with this pull request.
	ProjectCards *ProjectCardConnection `json:"projectCards"`
	// List of project items associated with this pull request.
	ProjectItems *ProjectV2ItemConnection `json:"projectItems"`
	// Find a project by number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// A list of projects under the owner.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path for this pull request.
	ResourcePath string `json:"resourcePath"`
	// The HTTP path for reverting this pull request.
	RevertResourcePath string `json:"revertResourcePath"`
	// The HTTP URL for reverting this pull request.
	RevertURL string `json:"revertUrl"`
	// The current status of this pull request with respect to code review.
	ReviewDecision *PullRequestReviewDecision `json:"reviewDecision,omitempty"`
	// A list of review requests associated with the pull request.
	ReviewRequests *ReviewRequestConnection `json:"reviewRequests,omitempty"`
	// The list of all review threads for this pull request.
	ReviewThreads *PullRequestReviewThreadConnection `json:"reviewThreads"`
	// A list of reviews associated with the pull request.
	Reviews *PullRequestReviewConnection `json:"reviews,omitempty"`
	// Identifies the state of the pull request.
	State PullRequestState `json:"state"`
	// Check and Status rollup information for the PR's head ref.
	StatusCheckRollup *StatusCheckRollup `json:"statusCheckRollup,omitempty"`
	// A list of reviewer suggestions based on commit history and past review comments.
	SuggestedReviewers []*SuggestedReviewer `json:"suggestedReviewers"`
	// A list of events, comments, commits, etc. associated with the pull request.
	Timeline *PullRequestTimelineConnection `json:"timeline"`
	// A list of events, comments, commits, etc. associated with the pull request.
	TimelineItems *PullRequestTimelineItemsConnection `json:"timelineItems"`
	// Identifies the pull request title.
	Title string `json:"title"`
	// Identifies the pull request title rendered to HTML.
	TitleHTML string `json:"titleHTML"`
	// Returns a count of how many comments this pull request has received.
	TotalCommentsCount *int `json:"totalCommentsCount,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this pull request.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Whether or not the viewer can apply suggestion.
	ViewerCanApplySuggestion bool `json:"viewerCanApplySuggestion"`
	// Indicates if the object can be closed by the viewer.
	ViewerCanClose bool `json:"viewerCanClose"`
	// Check if the viewer can restore the deleted head ref.
	ViewerCanDeleteHeadRef bool `json:"viewerCanDeleteHeadRef"`
	// Whether or not the viewer can disable auto-merge
	ViewerCanDisableAutoMerge bool `json:"viewerCanDisableAutoMerge"`
	// Can the viewer edit files within this pull request.
	ViewerCanEditFiles bool `json:"viewerCanEditFiles"`
	// Whether or not the viewer can enable auto-merge
	ViewerCanEnableAutoMerge bool `json:"viewerCanEnableAutoMerge"`
	// Indicates whether the viewer can bypass branch protections and merge the pull request immediately
	ViewerCanMergeAsAdmin bool `json:"viewerCanMergeAsAdmin"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Indicates if the object can be reopened by the viewer.
	ViewerCanReopen bool `json:"viewerCanReopen"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref.
	// If the head ref is up to date or unable to be updated by this user, this will return false.
	//
	ViewerCanUpdateBranch bool `json:"viewerCanUpdateBranch"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
	// The latest review given from the viewer.
	ViewerLatestReview *PullRequestReview `json:"viewerLatestReview,omitempty"`
	// The person who has requested the viewer for review on this pull request.
	ViewerLatestReviewRequest *ReviewRequest `json:"viewerLatestReviewRequest,omitempty"`
	// The merge body text for the viewer and method.
	ViewerMergeBodyText string `json:"viewerMergeBodyText"`
	// The merge headline text for the viewer and method.
	ViewerMergeHeadlineText string `json:"viewerMergeHeadlineText"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
}

A repository pull request.

func (PullRequest) GetActiveLockReason

func (this PullRequest) GetActiveLockReason() *LockReason

Reason that the conversation was locked.

func (PullRequest) GetAssignees

func (this PullRequest) GetAssignees() *UserConnection

A list of Users assigned to this object.

func (PullRequest) GetAuthor

func (this PullRequest) GetAuthor() Actor

The actor who authored the comment.

func (PullRequest) GetAuthorAssociation

func (this PullRequest) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (PullRequest) GetBody

func (this PullRequest) GetBody() string

The body as Markdown.

func (PullRequest) GetBodyHTML

func (this PullRequest) GetBodyHTML() string

The body rendered to HTML.

func (PullRequest) GetBodyText

func (this PullRequest) GetBodyText() string

The body rendered to text.

func (PullRequest) GetClosed

func (this PullRequest) GetClosed() bool

Indicates if the object is closed (definition of closed may depend on type)

func (PullRequest) GetClosedAt

func (this PullRequest) GetClosedAt() *time.Time

Identifies the date and time when the object was closed.

func (PullRequest) GetCreatedAt

func (this PullRequest) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (PullRequest) GetCreatedViaEmail

func (this PullRequest) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (PullRequest) GetDatabaseID

func (this PullRequest) GetDatabaseID() *int

Identifies the primary key from the database.

func (PullRequest) GetEditor

func (this PullRequest) GetEditor() Actor

The actor who edited the comment.

func (PullRequest) GetID

func (this PullRequest) GetID() string

The Node ID of the Comment object

func (PullRequest) GetIncludesCreatedEdit

func (this PullRequest) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (PullRequest) GetLabels

func (this PullRequest) GetLabels() *LabelConnection

A list of labels associated with the object.

func (PullRequest) GetLastEditedAt

func (this PullRequest) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (PullRequest) GetLocked

func (this PullRequest) GetLocked() bool

`true` if the object is locked

func (PullRequest) GetProjectV2

func (this PullRequest) GetProjectV2() *ProjectV2

Find a project by number.

func (PullRequest) GetProjectsV2

func (this PullRequest) GetProjectsV2() *ProjectV2Connection

A list of projects under the owner.

func (PullRequest) GetPublishedAt

func (this PullRequest) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (PullRequest) GetReactionGroups

func (this PullRequest) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (PullRequest) GetReactions

func (this PullRequest) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (PullRequest) GetRepository

func (this PullRequest) GetRepository() *Repository

The repository associated with this node.

func (PullRequest) GetResourcePath

func (this PullRequest) GetResourcePath() string

The HTML path to this resource.

func (PullRequest) GetURL

func (this PullRequest) GetURL() string

The URL to this resource.

func (PullRequest) GetUpdatedAt

func (this PullRequest) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (PullRequest) GetUserContentEdits

func (this PullRequest) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (PullRequest) GetViewerCanClose

func (this PullRequest) GetViewerCanClose() bool

Indicates if the object can be closed by the viewer.

func (PullRequest) GetViewerCanReact

func (this PullRequest) GetViewerCanReact() bool

Can user react to this subject

func (PullRequest) GetViewerCanReopen

func (this PullRequest) GetViewerCanReopen() bool

Indicates if the object can be reopened by the viewer.

func (PullRequest) GetViewerCanSubscribe

func (this PullRequest) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (PullRequest) GetViewerCanUpdate

func (this PullRequest) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (PullRequest) GetViewerCannotUpdateReasons

func (this PullRequest) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (PullRequest) GetViewerDidAuthor

func (this PullRequest) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (PullRequest) GetViewerSubscription

func (this PullRequest) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (PullRequest) IsAssignable

func (PullRequest) IsAssignable()

func (PullRequest) IsClosable

func (PullRequest) IsClosable()

func (PullRequest) IsCloser

func (PullRequest) IsCloser()

func (PullRequest) IsComment

func (PullRequest) IsComment()

func (PullRequest) IsIssueOrPullRequest

func (PullRequest) IsIssueOrPullRequest()

func (PullRequest) IsLabelable

func (PullRequest) IsLabelable()

func (PullRequest) IsLockable

func (PullRequest) IsLockable()

func (PullRequest) IsMilestoneItem

func (PullRequest) IsMilestoneItem()

func (PullRequest) IsNode

func (PullRequest) IsNode()

func (PullRequest) IsProjectCardItem

func (PullRequest) IsProjectCardItem()

func (PullRequest) IsProjectV2ItemContent

func (PullRequest) IsProjectV2ItemContent()

func (PullRequest) IsProjectV2Owner

func (PullRequest) IsProjectV2Owner()

func (PullRequest) IsReactable

func (PullRequest) IsReactable()

func (PullRequest) IsReferencedSubject

func (PullRequest) IsReferencedSubject()

func (PullRequest) IsRenamedTitleSubject

func (PullRequest) IsRenamedTitleSubject()

func (PullRequest) IsRepositoryNode

func (PullRequest) IsRepositoryNode()

func (PullRequest) IsSearchResultItem

func (PullRequest) IsSearchResultItem()

func (PullRequest) IsSubscribable

func (PullRequest) IsSubscribable()

func (PullRequest) IsUniformResourceLocatable

func (PullRequest) IsUniformResourceLocatable()

func (PullRequest) IsUpdatable

func (PullRequest) IsUpdatable()

func (PullRequest) IsUpdatableComment

func (PullRequest) IsUpdatableComment()

type 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 PullRequestChangedFile

type PullRequestChangedFile struct {
	// The number of additions to the file.
	Additions int `json:"additions"`
	// How the file was changed in this PullRequest
	ChangeType PatchStatus `json:"changeType"`
	// The number of deletions to the file.
	Deletions int `json:"deletions"`
	// The path of the file.
	Path string `json:"path"`
	// The state of the file for the viewer.
	ViewerViewedState FileViewedState `json:"viewerViewedState"`
}

A file changed in a pull request.

type PullRequestChangedFileConnection

type PullRequestChangedFileConnection struct {
	// A list of edges.
	Edges []*PullRequestChangedFileEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequestChangedFile `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequestChangedFile.

type PullRequestChangedFileEdge

type PullRequestChangedFileEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequestChangedFile `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestCommit

type PullRequestCommit struct {
	// The Git commit object
	Commit *Commit `json:"commit"`
	// The Node ID of the PullRequestCommit object
	ID string `json:"id"`
	// The pull request this commit belongs to
	PullRequest *PullRequest `json:"pullRequest"`
	// The HTTP path for this pull request commit
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this pull request commit
	URL string `json:"url"`
}

Represents a Git commit part of a pull request.

func (PullRequestCommit) GetID

func (this PullRequestCommit) GetID() string

ID of the object.

func (PullRequestCommit) GetResourcePath

func (this PullRequestCommit) GetResourcePath() string

The HTML path to this resource.

func (PullRequestCommit) GetURL

func (this PullRequestCommit) GetURL() string

The URL to this resource.

func (PullRequestCommit) IsNode

func (PullRequestCommit) IsNode()

func (PullRequestCommit) IsPullRequestTimelineItems

func (PullRequestCommit) IsPullRequestTimelineItems()

func (PullRequestCommit) IsUniformResourceLocatable

func (PullRequestCommit) IsUniformResourceLocatable()

type PullRequestCommitCommentThread

type PullRequestCommitCommentThread struct {
	// The comments that exist in this thread.
	Comments *CommitCommentConnection `json:"comments"`
	// The commit the comments were made on.
	Commit *Commit `json:"commit"`
	// The Node ID of the PullRequestCommitCommentThread object
	ID string `json:"id"`
	// The file the comments were made on.
	Path *string `json:"path,omitempty"`
	// The position in the diff for the commit that the comment was made on.
	Position *int `json:"position,omitempty"`
	// The pull request this commit comment thread belongs to
	PullRequest *PullRequest `json:"pullRequest"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
}

Represents a commit comment thread part of a pull request.

func (PullRequestCommitCommentThread) GetID

ID of the object.

func (PullRequestCommitCommentThread) GetRepository

func (this PullRequestCommitCommentThread) GetRepository() *Repository

The repository associated with this node.

func (PullRequestCommitCommentThread) IsNode

func (PullRequestCommitCommentThread) IsPullRequestTimelineItems

func (PullRequestCommitCommentThread) IsPullRequestTimelineItems()

func (PullRequestCommitCommentThread) IsRepositoryNode

func (PullRequestCommitCommentThread) IsRepositoryNode()

type PullRequestCommitConnection

type PullRequestCommitConnection struct {
	// A list of edges.
	Edges []*PullRequestCommitEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequestCommit `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequestCommit.

type PullRequestCommitEdge

type PullRequestCommitEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequestCommit `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestConnection

type PullRequestConnection struct {
	// A list of edges.
	Edges []*PullRequestEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequest `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequest.

type PullRequestContributionsByRepository

type PullRequestContributionsByRepository struct {
	// The pull request contributions.
	Contributions *CreatedPullRequestContributionConnection `json:"contributions"`
	// The repository in which the pull requests were opened.
	Repository *Repository `json:"repository"`
}

This aggregates pull requests opened by a user within one repository.

type PullRequestEdge

type PullRequestEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequest `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestMergeMethod

type PullRequestMergeMethod string

Represents available types of methods to use when merging a pull request.

const (
	// Add all commits from the head branch to the base branch with a merge commit.
	PullRequestMergeMethodMerge PullRequestMergeMethod = "MERGE"
	// Combine all commits from the head branch into a single commit in the base branch.
	PullRequestMergeMethodSquash PullRequestMergeMethod = "SQUASH"
	// Add all commits from the head branch onto the base branch individually.
	PullRequestMergeMethodRebase PullRequestMergeMethod = "REBASE"
)

func (PullRequestMergeMethod) IsValid

func (e PullRequestMergeMethod) IsValid() bool

func (PullRequestMergeMethod) MarshalGQL

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

func (PullRequestMergeMethod) String

func (e PullRequestMergeMethod) String() string

func (*PullRequestMergeMethod) UnmarshalGQL

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

type PullRequestOrder

type PullRequestOrder struct {
	// The field in which to order pull requests by.
	Field PullRequestOrderField `json:"field"`
	// The direction in which to order pull requests by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of issues can be ordered upon return.

type PullRequestOrderField

type PullRequestOrderField string

Properties by which pull_requests connections can be ordered.

const (
	// Order pull_requests by creation time
	PullRequestOrderFieldCreatedAt PullRequestOrderField = "CREATED_AT"
	// Order pull_requests by update time
	PullRequestOrderFieldUpdatedAt PullRequestOrderField = "UPDATED_AT"
)

func (PullRequestOrderField) IsValid

func (e PullRequestOrderField) IsValid() bool

func (PullRequestOrderField) MarshalGQL

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

func (PullRequestOrderField) String

func (e PullRequestOrderField) String() string

func (*PullRequestOrderField) UnmarshalGQL

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

type PullRequestParameters

type PullRequestParameters struct {
	// New, reviewable commits pushed will dismiss previous pull request review approvals.
	DismissStaleReviewsOnPush bool `json:"dismissStaleReviewsOnPush"`
	// Require an approving review in pull requests that modify files that have a designated code owner.
	RequireCodeOwnerReview bool `json:"requireCodeOwnerReview"`
	// Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
	RequireLastPushApproval bool `json:"requireLastPushApproval"`
	// The number of approving reviews that are required before a pull request can be merged.
	RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount"`
	// All conversations on code must be resolved before a pull request can be merged.
	RequiredReviewThreadResolution bool `json:"requiredReviewThreadResolution"`
}

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

func (PullRequestParameters) IsRuleParameters

func (PullRequestParameters) IsRuleParameters()

type PullRequestParametersInput

type PullRequestParametersInput struct {
	// New, reviewable commits pushed will dismiss previous pull request review approvals.
	DismissStaleReviewsOnPush bool `json:"dismissStaleReviewsOnPush"`
	// Require an approving review in pull requests that modify files that have a designated code owner.
	RequireCodeOwnerReview bool `json:"requireCodeOwnerReview"`
	// Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
	RequireLastPushApproval bool `json:"requireLastPushApproval"`
	// The number of approving reviews that are required before a pull request can be merged.
	RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount"`
	// All conversations on code must be resolved before a pull request can be merged.
	RequiredReviewThreadResolution bool `json:"requiredReviewThreadResolution"`
}

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

type PullRequestReview

type PullRequestReview struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// Indicates whether the author of this review has push access to the repository.
	AuthorCanPushToRepository bool `json:"authorCanPushToRepository"`
	// Identifies the pull request review body.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body of this review rendered as plain text.
	BodyText string `json:"bodyText"`
	// A list of review comments for the current pull request review.
	Comments *PullRequestReviewCommentConnection `json:"comments"`
	// Identifies the commit associated with this pull request review.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The Node ID of the PullRequestReview object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// A list of teams that this review was made on behalf of.
	OnBehalfOf *TeamConnection `json:"onBehalfOf"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// Identifies the pull request associated with this pull request review.
	PullRequest *PullRequest `json:"pullRequest"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path permalink for this PullRequestReview.
	ResourcePath string `json:"resourcePath"`
	// Identifies the current state of the pull request review.
	State PullRequestReviewState `json:"state"`
	// Identifies when the Pull Request Review was submitted
	SubmittedAt *time.Time `json:"submittedAt,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL permalink for this PullRequestReview.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

A review object for a given pull request.

func (PullRequestReview) GetAuthor

func (this PullRequestReview) GetAuthor() Actor

The actor who authored the comment.

func (PullRequestReview) GetAuthorAssociation

func (this PullRequestReview) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (PullRequestReview) GetBody

func (this PullRequestReview) GetBody() string

The body as Markdown.

func (PullRequestReview) GetBodyHTML

func (this PullRequestReview) GetBodyHTML() string

The body rendered to HTML.

func (PullRequestReview) GetBodyText

func (this PullRequestReview) GetBodyText() string

The body rendered to text.

func (PullRequestReview) GetCreatedAt

func (this PullRequestReview) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (PullRequestReview) GetCreatedViaEmail

func (this PullRequestReview) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (PullRequestReview) GetDatabaseID

func (this PullRequestReview) GetDatabaseID() *int

Identifies the primary key from the database.

func (PullRequestReview) GetEditor

func (this PullRequestReview) GetEditor() Actor

The actor who edited the comment.

func (PullRequestReview) GetID

func (this PullRequestReview) GetID() string

The Node ID of the Comment object

func (PullRequestReview) GetIncludesCreatedEdit

func (this PullRequestReview) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (PullRequestReview) GetIsMinimized

func (this PullRequestReview) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (PullRequestReview) GetLastEditedAt

func (this PullRequestReview) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (PullRequestReview) GetMinimizedReason

func (this PullRequestReview) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (PullRequestReview) GetPublishedAt

func (this PullRequestReview) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (PullRequestReview) GetReactionGroups

func (this PullRequestReview) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (PullRequestReview) GetReactions

func (this PullRequestReview) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (PullRequestReview) GetRepository

func (this PullRequestReview) GetRepository() *Repository

The repository associated with this node.

func (PullRequestReview) GetUpdatedAt

func (this PullRequestReview) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (PullRequestReview) GetUserContentEdits

func (this PullRequestReview) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (PullRequestReview) GetViewerCanDelete

func (this PullRequestReview) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (PullRequestReview) GetViewerCanMinimize

func (this PullRequestReview) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (PullRequestReview) GetViewerCanReact

func (this PullRequestReview) GetViewerCanReact() bool

Can user react to this subject

func (PullRequestReview) GetViewerCanUpdate

func (this PullRequestReview) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (PullRequestReview) GetViewerCannotUpdateReasons

func (this PullRequestReview) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (PullRequestReview) GetViewerDidAuthor

func (this PullRequestReview) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (PullRequestReview) IsComment

func (PullRequestReview) IsComment()

func (PullRequestReview) IsDeletable

func (PullRequestReview) IsDeletable()

func (PullRequestReview) IsMinimizable

func (PullRequestReview) IsMinimizable()

func (PullRequestReview) IsNode

func (PullRequestReview) IsNode()

func (PullRequestReview) IsPullRequestTimelineItem

func (PullRequestReview) IsPullRequestTimelineItem()

func (PullRequestReview) IsPullRequestTimelineItems

func (PullRequestReview) IsPullRequestTimelineItems()

func (PullRequestReview) IsReactable

func (PullRequestReview) IsReactable()

func (PullRequestReview) IsRepositoryNode

func (PullRequestReview) IsRepositoryNode()

func (PullRequestReview) IsUpdatable

func (PullRequestReview) IsUpdatable()

func (PullRequestReview) IsUpdatableComment

func (PullRequestReview) IsUpdatableComment()

type PullRequestReviewComment

type PullRequestReviewComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the subject of the comment.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The comment body of this review comment.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The comment body of this review comment rendered as plain text.
	BodyText string `json:"bodyText"`
	// Identifies the commit associated with the comment.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies when the comment was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The diff hunk to which the comment applies.
	DiffHunk string `json:"diffHunk"`
	// Identifies when the comment was created in a draft state.
	DraftedAt time.Time `json:"draftedAt"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// Identifies the primary key from the database as a BigInt.
	FullDatabaseID *string `json:"fullDatabaseId,omitempty"`
	// The Node ID of the PullRequestReviewComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Returns whether or not a comment has been minimized.
	IsMinimized bool `json:"isMinimized"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// The end line number on the file to which the comment applies
	Line *int `json:"line,omitempty"`
	// Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.
	MinimizedReason *string `json:"minimizedReason,omitempty"`
	// Identifies the original commit associated with the comment.
	OriginalCommit *Commit `json:"originalCommit,omitempty"`
	// The end line number on the file to which the comment applied when it was first created
	OriginalLine *int `json:"originalLine,omitempty"`
	// The original line index in the diff to which the comment applies.
	OriginalPosition int `json:"originalPosition"`
	// The start line number on the file to which the comment applied when it was first created
	OriginalStartLine *int `json:"originalStartLine,omitempty"`
	// Identifies when the comment body is outdated
	Outdated bool `json:"outdated"`
	// The path to which the comment applies.
	Path string `json:"path"`
	// The line index in the diff to which the comment applies.
	Position *int `json:"position,omitempty"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// The pull request associated with this review comment.
	PullRequest *PullRequest `json:"pullRequest"`
	// The pull request review associated with this review comment.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The comment this is a reply to.
	ReplyTo *PullRequestReviewComment `json:"replyTo,omitempty"`
	// The repository associated with this node.
	Repository *Repository `json:"repository"`
	// The HTTP path permalink for this review comment.
	ResourcePath string `json:"resourcePath"`
	// The start line number on the file to which the comment applies
	StartLine *int `json:"startLine,omitempty"`
	// Identifies the state of the comment.
	State PullRequestReviewCommentState `json:"state"`
	// The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
	SubjectType PullRequestReviewThreadSubjectType `json:"subjectType"`
	// Identifies when the comment was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL permalink for this review comment.
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Check if the current viewer can minimize this object.
	ViewerCanMinimize bool `json:"viewerCanMinimize"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

A review comment associated with a given repository pull request.

func (PullRequestReviewComment) GetAuthor

func (this PullRequestReviewComment) GetAuthor() Actor

The actor who authored the comment.

func (PullRequestReviewComment) GetAuthorAssociation

func (this PullRequestReviewComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (PullRequestReviewComment) GetBody

func (this PullRequestReviewComment) GetBody() string

The body as Markdown.

func (PullRequestReviewComment) GetBodyHTML

func (this PullRequestReviewComment) GetBodyHTML() string

The body rendered to HTML.

func (PullRequestReviewComment) GetBodyText

func (this PullRequestReviewComment) GetBodyText() string

The body rendered to text.

func (PullRequestReviewComment) GetCreatedAt

func (this PullRequestReviewComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (PullRequestReviewComment) GetCreatedViaEmail

func (this PullRequestReviewComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (PullRequestReviewComment) GetDatabaseID

func (this PullRequestReviewComment) GetDatabaseID() *int

Identifies the primary key from the database.

func (PullRequestReviewComment) GetEditor

func (this PullRequestReviewComment) GetEditor() Actor

The actor who edited the comment.

func (PullRequestReviewComment) GetID

func (this PullRequestReviewComment) GetID() string

The Node ID of the Comment object

func (PullRequestReviewComment) GetIncludesCreatedEdit

func (this PullRequestReviewComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (PullRequestReviewComment) GetIsMinimized

func (this PullRequestReviewComment) GetIsMinimized() bool

Returns whether or not a comment has been minimized.

func (PullRequestReviewComment) GetLastEditedAt

func (this PullRequestReviewComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (PullRequestReviewComment) GetMinimizedReason

func (this PullRequestReviewComment) GetMinimizedReason() *string

Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation.

func (PullRequestReviewComment) GetPublishedAt

func (this PullRequestReviewComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (PullRequestReviewComment) GetReactionGroups

func (this PullRequestReviewComment) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (PullRequestReviewComment) GetReactions

func (this PullRequestReviewComment) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (PullRequestReviewComment) GetRepository

func (this PullRequestReviewComment) GetRepository() *Repository

The repository associated with this node.

func (PullRequestReviewComment) GetUpdatedAt

func (this PullRequestReviewComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (PullRequestReviewComment) GetUserContentEdits

func (this PullRequestReviewComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (PullRequestReviewComment) GetViewerCanDelete

func (this PullRequestReviewComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (PullRequestReviewComment) GetViewerCanMinimize

func (this PullRequestReviewComment) GetViewerCanMinimize() bool

Check if the current viewer can minimize this object.

func (PullRequestReviewComment) GetViewerCanReact

func (this PullRequestReviewComment) GetViewerCanReact() bool

Can user react to this subject

func (PullRequestReviewComment) GetViewerCanUpdate

func (this PullRequestReviewComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (PullRequestReviewComment) GetViewerCannotUpdateReasons

func (this PullRequestReviewComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (PullRequestReviewComment) GetViewerDidAuthor

func (this PullRequestReviewComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (PullRequestReviewComment) IsComment

func (PullRequestReviewComment) IsComment()

func (PullRequestReviewComment) IsDeletable

func (PullRequestReviewComment) IsDeletable()

func (PullRequestReviewComment) IsMinimizable

func (PullRequestReviewComment) IsMinimizable()

func (PullRequestReviewComment) IsNode

func (PullRequestReviewComment) IsNode()

func (PullRequestReviewComment) IsPullRequestTimelineItem

func (PullRequestReviewComment) IsPullRequestTimelineItem()

func (PullRequestReviewComment) IsReactable

func (PullRequestReviewComment) IsReactable()

func (PullRequestReviewComment) IsRepositoryNode

func (PullRequestReviewComment) IsRepositoryNode()

func (PullRequestReviewComment) IsUpdatable

func (PullRequestReviewComment) IsUpdatable()

func (PullRequestReviewComment) IsUpdatableComment

func (PullRequestReviewComment) IsUpdatableComment()

type PullRequestReviewCommentConnection

type PullRequestReviewCommentConnection struct {
	// A list of edges.
	Edges []*PullRequestReviewCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequestReviewComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequestReviewComment.

type PullRequestReviewCommentEdge

type PullRequestReviewCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequestReviewComment `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestReviewCommentState

type PullRequestReviewCommentState string

The possible states of a pull request review comment.

const (
	// A comment that is part of a pending review
	PullRequestReviewCommentStatePending PullRequestReviewCommentState = "PENDING"
	// A comment that is part of a submitted review
	PullRequestReviewCommentStateSubmitted PullRequestReviewCommentState = "SUBMITTED"
)

func (PullRequestReviewCommentState) IsValid

func (e PullRequestReviewCommentState) IsValid() bool

func (PullRequestReviewCommentState) MarshalGQL

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

func (PullRequestReviewCommentState) String

func (*PullRequestReviewCommentState) UnmarshalGQL

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

type PullRequestReviewConnection

type PullRequestReviewConnection struct {
	// A list of edges.
	Edges []*PullRequestReviewEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequestReview `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequestReview.

type PullRequestReviewContributionsByRepository

type PullRequestReviewContributionsByRepository struct {
	// The pull request review contributions.
	Contributions *CreatedPullRequestReviewContributionConnection `json:"contributions"`
	// The repository in which the pull request reviews were made.
	Repository *Repository `json:"repository"`
}

This aggregates pull request reviews made by a user within one repository.

type PullRequestReviewDecision

type PullRequestReviewDecision string

The review status of a pull request.

const (
	// Changes have been requested on the pull request.
	PullRequestReviewDecisionChangesRequested PullRequestReviewDecision = "CHANGES_REQUESTED"
	// The pull request has received an approving review.
	PullRequestReviewDecisionApproved PullRequestReviewDecision = "APPROVED"
	// A review is required before the pull request can be merged.
	PullRequestReviewDecisionReviewRequired PullRequestReviewDecision = "REVIEW_REQUIRED"
)

func (PullRequestReviewDecision) IsValid

func (e PullRequestReviewDecision) IsValid() bool

func (PullRequestReviewDecision) MarshalGQL

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

func (PullRequestReviewDecision) String

func (e PullRequestReviewDecision) String() string

func (*PullRequestReviewDecision) UnmarshalGQL

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

type PullRequestReviewEdge

type PullRequestReviewEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequestReview `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestReviewEvent

type PullRequestReviewEvent string

The possible events to perform on a pull request review.

const (
	// Submit general feedback without explicit approval.
	PullRequestReviewEventComment PullRequestReviewEvent = "COMMENT"
	// Submit feedback and approve merging these changes.
	PullRequestReviewEventApprove PullRequestReviewEvent = "APPROVE"
	// Submit feedback that must be addressed before merging.
	PullRequestReviewEventRequestChanges PullRequestReviewEvent = "REQUEST_CHANGES"
	// Dismiss review so it now longer effects merging.
	PullRequestReviewEventDismiss PullRequestReviewEvent = "DISMISS"
)

func (PullRequestReviewEvent) IsValid

func (e PullRequestReviewEvent) IsValid() bool

func (PullRequestReviewEvent) MarshalGQL

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

func (PullRequestReviewEvent) String

func (e PullRequestReviewEvent) String() string

func (*PullRequestReviewEvent) UnmarshalGQL

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

type PullRequestReviewState

type PullRequestReviewState string

The possible states of a pull request review.

const (
	// A review that has not yet been submitted.
	PullRequestReviewStatePending PullRequestReviewState = "PENDING"
	// An informational review.
	PullRequestReviewStateCommented PullRequestReviewState = "COMMENTED"
	// A review allowing the pull request to merge.
	PullRequestReviewStateApproved PullRequestReviewState = "APPROVED"
	// A review blocking the pull request from merging.
	PullRequestReviewStateChangesRequested PullRequestReviewState = "CHANGES_REQUESTED"
	// A review that has been dismissed.
	PullRequestReviewStateDismissed PullRequestReviewState = "DISMISSED"
)

func (PullRequestReviewState) IsValid

func (e PullRequestReviewState) IsValid() bool

func (PullRequestReviewState) MarshalGQL

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

func (PullRequestReviewState) String

func (e PullRequestReviewState) String() string

func (*PullRequestReviewState) UnmarshalGQL

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

type PullRequestReviewThread

type PullRequestReviewThread struct {
	// A list of pull request comments associated with the thread.
	Comments *PullRequestReviewCommentConnection `json:"comments"`
	// The side of the diff on which this thread was placed.
	DiffSide DiffSide `json:"diffSide"`
	// The Node ID of the PullRequestReviewThread object
	ID string `json:"id"`
	// Whether or not the thread has been collapsed (resolved)
	IsCollapsed bool `json:"isCollapsed"`
	// Indicates whether this thread was outdated by newer changes.
	IsOutdated bool `json:"isOutdated"`
	// Whether this thread has been resolved
	IsResolved bool `json:"isResolved"`
	// The line in the file to which this thread refers
	Line *int `json:"line,omitempty"`
	// The original line in the file to which this thread refers.
	OriginalLine *int `json:"originalLine,omitempty"`
	// The original start line in the file to which this thread refers (multi-line only).
	OriginalStartLine *int `json:"originalStartLine,omitempty"`
	// Identifies the file path of this thread.
	Path string `json:"path"`
	// Identifies the pull request associated with this thread.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the repository associated with this thread.
	Repository *Repository `json:"repository"`
	// The user who resolved this thread
	ResolvedBy *User `json:"resolvedBy,omitempty"`
	// The side of the diff that the first line of the thread starts on (multi-line only)
	StartDiffSide *DiffSide `json:"startDiffSide,omitempty"`
	// The start line in the file to which this thread refers (multi-line only)
	StartLine *int `json:"startLine,omitempty"`
	// The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
	SubjectType PullRequestReviewThreadSubjectType `json:"subjectType"`
	// Indicates whether the current viewer can reply to this thread.
	ViewerCanReply bool `json:"viewerCanReply"`
	// Whether or not the viewer can resolve this thread
	ViewerCanResolve bool `json:"viewerCanResolve"`
	// Whether or not the viewer can unresolve this thread
	ViewerCanUnresolve bool `json:"viewerCanUnresolve"`
}

A threaded list of comments for a given pull request.

func (PullRequestReviewThread) GetID

func (this PullRequestReviewThread) GetID() string

ID of the object.

func (PullRequestReviewThread) IsNode

func (PullRequestReviewThread) IsNode()

func (PullRequestReviewThread) IsPullRequestTimelineItem

func (PullRequestReviewThread) IsPullRequestTimelineItem()

func (PullRequestReviewThread) IsPullRequestTimelineItems

func (PullRequestReviewThread) IsPullRequestTimelineItems()

type PullRequestReviewThreadConnection

type PullRequestReviewThreadConnection struct {
	// A list of edges.
	Edges []*PullRequestReviewThreadEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PullRequestReviewThread `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

Review comment threads for a pull request review.

type PullRequestReviewThreadEdge

type PullRequestReviewThreadEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PullRequestReviewThread `json:"node,omitempty"`
}

An edge in a connection.

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 PullRequestRevisionMarker

type PullRequestRevisionMarker struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The last commit the viewer has seen.
	LastSeenCommit *Commit `json:"lastSeenCommit"`
	// The pull request to which the marker belongs.
	PullRequest *PullRequest `json:"pullRequest"`
}

Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.

func (PullRequestRevisionMarker) IsPullRequestTimelineItems

func (PullRequestRevisionMarker) IsPullRequestTimelineItems()

type PullRequestState

type PullRequestState string

The possible states of a pull request.

const (
	// A pull request that is still open.
	PullRequestStateOpen PullRequestState = "OPEN"
	// A pull request that has been closed without being merged.
	PullRequestStateClosed PullRequestState = "CLOSED"
	// A pull request that has been closed by being merged.
	PullRequestStateMerged PullRequestState = "MERGED"
)

func (PullRequestState) IsValid

func (e PullRequestState) IsValid() bool

func (PullRequestState) MarshalGQL

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

func (PullRequestState) String

func (e PullRequestState) String() string

func (*PullRequestState) UnmarshalGQL

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

type PullRequestTemplate

type PullRequestTemplate struct {
	// The body of the template
	Body *string `json:"body,omitempty"`
	// The filename of the template
	Filename *string `json:"filename,omitempty"`
	// The repository the template belongs to
	Repository *Repository `json:"repository"`
}

A repository pull request template.

type PullRequestThread

type PullRequestThread struct {
	// A list of pull request comments associated with the thread.
	Comments *PullRequestReviewCommentConnection `json:"comments"`
	// The side of the diff on which this thread was placed.
	DiffSide DiffSide `json:"diffSide"`
	// The Node ID of the PullRequestThread object
	ID string `json:"id"`
	// Whether or not the thread has been collapsed (resolved)
	IsCollapsed bool `json:"isCollapsed"`
	// Indicates whether this thread was outdated by newer changes.
	IsOutdated bool `json:"isOutdated"`
	// Whether this thread has been resolved
	IsResolved bool `json:"isResolved"`
	// The line in the file to which this thread refers
	Line *int `json:"line,omitempty"`
	// Identifies the file path of this thread.
	Path string `json:"path"`
	// Identifies the pull request associated with this thread.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the repository associated with this thread.
	Repository *Repository `json:"repository"`
	// The user who resolved this thread
	ResolvedBy *User `json:"resolvedBy,omitempty"`
	// The side of the diff that the first line of the thread starts on (multi-line only)
	StartDiffSide *DiffSide `json:"startDiffSide,omitempty"`
	// The line of the first file diff in the thread.
	StartLine *int `json:"startLine,omitempty"`
	// The level at which the comments in the corresponding thread are targeted, can be a diff line or a file
	SubjectType PullRequestReviewThreadSubjectType `json:"subjectType"`
	// Indicates whether the current viewer can reply to this thread.
	ViewerCanReply bool `json:"viewerCanReply"`
	// Whether or not the viewer can resolve this thread
	ViewerCanResolve bool `json:"viewerCanResolve"`
	// Whether or not the viewer can unresolve this thread
	ViewerCanUnresolve bool `json:"viewerCanUnresolve"`
}

A threaded list of comments for a given pull request.

func (PullRequestThread) GetID

func (this PullRequestThread) GetID() string

ID of the object.

func (PullRequestThread) IsNode

func (PullRequestThread) IsNode()

type PullRequestTimelineConnection

type PullRequestTimelineConnection struct {
	// A list of edges.
	Edges []*PullRequestTimelineItemEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []PullRequestTimelineItem `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PullRequestTimelineItem.

type PullRequestTimelineItem

type PullRequestTimelineItem interface {
	IsPullRequestTimelineItem()
}

An item in a pull request timeline

type PullRequestTimelineItemEdge

type PullRequestTimelineItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node PullRequestTimelineItem `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestTimelineItems

type PullRequestTimelineItems interface {
	IsPullRequestTimelineItems()
}

An item in a pull request timeline

type PullRequestTimelineItemsConnection

type PullRequestTimelineItemsConnection struct {
	// A list of edges.
	Edges []*PullRequestTimelineItemsEdge `json:"edges,omitempty"`
	// Identifies the count of items after applying `before` and `after` filters.
	FilteredCount int `json:"filteredCount"`
	// A list of nodes.
	Nodes []PullRequestTimelineItems `json:"nodes,omitempty"`
	// Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing.
	PageCount int `json:"pageCount"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// Identifies the date and time when the timeline was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

The connection type for PullRequestTimelineItems.

type PullRequestTimelineItemsEdge

type PullRequestTimelineItemsEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node PullRequestTimelineItems `json:"node,omitempty"`
}

An edge in a connection.

type PullRequestTimelineItemsItemType

type PullRequestTimelineItemsItemType string

The possible item types found in a timeline.

const (
	// Represents a Git commit part of a pull request.
	PullRequestTimelineItemsItemTypePullRequestCommit PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT"
	// Represents a commit comment thread part of a pull request.
	PullRequestTimelineItemsItemTypePullRequestCommitCommentThread PullRequestTimelineItemsItemType = "PULL_REQUEST_COMMIT_COMMENT_THREAD"
	// A review object for a given pull request.
	PullRequestTimelineItemsItemTypePullRequestReview PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW"
	// A threaded list of comments for a given pull request.
	PullRequestTimelineItemsItemTypePullRequestReviewThread PullRequestTimelineItemsItemType = "PULL_REQUEST_REVIEW_THREAD"
	// Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
	PullRequestTimelineItemsItemTypePullRequestRevisionMarker PullRequestTimelineItemsItemType = "PULL_REQUEST_REVISION_MARKER"
	// Represents a 'automatic_base_change_failed' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutomaticBaseChangeFailedEvent PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_FAILED_EVENT"
	// Represents a 'automatic_base_change_succeeded' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutomaticBaseChangeSucceededEvent PullRequestTimelineItemsItemType = "AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT"
	// Represents a 'auto_merge_disabled' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutoMergeDisabledEvent PullRequestTimelineItemsItemType = "AUTO_MERGE_DISABLED_EVENT"
	// Represents a 'auto_merge_enabled' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutoMergeEnabledEvent PullRequestTimelineItemsItemType = "AUTO_MERGE_ENABLED_EVENT"
	// Represents a 'auto_rebase_enabled' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutoRebaseEnabledEvent PullRequestTimelineItemsItemType = "AUTO_REBASE_ENABLED_EVENT"
	// Represents a 'auto_squash_enabled' event on a given pull request.
	PullRequestTimelineItemsItemTypeAutoSquashEnabledEvent PullRequestTimelineItemsItemType = "AUTO_SQUASH_ENABLED_EVENT"
	// Represents a 'base_ref_changed' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeBaseRefChangedEvent PullRequestTimelineItemsItemType = "BASE_REF_CHANGED_EVENT"
	// Represents a 'base_ref_force_pushed' event on a given pull request.
	PullRequestTimelineItemsItemTypeBaseRefForcePushedEvent PullRequestTimelineItemsItemType = "BASE_REF_FORCE_PUSHED_EVENT"
	// Represents a 'base_ref_deleted' event on a given pull request.
	PullRequestTimelineItemsItemTypeBaseRefDeletedEvent PullRequestTimelineItemsItemType = "BASE_REF_DELETED_EVENT"
	// Represents a 'deployed' event on a given pull request.
	PullRequestTimelineItemsItemTypeDeployedEvent PullRequestTimelineItemsItemType = "DEPLOYED_EVENT"
	// Represents a 'deployment_environment_changed' event on a given pull request.
	PullRequestTimelineItemsItemTypeDeploymentEnvironmentChangedEvent PullRequestTimelineItemsItemType = "DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT"
	// Represents a 'head_ref_deleted' event on a given pull request.
	PullRequestTimelineItemsItemTypeHeadRefDeletedEvent PullRequestTimelineItemsItemType = "HEAD_REF_DELETED_EVENT"
	// Represents a 'head_ref_force_pushed' event on a given pull request.
	PullRequestTimelineItemsItemTypeHeadRefForcePushedEvent PullRequestTimelineItemsItemType = "HEAD_REF_FORCE_PUSHED_EVENT"
	// Represents a 'head_ref_restored' event on a given pull request.
	PullRequestTimelineItemsItemTypeHeadRefRestoredEvent PullRequestTimelineItemsItemType = "HEAD_REF_RESTORED_EVENT"
	// Represents a 'merged' event on a given pull request.
	PullRequestTimelineItemsItemTypeMergedEvent PullRequestTimelineItemsItemType = "MERGED_EVENT"
	// Represents a 'review_dismissed' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeReviewDismissedEvent PullRequestTimelineItemsItemType = "REVIEW_DISMISSED_EVENT"
	// Represents an 'review_requested' event on a given pull request.
	PullRequestTimelineItemsItemTypeReviewRequestedEvent PullRequestTimelineItemsItemType = "REVIEW_REQUESTED_EVENT"
	// Represents an 'review_request_removed' event on a given pull request.
	PullRequestTimelineItemsItemTypeReviewRequestRemovedEvent PullRequestTimelineItemsItemType = "REVIEW_REQUEST_REMOVED_EVENT"
	// Represents a 'ready_for_review' event on a given pull request.
	PullRequestTimelineItemsItemTypeReadyForReviewEvent PullRequestTimelineItemsItemType = "READY_FOR_REVIEW_EVENT"
	// Represents a 'convert_to_draft' event on a given pull request.
	PullRequestTimelineItemsItemTypeConvertToDraftEvent PullRequestTimelineItemsItemType = "CONVERT_TO_DRAFT_EVENT"
	// Represents an 'added_to_merge_queue' event on a given pull request.
	PullRequestTimelineItemsItemTypeAddedToMergeQueueEvent PullRequestTimelineItemsItemType = "ADDED_TO_MERGE_QUEUE_EVENT"
	// Represents a 'removed_from_merge_queue' event on a given pull request.
	PullRequestTimelineItemsItemTypeRemovedFromMergeQueueEvent PullRequestTimelineItemsItemType = "REMOVED_FROM_MERGE_QUEUE_EVENT"
	// Represents a comment on an Issue.
	PullRequestTimelineItemsItemTypeIssueComment PullRequestTimelineItemsItemType = "ISSUE_COMMENT"
	// Represents a mention made by one issue or pull request to another.
	PullRequestTimelineItemsItemTypeCrossReferencedEvent PullRequestTimelineItemsItemType = "CROSS_REFERENCED_EVENT"
	// Represents a 'added_to_project' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeAddedToProjectEvent PullRequestTimelineItemsItemType = "ADDED_TO_PROJECT_EVENT"
	// Represents an 'assigned' event on any assignable object.
	PullRequestTimelineItemsItemTypeAssignedEvent PullRequestTimelineItemsItemType = "ASSIGNED_EVENT"
	// Represents a 'closed' event on any `Closable`.
	PullRequestTimelineItemsItemTypeClosedEvent PullRequestTimelineItemsItemType = "CLOSED_EVENT"
	// Represents a 'comment_deleted' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeCommentDeletedEvent PullRequestTimelineItemsItemType = "COMMENT_DELETED_EVENT"
	// Represents a 'connected' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeConnectedEvent PullRequestTimelineItemsItemType = "CONNECTED_EVENT"
	// Represents a 'converted_note_to_issue' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeConvertedNoteToIssueEvent PullRequestTimelineItemsItemType = "CONVERTED_NOTE_TO_ISSUE_EVENT"
	// Represents a 'converted_to_discussion' event on a given issue.
	PullRequestTimelineItemsItemTypeConvertedToDiscussionEvent PullRequestTimelineItemsItemType = "CONVERTED_TO_DISCUSSION_EVENT"
	// Represents a 'demilestoned' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeDemilestonedEvent PullRequestTimelineItemsItemType = "DEMILESTONED_EVENT"
	// Represents a 'disconnected' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeDisconnectedEvent PullRequestTimelineItemsItemType = "DISCONNECTED_EVENT"
	// Represents a 'labeled' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeLabeledEvent PullRequestTimelineItemsItemType = "LABELED_EVENT"
	// Represents a 'locked' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeLockedEvent PullRequestTimelineItemsItemType = "LOCKED_EVENT"
	// Represents a 'marked_as_duplicate' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeMarkedAsDuplicateEvent PullRequestTimelineItemsItemType = "MARKED_AS_DUPLICATE_EVENT"
	// Represents a 'mentioned' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeMentionedEvent PullRequestTimelineItemsItemType = "MENTIONED_EVENT"
	// Represents a 'milestoned' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeMilestonedEvent PullRequestTimelineItemsItemType = "MILESTONED_EVENT"
	// Represents a 'moved_columns_in_project' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeMovedColumnsInProjectEvent PullRequestTimelineItemsItemType = "MOVED_COLUMNS_IN_PROJECT_EVENT"
	// Represents a 'pinned' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypePinnedEvent PullRequestTimelineItemsItemType = "PINNED_EVENT"
	// Represents a 'referenced' event on a given `ReferencedSubject`.
	PullRequestTimelineItemsItemTypeReferencedEvent PullRequestTimelineItemsItemType = "REFERENCED_EVENT"
	// Represents a 'removed_from_project' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeRemovedFromProjectEvent PullRequestTimelineItemsItemType = "REMOVED_FROM_PROJECT_EVENT"
	// Represents a 'renamed' event on a given issue or pull request
	PullRequestTimelineItemsItemTypeRenamedTitleEvent PullRequestTimelineItemsItemType = "RENAMED_TITLE_EVENT"
	// Represents a 'reopened' event on any `Closable`.
	PullRequestTimelineItemsItemTypeReopenedEvent PullRequestTimelineItemsItemType = "REOPENED_EVENT"
	// Represents a 'subscribed' event on a given `Subscribable`.
	PullRequestTimelineItemsItemTypeSubscribedEvent PullRequestTimelineItemsItemType = "SUBSCRIBED_EVENT"
	// Represents a 'transferred' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeTransferredEvent PullRequestTimelineItemsItemType = "TRANSFERRED_EVENT"
	// Represents an 'unassigned' event on any assignable object.
	PullRequestTimelineItemsItemTypeUnassignedEvent PullRequestTimelineItemsItemType = "UNASSIGNED_EVENT"
	// Represents an 'unlabeled' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeUnlabeledEvent PullRequestTimelineItemsItemType = "UNLABELED_EVENT"
	// Represents an 'unlocked' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeUnlockedEvent PullRequestTimelineItemsItemType = "UNLOCKED_EVENT"
	// Represents a 'user_blocked' event on a given user.
	PullRequestTimelineItemsItemTypeUserBlockedEvent PullRequestTimelineItemsItemType = "USER_BLOCKED_EVENT"
	// Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeUnmarkedAsDuplicateEvent PullRequestTimelineItemsItemType = "UNMARKED_AS_DUPLICATE_EVENT"
	// Represents an 'unpinned' event on a given issue or pull request.
	PullRequestTimelineItemsItemTypeUnpinnedEvent PullRequestTimelineItemsItemType = "UNPINNED_EVENT"
	// Represents an 'unsubscribed' event on a given `Subscribable`.
	PullRequestTimelineItemsItemTypeUnsubscribedEvent PullRequestTimelineItemsItemType = "UNSUBSCRIBED_EVENT"
)

func (PullRequestTimelineItemsItemType) IsValid

func (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 Push

type Push struct {
	// The Node ID of the Push object
	ID string `json:"id"`
	// The SHA after the push
	NextSha *string `json:"nextSha,omitempty"`
	// The permalink for this push.
	Permalink string `json:"permalink"`
	// The SHA before the push
	PreviousSha *string `json:"previousSha,omitempty"`
	// The actor who pushed
	Pusher Actor `json:"pusher"`
	// The repository that was pushed to
	Repository *Repository `json:"repository"`
}

A Git push.

func (Push) GetID

func (this Push) GetID() string

ID of the object.

func (Push) IsNode

func (Push) IsNode()

type PushAllowance

type PushAllowance struct {
	// The actor that can push.
	Actor PushAllowanceActor `json:"actor,omitempty"`
	// Identifies the branch protection rule associated with the allowed user, team, or app.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// The Node ID of the PushAllowance object
	ID string `json:"id"`
}

A team, user, or app who has the ability to push to a protected branch.

func (PushAllowance) GetID

func (this PushAllowance) GetID() string

ID of the object.

func (PushAllowance) IsNode

func (PushAllowance) IsNode()

type PushAllowanceActor

type PushAllowanceActor interface {
	IsPushAllowanceActor()
}

Types that can be an actor.

type PushAllowanceConnection

type PushAllowanceConnection struct {
	// A list of edges.
	Edges []*PushAllowanceEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*PushAllowance `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for PushAllowance.

type PushAllowanceEdge

type PushAllowanceEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *PushAllowance `json:"node,omitempty"`
}

An edge in a connection.

type Query

type Query struct {
}

The query root of GitHub's GraphQL interface.

type RateLimit

type RateLimit struct {
	// The point cost for the current query counting against the rate limit.
	Cost int `json:"cost"`
	// The maximum number of points the client is permitted to consume in a 60 minute window.
	Limit int `json:"limit"`
	// The maximum number of nodes this query may return
	NodeCount int `json:"nodeCount"`
	// The number of points remaining in the current rate limit window.
	Remaining int `json:"remaining"`
	// The time at which the current rate limit window resets in UTC epoch seconds.
	ResetAt time.Time `json:"resetAt"`
	// The number of points used in the current rate limit window.
	Used int `json:"used"`
}

Represents the client's rate limit.

type Reactable

type Reactable interface {
	IsReactable()
	// Identifies the primary key from the database.
	GetDatabaseID() *int
	// The Node ID of the Reactable object
	GetID() string
	// A list of reactions grouped by content left on the subject.
	GetReactionGroups() []*ReactionGroup
	// A list of Reactions left on the Issue.
	GetReactions() *ReactionConnection
	// Can user react to this subject
	GetViewerCanReact() bool
}

Represents a subject that can be reacted on.

type ReactingUserConnection

type ReactingUserConnection struct {
	// A list of edges.
	Edges []*ReactingUserEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type ReactingUserEdge

type ReactingUserEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	Node   *User  `json:"node"`
	// The moment when the user made the reaction.
	ReactedAt time.Time `json:"reactedAt"`
}

Represents a user that's made a reaction.

type Reaction

type Reaction struct {
	// Identifies the emoji reaction.
	Content ReactionContent `json:"content"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the Reaction object
	ID string `json:"id"`
	// The reactable piece of content
	Reactable Reactable `json:"reactable"`
	// Identifies the user who created this reaction.
	User *User `json:"user,omitempty"`
}

An emoji reaction to a particular piece of content.

func (Reaction) GetID

func (this Reaction) GetID() string

ID of the object.

func (Reaction) IsNode

func (Reaction) IsNode()

type ReactionConnection

type ReactionConnection struct {
	// A list of edges.
	Edges []*ReactionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Reaction `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// Whether or not the authenticated user has left a reaction on the subject.
	ViewerHasReacted bool `json:"viewerHasReacted"`
}

A list of reactions that have been left on the subject.

type ReactionContent

type ReactionContent string

Emojis that can be attached to Issues, Pull Requests and Comments.

const (
	// Represents the `:+1:` emoji.
	ReactionContentThumbsUp ReactionContent = "THUMBS_UP"
	// Represents the `:-1:` emoji.
	ReactionContentThumbsDown ReactionContent = "THUMBS_DOWN"
	// Represents the `:laugh:` emoji.
	ReactionContentLaugh ReactionContent = "LAUGH"
	// Represents the `:hooray:` emoji.
	ReactionContentHooray ReactionContent = "HOORAY"
	// Represents the `:confused:` emoji.
	ReactionContentConfused ReactionContent = "CONFUSED"
	// Represents the `:heart:` emoji.
	ReactionContentHeart ReactionContent = "HEART"
	// Represents the `:rocket:` emoji.
	ReactionContentRocket ReactionContent = "ROCKET"
	// Represents the `:eyes:` emoji.
	ReactionContentEyes ReactionContent = "EYES"
)

func (ReactionContent) IsValid

func (e ReactionContent) IsValid() bool

func (ReactionContent) MarshalGQL

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

func (ReactionContent) String

func (e ReactionContent) String() string

func (*ReactionContent) UnmarshalGQL

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

type ReactionEdge

type ReactionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Reaction `json:"node,omitempty"`
}

An edge in a connection.

type ReactionGroup

type ReactionGroup struct {
	// Identifies the emoji reaction.
	Content ReactionContent `json:"content"`
	// Identifies when the reaction was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Reactors to the reaction subject with the emotion represented by this reaction group.
	Reactors *ReactorConnection `json:"reactors"`
	// The subject that was reacted to.
	Subject Reactable `json:"subject"`
	// Users who have reacted to the reaction subject with the emotion represented by this reaction group
	Users *ReactingUserConnection `json:"users"`
	// Whether or not the authenticated user has left a reaction on the subject.
	ViewerHasReacted bool `json:"viewerHasReacted"`
}

A group of emoji reactions to a particular piece of content.

type ReactionOrder

type ReactionOrder struct {
	// The field in which to order reactions by.
	Field ReactionOrderField `json:"field"`
	// The direction in which to order reactions by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of reactions can be ordered upon return.

type ReactionOrderField

type ReactionOrderField string

A list of fields that reactions can be ordered by.

const (
	// Allows ordering a list of reactions by when they were created.
	ReactionOrderFieldCreatedAt ReactionOrderField = "CREATED_AT"
)

func (ReactionOrderField) IsValid

func (e ReactionOrderField) IsValid() bool

func (ReactionOrderField) MarshalGQL

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

func (ReactionOrderField) String

func (e ReactionOrderField) String() string

func (*ReactionOrderField) UnmarshalGQL

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

type Reactor

type Reactor interface {
	IsReactor()
}

Types that can be assigned to reactions.

type ReactorConnection

type ReactorConnection struct {
	// A list of edges.
	Edges []*ReactorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []Reactor `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Reactor.

type ReactorEdge

type ReactorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The author of the reaction.
	Node Reactor `json:"node"`
	// The moment when the user made the reaction.
	ReactedAt time.Time `json:"reactedAt"`
}

Represents an author of a reaction.

type ReadyForReviewEvent

type ReadyForReviewEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ReadyForReviewEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// The HTTP path for this ready for review event.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this ready for review event.
	URL string `json:"url"`
}

Represents a 'ready_for_review' event on a given pull request.

func (ReadyForReviewEvent) GetID

func (this ReadyForReviewEvent) GetID() string

ID of the object.

func (ReadyForReviewEvent) GetResourcePath

func (this ReadyForReviewEvent) GetResourcePath() string

The HTML path to this resource.

func (ReadyForReviewEvent) GetURL

func (this ReadyForReviewEvent) GetURL() string

The URL to this resource.

func (ReadyForReviewEvent) IsNode

func (ReadyForReviewEvent) IsNode()

func (ReadyForReviewEvent) IsPullRequestTimelineItems

func (ReadyForReviewEvent) IsPullRequestTimelineItems()

func (ReadyForReviewEvent) IsUniformResourceLocatable

func (ReadyForReviewEvent) IsUniformResourceLocatable()

type Ref

type Ref struct {
	// A list of pull requests with this ref as the head ref.
	AssociatedPullRequests *PullRequestConnection `json:"associatedPullRequests"`
	// Branch protection rules for this ref
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// Compares the current ref as a base ref to another head ref, if the comparison can be made.
	Compare *Comparison `json:"compare,omitempty"`
	// The Node ID of the Ref object
	ID string `json:"id"`
	// The ref name.
	Name string `json:"name"`
	// The ref's prefix, such as `refs/heads/` or `refs/tags/`.
	Prefix string `json:"prefix"`
	// Branch protection rules that are viewable by non-admins
	RefUpdateRule *RefUpdateRule `json:"refUpdateRule,omitempty"`
	// The repository the ref belongs to.
	Repository *Repository `json:"repository"`
	// A list of rules from active Repository and Organization rulesets that apply to this ref.
	Rules *RepositoryRuleConnection `json:"rules,omitempty"`
	// The object the ref points to. Returns null when object does not exist.
	Target GitObject `json:"target,omitempty"`
}

Represents a Git reference.

func (Ref) GetID

func (this Ref) GetID() string

ID of the object.

func (Ref) IsNode

func (Ref) IsNode()

type RefConnection

type RefConnection struct {
	// A list of edges.
	Edges []*RefEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Ref `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Ref.

type RefEdge

type RefEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Ref `json:"node,omitempty"`
}

An edge in a connection.

type RefNameConditionTarget

type RefNameConditionTarget struct {
	// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []string `json:"exclude"`
	// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Include []string `json:"include"`
}

Parameters to be used for the ref_name condition

type RefNameConditionTargetInput

type RefNameConditionTargetInput struct {
	// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []string `json:"exclude"`
	// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Include []string `json:"include"`
}

Parameters to be used for the ref_name condition

type RefOrder

type RefOrder struct {
	// The field in which to order refs by.
	Field RefOrderField `json:"field"`
	// The direction in which to order refs by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of git refs can be ordered upon return.

type RefOrderField

type RefOrderField string

Properties by which ref connections can be ordered.

const (
	// Order refs by underlying commit date if the ref prefix is refs/tags/
	RefOrderFieldTagCommitDate RefOrderField = "TAG_COMMIT_DATE"
	// Order refs by their alphanumeric name
	RefOrderFieldAlphabetical RefOrderField = "ALPHABETICAL"
)

func (RefOrderField) IsValid

func (e RefOrderField) IsValid() bool

func (RefOrderField) MarshalGQL

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

func (RefOrderField) String

func (e RefOrderField) String() string

func (*RefOrderField) UnmarshalGQL

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

type RefUpdateRule

type RefUpdateRule struct {
	// Can this branch be deleted.
	AllowsDeletions bool `json:"allowsDeletions"`
	// Are force pushes allowed on this branch.
	AllowsForcePushes bool `json:"allowsForcePushes"`
	// Can matching branches be created.
	BlocksCreations bool `json:"blocksCreations"`
	// Identifies the protection rule pattern.
	Pattern string `json:"pattern"`
	// Number of approving reviews required to update matching branches.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`
	// List of required status check contexts that must pass for commits to be accepted to matching branches.
	RequiredStatusCheckContexts []*string `json:"requiredStatusCheckContexts,omitempty"`
	// Are reviews from code owners required to update matching branches.
	RequiresCodeOwnerReviews bool `json:"requiresCodeOwnerReviews"`
	// Are conversations required to be resolved before merging.
	RequiresConversationResolution bool `json:"requiresConversationResolution"`
	// Are merge commits prohibited from being pushed to this branch.
	RequiresLinearHistory bool `json:"requiresLinearHistory"`
	// Are commits required to be signed.
	RequiresSignatures bool `json:"requiresSignatures"`
	// Is the viewer allowed to dismiss reviews.
	ViewerAllowedToDismissReviews bool `json:"viewerAllowedToDismissReviews"`
	// Can the viewer push to the branch
	ViewerCanPush bool `json:"viewerCanPush"`
}

Branch protection rules that are enforced on the viewer.

type ReferencedEvent

type ReferencedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the commit associated with the 'referenced' event.
	Commit *Commit `json:"commit,omitempty"`
	// Identifies the repository associated with the 'referenced' event.
	CommitRepository *Repository `json:"commitRepository"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ReferencedEvent object
	ID string `json:"id"`
	// Reference originated in a different repository.
	IsCrossRepository bool `json:"isCrossRepository"`
	// Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.
	IsDirectReference bool `json:"isDirectReference"`
	// Object referenced by event.
	Subject ReferencedSubject `json:"subject"`
}

Represents a 'referenced' event on a given `ReferencedSubject`.

func (ReferencedEvent) GetID

func (this ReferencedEvent) GetID() string

ID of the object.

func (ReferencedEvent) IsIssueTimelineItem

func (ReferencedEvent) IsIssueTimelineItem()

func (ReferencedEvent) IsIssueTimelineItems

func (ReferencedEvent) IsIssueTimelineItems()

func (ReferencedEvent) IsNode

func (ReferencedEvent) IsNode()

func (ReferencedEvent) IsPullRequestTimelineItem

func (ReferencedEvent) IsPullRequestTimelineItem()

func (ReferencedEvent) IsPullRequestTimelineItems

func (ReferencedEvent) IsPullRequestTimelineItems()

type ReferencedSubject

type ReferencedSubject interface {
	IsReferencedSubject()
}

Any referencable object

type RegenerateEnterpriseIdentityProviderRecoveryCodesInput

type RegenerateEnterpriseIdentityProviderRecoveryCodesInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set an identity provider.
	EnterpriseID string `json:"enterpriseId"`
}

Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes

type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload

type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The identity provider for the enterprise.
	IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}

Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes

type RegenerateVerifiableDomainTokenInput

type RegenerateVerifiableDomainTokenInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the verifiable domain to regenerate the verification token of.
	ID string `json:"id"`
}

Autogenerated input type of RegenerateVerifiableDomainToken

type RegenerateVerifiableDomainTokenPayload

type RegenerateVerifiableDomainTokenPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The verification token that was generated.
	VerificationToken *string `json:"verificationToken,omitempty"`
}

Autogenerated return type of RegenerateVerifiableDomainToken

type RejectDeploymentsInput

type RejectDeploymentsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the workflow run containing the pending deployments.
	WorkflowRunID string `json:"workflowRunId"`
	// The ids of environments to reject deployments
	EnvironmentIds []string `json:"environmentIds"`
	// Optional comment for rejecting deployments
	Comment *string `json:"comment,omitempty"`
}

Autogenerated input type of RejectDeployments

type RejectDeploymentsPayload

type RejectDeploymentsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The affected deployments.
	Deployments []*Deployment `json:"deployments,omitempty"`
}

Autogenerated return type of RejectDeployments

type Release

type Release struct {
	// The author of the release
	Author *User `json:"author,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The description of the release.
	Description *string `json:"description,omitempty"`
	// The description of this release rendered to HTML.
	DescriptionHTML *string `json:"descriptionHTML,omitempty"`
	// The Node ID of the Release object
	ID string `json:"id"`
	// Whether or not the release is a draft
	IsDraft bool `json:"isDraft"`
	// Whether or not the release is the latest releast
	IsLatest bool `json:"isLatest"`
	// Whether or not the release is a prerelease
	IsPrerelease bool `json:"isPrerelease"`
	// A list of users mentioned in the release description
	Mentions *UserConnection `json:"mentions,omitempty"`
	// The title of the release.
	Name *string `json:"name,omitempty"`
	// Identifies the date and time when the release was created.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// List of releases assets which are dependent on this release.
	ReleaseAssets *ReleaseAssetConnection `json:"releaseAssets"`
	// The repository that the release belongs to.
	Repository *Repository `json:"repository"`
	// The HTTP path for this issue
	ResourcePath string `json:"resourcePath"`
	// A description of the release, rendered to HTML without any links in it.
	ShortDescriptionHTML *string `json:"shortDescriptionHTML,omitempty"`
	// The Git tag the release points to
	Tag *Ref `json:"tag,omitempty"`
	// The tag commit for this release.
	TagCommit *Commit `json:"tagCommit,omitempty"`
	// The name of the release's Git tag
	TagName string `json:"tagName"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this issue
	URL string `json:"url"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
}

A release contains the content for a release.

func (Release) GetDatabaseID

func (this Release) GetDatabaseID() *int

Identifies the primary key from the database.

func (Release) GetID

func (this Release) GetID() string

ID of the object.

func (Release) GetReactionGroups

func (this Release) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (Release) GetReactions

func (this Release) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (Release) GetResourcePath

func (this Release) GetResourcePath() string

The HTML path to this resource.

func (Release) GetURL

func (this Release) GetURL() string

The URL to this resource.

func (Release) GetViewerCanReact

func (this Release) GetViewerCanReact() bool

Can user react to this subject

func (Release) IsNode

func (Release) IsNode()

func (Release) IsReactable

func (Release) IsReactable()

func (Release) IsUniformResourceLocatable

func (Release) IsUniformResourceLocatable()

type ReleaseAsset

type ReleaseAsset struct {
	// The asset's content-type
	ContentType string `json:"contentType"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The number of times this asset was downloaded
	DownloadCount int `json:"downloadCount"`
	// Identifies the URL where you can download the release asset via the browser.
	DownloadURL string `json:"downloadUrl"`
	// The Node ID of the ReleaseAsset object
	ID string `json:"id"`
	// Identifies the title of the release asset.
	Name string `json:"name"`
	// Release that the asset is associated with
	Release *Release `json:"release,omitempty"`
	// The size (in bytes) of the asset
	Size int `json:"size"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The user that performed the upload
	UploadedBy *User `json:"uploadedBy"`
	// Identifies the URL of the release asset.
	URL string `json:"url"`
}

A release asset contains the content for a release asset.

func (ReleaseAsset) GetID

func (this ReleaseAsset) GetID() string

ID of the object.

func (ReleaseAsset) IsNode

func (ReleaseAsset) IsNode()

type ReleaseAssetConnection

type ReleaseAssetConnection struct {
	// A list of edges.
	Edges []*ReleaseAssetEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ReleaseAsset `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ReleaseAsset.

type ReleaseAssetEdge

type ReleaseAssetEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ReleaseAsset `json:"node,omitempty"`
}

An edge in a connection.

type ReleaseConnection

type ReleaseConnection struct {
	// A list of edges.
	Edges []*ReleaseEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Release `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Release.

type ReleaseEdge

type ReleaseEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Release `json:"node,omitempty"`
}

An edge in a connection.

type ReleaseOrder

type ReleaseOrder struct {
	// The field in which to order releases by.
	Field ReleaseOrderField `json:"field"`
	// The direction in which to order releases by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of releases can be ordered upon return.

type ReleaseOrderField

type ReleaseOrderField string

Properties by which release connections can be ordered.

const (
	// Order releases by creation time
	ReleaseOrderFieldCreatedAt ReleaseOrderField = "CREATED_AT"
	// Order releases alphabetically by name
	ReleaseOrderFieldName ReleaseOrderField = "NAME"
)

func (ReleaseOrderField) IsValid

func (e ReleaseOrderField) IsValid() bool

func (ReleaseOrderField) MarshalGQL

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

func (ReleaseOrderField) String

func (e ReleaseOrderField) String() string

func (*ReleaseOrderField) UnmarshalGQL

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

type RemoveAssigneesFromAssignableInput

type RemoveAssigneesFromAssignableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the assignable object to remove assignees from.
	AssignableID string `json:"assignableId"`
	// The id of users to remove as assignees.
	AssigneeIds []string `json:"assigneeIds"`
}

Autogenerated input type of RemoveAssigneesFromAssignable

type RemoveAssigneesFromAssignablePayload

type RemoveAssigneesFromAssignablePayload struct {
	// The item that was unassigned.
	Assignable Assignable `json:"assignable,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of RemoveAssigneesFromAssignable

type RemoveEnterpriseAdminInput

type RemoveEnterpriseAdminInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Enterprise ID from which to remove the administrator.
	EnterpriseID string `json:"enterpriseId"`
	// The login of the user to remove as an administrator.
	Login string `json:"login"`
}

Autogenerated input type of RemoveEnterpriseAdmin

type RemoveEnterpriseAdminPayload

type RemoveEnterpriseAdminPayload struct {
	// The user who was removed as an administrator.
	Admin *User `json:"admin,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated enterprise.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of removing an administrator.
	Message *string `json:"message,omitempty"`
	// The viewer performing the mutation.
	Viewer *User `json:"viewer,omitempty"`
}

Autogenerated return type of RemoveEnterpriseAdmin

type RemoveEnterpriseIdentityProviderInput

type RemoveEnterpriseIdentityProviderInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise from which to remove the identity provider.
	EnterpriseID string `json:"enterpriseId"`
}

Autogenerated input type of RemoveEnterpriseIdentityProvider

type RemoveEnterpriseIdentityProviderPayload

type RemoveEnterpriseIdentityProviderPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The identity provider that was removed from the enterprise.
	IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}

Autogenerated return type of RemoveEnterpriseIdentityProvider

type RemoveEnterpriseMemberInput

type RemoveEnterpriseMemberInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise from which the user should be removed.
	EnterpriseID string `json:"enterpriseId"`
	// The ID of the user to remove from the enterprise.
	UserID string `json:"userId"`
}

Autogenerated input type of RemoveEnterpriseMember

type RemoveEnterpriseMemberPayload

type RemoveEnterpriseMemberPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated enterprise.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// The user that was removed from the enterprise.
	User *User `json:"user,omitempty"`
	// The viewer performing the mutation.
	Viewer *User `json:"viewer,omitempty"`
}

Autogenerated return type of RemoveEnterpriseMember

type RemoveEnterpriseOrganizationInput

type RemoveEnterpriseOrganizationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise from which the organization should be removed.
	EnterpriseID string `json:"enterpriseId"`
	// The ID of the organization to remove from the enterprise.
	OrganizationID string `json:"organizationId"`
}

Autogenerated input type of RemoveEnterpriseOrganization

type RemoveEnterpriseOrganizationPayload

type RemoveEnterpriseOrganizationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated enterprise.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// The organization that was removed from the enterprise.
	Organization *Organization `json:"organization,omitempty"`
	// The viewer performing the mutation.
	Viewer *User `json:"viewer,omitempty"`
}

Autogenerated return type of RemoveEnterpriseOrganization

type RemoveEnterpriseSupportEntitlementInput

type RemoveEnterpriseSupportEntitlementInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Enterprise which the admin belongs to.
	EnterpriseID string `json:"enterpriseId"`
	// The login of a member who will lose the support entitlement.
	Login string `json:"login"`
}

Autogenerated input type of RemoveEnterpriseSupportEntitlement

type RemoveEnterpriseSupportEntitlementPayload

type RemoveEnterpriseSupportEntitlementPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of removing the support entitlement.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of RemoveEnterpriseSupportEntitlement

type RemoveLabelsFromLabelableInput

type RemoveLabelsFromLabelableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the Labelable to remove labels from.
	LabelableID string `json:"labelableId"`
	// The ids of labels to remove.
	LabelIds []string `json:"labelIds"`
}

Autogenerated input type of RemoveLabelsFromLabelable

type RemoveLabelsFromLabelablePayload

type RemoveLabelsFromLabelablePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Labelable the labels were removed from.
	Labelable Labelable `json:"labelable,omitempty"`
}

Autogenerated return type of RemoveLabelsFromLabelable

type RemoveOutsideCollaboratorInput

type RemoveOutsideCollaboratorInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the outside collaborator to remove.
	UserID string `json:"userId"`
	// The ID of the organization to remove the outside collaborator from.
	OrganizationID string `json:"organizationId"`
}

Autogenerated input type of RemoveOutsideCollaborator

type RemoveOutsideCollaboratorPayload

type RemoveOutsideCollaboratorPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The user that was removed as an outside collaborator.
	RemovedUser *User `json:"removedUser,omitempty"`
}

Autogenerated return type of RemoveOutsideCollaborator

type RemoveReactionInput

type RemoveReactionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subject to modify.
	SubjectID string `json:"subjectId"`
	// The name of the emoji reaction to remove.
	Content ReactionContent `json:"content"`
}

Autogenerated input type of RemoveReaction

type RemoveReactionPayload

type RemoveReactionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The reaction object.
	Reaction *Reaction `json:"reaction,omitempty"`
	// The reaction groups for the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// The reactable subject.
	Subject Reactable `json:"subject,omitempty"`
}

Autogenerated return type of RemoveReaction

type RemoveStarInput

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

Autogenerated input type of RemoveStar

type RemoveStarPayload

type RemoveStarPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The starrable.
	Starrable Starrable `json:"starrable,omitempty"`
}

Autogenerated return type of RemoveStar

type RemoveUpvoteInput

type RemoveUpvoteInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion or comment to remove upvote.
	SubjectID string `json:"subjectId"`
}

Autogenerated input type of RemoveUpvote

type RemoveUpvotePayload

type RemoveUpvotePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The votable subject.
	Subject Votable `json:"subject,omitempty"`
}

Autogenerated return type of RemoveUpvote

type RemovedFromMergeQueueEvent

type RemovedFromMergeQueueEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the before commit SHA for the 'removed_from_merge_queue' event.
	BeforeCommit *Commit `json:"beforeCommit,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The user who removed this Pull Request from the merge queue
	Enqueuer *User `json:"enqueuer,omitempty"`
	// The Node ID of the RemovedFromMergeQueueEvent object
	ID string `json:"id"`
	// The merge queue where this pull request was removed from.
	MergeQueue *MergeQueue `json:"mergeQueue,omitempty"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// The reason this pull request was removed from the queue.
	Reason *string `json:"reason,omitempty"`
}

Represents a 'removed_from_merge_queue' event on a given pull request.

func (RemovedFromMergeQueueEvent) GetID

func (this RemovedFromMergeQueueEvent) GetID() string

ID of the object.

func (RemovedFromMergeQueueEvent) IsNode

func (RemovedFromMergeQueueEvent) IsNode()

func (RemovedFromMergeQueueEvent) IsPullRequestTimelineItems

func (RemovedFromMergeQueueEvent) IsPullRequestTimelineItems()

type RemovedFromProjectEvent

type RemovedFromProjectEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the RemovedFromProjectEvent object
	ID string `json:"id"`
}

Represents a 'removed_from_project' event on a given issue or pull request.

func (RemovedFromProjectEvent) GetID

func (this RemovedFromProjectEvent) GetID() string

ID of the object.

func (RemovedFromProjectEvent) IsIssueTimelineItems

func (RemovedFromProjectEvent) IsIssueTimelineItems()

func (RemovedFromProjectEvent) IsNode

func (RemovedFromProjectEvent) IsNode()

func (RemovedFromProjectEvent) IsPullRequestTimelineItems

func (RemovedFromProjectEvent) IsPullRequestTimelineItems()

type RenamedTitleEvent

type RenamedTitleEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the current title of the issue or pull request.
	CurrentTitle string `json:"currentTitle"`
	// The Node ID of the RenamedTitleEvent object
	ID string `json:"id"`
	// Identifies the previous title of the issue or pull request.
	PreviousTitle string `json:"previousTitle"`
	// Subject that was renamed.
	Subject RenamedTitleSubject `json:"subject"`
}

Represents a 'renamed' event on a given issue or pull request

func (RenamedTitleEvent) GetID

func (this RenamedTitleEvent) GetID() string

ID of the object.

func (RenamedTitleEvent) IsIssueTimelineItem

func (RenamedTitleEvent) IsIssueTimelineItem()

func (RenamedTitleEvent) IsIssueTimelineItems

func (RenamedTitleEvent) IsIssueTimelineItems()

func (RenamedTitleEvent) IsNode

func (RenamedTitleEvent) IsNode()

func (RenamedTitleEvent) IsPullRequestTimelineItem

func (RenamedTitleEvent) IsPullRequestTimelineItem()

func (RenamedTitleEvent) IsPullRequestTimelineItems

func (RenamedTitleEvent) IsPullRequestTimelineItems()

type RenamedTitleSubject

type RenamedTitleSubject interface {
	IsRenamedTitleSubject()
}

An object which has a renamable title

type ReopenDiscussionInput

type ReopenDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the discussion to be reopened.
	DiscussionID string `json:"discussionId"`
}

Autogenerated input type of ReopenDiscussion

type ReopenDiscussionPayload

type ReopenDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that was reopened.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of ReopenDiscussion

type ReopenIssueInput

type ReopenIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the issue to be opened.
	IssueID string `json:"issueId"`
}

Autogenerated input type of ReopenIssue

type ReopenIssuePayload

type ReopenIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue that was opened.
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of ReopenIssue

type ReopenPullRequestInput

type ReopenPullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the pull request to be reopened.
	PullRequestID string `json:"pullRequestId"`
}

Autogenerated input type of ReopenPullRequest

type ReopenPullRequestPayload

type ReopenPullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that was reopened.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of ReopenPullRequest

type ReopenedEvent

type ReopenedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Object that was reopened.
	Closable Closable `json:"closable"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ReopenedEvent object
	ID string `json:"id"`
	// The reason the issue state was changed to open.
	StateReason *IssueStateReason `json:"stateReason,omitempty"`
}

Represents a 'reopened' event on any `Closable`.

func (ReopenedEvent) GetID

func (this ReopenedEvent) GetID() string

ID of the object.

func (ReopenedEvent) IsIssueTimelineItem

func (ReopenedEvent) IsIssueTimelineItem()

func (ReopenedEvent) IsIssueTimelineItems

func (ReopenedEvent) IsIssueTimelineItems()

func (ReopenedEvent) IsNode

func (ReopenedEvent) IsNode()

func (ReopenedEvent) IsPullRequestTimelineItem

func (ReopenedEvent) IsPullRequestTimelineItem()

func (ReopenedEvent) IsPullRequestTimelineItems

func (ReopenedEvent) IsPullRequestTimelineItems()

type RepoAccessAuditEntry

type RepoAccessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoAccessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoAccessAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.access event.

func (RepoAccessAuditEntry) GetAction

func (this RepoAccessAuditEntry) GetAction() string

The action name

func (RepoAccessAuditEntry) GetActor

func (this RepoAccessAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoAccessAuditEntry) GetActorIP

func (this RepoAccessAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoAccessAuditEntry) GetActorLocation

func (this RepoAccessAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoAccessAuditEntry) GetActorLogin

func (this RepoAccessAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoAccessAuditEntry) GetActorResourcePath

func (this RepoAccessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoAccessAuditEntry) GetActorURL

func (this RepoAccessAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoAccessAuditEntry) GetCreatedAt

func (this RepoAccessAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoAccessAuditEntry) GetID

func (this RepoAccessAuditEntry) GetID() string

ID of the object.

func (RepoAccessAuditEntry) GetOperationType

func (this RepoAccessAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoAccessAuditEntry) GetOrganization

func (this RepoAccessAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoAccessAuditEntry) GetOrganizationName

func (this RepoAccessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoAccessAuditEntry) GetOrganizationResourcePath

func (this RepoAccessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoAccessAuditEntry) GetOrganizationURL

func (this RepoAccessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoAccessAuditEntry) GetRepository

func (this RepoAccessAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoAccessAuditEntry) GetRepositoryName

func (this RepoAccessAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoAccessAuditEntry) GetRepositoryResourcePath

func (this RepoAccessAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoAccessAuditEntry) GetRepositoryURL

func (this RepoAccessAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoAccessAuditEntry) GetUser

func (this RepoAccessAuditEntry) GetUser() *User

The user affected by the action

func (RepoAccessAuditEntry) GetUserLogin

func (this RepoAccessAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoAccessAuditEntry) GetUserResourcePath

func (this RepoAccessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoAccessAuditEntry) GetUserURL

func (this RepoAccessAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoAccessAuditEntry) IsAuditEntry

func (RepoAccessAuditEntry) IsAuditEntry()

func (RepoAccessAuditEntry) IsNode

func (RepoAccessAuditEntry) IsNode()

func (RepoAccessAuditEntry) IsOrganizationAuditEntry

func (RepoAccessAuditEntry) IsOrganizationAuditEntry()

func (RepoAccessAuditEntry) IsOrganizationAuditEntryData

func (RepoAccessAuditEntry) IsOrganizationAuditEntryData()

func (RepoAccessAuditEntry) IsRepositoryAuditEntryData

func (RepoAccessAuditEntry) IsRepositoryAuditEntryData()

type RepoAccessAuditEntryVisibility

type RepoAccessAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoAccessAuditEntryVisibilityInternal RepoAccessAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoAccessAuditEntryVisibilityPrivate RepoAccessAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoAccessAuditEntryVisibilityPublic RepoAccessAuditEntryVisibility = "PUBLIC"
)

func (RepoAccessAuditEntryVisibility) IsValid

func (RepoAccessAuditEntryVisibility) MarshalGQL

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

func (RepoAccessAuditEntryVisibility) String

func (*RepoAccessAuditEntryVisibility) UnmarshalGQL

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

type RepoAddMemberAuditEntry

type RepoAddMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoAddMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoAddMemberAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.add_member event.

func (RepoAddMemberAuditEntry) GetAction

func (this RepoAddMemberAuditEntry) GetAction() string

The action name

func (RepoAddMemberAuditEntry) GetActor

func (this RepoAddMemberAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoAddMemberAuditEntry) GetActorIP

func (this RepoAddMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoAddMemberAuditEntry) GetActorLocation

func (this RepoAddMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoAddMemberAuditEntry) GetActorLogin

func (this RepoAddMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoAddMemberAuditEntry) GetActorResourcePath

func (this RepoAddMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoAddMemberAuditEntry) GetActorURL

func (this RepoAddMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoAddMemberAuditEntry) GetCreatedAt

func (this RepoAddMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoAddMemberAuditEntry) GetID

func (this RepoAddMemberAuditEntry) GetID() string

ID of the object.

func (RepoAddMemberAuditEntry) GetOperationType

func (this RepoAddMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoAddMemberAuditEntry) GetOrganization

func (this RepoAddMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoAddMemberAuditEntry) GetOrganizationName

func (this RepoAddMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoAddMemberAuditEntry) GetOrganizationResourcePath

func (this RepoAddMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoAddMemberAuditEntry) GetOrganizationURL

func (this RepoAddMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoAddMemberAuditEntry) GetRepository

func (this RepoAddMemberAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoAddMemberAuditEntry) GetRepositoryName

func (this RepoAddMemberAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoAddMemberAuditEntry) GetRepositoryResourcePath

func (this RepoAddMemberAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoAddMemberAuditEntry) GetRepositoryURL

func (this RepoAddMemberAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoAddMemberAuditEntry) GetUser

func (this RepoAddMemberAuditEntry) GetUser() *User

The user affected by the action

func (RepoAddMemberAuditEntry) GetUserLogin

func (this RepoAddMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoAddMemberAuditEntry) GetUserResourcePath

func (this RepoAddMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoAddMemberAuditEntry) GetUserURL

func (this RepoAddMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoAddMemberAuditEntry) IsAuditEntry

func (RepoAddMemberAuditEntry) IsAuditEntry()

func (RepoAddMemberAuditEntry) IsNode

func (RepoAddMemberAuditEntry) IsNode()

func (RepoAddMemberAuditEntry) IsOrganizationAuditEntry

func (RepoAddMemberAuditEntry) IsOrganizationAuditEntry()

func (RepoAddMemberAuditEntry) IsOrganizationAuditEntryData

func (RepoAddMemberAuditEntry) IsOrganizationAuditEntryData()

func (RepoAddMemberAuditEntry) IsRepositoryAuditEntryData

func (RepoAddMemberAuditEntry) IsRepositoryAuditEntryData()

type RepoAddMemberAuditEntryVisibility

type RepoAddMemberAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoAddMemberAuditEntryVisibilityInternal RepoAddMemberAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoAddMemberAuditEntryVisibilityPrivate RepoAddMemberAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoAddMemberAuditEntryVisibilityPublic RepoAddMemberAuditEntryVisibility = "PUBLIC"
)

func (RepoAddMemberAuditEntryVisibility) IsValid

func (RepoAddMemberAuditEntryVisibility) MarshalGQL

func (RepoAddMemberAuditEntryVisibility) String

func (*RepoAddMemberAuditEntryVisibility) UnmarshalGQL

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

type RepoAddTopicAuditEntry

type RepoAddTopicAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoAddTopicAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The name of the topic added to the repository
	Topic *Topic `json:"topic,omitempty"`
	// The name of the topic added to the repository
	TopicName *string `json:"topicName,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.add_topic event.

func (RepoAddTopicAuditEntry) GetAction

func (this RepoAddTopicAuditEntry) GetAction() string

The action name

func (RepoAddTopicAuditEntry) GetActor

func (this RepoAddTopicAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoAddTopicAuditEntry) GetActorIP

func (this RepoAddTopicAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoAddTopicAuditEntry) GetActorLocation

func (this RepoAddTopicAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoAddTopicAuditEntry) GetActorLogin

func (this RepoAddTopicAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoAddTopicAuditEntry) GetActorResourcePath

func (this RepoAddTopicAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoAddTopicAuditEntry) GetActorURL

func (this RepoAddTopicAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoAddTopicAuditEntry) GetCreatedAt

func (this RepoAddTopicAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoAddTopicAuditEntry) GetID

func (this RepoAddTopicAuditEntry) GetID() string

ID of the object.

func (RepoAddTopicAuditEntry) GetOperationType

func (this RepoAddTopicAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoAddTopicAuditEntry) GetOrganization

func (this RepoAddTopicAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoAddTopicAuditEntry) GetOrganizationName

func (this RepoAddTopicAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoAddTopicAuditEntry) GetOrganizationResourcePath

func (this RepoAddTopicAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoAddTopicAuditEntry) GetOrganizationURL

func (this RepoAddTopicAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoAddTopicAuditEntry) GetRepository

func (this RepoAddTopicAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoAddTopicAuditEntry) GetRepositoryName

func (this RepoAddTopicAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoAddTopicAuditEntry) GetRepositoryResourcePath

func (this RepoAddTopicAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoAddTopicAuditEntry) GetRepositoryURL

func (this RepoAddTopicAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoAddTopicAuditEntry) GetTopic

func (this RepoAddTopicAuditEntry) GetTopic() *Topic

The name of the topic added to the repository

func (RepoAddTopicAuditEntry) GetTopicName

func (this RepoAddTopicAuditEntry) GetTopicName() *string

The name of the topic added to the repository

func (RepoAddTopicAuditEntry) GetUser

func (this RepoAddTopicAuditEntry) GetUser() *User

The user affected by the action

func (RepoAddTopicAuditEntry) GetUserLogin

func (this RepoAddTopicAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoAddTopicAuditEntry) GetUserResourcePath

func (this RepoAddTopicAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoAddTopicAuditEntry) GetUserURL

func (this RepoAddTopicAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoAddTopicAuditEntry) IsAuditEntry

func (RepoAddTopicAuditEntry) IsAuditEntry()

func (RepoAddTopicAuditEntry) IsNode

func (RepoAddTopicAuditEntry) IsNode()

func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry

func (RepoAddTopicAuditEntry) IsOrganizationAuditEntry()

func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData

func (RepoAddTopicAuditEntry) IsOrganizationAuditEntryData()

func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData

func (RepoAddTopicAuditEntry) IsRepositoryAuditEntryData()

func (RepoAddTopicAuditEntry) IsTopicAuditEntryData

func (RepoAddTopicAuditEntry) IsTopicAuditEntryData()

type RepoArchivedAuditEntry

type RepoArchivedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoArchivedAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoArchivedAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.archived event.

func (RepoArchivedAuditEntry) GetAction

func (this RepoArchivedAuditEntry) GetAction() string

The action name

func (RepoArchivedAuditEntry) GetActor

func (this RepoArchivedAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoArchivedAuditEntry) GetActorIP

func (this RepoArchivedAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoArchivedAuditEntry) GetActorLocation

func (this RepoArchivedAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoArchivedAuditEntry) GetActorLogin

func (this RepoArchivedAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoArchivedAuditEntry) GetActorResourcePath

func (this RepoArchivedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoArchivedAuditEntry) GetActorURL

func (this RepoArchivedAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoArchivedAuditEntry) GetCreatedAt

func (this RepoArchivedAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoArchivedAuditEntry) GetID

func (this RepoArchivedAuditEntry) GetID() string

ID of the object.

func (RepoArchivedAuditEntry) GetOperationType

func (this RepoArchivedAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoArchivedAuditEntry) GetOrganization

func (this RepoArchivedAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoArchivedAuditEntry) GetOrganizationName

func (this RepoArchivedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoArchivedAuditEntry) GetOrganizationResourcePath

func (this RepoArchivedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoArchivedAuditEntry) GetOrganizationURL

func (this RepoArchivedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoArchivedAuditEntry) GetRepository

func (this RepoArchivedAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoArchivedAuditEntry) GetRepositoryName

func (this RepoArchivedAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoArchivedAuditEntry) GetRepositoryResourcePath

func (this RepoArchivedAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoArchivedAuditEntry) GetRepositoryURL

func (this RepoArchivedAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoArchivedAuditEntry) GetUser

func (this RepoArchivedAuditEntry) GetUser() *User

The user affected by the action

func (RepoArchivedAuditEntry) GetUserLogin

func (this RepoArchivedAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoArchivedAuditEntry) GetUserResourcePath

func (this RepoArchivedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoArchivedAuditEntry) GetUserURL

func (this RepoArchivedAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoArchivedAuditEntry) IsAuditEntry

func (RepoArchivedAuditEntry) IsAuditEntry()

func (RepoArchivedAuditEntry) IsNode

func (RepoArchivedAuditEntry) IsNode()

func (RepoArchivedAuditEntry) IsOrganizationAuditEntry

func (RepoArchivedAuditEntry) IsOrganizationAuditEntry()

func (RepoArchivedAuditEntry) IsOrganizationAuditEntryData

func (RepoArchivedAuditEntry) IsOrganizationAuditEntryData()

func (RepoArchivedAuditEntry) IsRepositoryAuditEntryData

func (RepoArchivedAuditEntry) IsRepositoryAuditEntryData()

type RepoArchivedAuditEntryVisibility

type RepoArchivedAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoArchivedAuditEntryVisibilityInternal RepoArchivedAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoArchivedAuditEntryVisibilityPrivate RepoArchivedAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoArchivedAuditEntryVisibilityPublic RepoArchivedAuditEntryVisibility = "PUBLIC"
)

func (RepoArchivedAuditEntryVisibility) IsValid

func (RepoArchivedAuditEntryVisibility) MarshalGQL

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

func (RepoArchivedAuditEntryVisibility) String

func (*RepoArchivedAuditEntryVisibility) UnmarshalGQL

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

type RepoChangeMergeSettingAuditEntry

type RepoChangeMergeSettingAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoChangeMergeSettingAuditEntry object
	ID string `json:"id"`
	// Whether the change was to enable (true) or disable (false) the merge type
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// The merge method affected by the change
	MergeType *RepoChangeMergeSettingAuditEntryMergeType `json:"mergeType,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.change_merge_setting event.

func (RepoChangeMergeSettingAuditEntry) GetAction

func (this RepoChangeMergeSettingAuditEntry) GetAction() string

The action name

func (RepoChangeMergeSettingAuditEntry) GetActor

The user who initiated the action

func (RepoChangeMergeSettingAuditEntry) GetActorIP

func (this RepoChangeMergeSettingAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoChangeMergeSettingAuditEntry) GetActorLocation

func (this RepoChangeMergeSettingAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoChangeMergeSettingAuditEntry) GetActorLogin

func (this RepoChangeMergeSettingAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoChangeMergeSettingAuditEntry) GetActorResourcePath

func (this RepoChangeMergeSettingAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoChangeMergeSettingAuditEntry) GetActorURL

func (this RepoChangeMergeSettingAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoChangeMergeSettingAuditEntry) GetCreatedAt

func (this RepoChangeMergeSettingAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoChangeMergeSettingAuditEntry) GetID

ID of the object.

func (RepoChangeMergeSettingAuditEntry) GetOperationType

func (this RepoChangeMergeSettingAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoChangeMergeSettingAuditEntry) GetOrganization

func (this RepoChangeMergeSettingAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoChangeMergeSettingAuditEntry) GetOrganizationName

func (this RepoChangeMergeSettingAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath

func (this RepoChangeMergeSettingAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoChangeMergeSettingAuditEntry) GetOrganizationURL

func (this RepoChangeMergeSettingAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoChangeMergeSettingAuditEntry) GetRepository

func (this RepoChangeMergeSettingAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoChangeMergeSettingAuditEntry) GetRepositoryName

func (this RepoChangeMergeSettingAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath

func (this RepoChangeMergeSettingAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoChangeMergeSettingAuditEntry) GetRepositoryURL

func (this RepoChangeMergeSettingAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoChangeMergeSettingAuditEntry) GetUser

func (this RepoChangeMergeSettingAuditEntry) GetUser() *User

The user affected by the action

func (RepoChangeMergeSettingAuditEntry) GetUserLogin

func (this RepoChangeMergeSettingAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoChangeMergeSettingAuditEntry) GetUserResourcePath

func (this RepoChangeMergeSettingAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoChangeMergeSettingAuditEntry) GetUserURL

func (this RepoChangeMergeSettingAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoChangeMergeSettingAuditEntry) IsAuditEntry

func (RepoChangeMergeSettingAuditEntry) IsAuditEntry()

func (RepoChangeMergeSettingAuditEntry) IsNode

func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry

func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntry()

func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData

func (RepoChangeMergeSettingAuditEntry) IsOrganizationAuditEntryData()

func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData

func (RepoChangeMergeSettingAuditEntry) IsRepositoryAuditEntryData()

type RepoChangeMergeSettingAuditEntryMergeType

type RepoChangeMergeSettingAuditEntryMergeType string

The merge options available for pull requests to this repository.

const (
	// The pull request is added to the base branch in a merge commit.
	RepoChangeMergeSettingAuditEntryMergeTypeMerge RepoChangeMergeSettingAuditEntryMergeType = "MERGE"
	// Commits from the pull request are added onto the base branch individually without a merge commit.
	RepoChangeMergeSettingAuditEntryMergeTypeRebase RepoChangeMergeSettingAuditEntryMergeType = "REBASE"
	// The pull request's commits are squashed into a single commit before they are merged to the base branch.
	RepoChangeMergeSettingAuditEntryMergeTypeSquash RepoChangeMergeSettingAuditEntryMergeType = "SQUASH"
)

func (RepoChangeMergeSettingAuditEntryMergeType) IsValid

func (RepoChangeMergeSettingAuditEntryMergeType) MarshalGQL

func (RepoChangeMergeSettingAuditEntryMergeType) String

func (*RepoChangeMergeSettingAuditEntryMergeType) UnmarshalGQL

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

type RepoConfigDisableAnonymousGitAccessAuditEntry

type RepoConfigDisableAnonymousGitAccessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.disable_anonymous_git_access event.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetAction

The action name

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActor

The user who initiated the action

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetID

ID of the object.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationURL

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryURL

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUser

The user affected by the action

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath

func (this RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsAuditEntry

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsNode

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigDisableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigDisableCollaboratorsOnlyAuditEntry

type RepoConfigDisableCollaboratorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.disable_collaborators_only event.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetAction

The action name

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActor

The user who initiated the action

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetID

ID of the object.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryURL

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUser

The user affected by the action

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath

func (this RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsAuditEntry

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsNode

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigDisableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigDisableContributorsOnlyAuditEntry

type RepoConfigDisableContributorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.disable_contributors_only event.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetAction

The action name

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActor

The user who initiated the action

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigDisableContributorsOnlyAuditEntry) GetID

ID of the object.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationURL

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryURL

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigDisableContributorsOnlyAuditEntry) GetUser

The user affected by the action

func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath

func (this RepoConfigDisableContributorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigDisableContributorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigDisableContributorsOnlyAuditEntry) IsAuditEntry

func (RepoConfigDisableContributorsOnlyAuditEntry) IsNode

func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry

func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigDisableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigDisableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigDisableSockpuppetDisallowedAuditEntry

type RepoConfigDisableSockpuppetDisallowedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.disable_sockpuppet_disallowed event.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetAction

The action name

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActor

The user who initiated the action

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetID

ID of the object.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationURL

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetRepositoryURL

The HTTP URL for the repository

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUser

The user affected by the action

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath

func (this RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsAuditEntry

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsNode

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigDisableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigEnableAnonymousGitAccessAuditEntry

type RepoConfigEnableAnonymousGitAccessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.enable_anonymous_git_access event.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetAction

The action name

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActor

The user who initiated the action

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetID

ID of the object.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationURL

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryURL

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUser

The user affected by the action

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath

func (this RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsAuditEntry

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsNode

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigEnableAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigEnableCollaboratorsOnlyAuditEntry

type RepoConfigEnableCollaboratorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.enable_collaborators_only event.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetAction

The action name

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActor

The user who initiated the action

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetID

ID of the object.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryURL

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUser

The user affected by the action

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath

func (this RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsAuditEntry

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsNode

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigEnableCollaboratorsOnlyAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigEnableContributorsOnlyAuditEntry

type RepoConfigEnableContributorsOnlyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.enable_contributors_only event.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetAction

The action name

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActor

The user who initiated the action

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigEnableContributorsOnlyAuditEntry) GetID

ID of the object.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationURL

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryURL

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigEnableContributorsOnlyAuditEntry) GetUser

The user affected by the action

func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath

func (this RepoConfigEnableContributorsOnlyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigEnableContributorsOnlyAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigEnableContributorsOnlyAuditEntry) IsAuditEntry

func (RepoConfigEnableContributorsOnlyAuditEntry) IsNode

func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry

func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigEnableContributorsOnlyAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigEnableContributorsOnlyAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigEnableSockpuppetDisallowedAuditEntry

type RepoConfigEnableSockpuppetDisallowedAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.enable_sockpuppet_disallowed event.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetAction

The action name

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActor

The user who initiated the action

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetID

ID of the object.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationURL

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryURL

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUser

The user affected by the action

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath

func (this RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsAuditEntry

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsNode

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigEnableSockpuppetDisallowedAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigLockAnonymousGitAccessAuditEntry

type RepoConfigLockAnonymousGitAccessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.lock_anonymous_git_access event.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetAction

The action name

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActor

The user who initiated the action

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetID

ID of the object.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationURL

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryURL

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUser

The user affected by the action

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath

func (this RepoConfigLockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigLockAnonymousGitAccessAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsAuditEntry

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsNode

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigLockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()

type RepoConfigUnlockAnonymousGitAccessAuditEntry

type RepoConfigUnlockAnonymousGitAccessAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.config.unlock_anonymous_git_access event.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetAction

The action name

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActor

The user who initiated the action

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorIP

The IP address of the actor

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetCreatedAt

The time the action was initiated

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetID

ID of the object.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationURL

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepository

The repository associated with the action

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryURL

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUser

The user affected by the action

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath

func (this RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsAuditEntry

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsNode

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntry()

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsOrganizationAuditEntryData()

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData

func (RepoConfigUnlockAnonymousGitAccessAuditEntry) IsRepositoryAuditEntryData()

type RepoCreateAuditEntry

type RepoCreateAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The name of the parent repository for this forked repository.
	ForkParentName *string `json:"forkParentName,omitempty"`
	// The name of the root repository for this network.
	ForkSourceName *string `json:"forkSourceName,omitempty"`
	// The Node ID of the RepoCreateAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoCreateAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.create event.

func (RepoCreateAuditEntry) GetAction

func (this RepoCreateAuditEntry) GetAction() string

The action name

func (RepoCreateAuditEntry) GetActor

func (this RepoCreateAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoCreateAuditEntry) GetActorIP

func (this RepoCreateAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoCreateAuditEntry) GetActorLocation

func (this RepoCreateAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoCreateAuditEntry) GetActorLogin

func (this RepoCreateAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoCreateAuditEntry) GetActorResourcePath

func (this RepoCreateAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoCreateAuditEntry) GetActorURL

func (this RepoCreateAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoCreateAuditEntry) GetCreatedAt

func (this RepoCreateAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoCreateAuditEntry) GetID

func (this RepoCreateAuditEntry) GetID() string

ID of the object.

func (RepoCreateAuditEntry) GetOperationType

func (this RepoCreateAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoCreateAuditEntry) GetOrganization

func (this RepoCreateAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoCreateAuditEntry) GetOrganizationName

func (this RepoCreateAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoCreateAuditEntry) GetOrganizationResourcePath

func (this RepoCreateAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoCreateAuditEntry) GetOrganizationURL

func (this RepoCreateAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoCreateAuditEntry) GetRepository

func (this RepoCreateAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoCreateAuditEntry) GetRepositoryName

func (this RepoCreateAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoCreateAuditEntry) GetRepositoryResourcePath

func (this RepoCreateAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoCreateAuditEntry) GetRepositoryURL

func (this RepoCreateAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoCreateAuditEntry) GetUser

func (this RepoCreateAuditEntry) GetUser() *User

The user affected by the action

func (RepoCreateAuditEntry) GetUserLogin

func (this RepoCreateAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoCreateAuditEntry) GetUserResourcePath

func (this RepoCreateAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoCreateAuditEntry) GetUserURL

func (this RepoCreateAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoCreateAuditEntry) IsAuditEntry

func (RepoCreateAuditEntry) IsAuditEntry()

func (RepoCreateAuditEntry) IsNode

func (RepoCreateAuditEntry) IsNode()

func (RepoCreateAuditEntry) IsOrganizationAuditEntry

func (RepoCreateAuditEntry) IsOrganizationAuditEntry()

func (RepoCreateAuditEntry) IsOrganizationAuditEntryData

func (RepoCreateAuditEntry) IsOrganizationAuditEntryData()

func (RepoCreateAuditEntry) IsRepositoryAuditEntryData

func (RepoCreateAuditEntry) IsRepositoryAuditEntryData()

type RepoCreateAuditEntryVisibility

type RepoCreateAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoCreateAuditEntryVisibilityInternal RepoCreateAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoCreateAuditEntryVisibilityPrivate RepoCreateAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoCreateAuditEntryVisibilityPublic RepoCreateAuditEntryVisibility = "PUBLIC"
)

func (RepoCreateAuditEntryVisibility) IsValid

func (RepoCreateAuditEntryVisibility) MarshalGQL

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

func (RepoCreateAuditEntryVisibility) String

func (*RepoCreateAuditEntryVisibility) UnmarshalGQL

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

type RepoDestroyAuditEntry

type RepoDestroyAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoDestroyAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoDestroyAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.destroy event.

func (RepoDestroyAuditEntry) GetAction

func (this RepoDestroyAuditEntry) GetAction() string

The action name

func (RepoDestroyAuditEntry) GetActor

func (this RepoDestroyAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (RepoDestroyAuditEntry) GetActorIP

func (this RepoDestroyAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoDestroyAuditEntry) GetActorLocation

func (this RepoDestroyAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoDestroyAuditEntry) GetActorLogin

func (this RepoDestroyAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoDestroyAuditEntry) GetActorResourcePath

func (this RepoDestroyAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoDestroyAuditEntry) GetActorURL

func (this RepoDestroyAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoDestroyAuditEntry) GetCreatedAt

func (this RepoDestroyAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoDestroyAuditEntry) GetID

func (this RepoDestroyAuditEntry) GetID() string

ID of the object.

func (RepoDestroyAuditEntry) GetOperationType

func (this RepoDestroyAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoDestroyAuditEntry) GetOrganization

func (this RepoDestroyAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoDestroyAuditEntry) GetOrganizationName

func (this RepoDestroyAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoDestroyAuditEntry) GetOrganizationResourcePath

func (this RepoDestroyAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoDestroyAuditEntry) GetOrganizationURL

func (this RepoDestroyAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoDestroyAuditEntry) GetRepository

func (this RepoDestroyAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoDestroyAuditEntry) GetRepositoryName

func (this RepoDestroyAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoDestroyAuditEntry) GetRepositoryResourcePath

func (this RepoDestroyAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoDestroyAuditEntry) GetRepositoryURL

func (this RepoDestroyAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoDestroyAuditEntry) GetUser

func (this RepoDestroyAuditEntry) GetUser() *User

The user affected by the action

func (RepoDestroyAuditEntry) GetUserLogin

func (this RepoDestroyAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoDestroyAuditEntry) GetUserResourcePath

func (this RepoDestroyAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoDestroyAuditEntry) GetUserURL

func (this RepoDestroyAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoDestroyAuditEntry) IsAuditEntry

func (RepoDestroyAuditEntry) IsAuditEntry()

func (RepoDestroyAuditEntry) IsNode

func (RepoDestroyAuditEntry) IsNode()

func (RepoDestroyAuditEntry) IsOrganizationAuditEntry

func (RepoDestroyAuditEntry) IsOrganizationAuditEntry()

func (RepoDestroyAuditEntry) IsOrganizationAuditEntryData

func (RepoDestroyAuditEntry) IsOrganizationAuditEntryData()

func (RepoDestroyAuditEntry) IsRepositoryAuditEntryData

func (RepoDestroyAuditEntry) IsRepositoryAuditEntryData()

type RepoDestroyAuditEntryVisibility

type RepoDestroyAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoDestroyAuditEntryVisibilityInternal RepoDestroyAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoDestroyAuditEntryVisibilityPrivate RepoDestroyAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoDestroyAuditEntryVisibilityPublic RepoDestroyAuditEntryVisibility = "PUBLIC"
)

func (RepoDestroyAuditEntryVisibility) IsValid

func (RepoDestroyAuditEntryVisibility) MarshalGQL

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

func (RepoDestroyAuditEntryVisibility) String

func (*RepoDestroyAuditEntryVisibility) UnmarshalGQL

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

type RepoRemoveMemberAuditEntry

type RepoRemoveMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoRemoveMemberAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
	// The visibility of the repository
	Visibility *RepoRemoveMemberAuditEntryVisibility `json:"visibility,omitempty"`
}

Audit log entry for a repo.remove_member event.

func (RepoRemoveMemberAuditEntry) GetAction

func (this RepoRemoveMemberAuditEntry) GetAction() string

The action name

func (RepoRemoveMemberAuditEntry) GetActor

The user who initiated the action

func (RepoRemoveMemberAuditEntry) GetActorIP

func (this RepoRemoveMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoRemoveMemberAuditEntry) GetActorLocation

func (this RepoRemoveMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoRemoveMemberAuditEntry) GetActorLogin

func (this RepoRemoveMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoRemoveMemberAuditEntry) GetActorResourcePath

func (this RepoRemoveMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoRemoveMemberAuditEntry) GetActorURL

func (this RepoRemoveMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoRemoveMemberAuditEntry) GetCreatedAt

func (this RepoRemoveMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoRemoveMemberAuditEntry) GetID

func (this RepoRemoveMemberAuditEntry) GetID() string

ID of the object.

func (RepoRemoveMemberAuditEntry) GetOperationType

func (this RepoRemoveMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoRemoveMemberAuditEntry) GetOrganization

func (this RepoRemoveMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoRemoveMemberAuditEntry) GetOrganizationName

func (this RepoRemoveMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoRemoveMemberAuditEntry) GetOrganizationResourcePath

func (this RepoRemoveMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoRemoveMemberAuditEntry) GetOrganizationURL

func (this RepoRemoveMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoRemoveMemberAuditEntry) GetRepository

func (this RepoRemoveMemberAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoRemoveMemberAuditEntry) GetRepositoryName

func (this RepoRemoveMemberAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoRemoveMemberAuditEntry) GetRepositoryResourcePath

func (this RepoRemoveMemberAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoRemoveMemberAuditEntry) GetRepositoryURL

func (this RepoRemoveMemberAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoRemoveMemberAuditEntry) GetUser

func (this RepoRemoveMemberAuditEntry) GetUser() *User

The user affected by the action

func (RepoRemoveMemberAuditEntry) GetUserLogin

func (this RepoRemoveMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoRemoveMemberAuditEntry) GetUserResourcePath

func (this RepoRemoveMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoRemoveMemberAuditEntry) GetUserURL

func (this RepoRemoveMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoRemoveMemberAuditEntry) IsAuditEntry

func (RepoRemoveMemberAuditEntry) IsAuditEntry()

func (RepoRemoveMemberAuditEntry) IsNode

func (RepoRemoveMemberAuditEntry) IsNode()

func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntry

func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntry()

func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntryData

func (RepoRemoveMemberAuditEntry) IsOrganizationAuditEntryData()

func (RepoRemoveMemberAuditEntry) IsRepositoryAuditEntryData

func (RepoRemoveMemberAuditEntry) IsRepositoryAuditEntryData()

type RepoRemoveMemberAuditEntryVisibility

type RepoRemoveMemberAuditEntryVisibility string

The privacy of a repository

const (
	// The repository is visible only to users in the same business.
	RepoRemoveMemberAuditEntryVisibilityInternal RepoRemoveMemberAuditEntryVisibility = "INTERNAL"
	// The repository is visible only to those with explicit access.
	RepoRemoveMemberAuditEntryVisibilityPrivate RepoRemoveMemberAuditEntryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepoRemoveMemberAuditEntryVisibilityPublic RepoRemoveMemberAuditEntryVisibility = "PUBLIC"
)

func (RepoRemoveMemberAuditEntryVisibility) IsValid

func (RepoRemoveMemberAuditEntryVisibility) MarshalGQL

func (RepoRemoveMemberAuditEntryVisibility) String

func (*RepoRemoveMemberAuditEntryVisibility) UnmarshalGQL

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

type RepoRemoveTopicAuditEntry

type RepoRemoveTopicAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the RepoRemoveTopicAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The name of the topic added to the repository
	Topic *Topic `json:"topic,omitempty"`
	// The name of the topic added to the repository
	TopicName *string `json:"topicName,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repo.remove_topic event.

func (RepoRemoveTopicAuditEntry) GetAction

func (this RepoRemoveTopicAuditEntry) GetAction() string

The action name

func (RepoRemoveTopicAuditEntry) GetActor

The user who initiated the action

func (RepoRemoveTopicAuditEntry) GetActorIP

func (this RepoRemoveTopicAuditEntry) GetActorIP() *string

The IP address of the actor

func (RepoRemoveTopicAuditEntry) GetActorLocation

func (this RepoRemoveTopicAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (RepoRemoveTopicAuditEntry) GetActorLogin

func (this RepoRemoveTopicAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepoRemoveTopicAuditEntry) GetActorResourcePath

func (this RepoRemoveTopicAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepoRemoveTopicAuditEntry) GetActorURL

func (this RepoRemoveTopicAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (RepoRemoveTopicAuditEntry) GetCreatedAt

func (this RepoRemoveTopicAuditEntry) GetCreatedAt() string

The time the action was initiated

func (RepoRemoveTopicAuditEntry) GetID

func (this RepoRemoveTopicAuditEntry) GetID() string

ID of the object.

func (RepoRemoveTopicAuditEntry) GetOperationType

func (this RepoRemoveTopicAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (RepoRemoveTopicAuditEntry) GetOrganization

func (this RepoRemoveTopicAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (RepoRemoveTopicAuditEntry) GetOrganizationName

func (this RepoRemoveTopicAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepoRemoveTopicAuditEntry) GetOrganizationResourcePath

func (this RepoRemoveTopicAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepoRemoveTopicAuditEntry) GetOrganizationURL

func (this RepoRemoveTopicAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepoRemoveTopicAuditEntry) GetRepository

func (this RepoRemoveTopicAuditEntry) GetRepository() *Repository

The repository associated with the action

func (RepoRemoveTopicAuditEntry) GetRepositoryName

func (this RepoRemoveTopicAuditEntry) GetRepositoryName() *string

The name of the repository

func (RepoRemoveTopicAuditEntry) GetRepositoryResourcePath

func (this RepoRemoveTopicAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (RepoRemoveTopicAuditEntry) GetRepositoryURL

func (this RepoRemoveTopicAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (RepoRemoveTopicAuditEntry) GetTopic

func (this RepoRemoveTopicAuditEntry) GetTopic() *Topic

The name of the topic added to the repository

func (RepoRemoveTopicAuditEntry) GetTopicName

func (this RepoRemoveTopicAuditEntry) GetTopicName() *string

The name of the topic added to the repository

func (RepoRemoveTopicAuditEntry) GetUser

func (this RepoRemoveTopicAuditEntry) GetUser() *User

The user affected by the action

func (RepoRemoveTopicAuditEntry) GetUserLogin

func (this RepoRemoveTopicAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepoRemoveTopicAuditEntry) GetUserResourcePath

func (this RepoRemoveTopicAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepoRemoveTopicAuditEntry) GetUserURL

func (this RepoRemoveTopicAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (RepoRemoveTopicAuditEntry) IsAuditEntry

func (RepoRemoveTopicAuditEntry) IsAuditEntry()

func (RepoRemoveTopicAuditEntry) IsNode

func (RepoRemoveTopicAuditEntry) IsNode()

func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry

func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntry()

func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData

func (RepoRemoveTopicAuditEntry) IsOrganizationAuditEntryData()

func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData

func (RepoRemoveTopicAuditEntry) IsRepositoryAuditEntryData()

func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData

func (RepoRemoveTopicAuditEntry) IsTopicAuditEntryData()

type ReportedContentClassifiers

type ReportedContentClassifiers string

The reasons a piece of content can be reported or minimized.

const (
	// A spammy piece of content
	ReportedContentClassifiersSpam ReportedContentClassifiers = "SPAM"
	// An abusive or harassing piece of content
	ReportedContentClassifiersAbuse ReportedContentClassifiers = "ABUSE"
	// An irrelevant piece of content
	ReportedContentClassifiersOffTopic ReportedContentClassifiers = "OFF_TOPIC"
	// An outdated piece of content
	ReportedContentClassifiersOutdated ReportedContentClassifiers = "OUTDATED"
	// A duplicated piece of content
	ReportedContentClassifiersDuplicate ReportedContentClassifiers = "DUPLICATE"
	// The content has been resolved
	ReportedContentClassifiersResolved ReportedContentClassifiers = "RESOLVED"
)

func (ReportedContentClassifiers) IsValid

func (e ReportedContentClassifiers) IsValid() bool

func (ReportedContentClassifiers) MarshalGQL

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

func (ReportedContentClassifiers) String

func (*ReportedContentClassifiers) UnmarshalGQL

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

type Repository

type Repository struct {
	// Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
	AllowUpdateBranch bool `json:"allowUpdateBranch"`
	// Identifies the date and time when the repository was archived.
	ArchivedAt *time.Time `json:"archivedAt,omitempty"`
	// A list of users that can be assigned to issues in this repository.
	AssignableUsers *UserConnection `json:"assignableUsers"`
	// Whether or not Auto-merge can be enabled on pull requests in this repository.
	AutoMergeAllowed bool `json:"autoMergeAllowed"`
	// A list of branch protection rules for this repository.
	BranchProtectionRules *BranchProtectionRuleConnection `json:"branchProtectionRules"`
	// Returns the code of conduct for this repository
	CodeOfConduct *CodeOfConduct `json:"codeOfConduct,omitempty"`
	// Information extracted from the repository's `CODEOWNERS` file.
	Codeowners *RepositoryCodeowners `json:"codeowners,omitempty"`
	// A list of collaborators associated with the repository.
	Collaborators *RepositoryCollaboratorConnection `json:"collaborators,omitempty"`
	// A list of commit comments associated with the repository.
	CommitComments *CommitCommentConnection `json:"commitComments"`
	// Returns a list of contact links associated to the repository
	ContactLinks []*RepositoryContactLink `json:"contactLinks,omitempty"`
	// Returns the contributing guidelines for this repository.
	ContributingGuidelines *ContributingGuidelines `json:"contributingGuidelines,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Ref associated with the repository's default branch.
	DefaultBranchRef *Ref `json:"defaultBranchRef,omitempty"`
	// Whether or not branches are automatically deleted when merged in this repository.
	DeleteBranchOnMerge bool `json:"deleteBranchOnMerge"`
	// A list of deploy keys that are on this repository.
	DeployKeys *DeployKeyConnection `json:"deployKeys"`
	// Deployments associated with the repository
	Deployments *DeploymentConnection `json:"deployments"`
	// The description of the repository.
	Description *string `json:"description,omitempty"`
	// The description of the repository rendered to HTML.
	DescriptionHTML string `json:"descriptionHTML"`
	// Returns a single discussion from the current repository by number.
	Discussion *Discussion `json:"discussion,omitempty"`
	// A list of discussion categories that are available in the repository.
	DiscussionCategories *DiscussionCategoryConnection `json:"discussionCategories"`
	// A discussion category by slug.
	DiscussionCategory *DiscussionCategory `json:"discussionCategory,omitempty"`
	// A list of discussions that have been opened in the repository.
	Discussions *DiscussionConnection `json:"discussions"`
	// The number of kilobytes this repository occupies on disk.
	DiskUsage *int `json:"diskUsage,omitempty"`
	// Returns a single active environment from the current repository by name.
	Environment *Environment `json:"environment,omitempty"`
	// A list of environments that are in this repository.
	Environments *EnvironmentConnection `json:"environments"`
	// Returns how many forks there are of this repository in the whole network.
	ForkCount int `json:"forkCount"`
	// Whether this repository allows forks.
	ForkingAllowed bool `json:"forkingAllowed"`
	// A list of direct forked repositories.
	Forks *RepositoryConnection `json:"forks"`
	// The funding links for this repository
	FundingLinks []*FundingLink `json:"fundingLinks"`
	// Indicates if the repository has the Discussions feature enabled.
	HasDiscussionsEnabled bool `json:"hasDiscussionsEnabled"`
	// Indicates if the repository has issues feature enabled.
	HasIssuesEnabled bool `json:"hasIssuesEnabled"`
	// Indicates if the repository has the Projects feature enabled.
	HasProjectsEnabled bool `json:"hasProjectsEnabled"`
	// Indicates if the repository displays a Sponsor button for financial contributions.
	HasSponsorshipsEnabled bool `json:"hasSponsorshipsEnabled"`
	// Whether vulnerability alerts are enabled for the repository.
	HasVulnerabilityAlertsEnabled bool `json:"hasVulnerabilityAlertsEnabled"`
	// Indicates if the repository has wiki feature enabled.
	HasWikiEnabled bool `json:"hasWikiEnabled"`
	// The repository's URL.
	HomepageURL *string `json:"homepageUrl,omitempty"`
	// The Node ID of the Repository object
	ID string `json:"id"`
	// The interaction ability settings for this repository.
	InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
	// Indicates if the repository is unmaintained.
	IsArchived bool `json:"isArchived"`
	// Returns true if blank issue creation is allowed
	IsBlankIssuesEnabled bool `json:"isBlankIssuesEnabled"`
	// Returns whether or not this repository disabled.
	IsDisabled bool `json:"isDisabled"`
	// Returns whether or not this repository is empty.
	IsEmpty bool `json:"isEmpty"`
	// Identifies if the repository is a fork.
	IsFork bool `json:"isFork"`
	// Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
	IsInOrganization bool `json:"isInOrganization"`
	// Indicates if the repository has been locked or not.
	IsLocked bool `json:"isLocked"`
	// Identifies if the repository is a mirror.
	IsMirror bool `json:"isMirror"`
	// Identifies if the repository is private or internal.
	IsPrivate bool `json:"isPrivate"`
	// Returns true if this repository has a security policy
	IsSecurityPolicyEnabled *bool `json:"isSecurityPolicyEnabled,omitempty"`
	// Identifies if the repository is a template that can be used to generate new repositories.
	IsTemplate bool `json:"isTemplate"`
	// Is this repository a user configuration repository?
	IsUserConfigurationRepository bool `json:"isUserConfigurationRepository"`
	// Returns a single issue from the current repository by number.
	Issue *Issue `json:"issue,omitempty"`
	// Returns a single issue-like object from the current repository by number.
	IssueOrPullRequest IssueOrPullRequest `json:"issueOrPullRequest,omitempty"`
	// Returns a list of issue templates associated to the repository
	IssueTemplates []*IssueTemplate `json:"issueTemplates,omitempty"`
	// A list of issues that have been opened in the repository.
	Issues *IssueConnection `json:"issues"`
	// Returns a single label by name
	Label *Label `json:"label,omitempty"`
	// A list of labels associated with the repository.
	Labels *LabelConnection `json:"labels,omitempty"`
	// A list containing a breakdown of the language composition of the repository.
	Languages *LanguageConnection `json:"languages,omitempty"`
	// Get the latest release for the repository if one exists.
	LatestRelease *Release `json:"latestRelease,omitempty"`
	// The license associated with the repository
	LicenseInfo *License `json:"licenseInfo,omitempty"`
	// The reason the repository has been locked.
	LockReason *RepositoryLockReason `json:"lockReason,omitempty"`
	// A list of Users that can be mentioned in the context of the repository.
	MentionableUsers *UserConnection `json:"mentionableUsers"`
	// Whether or not PRs are merged with a merge commit on this repository.
	MergeCommitAllowed bool `json:"mergeCommitAllowed"`
	// How the default commit message will be generated when merging a pull request.
	MergeCommitMessage MergeCommitMessage `json:"mergeCommitMessage"`
	// How the default commit title will be generated when merging a pull request.
	MergeCommitTitle MergeCommitTitle `json:"mergeCommitTitle"`
	// The merge queue for a specified branch, otherwise the default branch if not provided.
	MergeQueue *MergeQueue `json:"mergeQueue,omitempty"`
	// Returns a single milestone from the current repository by number.
	Milestone *Milestone `json:"milestone,omitempty"`
	// A list of milestones associated with the repository.
	Milestones *MilestoneConnection `json:"milestones,omitempty"`
	// The repository's original mirror URL.
	MirrorURL *string `json:"mirrorUrl,omitempty"`
	// The name of the repository.
	Name string `json:"name"`
	// The repository's name with owner.
	NameWithOwner string `json:"nameWithOwner"`
	// A Git object in the repository
	Object GitObject `json:"object,omitempty"`
	// The image used to represent this repository in Open Graph data.
	OpenGraphImageURL string `json:"openGraphImageUrl"`
	// The User owner of the repository.
	Owner RepositoryOwner `json:"owner"`
	// A list of packages under the owner.
	Packages *PackageConnection `json:"packages"`
	// The repository parent, if this is a fork.
	Parent *Repository `json:"parent,omitempty"`
	// A list of discussions that have been pinned in this repository.
	PinnedDiscussions *PinnedDiscussionConnection `json:"pinnedDiscussions"`
	// A list of pinned issues for this repository.
	PinnedIssues *PinnedIssueConnection `json:"pinnedIssues,omitempty"`
	// Returns information about the availability of certain features and limits based on the repository's billing plan.
	PlanFeatures *RepositoryPlanFeatures `json:"planFeatures"`
	// The primary language of the repository's code.
	PrimaryLanguage *Language `json:"primaryLanguage,omitempty"`
	// Find project by number.
	Project *Project `json:"project,omitempty"`
	// Finds and returns the Project according to the provided Project number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// A list of projects under the owner.
	Projects *ProjectConnection `json:"projects"`
	// The HTTP path listing the repository's projects
	ProjectsResourcePath string `json:"projectsResourcePath"`
	// The HTTP URL listing the repository's projects
	ProjectsURL string `json:"projectsUrl"`
	// List of projects linked to this repository.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// Returns a single pull request from the current repository by number.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// Returns a list of pull request templates associated to the repository
	PullRequestTemplates []*PullRequestTemplate `json:"pullRequestTemplates,omitempty"`
	// A list of pull requests that have been opened in the repository.
	PullRequests *PullRequestConnection `json:"pullRequests"`
	// Identifies the date and time when the repository was last pushed to.
	PushedAt *time.Time `json:"pushedAt,omitempty"`
	// Whether or not rebase-merging is enabled on this repository.
	RebaseMergeAllowed bool `json:"rebaseMergeAllowed"`
	// Recent projects that this user has modified in the context of the owner.
	RecentProjects *ProjectV2Connection `json:"recentProjects"`
	// Fetch a given ref from the repository
	Ref *Ref `json:"ref,omitempty"`
	// Fetch a list of refs from the repository
	Refs *RefConnection `json:"refs,omitempty"`
	// Lookup a single release given various criteria.
	Release *Release `json:"release,omitempty"`
	// List of releases which are dependent on this repository.
	Releases *ReleaseConnection `json:"releases"`
	// A list of applied repository-topic associations for this repository.
	RepositoryTopics *RepositoryTopicConnection `json:"repositoryTopics"`
	// The HTTP path for this repository
	ResourcePath string `json:"resourcePath"`
	// Returns a single ruleset from the current repository by ID.
	Ruleset *RepositoryRuleset `json:"ruleset,omitempty"`
	// A list of rulesets for this repository.
	Rulesets *RepositoryRulesetConnection `json:"rulesets,omitempty"`
	// The security policy URL.
	SecurityPolicyURL *string `json:"securityPolicyUrl,omitempty"`
	// A description of the repository, rendered to HTML without any links in it.
	ShortDescriptionHTML string `json:"shortDescriptionHTML"`
	// Whether or not squash-merging is enabled on this repository.
	SquashMergeAllowed bool `json:"squashMergeAllowed"`
	// How the default commit message will be generated when squash merging a pull request.
	SquashMergeCommitMessage SquashMergeCommitMessage `json:"squashMergeCommitMessage"`
	// How the default commit title will be generated when squash merging a pull request.
	SquashMergeCommitTitle SquashMergeCommitTitle `json:"squashMergeCommitTitle"`
	// Whether a squash merge commit can use the pull request title as default.
	SquashPrTitleUsedAsDefault bool `json:"squashPrTitleUsedAsDefault"`
	// The SSH URL to clone this repository
	SSHURL string `json:"sshUrl"`
	// Returns a count of how many stargazers there are on this object
	//
	StargazerCount int `json:"stargazerCount"`
	// A list of users who have starred this starrable.
	Stargazers *StargazerConnection `json:"stargazers"`
	// Returns a list of all submodules in this repository parsed from the .gitmodules file as of the default branch's HEAD commit.
	Submodules *SubmoduleConnection `json:"submodules"`
	// Temporary authentication token for cloning this repository.
	TempCloneToken *string `json:"tempCloneToken,omitempty"`
	// The repository from which this repository was generated, if any.
	TemplateRepository *Repository `json:"templateRepository,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this repository
	URL string `json:"url"`
	// Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
	UsesCustomOpenGraphImage bool `json:"usesCustomOpenGraphImage"`
	// Indicates whether the viewer has admin permissions on this repository.
	ViewerCanAdminister bool `json:"viewerCanAdminister"`
	// Can the current viewer create new projects on this owner.
	ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Indicates whether the viewer can update the topics of this repository.
	ViewerCanUpdateTopics bool `json:"viewerCanUpdateTopics"`
	// The last commit email for the viewer.
	ViewerDefaultCommitEmail *string `json:"viewerDefaultCommitEmail,omitempty"`
	// The last used merge method by the viewer or the default for the repository.
	ViewerDefaultMergeMethod PullRequestMergeMethod `json:"viewerDefaultMergeMethod"`
	// Returns a boolean indicating whether the viewing user has starred this starrable.
	ViewerHasStarred bool `json:"viewerHasStarred"`
	// The users permission level on the repository. Will return null if authenticated as an GitHub App.
	ViewerPermission *RepositoryPermission `json:"viewerPermission,omitempty"`
	// A list of emails this viewer can commit with.
	ViewerPossibleCommitEmails []string `json:"viewerPossibleCommitEmails,omitempty"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
	// Indicates the repository's visibility level.
	Visibility RepositoryVisibility `json:"visibility"`
	// Returns a single vulnerability alert from the current repository by number.
	VulnerabilityAlert *RepositoryVulnerabilityAlert `json:"vulnerabilityAlert,omitempty"`
	// A list of vulnerability alerts that are on this repository.
	VulnerabilityAlerts *RepositoryVulnerabilityAlertConnection `json:"vulnerabilityAlerts,omitempty"`
	// A list of users watching the repository.
	Watchers *UserConnection `json:"watchers"`
	// Whether contributors are required to sign off on web-based commits in this repository.
	WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"`
}

A repository contains the content for a project.

func (Repository) GetArchivedAt

func (this Repository) GetArchivedAt() *time.Time

Identifies the date and time when the repository was archived.

func (Repository) GetCreatedAt

func (this Repository) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (Repository) GetDescription

func (this Repository) GetDescription() *string

The description of the repository.

func (Repository) GetDescriptionHTML

func (this Repository) GetDescriptionHTML() string

The description of the repository rendered to HTML.

func (Repository) GetForkCount

func (this Repository) GetForkCount() int

Returns how many forks there are of this repository in the whole network.

func (Repository) GetHasDiscussionsEnabled

func (this Repository) GetHasDiscussionsEnabled() bool

Indicates if the repository has the Discussions feature enabled.

func (Repository) GetHasIssuesEnabled

func (this Repository) GetHasIssuesEnabled() bool

Indicates if the repository has issues feature enabled.

func (Repository) GetHasProjectsEnabled

func (this Repository) GetHasProjectsEnabled() bool

Indicates if the repository has the Projects feature enabled.

func (Repository) GetHasSponsorshipsEnabled

func (this Repository) GetHasSponsorshipsEnabled() bool

Indicates if the repository displays a Sponsor button for financial contributions.

func (Repository) GetHasWikiEnabled

func (this Repository) GetHasWikiEnabled() bool

Indicates if the repository has wiki feature enabled.

func (Repository) GetHomepageURL

func (this Repository) GetHomepageURL() *string

The repository's URL.

func (Repository) GetID

func (this Repository) GetID() string

ID of the object.

func (Repository) GetIsArchived

func (this Repository) GetIsArchived() bool

Indicates if the repository is unmaintained.

func (Repository) GetIsFork

func (this Repository) GetIsFork() bool

Identifies if the repository is a fork.

func (Repository) GetIsInOrganization

func (this Repository) GetIsInOrganization() bool

Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.

func (Repository) GetIsLocked

func (this Repository) GetIsLocked() bool

Indicates if the repository has been locked or not.

func (Repository) GetIsMirror

func (this Repository) GetIsMirror() bool

Identifies if the repository is a mirror.

func (Repository) GetIsPrivate

func (this Repository) GetIsPrivate() bool

Identifies if the repository is private or internal.

func (Repository) GetIsTemplate

func (this Repository) GetIsTemplate() bool

Identifies if the repository is a template that can be used to generate new repositories.

func (Repository) GetLicenseInfo

func (this Repository) GetLicenseInfo() *License

The license associated with the repository

func (Repository) GetLockReason

func (this Repository) GetLockReason() *RepositoryLockReason

The reason the repository has been locked.

func (Repository) GetMirrorURL

func (this Repository) GetMirrorURL() *string

The repository's original mirror URL.

func (Repository) GetName

func (this Repository) GetName() string

The name of the repository.

func (Repository) GetNameWithOwner

func (this Repository) GetNameWithOwner() string

The repository's name with owner.

func (Repository) GetOpenGraphImageURL

func (this Repository) GetOpenGraphImageURL() string

The image used to represent this repository in Open Graph data.

func (Repository) GetOwner

func (this Repository) GetOwner() RepositoryOwner

The User owner of the repository.

func (Repository) GetPackages

func (this Repository) GetPackages() *PackageConnection

A list of packages under the owner.

func (Repository) GetProject

func (this Repository) GetProject() *Project

Find project by number.

func (Repository) GetProjects

func (this Repository) GetProjects() *ProjectConnection

A list of projects under the owner.

func (Repository) GetProjectsResourcePath

func (this Repository) GetProjectsResourcePath() string

The HTTP path listing owners projects

func (Repository) GetProjectsURL

func (this Repository) GetProjectsURL() string

The HTTP URL listing owners projects

func (Repository) GetPushedAt

func (this Repository) GetPushedAt() *time.Time

Identifies the date and time when the repository was last pushed to.

func (Repository) GetRecentProjects

func (this Repository) GetRecentProjects() *ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

func (Repository) GetResourcePath

func (this Repository) GetResourcePath() string

The HTTP path for this repository

func (Repository) GetShortDescriptionHTML

func (this Repository) GetShortDescriptionHTML() string

A description of the repository, rendered to HTML without any links in it.

func (Repository) GetStargazerCount

func (this Repository) GetStargazerCount() int

Returns a count of how many stargazers there are on this object

func (Repository) GetStargazers

func (this Repository) GetStargazers() *StargazerConnection

A list of users who have starred this starrable.

func (Repository) GetURL

func (this Repository) GetURL() string

The HTTP URL for this repository

func (Repository) GetUpdatedAt

func (this Repository) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (Repository) GetUsesCustomOpenGraphImage

func (this Repository) GetUsesCustomOpenGraphImage() bool

Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.

func (Repository) GetViewerCanCreateProjects

func (this Repository) GetViewerCanCreateProjects() bool

Can the current viewer create new projects on this owner.

func (Repository) GetViewerCanSubscribe

func (this Repository) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (Repository) GetViewerHasStarred

func (this Repository) GetViewerHasStarred() bool

Returns a boolean indicating whether the viewing user has starred this starrable.

func (Repository) GetViewerSubscription

func (this Repository) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (Repository) GetVisibility

func (this Repository) GetVisibility() RepositoryVisibility

Indicates the repository's visibility level.

func (Repository) IsNode

func (Repository) IsNode()

func (Repository) IsPackageOwner

func (Repository) IsPackageOwner()

func (Repository) IsPermissionGranter

func (Repository) IsPermissionGranter()

func (Repository) IsPinnableItem

func (Repository) IsPinnableItem()

func (Repository) IsProjectOwner

func (Repository) IsProjectOwner()

func (Repository) IsProjectV2Recent

func (Repository) IsProjectV2Recent()

func (Repository) IsRepositoryInfo

func (Repository) IsRepositoryInfo()

func (Repository) IsRuleSource

func (Repository) IsRuleSource()

func (Repository) IsSearchResultItem

func (Repository) IsSearchResultItem()

func (Repository) IsSponsorsListingFeatureableItem

func (Repository) IsSponsorsListingFeatureableItem()

func (Repository) IsStarrable

func (Repository) IsStarrable()

func (Repository) IsSubscribable

func (Repository) IsSubscribable()

func (Repository) IsUniformResourceLocatable

func (Repository) IsUniformResourceLocatable()

func (Repository) IsUserListItems

func (Repository) IsUserListItems()

type RepositoryAffiliation

type RepositoryAffiliation string

The affiliation of a user to a repository

const (
	// Repositories that are owned by the authenticated user.
	RepositoryAffiliationOwner RepositoryAffiliation = "OWNER"
	// Repositories that the user has been added to as a collaborator.
	RepositoryAffiliationCollaborator RepositoryAffiliation = "COLLABORATOR"
	// Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
	RepositoryAffiliationOrganizationMember RepositoryAffiliation = "ORGANIZATION_MEMBER"
)

func (RepositoryAffiliation) IsValid

func (e RepositoryAffiliation) IsValid() bool

func (RepositoryAffiliation) MarshalGQL

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

func (RepositoryAffiliation) String

func (e RepositoryAffiliation) String() string

func (*RepositoryAffiliation) UnmarshalGQL

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

type RepositoryAuditEntryData

type RepositoryAuditEntryData interface {
	IsRepositoryAuditEntryData()
	// The repository associated with the action
	GetRepository() *Repository
	// The name of the repository
	GetRepositoryName() *string
	// The HTTP path for the repository
	GetRepositoryResourcePath() *string
	// The HTTP URL for the repository
	GetRepositoryURL() *string
}

Metadata for an audit entry with action repo.*

type RepositoryCodeowners

type RepositoryCodeowners struct {
	// Any problems that were encountered while parsing the `CODEOWNERS` file.
	Errors []*RepositoryCodeownersError `json:"errors"`
}

Information extracted from a repository's `CODEOWNERS` file.

type RepositoryCodeownersError

type RepositoryCodeownersError struct {
	// The column number where the error occurs.
	Column int `json:"column"`
	// A short string describing the type of error.
	Kind string `json:"kind"`
	// The line number where the error occurs.
	Line int `json:"line"`
	// A complete description of the error, combining information from other fields.
	Message string `json:"message"`
	// The path to the file when the error occurs.
	Path string `json:"path"`
	// The content of the line where the error occurs.
	Source string `json:"source"`
	// A suggestion of how to fix the error.
	Suggestion *string `json:"suggestion,omitempty"`
}

An error in a `CODEOWNERS` file.

type RepositoryCollaboratorConnection

type RepositoryCollaboratorConnection struct {
	// A list of edges.
	Edges []*RepositoryCollaboratorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type RepositoryCollaboratorEdge

type RepositoryCollaboratorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	Node   *User  `json:"node"`
	// The permission the user has on the repository.
	Permission RepositoryPermission `json:"permission"`
	// A list of sources for the user's access to the repository.
	PermissionSources []*PermissionSource `json:"permissionSources,omitempty"`
}

Represents a user who is a collaborator of a repository.

type RepositoryConnection

type RepositoryConnection struct {
	// A list of edges.
	Edges []*RepositoryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Repository `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// The total size in kilobytes of all repositories in the connection. Value will never be larger than max 32-bit signed integer.
	TotalDiskUsage int `json:"totalDiskUsage"`
}

A list of repositories owned by the subject.

type RepositoryContactLink struct {
	// The contact link purpose.
	About string `json:"about"`
	// The contact link name.
	Name string `json:"name"`
	// The contact link URL.
	URL string `json:"url"`
}

A repository contact link.

type RepositoryContributionType

type RepositoryContributionType string

The reason a repository is listed as 'contributed'.

const (
	// Created a commit
	RepositoryContributionTypeCommit RepositoryContributionType = "COMMIT"
	// Created an issue
	RepositoryContributionTypeIssue RepositoryContributionType = "ISSUE"
	// Created a pull request
	RepositoryContributionTypePullRequest RepositoryContributionType = "PULL_REQUEST"
	// Created the repository
	RepositoryContributionTypeRepository RepositoryContributionType = "REPOSITORY"
	// Reviewed a pull request
	RepositoryContributionTypePullRequestReview RepositoryContributionType = "PULL_REQUEST_REVIEW"
)

func (RepositoryContributionType) IsValid

func (e RepositoryContributionType) IsValid() bool

func (RepositoryContributionType) MarshalGQL

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

func (RepositoryContributionType) String

func (*RepositoryContributionType) UnmarshalGQL

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

type RepositoryDiscussionAuthor

type RepositoryDiscussionAuthor interface {
	IsRepositoryDiscussionAuthor()
	// Discussions this user has started.
	GetRepositoryDiscussions() *DiscussionConnection
}

Represents an author of discussions in repositories.

type RepositoryDiscussionCommentAuthor

type RepositoryDiscussionCommentAuthor interface {
	IsRepositoryDiscussionCommentAuthor()
	// Discussion comments this user has authored.
	GetRepositoryDiscussionComments() *DiscussionCommentConnection
}

Represents an author of discussion comments in repositories.

type RepositoryEdge

type RepositoryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Repository `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryIDConditionTarget

type RepositoryIDConditionTarget struct {
	// One of these repo IDs must match the repo.
	RepositoryIds []string `json:"repositoryIds"`
}

Parameters to be used for the repository_id condition

type RepositoryIDConditionTargetInput

type RepositoryIDConditionTargetInput struct {
	// One of these repo IDs must match the repo.
	RepositoryIds []string `json:"repositoryIds"`
}

Parameters to be used for the repository_id condition

type RepositoryInfo

type RepositoryInfo interface {
	IsRepositoryInfo()
	// Identifies the date and time when the repository was archived.
	GetArchivedAt() *time.Time
	// Identifies the date and time when the object was created.
	GetCreatedAt() time.Time
	// The description of the repository.
	GetDescription() *string
	// The description of the repository rendered to HTML.
	GetDescriptionHTML() string
	// Returns how many forks there are of this repository in the whole network.
	GetForkCount() int
	// Indicates if the repository has the Discussions feature enabled.
	GetHasDiscussionsEnabled() bool
	// Indicates if the repository has issues feature enabled.
	GetHasIssuesEnabled() bool
	// Indicates if the repository has the Projects feature enabled.
	GetHasProjectsEnabled() bool
	// Indicates if the repository displays a Sponsor button for financial contributions.
	GetHasSponsorshipsEnabled() bool
	// Indicates if the repository has wiki feature enabled.
	GetHasWikiEnabled() bool
	// The repository's URL.
	GetHomepageURL() *string
	// Indicates if the repository is unmaintained.
	GetIsArchived() bool
	// Identifies if the repository is a fork.
	GetIsFork() bool
	// Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
	GetIsInOrganization() bool
	// Indicates if the repository has been locked or not.
	GetIsLocked() bool
	// Identifies if the repository is a mirror.
	GetIsMirror() bool
	// Identifies if the repository is private or internal.
	GetIsPrivate() bool
	// Identifies if the repository is a template that can be used to generate new repositories.
	GetIsTemplate() bool
	// The license associated with the repository
	GetLicenseInfo() *License
	// The reason the repository has been locked.
	GetLockReason() *RepositoryLockReason
	// The repository's original mirror URL.
	GetMirrorURL() *string
	// The name of the repository.
	GetName() string
	// The repository's name with owner.
	GetNameWithOwner() string
	// The image used to represent this repository in Open Graph data.
	GetOpenGraphImageURL() string
	// The User owner of the repository.
	GetOwner() RepositoryOwner
	// Identifies the date and time when the repository was last pushed to.
	GetPushedAt() *time.Time
	// The HTTP path for this repository
	GetResourcePath() string
	// A description of the repository, rendered to HTML without any links in it.
	GetShortDescriptionHTML() string
	// Identifies the date and time when the object was last updated.
	GetUpdatedAt() time.Time
	// The HTTP URL for this repository
	GetURL() string
	// Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
	GetUsesCustomOpenGraphImage() bool
	// Indicates the repository's visibility level.
	GetVisibility() RepositoryVisibility
}

A subset of repository info.

type RepositoryInteractionAbility

type RepositoryInteractionAbility struct {
	// The time the currently active limit expires.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	// The current limit that is enabled on this object.
	Limit RepositoryInteractionLimit `json:"limit"`
	// The origin of the currently active interaction limit.
	Origin RepositoryInteractionLimitOrigin `json:"origin"`
}

Repository interaction limit that applies to this object.

type RepositoryInteractionLimit

type RepositoryInteractionLimit string

A repository interaction limit.

const (
	// Users that have recently created their account will be unable to interact with the repository.
	RepositoryInteractionLimitExistingUsers RepositoryInteractionLimit = "EXISTING_USERS"
	// Users that have not previously committed to a repository’s default branch will be unable to interact with the repository.
	RepositoryInteractionLimitContributorsOnly RepositoryInteractionLimit = "CONTRIBUTORS_ONLY"
	// Users that are not collaborators will not be able to interact with the repository.
	RepositoryInteractionLimitCollaboratorsOnly RepositoryInteractionLimit = "COLLABORATORS_ONLY"
	// No interaction limits are enabled.
	RepositoryInteractionLimitNoLimit RepositoryInteractionLimit = "NO_LIMIT"
)

func (RepositoryInteractionLimit) IsValid

func (e RepositoryInteractionLimit) IsValid() bool

func (RepositoryInteractionLimit) MarshalGQL

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

func (RepositoryInteractionLimit) String

func (*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 RepositoryInvitation

type RepositoryInvitation struct {
	// The email address that received the invitation.
	Email *string `json:"email,omitempty"`
	// The Node ID of the RepositoryInvitation object
	ID string `json:"id"`
	// The user who received the invitation.
	Invitee *User `json:"invitee,omitempty"`
	// The user who created the invitation.
	Inviter *User `json:"inviter"`
	// The permalink for this repository invitation.
	Permalink string `json:"permalink"`
	// The permission granted on this repository by this invitation.
	Permission RepositoryPermission `json:"permission"`
	// The Repository the user is invited to.
	Repository RepositoryInfo `json:"repository,omitempty"`
}

An invitation for a user to be added to a repository.

func (RepositoryInvitation) GetID

func (this RepositoryInvitation) GetID() string

ID of the object.

func (RepositoryInvitation) IsNode

func (RepositoryInvitation) IsNode()

type RepositoryInvitationConnection

type RepositoryInvitationConnection struct {
	// A list of edges.
	Edges []*RepositoryInvitationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryInvitation `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of repository invitations.

type RepositoryInvitationEdge

type RepositoryInvitationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryInvitation `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryInvitationOrder

type RepositoryInvitationOrder struct {
	// The field to order repository invitations by.
	Field RepositoryInvitationOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for repository invitation connections.

type RepositoryInvitationOrderField

type RepositoryInvitationOrderField string

Properties by which repository invitation connections can be ordered.

const (
	// Order repository invitations by creation time
	RepositoryInvitationOrderFieldCreatedAt RepositoryInvitationOrderField = "CREATED_AT"
)

func (RepositoryInvitationOrderField) IsValid

func (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 RepositoryMigration

type RepositoryMigration struct {
	// The migration flag to continue on error.
	ContinueOnError bool `json:"continueOnError"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *string `json:"databaseId,omitempty"`
	// The reason the migration failed.
	FailureReason *string `json:"failureReason,omitempty"`
	// The Node ID of the RepositoryMigration object
	ID string `json:"id"`
	// The URL for the migration log (expires 1 day after migration completes).
	MigrationLogURL *string `json:"migrationLogUrl,omitempty"`
	// The migration source.
	MigrationSource *MigrationSource `json:"migrationSource"`
	// The target repository name.
	RepositoryName string `json:"repositoryName"`
	// The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.
	SourceURL string `json:"sourceUrl"`
	// The migration state.
	State MigrationState `json:"state"`
	// The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer).
	WarningsCount int `json:"warningsCount"`
}

A GitHub Enterprise Importer (GEI) repository migration.

func (RepositoryMigration) GetContinueOnError

func (this RepositoryMigration) GetContinueOnError() bool

The migration flag to continue on error.

func (RepositoryMigration) GetCreatedAt

func (this RepositoryMigration) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (RepositoryMigration) GetDatabaseID

func (this RepositoryMigration) GetDatabaseID() *string

Identifies the primary key from the database.

func (RepositoryMigration) GetFailureReason

func (this RepositoryMigration) GetFailureReason() *string

The reason the migration failed.

func (RepositoryMigration) GetID

func (this RepositoryMigration) GetID() string

The Node ID of the Migration object

func (RepositoryMigration) GetMigrationLogURL

func (this RepositoryMigration) GetMigrationLogURL() *string

The URL for the migration log (expires 1 day after migration completes).

func (RepositoryMigration) GetMigrationSource

func (this RepositoryMigration) GetMigrationSource() *MigrationSource

The migration source.

func (RepositoryMigration) GetRepositoryName

func (this RepositoryMigration) GetRepositoryName() string

The target repository name.

func (RepositoryMigration) GetSourceURL

func (this RepositoryMigration) GetSourceURL() string

The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`.

func (RepositoryMigration) GetState

func (this RepositoryMigration) GetState() MigrationState

The migration state.

func (RepositoryMigration) GetWarningsCount

func (this RepositoryMigration) GetWarningsCount() int

The number of warnings encountered for this migration. To review the warnings, check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer).

func (RepositoryMigration) IsMigration

func (RepositoryMigration) IsMigration()

func (RepositoryMigration) IsNode

func (RepositoryMigration) IsNode()

type RepositoryMigrationConnection

type RepositoryMigrationConnection struct {
	// A list of edges.
	Edges []*RepositoryMigrationEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryMigration `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of migrations.

type RepositoryMigrationEdge

type RepositoryMigrationEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryMigration `json:"node,omitempty"`
}

Represents a repository migration.

type RepositoryMigrationOrder

type RepositoryMigrationOrder struct {
	// The field to order repository migrations by.
	Field RepositoryMigrationOrderField `json:"field"`
	// The ordering direction.
	Direction RepositoryMigrationOrderDirection `json:"direction"`
}

Ordering options for repository migrations.

type RepositoryMigrationOrderDirection

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 RepositoryNameConditionTarget

type RepositoryNameConditionTarget struct {
	// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []string `json:"exclude"`
	// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Include []string `json:"include"`
	// Target changes that match these patterns will be prevented except by those with bypass permissions.
	Protected bool `json:"protected"`
}

Parameters to be used for the repository_name condition

type RepositoryNameConditionTargetInput

type RepositoryNameConditionTargetInput struct {
	// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []string `json:"exclude"`
	// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Include []string `json:"include"`
	// Target changes that match these patterns will be prevented except by those with bypass permissions.
	Protected *bool `json:"protected,omitempty"`
}

Parameters to be used for the repository_name condition

type RepositoryNode

type RepositoryNode interface {
	IsRepositoryNode()
	// The repository associated with this node.
	GetRepository() *Repository
}

Represents a object that belongs to a repository.

type RepositoryOrder

type RepositoryOrder struct {
	// The field to order repositories by.
	Field RepositoryOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for repository connections

type RepositoryOrderField

type RepositoryOrderField string

Properties by which repository connections can be ordered.

const (
	// Order repositories by creation time
	RepositoryOrderFieldCreatedAt RepositoryOrderField = "CREATED_AT"
	// Order repositories by update time
	RepositoryOrderFieldUpdatedAt RepositoryOrderField = "UPDATED_AT"
	// Order repositories by push time
	RepositoryOrderFieldPushedAt RepositoryOrderField = "PUSHED_AT"
	// Order repositories by name
	RepositoryOrderFieldName RepositoryOrderField = "NAME"
	// Order repositories by number of stargazers
	RepositoryOrderFieldStargazers RepositoryOrderField = "STARGAZERS"
)

func (RepositoryOrderField) IsValid

func (e RepositoryOrderField) IsValid() bool

func (RepositoryOrderField) MarshalGQL

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

func (RepositoryOrderField) String

func (e RepositoryOrderField) String() string

func (*RepositoryOrderField) UnmarshalGQL

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

type RepositoryOwner

type RepositoryOwner interface {
	IsRepositoryOwner()
	// A URL pointing to the owner's public avatar.
	GetAvatarURL() string
	// The Node ID of the RepositoryOwner object
	GetID() string
	// The username used to login.
	GetLogin() string
	// A list of repositories that the user owns.
	GetRepositories() *RepositoryConnection
	// Find Repository.
	GetRepository() *Repository
	// The HTTP URL for the owner.
	GetResourcePath() string
	// The HTTP URL for the owner.
	GetURL() string
}

Represents an owner of a Repository.

type RepositoryPermission

type RepositoryPermission string

The access level to a repository

const (
	// Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators
	RepositoryPermissionAdmin RepositoryPermission = "ADMIN"
	// Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings
	RepositoryPermissionMaintain RepositoryPermission = "MAINTAIN"
	// Can read, clone, and push to this repository. Can also manage issues and pull requests
	RepositoryPermissionWrite RepositoryPermission = "WRITE"
	// Can read and clone this repository. Can also manage issues and pull requests
	RepositoryPermissionTriage RepositoryPermission = "TRIAGE"
	// Can read and clone this repository. Can also open and comment on issues and pull requests
	RepositoryPermissionRead RepositoryPermission = "READ"
)

func (RepositoryPermission) IsValid

func (e RepositoryPermission) IsValid() bool

func (RepositoryPermission) MarshalGQL

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

func (RepositoryPermission) String

func (e RepositoryPermission) String() string

func (*RepositoryPermission) UnmarshalGQL

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

type RepositoryPlanFeatures added in v0.20.0

type RepositoryPlanFeatures struct {
	// Whether reviews can be automatically requested and enforced with a CODEOWNERS file
	Codeowners bool `json:"codeowners"`
	// Whether pull requests can be created as or converted to draft
	DraftPullRequests bool `json:"draftPullRequests"`
	// Maximum number of users that can be assigned to an issue or pull request
	MaximumAssignees int `json:"maximumAssignees"`
	// Maximum number of manually-requested reviews on a pull request
	MaximumManualReviewRequests int `json:"maximumManualReviewRequests"`
	// Whether teams can be requested to review pull requests
	TeamReviewRequests bool `json:"teamReviewRequests"`
}

Information about the availability of features and limits for a repository based on its billing plan.

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 RepositoryPropertyConditionTarget

type RepositoryPropertyConditionTarget struct {
	// Array of repository properties that must not match.
	Exclude []*PropertyTargetDefinition `json:"exclude"`
	// Array of repository properties that must match
	Include []*PropertyTargetDefinition `json:"include"`
}

Parameters to be used for the repository_property condition

type RepositoryPropertyConditionTargetInput

type RepositoryPropertyConditionTargetInput struct {
	// Array of repository properties that must not match.
	Exclude []*PropertyTargetDefinitionInput `json:"exclude"`
	// Array of repository properties that must match
	Include []*PropertyTargetDefinitionInput `json:"include"`
}

Parameters to be used for the repository_property condition

type RepositoryRule

type RepositoryRule struct {
	// The Node ID of the RepositoryRule object
	ID string `json:"id"`
	// The parameters for this rule.
	Parameters RuleParameters `json:"parameters,omitempty"`
	// The repository ruleset associated with this rule configuration
	RepositoryRuleset *RepositoryRuleset `json:"repositoryRuleset,omitempty"`
	// The type of rule.
	Type RepositoryRuleType `json:"type"`
}

A repository rule.

func (RepositoryRule) GetID

func (this RepositoryRule) GetID() string

ID of the object.

func (RepositoryRule) IsNode

func (RepositoryRule) IsNode()

type RepositoryRuleConditions

type RepositoryRuleConditions struct {
	// Configuration for the ref_name condition
	RefName *RefNameConditionTarget `json:"refName,omitempty"`
	// Configuration for the repository_id condition
	RepositoryID *RepositoryIDConditionTarget `json:"repositoryId,omitempty"`
	// Configuration for the repository_name condition
	RepositoryName *RepositoryNameConditionTarget `json:"repositoryName,omitempty"`
	// Configuration for the repository_property condition
	RepositoryProperty *RepositoryPropertyConditionTarget `json:"repositoryProperty,omitempty"`
}

Set of conditions that determine if a ruleset will evaluate

type RepositoryRuleConditionsInput

type RepositoryRuleConditionsInput struct {
	// Configuration for the ref_name condition
	RefName *RefNameConditionTargetInput `json:"refName,omitempty"`
	// Configuration for the repository_name condition
	RepositoryName *RepositoryNameConditionTargetInput `json:"repositoryName,omitempty"`
	// Configuration for the repository_id condition
	RepositoryID *RepositoryIDConditionTargetInput `json:"repositoryId,omitempty"`
	// Configuration for the repository_property condition
	RepositoryProperty *RepositoryPropertyConditionTargetInput `json:"repositoryProperty,omitempty"`
}

Specifies the conditions required for a ruleset to evaluate

type RepositoryRuleConnection

type RepositoryRuleConnection struct {
	// A list of edges.
	Edges []*RepositoryRuleEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryRule `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RepositoryRule.

type RepositoryRuleEdge

type RepositoryRuleEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryRule `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryRuleInput

type RepositoryRuleInput struct {
	// Optional ID of this rule when updating
	ID *string `json:"id,omitempty"`
	// The type of rule to create.
	Type RepositoryRuleType `json:"type"`
	// The parameters for the rule.
	Parameters *RuleParametersInput `json:"parameters,omitempty"`
}

Specifies the attributes for a new or updated rule.

type RepositoryRuleOrder

type RepositoryRuleOrder struct {
	// The field to order repository rules by.
	Field RepositoryRuleOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for repository rules.

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"
	// 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"
)

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 RepositoryRuleset

type RepositoryRuleset struct {
	// The actors that can bypass this ruleset
	BypassActors *RepositoryRulesetBypassActorConnection `json:"bypassActors,omitempty"`
	// The set of conditions that must evaluate to true for this ruleset to apply
	Conditions *RepositoryRuleConditions `json:"conditions"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The enforcement level of this ruleset
	Enforcement RuleEnforcement `json:"enforcement"`
	// The Node ID of the RepositoryRuleset object
	ID string `json:"id"`
	// Name of the ruleset.
	Name string `json:"name"`
	// List of rules.
	Rules *RepositoryRuleConnection `json:"rules,omitempty"`
	// Source of ruleset.
	Source RuleSource `json:"source"`
	// Target of the ruleset.
	Target *RepositoryRulesetTarget `json:"target,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A repository ruleset.

func (RepositoryRuleset) GetID

func (this RepositoryRuleset) GetID() string

ID of the object.

func (RepositoryRuleset) IsNode

func (RepositoryRuleset) IsNode()

type RepositoryRulesetBypassActor

type RepositoryRulesetBypassActor struct {
	// The actor that can bypass rules.
	Actor BypassActor `json:"actor,omitempty"`
	// The mode for the bypass actor
	BypassMode *RepositoryRulesetBypassActorBypassMode `json:"bypassMode,omitempty"`
	// The Node ID of the RepositoryRulesetBypassActor object
	ID string `json:"id"`
	// This actor represents the ability for an organization owner to bypass
	OrganizationAdmin bool `json:"organizationAdmin"`
	// If the actor is a repository role, the repository role's ID that can bypass
	RepositoryRoleDatabaseID *int `json:"repositoryRoleDatabaseId,omitempty"`
	// If the actor is a repository role, the repository role's name that can bypass
	RepositoryRoleName *string `json:"repositoryRoleName,omitempty"`
	// Identifies the ruleset associated with the allowed actor
	RepositoryRuleset *RepositoryRuleset `json:"repositoryRuleset,omitempty"`
}

A team or app that has the ability to bypass a rules defined on a ruleset

func (RepositoryRulesetBypassActor) GetID

func (this RepositoryRulesetBypassActor) GetID() string

ID of the object.

func (RepositoryRulesetBypassActor) IsNode

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 RepositoryRulesetBypassActorConnection

type RepositoryRulesetBypassActorConnection struct {
	// A list of edges.
	Edges []*RepositoryRulesetBypassActorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryRulesetBypassActor `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RepositoryRulesetBypassActor.

type RepositoryRulesetBypassActorEdge

type RepositoryRulesetBypassActorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryRulesetBypassActor `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryRulesetBypassActorInput

type RepositoryRulesetBypassActorInput struct {
	// For Team and Integration bypasses, the Team or Integration ID
	ActorID *string `json:"actorId,omitempty"`
	// For role bypasses, the role database ID
	RepositoryRoleDatabaseID *int `json:"repositoryRoleDatabaseId,omitempty"`
	// For organization owner bypasses, true
	OrganizationAdmin *bool `json:"organizationAdmin,omitempty"`
	// The bypass mode for this actor.
	BypassMode RepositoryRulesetBypassActorBypassMode `json:"bypassMode"`
}

Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified.

type RepositoryRulesetConnection

type RepositoryRulesetConnection struct {
	// A list of edges.
	Edges []*RepositoryRulesetEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryRuleset `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RepositoryRuleset.

type RepositoryRulesetEdge

type RepositoryRulesetEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryRuleset `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryRulesetTarget

type RepositoryRulesetTarget string

The targets supported for rulesets

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

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 RepositoryTopic

type RepositoryTopic struct {
	// The Node ID of the RepositoryTopic object
	ID string `json:"id"`
	// The HTTP path for this repository-topic.
	ResourcePath string `json:"resourcePath"`
	// The topic.
	Topic *Topic `json:"topic"`
	// The HTTP URL for this repository-topic.
	URL string `json:"url"`
}

A repository-topic connects a repository to a topic.

func (RepositoryTopic) GetID

func (this RepositoryTopic) GetID() string

ID of the object.

func (RepositoryTopic) GetResourcePath

func (this RepositoryTopic) GetResourcePath() string

The HTML path to this resource.

func (RepositoryTopic) GetURL

func (this RepositoryTopic) GetURL() string

The URL to this resource.

func (RepositoryTopic) IsNode

func (RepositoryTopic) IsNode()

func (RepositoryTopic) IsUniformResourceLocatable

func (RepositoryTopic) IsUniformResourceLocatable()

type RepositoryTopicConnection

type RepositoryTopicConnection struct {
	// A list of edges.
	Edges []*RepositoryTopicEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryTopic `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RepositoryTopic.

type RepositoryTopicEdge

type RepositoryTopicEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryTopic `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryVisibility

type RepositoryVisibility string

The repository's visibility level.

const (
	// The repository is visible only to those with explicit access.
	RepositoryVisibilityPrivate RepositoryVisibility = "PRIVATE"
	// The repository is visible to everyone.
	RepositoryVisibilityPublic RepositoryVisibility = "PUBLIC"
	// The repository is visible only to users in the same business.
	RepositoryVisibilityInternal RepositoryVisibility = "INTERNAL"
)

func (RepositoryVisibility) IsValid

func (e RepositoryVisibility) IsValid() bool

func (RepositoryVisibility) MarshalGQL

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

func (RepositoryVisibility) String

func (e RepositoryVisibility) String() string

func (*RepositoryVisibility) UnmarshalGQL

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

type RepositoryVisibilityChangeDisableAuditEntry

type RepositoryVisibilityChangeDisableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repository_visibility_change.disable event.

func (RepositoryVisibilityChangeDisableAuditEntry) GetAction

The action name

func (RepositoryVisibilityChangeDisableAuditEntry) GetActor

The user who initiated the action

func (RepositoryVisibilityChangeDisableAuditEntry) GetActorIP

The IP address of the actor

func (RepositoryVisibilityChangeDisableAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepositoryVisibilityChangeDisableAuditEntry) GetActorLogin

The username of the user who initiated the action

func (RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath

func (this RepositoryVisibilityChangeDisableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepositoryVisibilityChangeDisableAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepositoryVisibilityChangeDisableAuditEntry) GetCreatedAt

The time the action was initiated

func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath

func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug

func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseURL

func (this RepositoryVisibilityChangeDisableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (RepositoryVisibilityChangeDisableAuditEntry) GetID

ID of the object.

func (RepositoryVisibilityChangeDisableAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName

func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath

func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationURL

func (this RepositoryVisibilityChangeDisableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepositoryVisibilityChangeDisableAuditEntry) GetUser

The user affected by the action

func (RepositoryVisibilityChangeDisableAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath

func (this RepositoryVisibilityChangeDisableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepositoryVisibilityChangeDisableAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepositoryVisibilityChangeDisableAuditEntry) IsAuditEntry

func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData

func (RepositoryVisibilityChangeDisableAuditEntry) IsEnterpriseAuditEntryData()

func (RepositoryVisibilityChangeDisableAuditEntry) IsNode

func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry

func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntry()

func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData

func (RepositoryVisibilityChangeDisableAuditEntry) IsOrganizationAuditEntryData()

type RepositoryVisibilityChangeEnableAuditEntry

type RepositoryVisibilityChangeEnableAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The HTTP path for this enterprise.
	EnterpriseResourcePath *string `json:"enterpriseResourcePath,omitempty"`
	// The slug of the enterprise.
	EnterpriseSlug *string `json:"enterpriseSlug,omitempty"`
	// The HTTP URL for this enterprise.
	EnterpriseURL *string `json:"enterpriseUrl,omitempty"`
	// The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object
	ID string `json:"id"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a repository_visibility_change.enable event.

func (RepositoryVisibilityChangeEnableAuditEntry) GetAction

The action name

func (RepositoryVisibilityChangeEnableAuditEntry) GetActor

The user who initiated the action

func (RepositoryVisibilityChangeEnableAuditEntry) GetActorIP

The IP address of the actor

func (RepositoryVisibilityChangeEnableAuditEntry) GetActorLocation

A readable representation of the actor's location

func (RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin

func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath

func (this RepositoryVisibilityChangeEnableAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (RepositoryVisibilityChangeEnableAuditEntry) GetActorURL

The HTTP URL for the actor.

func (RepositoryVisibilityChangeEnableAuditEntry) GetCreatedAt

The time the action was initiated

func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath

func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseResourcePath() *string

The HTTP path for this enterprise.

func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug

func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseSlug() *string

The slug of the enterprise.

func (RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseURL

func (this RepositoryVisibilityChangeEnableAuditEntry) GetEnterpriseURL() *string

The HTTP URL for this enterprise.

func (RepositoryVisibilityChangeEnableAuditEntry) GetID

ID of the object.

func (RepositoryVisibilityChangeEnableAuditEntry) GetOperationType

The corresponding operation type for the action

func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganization

The Organization associated with the Audit Entry.

func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName

func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath

func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationURL

func (this RepositoryVisibilityChangeEnableAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (RepositoryVisibilityChangeEnableAuditEntry) GetUser

The user affected by the action

func (RepositoryVisibilityChangeEnableAuditEntry) GetUserLogin

For actions involving two users, the actor is the initiator and the user is the affected user.

func (RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath

func (this RepositoryVisibilityChangeEnableAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (RepositoryVisibilityChangeEnableAuditEntry) GetUserURL

The HTTP URL for the user.

func (RepositoryVisibilityChangeEnableAuditEntry) IsAuditEntry

func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData

func (RepositoryVisibilityChangeEnableAuditEntry) IsEnterpriseAuditEntryData()

func (RepositoryVisibilityChangeEnableAuditEntry) IsNode

func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry

func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntry()

func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData

func (RepositoryVisibilityChangeEnableAuditEntry) IsOrganizationAuditEntryData()

type RepositoryVulnerabilityAlert

type RepositoryVulnerabilityAlert struct {
	// When was the alert auto-dismissed?
	AutoDismissedAt *time.Time `json:"autoDismissedAt,omitempty"`
	// When was the alert created?
	CreatedAt time.Time `json:"createdAt"`
	// The associated Dependabot update
	DependabotUpdate *DependabotUpdate `json:"dependabotUpdate,omitempty"`
	// The scope of an alert's dependency
	DependencyScope *RepositoryVulnerabilityAlertDependencyScope `json:"dependencyScope,omitempty"`
	// Comment explaining the reason the alert was dismissed
	DismissComment *string `json:"dismissComment,omitempty"`
	// The reason the alert was dismissed
	DismissReason *string `json:"dismissReason,omitempty"`
	// When was the alert dismissed?
	DismissedAt *time.Time `json:"dismissedAt,omitempty"`
	// The user who dismissed the alert
	Dismisser *User `json:"dismisser,omitempty"`
	// When was the alert fixed?
	FixedAt *time.Time `json:"fixedAt,omitempty"`
	// The Node ID of the RepositoryVulnerabilityAlert object
	ID string `json:"id"`
	// Identifies the alert number.
	Number int `json:"number"`
	// The associated repository
	Repository *Repository `json:"repository"`
	// The associated security advisory
	SecurityAdvisory *SecurityAdvisory `json:"securityAdvisory,omitempty"`
	// The associated security vulnerability
	SecurityVulnerability *SecurityVulnerability `json:"securityVulnerability,omitempty"`
	// Identifies the state of the alert.
	State RepositoryVulnerabilityAlertState `json:"state"`
	// The vulnerable manifest filename
	VulnerableManifestFilename string `json:"vulnerableManifestFilename"`
	// The vulnerable manifest path
	VulnerableManifestPath string `json:"vulnerableManifestPath"`
	// The vulnerable requirements
	VulnerableRequirements *string `json:"vulnerableRequirements,omitempty"`
}

A Dependabot alert for a repository with a dependency affected by a security vulnerability.

func (RepositoryVulnerabilityAlert) GetID

func (this RepositoryVulnerabilityAlert) GetID() string

ID of the object.

func (RepositoryVulnerabilityAlert) GetRepository

func (this RepositoryVulnerabilityAlert) GetRepository() *Repository

The repository associated with this node.

func (RepositoryVulnerabilityAlert) IsNode

func (RepositoryVulnerabilityAlert) IsRepositoryNode

func (RepositoryVulnerabilityAlert) IsRepositoryNode()

type RepositoryVulnerabilityAlertConnection

type RepositoryVulnerabilityAlertConnection struct {
	// A list of edges.
	Edges []*RepositoryVulnerabilityAlertEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*RepositoryVulnerabilityAlert `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RepositoryVulnerabilityAlert.

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 RepositoryVulnerabilityAlertEdge

type RepositoryVulnerabilityAlertEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *RepositoryVulnerabilityAlert `json:"node,omitempty"`
}

An edge in a connection.

type RepositoryVulnerabilityAlertState

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 RequestReviewsInput

type RequestReviewsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request to modify.
	PullRequestID string `json:"pullRequestId"`
	// The Node IDs of the user to request.
	UserIds []string `json:"userIds,omitempty"`
	// The Node IDs of the team to request.
	TeamIds []string `json:"teamIds,omitempty"`
	// Add users to the set rather than replace.
	Union *bool `json:"union,omitempty"`
}

Autogenerated input type of RequestReviews

type RequestReviewsPayload

type RequestReviewsPayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that is getting requests.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// The edge from the pull request to the requested reviewers.
	RequestedReviewersEdge *UserEdge `json:"requestedReviewersEdge,omitempty"`
}

Autogenerated return type of RequestReviews

type RequestableCheckStatusState

type RequestableCheckStatusState string

The possible states that can be requested when creating a check run.

const (
	// The check suite or run has been queued.
	RequestableCheckStatusStateQueued RequestableCheckStatusState = "QUEUED"
	// The check suite or run is in progress.
	RequestableCheckStatusStateInProgress RequestableCheckStatusState = "IN_PROGRESS"
	// The check suite or run has been completed.
	RequestableCheckStatusStateCompleted RequestableCheckStatusState = "COMPLETED"
	// The check suite or run is in waiting state.
	RequestableCheckStatusStateWaiting RequestableCheckStatusState = "WAITING"
	// The check suite or run is in pending state.
	RequestableCheckStatusStatePending RequestableCheckStatusState = "PENDING"
)

func (RequestableCheckStatusState) IsValid

func (e RequestableCheckStatusState) IsValid() bool

func (RequestableCheckStatusState) MarshalGQL

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

func (RequestableCheckStatusState) String

func (*RequestableCheckStatusState) UnmarshalGQL

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

type RequestedReviewer

type RequestedReviewer interface {
	IsRequestedReviewer()
}

Types that can be requested reviewers.

type RequestedReviewerConnection

type RequestedReviewerConnection struct {
	// A list of edges.
	Edges []*RequestedReviewerEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []RequestedReviewer `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for RequestedReviewer.

type RequestedReviewerEdge

type RequestedReviewerEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node RequestedReviewer `json:"node,omitempty"`
}

An edge in a connection.

type RequirableByPullRequest

type RequirableByPullRequest interface {
	IsRequirableByPullRequest()
	// Whether this is required to pass before merging for a specific pull request.
	GetIsRequired() bool
}

Represents a type that can be required by a pull request for merging.

type RequiredDeploymentsParameters

type RequiredDeploymentsParameters struct {
	// The environments that must be successfully deployed to before branches can be merged.
	RequiredDeploymentEnvironments []string `json:"requiredDeploymentEnvironments"`
}

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

func (RequiredDeploymentsParameters) IsRuleParameters

func (RequiredDeploymentsParameters) IsRuleParameters()

type RequiredDeploymentsParametersInput

type RequiredDeploymentsParametersInput struct {
	// The environments that must be successfully deployed to before branches can be merged.
	RequiredDeploymentEnvironments []string `json:"requiredDeploymentEnvironments"`
}

Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.

type RequiredStatusCheckDescription

type RequiredStatusCheckDescription struct {
	// The App that must provide this status in order for it to be accepted.
	App *App `json:"app,omitempty"`
	// The name of this status.
	Context string `json:"context"`
}

Represents a required status check for a protected branch, but not any specific run of that check.

type RequiredStatusCheckInput

type RequiredStatusCheckInput struct {
	// Status check context that must pass for commits to be accepted to the matching branch.
	Context string `json:"context"`
	// The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use "any" to allow any app to set the status.
	AppID *string `json:"appId,omitempty"`
}

Specifies the attributes for a new or updated required status check.

type RequiredStatusChecksParameters

type RequiredStatusChecksParameters struct {
	// Status checks that are required.
	RequiredStatusChecks []*StatusCheckConfiguration `json:"requiredStatusChecks"`
	// Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled.
	StrictRequiredStatusChecksPolicy bool `json:"strictRequiredStatusChecksPolicy"`
}

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.

func (RequiredStatusChecksParameters) IsRuleParameters

func (RequiredStatusChecksParameters) IsRuleParameters()

type RequiredStatusChecksParametersInput

type RequiredStatusChecksParametersInput struct {
	// Status checks that are required.
	RequiredStatusChecks []*StatusCheckConfigurationInput `json:"requiredStatusChecks"`
	// Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled.
	StrictRequiredStatusChecksPolicy bool `json:"strictRequiredStatusChecksPolicy"`
}

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.

type RerequestCheckSuiteInput

type RerequestCheckSuiteInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The Node ID of the check suite.
	CheckSuiteID string `json:"checkSuiteId"`
}

Autogenerated input type of RerequestCheckSuite

type RerequestCheckSuitePayload

type RerequestCheckSuitePayload struct {
	// The requested check suite.
	CheckSuite *CheckSuite `json:"checkSuite,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of RerequestCheckSuite

type ResolveReviewThreadInput

type ResolveReviewThreadInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the thread to resolve
	ThreadID string `json:"threadId"`
}

Autogenerated input type of ResolveReviewThread

type ResolveReviewThreadPayload

type ResolveReviewThreadPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The thread to resolve.
	Thread *PullRequestReviewThread `json:"thread,omitempty"`
}

Autogenerated return type of ResolveReviewThread

type RestrictedContribution

type RestrictedContribution struct {
	// Whether this contribution is associated with a record you do not have access to. For
	// example, your own 'first issue' contribution may have been made on a repository you can no
	// longer access.
	//
	IsRestricted bool `json:"isRestricted"`
	// When this contribution was made.
	OccurredAt time.Time `json:"occurredAt"`
	// The HTTP path for this contribution.
	ResourcePath string `json:"resourcePath"`
	// The HTTP URL for this contribution.
	URL string `json:"url"`
	// The user who made this contribution.
	//
	User *User `json:"user"`
}

Represents a private contribution a user made on GitHub.

func (RestrictedContribution) GetIsRestricted

func (this RestrictedContribution) GetIsRestricted() bool

Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access.

func (RestrictedContribution) GetOccurredAt

func (this RestrictedContribution) GetOccurredAt() time.Time

When this contribution was made.

func (RestrictedContribution) GetResourcePath

func (this RestrictedContribution) GetResourcePath() string

The HTTP path for this contribution.

func (RestrictedContribution) GetURL

func (this RestrictedContribution) GetURL() string

The HTTP URL for this contribution.

func (RestrictedContribution) GetUser

func (this RestrictedContribution) GetUser() *User

The user who made this contribution.

func (RestrictedContribution) IsContribution

func (RestrictedContribution) IsContribution()

func (RestrictedContribution) IsCreatedIssueOrRestrictedContribution

func (RestrictedContribution) IsCreatedIssueOrRestrictedContribution()

func (RestrictedContribution) IsCreatedPullRequestOrRestrictedContribution

func (RestrictedContribution) IsCreatedPullRequestOrRestrictedContribution()

func (RestrictedContribution) IsCreatedRepositoryOrRestrictedContribution

func (RestrictedContribution) IsCreatedRepositoryOrRestrictedContribution()

type RetireSponsorsTierInput

type RetireSponsorsTierInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the published tier to retire.
	TierID string `json:"tierId"`
}

Autogenerated input type of RetireSponsorsTier

type RetireSponsorsTierPayload

type RetireSponsorsTierPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The tier that was retired.
	SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
}

Autogenerated return type of RetireSponsorsTier

type RevertPullRequestInput

type RevertPullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the pull request to revert.
	PullRequestID string `json:"pullRequestId"`
	// The title of the revert pull request.
	Title *string `json:"title,omitempty"`
	// The description of the revert pull request.
	Body *string `json:"body,omitempty"`
	// Indicates whether the revert pull request should be a draft.
	Draft *bool `json:"draft,omitempty"`
}

Autogenerated input type of RevertPullRequest

type RevertPullRequestPayload

type RevertPullRequestPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The pull request that was reverted.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
	// The new pull request that reverts the input pull request.
	RevertPullRequest *PullRequest `json:"revertPullRequest,omitempty"`
}

Autogenerated return type of RevertPullRequest

type ReviewDismissalAllowance

type ReviewDismissalAllowance struct {
	// The actor that can dismiss.
	Actor ReviewDismissalAllowanceActor `json:"actor,omitempty"`
	// Identifies the branch protection rule associated with the allowed user, team, or app.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// The Node ID of the ReviewDismissalAllowance object
	ID string `json:"id"`
}

A user, team, or app who has the ability to dismiss a review on a protected branch.

func (ReviewDismissalAllowance) GetID

func (this ReviewDismissalAllowance) GetID() string

ID of the object.

func (ReviewDismissalAllowance) IsNode

func (ReviewDismissalAllowance) IsNode()

type ReviewDismissalAllowanceActor

type ReviewDismissalAllowanceActor interface {
	IsReviewDismissalAllowanceActor()
}

Types that can be an actor.

type ReviewDismissalAllowanceConnection

type ReviewDismissalAllowanceConnection struct {
	// A list of edges.
	Edges []*ReviewDismissalAllowanceEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ReviewDismissalAllowance `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ReviewDismissalAllowance.

type ReviewDismissalAllowanceEdge

type ReviewDismissalAllowanceEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ReviewDismissalAllowance `json:"node,omitempty"`
}

An edge in a connection.

type ReviewDismissedEvent

type ReviewDismissedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// Identifies the optional message associated with the 'review_dismissed' event.
	DismissalMessage *string `json:"dismissalMessage,omitempty"`
	// Identifies the optional message associated with the event, rendered to HTML.
	DismissalMessageHTML *string `json:"dismissalMessageHTML,omitempty"`
	// The Node ID of the ReviewDismissedEvent object
	ID string `json:"id"`
	// Identifies the previous state of the review with the 'review_dismissed' event.
	PreviousReviewState PullRequestReviewState `json:"previousReviewState"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the commit which caused the review to become stale.
	PullRequestCommit *PullRequestCommit `json:"pullRequestCommit,omitempty"`
	// The HTTP path for this review dismissed event.
	ResourcePath string `json:"resourcePath"`
	// Identifies the review associated with the 'review_dismissed' event.
	Review *PullRequestReview `json:"review,omitempty"`
	// The HTTP URL for this review dismissed event.
	URL string `json:"url"`
}

Represents a 'review_dismissed' event on a given issue or pull request.

func (ReviewDismissedEvent) GetID

func (this ReviewDismissedEvent) GetID() string

ID of the object.

func (ReviewDismissedEvent) GetResourcePath

func (this ReviewDismissedEvent) GetResourcePath() string

The HTML path to this resource.

func (ReviewDismissedEvent) GetURL

func (this ReviewDismissedEvent) GetURL() string

The URL to this resource.

func (ReviewDismissedEvent) IsNode

func (ReviewDismissedEvent) IsNode()

func (ReviewDismissedEvent) IsPullRequestTimelineItem

func (ReviewDismissedEvent) IsPullRequestTimelineItem()

func (ReviewDismissedEvent) IsPullRequestTimelineItems

func (ReviewDismissedEvent) IsPullRequestTimelineItems()

func (ReviewDismissedEvent) IsUniformResourceLocatable

func (ReviewDismissedEvent) IsUniformResourceLocatable()

type ReviewRequest

type ReviewRequest struct {
	// Whether this request was created for a code owner
	AsCodeOwner bool `json:"asCodeOwner"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the ReviewRequest object
	ID string `json:"id"`
	// Identifies the pull request associated with this review request.
	PullRequest *PullRequest `json:"pullRequest"`
	// The reviewer that is requested.
	RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}

A request for a user to review a pull request.

func (ReviewRequest) GetID

func (this ReviewRequest) GetID() string

ID of the object.

func (ReviewRequest) IsNode

func (ReviewRequest) IsNode()

type ReviewRequestConnection

type ReviewRequestConnection struct {
	// A list of edges.
	Edges []*ReviewRequestEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*ReviewRequest `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for ReviewRequest.

type ReviewRequestEdge

type ReviewRequestEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *ReviewRequest `json:"node,omitempty"`
}

An edge in a connection.

type ReviewRequestRemovedEvent

type ReviewRequestRemovedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ReviewRequestRemovedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the reviewer whose review request was removed.
	RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}

Represents an 'review_request_removed' event on a given pull request.

func (ReviewRequestRemovedEvent) GetID

func (this ReviewRequestRemovedEvent) GetID() string

ID of the object.

func (ReviewRequestRemovedEvent) IsNode

func (ReviewRequestRemovedEvent) IsNode()

func (ReviewRequestRemovedEvent) IsPullRequestTimelineItem

func (ReviewRequestRemovedEvent) IsPullRequestTimelineItem()

func (ReviewRequestRemovedEvent) IsPullRequestTimelineItems

func (ReviewRequestRemovedEvent) IsPullRequestTimelineItems()

type ReviewRequestedEvent

type ReviewRequestedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the ReviewRequestedEvent object
	ID string `json:"id"`
	// PullRequest referenced by event.
	PullRequest *PullRequest `json:"pullRequest"`
	// Identifies the reviewer whose review was requested.
	RequestedReviewer RequestedReviewer `json:"requestedReviewer,omitempty"`
}

Represents an 'review_requested' event on a given pull request.

func (ReviewRequestedEvent) GetID

func (this ReviewRequestedEvent) GetID() string

ID of the object.

func (ReviewRequestedEvent) IsNode

func (ReviewRequestedEvent) IsNode()

func (ReviewRequestedEvent) IsPullRequestTimelineItem

func (ReviewRequestedEvent) IsPullRequestTimelineItem()

func (ReviewRequestedEvent) IsPullRequestTimelineItems

func (ReviewRequestedEvent) IsPullRequestTimelineItems()

type ReviewStatusHovercardContext

type ReviewStatusHovercardContext struct {
	// A string describing this context
	Message string `json:"message"`
	// An octicon to accompany this context
	Octicon string `json:"octicon"`
	// The current status of the pull request with respect to code review.
	ReviewDecision *PullRequestReviewDecision `json:"reviewDecision,omitempty"`
}

A hovercard context with a message describing the current code review state of the pull request.

func (ReviewStatusHovercardContext) GetMessage

func (this ReviewStatusHovercardContext) GetMessage() string

A string describing this context

func (ReviewStatusHovercardContext) GetOcticon

func (this ReviewStatusHovercardContext) GetOcticon() string

An octicon to accompany this context

func (ReviewStatusHovercardContext) IsHovercardContext

func (ReviewStatusHovercardContext) IsHovercardContext()

type RevokeEnterpriseOrganizationsMigratorRoleInput

type RevokeEnterpriseOrganizationsMigratorRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise to which all organizations managed by it will be granted the migrator role.
	EnterpriseID string `json:"enterpriseId"`
	// The login of the user to revoke the migrator role
	Login string `json:"login"`
}

Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole

type RevokeEnterpriseOrganizationsMigratorRolePayload

type RevokeEnterpriseOrganizationsMigratorRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organizations that had the migrator role revoked for the given user.
	Organizations *OrganizationConnection `json:"organizations,omitempty"`
}

Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole

type RevokeMigratorRoleInput

type RevokeMigratorRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization that the user/team belongs to.
	OrganizationID string `json:"organizationId"`
	// The user login or Team slug to revoke the migrator role from.
	Actor string `json:"actor"`
	// Specifies the type of the actor, can be either USER or TEAM.
	ActorType ActorType `json:"actorType"`
}

Autogenerated input type of RevokeMigratorRole

type RevokeMigratorRolePayload

type RevokeMigratorRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
}

Autogenerated return type of RevokeMigratorRole

type RoleInOrganization

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 RuleParameters

type RuleParameters interface {
	IsRuleParameters()
}

Types which can be parameters for `RepositoryRule` objects.

type RuleParametersInput

type RuleParametersInput struct {
	// Parameters used for the `update` rule type
	Update *UpdateParametersInput `json:"update,omitempty"`
	// Parameters used for the `required_deployments` rule type
	RequiredDeployments *RequiredDeploymentsParametersInput `json:"requiredDeployments,omitempty"`
	// Parameters used for the `pull_request` rule type
	PullRequest *PullRequestParametersInput `json:"pullRequest,omitempty"`
	// Parameters used for the `required_status_checks` rule type
	RequiredStatusChecks *RequiredStatusChecksParametersInput `json:"requiredStatusChecks,omitempty"`
	// Parameters used for the `commit_message_pattern` rule type
	CommitMessagePattern *CommitMessagePatternParametersInput `json:"commitMessagePattern,omitempty"`
	// Parameters used for the `commit_author_email_pattern` rule type
	CommitAuthorEmailPattern *CommitAuthorEmailPatternParametersInput `json:"commitAuthorEmailPattern,omitempty"`
	// Parameters used for the `committer_email_pattern` rule type
	CommitterEmailPattern *CommitterEmailPatternParametersInput `json:"committerEmailPattern,omitempty"`
	// Parameters used for the `branch_name_pattern` rule type
	BranchNamePattern *BranchNamePatternParametersInput `json:"branchNamePattern,omitempty"`
	// Parameters used for the `tag_name_pattern` rule type
	TagNamePattern *TagNamePatternParametersInput `json:"tagNamePattern,omitempty"`
	// Parameters used for the `workflows` rule type
	Workflows *WorkflowsParametersInput `json:"workflows,omitempty"`
}

Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.

type RuleSource

type RuleSource interface {
	IsRuleSource()
}

Types which can have `RepositoryRule` objects.

type SSHSignature

type SSHSignature struct {
	// Email used to sign this object.
	Email string `json:"email"`
	// True if the signature is valid and verified by GitHub.
	IsValid bool `json:"isValid"`
	// Hex-encoded fingerprint of the key that signed this object.
	KeyFingerprint *string `json:"keyFingerprint,omitempty"`
	// Payload for GPG signing object. Raw ODB object without the signature header.
	Payload string `json:"payload"`
	// ASCII-armored signature header from object.
	Signature string `json:"signature"`
	// GitHub user corresponding to the email signing this commit.
	Signer *User `json:"signer,omitempty"`
	// The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
	State GitSignatureState `json:"state"`
	// True if the signature was made with GitHub's signing key.
	WasSignedByGitHub bool `json:"wasSignedByGitHub"`
}

Represents an SSH signature on a Commit or Tag.

func (SSHSignature) GetEmail

func (this SSHSignature) GetEmail() string

Email used to sign this object.

func (SSHSignature) GetIsValid

func (this SSHSignature) GetIsValid() bool

True if the signature is valid and verified by GitHub.

func (SSHSignature) GetPayload

func (this SSHSignature) GetPayload() string

Payload for GPG signing object. Raw ODB object without the signature header.

func (SSHSignature) GetSignature

func (this SSHSignature) GetSignature() string

ASCII-armored signature header from object.

func (SSHSignature) GetSigner

func (this SSHSignature) GetSigner() *User

GitHub user corresponding to the email signing this commit.

func (SSHSignature) GetState

func (this SSHSignature) GetState() GitSignatureState

The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

func (SSHSignature) GetWasSignedByGitHub

func (this SSHSignature) GetWasSignedByGitHub() bool

True if the signature was made with GitHub's signing key.

func (SSHSignature) IsGitSignature

func (SSHSignature) IsGitSignature()

type SamlDigestAlgorithm

type SamlDigestAlgorithm string

The possible digest algorithms used to sign SAML requests for an identity provider.

const (
	// SHA1
	SamlDigestAlgorithmSha1 SamlDigestAlgorithm = "SHA1"
	// SHA256
	SamlDigestAlgorithmSha256 SamlDigestAlgorithm = "SHA256"
	// SHA384
	SamlDigestAlgorithmSha384 SamlDigestAlgorithm = "SHA384"
	// SHA512
	SamlDigestAlgorithmSha512 SamlDigestAlgorithm = "SHA512"
)

func (SamlDigestAlgorithm) IsValid

func (e SamlDigestAlgorithm) IsValid() bool

func (SamlDigestAlgorithm) MarshalGQL

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

func (SamlDigestAlgorithm) String

func (e SamlDigestAlgorithm) String() string

func (*SamlDigestAlgorithm) UnmarshalGQL

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

type SamlSignatureAlgorithm

type SamlSignatureAlgorithm string

The possible signature algorithms used to sign SAML requests for a Identity Provider.

const (
	// RSA-SHA1
	SamlSignatureAlgorithmRsaSha1 SamlSignatureAlgorithm = "RSA_SHA1"
	// RSA-SHA256
	SamlSignatureAlgorithmRsaSha256 SamlSignatureAlgorithm = "RSA_SHA256"
	// RSA-SHA384
	SamlSignatureAlgorithmRsaSha384 SamlSignatureAlgorithm = "RSA_SHA384"
	// RSA-SHA512
	SamlSignatureAlgorithmRsaSha512 SamlSignatureAlgorithm = "RSA_SHA512"
)

func (SamlSignatureAlgorithm) IsValid

func (e SamlSignatureAlgorithm) IsValid() bool

func (SamlSignatureAlgorithm) MarshalGQL

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

func (SamlSignatureAlgorithm) String

func (e SamlSignatureAlgorithm) String() string

func (*SamlSignatureAlgorithm) UnmarshalGQL

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

type SavedReply

type SavedReply struct {
	// The body of the saved reply.
	Body string `json:"body"`
	// The saved reply body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the SavedReply object
	ID string `json:"id"`
	// The title of the saved reply.
	Title string `json:"title"`
	// The user that saved this reply.
	User Actor `json:"user,omitempty"`
}

A Saved Reply is text a user can use to reply quickly.

func (SavedReply) GetID

func (this SavedReply) GetID() string

ID of the object.

func (SavedReply) IsNode

func (SavedReply) IsNode()

type SavedReplyConnection

type SavedReplyConnection struct {
	// A list of edges.
	Edges []*SavedReplyEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SavedReply `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SavedReply.

type SavedReplyEdge

type SavedReplyEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SavedReply `json:"node,omitempty"`
}

An edge in a connection.

type SavedReplyOrder

type SavedReplyOrder struct {
	// The field to order saved replies by.
	Field SavedReplyOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for saved reply connections.

type SavedReplyOrderField

type SavedReplyOrderField string

Properties by which saved reply connections can be ordered.

const (
	// Order saved reply by when they were updated.
	SavedReplyOrderFieldUpdatedAt SavedReplyOrderField = "UPDATED_AT"
)

func (SavedReplyOrderField) IsValid

func (e SavedReplyOrderField) IsValid() bool

func (SavedReplyOrderField) MarshalGQL

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

func (SavedReplyOrderField) String

func (e SavedReplyOrderField) String() string

func (*SavedReplyOrderField) UnmarshalGQL

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

type SearchResultItem

type SearchResultItem interface {
	IsSearchResultItem()
}

The results of a search.

type SearchResultItemConnection

type SearchResultItemConnection struct {
	// The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	CodeCount int `json:"codeCount"`
	// The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	DiscussionCount int `json:"discussionCount"`
	// A list of edges.
	Edges []*SearchResultItemEdge `json:"edges,omitempty"`
	// The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	IssueCount int `json:"issueCount"`
	// A list of nodes.
	Nodes []SearchResultItem `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// The total number of repositories that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	RepositoryCount int `json:"repositoryCount"`
	// The total number of users that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	UserCount int `json:"userCount"`
	// The total number of wiki pages that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types.
	WikiCount int `json:"wikiCount"`
}

A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages.

type SearchResultItemEdge

type SearchResultItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node SearchResultItem `json:"node,omitempty"`
	// Text matches on the result found.
	TextMatches []*TextMatch `json:"textMatches,omitempty"`
}

An edge in a connection.

type SearchType

type SearchType string

Represents the individual results of a search.

const (
	// Returns results matching issues in repositories.
	SearchTypeIssue SearchType = "ISSUE"
	// Returns results matching repositories.
	SearchTypeRepository SearchType = "REPOSITORY"
	// Returns results matching users and organizations on GitHub.
	SearchTypeUser SearchType = "USER"
	// Returns matching discussions in repositories.
	SearchTypeDiscussion SearchType = "DISCUSSION"
)

func (SearchType) IsValid

func (e SearchType) IsValid() bool

func (SearchType) MarshalGQL

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

func (SearchType) String

func (e SearchType) String() string

func (*SearchType) UnmarshalGQL

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

type SecurityAdvisory

type SecurityAdvisory struct {
	// The classification of the advisory
	Classification SecurityAdvisoryClassification `json:"classification"`
	// The CVSS associated with this advisory
	Cvss *Cvss `json:"cvss"`
	// CWEs associated with this Advisory
	Cwes *CWEConnection `json:"cwes"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// This is a long plaintext description of the advisory
	Description string `json:"description"`
	// The GitHub Security Advisory ID
	GhsaID string `json:"ghsaId"`
	// The Node ID of the SecurityAdvisory object
	ID string `json:"id"`
	// A list of identifiers for this advisory
	Identifiers []*SecurityAdvisoryIdentifier `json:"identifiers"`
	// The permalink for the advisory's dependabot alerts page
	NotificationsPermalink *string `json:"notificationsPermalink,omitempty"`
	// The organization that originated the advisory
	Origin string `json:"origin"`
	// The permalink for the advisory
	Permalink *string `json:"permalink,omitempty"`
	// When the advisory was published
	PublishedAt time.Time `json:"publishedAt"`
	// A list of references for this advisory
	References []*SecurityAdvisoryReference `json:"references"`
	// The severity of the advisory
	Severity SecurityAdvisorySeverity `json:"severity"`
	// A short plaintext summary of the advisory
	Summary string `json:"summary"`
	// When the advisory was last updated
	UpdatedAt time.Time `json:"updatedAt"`
	// Vulnerabilities associated with this Advisory
	Vulnerabilities *SecurityVulnerabilityConnection `json:"vulnerabilities"`
	// When the advisory was withdrawn, if it has been withdrawn
	WithdrawnAt *time.Time `json:"withdrawnAt,omitempty"`
}

A GitHub Security Advisory

func (SecurityAdvisory) GetID

func (this SecurityAdvisory) GetID() string

ID of the object.

func (SecurityAdvisory) IsNode

func (SecurityAdvisory) IsNode()

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 SecurityAdvisoryConnection

type SecurityAdvisoryConnection struct {
	// A list of edges.
	Edges []*SecurityAdvisoryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SecurityAdvisory `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SecurityAdvisory.

type SecurityAdvisoryEcosystem

type SecurityAdvisoryEcosystem string

The possible ecosystems of a security vulnerability's package.

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

type SecurityAdvisoryEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SecurityAdvisory `json:"node,omitempty"`
}

An edge in a connection.

type SecurityAdvisoryIdentifier

type SecurityAdvisoryIdentifier struct {
	// The identifier type, e.g. GHSA, CVE
	Type string `json:"type"`
	// The identifier
	Value string `json:"value"`
}

A GitHub Security Advisory Identifier

type SecurityAdvisoryIdentifierFilter

type SecurityAdvisoryIdentifierFilter struct {
	// The identifier type.
	Type SecurityAdvisoryIdentifierType `json:"type"`
	// The identifier string. Supports exact or partial matching.
	Value string `json:"value"`
}

An advisory identifier to filter results on.

type SecurityAdvisoryIdentifierType

type SecurityAdvisoryIdentifierType string

Identifier formats available for advisories.

const (
	// Common Vulnerabilities and Exposures Identifier.
	SecurityAdvisoryIdentifierTypeCve SecurityAdvisoryIdentifierType = "CVE"
	// GitHub Security Advisory ID.
	SecurityAdvisoryIdentifierTypeGhsa SecurityAdvisoryIdentifierType = "GHSA"
)

func (SecurityAdvisoryIdentifierType) IsValid

func (SecurityAdvisoryIdentifierType) MarshalGQL

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

func (SecurityAdvisoryIdentifierType) String

func (*SecurityAdvisoryIdentifierType) UnmarshalGQL

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

type SecurityAdvisoryOrder

type SecurityAdvisoryOrder struct {
	// The field to order security advisories by.
	Field SecurityAdvisoryOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for security advisory connections

type SecurityAdvisoryOrderField

type SecurityAdvisoryOrderField string

Properties by which security advisory connections can be ordered.

const (
	// Order advisories by publication time
	SecurityAdvisoryOrderFieldPublishedAt SecurityAdvisoryOrderField = "PUBLISHED_AT"
	// Order advisories by update time
	SecurityAdvisoryOrderFieldUpdatedAt SecurityAdvisoryOrderField = "UPDATED_AT"
)

func (SecurityAdvisoryOrderField) IsValid

func (e SecurityAdvisoryOrderField) IsValid() bool

func (SecurityAdvisoryOrderField) MarshalGQL

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

func (SecurityAdvisoryOrderField) String

func (*SecurityAdvisoryOrderField) UnmarshalGQL

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

type SecurityAdvisoryPackage

type SecurityAdvisoryPackage struct {
	// The ecosystem the package belongs to, e.g. RUBYGEMS, NPM
	Ecosystem SecurityAdvisoryEcosystem `json:"ecosystem"`
	// The package name
	Name string `json:"name"`
}

An individual package

type SecurityAdvisoryPackageVersion

type SecurityAdvisoryPackageVersion struct {
	// The package name or version
	Identifier string `json:"identifier"`
}

An individual package version

type SecurityAdvisoryReference

type SecurityAdvisoryReference struct {
	// A publicly accessible reference
	URL string `json:"url"`
}

A GitHub Security Advisory Reference

type SecurityAdvisorySeverity

type SecurityAdvisorySeverity string

Severity of the vulnerability.

const (
	// Low.
	SecurityAdvisorySeverityLow SecurityAdvisorySeverity = "LOW"
	// Moderate.
	SecurityAdvisorySeverityModerate SecurityAdvisorySeverity = "MODERATE"
	// High.
	SecurityAdvisorySeverityHigh SecurityAdvisorySeverity = "HIGH"
	// Critical.
	SecurityAdvisorySeverityCritical SecurityAdvisorySeverity = "CRITICAL"
)

func (SecurityAdvisorySeverity) IsValid

func (e SecurityAdvisorySeverity) IsValid() bool

func (SecurityAdvisorySeverity) MarshalGQL

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

func (SecurityAdvisorySeverity) String

func (e SecurityAdvisorySeverity) String() string

func (*SecurityAdvisorySeverity) UnmarshalGQL

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

type SecurityVulnerability

type SecurityVulnerability struct {
	// The Advisory associated with this Vulnerability
	Advisory *SecurityAdvisory `json:"advisory"`
	// The first version containing a fix for the vulnerability
	FirstPatchedVersion *SecurityAdvisoryPackageVersion `json:"firstPatchedVersion,omitempty"`
	// A description of the vulnerable package
	Package *SecurityAdvisoryPackage `json:"package"`
	// The severity of the vulnerability within this package
	Severity SecurityAdvisorySeverity `json:"severity"`
	// When the vulnerability was last updated
	UpdatedAt time.Time `json:"updatedAt"`
	// A string that describes the vulnerable package versions.
	// This string follows a basic syntax with a few forms.
	// + `= 0.2.0` denotes a single vulnerable version.
	// + `<= 1.0.8` denotes a version range up to and including the specified version
	// + `< 0.1.11` denotes a version range up to, but excluding, the specified version
	// + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version.
	// + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum
	//
	VulnerableVersionRange string `json:"vulnerableVersionRange"`
}

An individual vulnerability within an Advisory

type SecurityVulnerabilityConnection

type SecurityVulnerabilityConnection struct {
	// A list of edges.
	Edges []*SecurityVulnerabilityEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SecurityVulnerability `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SecurityVulnerability.

type SecurityVulnerabilityEdge

type SecurityVulnerabilityEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SecurityVulnerability `json:"node,omitempty"`
}

An edge in a connection.

type SecurityVulnerabilityOrder

type SecurityVulnerabilityOrder struct {
	// The field to order security vulnerabilities by.
	Field SecurityVulnerabilityOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for security vulnerability connections

type SecurityVulnerabilityOrderField

type SecurityVulnerabilityOrderField string

Properties by which security vulnerability connections can be ordered.

const (
	// Order vulnerability by update time
	SecurityVulnerabilityOrderFieldUpdatedAt SecurityVulnerabilityOrderField = "UPDATED_AT"
)

func (SecurityVulnerabilityOrderField) IsValid

func (SecurityVulnerabilityOrderField) MarshalGQL

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

func (SecurityVulnerabilityOrderField) String

func (*SecurityVulnerabilityOrderField) UnmarshalGQL

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

type SetEnterpriseIdentityProviderInput

type SetEnterpriseIdentityProviderInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set an identity provider.
	EnterpriseID string `json:"enterpriseId"`
	// The URL endpoint for the identity provider's SAML SSO.
	SsoURL string `json:"ssoUrl"`
	// The Issuer Entity ID for the SAML identity provider
	Issuer *string `json:"issuer,omitempty"`
	// The x509 certificate used by the identity provider to sign assertions and responses.
	IdpCertificate string `json:"idpCertificate"`
	// The signature algorithm used to sign SAML requests for the identity provider.
	SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod"`
	// The digest algorithm used to sign SAML requests for the identity provider.
	DigestMethod SamlDigestAlgorithm `json:"digestMethod"`
}

Autogenerated input type of SetEnterpriseIdentityProvider

type SetEnterpriseIdentityProviderPayload

type SetEnterpriseIdentityProviderPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The identity provider for the enterprise.
	IdentityProvider *EnterpriseIdentityProvider `json:"identityProvider,omitempty"`
}

Autogenerated return type of SetEnterpriseIdentityProvider

type SetOrganizationInteractionLimitInput

type SetOrganizationInteractionLimitInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization to set a limit for.
	OrganizationID string `json:"organizationId"`
	// The limit to set.
	Limit RepositoryInteractionLimit `json:"limit"`
	// When this limit should expire.
	Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
}

Autogenerated input type of SetOrganizationInteractionLimit

type SetOrganizationInteractionLimitPayload

type SetOrganizationInteractionLimitPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organization that the interaction limit was set for.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of SetOrganizationInteractionLimit

type SetRepositoryInteractionLimitInput

type SetRepositoryInteractionLimitInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the repository to set a limit for.
	RepositoryID string `json:"repositoryId"`
	// The limit to set.
	Limit RepositoryInteractionLimit `json:"limit"`
	// When this limit should expire.
	Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
}

Autogenerated input type of SetRepositoryInteractionLimit

type SetRepositoryInteractionLimitPayload

type SetRepositoryInteractionLimitPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository that the interaction limit was set for.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of SetRepositoryInteractionLimit

type SetUserInteractionLimitInput

type SetUserInteractionLimitInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the user to set a limit for.
	UserID string `json:"userId"`
	// The limit to set.
	Limit RepositoryInteractionLimit `json:"limit"`
	// When this limit should expire.
	Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"`
}

Autogenerated input type of SetUserInteractionLimit

type SetUserInteractionLimitPayload

type SetUserInteractionLimitPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The user that the interaction limit was set for.
	User *User `json:"user,omitempty"`
}

Autogenerated return type of SetUserInteractionLimit

type SmimeSignature

type SmimeSignature struct {
	// Email used to sign this object.
	Email string `json:"email"`
	// True if the signature is valid and verified by GitHub.
	IsValid bool `json:"isValid"`
	// Payload for GPG signing object. Raw ODB object without the signature header.
	Payload string `json:"payload"`
	// ASCII-armored signature header from object.
	Signature string `json:"signature"`
	// GitHub user corresponding to the email signing this commit.
	Signer *User `json:"signer,omitempty"`
	// The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
	State GitSignatureState `json:"state"`
	// True if the signature was made with GitHub's signing key.
	WasSignedByGitHub bool `json:"wasSignedByGitHub"`
}

Represents an S/MIME signature on a Commit or Tag.

func (SmimeSignature) GetEmail

func (this SmimeSignature) GetEmail() string

Email used to sign this object.

func (SmimeSignature) GetIsValid

func (this SmimeSignature) GetIsValid() bool

True if the signature is valid and verified by GitHub.

func (SmimeSignature) GetPayload

func (this SmimeSignature) GetPayload() string

Payload for GPG signing object. Raw ODB object without the signature header.

func (SmimeSignature) GetSignature

func (this SmimeSignature) GetSignature() string

ASCII-armored signature header from object.

func (SmimeSignature) GetSigner

func (this SmimeSignature) GetSigner() *User

GitHub user corresponding to the email signing this commit.

func (SmimeSignature) GetState

func (this SmimeSignature) GetState() GitSignatureState

The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

func (SmimeSignature) GetWasSignedByGitHub

func (this SmimeSignature) GetWasSignedByGitHub() bool

True if the signature was made with GitHub's signing key.

func (SmimeSignature) IsGitSignature

func (SmimeSignature) IsGitSignature()

type SocialAccount

type SocialAccount struct {
	// Name of the social media account as it appears on the profile.
	DisplayName string `json:"displayName"`
	// Software or company that hosts the social media account.
	Provider SocialAccountProvider `json:"provider"`
	// URL of the social media account.
	URL string `json:"url"`
}

Social media profile associated with a user.

type SocialAccountConnection

type SocialAccountConnection struct {
	// A list of edges.
	Edges []*SocialAccountEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SocialAccount `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SocialAccount.

type SocialAccountEdge

type SocialAccountEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SocialAccount `json:"node,omitempty"`
}

An edge in a connection.

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"
	// 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 Sponsor interface {
	IsSponsor()
}

Entities that can sponsor others via GitHub Sponsors

type SponsorAndLifetimeValue

type SponsorAndLifetimeValue struct {
	// The amount in cents.
	AmountInCents int `json:"amountInCents"`
	// The amount in USD, formatted as a string.
	FormattedAmount string `json:"formattedAmount"`
	// The sponsor's GitHub account.
	Sponsor Sponsorable `json:"sponsor"`
	// The maintainer's GitHub account.
	Sponsorable Sponsorable `json:"sponsorable"`
}

A GitHub account and the total amount in USD they've paid for sponsorships to a particular maintainer. Does not include payments made via Patreon.

type SponsorAndLifetimeValueConnection

type SponsorAndLifetimeValueConnection struct {
	// A list of edges.
	Edges []*SponsorAndLifetimeValueEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SponsorAndLifetimeValue `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SponsorAndLifetimeValue.

type SponsorAndLifetimeValueEdge

type SponsorAndLifetimeValueEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SponsorAndLifetimeValue `json:"node,omitempty"`
}

An edge in a connection.

type SponsorAndLifetimeValueOrder

type SponsorAndLifetimeValueOrder struct {
	// The field to order results by.
	Field SponsorAndLifetimeValueOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors.

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 SponsorConnection

type SponsorConnection struct {
	// A list of edges.
	Edges []*SponsorEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []Sponsor `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of users and organizations sponsoring someone via GitHub Sponsors.

type SponsorEdge

type SponsorEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node Sponsor `json:"node,omitempty"`
}

Represents a user or organization who is sponsoring someone in GitHub Sponsors.

type SponsorOrder

type SponsorOrder struct {
	// The field to order sponsor entities by.
	Field SponsorOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for connections to get sponsor entities for GitHub Sponsors.

type SponsorOrderField

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 Sponsorable

type Sponsorable interface {
	IsSponsorable()
	// The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
	GetEstimatedNextSponsorsPayoutInCents() int
	// True if this user/organization has a GitHub Sponsors listing.
	GetHasSponsorsListing() bool
	// Whether the given account is sponsoring this user/organization.
	GetIsSponsoredBy() bool
	// True if the viewer is sponsored by this user/organization.
	GetIsSponsoringViewer() bool
	// Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.
	GetLifetimeReceivedSponsorshipValues() *SponsorAndLifetimeValueConnection
	// The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
	GetMonthlyEstimatedSponsorsIncomeInCents() int
	// List of users and organizations this entity is sponsoring.
	GetSponsoring() *SponsorConnection
	// List of sponsors for this user or organization.
	GetSponsors() *SponsorConnection
	// Events involving this sponsorable, such as new sponsorships.
	GetSponsorsActivities() *SponsorsActivityConnection
	// The GitHub Sponsors listing for this user or organization.
	GetSponsorsListing() *SponsorsListing
	// The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
	GetSponsorshipForViewerAsSponsor() *Sponsorship
	// The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
	GetSponsorshipForViewerAsSponsorable() *Sponsorship
	// List of sponsorship updates sent from this sponsorable to sponsors.
	GetSponsorshipNewsletters() *SponsorshipNewsletterConnection
	// The sponsorships where this user or organization is the maintainer receiving the funds.
	GetSponsorshipsAsMaintainer() *SponsorshipConnection
	// The sponsorships where this user or organization is the funder.
	GetSponsorshipsAsSponsor() *SponsorshipConnection
	// The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.
	GetTotalSponsorshipAmountAsSponsorInCents() *int
	// Whether or not the viewer is able to sponsor this user/organization.
	GetViewerCanSponsor() bool
	// True if the viewer is sponsoring this user/organization.
	GetViewerIsSponsoring() bool
}

Entities that can sponsor or be sponsored through GitHub Sponsors.

type SponsorableItem

type SponsorableItem interface {
	IsSponsorableItem()
}

Entities that can be sponsored via GitHub Sponsors

type SponsorableItemConnection

type SponsorableItemConnection struct {
	// A list of edges.
	Edges []*SponsorableItemEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []SponsorableItem `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SponsorableItem.

type SponsorableItemEdge

type SponsorableItemEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node SponsorableItem `json:"node,omitempty"`
}

An edge in a connection.

type SponsorableOrder

type SponsorableOrder struct {
	// The field to order sponsorable entities by.
	Field SponsorableOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for connections to get sponsorable entities for GitHub Sponsors.

type SponsorableOrderField

type SponsorableOrderField string

Properties by which sponsorable connections can be ordered.

const (
	// Order sponsorable entities by login (username).
	SponsorableOrderFieldLogin SponsorableOrderField = "LOGIN"
)

func (SponsorableOrderField) IsValid

func (e SponsorableOrderField) IsValid() bool

func (SponsorableOrderField) MarshalGQL

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

func (SponsorableOrderField) String

func (e SponsorableOrderField) String() string

func (*SponsorableOrderField) UnmarshalGQL

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

type SponsorsActivity

type SponsorsActivity struct {
	// What action this activity indicates took place.
	Action SponsorsActivityAction `json:"action"`
	// The sponsor's current privacy level.
	CurrentPrivacyLevel *SponsorshipPrivacy `json:"currentPrivacyLevel,omitempty"`
	// The Node ID of the SponsorsActivity object
	ID string `json:"id"`
	// The platform that was used to pay for the sponsorship.
	PaymentSource *SponsorshipPaymentSource `json:"paymentSource,omitempty"`
	// The tier that the sponsorship used to use, for tier change events.
	PreviousSponsorsTier *SponsorsTier `json:"previousSponsorsTier,omitempty"`
	// The user or organization who triggered this activity and was/is sponsoring the sponsorable.
	Sponsor Sponsor `json:"sponsor,omitempty"`
	// The user or organization that is being sponsored, the maintainer.
	Sponsorable Sponsorable `json:"sponsorable"`
	// The associated sponsorship tier.
	SponsorsTier *SponsorsTier `json:"sponsorsTier,omitempty"`
	// The timestamp of this event.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// Was this sponsorship made alongside other sponsorships at the same time from the same sponsor?
	ViaBulkSponsorship bool `json:"viaBulkSponsorship"`
}

An event related to sponsorship activity.

func (SponsorsActivity) GetID

func (this SponsorsActivity) GetID() string

ID of the object.

func (SponsorsActivity) IsNode

func (SponsorsActivity) IsNode()

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 SponsorsActivityConnection

type SponsorsActivityConnection struct {
	// A list of edges.
	Edges []*SponsorsActivityEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SponsorsActivity `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SponsorsActivity.

type SponsorsActivityEdge

type SponsorsActivityEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SponsorsActivity `json:"node,omitempty"`
}

An edge in a connection.

type SponsorsActivityOrder

type SponsorsActivityOrder struct {
	// The field to order activity by.
	Field SponsorsActivityOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for GitHub Sponsors activity connections.

type SponsorsActivityOrderField

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 SponsorsGoal

type SponsorsGoal struct {
	// A description of the goal from the maintainer.
	Description *string `json:"description,omitempty"`
	// What the objective of this goal is.
	Kind SponsorsGoalKind `json:"kind"`
	// The percentage representing how complete this goal is, between 0-100.
	PercentComplete int `json:"percentComplete"`
	// What the goal amount is. Represents an amount in USD for monthly sponsorship amount goals. Represents a count of unique sponsors for total sponsors count goals.
	TargetValue int `json:"targetValue"`
	// A brief summary of the kind and target value of this goal.
	Title string `json:"title"`
}

A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.

type SponsorsGoalKind

type SponsorsGoalKind string

The different kinds of goals a GitHub Sponsors member can have.

const (
	// The goal is about reaching a certain number of sponsors.
	SponsorsGoalKindTotalSponsorsCount SponsorsGoalKind = "TOTAL_SPONSORS_COUNT"
	// The goal is about getting a certain amount in USD from sponsorships each month.
	SponsorsGoalKindMonthlySponsorshipAmount SponsorsGoalKind = "MONTHLY_SPONSORSHIP_AMOUNT"
)

func (SponsorsGoalKind) IsValid

func (e SponsorsGoalKind) IsValid() bool

func (SponsorsGoalKind) MarshalGQL

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

func (SponsorsGoalKind) String

func (e SponsorsGoalKind) String() string

func (*SponsorsGoalKind) UnmarshalGQL

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

type SponsorsListing

type SponsorsListing struct {
	// The current goal the maintainer is trying to reach with GitHub Sponsors, if any.
	ActiveGoal *SponsorsGoal `json:"activeGoal,omitempty"`
	// The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.
	ActiveStripeConnectAccount *StripeConnectAccount `json:"activeStripeConnectAccount,omitempty"`
	// The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.
	BillingCountryOrRegion *string `json:"billingCountryOrRegion,omitempty"`
	// The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.
	ContactEmailAddress *string `json:"contactEmailAddress,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The HTTP path for the Sponsors dashboard for this Sponsors listing.
	DashboardResourcePath string `json:"dashboardResourcePath"`
	// The HTTP URL for the Sponsors dashboard for this Sponsors listing.
	DashboardURL string `json:"dashboardUrl"`
	// The records featured on the GitHub Sponsors profile.
	FeaturedItems []*SponsorsListingFeaturedItem `json:"featuredItems"`
	// The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.
	FiscalHost *Organization `json:"fiscalHost,omitempty"`
	// The full description of the listing.
	FullDescription string `json:"fullDescription"`
	// The full description of the listing rendered to HTML.
	FullDescriptionHTML string `json:"fullDescriptionHTML"`
	// The Node ID of the SponsorsListing object
	ID string `json:"id"`
	// Whether this listing is publicly visible.
	IsPublic bool `json:"isPublic"`
	// The listing's full name.
	Name string `json:"name"`
	// A future date on which this listing is eligible to receive a payout.
	NextPayoutDate *string `json:"nextPayoutDate,omitempty"`
	// The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.
	ResidenceCountryOrRegion *string `json:"residenceCountryOrRegion,omitempty"`
	// The HTTP path for this Sponsors listing.
	ResourcePath string `json:"resourcePath"`
	// The short description of the listing.
	ShortDescription string `json:"shortDescription"`
	// The short name of the listing.
	Slug string `json:"slug"`
	// The entity this listing represents who can be sponsored on GitHub Sponsors.
	Sponsorable Sponsorable `json:"sponsorable"`
	// The tiers for this GitHub Sponsors profile.
	Tiers *SponsorsTierConnection `json:"tiers,omitempty"`
	// The HTTP URL for this Sponsors listing.
	URL string `json:"url"`
}

A GitHub Sponsors listing.

func (SponsorsListing) GetID

func (this SponsorsListing) GetID() string

ID of the object.

func (SponsorsListing) IsNode

func (SponsorsListing) IsNode()

type SponsorsListingFeatureableItem

type SponsorsListingFeatureableItem interface {
	IsSponsorsListingFeatureableItem()
}

A record that can be featured on a GitHub Sponsors profile.

type SponsorsListingFeaturedItem

type SponsorsListingFeaturedItem struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page.
	Description *string `json:"description,omitempty"`
	// The record that is featured on the GitHub Sponsors profile.
	Featureable SponsorsListingFeatureableItem `json:"featureable"`
	// The Node ID of the SponsorsListingFeaturedItem object
	ID string `json:"id"`
	// The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1.
	Position int `json:"position"`
	// The GitHub Sponsors profile that features this record.
	SponsorsListing *SponsorsListing `json:"sponsorsListing"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A record that is promoted on a GitHub Sponsors profile.

func (SponsorsListingFeaturedItem) GetID

func (this SponsorsListingFeaturedItem) GetID() string

ID of the object.

func (SponsorsListingFeaturedItem) IsNode

func (SponsorsListingFeaturedItem) IsNode()

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 SponsorsTier

type SponsorsTier struct {
	// SponsorsTier information only visible to users that can administer the associated Sponsors listing.
	AdminInfo *SponsorsTierAdminInfo `json:"adminInfo,omitempty"`
	// Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over.
	ClosestLesserValueTier *SponsorsTier `json:"closestLesserValueTier,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The description of the tier.
	Description string `json:"description"`
	// The tier description rendered to HTML
	DescriptionHTML string `json:"descriptionHTML"`
	// The Node ID of the SponsorsTier object
	ID string `json:"id"`
	// Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing.
	IsCustomAmount bool `json:"isCustomAmount"`
	// Whether this tier is only for use with one-time sponsorships.
	IsOneTime bool `json:"isOneTime"`
	// How much this tier costs per month in cents.
	MonthlyPriceInCents int `json:"monthlyPriceInCents"`
	// How much this tier costs per month in USD.
	MonthlyPriceInDollars int `json:"monthlyPriceInDollars"`
	// The name of the tier.
	Name string `json:"name"`
	// The sponsors listing that this tier belongs to.
	SponsorsListing *SponsorsListing `json:"sponsorsListing"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

A GitHub Sponsors tier associated with a GitHub Sponsors listing.

func (SponsorsTier) GetID

func (this SponsorsTier) GetID() string

ID of the object.

func (SponsorsTier) IsNode

func (SponsorsTier) IsNode()

type SponsorsTierAdminInfo

type SponsorsTierAdminInfo struct {
	// Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile.
	IsDraft bool `json:"isDraft"`
	// Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible.
	IsPublished bool `json:"isPublished"`
	// Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired.
	IsRetired bool `json:"isRetired"`
	// The sponsorships using this tier.
	Sponsorships *SponsorshipConnection `json:"sponsorships"`
}

SponsorsTier information only visible to users that can administer the associated Sponsors listing.

type SponsorsTierConnection

type SponsorsTierConnection struct {
	// A list of edges.
	Edges []*SponsorsTierEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SponsorsTier `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SponsorsTier.

type SponsorsTierEdge

type SponsorsTierEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SponsorsTier `json:"node,omitempty"`
}

An edge in a connection.

type SponsorsTierOrder

type SponsorsTierOrder struct {
	// The field to order tiers by.
	Field SponsorsTierOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for Sponsors tiers connections.

type SponsorsTierOrderField

type SponsorsTierOrderField string

Properties by which Sponsors tiers connections can be ordered.

const (
	// Order tiers by creation time.
	SponsorsTierOrderFieldCreatedAt SponsorsTierOrderField = "CREATED_AT"
	// Order tiers by their monthly price in cents
	SponsorsTierOrderFieldMonthlyPriceInCents SponsorsTierOrderField = "MONTHLY_PRICE_IN_CENTS"
)

func (SponsorsTierOrderField) IsValid

func (e SponsorsTierOrderField) IsValid() bool

func (SponsorsTierOrderField) MarshalGQL

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

func (SponsorsTierOrderField) String

func (e SponsorsTierOrderField) String() string

func (*SponsorsTierOrderField) UnmarshalGQL

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

type Sponsorship

type Sponsorship struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the Sponsorship object
	ID string `json:"id"`
	// Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor.
	IsActive bool `json:"isActive"`
	// Whether this sponsorship represents a one-time payment versus a recurring sponsorship.
	IsOneTimePayment bool `json:"isOneTimePayment"`
	// Whether the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this.
	IsSponsorOptedIntoEmail *bool `json:"isSponsorOptedIntoEmail,omitempty"`
	// The entity that is being sponsored
	Maintainer *User `json:"maintainer"`
	// The platform that was most recently used to pay for the sponsorship.
	PaymentSource *SponsorshipPaymentSource `json:"paymentSource,omitempty"`
	// The privacy level for this sponsorship.
	PrivacyLevel SponsorshipPrivacy `json:"privacyLevel"`
	// The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.
	Sponsor *User `json:"sponsor,omitempty"`
	// The user or organization that is sponsoring, if you have permission to view them.
	SponsorEntity Sponsor `json:"sponsorEntity,omitempty"`
	// The entity that is being sponsored
	Sponsorable Sponsorable `json:"sponsorable"`
	// The associated sponsorship tier
	Tier *SponsorsTier `json:"tier,omitempty"`
	// Identifies the date and time when the current tier was chosen for this sponsorship.
	TierSelectedAt *time.Time `json:"tierSelectedAt,omitempty"`
}

A sponsorship relationship between a sponsor and a maintainer

func (Sponsorship) GetID

func (this Sponsorship) GetID() string

ID of the object.

func (Sponsorship) IsNode

func (Sponsorship) IsNode()

type SponsorshipConnection

type SponsorshipConnection struct {
	// A list of edges.
	Edges []*SponsorshipEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Sponsorship `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
	// The total amount in cents of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.
	TotalRecurringMonthlyPriceInCents int `json:"totalRecurringMonthlyPriceInCents"`
	// The total amount in USD of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.
	TotalRecurringMonthlyPriceInDollars int `json:"totalRecurringMonthlyPriceInDollars"`
}

A list of sponsorships either from the subject or received by the subject.

type SponsorshipEdge

type SponsorshipEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Sponsorship `json:"node,omitempty"`
}

An edge in a connection.

type SponsorshipNewsletter

type SponsorshipNewsletter struct {
	// The author of the newsletter.
	Author *User `json:"author,omitempty"`
	// The contents of the newsletter, the message the sponsorable wanted to give.
	Body string `json:"body"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the SponsorshipNewsletter object
	ID string `json:"id"`
	// Indicates if the newsletter has been made available to sponsors.
	IsPublished bool `json:"isPublished"`
	// The user or organization this newsletter is from.
	Sponsorable Sponsorable `json:"sponsorable"`
	// The subject of the newsletter, what it's about.
	Subject string `json:"subject"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

An update sent to sponsors of a user or organization on GitHub Sponsors.

func (SponsorshipNewsletter) GetID

func (this SponsorshipNewsletter) GetID() string

ID of the object.

func (SponsorshipNewsletter) IsNode

func (SponsorshipNewsletter) IsNode()

type SponsorshipNewsletterConnection

type SponsorshipNewsletterConnection struct {
	// A list of edges.
	Edges []*SponsorshipNewsletterEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*SponsorshipNewsletter `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for SponsorshipNewsletter.

type SponsorshipNewsletterEdge

type SponsorshipNewsletterEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *SponsorshipNewsletter `json:"node,omitempty"`
}

An edge in a connection.

type SponsorshipNewsletterOrder

type SponsorshipNewsletterOrder struct {
	// The field to order sponsorship newsletters by.
	Field SponsorshipNewsletterOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for sponsorship newsletter connections.

type SponsorshipNewsletterOrderField

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 SponsorshipOrder

type SponsorshipOrder struct {
	// The field to order sponsorship by.
	Field SponsorshipOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for sponsorship connections.

type SponsorshipOrderField

type SponsorshipOrderField string

Properties by which sponsorship connections can be ordered.

const (
	// Order sponsorship by creation time.
	SponsorshipOrderFieldCreatedAt SponsorshipOrderField = "CREATED_AT"
)

func (SponsorshipOrderField) IsValid

func (e SponsorshipOrderField) IsValid() bool

func (SponsorshipOrderField) MarshalGQL

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

func (SponsorshipOrderField) String

func (e SponsorshipOrderField) String() string

func (*SponsorshipOrderField) UnmarshalGQL

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

type 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 StarOrder

type StarOrder struct {
	// The field in which to order nodes by.
	Field StarOrderField `json:"field"`
	// The direction in which to order nodes.
	Direction OrderDirection `json:"direction"`
}

Ways in which star connections can be ordered.

type StarOrderField

type StarOrderField string

Properties by which star connections can be ordered.

const (
	// Allows ordering a list of stars by when they were created.
	StarOrderFieldStarredAt StarOrderField = "STARRED_AT"
)

func (StarOrderField) IsValid

func (e StarOrderField) IsValid() bool

func (StarOrderField) MarshalGQL

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

func (StarOrderField) String

func (e StarOrderField) String() string

func (*StarOrderField) UnmarshalGQL

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

type StargazerConnection

type StargazerConnection struct {
	// A list of edges.
	Edges []*StargazerEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type StargazerEdge

type StargazerEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	Node   *User  `json:"node"`
	// Identifies when the item was starred.
	StarredAt time.Time `json:"starredAt"`
}

Represents a user that's starred a repository.

type Starrable

type Starrable interface {
	IsStarrable()
	// The Node ID of the Starrable object
	GetID() string
	// Returns a count of how many stargazers there are on this object
	//
	GetStargazerCount() int
	// A list of users who have starred this starrable.
	GetStargazers() *StargazerConnection
	// Returns a boolean indicating whether the viewing user has starred this starrable.
	GetViewerHasStarred() bool
}

Things that can be starred.

type StarredRepositoryConnection

type StarredRepositoryConnection struct {
	// A list of edges.
	Edges []*StarredRepositoryEdge `json:"edges,omitempty"`
	// Is the list of stars for this user truncated? This is true for users that have many stars.
	IsOverLimit bool `json:"isOverLimit"`
	// A list of nodes.
	Nodes []*Repository `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Repository.

type StarredRepositoryEdge

type StarredRepositoryEdge struct {
	// A cursor for use in pagination.
	Cursor string      `json:"cursor"`
	Node   *Repository `json:"node"`
	// Identifies when the item was starred.
	StarredAt time.Time `json:"starredAt"`
}

Represents a starred repository.

type StartOrganizationMigrationInput

type StartOrganizationMigrationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The URL of the organization to migrate.
	SourceOrgURL string `json:"sourceOrgUrl"`
	// The name of the target organization.
	TargetOrgName string `json:"targetOrgName"`
	// The ID of the enterprise the target organization belongs to.
	TargetEnterpriseID string `json:"targetEnterpriseId"`
	// The migration source access token.
	SourceAccessToken string `json:"sourceAccessToken"`
}

Autogenerated input type of StartOrganizationMigration

type StartOrganizationMigrationPayload

type StartOrganizationMigrationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new organization migration.
	OrgMigration *OrganizationMigration `json:"orgMigration,omitempty"`
}

Autogenerated return type of StartOrganizationMigration

type StartRepositoryMigrationInput

type StartRepositoryMigrationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the migration source.
	SourceID string `json:"sourceId"`
	// The ID of the organization that will own the imported repository.
	OwnerID string `json:"ownerId"`
	// The URL of the source repository.
	SourceRepositoryURL *string `json:"sourceRepositoryUrl,omitempty"`
	// The name of the imported repository.
	RepositoryName string `json:"repositoryName"`
	// Whether to continue the migration on error. Defaults to `true`.
	ContinueOnError *bool `json:"continueOnError,omitempty"`
	// The signed URL to access the user-uploaded git archive.
	GitArchiveURL *string `json:"gitArchiveUrl,omitempty"`
	// The signed URL to access the user-uploaded metadata archive.
	MetadataArchiveURL *string `json:"metadataArchiveUrl,omitempty"`
	// The migration source access token.
	AccessToken *string `json:"accessToken,omitempty"`
	// The GitHub personal access token of the user importing to the target repository.
	GithubPat *string `json:"githubPat,omitempty"`
	// Whether to skip migrating releases for the repository.
	SkipReleases *bool `json:"skipReleases,omitempty"`
	// The visibility of the imported repository.
	TargetRepoVisibility *string `json:"targetRepoVisibility,omitempty"`
	// Whether to lock the source repository.
	LockSource *bool `json:"lockSource,omitempty"`
}

Autogenerated input type of StartRepositoryMigration

type StartRepositoryMigrationPayload

type StartRepositoryMigrationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The new repository migration.
	RepositoryMigration *RepositoryMigration `json:"repositoryMigration,omitempty"`
}

Autogenerated return type of StartRepositoryMigration

type Status

type Status struct {
	// A list of status contexts and check runs for this commit.
	CombinedContexts *StatusCheckRollupContextConnection `json:"combinedContexts"`
	// The commit this status is attached to.
	Commit *Commit `json:"commit,omitempty"`
	// Looks up an individual status context by context name.
	Context *StatusContext `json:"context,omitempty"`
	// The individual status contexts for this commit.
	Contexts []*StatusContext `json:"contexts"`
	// The Node ID of the Status object
	ID string `json:"id"`
	// The combined commit status.
	State StatusState `json:"state"`
}

Represents a commit status.

func (Status) GetID

func (this Status) GetID() string

ID of the object.

func (Status) IsNode

func (Status) IsNode()

type StatusCheckConfiguration

type StatusCheckConfiguration struct {
	// The status check context name that must be present on the commit.
	Context string `json:"context"`
	// The optional integration ID that this status check must originate from.
	IntegrationID *int `json:"integrationId,omitempty"`
}

Required status check

type StatusCheckConfigurationInput

type StatusCheckConfigurationInput struct {
	// The status check context name that must be present on the commit.
	Context string `json:"context"`
	// The optional integration ID that this status check must originate from.
	IntegrationID *int `json:"integrationId,omitempty"`
}

Required status check

type StatusCheckRollup

type StatusCheckRollup struct {
	// The commit the status and check runs are attached to.
	Commit *Commit `json:"commit,omitempty"`
	// A list of status contexts and check runs for this commit.
	Contexts *StatusCheckRollupContextConnection `json:"contexts"`
	// The Node ID of the StatusCheckRollup object
	ID string `json:"id"`
	// The combined status for the commit.
	State StatusState `json:"state"`
}

Represents the rollup for both the check runs and status for a commit.

func (StatusCheckRollup) GetID

func (this StatusCheckRollup) GetID() string

ID of the object.

func (StatusCheckRollup) IsNode

func (StatusCheckRollup) IsNode()

type StatusCheckRollupContext

type StatusCheckRollupContext interface {
	IsStatusCheckRollupContext()
}

Types that can be inside a StatusCheckRollup context.

type StatusCheckRollupContextConnection

type StatusCheckRollupContextConnection struct {
	// The number of check runs in this rollup.
	CheckRunCount int `json:"checkRunCount"`
	// Counts of check runs by state.
	CheckRunCountsByState []*CheckRunStateCount `json:"checkRunCountsByState,omitempty"`
	// A list of edges.
	Edges []*StatusCheckRollupContextEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []StatusCheckRollupContext `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// The number of status contexts in this rollup.
	StatusContextCount int `json:"statusContextCount"`
	// Counts of status contexts by state.
	StatusContextCountsByState []*StatusContextStateCount `json:"statusContextCountsByState,omitempty"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for StatusCheckRollupContext.

type StatusCheckRollupContextEdge

type StatusCheckRollupContextEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node StatusCheckRollupContext `json:"node,omitempty"`
}

An edge in a connection.

type StatusContext

type StatusContext struct {
	// The avatar of the OAuth application or the user that created the status
	AvatarURL *string `json:"avatarUrl,omitempty"`
	// This commit this status context is attached to.
	Commit *Commit `json:"commit,omitempty"`
	// The name of this status context.
	Context string `json:"context"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The actor who created this status context.
	Creator Actor `json:"creator,omitempty"`
	// The description for this status context.
	Description *string `json:"description,omitempty"`
	// The Node ID of the StatusContext object
	ID string `json:"id"`
	// Whether this is required to pass before merging for a specific pull request.
	IsRequired bool `json:"isRequired"`
	// The state of this status context.
	State StatusState `json:"state"`
	// The URL for this status context.
	TargetURL *string `json:"targetUrl,omitempty"`
}

Represents an individual commit status context

func (StatusContext) GetID

func (this StatusContext) GetID() string

ID of the object.

func (StatusContext) GetIsRequired

func (this StatusContext) GetIsRequired() bool

Whether this is required to pass before merging for a specific pull request.

func (StatusContext) IsNode

func (StatusContext) IsNode()

func (StatusContext) IsRequirableByPullRequest

func (StatusContext) IsRequirableByPullRequest()

func (StatusContext) IsStatusCheckRollupContext

func (StatusContext) IsStatusCheckRollupContext()

type StatusContextStateCount

type StatusContextStateCount struct {
	// The number of statuses with this state.
	Count int `json:"count"`
	// The state of a status context.
	State StatusState `json:"state"`
}

Represents a count of the state of a status context.

type StatusState

type StatusState string

The possible commit status states.

const (
	// Status is expected.
	StatusStateExpected StatusState = "EXPECTED"
	// Status is errored.
	StatusStateError StatusState = "ERROR"
	// Status is failing.
	StatusStateFailure StatusState = "FAILURE"
	// Status is pending.
	StatusStatePending StatusState = "PENDING"
	// Status is successful.
	StatusStateSuccess StatusState = "SUCCESS"
)

func (StatusState) IsValid

func (e StatusState) IsValid() bool

func (StatusState) MarshalGQL

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

func (StatusState) String

func (e StatusState) String() string

func (*StatusState) UnmarshalGQL

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

type StripeConnectAccount

type StripeConnectAccount struct {
	// The account number used to identify this Stripe Connect account.
	AccountID string `json:"accountId"`
	// The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization.
	BillingCountryOrRegion *string `json:"billingCountryOrRegion,omitempty"`
	// The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization.
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
	// Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile.
	IsActive bool `json:"isActive"`
	// The GitHub Sponsors profile associated with this Stripe Connect account.
	SponsorsListing *SponsorsListing `json:"sponsorsListing"`
	// The URL to access this Stripe Connect account on Stripe's website.
	StripeDashboardURL string `json:"stripeDashboardUrl"`
}

A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors.

type SubmitPullRequestReviewInput

type SubmitPullRequestReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Pull Request ID to submit any pending reviews.
	PullRequestID *string `json:"pullRequestId,omitempty"`
	// The Pull Request Review ID to submit.
	PullRequestReviewID *string `json:"pullRequestReviewId,omitempty"`
	// The event to send to the Pull Request Review.
	Event PullRequestReviewEvent `json:"event"`
	// The text field to set on the Pull Request Review.
	Body *string `json:"body,omitempty"`
}

Autogenerated input type of SubmitPullRequestReview

type SubmitPullRequestReviewPayload

type SubmitPullRequestReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The submitted pull request review.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}

Autogenerated return type of SubmitPullRequestReview

type Submodule

type Submodule struct {
	// The branch of the upstream submodule for tracking updates
	Branch *string `json:"branch,omitempty"`
	// The git URL of the submodule repository
	GitURL string `json:"gitUrl"`
	// The name of the submodule in .gitmodules
	Name string `json:"name"`
	// The name of the submodule in .gitmodules (Base64-encoded)
	NameRaw string `json:"nameRaw"`
	// The path in the superproject that this submodule is located in
	Path string `json:"path"`
	// The path in the superproject that this submodule is located in (Base64-encoded)
	PathRaw string `json:"pathRaw"`
	// The commit revision of the subproject repository being tracked by the submodule
	SubprojectCommitOid *string `json:"subprojectCommitOid,omitempty"`
}

A pointer to a repository at a specific revision embedded inside another repository.

type SubmoduleConnection

type SubmoduleConnection struct {
	// A list of edges.
	Edges []*SubmoduleEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Submodule `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Submodule.

type SubmoduleEdge

type SubmoduleEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Submodule `json:"node,omitempty"`
}

An edge in a connection.

type Subscribable

type Subscribable interface {
	IsSubscribable()
	// The Node ID of the Subscribable object
	GetID() string
	// Check if the viewer is able to change their subscription status for the repository.
	GetViewerCanSubscribe() bool
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	GetViewerSubscription() *SubscriptionState
}

Entities that can be subscribed to for web and email notifications.

type SubscribableThread

type SubscribableThread interface {
	IsSubscribableThread()
	// The Node ID of the SubscribableThread object
	GetID() string
	// Identifies the viewer's thread subscription form action.
	GetViewerThreadSubscriptionFormAction() *ThreadSubscriptionFormAction
	// Identifies the viewer's thread subscription status.
	GetViewerThreadSubscriptionStatus() *ThreadSubscriptionState
}

Entities that can be subscribed to for web and email notifications.

type SubscribedEvent

type SubscribedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the SubscribedEvent object
	ID string `json:"id"`
	// Object referenced by event.
	Subscribable Subscribable `json:"subscribable"`
}

Represents a 'subscribed' event on a given `Subscribable`.

func (SubscribedEvent) GetID

func (this SubscribedEvent) GetID() string

ID of the object.

func (SubscribedEvent) IsIssueTimelineItem

func (SubscribedEvent) IsIssueTimelineItem()

func (SubscribedEvent) IsIssueTimelineItems

func (SubscribedEvent) IsIssueTimelineItems()

func (SubscribedEvent) IsNode

func (SubscribedEvent) IsNode()

func (SubscribedEvent) IsPullRequestTimelineItem

func (SubscribedEvent) IsPullRequestTimelineItem()

func (SubscribedEvent) IsPullRequestTimelineItems

func (SubscribedEvent) IsPullRequestTimelineItems()

type SubscriptionState

type SubscriptionState string

The possible states of a subscription.

const (
	// The User is only notified when participating or @mentioned.
	SubscriptionStateUnsubscribed SubscriptionState = "UNSUBSCRIBED"
	// The User is notified of all conversations.
	SubscriptionStateSubscribed SubscriptionState = "SUBSCRIBED"
	// The User is never notified.
	SubscriptionStateIgnored SubscriptionState = "IGNORED"
)

func (SubscriptionState) IsValid

func (e SubscriptionState) IsValid() bool

func (SubscriptionState) MarshalGQL

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

func (SubscriptionState) String

func (e SubscriptionState) String() string

func (*SubscriptionState) UnmarshalGQL

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

type SuggestedReviewer

type SuggestedReviewer struct {
	// Is this suggestion based on past commits?
	IsAuthor bool `json:"isAuthor"`
	// Is this suggestion based on past review comments?
	IsCommenter bool `json:"isCommenter"`
	// Identifies the user suggested to review the pull request.
	Reviewer *User `json:"reviewer"`
}

A suggestion to review a pull request based on a user's commit history and review comments.

type Tag

type Tag struct {
	// An abbreviated version of the Git object ID
	AbbreviatedOid string `json:"abbreviatedOid"`
	// The HTTP path for this Git object
	CommitResourcePath string `json:"commitResourcePath"`
	// The HTTP URL for this Git object
	CommitURL string `json:"commitUrl"`
	// The Node ID of the Tag object
	ID string `json:"id"`
	// The Git tag message.
	Message *string `json:"message,omitempty"`
	// The Git tag name.
	Name string `json:"name"`
	// The Git object ID
	Oid string `json:"oid"`
	// The Repository the Git object belongs to
	Repository *Repository `json:"repository"`
	// Details about the tag author.
	Tagger *GitActor `json:"tagger,omitempty"`
	// The Git object the tag points to.
	Target GitObject `json:"target"`
}

Represents a Git tag.

func (Tag) GetAbbreviatedOid

func (this Tag) GetAbbreviatedOid() string

An abbreviated version of the Git object ID

func (Tag) GetCommitResourcePath

func (this Tag) GetCommitResourcePath() string

The HTTP path for this Git object

func (Tag) GetCommitURL

func (this Tag) GetCommitURL() string

The HTTP URL for this Git object

func (Tag) GetID

func (this Tag) GetID() string

The Node ID of the GitObject object

func (Tag) GetOid

func (this Tag) GetOid() string

The Git object ID

func (Tag) GetRepository

func (this Tag) GetRepository() *Repository

The Repository the Git object belongs to

func (Tag) IsGitObject

func (Tag) IsGitObject()

func (Tag) IsNode

func (Tag) IsNode()

type TagNamePatternParameters

type TagNamePatternParameters struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate bool `json:"negate"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the tag_name_pattern rule

func (TagNamePatternParameters) IsRuleParameters

func (TagNamePatternParameters) IsRuleParameters()

type TagNamePatternParametersInput

type TagNamePatternParametersInput struct {
	// How this rule will appear to users.
	Name *string `json:"name,omitempty"`
	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty"`
	// The operator to use for matching.
	Operator string `json:"operator"`
	// The pattern to match with.
	Pattern string `json:"pattern"`
}

Parameters to be used for the tag_name_pattern rule

type Team

type Team struct {
	// A list of teams that are ancestors of this team.
	Ancestors *TeamConnection `json:"ancestors"`
	// A URL pointing to the team's avatar.
	AvatarURL *string `json:"avatarUrl,omitempty"`
	// List of child teams belonging to this team
	ChildTeams *TeamConnection `json:"childTeams"`
	// The slug corresponding to the organization and team.
	CombinedSlug string `json:"combinedSlug"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The description of the team.
	Description *string `json:"description,omitempty"`
	// Find a team discussion by its number.
	Discussion *TeamDiscussion `json:"discussion,omitempty"`
	// A list of team discussions.
	Discussions *TeamDiscussionConnection `json:"discussions"`
	// The HTTP path for team discussions
	DiscussionsResourcePath string `json:"discussionsResourcePath"`
	// The HTTP URL for team discussions
	DiscussionsURL string `json:"discussionsUrl"`
	// The HTTP path for editing this team
	EditTeamResourcePath string `json:"editTeamResourcePath"`
	// The HTTP URL for editing this team
	EditTeamURL string `json:"editTeamUrl"`
	// The Node ID of the Team object
	ID string `json:"id"`
	// A list of pending invitations for users to this team
	Invitations *OrganizationInvitationConnection `json:"invitations,omitempty"`
	// Get the status messages members of this entity have set that are either public or visible only to the organization.
	MemberStatuses *UserStatusConnection `json:"memberStatuses"`
	// A list of users who are members of this team.
	Members *TeamMemberConnection `json:"members"`
	// The HTTP path for the team' members
	MembersResourcePath string `json:"membersResourcePath"`
	// The HTTP URL for the team' members
	MembersURL string `json:"membersUrl"`
	// The name of the team.
	Name string `json:"name"`
	// The HTTP path creating a new team
	NewTeamResourcePath string `json:"newTeamResourcePath"`
	// The HTTP URL creating a new team
	NewTeamURL string `json:"newTeamUrl"`
	// The notification setting that the team has set.
	NotificationSetting TeamNotificationSetting `json:"notificationSetting"`
	// The organization that owns this team.
	Organization *Organization `json:"organization"`
	// The parent team of the team.
	ParentTeam *Team `json:"parentTeam,omitempty"`
	// The level of privacy the team has.
	Privacy TeamPrivacy `json:"privacy"`
	// Finds and returns the project according to the provided project number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// List of projects this team has collaborator access to.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// A list of repositories this team has access to.
	Repositories *TeamRepositoryConnection `json:"repositories"`
	// The HTTP path for this team's repositories
	RepositoriesResourcePath string `json:"repositoriesResourcePath"`
	// The HTTP URL for this team's repositories
	RepositoriesURL string `json:"repositoriesUrl"`
	// The HTTP path for this team
	ResourcePath string `json:"resourcePath"`
	// The slug corresponding to the team.
	Slug string `json:"slug"`
	// The HTTP path for this team's teams
	TeamsResourcePath string `json:"teamsResourcePath"`
	// The HTTP URL for this team's teams
	TeamsURL string `json:"teamsUrl"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this team
	URL string `json:"url"`
	// Team is adminable by the viewer.
	ViewerCanAdminister bool `json:"viewerCanAdminister"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
}

A team of users in an organization.

func (Team) GetID

func (this Team) GetID() string

ID of the object.

func (Team) GetMemberStatuses

func (this Team) GetMemberStatuses() *UserStatusConnection

Get the status messages members of this entity have set that are either public or visible only to the organization.

func (Team) GetViewerCanSubscribe

func (this Team) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (Team) GetViewerSubscription

func (this Team) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (Team) IsBranchActorAllowanceActor

func (Team) IsBranchActorAllowanceActor()

func (Team) IsBypassActor

func (Team) IsBypassActor()

func (Team) IsDeploymentReviewer

func (Team) IsDeploymentReviewer()

func (Team) IsMemberStatusable

func (Team) IsMemberStatusable()

func (Team) IsNode

func (Team) IsNode()

func (Team) IsPermissionGranter

func (Team) IsPermissionGranter()

func (Team) IsProjectV2Actor

func (Team) IsProjectV2Actor()

func (Team) IsPushAllowanceActor

func (Team) IsPushAllowanceActor()

func (Team) IsRequestedReviewer

func (Team) IsRequestedReviewer()

func (Team) IsReviewDismissalAllowanceActor

func (Team) IsReviewDismissalAllowanceActor()

func (Team) IsSubscribable

func (Team) IsSubscribable()

type TeamAddMemberAuditEntry

type TeamAddMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the TeamAddMemberAuditEntry object
	ID string `json:"id"`
	// Whether the team was mapped to an LDAP Group.
	IsLdapMapped *bool `json:"isLdapMapped,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a team.add_member event.

func (TeamAddMemberAuditEntry) GetAction

func (this TeamAddMemberAuditEntry) GetAction() string

The action name

func (TeamAddMemberAuditEntry) GetActor

func (this TeamAddMemberAuditEntry) GetActor() AuditEntryActor

The user who initiated the action

func (TeamAddMemberAuditEntry) GetActorIP

func (this TeamAddMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (TeamAddMemberAuditEntry) GetActorLocation

func (this TeamAddMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (TeamAddMemberAuditEntry) GetActorLogin

func (this TeamAddMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (TeamAddMemberAuditEntry) GetActorResourcePath

func (this TeamAddMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (TeamAddMemberAuditEntry) GetActorURL

func (this TeamAddMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (TeamAddMemberAuditEntry) GetCreatedAt

func (this TeamAddMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (TeamAddMemberAuditEntry) GetID

func (this TeamAddMemberAuditEntry) GetID() string

ID of the object.

func (TeamAddMemberAuditEntry) GetOperationType

func (this TeamAddMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (TeamAddMemberAuditEntry) GetOrganization

func (this TeamAddMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (TeamAddMemberAuditEntry) GetOrganizationName

func (this TeamAddMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (TeamAddMemberAuditEntry) GetOrganizationResourcePath

func (this TeamAddMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (TeamAddMemberAuditEntry) GetOrganizationURL

func (this TeamAddMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (TeamAddMemberAuditEntry) GetTeam

func (this TeamAddMemberAuditEntry) GetTeam() *Team

The team associated with the action

func (TeamAddMemberAuditEntry) GetTeamName

func (this TeamAddMemberAuditEntry) GetTeamName() *string

The name of the team

func (TeamAddMemberAuditEntry) GetTeamResourcePath

func (this TeamAddMemberAuditEntry) GetTeamResourcePath() *string

The HTTP path for this team

func (TeamAddMemberAuditEntry) GetTeamURL

func (this TeamAddMemberAuditEntry) GetTeamURL() *string

The HTTP URL for this team

func (TeamAddMemberAuditEntry) GetUser

func (this TeamAddMemberAuditEntry) GetUser() *User

The user affected by the action

func (TeamAddMemberAuditEntry) GetUserLogin

func (this TeamAddMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (TeamAddMemberAuditEntry) GetUserResourcePath

func (this TeamAddMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (TeamAddMemberAuditEntry) GetUserURL

func (this TeamAddMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (TeamAddMemberAuditEntry) IsAuditEntry

func (TeamAddMemberAuditEntry) IsAuditEntry()

func (TeamAddMemberAuditEntry) IsNode

func (TeamAddMemberAuditEntry) IsNode()

func (TeamAddMemberAuditEntry) IsOrganizationAuditEntry

func (TeamAddMemberAuditEntry) IsOrganizationAuditEntry()

func (TeamAddMemberAuditEntry) IsOrganizationAuditEntryData

func (TeamAddMemberAuditEntry) IsOrganizationAuditEntryData()

func (TeamAddMemberAuditEntry) IsTeamAuditEntryData

func (TeamAddMemberAuditEntry) IsTeamAuditEntryData()

type TeamAddRepositoryAuditEntry

type TeamAddRepositoryAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the TeamAddRepositoryAuditEntry object
	ID string `json:"id"`
	// Whether the team was mapped to an LDAP Group.
	IsLdapMapped *bool `json:"isLdapMapped,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a team.add_repository event.

func (TeamAddRepositoryAuditEntry) GetAction

func (this TeamAddRepositoryAuditEntry) GetAction() string

The action name

func (TeamAddRepositoryAuditEntry) GetActor

The user who initiated the action

func (TeamAddRepositoryAuditEntry) GetActorIP

func (this TeamAddRepositoryAuditEntry) GetActorIP() *string

The IP address of the actor

func (TeamAddRepositoryAuditEntry) GetActorLocation

func (this TeamAddRepositoryAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (TeamAddRepositoryAuditEntry) GetActorLogin

func (this TeamAddRepositoryAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (TeamAddRepositoryAuditEntry) GetActorResourcePath

func (this TeamAddRepositoryAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (TeamAddRepositoryAuditEntry) GetActorURL

func (this TeamAddRepositoryAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (TeamAddRepositoryAuditEntry) GetCreatedAt

func (this TeamAddRepositoryAuditEntry) GetCreatedAt() string

The time the action was initiated

func (TeamAddRepositoryAuditEntry) GetID

func (this TeamAddRepositoryAuditEntry) GetID() string

ID of the object.

func (TeamAddRepositoryAuditEntry) GetOperationType

func (this TeamAddRepositoryAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (TeamAddRepositoryAuditEntry) GetOrganization

func (this TeamAddRepositoryAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (TeamAddRepositoryAuditEntry) GetOrganizationName

func (this TeamAddRepositoryAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (TeamAddRepositoryAuditEntry) GetOrganizationResourcePath

func (this TeamAddRepositoryAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (TeamAddRepositoryAuditEntry) GetOrganizationURL

func (this TeamAddRepositoryAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (TeamAddRepositoryAuditEntry) GetRepository

func (this TeamAddRepositoryAuditEntry) GetRepository() *Repository

The repository associated with the action

func (TeamAddRepositoryAuditEntry) GetRepositoryName

func (this TeamAddRepositoryAuditEntry) GetRepositoryName() *string

The name of the repository

func (TeamAddRepositoryAuditEntry) GetRepositoryResourcePath

func (this TeamAddRepositoryAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (TeamAddRepositoryAuditEntry) GetRepositoryURL

func (this TeamAddRepositoryAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (TeamAddRepositoryAuditEntry) GetTeam

func (this TeamAddRepositoryAuditEntry) GetTeam() *Team

The team associated with the action

func (TeamAddRepositoryAuditEntry) GetTeamName

func (this TeamAddRepositoryAuditEntry) GetTeamName() *string

The name of the team

func (TeamAddRepositoryAuditEntry) GetTeamResourcePath

func (this TeamAddRepositoryAuditEntry) GetTeamResourcePath() *string

The HTTP path for this team

func (TeamAddRepositoryAuditEntry) GetTeamURL

func (this TeamAddRepositoryAuditEntry) GetTeamURL() *string

The HTTP URL for this team

func (TeamAddRepositoryAuditEntry) GetUser

func (this TeamAddRepositoryAuditEntry) GetUser() *User

The user affected by the action

func (TeamAddRepositoryAuditEntry) GetUserLogin

func (this TeamAddRepositoryAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (TeamAddRepositoryAuditEntry) GetUserResourcePath

func (this TeamAddRepositoryAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (TeamAddRepositoryAuditEntry) GetUserURL

func (this TeamAddRepositoryAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (TeamAddRepositoryAuditEntry) IsAuditEntry

func (TeamAddRepositoryAuditEntry) IsAuditEntry()

func (TeamAddRepositoryAuditEntry) IsNode

func (TeamAddRepositoryAuditEntry) IsNode()

func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry

func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntry()

func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData

func (TeamAddRepositoryAuditEntry) IsOrganizationAuditEntryData()

func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData

func (TeamAddRepositoryAuditEntry) IsRepositoryAuditEntryData()

func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData

func (TeamAddRepositoryAuditEntry) IsTeamAuditEntryData()

type TeamAuditEntryData

type TeamAuditEntryData interface {
	IsTeamAuditEntryData()
	// The team associated with the action
	GetTeam() *Team
	// The name of the team
	GetTeamName() *string
	// The HTTP path for this team
	GetTeamResourcePath() *string
	// The HTTP URL for this team
	GetTeamURL() *string
}

Metadata for an audit entry with action team.*

type TeamChangeParentTeamAuditEntry

type TeamChangeParentTeamAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the TeamChangeParentTeamAuditEntry object
	ID string `json:"id"`
	// Whether the team was mapped to an LDAP Group.
	IsLdapMapped *bool `json:"isLdapMapped,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The new parent team.
	ParentTeam *Team `json:"parentTeam,omitempty"`
	// The name of the new parent team
	ParentTeamName *string `json:"parentTeamName,omitempty"`
	// The name of the former parent team
	ParentTeamNameWas *string `json:"parentTeamNameWas,omitempty"`
	// The HTTP path for the parent team
	ParentTeamResourcePath *string `json:"parentTeamResourcePath,omitempty"`
	// The HTTP URL for the parent team
	ParentTeamURL *string `json:"parentTeamUrl,omitempty"`
	// The former parent team.
	ParentTeamWas *Team `json:"parentTeamWas,omitempty"`
	// The HTTP path for the previous parent team
	ParentTeamWasResourcePath *string `json:"parentTeamWasResourcePath,omitempty"`
	// The HTTP URL for the previous parent team
	ParentTeamWasURL *string `json:"parentTeamWasUrl,omitempty"`
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a team.change_parent_team event.

func (TeamChangeParentTeamAuditEntry) GetAction

func (this TeamChangeParentTeamAuditEntry) GetAction() string

The action name

func (TeamChangeParentTeamAuditEntry) GetActor

The user who initiated the action

func (TeamChangeParentTeamAuditEntry) GetActorIP

func (this TeamChangeParentTeamAuditEntry) GetActorIP() *string

The IP address of the actor

func (TeamChangeParentTeamAuditEntry) GetActorLocation

func (this TeamChangeParentTeamAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (TeamChangeParentTeamAuditEntry) GetActorLogin

func (this TeamChangeParentTeamAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (TeamChangeParentTeamAuditEntry) GetActorResourcePath

func (this TeamChangeParentTeamAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (TeamChangeParentTeamAuditEntry) GetActorURL

func (this TeamChangeParentTeamAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (TeamChangeParentTeamAuditEntry) GetCreatedAt

func (this TeamChangeParentTeamAuditEntry) GetCreatedAt() string

The time the action was initiated

func (TeamChangeParentTeamAuditEntry) GetID

ID of the object.

func (TeamChangeParentTeamAuditEntry) GetOperationType

func (this TeamChangeParentTeamAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (TeamChangeParentTeamAuditEntry) GetOrganization

func (this TeamChangeParentTeamAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (TeamChangeParentTeamAuditEntry) GetOrganizationName

func (this TeamChangeParentTeamAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath

func (this TeamChangeParentTeamAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (TeamChangeParentTeamAuditEntry) GetOrganizationURL

func (this TeamChangeParentTeamAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (TeamChangeParentTeamAuditEntry) GetTeam

func (this TeamChangeParentTeamAuditEntry) GetTeam() *Team

The team associated with the action

func (TeamChangeParentTeamAuditEntry) GetTeamName

func (this TeamChangeParentTeamAuditEntry) GetTeamName() *string

The name of the team

func (TeamChangeParentTeamAuditEntry) GetTeamResourcePath

func (this TeamChangeParentTeamAuditEntry) GetTeamResourcePath() *string

The HTTP path for this team

func (TeamChangeParentTeamAuditEntry) GetTeamURL

func (this TeamChangeParentTeamAuditEntry) GetTeamURL() *string

The HTTP URL for this team

func (TeamChangeParentTeamAuditEntry) GetUser

func (this TeamChangeParentTeamAuditEntry) GetUser() *User

The user affected by the action

func (TeamChangeParentTeamAuditEntry) GetUserLogin

func (this TeamChangeParentTeamAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (TeamChangeParentTeamAuditEntry) GetUserResourcePath

func (this TeamChangeParentTeamAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (TeamChangeParentTeamAuditEntry) GetUserURL

func (this TeamChangeParentTeamAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (TeamChangeParentTeamAuditEntry) IsAuditEntry

func (TeamChangeParentTeamAuditEntry) IsAuditEntry()

func (TeamChangeParentTeamAuditEntry) IsNode

func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntry

func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntry()

func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntryData

func (TeamChangeParentTeamAuditEntry) IsOrganizationAuditEntryData()

func (TeamChangeParentTeamAuditEntry) IsTeamAuditEntryData

func (TeamChangeParentTeamAuditEntry) IsTeamAuditEntryData()

type TeamConnection

type TeamConnection struct {
	// A list of edges.
	Edges []*TeamEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Team `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Team.

type TeamDiscussion

type TeamDiscussion struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the discussion's team.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The body as Markdown.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// Identifies the discussion body hash.
	BodyVersion string `json:"bodyVersion"`
	// A list of comments on this discussion.
	Comments *TeamDiscussionCommentConnection `json:"comments"`
	// The HTTP path for discussion comments
	CommentsResourcePath string `json:"commentsResourcePath"`
	// The HTTP URL for discussion comments
	CommentsURL string `json:"commentsUrl"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the TeamDiscussion object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// Whether or not the discussion is pinned.
	IsPinned bool `json:"isPinned"`
	// Whether or not the discussion is only visible to team members and organization owners.
	IsPrivate bool `json:"isPrivate"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Identifies the discussion within its team.
	Number int `json:"number"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The HTTP path for this discussion
	ResourcePath string `json:"resourcePath"`
	// The team that defines the context of this discussion.
	Team *Team `json:"team"`
	// The title of the discussion
	Title string `json:"title"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this discussion
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Whether or not the current viewer can pin this discussion.
	ViewerCanPin bool `json:"viewerCanPin"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the viewer is able to change their subscription status for the repository.
	ViewerCanSubscribe bool `json:"viewerCanSubscribe"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
	// Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
	ViewerSubscription *SubscriptionState `json:"viewerSubscription,omitempty"`
}

A team discussion.

func (TeamDiscussion) GetAuthor

func (this TeamDiscussion) GetAuthor() Actor

The actor who authored the comment.

func (TeamDiscussion) GetAuthorAssociation

func (this TeamDiscussion) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (TeamDiscussion) GetBody

func (this TeamDiscussion) GetBody() string

The body as Markdown.

func (TeamDiscussion) GetBodyHTML

func (this TeamDiscussion) GetBodyHTML() string

The body rendered to HTML.

func (TeamDiscussion) GetBodyText

func (this TeamDiscussion) GetBodyText() string

The body rendered to text.

func (TeamDiscussion) GetCreatedAt

func (this TeamDiscussion) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (TeamDiscussion) GetCreatedViaEmail

func (this TeamDiscussion) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (TeamDiscussion) GetDatabaseID

func (this TeamDiscussion) GetDatabaseID() *int

Identifies the primary key from the database.

func (TeamDiscussion) GetEditor

func (this TeamDiscussion) GetEditor() Actor

The actor who edited the comment.

func (TeamDiscussion) GetID

func (this TeamDiscussion) GetID() string

The Node ID of the Comment object

func (TeamDiscussion) GetIncludesCreatedEdit

func (this TeamDiscussion) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (TeamDiscussion) GetLastEditedAt

func (this TeamDiscussion) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (TeamDiscussion) GetPublishedAt

func (this TeamDiscussion) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (TeamDiscussion) GetReactionGroups

func (this TeamDiscussion) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (TeamDiscussion) GetReactions

func (this TeamDiscussion) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (TeamDiscussion) GetResourcePath

func (this TeamDiscussion) GetResourcePath() string

The HTML path to this resource.

func (TeamDiscussion) GetURL

func (this TeamDiscussion) GetURL() string

The URL to this resource.

func (TeamDiscussion) GetUpdatedAt

func (this TeamDiscussion) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (TeamDiscussion) GetUserContentEdits

func (this TeamDiscussion) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (TeamDiscussion) GetViewerCanDelete

func (this TeamDiscussion) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (TeamDiscussion) GetViewerCanReact

func (this TeamDiscussion) GetViewerCanReact() bool

Can user react to this subject

func (TeamDiscussion) GetViewerCanSubscribe

func (this TeamDiscussion) GetViewerCanSubscribe() bool

Check if the viewer is able to change their subscription status for the repository.

func (TeamDiscussion) GetViewerCanUpdate

func (this TeamDiscussion) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (TeamDiscussion) GetViewerCannotUpdateReasons

func (this TeamDiscussion) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (TeamDiscussion) GetViewerDidAuthor

func (this TeamDiscussion) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (TeamDiscussion) GetViewerSubscription

func (this TeamDiscussion) GetViewerSubscription() *SubscriptionState

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

func (TeamDiscussion) IsComment

func (TeamDiscussion) IsComment()

func (TeamDiscussion) IsDeletable

func (TeamDiscussion) IsDeletable()

func (TeamDiscussion) IsNode

func (TeamDiscussion) IsNode()

func (TeamDiscussion) IsReactable

func (TeamDiscussion) IsReactable()

func (TeamDiscussion) IsSubscribable

func (TeamDiscussion) IsSubscribable()

func (TeamDiscussion) IsUniformResourceLocatable

func (TeamDiscussion) IsUniformResourceLocatable()

func (TeamDiscussion) IsUpdatable

func (TeamDiscussion) IsUpdatable()

func (TeamDiscussion) IsUpdatableComment

func (TeamDiscussion) IsUpdatableComment()

type TeamDiscussionComment

type TeamDiscussionComment struct {
	// The actor who authored the comment.
	Author Actor `json:"author,omitempty"`
	// Author's association with the comment's team.
	AuthorAssociation CommentAuthorAssociation `json:"authorAssociation"`
	// The body as Markdown.
	Body string `json:"body"`
	// The body rendered to HTML.
	BodyHTML string `json:"bodyHTML"`
	// The body rendered to text.
	BodyText string `json:"bodyText"`
	// The current version of the body content.
	BodyVersion string `json:"bodyVersion"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Check if this comment was created via an email reply.
	CreatedViaEmail bool `json:"createdViaEmail"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The discussion this comment is about.
	Discussion *TeamDiscussion `json:"discussion"`
	// The actor who edited the comment.
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the TeamDiscussionComment object
	ID string `json:"id"`
	// Check if this comment was edited and includes an edit with the creation data
	IncludesCreatedEdit bool `json:"includesCreatedEdit"`
	// The moment the editor made the last edit
	LastEditedAt *time.Time `json:"lastEditedAt,omitempty"`
	// Identifies the comment number.
	Number int `json:"number"`
	// Identifies when the comment was published at.
	PublishedAt *time.Time `json:"publishedAt,omitempty"`
	// A list of reactions grouped by content left on the subject.
	ReactionGroups []*ReactionGroup `json:"reactionGroups,omitempty"`
	// A list of Reactions left on the Issue.
	Reactions *ReactionConnection `json:"reactions"`
	// The HTTP path for this comment
	ResourcePath string `json:"resourcePath"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this comment
	URL string `json:"url"`
	// A list of edits to this content.
	UserContentEdits *UserContentEditConnection `json:"userContentEdits,omitempty"`
	// Check if the current viewer can delete this object.
	ViewerCanDelete bool `json:"viewerCanDelete"`
	// Can user react to this subject
	ViewerCanReact bool `json:"viewerCanReact"`
	// Check if the current viewer can update this object.
	ViewerCanUpdate bool `json:"viewerCanUpdate"`
	// Reasons why the current viewer can not update this comment.
	ViewerCannotUpdateReasons []CommentCannotUpdateReason `json:"viewerCannotUpdateReasons"`
	// Did the viewer author this comment.
	ViewerDidAuthor bool `json:"viewerDidAuthor"`
}

A comment on a team discussion.

func (TeamDiscussionComment) GetAuthor

func (this TeamDiscussionComment) GetAuthor() Actor

The actor who authored the comment.

func (TeamDiscussionComment) GetAuthorAssociation

func (this TeamDiscussionComment) GetAuthorAssociation() CommentAuthorAssociation

Author's association with the subject of the comment.

func (TeamDiscussionComment) GetBody

func (this TeamDiscussionComment) GetBody() string

The body as Markdown.

func (TeamDiscussionComment) GetBodyHTML

func (this TeamDiscussionComment) GetBodyHTML() string

The body rendered to HTML.

func (TeamDiscussionComment) GetBodyText

func (this TeamDiscussionComment) GetBodyText() string

The body rendered to text.

func (TeamDiscussionComment) GetCreatedAt

func (this TeamDiscussionComment) GetCreatedAt() time.Time

Identifies the date and time when the object was created.

func (TeamDiscussionComment) GetCreatedViaEmail

func (this TeamDiscussionComment) GetCreatedViaEmail() bool

Check if this comment was created via an email reply.

func (TeamDiscussionComment) GetDatabaseID

func (this TeamDiscussionComment) GetDatabaseID() *int

Identifies the primary key from the database.

func (TeamDiscussionComment) GetEditor

func (this TeamDiscussionComment) GetEditor() Actor

The actor who edited the comment.

func (TeamDiscussionComment) GetID

func (this TeamDiscussionComment) GetID() string

The Node ID of the Comment object

func (TeamDiscussionComment) GetIncludesCreatedEdit

func (this TeamDiscussionComment) GetIncludesCreatedEdit() bool

Check if this comment was edited and includes an edit with the creation data

func (TeamDiscussionComment) GetLastEditedAt

func (this TeamDiscussionComment) GetLastEditedAt() *time.Time

The moment the editor made the last edit

func (TeamDiscussionComment) GetPublishedAt

func (this TeamDiscussionComment) GetPublishedAt() *time.Time

Identifies when the comment was published at.

func (TeamDiscussionComment) GetReactionGroups

func (this TeamDiscussionComment) GetReactionGroups() []*ReactionGroup

A list of reactions grouped by content left on the subject.

func (TeamDiscussionComment) GetReactions

func (this TeamDiscussionComment) GetReactions() *ReactionConnection

A list of Reactions left on the Issue.

func (TeamDiscussionComment) GetResourcePath

func (this TeamDiscussionComment) GetResourcePath() string

The HTML path to this resource.

func (TeamDiscussionComment) GetURL

func (this TeamDiscussionComment) GetURL() string

The URL to this resource.

func (TeamDiscussionComment) GetUpdatedAt

func (this TeamDiscussionComment) GetUpdatedAt() time.Time

Identifies the date and time when the object was last updated.

func (TeamDiscussionComment) GetUserContentEdits

func (this TeamDiscussionComment) GetUserContentEdits() *UserContentEditConnection

A list of edits to this content.

func (TeamDiscussionComment) GetViewerCanDelete

func (this TeamDiscussionComment) GetViewerCanDelete() bool

Check if the current viewer can delete this object.

func (TeamDiscussionComment) GetViewerCanReact

func (this TeamDiscussionComment) GetViewerCanReact() bool

Can user react to this subject

func (TeamDiscussionComment) GetViewerCanUpdate

func (this TeamDiscussionComment) GetViewerCanUpdate() bool

Check if the current viewer can update this object.

func (TeamDiscussionComment) GetViewerCannotUpdateReasons

func (this TeamDiscussionComment) GetViewerCannotUpdateReasons() []CommentCannotUpdateReason

Reasons why the current viewer can not update this comment.

func (TeamDiscussionComment) GetViewerDidAuthor

func (this TeamDiscussionComment) GetViewerDidAuthor() bool

Did the viewer author this comment.

func (TeamDiscussionComment) IsComment

func (TeamDiscussionComment) IsComment()

func (TeamDiscussionComment) IsDeletable

func (TeamDiscussionComment) IsDeletable()

func (TeamDiscussionComment) IsNode

func (TeamDiscussionComment) IsNode()

func (TeamDiscussionComment) IsReactable

func (TeamDiscussionComment) IsReactable()

func (TeamDiscussionComment) IsUniformResourceLocatable

func (TeamDiscussionComment) IsUniformResourceLocatable()

func (TeamDiscussionComment) IsUpdatable

func (TeamDiscussionComment) IsUpdatable()

func (TeamDiscussionComment) IsUpdatableComment

func (TeamDiscussionComment) IsUpdatableComment()

type TeamDiscussionCommentConnection

type TeamDiscussionCommentConnection struct {
	// A list of edges.
	Edges []*TeamDiscussionCommentEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*TeamDiscussionComment `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for TeamDiscussionComment.

type TeamDiscussionCommentEdge

type TeamDiscussionCommentEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *TeamDiscussionComment `json:"node,omitempty"`
}

An edge in a connection.

type TeamDiscussionCommentOrder

type TeamDiscussionCommentOrder struct {
	// The field by which to order nodes.
	Field TeamDiscussionCommentOrderField `json:"field"`
	// The direction in which to order nodes.
	Direction OrderDirection `json:"direction"`
}

Ways in which team discussion comment connections can be ordered.

type TeamDiscussionCommentOrderField

type TeamDiscussionCommentOrderField string

Properties by which team discussion comment connections can be ordered.

const (
	// Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering).
	TeamDiscussionCommentOrderFieldNumber TeamDiscussionCommentOrderField = "NUMBER"
)

func (TeamDiscussionCommentOrderField) IsValid

func (TeamDiscussionCommentOrderField) MarshalGQL

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

func (TeamDiscussionCommentOrderField) String

func (*TeamDiscussionCommentOrderField) UnmarshalGQL

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

type TeamDiscussionConnection

type TeamDiscussionConnection struct {
	// A list of edges.
	Edges []*TeamDiscussionEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*TeamDiscussion `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for TeamDiscussion.

type TeamDiscussionEdge

type TeamDiscussionEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *TeamDiscussion `json:"node,omitempty"`
}

An edge in a connection.

type TeamDiscussionOrder

type TeamDiscussionOrder struct {
	// The field by which to order nodes.
	Field TeamDiscussionOrderField `json:"field"`
	// The direction in which to order nodes.
	Direction OrderDirection `json:"direction"`
}

Ways in which team discussion connections can be ordered.

type TeamDiscussionOrderField

type TeamDiscussionOrderField string

Properties by which team discussion connections can be ordered.

const (
	// Allows chronological ordering of team discussions.
	TeamDiscussionOrderFieldCreatedAt TeamDiscussionOrderField = "CREATED_AT"
)

func (TeamDiscussionOrderField) IsValid

func (e TeamDiscussionOrderField) IsValid() bool

func (TeamDiscussionOrderField) MarshalGQL

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

func (TeamDiscussionOrderField) String

func (e TeamDiscussionOrderField) String() string

func (*TeamDiscussionOrderField) UnmarshalGQL

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

type TeamEdge

type TeamEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *Team `json:"node,omitempty"`
}

An edge in a connection.

type TeamMemberConnection

type TeamMemberConnection struct {
	// A list of edges.
	Edges []*TeamMemberEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for User.

type TeamMemberEdge

type TeamMemberEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The HTTP path to the organization's member access page.
	MemberAccessResourcePath string `json:"memberAccessResourcePath"`
	// The HTTP URL to the organization's member access page.
	MemberAccessURL string `json:"memberAccessUrl"`
	Node            *User  `json:"node"`
	// The role the member has on the team.
	Role TeamMemberRole `json:"role"`
}

Represents a user who is a member of a team.

type TeamMemberOrder

type TeamMemberOrder struct {
	// The field to order team members by.
	Field TeamMemberOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for team member connections

type TeamMemberOrderField

type TeamMemberOrderField string

Properties by which team member connections can be ordered.

const (
	// Order team members by login
	TeamMemberOrderFieldLogin TeamMemberOrderField = "LOGIN"
	// Order team members by creation time
	TeamMemberOrderFieldCreatedAt TeamMemberOrderField = "CREATED_AT"
)

func (TeamMemberOrderField) IsValid

func (e TeamMemberOrderField) IsValid() bool

func (TeamMemberOrderField) MarshalGQL

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

func (TeamMemberOrderField) String

func (e TeamMemberOrderField) String() string

func (*TeamMemberOrderField) UnmarshalGQL

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

type TeamMemberRole

type TeamMemberRole string

The possible team member roles; either 'maintainer' or 'member'.

const (
	// A team maintainer has permission to add and remove team members.
	TeamMemberRoleMaintainer TeamMemberRole = "MAINTAINER"
	// A team member has no administrative permissions on the team.
	TeamMemberRoleMember TeamMemberRole = "MEMBER"
)

func (TeamMemberRole) IsValid

func (e TeamMemberRole) IsValid() bool

func (TeamMemberRole) MarshalGQL

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

func (TeamMemberRole) String

func (e TeamMemberRole) String() string

func (*TeamMemberRole) UnmarshalGQL

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

type TeamMembershipType

type TeamMembershipType string

Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.

const (
	// Includes only immediate members of the team.
	TeamMembershipTypeImmediate TeamMembershipType = "IMMEDIATE"
	// Includes only child team members for the team.
	TeamMembershipTypeChildTeam TeamMembershipType = "CHILD_TEAM"
	// Includes immediate and child team members for the team.
	TeamMembershipTypeAll TeamMembershipType = "ALL"
)

func (TeamMembershipType) IsValid

func (e TeamMembershipType) IsValid() bool

func (TeamMembershipType) MarshalGQL

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

func (TeamMembershipType) String

func (e TeamMembershipType) String() string

func (*TeamMembershipType) UnmarshalGQL

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

type 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 TeamOrder

type TeamOrder struct {
	// The field in which to order nodes by.
	Field TeamOrderField `json:"field"`
	// The direction in which to order nodes.
	Direction OrderDirection `json:"direction"`
}

Ways in which team connections can be ordered.

type TeamOrderField

type TeamOrderField string

Properties by which team connections can be ordered.

const (
	// Allows ordering a list of teams by name.
	TeamOrderFieldName TeamOrderField = "NAME"
)

func (TeamOrderField) IsValid

func (e TeamOrderField) IsValid() bool

func (TeamOrderField) MarshalGQL

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

func (TeamOrderField) String

func (e TeamOrderField) String() string

func (*TeamOrderField) UnmarshalGQL

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

type TeamPrivacy

type TeamPrivacy string

The possible team privacy values.

const (
	// A secret team can only be seen by its members.
	TeamPrivacySecret TeamPrivacy = "SECRET"
	// A visible team can be seen and @mentioned by every member of the organization.
	TeamPrivacyVisible TeamPrivacy = "VISIBLE"
)

func (TeamPrivacy) IsValid

func (e TeamPrivacy) IsValid() bool

func (TeamPrivacy) MarshalGQL

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

func (TeamPrivacy) String

func (e TeamPrivacy) String() string

func (*TeamPrivacy) UnmarshalGQL

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

type TeamRemoveMemberAuditEntry

type TeamRemoveMemberAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the TeamRemoveMemberAuditEntry object
	ID string `json:"id"`
	// Whether the team was mapped to an LDAP Group.
	IsLdapMapped *bool `json:"isLdapMapped,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a team.remove_member event.

func (TeamRemoveMemberAuditEntry) GetAction

func (this TeamRemoveMemberAuditEntry) GetAction() string

The action name

func (TeamRemoveMemberAuditEntry) GetActor

The user who initiated the action

func (TeamRemoveMemberAuditEntry) GetActorIP

func (this TeamRemoveMemberAuditEntry) GetActorIP() *string

The IP address of the actor

func (TeamRemoveMemberAuditEntry) GetActorLocation

func (this TeamRemoveMemberAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (TeamRemoveMemberAuditEntry) GetActorLogin

func (this TeamRemoveMemberAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (TeamRemoveMemberAuditEntry) GetActorResourcePath

func (this TeamRemoveMemberAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (TeamRemoveMemberAuditEntry) GetActorURL

func (this TeamRemoveMemberAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (TeamRemoveMemberAuditEntry) GetCreatedAt

func (this TeamRemoveMemberAuditEntry) GetCreatedAt() string

The time the action was initiated

func (TeamRemoveMemberAuditEntry) GetID

func (this TeamRemoveMemberAuditEntry) GetID() string

ID of the object.

func (TeamRemoveMemberAuditEntry) GetOperationType

func (this TeamRemoveMemberAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (TeamRemoveMemberAuditEntry) GetOrganization

func (this TeamRemoveMemberAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (TeamRemoveMemberAuditEntry) GetOrganizationName

func (this TeamRemoveMemberAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (TeamRemoveMemberAuditEntry) GetOrganizationResourcePath

func (this TeamRemoveMemberAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (TeamRemoveMemberAuditEntry) GetOrganizationURL

func (this TeamRemoveMemberAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (TeamRemoveMemberAuditEntry) GetTeam

func (this TeamRemoveMemberAuditEntry) GetTeam() *Team

The team associated with the action

func (TeamRemoveMemberAuditEntry) GetTeamName

func (this TeamRemoveMemberAuditEntry) GetTeamName() *string

The name of the team

func (TeamRemoveMemberAuditEntry) GetTeamResourcePath

func (this TeamRemoveMemberAuditEntry) GetTeamResourcePath() *string

The HTTP path for this team

func (TeamRemoveMemberAuditEntry) GetTeamURL

func (this TeamRemoveMemberAuditEntry) GetTeamURL() *string

The HTTP URL for this team

func (TeamRemoveMemberAuditEntry) GetUser

func (this TeamRemoveMemberAuditEntry) GetUser() *User

The user affected by the action

func (TeamRemoveMemberAuditEntry) GetUserLogin

func (this TeamRemoveMemberAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (TeamRemoveMemberAuditEntry) GetUserResourcePath

func (this TeamRemoveMemberAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (TeamRemoveMemberAuditEntry) GetUserURL

func (this TeamRemoveMemberAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (TeamRemoveMemberAuditEntry) IsAuditEntry

func (TeamRemoveMemberAuditEntry) IsAuditEntry()

func (TeamRemoveMemberAuditEntry) IsNode

func (TeamRemoveMemberAuditEntry) IsNode()

func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntry

func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntry()

func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntryData

func (TeamRemoveMemberAuditEntry) IsOrganizationAuditEntryData()

func (TeamRemoveMemberAuditEntry) IsTeamAuditEntryData

func (TeamRemoveMemberAuditEntry) IsTeamAuditEntryData()

type TeamRemoveRepositoryAuditEntry

type TeamRemoveRepositoryAuditEntry struct {
	// The action name
	Action string `json:"action"`
	// The user who initiated the action
	Actor AuditEntryActor `json:"actor,omitempty"`
	// The IP address of the actor
	ActorIP *string `json:"actorIp,omitempty"`
	// A readable representation of the actor's location
	ActorLocation *ActorLocation `json:"actorLocation,omitempty"`
	// The username of the user who initiated the action
	ActorLogin *string `json:"actorLogin,omitempty"`
	// The HTTP path for the actor.
	ActorResourcePath *string `json:"actorResourcePath,omitempty"`
	// The HTTP URL for the actor.
	ActorURL *string `json:"actorUrl,omitempty"`
	// The time the action was initiated
	CreatedAt string `json:"createdAt"`
	// The Node ID of the TeamRemoveRepositoryAuditEntry object
	ID string `json:"id"`
	// Whether the team was mapped to an LDAP Group.
	IsLdapMapped *bool `json:"isLdapMapped,omitempty"`
	// The corresponding operation type for the action
	OperationType *OperationType `json:"operationType,omitempty"`
	// The Organization associated with the Audit Entry.
	Organization *Organization `json:"organization,omitempty"`
	// The name of the Organization.
	OrganizationName *string `json:"organizationName,omitempty"`
	// The HTTP path for the organization
	OrganizationResourcePath *string `json:"organizationResourcePath,omitempty"`
	// The HTTP URL for the organization
	OrganizationURL *string `json:"organizationUrl,omitempty"`
	// The repository associated with the action
	Repository *Repository `json:"repository,omitempty"`
	// The name of the repository
	RepositoryName *string `json:"repositoryName,omitempty"`
	// The HTTP path for the repository
	RepositoryResourcePath *string `json:"repositoryResourcePath,omitempty"`
	// The HTTP URL for the repository
	RepositoryURL *string `json:"repositoryUrl,omitempty"`
	// The team associated with the action
	Team *Team `json:"team,omitempty"`
	// The name of the team
	TeamName *string `json:"teamName,omitempty"`
	// The HTTP path for this team
	TeamResourcePath *string `json:"teamResourcePath,omitempty"`
	// The HTTP URL for this team
	TeamURL *string `json:"teamUrl,omitempty"`
	// The user affected by the action
	User *User `json:"user,omitempty"`
	// For actions involving two users, the actor is the initiator and the user is the affected user.
	UserLogin *string `json:"userLogin,omitempty"`
	// The HTTP path for the user.
	UserResourcePath *string `json:"userResourcePath,omitempty"`
	// The HTTP URL for the user.
	UserURL *string `json:"userUrl,omitempty"`
}

Audit log entry for a team.remove_repository event.

func (TeamRemoveRepositoryAuditEntry) GetAction

func (this TeamRemoveRepositoryAuditEntry) GetAction() string

The action name

func (TeamRemoveRepositoryAuditEntry) GetActor

The user who initiated the action

func (TeamRemoveRepositoryAuditEntry) GetActorIP

func (this TeamRemoveRepositoryAuditEntry) GetActorIP() *string

The IP address of the actor

func (TeamRemoveRepositoryAuditEntry) GetActorLocation

func (this TeamRemoveRepositoryAuditEntry) GetActorLocation() *ActorLocation

A readable representation of the actor's location

func (TeamRemoveRepositoryAuditEntry) GetActorLogin

func (this TeamRemoveRepositoryAuditEntry) GetActorLogin() *string

The username of the user who initiated the action

func (TeamRemoveRepositoryAuditEntry) GetActorResourcePath

func (this TeamRemoveRepositoryAuditEntry) GetActorResourcePath() *string

The HTTP path for the actor.

func (TeamRemoveRepositoryAuditEntry) GetActorURL

func (this TeamRemoveRepositoryAuditEntry) GetActorURL() *string

The HTTP URL for the actor.

func (TeamRemoveRepositoryAuditEntry) GetCreatedAt

func (this TeamRemoveRepositoryAuditEntry) GetCreatedAt() string

The time the action was initiated

func (TeamRemoveRepositoryAuditEntry) GetID

ID of the object.

func (TeamRemoveRepositoryAuditEntry) GetOperationType

func (this TeamRemoveRepositoryAuditEntry) GetOperationType() *OperationType

The corresponding operation type for the action

func (TeamRemoveRepositoryAuditEntry) GetOrganization

func (this TeamRemoveRepositoryAuditEntry) GetOrganization() *Organization

The Organization associated with the Audit Entry.

func (TeamRemoveRepositoryAuditEntry) GetOrganizationName

func (this TeamRemoveRepositoryAuditEntry) GetOrganizationName() *string

The name of the Organization.

func (TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath

func (this TeamRemoveRepositoryAuditEntry) GetOrganizationResourcePath() *string

The HTTP path for the organization

func (TeamRemoveRepositoryAuditEntry) GetOrganizationURL

func (this TeamRemoveRepositoryAuditEntry) GetOrganizationURL() *string

The HTTP URL for the organization

func (TeamRemoveRepositoryAuditEntry) GetRepository

func (this TeamRemoveRepositoryAuditEntry) GetRepository() *Repository

The repository associated with the action

func (TeamRemoveRepositoryAuditEntry) GetRepositoryName

func (this TeamRemoveRepositoryAuditEntry) GetRepositoryName() *string

The name of the repository

func (TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath

func (this TeamRemoveRepositoryAuditEntry) GetRepositoryResourcePath() *string

The HTTP path for the repository

func (TeamRemoveRepositoryAuditEntry) GetRepositoryURL

func (this TeamRemoveRepositoryAuditEntry) GetRepositoryURL() *string

The HTTP URL for the repository

func (TeamRemoveRepositoryAuditEntry) GetTeam

func (this TeamRemoveRepositoryAuditEntry) GetTeam() *Team

The team associated with the action

func (TeamRemoveRepositoryAuditEntry) GetTeamName

func (this TeamRemoveRepositoryAuditEntry) GetTeamName() *string

The name of the team

func (TeamRemoveRepositoryAuditEntry) GetTeamResourcePath

func (this TeamRemoveRepositoryAuditEntry) GetTeamResourcePath() *string

The HTTP path for this team

func (TeamRemoveRepositoryAuditEntry) GetTeamURL

func (this TeamRemoveRepositoryAuditEntry) GetTeamURL() *string

The HTTP URL for this team

func (TeamRemoveRepositoryAuditEntry) GetUser

func (this TeamRemoveRepositoryAuditEntry) GetUser() *User

The user affected by the action

func (TeamRemoveRepositoryAuditEntry) GetUserLogin

func (this TeamRemoveRepositoryAuditEntry) GetUserLogin() *string

For actions involving two users, the actor is the initiator and the user is the affected user.

func (TeamRemoveRepositoryAuditEntry) GetUserResourcePath

func (this TeamRemoveRepositoryAuditEntry) GetUserResourcePath() *string

The HTTP path for the user.

func (TeamRemoveRepositoryAuditEntry) GetUserURL

func (this TeamRemoveRepositoryAuditEntry) GetUserURL() *string

The HTTP URL for the user.

func (TeamRemoveRepositoryAuditEntry) IsAuditEntry

func (TeamRemoveRepositoryAuditEntry) IsAuditEntry()

func (TeamRemoveRepositoryAuditEntry) IsNode

func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntry

func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntry()

func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntryData

func (TeamRemoveRepositoryAuditEntry) IsOrganizationAuditEntryData()

func (TeamRemoveRepositoryAuditEntry) IsRepositoryAuditEntryData

func (TeamRemoveRepositoryAuditEntry) IsRepositoryAuditEntryData()

func (TeamRemoveRepositoryAuditEntry) IsTeamAuditEntryData

func (TeamRemoveRepositoryAuditEntry) IsTeamAuditEntryData()

type TeamRepositoryConnection

type TeamRepositoryConnection struct {
	// A list of edges.
	Edges []*TeamRepositoryEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*Repository `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for Repository.

type TeamRepositoryEdge

type TeamRepositoryEdge struct {
	// A cursor for use in pagination.
	Cursor string      `json:"cursor"`
	Node   *Repository `json:"node"`
	// The permission level the team has on the repository
	Permission RepositoryPermission `json:"permission"`
}

Represents a team repository.

type TeamRepositoryOrder

type TeamRepositoryOrder struct {
	// The field to order repositories by.
	Field TeamRepositoryOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for team repository connections

type TeamRepositoryOrderField

type TeamRepositoryOrderField string

Properties by which team repository connections can be ordered.

const (
	// Order repositories by creation time
	TeamRepositoryOrderFieldCreatedAt TeamRepositoryOrderField = "CREATED_AT"
	// Order repositories by update time
	TeamRepositoryOrderFieldUpdatedAt TeamRepositoryOrderField = "UPDATED_AT"
	// Order repositories by push time
	TeamRepositoryOrderFieldPushedAt TeamRepositoryOrderField = "PUSHED_AT"
	// Order repositories by name
	TeamRepositoryOrderFieldName TeamRepositoryOrderField = "NAME"
	// Order repositories by permission
	TeamRepositoryOrderFieldPermission TeamRepositoryOrderField = "PERMISSION"
	// Order repositories by number of stargazers
	TeamRepositoryOrderFieldStargazers TeamRepositoryOrderField = "STARGAZERS"
)

func (TeamRepositoryOrderField) IsValid

func (e TeamRepositoryOrderField) IsValid() bool

func (TeamRepositoryOrderField) MarshalGQL

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

func (TeamRepositoryOrderField) String

func (e TeamRepositoryOrderField) String() string

func (*TeamRepositoryOrderField) UnmarshalGQL

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

type TeamRole

type TeamRole string

The role of a user on a team.

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 TextMatch

type TextMatch struct {
	// The specific text fragment within the property matched on.
	Fragment string `json:"fragment"`
	// Highlights within the matched fragment.
	Highlights []*TextMatchHighlight `json:"highlights"`
	// The property matched on.
	Property string `json:"property"`
}

A text match within a search result.

type TextMatchHighlight

type TextMatchHighlight struct {
	// The indice in the fragment where the matched text begins.
	BeginIndice int `json:"beginIndice"`
	// The indice in the fragment where the matched text ends.
	EndIndice int `json:"endIndice"`
	// The text matched.
	Text string `json:"text"`
}

Represents a single highlight in a search result match.

type 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 Topic

type Topic struct {
	// The Node ID of the Topic object
	ID string `json:"id"`
	// The topic's name.
	Name string `json:"name"`
	// A list of related topics, including aliases of this topic, sorted with the most relevant
	// first. Returns up to 10 Topics.
	//
	RelatedTopics []*Topic `json:"relatedTopics"`
	// A list of repositories.
	Repositories *RepositoryConnection `json:"repositories"`
	// Returns a count of how many stargazers there are on this object
	//
	StargazerCount int `json:"stargazerCount"`
	// A list of users who have starred this starrable.
	Stargazers *StargazerConnection `json:"stargazers"`
	// Returns a boolean indicating whether the viewing user has starred this starrable.
	ViewerHasStarred bool `json:"viewerHasStarred"`
}

A topic aggregates entities that are related to a subject.

func (Topic) GetID

func (this Topic) GetID() string

ID of the object.

func (Topic) GetStargazerCount

func (this Topic) GetStargazerCount() int

Returns a count of how many stargazers there are on this object

func (Topic) GetStargazers

func (this Topic) GetStargazers() *StargazerConnection

A list of users who have starred this starrable.

func (Topic) GetViewerHasStarred

func (this Topic) GetViewerHasStarred() bool

Returns a boolean indicating whether the viewing user has starred this starrable.

func (Topic) IsNode

func (Topic) IsNode()

func (Topic) IsStarrable

func (Topic) IsStarrable()

type TopicAuditEntryData

type TopicAuditEntryData interface {
	IsTopicAuditEntryData()
	// The name of the topic added to the repository
	GetTopic() *Topic
	// The name of the topic added to the repository
	GetTopicName() *string
}

Metadata for an audit entry with a topic.

type TopicSuggestionDeclineReason

type TopicSuggestionDeclineReason string

Reason that the suggested topic is declined.

const (
	// The suggested topic is not relevant to the repository.
	TopicSuggestionDeclineReasonNotRelevant TopicSuggestionDeclineReason = "NOT_RELEVANT"
	// The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1).
	TopicSuggestionDeclineReasonTooSpecific TopicSuggestionDeclineReason = "TOO_SPECIFIC"
	// The viewer does not like the suggested topic.
	TopicSuggestionDeclineReasonPersonalPreference TopicSuggestionDeclineReason = "PERSONAL_PREFERENCE"
	// The suggested topic is too general for the repository.
	TopicSuggestionDeclineReasonTooGeneral TopicSuggestionDeclineReason = "TOO_GENERAL"
)

func (TopicSuggestionDeclineReason) IsValid

func (e TopicSuggestionDeclineReason) IsValid() bool

func (TopicSuggestionDeclineReason) MarshalGQL

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

func (TopicSuggestionDeclineReason) String

func (*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 TransferEnterpriseOrganizationInput

type TransferEnterpriseOrganizationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization to transfer.
	OrganizationID string `json:"organizationId"`
	// The ID of the enterprise where the organization should be transferred.
	DestinationEnterpriseID string `json:"destinationEnterpriseId"`
}

Autogenerated input type of TransferEnterpriseOrganization

type TransferEnterpriseOrganizationPayload

type TransferEnterpriseOrganizationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organization for which a transfer was initiated.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of TransferEnterpriseOrganization

type TransferIssueInput

type TransferIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the issue to be transferred
	IssueID string `json:"issueId"`
	// The Node ID of the repository the issue should be transferred to
	RepositoryID string `json:"repositoryId"`
	// Whether to create labels if they don't exist in the target repository (matched by name)
	CreateLabelsIfMissing *bool `json:"createLabelsIfMissing,omitempty"`
}

Autogenerated input type of TransferIssue

type TransferIssuePayload

type TransferIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue that was transferred
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of TransferIssue

type TransferredEvent

type TransferredEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The repository this came from
	FromRepository *Repository `json:"fromRepository,omitempty"`
	// The Node ID of the TransferredEvent object
	ID string `json:"id"`
	// Identifies the issue associated with the event.
	Issue *Issue `json:"issue"`
}

Represents a 'transferred' event on a given issue or pull request.

func (TransferredEvent) GetID

func (this TransferredEvent) GetID() string

ID of the object.

func (TransferredEvent) IsIssueTimelineItem

func (TransferredEvent) IsIssueTimelineItem()

func (TransferredEvent) IsIssueTimelineItems

func (TransferredEvent) IsIssueTimelineItems()

func (TransferredEvent) IsNode

func (TransferredEvent) IsNode()

func (TransferredEvent) IsPullRequestTimelineItems

func (TransferredEvent) IsPullRequestTimelineItems()

type Tree

type Tree struct {
	// An abbreviated version of the Git object ID
	AbbreviatedOid string `json:"abbreviatedOid"`
	// The HTTP path for this Git object
	CommitResourcePath string `json:"commitResourcePath"`
	// The HTTP URL for this Git object
	CommitURL string `json:"commitUrl"`
	// A list of tree entries.
	Entries []*TreeEntry `json:"entries,omitempty"`
	// The Node ID of the Tree object
	ID string `json:"id"`
	// The Git object ID
	Oid string `json:"oid"`
	// The Repository the Git object belongs to
	Repository *Repository `json:"repository"`
}

Represents a Git tree.

func (Tree) GetAbbreviatedOid

func (this Tree) GetAbbreviatedOid() string

An abbreviated version of the Git object ID

func (Tree) GetCommitResourcePath

func (this Tree) GetCommitResourcePath() string

The HTTP path for this Git object

func (Tree) GetCommitURL

func (this Tree) GetCommitURL() string

The HTTP URL for this Git object

func (Tree) GetID

func (this Tree) GetID() string

The Node ID of the GitObject object

func (Tree) GetOid

func (this Tree) GetOid() string

The Git object ID

func (Tree) GetRepository

func (this Tree) GetRepository() *Repository

The Repository the Git object belongs to

func (Tree) IsGitObject

func (Tree) IsGitObject()

func (Tree) IsNode

func (Tree) IsNode()

type TreeEntry

type TreeEntry struct {
	// The extension of the file
	Extension *string `json:"extension,omitempty"`
	// Whether or not this tree entry is generated
	IsGenerated bool `json:"isGenerated"`
	// The programming language this file is written in.
	Language *Language `json:"language,omitempty"`
	// Number of lines in the file.
	LineCount *int `json:"lineCount,omitempty"`
	// Entry file mode.
	Mode int `json:"mode"`
	// Entry file name.
	Name string `json:"name"`
	// Entry file name. (Base64-encoded)
	NameRaw string `json:"nameRaw"`
	// Entry file object.
	Object GitObject `json:"object,omitempty"`
	// Entry file Git object ID.
	Oid string `json:"oid"`
	// The full path of the file.
	Path *string `json:"path,omitempty"`
	// The full path of the file. (Base64-encoded)
	PathRaw *string `json:"pathRaw,omitempty"`
	// The Repository the tree entry belongs to
	Repository *Repository `json:"repository"`
	// Entry byte size
	Size int `json:"size"`
	// If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule
	Submodule *Submodule `json:"submodule,omitempty"`
	// Entry file type.
	Type string `json:"type"`
}

Represents a Git tree entry.

type UnarchiveProjectV2ItemInput

type UnarchiveProjectV2ItemInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to archive the item from.
	ProjectID string `json:"projectId"`
	// The ID of the ProjectV2Item to unarchive.
	ItemID string `json:"itemId"`
}

Autogenerated input type of UnarchiveProjectV2Item

type UnarchiveProjectV2ItemPayload

type UnarchiveProjectV2ItemPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item unarchived from the project.
	Item *ProjectV2Item `json:"item,omitempty"`
}

Autogenerated return type of UnarchiveProjectV2Item

type UnarchiveRepositoryInput

type UnarchiveRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the repository to unarchive.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of UnarchiveRepository

type UnarchiveRepositoryPayload

type UnarchiveRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository that was unarchived.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UnarchiveRepository

type UnassignedEvent

type UnassignedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the assignable associated with the event.
	Assignable Assignable `json:"assignable"`
	// Identifies the user or mannequin that was unassigned.
	Assignee Assignee `json:"assignee,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UnassignedEvent object
	ID string `json:"id"`
	// Identifies the subject (user) who was unassigned.
	User *User `json:"user,omitempty"`
}

Represents an 'unassigned' event on any assignable object.

func (UnassignedEvent) GetID

func (this UnassignedEvent) GetID() string

ID of the object.

func (UnassignedEvent) IsIssueTimelineItem

func (UnassignedEvent) IsIssueTimelineItem()

func (UnassignedEvent) IsIssueTimelineItems

func (UnassignedEvent) IsIssueTimelineItems()

func (UnassignedEvent) IsNode

func (UnassignedEvent) IsNode()

func (UnassignedEvent) IsPullRequestTimelineItem

func (UnassignedEvent) IsPullRequestTimelineItem()

func (UnassignedEvent) IsPullRequestTimelineItems

func (UnassignedEvent) IsPullRequestTimelineItems()

type UnfollowOrganizationInput

type UnfollowOrganizationInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the organization to unfollow.
	OrganizationID string `json:"organizationId"`
}

Autogenerated input type of UnfollowOrganization

type UnfollowOrganizationPayload

type UnfollowOrganizationPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The organization that was unfollowed.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of UnfollowOrganization

type UnfollowUserInput

type UnfollowUserInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the user to unfollow.
	UserID string `json:"userId"`
}

Autogenerated input type of UnfollowUser

type UnfollowUserPayload

type UnfollowUserPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The user that was unfollowed.
	User *User `json:"user,omitempty"`
}

Autogenerated return type of UnfollowUser

type UniformResourceLocatable

type UniformResourceLocatable interface {
	IsUniformResourceLocatable()
	// The HTML path to this resource.
	GetResourcePath() string
	// The URL to this resource.
	GetURL() string
}

Represents a type that can be retrieved by a URL.

type UnknownSignature

type UnknownSignature struct {
	// Email used to sign this object.
	Email string `json:"email"`
	// True if the signature is valid and verified by GitHub.
	IsValid bool `json:"isValid"`
	// Payload for GPG signing object. Raw ODB object without the signature header.
	Payload string `json:"payload"`
	// ASCII-armored signature header from object.
	Signature string `json:"signature"`
	// GitHub user corresponding to the email signing this commit.
	Signer *User `json:"signer,omitempty"`
	// The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.
	State GitSignatureState `json:"state"`
	// True if the signature was made with GitHub's signing key.
	WasSignedByGitHub bool `json:"wasSignedByGitHub"`
}

Represents an unknown signature on a Commit or Tag.

func (UnknownSignature) GetEmail

func (this UnknownSignature) GetEmail() string

Email used to sign this object.

func (UnknownSignature) GetIsValid

func (this UnknownSignature) GetIsValid() bool

True if the signature is valid and verified by GitHub.

func (UnknownSignature) GetPayload

func (this UnknownSignature) GetPayload() string

Payload for GPG signing object. Raw ODB object without the signature header.

func (UnknownSignature) GetSignature

func (this UnknownSignature) GetSignature() string

ASCII-armored signature header from object.

func (UnknownSignature) GetSigner

func (this UnknownSignature) GetSigner() *User

GitHub user corresponding to the email signing this commit.

func (UnknownSignature) GetState

func (this UnknownSignature) GetState() GitSignatureState

The state of this signature. `VALID` if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

func (UnknownSignature) GetWasSignedByGitHub

func (this UnknownSignature) GetWasSignedByGitHub() bool

True if the signature was made with GitHub's signing key.

func (UnknownSignature) IsGitSignature

func (UnknownSignature) IsGitSignature()

type UnlabeledEvent

type UnlabeledEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UnlabeledEvent object
	ID string `json:"id"`
	// Identifies the label associated with the 'unlabeled' event.
	Label *Label `json:"label"`
	// Identifies the `Labelable` associated with the event.
	Labelable Labelable `json:"labelable"`
}

Represents an 'unlabeled' event on a given issue or pull request.

func (UnlabeledEvent) GetID

func (this UnlabeledEvent) GetID() string

ID of the object.

func (UnlabeledEvent) IsIssueTimelineItem

func (UnlabeledEvent) IsIssueTimelineItem()

func (UnlabeledEvent) IsIssueTimelineItems

func (UnlabeledEvent) IsIssueTimelineItems()

func (UnlabeledEvent) IsNode

func (UnlabeledEvent) IsNode()

func (UnlabeledEvent) IsPullRequestTimelineItem

func (UnlabeledEvent) IsPullRequestTimelineItem()

func (UnlabeledEvent) IsPullRequestTimelineItems

func (UnlabeledEvent) IsPullRequestTimelineItems()

type UnlinkProjectV2FromRepositoryInput

type UnlinkProjectV2FromRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the project to unlink from the repository.
	ProjectID string `json:"projectId"`
	// The ID of the repository to unlink from the project.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of UnlinkProjectV2FromRepository

type UnlinkProjectV2FromRepositoryPayload

type UnlinkProjectV2FromRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository the project is no longer linked to.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UnlinkProjectV2FromRepository

type UnlinkProjectV2FromTeamInput

type UnlinkProjectV2FromTeamInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the project to unlink from the team.
	ProjectID string `json:"projectId"`
	// The ID of the team to unlink from the project.
	TeamID string `json:"teamId"`
}

Autogenerated input type of UnlinkProjectV2FromTeam

type UnlinkProjectV2FromTeamPayload

type UnlinkProjectV2FromTeamPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The team the project is unlinked from
	Team *Team `json:"team,omitempty"`
}

Autogenerated return type of UnlinkProjectV2FromTeam

type UnlinkRepositoryFromProjectInput

type UnlinkRepositoryFromProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project linked to the Repository.
	ProjectID string `json:"projectId"`
	// The ID of the Repository linked to the Project.
	RepositoryID string `json:"repositoryId"`
}

Autogenerated input type of UnlinkRepositoryFromProject

type UnlinkRepositoryFromProjectPayload

type UnlinkRepositoryFromProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The linked Project.
	Project *Project `json:"project,omitempty"`
	// The linked Repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UnlinkRepositoryFromProject

type UnlockLockableInput

type UnlockLockableInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the item to be unlocked.
	LockableID string `json:"lockableId"`
}

Autogenerated input type of UnlockLockable

type UnlockLockablePayload

type UnlockLockablePayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item that was unlocked.
	UnlockedRecord Lockable `json:"unlockedRecord,omitempty"`
}

Autogenerated return type of UnlockLockable

type UnlockedEvent

type UnlockedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UnlockedEvent object
	ID string `json:"id"`
	// Object that was unlocked.
	Lockable Lockable `json:"lockable"`
}

Represents an 'unlocked' event on a given issue or pull request.

func (UnlockedEvent) GetID

func (this UnlockedEvent) GetID() string

ID of the object.

func (UnlockedEvent) IsIssueTimelineItem

func (UnlockedEvent) IsIssueTimelineItem()

func (UnlockedEvent) IsIssueTimelineItems

func (UnlockedEvent) IsIssueTimelineItems()

func (UnlockedEvent) IsNode

func (UnlockedEvent) IsNode()

func (UnlockedEvent) IsPullRequestTimelineItem

func (UnlockedEvent) IsPullRequestTimelineItem()

func (UnlockedEvent) IsPullRequestTimelineItems

func (UnlockedEvent) IsPullRequestTimelineItems()

type UnmarkDiscussionCommentAsAnswerInput

type UnmarkDiscussionCommentAsAnswerInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion comment to unmark as an answer.
	ID string `json:"id"`
}

Autogenerated input type of UnmarkDiscussionCommentAsAnswer

type UnmarkDiscussionCommentAsAnswerPayload

type UnmarkDiscussionCommentAsAnswerPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The discussion that includes the comment.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of UnmarkDiscussionCommentAsAnswer

type UnmarkFileAsViewedInput

type UnmarkFileAsViewedInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request.
	PullRequestID string `json:"pullRequestId"`
	// The path of the file to mark as unviewed
	Path string `json:"path"`
}

Autogenerated input type of UnmarkFileAsViewed

type UnmarkFileAsViewedPayload

type UnmarkFileAsViewedPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated pull request.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of UnmarkFileAsViewed

type UnmarkIssueAsDuplicateInput

type UnmarkIssueAsDuplicateInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// ID of the issue or pull request currently marked as a duplicate.
	DuplicateID string `json:"duplicateId"`
	// ID of the issue or pull request currently considered canonical/authoritative/original.
	CanonicalID string `json:"canonicalId"`
}

Autogenerated input type of UnmarkIssueAsDuplicate

type UnmarkIssueAsDuplicatePayload

type UnmarkIssueAsDuplicatePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue or pull request that was marked as a duplicate.
	Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
}

Autogenerated return type of UnmarkIssueAsDuplicate

type UnmarkProjectV2AsTemplateInput

type UnmarkProjectV2AsTemplateInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to unmark as a template.
	ProjectID string `json:"projectId"`
}

Autogenerated input type of UnmarkProjectV2AsTemplate

type UnmarkProjectV2AsTemplatePayload

type UnmarkProjectV2AsTemplatePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of UnmarkProjectV2AsTemplate

type UnmarkedAsDuplicateEvent

type UnmarkedAsDuplicateEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// The authoritative issue or pull request which has been duplicated by another.
	Canonical IssueOrPullRequest `json:"canonical,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The issue or pull request which has been marked as a duplicate of another.
	Duplicate IssueOrPullRequest `json:"duplicate,omitempty"`
	// The Node ID of the UnmarkedAsDuplicateEvent object
	ID string `json:"id"`
	// Canonical and duplicate belong to different repositories.
	IsCrossRepository bool `json:"isCrossRepository"`
}

Represents an 'unmarked_as_duplicate' event on a given issue or pull request.

func (UnmarkedAsDuplicateEvent) GetID

func (this UnmarkedAsDuplicateEvent) GetID() string

ID of the object.

func (UnmarkedAsDuplicateEvent) IsIssueTimelineItems

func (UnmarkedAsDuplicateEvent) IsIssueTimelineItems()

func (UnmarkedAsDuplicateEvent) IsNode

func (UnmarkedAsDuplicateEvent) IsNode()

func (UnmarkedAsDuplicateEvent) IsPullRequestTimelineItems

func (UnmarkedAsDuplicateEvent) IsPullRequestTimelineItems()

type UnminimizeCommentInput

type UnminimizeCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subject to modify.
	SubjectID string `json:"subjectId"`
}

Autogenerated input type of UnminimizeComment

type UnminimizeCommentPayload

type UnminimizeCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The comment that was unminimized.
	UnminimizedComment Minimizable `json:"unminimizedComment,omitempty"`
}

Autogenerated return type of UnminimizeComment

type UnpinIssueInput

type UnpinIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the issue to be unpinned
	IssueID string `json:"issueId"`
}

Autogenerated input type of UnpinIssue

type UnpinIssuePayload

type UnpinIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The id of the pinned issue that was unpinned
	ID *string `json:"id,omitempty"`
	// The issue that was unpinned
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of UnpinIssue

type UnpinnedEvent

type UnpinnedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UnpinnedEvent object
	ID string `json:"id"`
	// Identifies the issue associated with the event.
	Issue *Issue `json:"issue"`
}

Represents an 'unpinned' event on a given issue or pull request.

func (UnpinnedEvent) GetID

func (this UnpinnedEvent) GetID() string

ID of the object.

func (UnpinnedEvent) IsIssueTimelineItems

func (UnpinnedEvent) IsIssueTimelineItems()

func (UnpinnedEvent) IsNode

func (UnpinnedEvent) IsNode()

func (UnpinnedEvent) IsPullRequestTimelineItems

func (UnpinnedEvent) IsPullRequestTimelineItems()

type UnresolveReviewThreadInput

type UnresolveReviewThreadInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the thread to unresolve
	ThreadID string `json:"threadId"`
}

Autogenerated input type of UnresolveReviewThread

type UnresolveReviewThreadPayload

type UnresolveReviewThreadPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The thread to resolve.
	Thread *PullRequestReviewThread `json:"thread,omitempty"`
}

Autogenerated return type of UnresolveReviewThread

type UnsubscribeFromNotificationsInput

type UnsubscribeFromNotificationsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The NotificationThread IDs of the objects to unsubscribe from.
	Ids []string `json:"ids"`
}

Autogenerated input type of UnsubscribeFromNotifications

type UnsubscribeFromNotificationsPayload

type UnsubscribeFromNotificationsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Did the operation succeed?
	Success *bool `json:"success,omitempty"`
}

Autogenerated return type of UnsubscribeFromNotifications

type UnsubscribedEvent

type UnsubscribedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UnsubscribedEvent object
	ID string `json:"id"`
	// Object referenced by event.
	Subscribable Subscribable `json:"subscribable"`
}

Represents an 'unsubscribed' event on a given `Subscribable`.

func (UnsubscribedEvent) GetID

func (this UnsubscribedEvent) GetID() string

ID of the object.

func (UnsubscribedEvent) IsIssueTimelineItem

func (UnsubscribedEvent) IsIssueTimelineItem()

func (UnsubscribedEvent) IsIssueTimelineItems

func (UnsubscribedEvent) IsIssueTimelineItems()

func (UnsubscribedEvent) IsNode

func (UnsubscribedEvent) IsNode()

func (UnsubscribedEvent) IsPullRequestTimelineItem

func (UnsubscribedEvent) IsPullRequestTimelineItem()

func (UnsubscribedEvent) IsPullRequestTimelineItems

func (UnsubscribedEvent) IsPullRequestTimelineItems()

type Updatable

type Updatable interface {
	IsUpdatable()
	// Check if the current viewer can update this object.
	GetViewerCanUpdate() bool
}

Entities that can be updated.

type UpdatableComment

type UpdatableComment interface {
	IsUpdatableComment()
	// Reasons why the current viewer can not update this comment.
	GetViewerCannotUpdateReasons() []CommentCannotUpdateReason
}

Comments that can be updated.

type UpdateBranchProtectionRuleInput

type UpdateBranchProtectionRuleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the branch protection rule to be updated.
	BranchProtectionRuleID string `json:"branchProtectionRuleId"`
	// The glob-like pattern used to determine matching branches.
	Pattern *string `json:"pattern,omitempty"`
	// Are approving reviews required to update matching branches.
	RequiresApprovingReviews *bool `json:"requiresApprovingReviews,omitempty"`
	// Number of approving reviews required to update matching branches.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`
	// Are commits required to be signed.
	RequiresCommitSignatures *bool `json:"requiresCommitSignatures,omitempty"`
	// Are merge commits prohibited from being pushed to this branch.
	RequiresLinearHistory *bool `json:"requiresLinearHistory,omitempty"`
	// Is branch creation a protected operation.
	BlocksCreations *bool `json:"blocksCreations,omitempty"`
	// Are force pushes allowed on this branch.
	AllowsForcePushes *bool `json:"allowsForcePushes,omitempty"`
	// Can this branch be deleted.
	AllowsDeletions *bool `json:"allowsDeletions,omitempty"`
	// Can admins override branch protection.
	IsAdminEnforced *bool `json:"isAdminEnforced,omitempty"`
	// Are status checks required to update matching branches.
	RequiresStatusChecks *bool `json:"requiresStatusChecks,omitempty"`
	// Are branches required to be up to date before merging.
	RequiresStrictStatusChecks *bool `json:"requiresStrictStatusChecks,omitempty"`
	// Are reviews from code owners required to update matching branches.
	RequiresCodeOwnerReviews *bool `json:"requiresCodeOwnerReviews,omitempty"`
	// Will new commits pushed to matching branches dismiss pull request review approvals.
	DismissesStaleReviews *bool `json:"dismissesStaleReviews,omitempty"`
	// Is dismissal of pull request reviews restricted.
	RestrictsReviewDismissals *bool `json:"restrictsReviewDismissals,omitempty"`
	// A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches.
	ReviewDismissalActorIds []string `json:"reviewDismissalActorIds,omitempty"`
	// A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches.
	BypassPullRequestActorIds []string `json:"bypassPullRequestActorIds,omitempty"`
	// A list of User, Team, or App IDs allowed to bypass force push targeting matching branches.
	BypassForcePushActorIds []string `json:"bypassForcePushActorIds,omitempty"`
	// Is pushing to matching branches restricted.
	RestrictsPushes *bool `json:"restrictsPushes,omitempty"`
	// A list of User, Team, or App IDs allowed to push to matching branches.
	PushActorIds []string `json:"pushActorIds,omitempty"`
	// List of required status check contexts that must pass for commits to be accepted to matching branches.
	RequiredStatusCheckContexts []string `json:"requiredStatusCheckContexts,omitempty"`
	// The list of required status checks
	RequiredStatusChecks []*RequiredStatusCheckInput `json:"requiredStatusChecks,omitempty"`
	// Are successful deployments required before merging.
	RequiresDeployments *bool `json:"requiresDeployments,omitempty"`
	// The list of required deployment environments
	RequiredDeploymentEnvironments []string `json:"requiredDeploymentEnvironments,omitempty"`
	// Are conversations required to be resolved before merging.
	RequiresConversationResolution *bool `json:"requiresConversationResolution,omitempty"`
	// Whether the most recent push must be approved by someone other than the person who pushed it
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`
	// Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.
	LockBranch *bool `json:"lockBranch,omitempty"`
	// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.
	LockAllowsFetchAndMerge *bool `json:"lockAllowsFetchAndMerge,omitempty"`
}

Autogenerated input type of UpdateBranchProtectionRule

type UpdateBranchProtectionRulePayload

type UpdateBranchProtectionRulePayload struct {
	// The newly created BranchProtectionRule.
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of UpdateBranchProtectionRule

type UpdateCheckRunInput

type UpdateCheckRunInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The node of the check.
	CheckRunID string `json:"checkRunId"`
	// The name of the check.
	Name *string `json:"name,omitempty"`
	// The URL of the integrator's site that has the full details of the check.
	DetailsURL *string `json:"detailsUrl,omitempty"`
	// A reference for the run on the integrator's system.
	ExternalID *string `json:"externalId,omitempty"`
	// The current status.
	Status *RequestableCheckStatusState `json:"status,omitempty"`
	// The time that the check run began.
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The final conclusion of the check.
	Conclusion *CheckConclusionState `json:"conclusion,omitempty"`
	// The time that the check run finished.
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// Descriptive details about the run.
	Output *CheckRunOutput `json:"output,omitempty"`
	// Possible further actions the integrator can perform, which a user may trigger.
	Actions []*CheckRunAction `json:"actions,omitempty"`
}

Autogenerated input type of UpdateCheckRun

type UpdateCheckRunPayload

type UpdateCheckRunPayload struct {
	// The updated check run.
	CheckRun *CheckRun `json:"checkRun,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
}

Autogenerated return type of UpdateCheckRun

type UpdateCheckSuitePreferencesInput

type UpdateCheckSuitePreferencesInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// The check suite preferences to modify.
	AutoTriggerPreferences []*CheckSuiteAutoTriggerPreference `json:"autoTriggerPreferences"`
}

Autogenerated input type of UpdateCheckSuitePreferences

type UpdateCheckSuitePreferencesPayload

type UpdateCheckSuitePreferencesPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UpdateCheckSuitePreferences

type UpdateDiscussionCommentInput

type UpdateDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion comment to update.
	CommentID string `json:"commentId"`
	// The new contents of the comment body.
	Body string `json:"body"`
}

Autogenerated input type of UpdateDiscussionComment

type UpdateDiscussionCommentPayload

type UpdateDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The modified discussion comment.
	Comment *DiscussionComment `json:"comment,omitempty"`
}

Autogenerated return type of UpdateDiscussionComment

type UpdateDiscussionInput

type UpdateDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion to update.
	DiscussionID string `json:"discussionId"`
	// The new discussion title.
	Title *string `json:"title,omitempty"`
	// The new contents of the discussion body.
	Body *string `json:"body,omitempty"`
	// The Node ID of a discussion category within the same repository to change this discussion to.
	CategoryID *string `json:"categoryId,omitempty"`
}

Autogenerated input type of UpdateDiscussion

type UpdateDiscussionPayload

type UpdateDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The modified discussion.
	Discussion *Discussion `json:"discussion,omitempty"`
}

Autogenerated return type of UpdateDiscussion

type UpdateEnterpriseAdministratorRoleInput

type UpdateEnterpriseAdministratorRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Enterprise which the admin belongs to.
	EnterpriseID string `json:"enterpriseId"`
	// The login of a administrator whose role is being changed.
	Login string `json:"login"`
	// The new role for the Enterprise administrator.
	Role EnterpriseAdministratorRole `json:"role"`
}

Autogenerated input type of UpdateEnterpriseAdministratorRole

type UpdateEnterpriseAdministratorRolePayload

type UpdateEnterpriseAdministratorRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of changing the administrator's role.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseAdministratorRole

type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput

type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the allow private repository forking setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the allow private repository forking setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
	// The value for the allow private repository forking policy on the enterprise.
	PolicyValue *EnterpriseAllowPrivateRepositoryForkingPolicyValue `json:"policyValue,omitempty"`
}

Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting

type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload

type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated allow private repository forking setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the allow private repository forking setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting

type UpdateEnterpriseDefaultRepositoryPermissionSettingInput

type UpdateEnterpriseDefaultRepositoryPermissionSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the base repository permission setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the base repository permission setting on the enterprise.
	SettingValue EnterpriseDefaultRepositoryPermissionSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting

type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload

type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated base repository permission setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the base repository permission setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting

type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput

type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can change repository visibility setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can change repository visibility setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting

type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload

type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can change repository visibility setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can change repository visibility setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting

type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput

type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can create repositories setting.
	EnterpriseID string `json:"enterpriseId"`
	// Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided.
	SettingValue *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"settingValue,omitempty"`
	// When false, allow member organizations to set their own repository creation member privileges.
	MembersCanCreateRepositoriesPolicyEnabled *bool `json:"membersCanCreateRepositoriesPolicyEnabled,omitempty"`
	// Allow members to create public repositories. Defaults to current value.
	MembersCanCreatePublicRepositories *bool `json:"membersCanCreatePublicRepositories,omitempty"`
	// Allow members to create private repositories. Defaults to current value.
	MembersCanCreatePrivateRepositories *bool `json:"membersCanCreatePrivateRepositories,omitempty"`
	// Allow members to create internal repositories. Defaults to current value.
	MembersCanCreateInternalRepositories *bool `json:"membersCanCreateInternalRepositories,omitempty"`
}

Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting

type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload

type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can create repositories setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can create repositories setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting

type UpdateEnterpriseMembersCanDeleteIssuesSettingInput

type UpdateEnterpriseMembersCanDeleteIssuesSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can delete issues setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can delete issues setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting

type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload

type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can delete issues setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can delete issues setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting

type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput

type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can delete repositories setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can delete repositories setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting

type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload

type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can delete repositories setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can delete repositories setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting

type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput

type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can invite collaborators setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can invite collaborators setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting

type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload

type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can invite collaborators setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can invite collaborators setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting

type UpdateEnterpriseMembersCanMakePurchasesSettingInput

type UpdateEnterpriseMembersCanMakePurchasesSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can make purchases setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can make purchases setting on the enterprise.
	SettingValue EnterpriseMembersCanMakePurchasesSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting

type UpdateEnterpriseMembersCanMakePurchasesSettingPayload

type UpdateEnterpriseMembersCanMakePurchasesSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can make purchases setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can make purchases setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting

type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput

type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can update protected branches setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can update protected branches setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting

type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload

type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can update protected branches setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can update protected branches setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting

type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput

type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the members can view dependency insights setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the members can view dependency insights setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting

type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload

type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated members can view dependency insights setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the members can view dependency insights setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting

type UpdateEnterpriseOrganizationProjectsSettingInput

type UpdateEnterpriseOrganizationProjectsSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the organization projects setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the organization projects setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting

type UpdateEnterpriseOrganizationProjectsSettingPayload

type UpdateEnterpriseOrganizationProjectsSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated organization projects setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the organization projects setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting

type UpdateEnterpriseOwnerOrganizationRoleInput

type UpdateEnterpriseOwnerOrganizationRoleInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Enterprise which the owner belongs to.
	EnterpriseID string `json:"enterpriseId"`
	// The ID of the organization for membership change.
	OrganizationID string `json:"organizationId"`
	// The role to assume in the organization.
	OrganizationRole RoleInOrganization `json:"organizationRole"`
}

Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole

type UpdateEnterpriseOwnerOrganizationRolePayload

type UpdateEnterpriseOwnerOrganizationRolePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of changing the owner's organization role.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole

type UpdateEnterpriseProfileInput

type UpdateEnterpriseProfileInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Enterprise ID to update.
	EnterpriseID string `json:"enterpriseId"`
	// The name of the enterprise.
	Name *string `json:"name,omitempty"`
	// The description of the enterprise.
	Description *string `json:"description,omitempty"`
	// The URL of the enterprise's website.
	WebsiteURL *string `json:"websiteUrl,omitempty"`
	// The location of the enterprise.
	Location *string `json:"location,omitempty"`
}

Autogenerated input type of UpdateEnterpriseProfile

type UpdateEnterpriseProfilePayload

type UpdateEnterpriseProfilePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated enterprise.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
}

Autogenerated return type of UpdateEnterpriseProfile

type UpdateEnterpriseRepositoryProjectsSettingInput

type UpdateEnterpriseRepositoryProjectsSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the repository projects setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the repository projects setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting

type UpdateEnterpriseRepositoryProjectsSettingPayload

type UpdateEnterpriseRepositoryProjectsSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated repository projects setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the repository projects setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting

type UpdateEnterpriseTeamDiscussionsSettingInput

type UpdateEnterpriseTeamDiscussionsSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the team discussions setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the team discussions setting on the enterprise.
	SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting

type UpdateEnterpriseTeamDiscussionsSettingPayload

type UpdateEnterpriseTeamDiscussionsSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated team discussions setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the team discussions setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting

type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput

type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the enterprise on which to set the two factor authentication required setting.
	EnterpriseID string `json:"enterpriseId"`
	// The value for the two factor authentication required setting on the enterprise.
	SettingValue EnterpriseEnabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting

type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload

type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The enterprise with the updated two factor authentication required setting.
	Enterprise *Enterprise `json:"enterprise,omitempty"`
	// A message confirming the result of updating the two factor authentication required setting.
	Message *string `json:"message,omitempty"`
}

Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The node ID of the environment.
	EnvironmentID string `json:"environmentId"`
	// The wait timer in minutes.
	WaitTimer *int `json:"waitTimer,omitempty"`
	// The ids of users or teams that can approve deployments to this environment
	Reviewers []string `json:"reviewers,omitempty"`
	// Whether deployments to this environment can be approved by the user who created the deployment.
	PreventSelfReview *bool `json:"preventSelfReview,omitempty"`
}

Autogenerated input type of UpdateEnvironment

type UpdateEnvironmentPayload

type UpdateEnvironmentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated environment.
	Environment *Environment `json:"environment,omitempty"`
}

Autogenerated return type of UpdateEnvironment

type UpdateIPAllowListEnabledSettingInput

type UpdateIPAllowListEnabledSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the owner on which to set the IP allow list enabled setting.
	OwnerID string `json:"ownerId"`
	// The value for the IP allow list enabled setting.
	SettingValue IPAllowListEnabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateIpAllowListEnabledSetting

type UpdateIPAllowListEnabledSettingPayload

type UpdateIPAllowListEnabledSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The IP allow list owner on which the setting was updated.
	Owner IPAllowListOwner `json:"owner,omitempty"`
}

Autogenerated return type of UpdateIpAllowListEnabledSetting

type UpdateIPAllowListEntryInput

type UpdateIPAllowListEntryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the IP allow list entry to update.
	IPAllowListEntryID string `json:"ipAllowListEntryId"`
	// An IP address or range of addresses in CIDR notation.
	AllowListValue string `json:"allowListValue"`
	// An optional name for the IP allow list entry.
	Name *string `json:"name,omitempty"`
	// Whether the IP allow list entry is active when an IP allow list is enabled.
	IsActive bool `json:"isActive"`
}

Autogenerated input type of UpdateIpAllowListEntry

type UpdateIPAllowListEntryPayload

type UpdateIPAllowListEntryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The IP allow list entry that was updated.
	IPAllowListEntry *IPAllowListEntry `json:"ipAllowListEntry,omitempty"`
}

Autogenerated return type of UpdateIpAllowListEntry

type UpdateIPAllowListForInstalledAppsEnabledSettingInput

type UpdateIPAllowListForInstalledAppsEnabledSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the owner.
	OwnerID string `json:"ownerId"`
	// The value for the IP allow list configuration for installed GitHub Apps setting.
	SettingValue IPAllowListForInstalledAppsEnabledSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting

type UpdateIPAllowListForInstalledAppsEnabledSettingPayload

type UpdateIPAllowListForInstalledAppsEnabledSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The IP allow list owner on which the setting was updated.
	Owner IPAllowListOwner `json:"owner,omitempty"`
}

Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting

type UpdateIssueCommentInput

type UpdateIssueCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the IssueComment to modify.
	ID string `json:"id"`
	// The updated text of the comment.
	Body string `json:"body"`
}

Autogenerated input type of UpdateIssueComment

type UpdateIssueCommentPayload

type UpdateIssueCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated comment.
	IssueComment *IssueComment `json:"issueComment,omitempty"`
}

Autogenerated return type of UpdateIssueComment

type UpdateIssueInput

type UpdateIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Issue to modify.
	ID string `json:"id"`
	// The title for the issue.
	Title *string `json:"title,omitempty"`
	// The body for the issue description.
	Body *string `json:"body,omitempty"`
	// An array of Node IDs of users for this issue.
	AssigneeIds []string `json:"assigneeIds,omitempty"`
	// The Node ID of the milestone for this issue.
	MilestoneID *string `json:"milestoneId,omitempty"`
	// An array of Node IDs of labels for this issue.
	LabelIds []string `json:"labelIds,omitempty"`
	// The desired issue state.
	State *IssueState `json:"state,omitempty"`
	// An array of Node IDs for projects associated with this issue.
	ProjectIds []string `json:"projectIds,omitempty"`
}

Autogenerated input type of UpdateIssue

type UpdateIssuePayload

type UpdateIssuePayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The issue.
	Issue *Issue `json:"issue,omitempty"`
}

Autogenerated return type of UpdateIssue

type UpdateNotificationRestrictionSettingInput

type UpdateNotificationRestrictionSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the owner on which to set the restrict notifications setting.
	OwnerID string `json:"ownerId"`
	// The value for the restrict notifications setting.
	SettingValue NotificationRestrictionSettingValue `json:"settingValue"`
}

Autogenerated input type of UpdateNotificationRestrictionSetting

type UpdateNotificationRestrictionSettingPayload

type UpdateNotificationRestrictionSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The owner on which the setting was updated.
	Owner VerifiableDomainOwner `json:"owner,omitempty"`
}

Autogenerated return type of UpdateNotificationRestrictionSetting

type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput

type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization on which to set the allow private repository forking setting.
	OrganizationID string `json:"organizationId"`
	// Enable forking of private repositories in the organization?
	ForkingEnabled bool `json:"forkingEnabled"`
}

Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting

type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload

type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of updating the allow private repository forking setting.
	Message *string `json:"message,omitempty"`
	// The organization with the updated allow private repository forking setting.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of UpdateOrganizationAllowPrivateRepositoryForkingSetting

type UpdateOrganizationWebCommitSignoffSettingInput

type UpdateOrganizationWebCommitSignoffSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the organization on which to set the web commit signoff setting.
	OrganizationID string `json:"organizationId"`
	// Enable signoff on web-based commits for repositories in the organization?
	WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"`
}

Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting

type UpdateOrganizationWebCommitSignoffSettingPayload

type UpdateOrganizationWebCommitSignoffSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of updating the web commit signoff setting.
	Message *string `json:"message,omitempty"`
	// The organization with the updated web commit signoff setting.
	Organization *Organization `json:"organization,omitempty"`
}

Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting

type UpdateParameters

type UpdateParameters struct {
	// Branch can pull changes from its upstream repository
	UpdateAllowsFetchAndMerge bool `json:"updateAllowsFetchAndMerge"`
}

Only allow users with bypass permission to update matching refs.

func (UpdateParameters) IsRuleParameters

func (UpdateParameters) IsRuleParameters()

type UpdateParametersInput

type UpdateParametersInput struct {
	// Branch can pull changes from its upstream repository
	UpdateAllowsFetchAndMerge bool `json:"updateAllowsFetchAndMerge"`
}

Only allow users with bypass permission to update matching refs.

type UpdatePatreonSponsorabilityInput

type UpdatePatreonSponsorabilityInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The username of the organization with the GitHub Sponsors profile, if any. Defaults to the GitHub Sponsors profile for the authenticated user if omitted.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// Whether Patreon tiers should be shown on the GitHub Sponsors profile page, allowing potential sponsors to make their payment through Patreon instead of GitHub.
	EnablePatreonSponsorships bool `json:"enablePatreonSponsorships"`
}

Autogenerated input type of UpdatePatreonSponsorability

type UpdatePatreonSponsorabilityPayload

type UpdatePatreonSponsorabilityPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The GitHub Sponsors profile.
	SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
}

Autogenerated return type of UpdatePatreonSponsorability

type UpdateProjectCardInput

type UpdateProjectCardInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ProjectCard ID to update.
	ProjectCardID string `json:"projectCardId"`
	// Whether or not the ProjectCard should be archived
	IsArchived *bool `json:"isArchived,omitempty"`
	// The note of ProjectCard.
	Note *string `json:"note,omitempty"`
}

Autogenerated input type of UpdateProjectCard

type UpdateProjectCardPayload

type UpdateProjectCardPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated ProjectCard.
	ProjectCard *ProjectCard `json:"projectCard,omitempty"`
}

Autogenerated return type of UpdateProjectCard

type UpdateProjectColumnInput

type UpdateProjectColumnInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ProjectColumn ID to update.
	ProjectColumnID string `json:"projectColumnId"`
	// The name of project column.
	Name string `json:"name"`
}

Autogenerated input type of UpdateProjectColumn

type UpdateProjectColumnPayload

type UpdateProjectColumnPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated project column.
	ProjectColumn *ProjectColumn `json:"projectColumn,omitempty"`
}

Autogenerated return type of UpdateProjectColumn

type UpdateProjectInput

type UpdateProjectInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Project ID to update.
	ProjectID string `json:"projectId"`
	// The name of project.
	Name *string `json:"name,omitempty"`
	// The description of project.
	Body *string `json:"body,omitempty"`
	// Whether the project is open or closed.
	State *ProjectState `json:"state,omitempty"`
	// Whether the project is public or not.
	Public *bool `json:"public,omitempty"`
}

Autogenerated input type of UpdateProject

type UpdateProjectPayload

type UpdateProjectPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated project.
	Project *Project `json:"project,omitempty"`
}

Autogenerated return type of UpdateProject

type UpdateProjectV2CollaboratorsInput

type UpdateProjectV2CollaboratorsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the project to update the collaborators for.
	ProjectID string `json:"projectId"`
	// The collaborators to update.
	Collaborators []*ProjectV2Collaborator `json:"collaborators"`
}

Autogenerated input type of UpdateProjectV2Collaborators

type UpdateProjectV2CollaboratorsPayload

type UpdateProjectV2CollaboratorsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The collaborators granted a role
	Collaborators *ProjectV2ActorConnection `json:"collaborators,omitempty"`
}

Autogenerated return type of UpdateProjectV2Collaborators

type UpdateProjectV2DraftIssueInput

type UpdateProjectV2DraftIssueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the draft issue to update.
	DraftIssueID string `json:"draftIssueId"`
	// The title of the draft issue.
	Title *string `json:"title,omitempty"`
	// The body of the draft issue.
	Body *string `json:"body,omitempty"`
	// The IDs of the assignees of the draft issue.
	AssigneeIds []string `json:"assigneeIds,omitempty"`
}

Autogenerated input type of UpdateProjectV2DraftIssue

type UpdateProjectV2DraftIssuePayload

type UpdateProjectV2DraftIssuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The draft issue updated in the project.
	DraftIssue *DraftIssue `json:"draftIssue,omitempty"`
}

Autogenerated return type of UpdateProjectV2DraftIssue

type UpdateProjectV2Input

type UpdateProjectV2Input struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project to update.
	ProjectID string `json:"projectId"`
	// Set the title of the project.
	Title *string `json:"title,omitempty"`
	// Set the short description of the project.
	ShortDescription *string `json:"shortDescription,omitempty"`
	// Set the readme description of the project.
	Readme *string `json:"readme,omitempty"`
	// Set the project to closed or open.
	Closed *bool `json:"closed,omitempty"`
	// Set the project to public or private.
	Public *bool `json:"public,omitempty"`
}

Autogenerated input type of UpdateProjectV2

type UpdateProjectV2ItemFieldValueInput

type UpdateProjectV2ItemFieldValueInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project.
	ProjectID string `json:"projectId"`
	// The ID of the item to be updated.
	ItemID string `json:"itemId"`
	// The ID of the field to be updated.
	FieldID string `json:"fieldId"`
	// The value which will be set on the field.
	Value *ProjectV2FieldValue `json:"value"`
}

Autogenerated input type of UpdateProjectV2ItemFieldValue

type UpdateProjectV2ItemFieldValuePayload

type UpdateProjectV2ItemFieldValuePayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated item.
	ProjectV2Item *ProjectV2Item `json:"projectV2Item,omitempty"`
}

Autogenerated return type of UpdateProjectV2ItemFieldValue

type UpdateProjectV2ItemPositionInput

type UpdateProjectV2ItemPositionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the Project.
	ProjectID string `json:"projectId"`
	// The ID of the item to be moved.
	ItemID string `json:"itemId"`
	// The ID of the item to position this item after. If omitted or set to null the item will be moved to top.
	AfterID *string `json:"afterId,omitempty"`
}

Autogenerated input type of UpdateProjectV2ItemPosition

type UpdateProjectV2ItemPositionPayload

type UpdateProjectV2ItemPositionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The items in the new order
	Items *ProjectV2ItemConnection `json:"items,omitempty"`
}

Autogenerated return type of UpdateProjectV2ItemPosition

type UpdateProjectV2Payload

type UpdateProjectV2Payload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated Project.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
}

Autogenerated return type of UpdateProjectV2

type UpdatePullRequestBranchInput

type UpdatePullRequestBranchInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request.
	PullRequestID string `json:"pullRequestId"`
	// The head ref oid for the upstream branch.
	ExpectedHeadOid *string `json:"expectedHeadOid,omitempty"`
	// The update branch method to use. If omitted, defaults to 'MERGE'
	UpdateMethod *PullRequestBranchUpdateMethod `json:"updateMethod,omitempty"`
}

Autogenerated input type of UpdatePullRequestBranch

type UpdatePullRequestBranchPayload

type UpdatePullRequestBranchPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated pull request.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of UpdatePullRequestBranch

type UpdatePullRequestInput

type UpdatePullRequestInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request.
	PullRequestID string `json:"pullRequestId"`
	// The name of the branch you want your changes pulled into. This should be an existing branch
	// on the current repository.
	//
	BaseRefName *string `json:"baseRefName,omitempty"`
	// The title of the pull request.
	Title *string `json:"title,omitempty"`
	// The contents of the pull request.
	Body *string `json:"body,omitempty"`
	// The target state of the pull request.
	State *PullRequestUpdateState `json:"state,omitempty"`
	// Indicates whether maintainers can modify the pull request.
	MaintainerCanModify *bool `json:"maintainerCanModify,omitempty"`
	// An array of Node IDs of users for this pull request.
	AssigneeIds []string `json:"assigneeIds,omitempty"`
	// The Node ID of the milestone for this pull request.
	MilestoneID *string `json:"milestoneId,omitempty"`
	// An array of Node IDs of labels for this pull request.
	LabelIds []string `json:"labelIds,omitempty"`
	// An array of Node IDs for projects associated with this pull request.
	ProjectIds []string `json:"projectIds,omitempty"`
}

Autogenerated input type of UpdatePullRequest

type UpdatePullRequestPayload

type UpdatePullRequestPayload struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated pull request.
	PullRequest *PullRequest `json:"pullRequest,omitempty"`
}

Autogenerated return type of UpdatePullRequest

type UpdatePullRequestReviewCommentInput

type UpdatePullRequestReviewCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the comment to modify.
	PullRequestReviewCommentID string `json:"pullRequestReviewCommentId"`
	// The text of the comment.
	Body string `json:"body"`
}

Autogenerated input type of UpdatePullRequestReviewComment

type UpdatePullRequestReviewCommentPayload

type UpdatePullRequestReviewCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated comment.
	PullRequestReviewComment *PullRequestReviewComment `json:"pullRequestReviewComment,omitempty"`
}

Autogenerated return type of UpdatePullRequestReviewComment

type UpdatePullRequestReviewInput

type UpdatePullRequestReviewInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the pull request review to modify.
	PullRequestReviewID string `json:"pullRequestReviewId"`
	// The contents of the pull request review body.
	Body string `json:"body"`
}

Autogenerated input type of UpdatePullRequestReview

type UpdatePullRequestReviewPayload

type UpdatePullRequestReviewPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated pull request review.
	PullRequestReview *PullRequestReview `json:"pullRequestReview,omitempty"`
}

Autogenerated return type of UpdatePullRequestReview

type UpdateRefInput

type UpdateRefInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the Ref to be updated.
	RefID string `json:"refId"`
	// The GitObjectID that the Ref shall be updated to target.
	Oid string `json:"oid"`
	// Permit updates of branch Refs that are not fast-forwards?
	Force *bool `json:"force,omitempty"`
}

Autogenerated input type of UpdateRef

type UpdateRefPayload

type UpdateRefPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated Ref.
	Ref *Ref `json:"ref,omitempty"`
}

Autogenerated return type of UpdateRef

type UpdateRepositoryInput

type UpdateRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the repository to update.
	RepositoryID string `json:"repositoryId"`
	// The new name of the repository.
	Name *string `json:"name,omitempty"`
	// A new description for the repository. Pass an empty string to erase the existing description.
	Description *string `json:"description,omitempty"`
	// Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure.
	Template *bool `json:"template,omitempty"`
	// The URL for a web page about this repository. Pass an empty string to erase the existing URL.
	HomepageURL *string `json:"homepageUrl,omitempty"`
	// Indicates if the repository should have the wiki feature enabled.
	HasWikiEnabled *bool `json:"hasWikiEnabled,omitempty"`
	// Indicates if the repository should have the issues feature enabled.
	HasIssuesEnabled *bool `json:"hasIssuesEnabled,omitempty"`
	// Indicates if the repository should have the project boards feature enabled.
	HasProjectsEnabled *bool `json:"hasProjectsEnabled,omitempty"`
	// Indicates if the repository should have the discussions feature enabled.
	HasDiscussionsEnabled *bool `json:"hasDiscussionsEnabled,omitempty"`
	// Indicates if the repository displays a Sponsor button for financial contributions.
	HasSponsorshipsEnabled *bool `json:"hasSponsorshipsEnabled,omitempty"`
}

Autogenerated input type of UpdateRepository

type UpdateRepositoryPayload

type UpdateRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UpdateRepository

type UpdateRepositoryRulesetInput

type UpdateRepositoryRulesetInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The global relay id of the repository ruleset to be updated.
	RepositoryRulesetID string `json:"repositoryRulesetId"`
	// The name of the ruleset.
	Name *string `json:"name,omitempty"`
	// The target of the ruleset.
	Target *RepositoryRulesetTarget `json:"target,omitempty"`
	// The list of rules for this ruleset
	Rules []*RepositoryRuleInput `json:"rules,omitempty"`
	// The list of conditions for this ruleset
	Conditions *RepositoryRuleConditionsInput `json:"conditions,omitempty"`
	// The enforcement level for this ruleset
	Enforcement *RuleEnforcement `json:"enforcement,omitempty"`
	// A list of actors that are allowed to bypass rules in this ruleset.
	BypassActors []*RepositoryRulesetBypassActorInput `json:"bypassActors,omitempty"`
}

Autogenerated input type of UpdateRepositoryRuleset

type UpdateRepositoryRulesetPayload

type UpdateRepositoryRulesetPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The newly created Ruleset.
	Ruleset *RepositoryRuleset `json:"ruleset,omitempty"`
}

Autogenerated return type of UpdateRepositoryRuleset

type UpdateRepositoryWebCommitSignoffSettingInput

type UpdateRepositoryWebCommitSignoffSettingInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the repository to update.
	RepositoryID string `json:"repositoryId"`
	// Indicates if the repository should require signoff on web-based commits.
	WebCommitSignoffRequired bool `json:"webCommitSignoffRequired"`
}

Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting

type UpdateRepositoryWebCommitSignoffSettingPayload

type UpdateRepositoryWebCommitSignoffSettingPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// A message confirming the result of updating the web commit signoff setting.
	Message *string `json:"message,omitempty"`
	// The updated repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting

type UpdateSponsorshipPreferencesInput

type UpdateSponsorshipPreferencesInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given.
	SponsorID *string `json:"sponsorId,omitempty"`
	// The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given.
	SponsorLogin *string `json:"sponsorLogin,omitempty"`
	// The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.
	SponsorableID *string `json:"sponsorableId,omitempty"`
	// The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.
	SponsorableLogin *string `json:"sponsorableLogin,omitempty"`
	// Whether the sponsor should receive email updates from the sponsorable.
	ReceiveEmails *bool `json:"receiveEmails,omitempty"`
	// Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used.
	PrivacyLevel *SponsorshipPrivacy `json:"privacyLevel,omitempty"`
}

Autogenerated input type of UpdateSponsorshipPreferences

type UpdateSponsorshipPreferencesPayload

type UpdateSponsorshipPreferencesPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The sponsorship that was updated.
	Sponsorship *Sponsorship `json:"sponsorship,omitempty"`
}

Autogenerated return type of UpdateSponsorshipPreferences

type UpdateSubscriptionInput

type UpdateSubscriptionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the subscribable object to modify.
	SubscribableID string `json:"subscribableId"`
	// The new state of the subscription.
	State SubscriptionState `json:"state"`
}

Autogenerated input type of UpdateSubscription

type UpdateSubscriptionPayload

type UpdateSubscriptionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The input subscribable entity.
	Subscribable Subscribable `json:"subscribable,omitempty"`
}

Autogenerated return type of UpdateSubscription

type UpdateTeamDiscussionCommentInput

type UpdateTeamDiscussionCommentInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the comment to modify.
	ID string `json:"id"`
	// The updated text of the comment.
	Body string `json:"body"`
	// The current version of the body content.
	BodyVersion *string `json:"bodyVersion,omitempty"`
}

Autogenerated input type of UpdateTeamDiscussionComment

type UpdateTeamDiscussionCommentPayload

type UpdateTeamDiscussionCommentPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated comment.
	TeamDiscussionComment *TeamDiscussionComment `json:"teamDiscussionComment,omitempty"`
}

Autogenerated return type of UpdateTeamDiscussionComment

type UpdateTeamDiscussionInput

type UpdateTeamDiscussionInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the discussion to modify.
	ID string `json:"id"`
	// The updated title of the discussion.
	Title *string `json:"title,omitempty"`
	// The updated text of the discussion.
	Body *string `json:"body,omitempty"`
	// The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.
	BodyVersion *string `json:"bodyVersion,omitempty"`
	// If provided, sets the pinned state of the updated discussion.
	Pinned *bool `json:"pinned,omitempty"`
}

Autogenerated input type of UpdateTeamDiscussion

type UpdateTeamDiscussionPayload

type UpdateTeamDiscussionPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The updated discussion.
	TeamDiscussion *TeamDiscussion `json:"teamDiscussion,omitempty"`
}

Autogenerated return type of UpdateTeamDiscussion

type UpdateTeamsRepositoryInput

type UpdateTeamsRepositoryInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Repository ID being granted access to.
	RepositoryID string `json:"repositoryId"`
	// A list of teams being granted access. Limit: 10
	TeamIds []string `json:"teamIds"`
	// Permission that should be granted to the teams.
	Permission RepositoryPermission `json:"permission"`
}

Autogenerated input type of UpdateTeamsRepository

type UpdateTeamsRepositoryPayload

type UpdateTeamsRepositoryPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The repository that was updated.
	Repository *Repository `json:"repository,omitempty"`
	// The teams granted permission on the repository.
	Teams []*Team `json:"teams,omitempty"`
}

Autogenerated return type of UpdateTeamsRepository

type UpdateTopicsInput

type UpdateTopicsInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The Node ID of the repository.
	RepositoryID string `json:"repositoryId"`
	// An array of topic names.
	TopicNames []string `json:"topicNames"`
}

Autogenerated input type of UpdateTopics

type UpdateTopicsPayload

type UpdateTopicsPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// Names of the provided topics that are not valid.
	InvalidTopicNames []string `json:"invalidTopicNames,omitempty"`
	// The updated repository.
	Repository *Repository `json:"repository,omitempty"`
}

Autogenerated return type of UpdateTopics

type UpdateUserListInput

type UpdateUserListInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the list to update.
	ListID string `json:"listId"`
	// The name of the list
	Name *string `json:"name,omitempty"`
	// A description of the list
	Description *string `json:"description,omitempty"`
	// Whether or not the list is private
	IsPrivate *bool `json:"isPrivate,omitempty"`
}

Autogenerated input type of UpdateUserList

type UpdateUserListPayload

type UpdateUserListPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The list that was just updated
	List *UserList `json:"list,omitempty"`
}

Autogenerated return type of UpdateUserList

type UpdateUserListsForItemInput

type UpdateUserListsForItemInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item to add to the list
	ItemID string `json:"itemId"`
	// The lists to which this item should belong
	ListIds []string `json:"listIds"`
	// The suggested lists to create and add this item to
	SuggestedListIds []string `json:"suggestedListIds,omitempty"`
}

Autogenerated input type of UpdateUserListsForItem

type UpdateUserListsForItemPayload

type UpdateUserListsForItemPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The item that was added
	Item UserListItems `json:"item,omitempty"`
	// The lists to which this item belongs
	Lists []*UserList `json:"lists,omitempty"`
	// The user who owns the lists
	User *User `json:"user,omitempty"`
}

Autogenerated return type of UpdateUserListsForItem

type User

type User struct {
	// Determine if this repository owner has any items that can be pinned to their profile.
	AnyPinnableItems bool `json:"anyPinnableItems"`
	// A URL pointing to the user's public avatar.
	AvatarURL string `json:"avatarUrl"`
	// The user's public profile bio.
	Bio *string `json:"bio,omitempty"`
	// The user's public profile bio as HTML.
	BioHTML string `json:"bioHTML"`
	// Could this user receive email notifications, if the organization had notification restrictions enabled?
	CanReceiveOrganizationEmailsWhenNotificationsRestricted bool `json:"canReceiveOrganizationEmailsWhenNotificationsRestricted"`
	// A list of commit comments made by this user.
	CommitComments *CommitCommentConnection `json:"commitComments"`
	// The user's public profile company.
	Company *string `json:"company,omitempty"`
	// The user's public profile company as HTML.
	CompanyHTML string `json:"companyHTML"`
	// The collection of contributions this user has made to different repositories.
	ContributionsCollection *ContributionsCollection `json:"contributionsCollection"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The user's publicly visible profile email.
	Email string `json:"email"`
	// A list of enterprises that the user belongs to.
	Enterprises *EnterpriseConnection `json:"enterprises,omitempty"`
	// The estimated next GitHub Sponsors payout for this user/organization in cents (USD).
	EstimatedNextSponsorsPayoutInCents int `json:"estimatedNextSponsorsPayoutInCents"`
	// A list of users the given user is followed by.
	Followers *FollowerConnection `json:"followers"`
	// A list of users the given user is following.
	Following *FollowingConnection `json:"following"`
	// Find gist by repo name.
	Gist *Gist `json:"gist,omitempty"`
	// A list of gist comments made by this user.
	GistComments *GistCommentConnection `json:"gistComments"`
	// A list of the Gists the user has created.
	Gists *GistConnection `json:"gists"`
	// True if this user/organization has a GitHub Sponsors listing.
	HasSponsorsListing bool `json:"hasSponsorsListing"`
	// The hovercard information for this user in a given context
	Hovercard *Hovercard `json:"hovercard"`
	// The Node ID of the User object
	ID string `json:"id"`
	// The interaction ability settings for this user.
	InteractionAbility *RepositoryInteractionAbility `json:"interactionAbility,omitempty"`
	// Whether or not this user is a participant in the GitHub Security Bug Bounty.
	IsBountyHunter bool `json:"isBountyHunter"`
	// Whether or not this user is a participant in the GitHub Campus Experts Program.
	IsCampusExpert bool `json:"isCampusExpert"`
	// Whether or not this user is a GitHub Developer Program member.
	IsDeveloperProgramMember bool `json:"isDeveloperProgramMember"`
	// Whether or not this user is a GitHub employee.
	IsEmployee bool `json:"isEmployee"`
	// Whether or not this user is following the viewer. Inverse of viewerIsFollowing
	IsFollowingViewer bool `json:"isFollowingViewer"`
	// Whether or not this user is a member of the GitHub Stars Program.
	IsGitHubStar bool `json:"isGitHubStar"`
	// Whether or not the user has marked themselves as for hire.
	IsHireable bool `json:"isHireable"`
	// Whether or not this user is a site administrator.
	IsSiteAdmin bool `json:"isSiteAdmin"`
	// Whether the given account is sponsoring this user/organization.
	IsSponsoredBy bool `json:"isSponsoredBy"`
	// True if the viewer is sponsored by this user/organization.
	IsSponsoringViewer bool `json:"isSponsoringViewer"`
	// Whether or not this user is the viewing user.
	IsViewer bool `json:"isViewer"`
	// A list of issue comments made by this user.
	IssueComments *IssueCommentConnection `json:"issueComments"`
	// A list of issues associated with this user.
	Issues *IssueConnection `json:"issues"`
	// Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
	ItemShowcase *ProfileItemShowcase `json:"itemShowcase"`
	// Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.
	LifetimeReceivedSponsorshipValues *SponsorAndLifetimeValueConnection `json:"lifetimeReceivedSponsorshipValues"`
	// A user-curated list of repositories
	Lists *UserListConnection `json:"lists"`
	// The user's public profile location.
	Location *string `json:"location,omitempty"`
	// The username used to login.
	Login string `json:"login"`
	// The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).
	MonthlyEstimatedSponsorsIncomeInCents int `json:"monthlyEstimatedSponsorsIncomeInCents"`
	// The user's public profile name.
	Name *string `json:"name,omitempty"`
	// Find an organization by its login that the user belongs to.
	Organization *Organization `json:"organization,omitempty"`
	// Verified email addresses that match verified domains for a specified organization the user is a member of.
	OrganizationVerifiedDomainEmails []string `json:"organizationVerifiedDomainEmails"`
	// A list of organizations the user belongs to.
	Organizations *OrganizationConnection `json:"organizations"`
	// A list of packages under the owner.
	Packages *PackageConnection `json:"packages"`
	// A list of repositories and gists this profile owner can pin to their profile.
	PinnableItems *PinnableItemConnection `json:"pinnableItems"`
	// A list of repositories and gists this profile owner has pinned to their profile
	PinnedItems *PinnableItemConnection `json:"pinnedItems"`
	// Returns how many more items this profile owner can pin to their profile.
	PinnedItemsRemaining int `json:"pinnedItemsRemaining"`
	// Find project by number.
	Project *Project `json:"project,omitempty"`
	// Find a project by number.
	ProjectV2 *ProjectV2 `json:"projectV2,omitempty"`
	// A list of projects under the owner.
	Projects *ProjectConnection `json:"projects"`
	// The HTTP path listing user's projects
	ProjectsResourcePath string `json:"projectsResourcePath"`
	// The HTTP URL listing user's projects
	ProjectsURL string `json:"projectsUrl"`
	// A list of projects under the owner.
	ProjectsV2 *ProjectV2Connection `json:"projectsV2"`
	// The user's profile pronouns
	Pronouns *string `json:"pronouns,omitempty"`
	// A list of public keys associated with this user.
	PublicKeys *PublicKeyConnection `json:"publicKeys"`
	// A list of pull requests associated with this user.
	PullRequests *PullRequestConnection `json:"pullRequests"`
	// Recent projects that this user has modified in the context of the owner.
	RecentProjects *ProjectV2Connection `json:"recentProjects"`
	// A list of repositories that the user owns.
	Repositories *RepositoryConnection `json:"repositories"`
	// A list of repositories that the user recently contributed to.
	RepositoriesContributedTo *RepositoryConnection `json:"repositoriesContributedTo"`
	// Find Repository.
	Repository *Repository `json:"repository,omitempty"`
	// Discussion comments this user has authored.
	RepositoryDiscussionComments *DiscussionCommentConnection `json:"repositoryDiscussionComments"`
	// Discussions this user has started.
	RepositoryDiscussions *DiscussionConnection `json:"repositoryDiscussions"`
	// The HTTP path for this user
	ResourcePath string `json:"resourcePath"`
	// Replies this user has saved
	SavedReplies *SavedReplyConnection `json:"savedReplies,omitempty"`
	// The user's social media accounts, ordered as they appear on the user's profile.
	SocialAccounts *SocialAccountConnection `json:"socialAccounts"`
	// List of users and organizations this entity is sponsoring.
	Sponsoring *SponsorConnection `json:"sponsoring"`
	// List of sponsors for this user or organization.
	Sponsors *SponsorConnection `json:"sponsors"`
	// Events involving this sponsorable, such as new sponsorships.
	SponsorsActivities *SponsorsActivityConnection `json:"sponsorsActivities"`
	// The GitHub Sponsors listing for this user or organization.
	SponsorsListing *SponsorsListing `json:"sponsorsListing,omitempty"`
	// The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.
	SponsorshipForViewerAsSponsor *Sponsorship `json:"sponsorshipForViewerAsSponsor,omitempty"`
	// The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.
	SponsorshipForViewerAsSponsorable *Sponsorship `json:"sponsorshipForViewerAsSponsorable,omitempty"`
	// List of sponsorship updates sent from this sponsorable to sponsors.
	SponsorshipNewsletters *SponsorshipNewsletterConnection `json:"sponsorshipNewsletters"`
	// The sponsorships where this user or organization is the maintainer receiving the funds.
	SponsorshipsAsMaintainer *SponsorshipConnection `json:"sponsorshipsAsMaintainer"`
	// The sponsorships where this user or organization is the funder.
	SponsorshipsAsSponsor *SponsorshipConnection `json:"sponsorshipsAsSponsor"`
	// Repositories the user has starred.
	StarredRepositories *StarredRepositoryConnection `json:"starredRepositories"`
	// The user's description of what they're currently doing.
	Status *UserStatus `json:"status,omitempty"`
	// Suggested names for user lists
	SuggestedListNames []*UserListSuggestion `json:"suggestedListNames"`
	// Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created
	//
	TopRepositories *RepositoryConnection `json:"topRepositories"`
	// The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.
	TotalSponsorshipAmountAsSponsorInCents *int `json:"totalSponsorshipAmountAsSponsorInCents,omitempty"`
	// The user's Twitter username.
	TwitterUsername *string `json:"twitterUsername,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this user
	URL string `json:"url"`
	// Can the viewer pin repositories and gists to the profile?
	ViewerCanChangePinnedItems bool `json:"viewerCanChangePinnedItems"`
	// Can the current viewer create new projects on this owner.
	ViewerCanCreateProjects bool `json:"viewerCanCreateProjects"`
	// Whether or not the viewer is able to follow the user.
	ViewerCanFollow bool `json:"viewerCanFollow"`
	// Whether or not the viewer is able to sponsor this user/organization.
	ViewerCanSponsor bool `json:"viewerCanSponsor"`
	// Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.
	ViewerIsFollowing bool `json:"viewerIsFollowing"`
	// True if the viewer is sponsoring this user/organization.
	ViewerIsSponsoring bool `json:"viewerIsSponsoring"`
	// A list of repositories the given user is watching.
	Watching *RepositoryConnection `json:"watching"`
	// A URL pointing to the user's public website/blog.
	WebsiteURL *string `json:"websiteUrl,omitempty"`
}

A user is an individual's account on GitHub that owns repositories and can make new content.

func (User) GetAnyPinnableItems

func (this User) GetAnyPinnableItems() bool

Determine if this repository owner has any items that can be pinned to their profile.

func (User) GetAvatarURL

func (this User) GetAvatarURL() string

A URL pointing to the owner's public avatar.

func (User) GetEmail

func (this User) GetEmail() *string

The public profile email.

func (User) GetEstimatedNextSponsorsPayoutInCents

func (this User) GetEstimatedNextSponsorsPayoutInCents() int

The estimated next GitHub Sponsors payout for this user/organization in cents (USD).

func (User) GetHasSponsorsListing

func (this User) GetHasSponsorsListing() bool

True if this user/organization has a GitHub Sponsors listing.

func (User) GetID

func (this User) GetID() string

ID of the object.

func (User) GetIsSponsoredBy

func (this User) GetIsSponsoredBy() bool

Whether the given account is sponsoring this user/organization.

func (User) GetIsSponsoringViewer

func (this User) GetIsSponsoringViewer() bool

True if the viewer is sponsored by this user/organization.

func (User) GetItemShowcase

func (this User) GetItemShowcase() *ProfileItemShowcase

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

func (User) GetLifetimeReceivedSponsorshipValues

func (this User) GetLifetimeReceivedSponsorshipValues() *SponsorAndLifetimeValueConnection

Calculate how much each sponsor has ever paid total to this maintainer via GitHub Sponsors. Does not include sponsorships paid via Patreon.

func (User) GetLocation

func (this User) GetLocation() *string

The public profile location.

func (User) GetLogin

func (this User) GetLogin() string

The username used to login.

func (User) GetMonthlyEstimatedSponsorsIncomeInCents

func (this User) GetMonthlyEstimatedSponsorsIncomeInCents() int

The estimated monthly GitHub Sponsors income for this user/organization in cents (USD).

func (User) GetName

func (this User) GetName() *string

The public profile name.

func (User) GetPackages

func (this User) GetPackages() *PackageConnection

A list of packages under the owner.

func (User) GetPinnableItems

func (this User) GetPinnableItems() *PinnableItemConnection

A list of repositories and gists this profile owner can pin to their profile.

func (User) GetPinnedItems

func (this User) GetPinnedItems() *PinnableItemConnection

A list of repositories and gists this profile owner has pinned to their profile

func (User) GetPinnedItemsRemaining

func (this User) GetPinnedItemsRemaining() int

Returns how many more items this profile owner can pin to their profile.

func (User) GetProject

func (this User) GetProject() *Project

Find project by number.

func (User) GetProjectV2

func (this User) GetProjectV2() *ProjectV2

Find a project by number.

func (User) GetProjects

func (this User) GetProjects() *ProjectConnection

A list of projects under the owner.

func (User) GetProjectsResourcePath

func (this User) GetProjectsResourcePath() string

The HTTP path listing owners projects

func (User) GetProjectsURL

func (this User) GetProjectsURL() string

The HTTP URL listing owners projects

func (User) GetProjectsV2

func (this User) GetProjectsV2() *ProjectV2Connection

A list of projects under the owner.

func (User) GetRecentProjects

func (this User) GetRecentProjects() *ProjectV2Connection

Recent projects that this user has modified in the context of the owner.

func (User) GetRepositories

func (this User) GetRepositories() *RepositoryConnection

A list of repositories that the user owns.

func (User) GetRepository

func (this User) GetRepository() *Repository

Find Repository.

func (User) GetRepositoryDiscussionComments

func (this User) GetRepositoryDiscussionComments() *DiscussionCommentConnection

Discussion comments this user has authored.

func (User) GetRepositoryDiscussions

func (this User) GetRepositoryDiscussions() *DiscussionConnection

Discussions this user has started.

func (User) GetResourcePath

func (this User) GetResourcePath() string

The HTTP URL for the owner.

func (User) GetSponsoring

func (this User) GetSponsoring() *SponsorConnection

List of users and organizations this entity is sponsoring.

func (User) GetSponsors

func (this User) GetSponsors() *SponsorConnection

List of sponsors for this user or organization.

func (User) GetSponsorsActivities

func (this User) GetSponsorsActivities() *SponsorsActivityConnection

Events involving this sponsorable, such as new sponsorships.

func (User) GetSponsorsListing

func (this User) GetSponsorsListing() *SponsorsListing

The GitHub Sponsors listing for this user or organization.

func (User) GetSponsorshipForViewerAsSponsor

func (this User) GetSponsorshipForViewerAsSponsor() *Sponsorship

The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor.

func (User) GetSponsorshipForViewerAsSponsorable

func (this User) GetSponsorshipForViewerAsSponsorable() *Sponsorship

The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving.

func (User) GetSponsorshipNewsletters

func (this User) GetSponsorshipNewsletters() *SponsorshipNewsletterConnection

List of sponsorship updates sent from this sponsorable to sponsors.

func (User) GetSponsorshipsAsMaintainer

func (this User) GetSponsorshipsAsMaintainer() *SponsorshipConnection

The sponsorships where this user or organization is the maintainer receiving the funds.

func (User) GetSponsorshipsAsSponsor

func (this User) GetSponsorshipsAsSponsor() *SponsorshipConnection

The sponsorships where this user or organization is the funder.

func (User) GetTotalSponsorshipAmountAsSponsorInCents

func (this User) GetTotalSponsorshipAmountAsSponsorInCents() *int

The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has spent on GitHub to fund sponsorships. Only returns a value when viewed by the user themselves or by a user who can manage sponsorships for the requested organization.

func (User) GetURL

func (this User) GetURL() string

The HTTP URL for the owner.

func (User) GetViewerCanChangePinnedItems

func (this User) GetViewerCanChangePinnedItems() bool

Can the viewer pin repositories and gists to the profile?

func (User) GetViewerCanCreateProjects

func (this User) GetViewerCanCreateProjects() bool

Can the current viewer create new projects on this owner.

func (User) GetViewerCanSponsor

func (this User) GetViewerCanSponsor() bool

Whether or not the viewer is able to sponsor this user/organization.

func (User) GetViewerIsSponsoring

func (this User) GetViewerIsSponsoring() bool

True if the viewer is sponsoring this user/organization.

func (User) GetWebsiteURL

func (this User) GetWebsiteURL() *string

The public profile website URL.

func (User) IsActor

func (User) IsActor()

func (User) IsAssignee

func (User) IsAssignee()

func (User) IsAuditEntryActor

func (User) IsAuditEntryActor()

func (User) IsBranchActorAllowanceActor

func (User) IsBranchActorAllowanceActor()

func (User) IsClaimable

func (User) IsClaimable()

func (User) IsDeploymentReviewer

func (User) IsDeploymentReviewer()

func (User) IsEnterpriseMember

func (User) IsEnterpriseMember()

func (User) IsNode

func (User) IsNode()

func (User) IsOrganizationOrUser

func (User) IsOrganizationOrUser()

func (User) IsPackageOwner

func (User) IsPackageOwner()

func (User) IsProfileOwner

func (User) IsProfileOwner()

func (User) IsProjectOwner

func (User) IsProjectOwner()

func (User) IsProjectV2Actor

func (User) IsProjectV2Actor()

func (User) IsProjectV2Owner

func (User) IsProjectV2Owner()

func (User) IsProjectV2Recent

func (User) IsProjectV2Recent()

func (User) IsPushAllowanceActor

func (User) IsPushAllowanceActor()

func (User) IsReactor

func (User) IsReactor()

func (User) IsRepositoryDiscussionAuthor

func (User) IsRepositoryDiscussionAuthor()

func (User) IsRepositoryDiscussionCommentAuthor

func (User) IsRepositoryDiscussionCommentAuthor()

func (User) IsRepositoryOwner

func (User) IsRepositoryOwner()

func (User) IsRequestedReviewer

func (User) IsRequestedReviewer()

func (User) IsReviewDismissalAllowanceActor

func (User) IsReviewDismissalAllowanceActor()

func (User) IsSearchResultItem

func (User) IsSearchResultItem()

func (User) IsSponsor

func (User) IsSponsor()

func (User) IsSponsorable

func (User) IsSponsorable()

func (User) IsSponsorableItem

func (User) IsSponsorableItem()

func (User) IsSponsorsListingFeatureableItem

func (User) IsSponsorsListingFeatureableItem()

func (User) IsUniformResourceLocatable

func (User) IsUniformResourceLocatable()

type UserBlockDuration

type UserBlockDuration string

The possible durations that a user can be blocked for.

const (
	// The user was blocked for 1 day
	UserBlockDurationOneDay UserBlockDuration = "ONE_DAY"
	// The user was blocked for 3 days
	UserBlockDurationThreeDays UserBlockDuration = "THREE_DAYS"
	// The user was blocked for 7 days
	UserBlockDurationOneWeek UserBlockDuration = "ONE_WEEK"
	// The user was blocked for 30 days
	UserBlockDurationOneMonth UserBlockDuration = "ONE_MONTH"
	// The user was blocked permanently
	UserBlockDurationPermanent UserBlockDuration = "PERMANENT"
)

func (UserBlockDuration) IsValid

func (e UserBlockDuration) IsValid() bool

func (UserBlockDuration) MarshalGQL

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

func (UserBlockDuration) String

func (e UserBlockDuration) String() string

func (*UserBlockDuration) UnmarshalGQL

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

type UserBlockedEvent

type UserBlockedEvent struct {
	// Identifies the actor who performed the event.
	Actor Actor `json:"actor,omitempty"`
	// Number of days that the user was blocked for.
	BlockDuration UserBlockDuration `json:"blockDuration"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The Node ID of the UserBlockedEvent object
	ID string `json:"id"`
	// The user who was blocked.
	Subject *User `json:"subject,omitempty"`
}

Represents a 'user_blocked' event on a given user.

func (UserBlockedEvent) GetID

func (this UserBlockedEvent) GetID() string

ID of the object.

func (UserBlockedEvent) IsIssueTimelineItem

func (UserBlockedEvent) IsIssueTimelineItem()

func (UserBlockedEvent) IsIssueTimelineItems

func (UserBlockedEvent) IsIssueTimelineItems()

func (UserBlockedEvent) IsNode

func (UserBlockedEvent) IsNode()

func (UserBlockedEvent) IsPullRequestTimelineItem

func (UserBlockedEvent) IsPullRequestTimelineItem()

func (UserBlockedEvent) IsPullRequestTimelineItems

func (UserBlockedEvent) IsPullRequestTimelineItems()

type UserConnection

type UserConnection struct {
	// A list of edges.
	Edges []*UserEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*User `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of users.

type UserContentEdit

type UserContentEdit struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the date and time when the object was deleted.
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The actor who deleted this content
	DeletedBy Actor `json:"deletedBy,omitempty"`
	// A summary of the changes for this edit
	Diff *string `json:"diff,omitempty"`
	// When this content was edited
	EditedAt time.Time `json:"editedAt"`
	// The actor who edited this content
	Editor Actor `json:"editor,omitempty"`
	// The Node ID of the UserContentEdit object
	ID string `json:"id"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
}

An edit on user content

func (UserContentEdit) GetID

func (this UserContentEdit) GetID() string

ID of the object.

func (UserContentEdit) IsNode

func (UserContentEdit) IsNode()

type UserContentEditConnection

type UserContentEditConnection struct {
	// A list of edges.
	Edges []*UserContentEditEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*UserContentEdit `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A list of edits to content.

type UserContentEditEdge

type UserContentEditEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *UserContentEdit `json:"node,omitempty"`
}

An edge in a connection.

type UserEdge

type UserEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *User `json:"node,omitempty"`
}

Represents a user.

type UserEmailMetadata

type UserEmailMetadata struct {
	// Boolean to identify primary emails
	Primary *bool `json:"primary,omitempty"`
	// Type of email
	Type *string `json:"type,omitempty"`
	// Email id
	Value string `json:"value"`
}

Email attributes from External Identity

type UserList

type UserList struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// The description of this list
	Description *string `json:"description,omitempty"`
	// The Node ID of the UserList object
	ID string `json:"id"`
	// Whether or not this list is private
	IsPrivate bool `json:"isPrivate"`
	// The items associated with this list
	Items *UserListItemsConnection `json:"items"`
	// The date and time at which this list was created or last had items added to it
	LastAddedAt time.Time `json:"lastAddedAt"`
	// The name of this list
	Name string `json:"name"`
	// The slug of this list
	Slug string `json:"slug"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The user to which this list belongs
	User *User `json:"user"`
}

A user-curated list of repositories

func (UserList) GetID

func (this UserList) GetID() string

ID of the object.

func (UserList) IsNode

func (UserList) IsNode()

type UserListConnection

type UserListConnection struct {
	// A list of edges.
	Edges []*UserListEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*UserList `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for UserList.

type UserListEdge

type UserListEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *UserList `json:"node,omitempty"`
}

An edge in a connection.

type UserListItems

type UserListItems interface {
	IsUserListItems()
}

Types that can be added to a user list.

type UserListItemsConnection

type UserListItemsConnection struct {
	// A list of edges.
	Edges []*UserListItemsEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []UserListItems `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for UserListItems.

type UserListItemsEdge

type UserListItemsEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node UserListItems `json:"node,omitempty"`
}

An edge in a connection.

type UserListSuggestion

type UserListSuggestion struct {
	// The ID of the suggested user list
	ID *string `json:"id,omitempty"`
	// The name of the suggested user list
	Name *string `json:"name,omitempty"`
}

Represents a suggested user list.

type UserStatus

type UserStatus struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// An emoji summarizing the user's status.
	Emoji *string `json:"emoji,omitempty"`
	// The status emoji as HTML.
	EmojiHTML *string `json:"emojiHTML,omitempty"`
	// If set, the status will not be shown after this date.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	// The Node ID of the UserStatus object
	ID string `json:"id"`
	// Whether this status indicates the user is not fully available on GitHub.
	IndicatesLimitedAvailability bool `json:"indicatesLimitedAvailability"`
	// A brief message describing what the user is doing.
	Message *string `json:"message,omitempty"`
	// The organization whose members can see this status. If null, this status is publicly visible.
	Organization *Organization `json:"organization,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The user who has this status.
	User *User `json:"user"`
}

The user's description of what they're currently doing.

func (UserStatus) GetID

func (this UserStatus) GetID() string

ID of the object.

func (UserStatus) IsNode

func (UserStatus) IsNode()

type UserStatusConnection

type UserStatusConnection struct {
	// A list of edges.
	Edges []*UserStatusEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*UserStatus `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for UserStatus.

type UserStatusEdge

type UserStatusEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *UserStatus `json:"node,omitempty"`
}

An edge in a connection.

type UserStatusOrder

type UserStatusOrder struct {
	// The field to order user statuses by.
	Field UserStatusOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for user status connections.

type UserStatusOrderField

type UserStatusOrderField string

Properties by which user status connections can be ordered.

const (
	// Order user statuses by when they were updated.
	UserStatusOrderFieldUpdatedAt UserStatusOrderField = "UPDATED_AT"
)

func (UserStatusOrderField) IsValid

func (e UserStatusOrderField) IsValid() bool

func (UserStatusOrderField) MarshalGQL

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

func (UserStatusOrderField) String

func (e UserStatusOrderField) String() string

func (*UserStatusOrderField) UnmarshalGQL

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

type VerifiableDomain

type VerifiableDomain struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The DNS host name that should be used for verification.
	DNSHostName *string `json:"dnsHostName,omitempty"`
	// The unicode encoded domain.
	Domain string `json:"domain"`
	// Whether a TXT record for verification with the expected host name was found.
	HasFoundHostName bool `json:"hasFoundHostName"`
	// Whether a TXT record for verification with the expected verification token was found.
	HasFoundVerificationToken bool `json:"hasFoundVerificationToken"`
	// The Node ID of the VerifiableDomain object
	ID string `json:"id"`
	// Whether or not the domain is approved.
	IsApproved bool `json:"isApproved"`
	// Whether this domain is required to exist for an organization or enterprise policy to be enforced.
	IsRequiredForPolicyEnforcement bool `json:"isRequiredForPolicyEnforcement"`
	// Whether or not the domain is verified.
	IsVerified bool `json:"isVerified"`
	// The owner of the domain.
	Owner VerifiableDomainOwner `json:"owner"`
	// The punycode encoded domain.
	PunycodeEncodedDomain string `json:"punycodeEncodedDomain"`
	// The time that the current verification token will expire.
	TokenExpirationTime *time.Time `json:"tokenExpirationTime,omitempty"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The current verification token for the domain.
	VerificationToken *string `json:"verificationToken,omitempty"`
}

A domain that can be verified or approved for an organization or an enterprise.

func (VerifiableDomain) GetID

func (this VerifiableDomain) GetID() string

ID of the object.

func (VerifiableDomain) IsNode

func (VerifiableDomain) IsNode()

type VerifiableDomainConnection

type VerifiableDomainConnection struct {
	// A list of edges.
	Edges []*VerifiableDomainEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*VerifiableDomain `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for VerifiableDomain.

type VerifiableDomainEdge

type VerifiableDomainEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *VerifiableDomain `json:"node,omitempty"`
}

An edge in a connection.

type VerifiableDomainOrder

type VerifiableDomainOrder struct {
	// The field to order verifiable domains by.
	Field VerifiableDomainOrderField `json:"field"`
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
}

Ordering options for verifiable domain connections.

type VerifiableDomainOrderField

type VerifiableDomainOrderField string

Properties by which verifiable domain connections can be ordered.

const (
	// Order verifiable domains by the domain name.
	VerifiableDomainOrderFieldDomain VerifiableDomainOrderField = "DOMAIN"
	// Order verifiable domains by their creation date.
	VerifiableDomainOrderFieldCreatedAt VerifiableDomainOrderField = "CREATED_AT"
)

func (VerifiableDomainOrderField) IsValid

func (e VerifiableDomainOrderField) IsValid() bool

func (VerifiableDomainOrderField) MarshalGQL

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

func (VerifiableDomainOrderField) String

func (*VerifiableDomainOrderField) UnmarshalGQL

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

type VerifiableDomainOwner

type VerifiableDomainOwner interface {
	IsVerifiableDomainOwner()
}

Types that can own a verifiable domain.

type VerifyVerifiableDomainInput

type VerifyVerifiableDomainInput struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The ID of the verifiable domain to verify.
	ID string `json:"id"`
}

Autogenerated input type of VerifyVerifiableDomain

type VerifyVerifiableDomainPayload

type VerifyVerifiableDomainPayload struct {
	// A unique identifier for the client performing the mutation.
	ClientMutationID *string `json:"clientMutationId,omitempty"`
	// The verifiable domain that was verified.
	Domain *VerifiableDomain `json:"domain,omitempty"`
}

Autogenerated return type of VerifyVerifiableDomain

type ViewerHovercardContext

type ViewerHovercardContext struct {
	// A string describing this context
	Message string `json:"message"`
	// An octicon to accompany this context
	Octicon string `json:"octicon"`
	// Identifies the user who is related to this context.
	Viewer *User `json:"viewer"`
}

A hovercard context with a message describing how the viewer is related.

func (ViewerHovercardContext) GetMessage

func (this ViewerHovercardContext) GetMessage() string

A string describing this context

func (ViewerHovercardContext) GetOcticon

func (this ViewerHovercardContext) GetOcticon() string

An octicon to accompany this context

func (ViewerHovercardContext) IsHovercardContext

func (ViewerHovercardContext) IsHovercardContext()

type Votable

type Votable interface {
	IsVotable()
	// Number of upvotes that this subject has received.
	GetUpvoteCount() int
	// Whether or not the current user can add or remove an upvote on this subject.
	GetViewerCanUpvote() bool
	// Whether or not the current user has already upvoted this subject.
	GetViewerHasUpvoted() bool
}

A subject that may be upvoted.

type Workflow

type Workflow struct {
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The Node ID of the Workflow object
	ID string `json:"id"`
	// The name of the workflow.
	Name string `json:"name"`
	// The HTTP path for this workflow
	ResourcePath string `json:"resourcePath"`
	// The runs of the workflow.
	Runs *WorkflowRunConnection `json:"runs"`
	// The state of the workflow.
	State WorkflowState `json:"state"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this workflow
	URL string `json:"url"`
}

A workflow contains meta information about an Actions workflow file.

func (Workflow) GetID

func (this Workflow) GetID() string

ID of the object.

func (Workflow) GetResourcePath

func (this Workflow) GetResourcePath() string

The HTML path to this resource.

func (Workflow) GetURL

func (this Workflow) GetURL() string

The URL to this resource.

func (Workflow) IsNode

func (Workflow) IsNode()

func (Workflow) IsUniformResourceLocatable

func (Workflow) IsUniformResourceLocatable()

type WorkflowFileReference

type WorkflowFileReference struct {
	// The path to the workflow file
	Path string `json:"path"`
	// The ref (branch or tag) of the workflow file to use
	Ref *string `json:"ref,omitempty"`
	// The ID of the repository where the workflow is defined
	RepositoryID int `json:"repositoryId"`
	// The commit SHA of the workflow file to use
	Sha *string `json:"sha,omitempty"`
}

A workflow that must run for this rule to pass

type WorkflowFileReferenceInput

type WorkflowFileReferenceInput struct {
	// The path to the workflow file
	Path string `json:"path"`
	// The ref (branch or tag) of the workflow file to use
	Ref *string `json:"ref,omitempty"`
	// The ID of the repository where the workflow is defined
	RepositoryID int `json:"repositoryId"`
	// The commit SHA of the workflow file to use
	Sha *string `json:"sha,omitempty"`
}

A workflow that must run for this rule to pass

type WorkflowRun

type WorkflowRun struct {
	// The check suite this workflow run belongs to.
	CheckSuite *CheckSuite `json:"checkSuite"`
	// Identifies the date and time when the object was created.
	CreatedAt time.Time `json:"createdAt"`
	// Identifies the primary key from the database.
	DatabaseID *int `json:"databaseId,omitempty"`
	// The log of deployment reviews
	DeploymentReviews *DeploymentReviewConnection `json:"deploymentReviews"`
	// The event that triggered the workflow run
	Event string `json:"event"`
	// The workflow file
	File *WorkflowRunFile `json:"file,omitempty"`
	// The Node ID of the WorkflowRun object
	ID string `json:"id"`
	// The pending deployment requests of all check runs in this workflow run
	PendingDeploymentRequests *DeploymentRequestConnection `json:"pendingDeploymentRequests"`
	// The HTTP path for this workflow run
	ResourcePath string `json:"resourcePath"`
	// A number that uniquely identifies this workflow run in its parent workflow.
	RunNumber int `json:"runNumber"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// The HTTP URL for this workflow run
	URL string `json:"url"`
	// The workflow executed in this workflow run.
	Workflow *Workflow `json:"workflow"`
}

A workflow run.

func (WorkflowRun) GetID

func (this WorkflowRun) GetID() string

ID of the object.

func (WorkflowRun) GetResourcePath

func (this WorkflowRun) GetResourcePath() string

The HTML path to this resource.

func (WorkflowRun) GetURL

func (this WorkflowRun) GetURL() string

The URL to this resource.

func (WorkflowRun) IsNode

func (WorkflowRun) IsNode()

func (WorkflowRun) IsUniformResourceLocatable

func (WorkflowRun) IsUniformResourceLocatable()

type WorkflowRunConnection

type WorkflowRunConnection struct {
	// A list of edges.
	Edges []*WorkflowRunEdge `json:"edges,omitempty"`
	// A list of nodes.
	Nodes []*WorkflowRun `json:"nodes,omitempty"`
	// Information to aid in pagination.
	PageInfo *PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

The connection type for WorkflowRun.

type WorkflowRunEdge

type WorkflowRunEdge struct {
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
	// The item at the end of the edge.
	Node *WorkflowRun `json:"node,omitempty"`
}

An edge in a connection.

type WorkflowRunFile

type WorkflowRunFile struct {
	// The Node ID of the WorkflowRunFile object
	ID string `json:"id"`
	// The path of the workflow file relative to its repository.
	Path string `json:"path"`
	// The direct link to the file in the repository which stores the workflow file.
	RepositoryFileURL string `json:"repositoryFileUrl"`
	// The repository name and owner which stores the workflow file.
	RepositoryName string `json:"repositoryName"`
	// The HTTP path for this workflow run file
	ResourcePath string `json:"resourcePath"`
	// The parent workflow run execution for this file.
	Run *WorkflowRun `json:"run"`
	// The HTTP URL for this workflow run file
	URL string `json:"url"`
	// If the viewer has permissions to push to the repository which stores the workflow.
	ViewerCanPushRepository bool `json:"viewerCanPushRepository"`
	// If the viewer has permissions to read the repository which stores the workflow.
	ViewerCanReadRepository bool `json:"viewerCanReadRepository"`
}

An executed workflow file for a workflow run.

func (WorkflowRunFile) GetID

func (this WorkflowRunFile) GetID() string

ID of the object.

func (WorkflowRunFile) GetResourcePath

func (this WorkflowRunFile) GetResourcePath() string

The HTML path to this resource.

func (WorkflowRunFile) GetURL

func (this WorkflowRunFile) GetURL() string

The URL to this resource.

func (WorkflowRunFile) IsNode

func (WorkflowRunFile) IsNode()

func (WorkflowRunFile) IsUniformResourceLocatable

func (WorkflowRunFile) IsUniformResourceLocatable()

type WorkflowRunOrder

type WorkflowRunOrder struct {
	// The field by which to order workflows.
	Field WorkflowRunOrderField `json:"field"`
	// The direction in which to order workflow runs by the specified field.
	Direction OrderDirection `json:"direction"`
}

Ways in which lists of workflow runs can be ordered upon return.

type WorkflowRunOrderField

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

type WorkflowsParameters

type WorkflowsParameters struct {
	// Workflows that must pass for this rule to pass.
	Workflows []*WorkflowFileReference `json:"workflows"`
}

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

func (WorkflowsParameters) IsRuleParameters

func (WorkflowsParameters) IsRuleParameters()

type WorkflowsParametersInput

type WorkflowsParametersInput struct {
	// Workflows that must pass for this rule to pass.
	Workflows []*WorkflowFileReferenceInput `json:"workflows"`
}

Require all changes made to a targeted branch to pass the specified workflows before they can be merged.

Jump to

Keyboard shortcuts

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