input.go

   1// Code generated by gen.go; DO NOT EDIT.
   2
   3package githubv4
   4
   5// Input represents one of the Input structs:
   6//
   7// AcceptTopicSuggestionInput, AddAssigneesToAssignableInput, AddCommentInput, AddLabelsToLabelableInput, AddProjectCardInput, AddProjectColumnInput, AddPullRequestReviewCommentInput, AddPullRequestReviewInput, AddReactionInput, AddStarInput, ChangeUserStatusInput, ClearLabelsFromLabelableInput, CloneProjectInput, CloseIssueInput, ClosePullRequestInput, CommitAuthor, CommitContributionOrder, ContributionOrder, ConvertProjectCardNoteToIssueInput, CreateBranchProtectionRuleInput, CreateContentAttachmentInput, CreateIssueInput, CreateProjectInput, CreatePullRequestInput, DeclineTopicSuggestionInput, DeleteBranchProtectionRuleInput, DeleteIssueCommentInput, DeleteIssueInput, DeleteProjectCardInput, DeleteProjectColumnInput, DeleteProjectInput, DeletePullRequestReviewCommentInput, DeletePullRequestReviewInput, DeploymentOrder, DismissPullRequestReviewInput, DraftPullRequestReviewComment, GistOrder, ImportProjectInput, IssueFilters, IssueOrder, LanguageOrder, LockLockableInput, MergePullRequestInput, MilestoneOrder, MinimizeCommentInput, MoveProjectCardInput, MoveProjectColumnInput, PinIssueInput, ProjectCardImport, ProjectColumnImport, ProjectOrder, PullRequestOrder, ReactionOrder, RefOrder, ReleaseOrder, RemoveAssigneesFromAssignableInput, RemoveLabelsFromLabelableInput, RemoveOutsideCollaboratorInput, RemoveReactionInput, RemoveStarInput, ReopenIssueInput, ReopenPullRequestInput, RepositoryOrder, RequestReviewsInput, ResolveReviewThreadInput, SecurityAdvisoryIdentifierFilter, SecurityAdvisoryOrder, SecurityVulnerabilityOrder, StarOrder, SubmitPullRequestReviewInput, TeamMemberOrder, TeamOrder, TeamRepositoryOrder, UnlockLockableInput, UnmarkIssueAsDuplicateInput, UnminimizeCommentInput, UnpinIssueInput, UnresolveReviewThreadInput, UpdateBranchProtectionRuleInput, UpdateIssueCommentInput, UpdateIssueInput, UpdateProjectCardInput, UpdateProjectColumnInput, UpdateProjectInput, UpdatePullRequestInput, UpdatePullRequestReviewCommentInput, UpdatePullRequestReviewInput, UpdateSubscriptionInput, UpdateTopicsInput, UserStatusOrder.
   8type Input interface{}
   9
  10// AcceptTopicSuggestionInput is an autogenerated input type of AcceptTopicSuggestion.
  11type AcceptTopicSuggestionInput struct {
  12	// The Node ID of the repository. (Required.)
  13	RepositoryID ID `json:"repositoryId"`
  14	// The name of the suggested topic. (Required.)
  15	Name String `json:"name"`
  16
  17	// A unique identifier for the client performing the mutation. (Optional.)
  18	ClientMutationID *String `json:"clientMutationId,omitempty"`
  19}
  20
  21// AddAssigneesToAssignableInput is an autogenerated input type of AddAssigneesToAssignable.
  22type AddAssigneesToAssignableInput struct {
  23	// The id of the assignable object to add assignees to. (Required.)
  24	AssignableID ID `json:"assignableId"`
  25	// The id of users to add as assignees. (Required.)
  26	AssigneeIDs []ID `json:"assigneeIds"`
  27
  28	// A unique identifier for the client performing the mutation. (Optional.)
  29	ClientMutationID *String `json:"clientMutationId,omitempty"`
  30}
  31
  32// AddCommentInput is an autogenerated input type of AddComment.
  33type AddCommentInput struct {
  34	// The Node ID of the subject to modify. (Required.)
  35	SubjectID ID `json:"subjectId"`
  36	// The contents of the comment. (Required.)
  37	Body String `json:"body"`
  38
  39	// A unique identifier for the client performing the mutation. (Optional.)
  40	ClientMutationID *String `json:"clientMutationId,omitempty"`
  41}
  42
  43// AddLabelsToLabelableInput is an autogenerated input type of AddLabelsToLabelable.
  44type AddLabelsToLabelableInput struct {
  45	// The id of the labelable object to add labels to. (Required.)
  46	LabelableID ID `json:"labelableId"`
  47	// The ids of the labels to add. (Required.)
  48	LabelIDs []ID `json:"labelIds"`
  49
  50	// A unique identifier for the client performing the mutation. (Optional.)
  51	ClientMutationID *String `json:"clientMutationId,omitempty"`
  52}
  53
  54// AddProjectCardInput is an autogenerated input type of AddProjectCard.
  55type AddProjectCardInput struct {
  56	// The Node ID of the ProjectColumn. (Required.)
  57	ProjectColumnID ID `json:"projectColumnId"`
  58
  59	// The content of the card. Must be a member of the ProjectCardItem union. (Optional.)
  60	ContentID *ID `json:"contentId,omitempty"`
  61	// The note on the card. (Optional.)
  62	Note *String `json:"note,omitempty"`
  63	// A unique identifier for the client performing the mutation. (Optional.)
  64	ClientMutationID *String `json:"clientMutationId,omitempty"`
  65}
  66
  67// AddProjectColumnInput is an autogenerated input type of AddProjectColumn.
  68type AddProjectColumnInput struct {
  69	// The Node ID of the project. (Required.)
  70	ProjectID ID `json:"projectId"`
  71	// The name of the column. (Required.)
  72	Name String `json:"name"`
  73
  74	// A unique identifier for the client performing the mutation. (Optional.)
  75	ClientMutationID *String `json:"clientMutationId,omitempty"`
  76}
  77
  78// AddPullRequestReviewCommentInput is an autogenerated input type of AddPullRequestReviewComment.
  79type AddPullRequestReviewCommentInput struct {
  80	// The Node ID of the review to modify. (Required.)
  81	PullRequestReviewID ID `json:"pullRequestReviewId"`
  82	// The text of the comment. (Required.)
  83	Body String `json:"body"`
  84
  85	// The SHA of the commit to comment on. (Optional.)
  86	CommitOID *GitObjectID `json:"commitOID,omitempty"`
  87	// The relative path of the file to comment on. (Optional.)
  88	Path *String `json:"path,omitempty"`
  89	// The line index in the diff to comment on. (Optional.)
  90	Position *Int `json:"position,omitempty"`
  91	// The comment id to reply to. (Optional.)
  92	InReplyTo *ID `json:"inReplyTo,omitempty"`
  93	// A unique identifier for the client performing the mutation. (Optional.)
  94	ClientMutationID *String `json:"clientMutationId,omitempty"`
  95}
  96
  97// AddPullRequestReviewInput is an autogenerated input type of AddPullRequestReview.
  98type AddPullRequestReviewInput struct {
  99	// The Node ID of the pull request to modify. (Required.)
 100	PullRequestID ID `json:"pullRequestId"`
 101
 102	// The commit OID the review pertains to. (Optional.)
 103	CommitOID *GitObjectID `json:"commitOID,omitempty"`
 104	// The contents of the review body comment. (Optional.)
 105	Body *String `json:"body,omitempty"`
 106	// The event to perform on the pull request review. (Optional.)
 107	Event *PullRequestReviewEvent `json:"event,omitempty"`
 108	// The review line comments. (Optional.)
 109	Comments *[]*DraftPullRequestReviewComment `json:"comments,omitempty"`
 110	// A unique identifier for the client performing the mutation. (Optional.)
 111	ClientMutationID *String `json:"clientMutationId,omitempty"`
 112}
 113
 114// AddReactionInput is an autogenerated input type of AddReaction.
 115type AddReactionInput struct {
 116	// The Node ID of the subject to modify. (Required.)
 117	SubjectID ID `json:"subjectId"`
 118	// The name of the emoji to react with. (Required.)
 119	Content ReactionContent `json:"content"`
 120
 121	// A unique identifier for the client performing the mutation. (Optional.)
 122	ClientMutationID *String `json:"clientMutationId,omitempty"`
 123}
 124
 125// AddStarInput is an autogenerated input type of AddStar.
 126type AddStarInput struct {
 127	// The Starrable ID to star. (Required.)
 128	StarrableID ID `json:"starrableId"`
 129
 130	// A unique identifier for the client performing the mutation. (Optional.)
 131	ClientMutationID *String `json:"clientMutationId,omitempty"`
 132}
 133
 134// ChangeUserStatusInput is an autogenerated input type of ChangeUserStatus.
 135type ChangeUserStatusInput struct {
 136
 137	// The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. (Optional.)
 138	Emoji *String `json:"emoji,omitempty"`
 139	// A short description of your current status. (Optional.)
 140	Message *String `json:"message,omitempty"`
 141	// The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. (Optional.)
 142	OrganizationID *ID `json:"organizationId,omitempty"`
 143	// Whether this status should indicate you are not fully available on GitHub, e.g., you are away. (Optional.)
 144	LimitedAvailability *Boolean `json:"limitedAvailability,omitempty"`
 145	// If set, the user status will not be shown after this date. (Optional.)
 146	ExpiresAt *DateTime `json:"expiresAt,omitempty"`
 147	// A unique identifier for the client performing the mutation. (Optional.)
 148	ClientMutationID *String `json:"clientMutationId,omitempty"`
 149}
 150
 151// ClearLabelsFromLabelableInput is an autogenerated input type of ClearLabelsFromLabelable.
 152type ClearLabelsFromLabelableInput struct {
 153	// The id of the labelable object to clear the labels from. (Required.)
 154	LabelableID ID `json:"labelableId"`
 155
 156	// A unique identifier for the client performing the mutation. (Optional.)
 157	ClientMutationID *String `json:"clientMutationId,omitempty"`
 158}
 159
 160// CloneProjectInput is an autogenerated input type of CloneProject.
 161type CloneProjectInput struct {
 162	// The owner ID to create the project under. (Required.)
 163	TargetOwnerID ID `json:"targetOwnerId"`
 164	// The source project to clone. (Required.)
 165	SourceID ID `json:"sourceId"`
 166	// Whether or not to clone the source project's workflows. (Required.)
 167	IncludeWorkflows Boolean `json:"includeWorkflows"`
 168	// The name of the project. (Required.)
 169	Name String `json:"name"`
 170
 171	// The description of the project. (Optional.)
 172	Body *String `json:"body,omitempty"`
 173	// The visibility of the project, defaults to false (private). (Optional.)
 174	Public *Boolean `json:"public,omitempty"`
 175	// A unique identifier for the client performing the mutation. (Optional.)
 176	ClientMutationID *String `json:"clientMutationId,omitempty"`
 177}
 178
 179// CloseIssueInput is an autogenerated input type of CloseIssue.
 180type CloseIssueInput struct {
 181	// ID of the issue to be closed. (Required.)
 182	IssueID ID `json:"issueId"`
 183
 184	// A unique identifier for the client performing the mutation. (Optional.)
 185	ClientMutationID *String `json:"clientMutationId,omitempty"`
 186}
 187
 188// ClosePullRequestInput is an autogenerated input type of ClosePullRequest.
 189type ClosePullRequestInput struct {
 190	// ID of the pull request to be closed. (Required.)
 191	PullRequestID ID `json:"pullRequestId"`
 192
 193	// A unique identifier for the client performing the mutation. (Optional.)
 194	ClientMutationID *String `json:"clientMutationId,omitempty"`
 195}
 196
 197// CommitAuthor specifies an author for filtering Git commits.
 198type CommitAuthor struct {
 199
 200	// 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. (Optional.)
 201	ID *ID `json:"id,omitempty"`
 202	// Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. (Optional.)
 203	Emails *[]String `json:"emails,omitempty"`
 204}
 205
 206// CommitContributionOrder represents ordering options for commit contribution connections.
 207type CommitContributionOrder struct {
 208	// The field by which to order commit contributions. (Required.)
 209	Field CommitContributionOrderField `json:"field"`
 210	// The ordering direction. (Required.)
 211	Direction OrderDirection `json:"direction"`
 212}
 213
 214// ContributionOrder represents ordering options for contribution connections.
 215type ContributionOrder struct {
 216	// The field by which to order contributions. (Required.)
 217	Field ContributionOrderField `json:"field"`
 218	// The ordering direction. (Required.)
 219	Direction OrderDirection `json:"direction"`
 220}
 221
 222// ConvertProjectCardNoteToIssueInput is an autogenerated input type of ConvertProjectCardNoteToIssue.
 223type ConvertProjectCardNoteToIssueInput struct {
 224	// The ProjectCard ID to convert. (Required.)
 225	ProjectCardID ID `json:"projectCardId"`
 226	// The ID of the repository to create the issue in. (Required.)
 227	RepositoryID ID `json:"repositoryId"`
 228
 229	// The title of the newly created issue. Defaults to the card's note text. (Optional.)
 230	Title *String `json:"title,omitempty"`
 231	// The body of the newly created issue. (Optional.)
 232	Body *String `json:"body,omitempty"`
 233	// A unique identifier for the client performing the mutation. (Optional.)
 234	ClientMutationID *String `json:"clientMutationId,omitempty"`
 235}
 236
 237// CreateBranchProtectionRuleInput is an autogenerated input type of CreateBranchProtectionRule.
 238type CreateBranchProtectionRuleInput struct {
 239	// The global relay id of the repository in which a new branch protection rule should be created in. (Required.)
 240	RepositoryID ID `json:"repositoryId"`
 241	// The glob-like pattern used to determine matching branches. (Required.)
 242	Pattern String `json:"pattern"`
 243
 244	// Are approving reviews required to update matching branches. (Optional.)
 245	RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"`
 246	// Number of approving reviews required to update matching branches. (Optional.)
 247	RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"`
 248	// Are commits required to be signed. (Optional.)
 249	RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"`
 250	// Can admins overwrite branch protection. (Optional.)
 251	IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"`
 252	// Are status checks required to update matching branches. (Optional.)
 253	RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"`
 254	// Are branches required to be up to date before merging. (Optional.)
 255	RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"`
 256	// Are reviews from code owners required to update matching branches. (Optional.)
 257	RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"`
 258	// Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.)
 259	DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"`
 260	// Is dismissal of pull request reviews restricted. (Optional.)
 261	RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"`
 262	// A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.)
 263	ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"`
 264	// Is pushing to matching branches restricted. (Optional.)
 265	RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"`
 266	// A list of User or Team IDs allowed to push to matching branches. (Optional.)
 267	PushActorIDs *[]ID `json:"pushActorIds,omitempty"`
 268	// List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.)
 269	RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"`
 270	// A unique identifier for the client performing the mutation. (Optional.)
 271	ClientMutationID *String `json:"clientMutationId,omitempty"`
 272}
 273
 274// CreateContentAttachmentInput is an autogenerated input type of CreateContentAttachment.
 275type CreateContentAttachmentInput struct {
 276	// The node ID of the content_reference. (Required.)
 277	ContentReferenceID ID `json:"contentReferenceId"`
 278	// The title of the content attachment. (Required.)
 279	Title String `json:"title"`
 280	// The body of the content attachment, which may contain markdown. (Required.)
 281	Body String `json:"body"`
 282
 283	// A unique identifier for the client performing the mutation. (Optional.)
 284	ClientMutationID *String `json:"clientMutationId,omitempty"`
 285}
 286
 287// CreateIssueInput is an autogenerated input type of CreateIssue.
 288type CreateIssueInput struct {
 289	// The Node ID of the repository. (Required.)
 290	RepositoryID ID `json:"repositoryId"`
 291	// The title for the issue. (Required.)
 292	Title String `json:"title"`
 293
 294	// The body for the issue description. (Optional.)
 295	Body *String `json:"body,omitempty"`
 296	// The Node ID for the user assignee for this issue. (Optional.)
 297	AssigneeIDs *[]ID `json:"assigneeIds,omitempty"`
 298	// The Node ID of the milestone for this issue. (Optional.)
 299	MilestoneID *ID `json:"milestoneId,omitempty"`
 300	// An array of Node IDs of labels for this issue. (Optional.)
 301	LabelIDs *[]ID `json:"labelIds,omitempty"`
 302	// An array of Node IDs for projects associated with this issue. (Optional.)
 303	ProjectIDs *[]ID `json:"projectIds,omitempty"`
 304	// A unique identifier for the client performing the mutation. (Optional.)
 305	ClientMutationID *String `json:"clientMutationId,omitempty"`
 306}
 307
 308// CreateProjectInput is an autogenerated input type of CreateProject.
 309type CreateProjectInput struct {
 310	// The owner ID to create the project under. (Required.)
 311	OwnerID ID `json:"ownerId"`
 312	// The name of project. (Required.)
 313	Name String `json:"name"`
 314
 315	// The description of project. (Optional.)
 316	Body *String `json:"body,omitempty"`
 317	// A unique identifier for the client performing the mutation. (Optional.)
 318	ClientMutationID *String `json:"clientMutationId,omitempty"`
 319}
 320
 321// CreatePullRequestInput is an autogenerated input type of CreatePullRequest.
 322type CreatePullRequestInput struct {
 323	// The Node ID of the repository. (Required.)
 324	RepositoryID ID `json:"repositoryId"`
 325	// 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. (Required.)
 326	BaseRefName String `json:"baseRefName"`
 327	// 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`. (Required.)
 328	HeadRefName String `json:"headRefName"`
 329	// The title of the pull request. (Required.)
 330	Title String `json:"title"`
 331
 332	// The contents of the pull request. (Optional.)
 333	Body *String `json:"body,omitempty"`
 334	// Indicates whether maintainers can modify the pull request. (Optional.)
 335	MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"`
 336	// A unique identifier for the client performing the mutation. (Optional.)
 337	ClientMutationID *String `json:"clientMutationId,omitempty"`
 338}
 339
 340// DeclineTopicSuggestionInput is an autogenerated input type of DeclineTopicSuggestion.
 341type DeclineTopicSuggestionInput struct {
 342	// The Node ID of the repository. (Required.)
 343	RepositoryID ID `json:"repositoryId"`
 344	// The name of the suggested topic. (Required.)
 345	Name String `json:"name"`
 346	// The reason why the suggested topic is declined. (Required.)
 347	Reason TopicSuggestionDeclineReason `json:"reason"`
 348
 349	// A unique identifier for the client performing the mutation. (Optional.)
 350	ClientMutationID *String `json:"clientMutationId,omitempty"`
 351}
 352
 353// DeleteBranchProtectionRuleInput is an autogenerated input type of DeleteBranchProtectionRule.
 354type DeleteBranchProtectionRuleInput struct {
 355	// The global relay id of the branch protection rule to be deleted. (Required.)
 356	BranchProtectionRuleID ID `json:"branchProtectionRuleId"`
 357
 358	// A unique identifier for the client performing the mutation. (Optional.)
 359	ClientMutationID *String `json:"clientMutationId,omitempty"`
 360}
 361
 362// DeleteIssueCommentInput is an autogenerated input type of DeleteIssueComment.
 363type DeleteIssueCommentInput struct {
 364	// The ID of the comment to delete. (Required.)
 365	ID ID `json:"id"`
 366
 367	// A unique identifier for the client performing the mutation. (Optional.)
 368	ClientMutationID *String `json:"clientMutationId,omitempty"`
 369}
 370
 371// DeleteIssueInput is an autogenerated input type of DeleteIssue.
 372type DeleteIssueInput struct {
 373	// The ID of the issue to delete. (Required.)
 374	IssueID ID `json:"issueId"`
 375
 376	// A unique identifier for the client performing the mutation. (Optional.)
 377	ClientMutationID *String `json:"clientMutationId,omitempty"`
 378}
 379
 380// DeleteProjectCardInput is an autogenerated input type of DeleteProjectCard.
 381type DeleteProjectCardInput struct {
 382	// The id of the card to delete. (Required.)
 383	CardID ID `json:"cardId"`
 384
 385	// A unique identifier for the client performing the mutation. (Optional.)
 386	ClientMutationID *String `json:"clientMutationId,omitempty"`
 387}
 388
 389// DeleteProjectColumnInput is an autogenerated input type of DeleteProjectColumn.
 390type DeleteProjectColumnInput struct {
 391	// The id of the column to delete. (Required.)
 392	ColumnID ID `json:"columnId"`
 393
 394	// A unique identifier for the client performing the mutation. (Optional.)
 395	ClientMutationID *String `json:"clientMutationId,omitempty"`
 396}
 397
 398// DeleteProjectInput is an autogenerated input type of DeleteProject.
 399type DeleteProjectInput struct {
 400	// The Project ID to update. (Required.)
 401	ProjectID ID `json:"projectId"`
 402
 403	// A unique identifier for the client performing the mutation. (Optional.)
 404	ClientMutationID *String `json:"clientMutationId,omitempty"`
 405}
 406
 407// DeletePullRequestReviewCommentInput is an autogenerated input type of DeletePullRequestReviewComment.
 408type DeletePullRequestReviewCommentInput struct {
 409	// The ID of the comment to delete. (Required.)
 410	ID ID `json:"id"`
 411
 412	// A unique identifier for the client performing the mutation. (Optional.)
 413	ClientMutationID *String `json:"clientMutationId,omitempty"`
 414}
 415
 416// DeletePullRequestReviewInput is an autogenerated input type of DeletePullRequestReview.
 417type DeletePullRequestReviewInput struct {
 418	// The Node ID of the pull request review to delete. (Required.)
 419	PullRequestReviewID ID `json:"pullRequestReviewId"`
 420
 421	// A unique identifier for the client performing the mutation. (Optional.)
 422	ClientMutationID *String `json:"clientMutationId,omitempty"`
 423}
 424
 425// DeploymentOrder represents ordering options for deployment connections.
 426type DeploymentOrder struct {
 427	// The field to order deployments by. (Required.)
 428	Field DeploymentOrderField `json:"field"`
 429	// The ordering direction. (Required.)
 430	Direction OrderDirection `json:"direction"`
 431}
 432
 433// DismissPullRequestReviewInput is an autogenerated input type of DismissPullRequestReview.
 434type DismissPullRequestReviewInput struct {
 435	// The Node ID of the pull request review to modify. (Required.)
 436	PullRequestReviewID ID `json:"pullRequestReviewId"`
 437	// The contents of the pull request review dismissal message. (Required.)
 438	Message String `json:"message"`
 439
 440	// A unique identifier for the client performing the mutation. (Optional.)
 441	ClientMutationID *String `json:"clientMutationId,omitempty"`
 442}
 443
 444// DraftPullRequestReviewComment specifies a review comment to be left with a Pull Request Review.
 445type DraftPullRequestReviewComment struct {
 446	// Path to the file being commented on. (Required.)
 447	Path String `json:"path"`
 448	// Position in the file to leave a comment on. (Required.)
 449	Position Int `json:"position"`
 450	// Body of the comment to leave. (Required.)
 451	Body String `json:"body"`
 452}
 453
 454// GistOrder represents ordering options for gist connections.
 455type GistOrder struct {
 456	// The field to order repositories by. (Required.)
 457	Field GistOrderField `json:"field"`
 458	// The ordering direction. (Required.)
 459	Direction OrderDirection `json:"direction"`
 460}
 461
 462// ImportProjectInput is an autogenerated input type of ImportProject.
 463type ImportProjectInput struct {
 464	// The name of the Organization or User to create the Project under. (Required.)
 465	OwnerName String `json:"ownerName"`
 466	// The name of Project. (Required.)
 467	Name String `json:"name"`
 468	// A list of columns containing issues and pull requests. (Required.)
 469	ColumnImports []ProjectColumnImport `json:"columnImports"`
 470
 471	// The description of Project. (Optional.)
 472	Body *String `json:"body,omitempty"`
 473	// Whether the Project is public or not. (Optional.)
 474	Public *Boolean `json:"public,omitempty"`
 475	// A unique identifier for the client performing the mutation. (Optional.)
 476	ClientMutationID *String `json:"clientMutationId,omitempty"`
 477}
 478
 479// IssueFilters represents ways in which to filter lists of issues.
 480type IssueFilters struct {
 481
 482	// List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. (Optional.)
 483	Assignee *String `json:"assignee,omitempty"`
 484	// List issues created by given name. (Optional.)
 485	CreatedBy *String `json:"createdBy,omitempty"`
 486	// List issues where the list of label names exist on the issue. (Optional.)
 487	Labels *[]String `json:"labels,omitempty"`
 488	// List issues where the given name is mentioned in the issue. (Optional.)
 489	Mentioned *String `json:"mentioned,omitempty"`
 490	// 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. (Optional.)
 491	Milestone *String `json:"milestone,omitempty"`
 492	// List issues that have been updated at or after the given date. (Optional.)
 493	Since *DateTime `json:"since,omitempty"`
 494	// List issues filtered by the list of states given. (Optional.)
 495	States *[]IssueState `json:"states,omitempty"`
 496	// List issues subscribed to by viewer. (Optional.)
 497	ViewerSubscribed *Boolean `json:"viewerSubscribed,omitempty"`
 498}
 499
 500// IssueOrder represents ways in which lists of issues can be ordered upon return.
 501type IssueOrder struct {
 502	// The field in which to order issues by. (Required.)
 503	Field IssueOrderField `json:"field"`
 504	// The direction in which to order issues by the specified field. (Required.)
 505	Direction OrderDirection `json:"direction"`
 506}
 507
 508// LanguageOrder represents ordering options for language connections.
 509type LanguageOrder struct {
 510	// The field to order languages by. (Required.)
 511	Field LanguageOrderField `json:"field"`
 512	// The ordering direction. (Required.)
 513	Direction OrderDirection `json:"direction"`
 514}
 515
 516// LockLockableInput is an autogenerated input type of LockLockable.
 517type LockLockableInput struct {
 518	// ID of the issue or pull request to be locked. (Required.)
 519	LockableID ID `json:"lockableId"`
 520
 521	// A reason for why the issue or pull request will be locked. (Optional.)
 522	LockReason *LockReason `json:"lockReason,omitempty"`
 523	// A unique identifier for the client performing the mutation. (Optional.)
 524	ClientMutationID *String `json:"clientMutationId,omitempty"`
 525}
 526
 527// MergePullRequestInput is an autogenerated input type of MergePullRequest.
 528type MergePullRequestInput struct {
 529	// ID of the pull request to be merged. (Required.)
 530	PullRequestID ID `json:"pullRequestId"`
 531
 532	// Commit headline to use for the merge commit; if omitted, a default message will be used. (Optional.)
 533	CommitHeadline *String `json:"commitHeadline,omitempty"`
 534	// Commit body to use for the merge commit; if omitted, a default message will be used. (Optional.)
 535	CommitBody *String `json:"commitBody,omitempty"`
 536	// OID that the pull request head ref must match to allow merge; if omitted, no check is performed. (Optional.)
 537	ExpectedHeadOid *GitObjectID `json:"expectedHeadOid,omitempty"`
 538	// A unique identifier for the client performing the mutation. (Optional.)
 539	ClientMutationID *String `json:"clientMutationId,omitempty"`
 540}
 541
 542// MilestoneOrder represents ordering options for milestone connections.
 543type MilestoneOrder struct {
 544	// The field to order milestones by. (Required.)
 545	Field MilestoneOrderField `json:"field"`
 546	// The ordering direction. (Required.)
 547	Direction OrderDirection `json:"direction"`
 548}
 549
 550// MinimizeCommentInput is an autogenerated input type of MinimizeComment.
 551type MinimizeCommentInput struct {
 552	// The Node ID of the subject to modify. (Required.)
 553	SubjectID ID `json:"subjectId"`
 554	// The classification of comment. (Required.)
 555	Classifier ReportedContentClassifiers `json:"classifier"`
 556
 557	// A unique identifier for the client performing the mutation. (Optional.)
 558	ClientMutationID *String `json:"clientMutationId,omitempty"`
 559}
 560
 561// MoveProjectCardInput is an autogenerated input type of MoveProjectCard.
 562type MoveProjectCardInput struct {
 563	// The id of the card to move. (Required.)
 564	CardID ID `json:"cardId"`
 565	// The id of the column to move it into. (Required.)
 566	ColumnID ID `json:"columnId"`
 567
 568	// Place the new card after the card with this id. Pass null to place it at the top. (Optional.)
 569	AfterCardID *ID `json:"afterCardId,omitempty"`
 570	// A unique identifier for the client performing the mutation. (Optional.)
 571	ClientMutationID *String `json:"clientMutationId,omitempty"`
 572}
 573
 574// MoveProjectColumnInput is an autogenerated input type of MoveProjectColumn.
 575type MoveProjectColumnInput struct {
 576	// The id of the column to move. (Required.)
 577	ColumnID ID `json:"columnId"`
 578
 579	// Place the new column after the column with this id. Pass null to place it at the front. (Optional.)
 580	AfterColumnID *ID `json:"afterColumnId,omitempty"`
 581	// A unique identifier for the client performing the mutation. (Optional.)
 582	ClientMutationID *String `json:"clientMutationId,omitempty"`
 583}
 584
 585// PinIssueInput is an autogenerated input type of PinIssue.
 586type PinIssueInput struct {
 587	// The ID of the issue to be pinned. (Required.)
 588	IssueID ID `json:"issueId"`
 589
 590	// A unique identifier for the client performing the mutation. (Optional.)
 591	ClientMutationID *String `json:"clientMutationId,omitempty"`
 592}
 593
 594// ProjectCardImport represents an issue or PR and its owning repository to be used in a project card.
 595type ProjectCardImport struct {
 596	// Repository name with owner (owner/repository). (Required.)
 597	Repository String `json:"repository"`
 598	// The issue or pull request number. (Required.)
 599	Number Int `json:"number"`
 600}
 601
 602// ProjectColumnImport represents a project column and a list of its issues and PRs.
 603type ProjectColumnImport struct {
 604	// The name of the column. (Required.)
 605	ColumnName String `json:"columnName"`
 606	// The position of the column, starting from 0. (Required.)
 607	Position Int `json:"position"`
 608
 609	// A list of issues and pull requests in the column. (Optional.)
 610	Issues *[]ProjectCardImport `json:"issues,omitempty"`
 611}
 612
 613// ProjectOrder represents ways in which lists of projects can be ordered upon return.
 614type ProjectOrder struct {
 615	// The field in which to order projects by. (Required.)
 616	Field ProjectOrderField `json:"field"`
 617	// The direction in which to order projects by the specified field. (Required.)
 618	Direction OrderDirection `json:"direction"`
 619}
 620
 621// PullRequestOrder represents ways in which lists of issues can be ordered upon return.
 622type PullRequestOrder struct {
 623	// The field in which to order pull requests by. (Required.)
 624	Field PullRequestOrderField `json:"field"`
 625	// The direction in which to order pull requests by the specified field. (Required.)
 626	Direction OrderDirection `json:"direction"`
 627}
 628
 629// ReactionOrder represents ways in which lists of reactions can be ordered upon return.
 630type ReactionOrder struct {
 631	// The field in which to order reactions by. (Required.)
 632	Field ReactionOrderField `json:"field"`
 633	// The direction in which to order reactions by the specified field. (Required.)
 634	Direction OrderDirection `json:"direction"`
 635}
 636
 637// RefOrder represents ways in which lists of git refs can be ordered upon return.
 638type RefOrder struct {
 639	// The field in which to order refs by. (Required.)
 640	Field RefOrderField `json:"field"`
 641	// The direction in which to order refs by the specified field. (Required.)
 642	Direction OrderDirection `json:"direction"`
 643}
 644
 645// ReleaseOrder represents ways in which lists of releases can be ordered upon return.
 646type ReleaseOrder struct {
 647	// The field in which to order releases by. (Required.)
 648	Field ReleaseOrderField `json:"field"`
 649	// The direction in which to order releases by the specified field. (Required.)
 650	Direction OrderDirection `json:"direction"`
 651}
 652
 653// RemoveAssigneesFromAssignableInput is an autogenerated input type of RemoveAssigneesFromAssignable.
 654type RemoveAssigneesFromAssignableInput struct {
 655	// The id of the assignable object to remove assignees from. (Required.)
 656	AssignableID ID `json:"assignableId"`
 657	// The id of users to remove as assignees. (Required.)
 658	AssigneeIDs []ID `json:"assigneeIds"`
 659
 660	// A unique identifier for the client performing the mutation. (Optional.)
 661	ClientMutationID *String `json:"clientMutationId,omitempty"`
 662}
 663
 664// RemoveLabelsFromLabelableInput is an autogenerated input type of RemoveLabelsFromLabelable.
 665type RemoveLabelsFromLabelableInput struct {
 666	// The id of the Labelable to remove labels from. (Required.)
 667	LabelableID ID `json:"labelableId"`
 668	// The ids of labels to remove. (Required.)
 669	LabelIDs []ID `json:"labelIds"`
 670
 671	// A unique identifier for the client performing the mutation. (Optional.)
 672	ClientMutationID *String `json:"clientMutationId,omitempty"`
 673}
 674
 675// RemoveOutsideCollaboratorInput is an autogenerated input type of RemoveOutsideCollaborator.
 676type RemoveOutsideCollaboratorInput struct {
 677	// The ID of the outside collaborator to remove. (Required.)
 678	UserID ID `json:"userId"`
 679	// The ID of the organization to remove the outside collaborator from. (Required.)
 680	OrganizationID ID `json:"organizationId"`
 681
 682	// A unique identifier for the client performing the mutation. (Optional.)
 683	ClientMutationID *String `json:"clientMutationId,omitempty"`
 684}
 685
 686// RemoveReactionInput is an autogenerated input type of RemoveReaction.
 687type RemoveReactionInput struct {
 688	// The Node ID of the subject to modify. (Required.)
 689	SubjectID ID `json:"subjectId"`
 690	// The name of the emoji reaction to remove. (Required.)
 691	Content ReactionContent `json:"content"`
 692
 693	// A unique identifier for the client performing the mutation. (Optional.)
 694	ClientMutationID *String `json:"clientMutationId,omitempty"`
 695}
 696
 697// RemoveStarInput is an autogenerated input type of RemoveStar.
 698type RemoveStarInput struct {
 699	// The Starrable ID to unstar. (Required.)
 700	StarrableID ID `json:"starrableId"`
 701
 702	// A unique identifier for the client performing the mutation. (Optional.)
 703	ClientMutationID *String `json:"clientMutationId,omitempty"`
 704}
 705
 706// ReopenIssueInput is an autogenerated input type of ReopenIssue.
 707type ReopenIssueInput struct {
 708	// ID of the issue to be opened. (Required.)
 709	IssueID ID `json:"issueId"`
 710
 711	// A unique identifier for the client performing the mutation. (Optional.)
 712	ClientMutationID *String `json:"clientMutationId,omitempty"`
 713}
 714
 715// ReopenPullRequestInput is an autogenerated input type of ReopenPullRequest.
 716type ReopenPullRequestInput struct {
 717	// ID of the pull request to be reopened. (Required.)
 718	PullRequestID ID `json:"pullRequestId"`
 719
 720	// A unique identifier for the client performing the mutation. (Optional.)
 721	ClientMutationID *String `json:"clientMutationId,omitempty"`
 722}
 723
 724// RepositoryOrder represents ordering options for repository connections.
 725type RepositoryOrder struct {
 726	// The field to order repositories by. (Required.)
 727	Field RepositoryOrderField `json:"field"`
 728	// The ordering direction. (Required.)
 729	Direction OrderDirection `json:"direction"`
 730}
 731
 732// RequestReviewsInput is an autogenerated input type of RequestReviews.
 733type RequestReviewsInput struct {
 734	// The Node ID of the pull request to modify. (Required.)
 735	PullRequestID ID `json:"pullRequestId"`
 736
 737	// The Node IDs of the user to request. (Optional.)
 738	UserIDs *[]ID `json:"userIds,omitempty"`
 739	// The Node IDs of the team to request. (Optional.)
 740	TeamIDs *[]ID `json:"teamIds,omitempty"`
 741	// Add users to the set rather than replace. (Optional.)
 742	Union *Boolean `json:"union,omitempty"`
 743	// A unique identifier for the client performing the mutation. (Optional.)
 744	ClientMutationID *String `json:"clientMutationId,omitempty"`
 745}
 746
 747// ResolveReviewThreadInput is an autogenerated input type of ResolveReviewThread.
 748type ResolveReviewThreadInput struct {
 749	// The ID of the thread to resolve. (Required.)
 750	ThreadID ID `json:"threadId"`
 751
 752	// A unique identifier for the client performing the mutation. (Optional.)
 753	ClientMutationID *String `json:"clientMutationId,omitempty"`
 754}
 755
 756// SecurityAdvisoryIdentifierFilter represents an advisory identifier to filter results on.
 757type SecurityAdvisoryIdentifierFilter struct {
 758	// The identifier type. (Required.)
 759	Type SecurityAdvisoryIdentifierType `json:"type"`
 760	// The identifier string. Supports exact or partial matching. (Required.)
 761	Value String `json:"value"`
 762}
 763
 764// SecurityAdvisoryOrder represents ordering options for security advisory connections.
 765type SecurityAdvisoryOrder struct {
 766	// The field to order security advisories by. (Required.)
 767	Field SecurityAdvisoryOrderField `json:"field"`
 768	// The ordering direction. (Required.)
 769	Direction OrderDirection `json:"direction"`
 770}
 771
 772// SecurityVulnerabilityOrder represents ordering options for security vulnerability connections.
 773type SecurityVulnerabilityOrder struct {
 774	// The field to order security vulnerabilities by. (Required.)
 775	Field SecurityVulnerabilityOrderField `json:"field"`
 776	// The ordering direction. (Required.)
 777	Direction OrderDirection `json:"direction"`
 778}
 779
 780// StarOrder represents ways in which star connections can be ordered.
 781type StarOrder struct {
 782	// The field in which to order nodes by. (Required.)
 783	Field StarOrderField `json:"field"`
 784	// The direction in which to order nodes. (Required.)
 785	Direction OrderDirection `json:"direction"`
 786}
 787
 788// SubmitPullRequestReviewInput is an autogenerated input type of SubmitPullRequestReview.
 789type SubmitPullRequestReviewInput struct {
 790	// The Pull Request Review ID to submit. (Required.)
 791	PullRequestReviewID ID `json:"pullRequestReviewId"`
 792	// The event to send to the Pull Request Review. (Required.)
 793	Event PullRequestReviewEvent `json:"event"`
 794
 795	// The text field to set on the Pull Request Review. (Optional.)
 796	Body *String `json:"body,omitempty"`
 797	// A unique identifier for the client performing the mutation. (Optional.)
 798	ClientMutationID *String `json:"clientMutationId,omitempty"`
 799}
 800
 801// TeamMemberOrder represents ordering options for team member connections.
 802type TeamMemberOrder struct {
 803	// The field to order team members by. (Required.)
 804	Field TeamMemberOrderField `json:"field"`
 805	// The ordering direction. (Required.)
 806	Direction OrderDirection `json:"direction"`
 807}
 808
 809// TeamOrder represents ways in which team connections can be ordered.
 810type TeamOrder struct {
 811	// The field in which to order nodes by. (Required.)
 812	Field TeamOrderField `json:"field"`
 813	// The direction in which to order nodes. (Required.)
 814	Direction OrderDirection `json:"direction"`
 815}
 816
 817// TeamRepositoryOrder represents ordering options for team repository connections.
 818type TeamRepositoryOrder struct {
 819	// The field to order repositories by. (Required.)
 820	Field TeamRepositoryOrderField `json:"field"`
 821	// The ordering direction. (Required.)
 822	Direction OrderDirection `json:"direction"`
 823}
 824
 825// UnlockLockableInput is an autogenerated input type of UnlockLockable.
 826type UnlockLockableInput struct {
 827	// ID of the issue or pull request to be unlocked. (Required.)
 828	LockableID ID `json:"lockableId"`
 829
 830	// A unique identifier for the client performing the mutation. (Optional.)
 831	ClientMutationID *String `json:"clientMutationId,omitempty"`
 832}
 833
 834// UnmarkIssueAsDuplicateInput is an autogenerated input type of UnmarkIssueAsDuplicate.
 835type UnmarkIssueAsDuplicateInput struct {
 836	// ID of the issue or pull request currently marked as a duplicate. (Required.)
 837	DuplicateID ID `json:"duplicateId"`
 838	// ID of the issue or pull request currently considered canonical/authoritative/original. (Required.)
 839	CanonicalID ID `json:"canonicalId"`
 840
 841	// A unique identifier for the client performing the mutation. (Optional.)
 842	ClientMutationID *String `json:"clientMutationId,omitempty"`
 843}
 844
 845// UnminimizeCommentInput is an autogenerated input type of UnminimizeComment.
 846type UnminimizeCommentInput struct {
 847	// The Node ID of the subject to modify. (Required.)
 848	SubjectID ID `json:"subjectId"`
 849
 850	// A unique identifier for the client performing the mutation. (Optional.)
 851	ClientMutationID *String `json:"clientMutationId,omitempty"`
 852}
 853
 854// UnpinIssueInput is an autogenerated input type of UnpinIssue.
 855type UnpinIssueInput struct {
 856	// The ID of the issue to be unpinned. (Required.)
 857	IssueID ID `json:"issueId"`
 858
 859	// A unique identifier for the client performing the mutation. (Optional.)
 860	ClientMutationID *String `json:"clientMutationId,omitempty"`
 861}
 862
 863// UnresolveReviewThreadInput is an autogenerated input type of UnresolveReviewThread.
 864type UnresolveReviewThreadInput struct {
 865	// The ID of the thread to unresolve. (Required.)
 866	ThreadID ID `json:"threadId"`
 867
 868	// A unique identifier for the client performing the mutation. (Optional.)
 869	ClientMutationID *String `json:"clientMutationId,omitempty"`
 870}
 871
 872// UpdateBranchProtectionRuleInput is an autogenerated input type of UpdateBranchProtectionRule.
 873type UpdateBranchProtectionRuleInput struct {
 874	// The global relay id of the branch protection rule to be updated. (Required.)
 875	BranchProtectionRuleID ID `json:"branchProtectionRuleId"`
 876
 877	// The glob-like pattern used to determine matching branches. (Optional.)
 878	Pattern *String `json:"pattern,omitempty"`
 879	// Are approving reviews required to update matching branches. (Optional.)
 880	RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"`
 881	// Number of approving reviews required to update matching branches. (Optional.)
 882	RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"`
 883	// Are commits required to be signed. (Optional.)
 884	RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"`
 885	// Can admins overwrite branch protection. (Optional.)
 886	IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"`
 887	// Are status checks required to update matching branches. (Optional.)
 888	RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"`
 889	// Are branches required to be up to date before merging. (Optional.)
 890	RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"`
 891	// Are reviews from code owners required to update matching branches. (Optional.)
 892	RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"`
 893	// Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.)
 894	DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"`
 895	// Is dismissal of pull request reviews restricted. (Optional.)
 896	RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"`
 897	// A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.)
 898	ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"`
 899	// Is pushing to matching branches restricted. (Optional.)
 900	RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"`
 901	// A list of User or Team IDs allowed to push to matching branches. (Optional.)
 902	PushActorIDs *[]ID `json:"pushActorIds,omitempty"`
 903	// List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.)
 904	RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"`
 905	// A unique identifier for the client performing the mutation. (Optional.)
 906	ClientMutationID *String `json:"clientMutationId,omitempty"`
 907}
 908
 909// UpdateIssueCommentInput is an autogenerated input type of UpdateIssueComment.
 910type UpdateIssueCommentInput struct {
 911	// The ID of the IssueComment to modify. (Required.)
 912	ID ID `json:"id"`
 913	// The updated text of the comment. (Required.)
 914	Body String `json:"body"`
 915
 916	// A unique identifier for the client performing the mutation. (Optional.)
 917	ClientMutationID *String `json:"clientMutationId,omitempty"`
 918}
 919
 920// UpdateIssueInput is an autogenerated input type of UpdateIssue.
 921type UpdateIssueInput struct {
 922	// The ID of the Issue to modify. (Required.)
 923	ID ID `json:"id"`
 924
 925	// The title for the issue. (Optional.)
 926	Title *String `json:"title,omitempty"`
 927	// The body for the issue description. (Optional.)
 928	Body *String `json:"body,omitempty"`
 929	// An array of Node IDs of users for this issue. (Optional.)
 930	AssigneeIDs *[]ID `json:"assigneeIds,omitempty"`
 931	// The Node ID of the milestone for this issue. (Optional.)
 932	MilestoneID *ID `json:"milestoneId,omitempty"`
 933	// An array of Node IDs of labels for this issue. (Optional.)
 934	LabelIDs *[]ID `json:"labelIds,omitempty"`
 935	// The desired issue state. (Optional.)
 936	State *IssueState `json:"state,omitempty"`
 937	// An array of Node IDs for projects associated with this issue. (Optional.)
 938	ProjectIDs *[]ID `json:"projectIds,omitempty"`
 939	// A unique identifier for the client performing the mutation. (Optional.)
 940	ClientMutationID *String `json:"clientMutationId,omitempty"`
 941}
 942
 943// UpdateProjectCardInput is an autogenerated input type of UpdateProjectCard.
 944type UpdateProjectCardInput struct {
 945	// The ProjectCard ID to update. (Required.)
 946	ProjectCardID ID `json:"projectCardId"`
 947
 948	// Whether or not the ProjectCard should be archived. (Optional.)
 949	IsArchived *Boolean `json:"isArchived,omitempty"`
 950	// The note of ProjectCard. (Optional.)
 951	Note *String `json:"note,omitempty"`
 952	// A unique identifier for the client performing the mutation. (Optional.)
 953	ClientMutationID *String `json:"clientMutationId,omitempty"`
 954}
 955
 956// UpdateProjectColumnInput is an autogenerated input type of UpdateProjectColumn.
 957type UpdateProjectColumnInput struct {
 958	// The ProjectColumn ID to update. (Required.)
 959	ProjectColumnID ID `json:"projectColumnId"`
 960	// The name of project column. (Required.)
 961	Name String `json:"name"`
 962
 963	// A unique identifier for the client performing the mutation. (Optional.)
 964	ClientMutationID *String `json:"clientMutationId,omitempty"`
 965}
 966
 967// UpdateProjectInput is an autogenerated input type of UpdateProject.
 968type UpdateProjectInput struct {
 969	// The Project ID to update. (Required.)
 970	ProjectID ID `json:"projectId"`
 971
 972	// The name of project. (Optional.)
 973	Name *String `json:"name,omitempty"`
 974	// The description of project. (Optional.)
 975	Body *String `json:"body,omitempty"`
 976	// Whether the project is open or closed. (Optional.)
 977	State *ProjectState `json:"state,omitempty"`
 978	// Whether the project is public or not. (Optional.)
 979	Public *Boolean `json:"public,omitempty"`
 980	// A unique identifier for the client performing the mutation. (Optional.)
 981	ClientMutationID *String `json:"clientMutationId,omitempty"`
 982}
 983
 984// UpdatePullRequestInput is an autogenerated input type of UpdatePullRequest.
 985type UpdatePullRequestInput struct {
 986	// The Node ID of the pull request. (Required.)
 987	PullRequestID ID `json:"pullRequestId"`
 988
 989	// The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. (Optional.)
 990	BaseRefName *String `json:"baseRefName,omitempty"`
 991	// The title of the pull request. (Optional.)
 992	Title *String `json:"title,omitempty"`
 993	// The contents of the pull request. (Optional.)
 994	Body *String `json:"body,omitempty"`
 995	// Indicates whether maintainers can modify the pull request. (Optional.)
 996	MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"`
 997	// A unique identifier for the client performing the mutation. (Optional.)
 998	ClientMutationID *String `json:"clientMutationId,omitempty"`
 999}
1000
1001// UpdatePullRequestReviewCommentInput is an autogenerated input type of UpdatePullRequestReviewComment.
1002type UpdatePullRequestReviewCommentInput struct {
1003	// The Node ID of the comment to modify. (Required.)
1004	PullRequestReviewCommentID ID `json:"pullRequestReviewCommentId"`
1005	// The text of the comment. (Required.)
1006	Body String `json:"body"`
1007
1008	// A unique identifier for the client performing the mutation. (Optional.)
1009	ClientMutationID *String `json:"clientMutationId,omitempty"`
1010}
1011
1012// UpdatePullRequestReviewInput is an autogenerated input type of UpdatePullRequestReview.
1013type UpdatePullRequestReviewInput struct {
1014	// The Node ID of the pull request review to modify. (Required.)
1015	PullRequestReviewID ID `json:"pullRequestReviewId"`
1016	// The contents of the pull request review body. (Required.)
1017	Body String `json:"body"`
1018
1019	// A unique identifier for the client performing the mutation. (Optional.)
1020	ClientMutationID *String `json:"clientMutationId,omitempty"`
1021}
1022
1023// UpdateSubscriptionInput is an autogenerated input type of UpdateSubscription.
1024type UpdateSubscriptionInput struct {
1025	// The Node ID of the subscribable object to modify. (Required.)
1026	SubscribableID ID `json:"subscribableId"`
1027	// The new state of the subscription. (Required.)
1028	State SubscriptionState `json:"state"`
1029
1030	// A unique identifier for the client performing the mutation. (Optional.)
1031	ClientMutationID *String `json:"clientMutationId,omitempty"`
1032}
1033
1034// UpdateTopicsInput is an autogenerated input type of UpdateTopics.
1035type UpdateTopicsInput struct {
1036	// The Node ID of the repository. (Required.)
1037	RepositoryID ID `json:"repositoryId"`
1038	// An array of topic names. (Required.)
1039	TopicNames []String `json:"topicNames"`
1040
1041	// A unique identifier for the client performing the mutation. (Optional.)
1042	ClientMutationID *String `json:"clientMutationId,omitempty"`
1043}
1044
1045// UserStatusOrder represents ordering options for user status connections.
1046type UserStatusOrder struct {
1047	// The field to order user statuses by. (Required.)
1048	Field UserStatusOrderField `json:"field"`
1049	// The ordering direction. (Required.)
1050	Direction OrderDirection `json:"direction"`
1051}