1// Code generated by gen.go; DO NOT EDIT. 2 3package githubv4 4 5// Input represents one of the Input structs: 6// 7// AcceptEnterpriseAdministratorInvitationInput, AcceptTopicSuggestionInput, AddAssigneesToAssignableInput, AddCommentInput, AddLabelsToLabelableInput, AddProjectCardInput, AddProjectColumnInput, AddPullRequestReviewCommentInput, AddPullRequestReviewInput, AddPullRequestReviewThreadInput, AddReactionInput, AddStarInput, ArchiveRepositoryInput, AuditLogOrder, CancelEnterpriseAdminInvitationInput, ChangeUserStatusInput, ClearLabelsFromLabelableInput, CloneProjectInput, CloneTemplateRepositoryInput, CloseIssueInput, ClosePullRequestInput, CommitAuthor, CommitContributionOrder, ContributionOrder, ConvertProjectCardNoteToIssueInput, CreateBranchProtectionRuleInput, CreateEnterpriseOrganizationInput, CreateIpAllowListEntryInput, CreateIssueInput, CreateProjectInput, CreatePullRequestInput, CreateRefInput, CreateRepositoryInput, CreateTeamDiscussionCommentInput, CreateTeamDiscussionInput, DeclineTopicSuggestionInput, DeleteBranchProtectionRuleInput, DeleteDeploymentInput, DeleteIpAllowListEntryInput, DeleteIssueCommentInput, DeleteIssueInput, DeleteProjectCardInput, DeleteProjectColumnInput, DeleteProjectInput, DeletePullRequestReviewCommentInput, DeletePullRequestReviewInput, DeleteRefInput, DeleteTeamDiscussionCommentInput, DeleteTeamDiscussionInput, DeploymentOrder, DismissPullRequestReviewInput, DraftPullRequestReviewComment, DraftPullRequestReviewThread, EnterpriseAdministratorInvitationOrder, EnterpriseMemberOrder, EnterpriseServerInstallationOrder, EnterpriseServerUserAccountEmailOrder, EnterpriseServerUserAccountOrder, EnterpriseServerUserAccountsUploadOrder, FollowUserInput, GistOrder, InviteEnterpriseAdminInput, IpAllowListEntryOrder, IssueFilters, IssueOrder, LabelOrder, LanguageOrder, LinkRepositoryToProjectInput, LockLockableInput, MarkPullRequestReadyForReviewInput, MergeBranchInput, MergePullRequestInput, MilestoneOrder, MinimizeCommentInput, MoveProjectCardInput, MoveProjectColumnInput, OrganizationOrder, PackageFileOrder, PackageOrder, PackageVersionOrder, ProjectOrder, PullRequestOrder, ReactionOrder, RefOrder, RegenerateEnterpriseIdentityProviderRecoveryCodesInput, ReleaseOrder, RemoveAssigneesFromAssignableInput, RemoveEnterpriseAdminInput, RemoveEnterpriseIdentityProviderInput, RemoveEnterpriseOrganizationInput, RemoveLabelsFromLabelableInput, RemoveOutsideCollaboratorInput, RemoveReactionInput, RemoveStarInput, ReopenIssueInput, ReopenPullRequestInput, RepositoryInvitationOrder, RepositoryOrder, RequestReviewsInput, ResolveReviewThreadInput, SavedReplyOrder, SecurityAdvisoryIdentifierFilter, SecurityAdvisoryOrder, SecurityVulnerabilityOrder, SetEnterpriseIdentityProviderInput, SponsorsTierOrder, SponsorshipOrder, StarOrder, SubmitPullRequestReviewInput, TeamDiscussionCommentOrder, TeamDiscussionOrder, TeamMemberOrder, TeamOrder, TeamRepositoryOrder, TransferIssueInput, UnarchiveRepositoryInput, UnfollowUserInput, UnlinkRepositoryFromProjectInput, UnlockLockableInput, UnmarkIssueAsDuplicateInput, UnminimizeCommentInput, UnresolveReviewThreadInput, UpdateBranchProtectionRuleInput, UpdateEnterpriseActionExecutionCapabilitySettingInput, UpdateEnterpriseAdministratorRoleInput, UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, UpdateEnterpriseDefaultRepositoryPermissionSettingInput, UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, UpdateEnterpriseMembersCanCreateRepositoriesSettingInput, UpdateEnterpriseMembersCanDeleteIssuesSettingInput, UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput, UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, UpdateEnterpriseMembersCanMakePurchasesSettingInput, UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput, UpdateEnterpriseOrganizationProjectsSettingInput, UpdateEnterpriseProfileInput, UpdateEnterpriseRepositoryProjectsSettingInput, UpdateEnterpriseTeamDiscussionsSettingInput, UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, UpdateIpAllowListEnabledSettingInput, UpdateIpAllowListEntryInput, UpdateIssueCommentInput, UpdateIssueInput, UpdateProjectCardInput, UpdateProjectColumnInput, UpdateProjectInput, UpdatePullRequestInput, UpdatePullRequestReviewCommentInput, UpdatePullRequestReviewInput, UpdateRefInput, UpdateRepositoryInput, UpdateSubscriptionInput, UpdateTeamDiscussionCommentInput, UpdateTeamDiscussionInput, UpdateTopicsInput, UserStatusOrder. 8type Input interface{} 9 10// AcceptEnterpriseAdministratorInvitationInput is an autogenerated input type of AcceptEnterpriseAdministratorInvitation. 11type AcceptEnterpriseAdministratorInvitationInput struct { 12 // The id of the invitation being accepted. (Required.) 13 InvitationID ID `json:"invitationId"` 14 15 // A unique identifier for the client performing the mutation. (Optional.) 16 ClientMutationID *String `json:"clientMutationId,omitempty"` 17} 18 19// AcceptTopicSuggestionInput is an autogenerated input type of AcceptTopicSuggestion. 20type AcceptTopicSuggestionInput struct { 21 // The Node ID of the repository. (Required.) 22 RepositoryID ID `json:"repositoryId"` 23 // The name of the suggested topic. (Required.) 24 Name String `json:"name"` 25 26 // A unique identifier for the client performing the mutation. (Optional.) 27 ClientMutationID *String `json:"clientMutationId,omitempty"` 28} 29 30// AddAssigneesToAssignableInput is an autogenerated input type of AddAssigneesToAssignable. 31type AddAssigneesToAssignableInput struct { 32 // The id of the assignable object to add assignees to. (Required.) 33 AssignableID ID `json:"assignableId"` 34 // The id of users to add as assignees. (Required.) 35 AssigneeIDs []ID `json:"assigneeIds"` 36 37 // A unique identifier for the client performing the mutation. (Optional.) 38 ClientMutationID *String `json:"clientMutationId,omitempty"` 39} 40 41// AddCommentInput is an autogenerated input type of AddComment. 42type AddCommentInput struct { 43 // The Node ID of the subject to modify. (Required.) 44 SubjectID ID `json:"subjectId"` 45 // The contents of the comment. (Required.) 46 Body String `json:"body"` 47 48 // A unique identifier for the client performing the mutation. (Optional.) 49 ClientMutationID *String `json:"clientMutationId,omitempty"` 50} 51 52// AddLabelsToLabelableInput is an autogenerated input type of AddLabelsToLabelable. 53type AddLabelsToLabelableInput struct { 54 // The id of the labelable object to add labels to. (Required.) 55 LabelableID ID `json:"labelableId"` 56 // The ids of the labels to add. (Required.) 57 LabelIDs []ID `json:"labelIds"` 58 59 // A unique identifier for the client performing the mutation. (Optional.) 60 ClientMutationID *String `json:"clientMutationId,omitempty"` 61} 62 63// AddProjectCardInput is an autogenerated input type of AddProjectCard. 64type AddProjectCardInput struct { 65 // The Node ID of the ProjectColumn. (Required.) 66 ProjectColumnID ID `json:"projectColumnId"` 67 68 // The content of the card. Must be a member of the ProjectCardItem union. (Optional.) 69 ContentID *ID `json:"contentId,omitempty"` 70 // The note on the card. (Optional.) 71 Note *String `json:"note,omitempty"` 72 // A unique identifier for the client performing the mutation. (Optional.) 73 ClientMutationID *String `json:"clientMutationId,omitempty"` 74} 75 76// AddProjectColumnInput is an autogenerated input type of AddProjectColumn. 77type AddProjectColumnInput struct { 78 // The Node ID of the project. (Required.) 79 ProjectID ID `json:"projectId"` 80 // The name of the column. (Required.) 81 Name String `json:"name"` 82 83 // A unique identifier for the client performing the mutation. (Optional.) 84 ClientMutationID *String `json:"clientMutationId,omitempty"` 85} 86 87// AddPullRequestReviewCommentInput is an autogenerated input type of AddPullRequestReviewComment. 88type AddPullRequestReviewCommentInput struct { 89 // The text of the comment. (Required.) 90 Body String `json:"body"` 91 92 // The node ID of the pull request reviewing. (Optional.) 93 PullRequestID *ID `json:"pullRequestId,omitempty"` 94 // The Node ID of the review to modify. (Optional.) 95 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 96 // The SHA of the commit to comment on. (Optional.) 97 CommitOID *GitObjectID `json:"commitOID,omitempty"` 98 // The relative path of the file to comment on. (Optional.) 99 Path *String `json:"path,omitempty"` 100 // The line index in the diff to comment on. (Optional.) 101 Position *Int `json:"position,omitempty"` 102 // The comment id to reply to. (Optional.) 103 InReplyTo *ID `json:"inReplyTo,omitempty"` 104 // A unique identifier for the client performing the mutation. (Optional.) 105 ClientMutationID *String `json:"clientMutationId,omitempty"` 106} 107 108// AddPullRequestReviewInput is an autogenerated input type of AddPullRequestReview. 109type AddPullRequestReviewInput struct { 110 // The Node ID of the pull request to modify. (Required.) 111 PullRequestID ID `json:"pullRequestId"` 112 113 // The commit OID the review pertains to. (Optional.) 114 CommitOID *GitObjectID `json:"commitOID,omitempty"` 115 // The contents of the review body comment. (Optional.) 116 Body *String `json:"body,omitempty"` 117 // The event to perform on the pull request review. (Optional.) 118 Event *PullRequestReviewEvent `json:"event,omitempty"` 119 // The review line comments. (Optional.) 120 Comments *[]*DraftPullRequestReviewComment `json:"comments,omitempty"` 121 // The review line comment threads. (Optional.) 122 Threads *[]*DraftPullRequestReviewThread `json:"threads,omitempty"` 123 // A unique identifier for the client performing the mutation. (Optional.) 124 ClientMutationID *String `json:"clientMutationId,omitempty"` 125} 126 127// AddPullRequestReviewThreadInput is an autogenerated input type of AddPullRequestReviewThread. 128type AddPullRequestReviewThreadInput struct { 129 // Path to the file being commented on. (Required.) 130 Path String `json:"path"` 131 // Body of the thread's first comment. (Required.) 132 Body String `json:"body"` 133 // The line of the blob to which the thread refers. The end of the line range for multi-line comments. (Required.) 134 Line Int `json:"line"` 135 136 // The node ID of the pull request reviewing. (Optional.) 137 PullRequestID *ID `json:"pullRequestId,omitempty"` 138 // The Node ID of the review to modify. (Optional.) 139 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 140 // 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. (Optional.) 141 Side *DiffSide `json:"side,omitempty"` 142 // The first line of the range to which the comment refers. (Optional.) 143 StartLine *Int `json:"startLine,omitempty"` 144 // The side of the diff on which the start line resides. (Optional.) 145 StartSide *DiffSide `json:"startSide,omitempty"` 146 // A unique identifier for the client performing the mutation. (Optional.) 147 ClientMutationID *String `json:"clientMutationId,omitempty"` 148} 149 150// AddReactionInput is an autogenerated input type of AddReaction. 151type AddReactionInput struct { 152 // The Node ID of the subject to modify. (Required.) 153 SubjectID ID `json:"subjectId"` 154 // The name of the emoji to react with. (Required.) 155 Content ReactionContent `json:"content"` 156 157 // A unique identifier for the client performing the mutation. (Optional.) 158 ClientMutationID *String `json:"clientMutationId,omitempty"` 159} 160 161// AddStarInput is an autogenerated input type of AddStar. 162type AddStarInput struct { 163 // The Starrable ID to star. (Required.) 164 StarrableID ID `json:"starrableId"` 165 166 // A unique identifier for the client performing the mutation. (Optional.) 167 ClientMutationID *String `json:"clientMutationId,omitempty"` 168} 169 170// ArchiveRepositoryInput is an autogenerated input type of ArchiveRepository. 171type ArchiveRepositoryInput struct { 172 // The ID of the repository to mark as archived. (Required.) 173 RepositoryID ID `json:"repositoryId"` 174 175 // A unique identifier for the client performing the mutation. (Optional.) 176 ClientMutationID *String `json:"clientMutationId,omitempty"` 177} 178 179// AuditLogOrder represents ordering options for Audit Log connections. 180type AuditLogOrder struct { 181 182 // The field to order Audit Logs by. (Optional.) 183 Field *AuditLogOrderField `json:"field,omitempty"` 184 // The ordering direction. (Optional.) 185 Direction *OrderDirection `json:"direction,omitempty"` 186} 187 188// CancelEnterpriseAdminInvitationInput is an autogenerated input type of CancelEnterpriseAdminInvitation. 189type CancelEnterpriseAdminInvitationInput struct { 190 // The Node ID of the pending enterprise administrator invitation. (Required.) 191 InvitationID ID `json:"invitationId"` 192 193 // A unique identifier for the client performing the mutation. (Optional.) 194 ClientMutationID *String `json:"clientMutationId,omitempty"` 195} 196 197// ChangeUserStatusInput is an autogenerated input type of ChangeUserStatus. 198type ChangeUserStatusInput struct { 199 200 // The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. (Optional.) 201 Emoji *String `json:"emoji,omitempty"` 202 // A short description of your current status. (Optional.) 203 Message *String `json:"message,omitempty"` 204 // The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. (Optional.) 205 OrganizationID *ID `json:"organizationId,omitempty"` 206 // Whether this status should indicate you are not fully available on GitHub, e.g., you are away. (Optional.) 207 LimitedAvailability *Boolean `json:"limitedAvailability,omitempty"` 208 // If set, the user status will not be shown after this date. (Optional.) 209 ExpiresAt *DateTime `json:"expiresAt,omitempty"` 210 // A unique identifier for the client performing the mutation. (Optional.) 211 ClientMutationID *String `json:"clientMutationId,omitempty"` 212} 213 214// ClearLabelsFromLabelableInput is an autogenerated input type of ClearLabelsFromLabelable. 215type ClearLabelsFromLabelableInput struct { 216 // The id of the labelable object to clear the labels from. (Required.) 217 LabelableID ID `json:"labelableId"` 218 219 // A unique identifier for the client performing the mutation. (Optional.) 220 ClientMutationID *String `json:"clientMutationId,omitempty"` 221} 222 223// CloneProjectInput is an autogenerated input type of CloneProject. 224type CloneProjectInput struct { 225 // The owner ID to create the project under. (Required.) 226 TargetOwnerID ID `json:"targetOwnerId"` 227 // The source project to clone. (Required.) 228 SourceID ID `json:"sourceId"` 229 // Whether or not to clone the source project's workflows. (Required.) 230 IncludeWorkflows Boolean `json:"includeWorkflows"` 231 // The name of the project. (Required.) 232 Name String `json:"name"` 233 234 // The description of the project. (Optional.) 235 Body *String `json:"body,omitempty"` 236 // The visibility of the project, defaults to false (private). (Optional.) 237 Public *Boolean `json:"public,omitempty"` 238 // A unique identifier for the client performing the mutation. (Optional.) 239 ClientMutationID *String `json:"clientMutationId,omitempty"` 240} 241 242// CloneTemplateRepositoryInput is an autogenerated input type of CloneTemplateRepository. 243type CloneTemplateRepositoryInput struct { 244 // The Node ID of the template repository. (Required.) 245 RepositoryID ID `json:"repositoryId"` 246 // The name of the new repository. (Required.) 247 Name String `json:"name"` 248 // The ID of the owner for the new repository. (Required.) 249 OwnerID ID `json:"ownerId"` 250 // Indicates the repository's visibility level. (Required.) 251 Visibility RepositoryVisibility `json:"visibility"` 252 253 // A short description of the new repository. (Optional.) 254 Description *String `json:"description,omitempty"` 255 // Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. (Optional.) 256 IncludeAllBranches *Boolean `json:"includeAllBranches,omitempty"` 257 // A unique identifier for the client performing the mutation. (Optional.) 258 ClientMutationID *String `json:"clientMutationId,omitempty"` 259} 260 261// CloseIssueInput is an autogenerated input type of CloseIssue. 262type CloseIssueInput struct { 263 // ID of the issue to be closed. (Required.) 264 IssueID ID `json:"issueId"` 265 266 // A unique identifier for the client performing the mutation. (Optional.) 267 ClientMutationID *String `json:"clientMutationId,omitempty"` 268} 269 270// ClosePullRequestInput is an autogenerated input type of ClosePullRequest. 271type ClosePullRequestInput struct { 272 // ID of the pull request to be closed. (Required.) 273 PullRequestID ID `json:"pullRequestId"` 274 275 // A unique identifier for the client performing the mutation. (Optional.) 276 ClientMutationID *String `json:"clientMutationId,omitempty"` 277} 278 279// CommitAuthor specifies an author for filtering Git commits. 280type CommitAuthor struct { 281 282 // 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.) 283 ID *ID `json:"id,omitempty"` 284 // Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. (Optional.) 285 Emails *[]String `json:"emails,omitempty"` 286} 287 288// CommitContributionOrder represents ordering options for commit contribution connections. 289type CommitContributionOrder struct { 290 // The field by which to order commit contributions. (Required.) 291 Field CommitContributionOrderField `json:"field"` 292 // The ordering direction. (Required.) 293 Direction OrderDirection `json:"direction"` 294} 295 296// ContributionOrder represents ordering options for contribution connections. 297type ContributionOrder struct { 298 // The ordering direction. (Required.) 299 Direction OrderDirection `json:"direction"` 300} 301 302// ConvertProjectCardNoteToIssueInput is an autogenerated input type of ConvertProjectCardNoteToIssue. 303type ConvertProjectCardNoteToIssueInput struct { 304 // The ProjectCard ID to convert. (Required.) 305 ProjectCardID ID `json:"projectCardId"` 306 // The ID of the repository to create the issue in. (Required.) 307 RepositoryID ID `json:"repositoryId"` 308 309 // The title of the newly created issue. Defaults to the card's note text. (Optional.) 310 Title *String `json:"title,omitempty"` 311 // The body of the newly created issue. (Optional.) 312 Body *String `json:"body,omitempty"` 313 // A unique identifier for the client performing the mutation. (Optional.) 314 ClientMutationID *String `json:"clientMutationId,omitempty"` 315} 316 317// CreateBranchProtectionRuleInput is an autogenerated input type of CreateBranchProtectionRule. 318type CreateBranchProtectionRuleInput struct { 319 // The global relay id of the repository in which a new branch protection rule should be created in. (Required.) 320 RepositoryID ID `json:"repositoryId"` 321 // The glob-like pattern used to determine matching branches. (Required.) 322 Pattern String `json:"pattern"` 323 324 // Are approving reviews required to update matching branches. (Optional.) 325 RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"` 326 // Number of approving reviews required to update matching branches. (Optional.) 327 RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"` 328 // Are commits required to be signed. (Optional.) 329 RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"` 330 // Can admins overwrite branch protection. (Optional.) 331 IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"` 332 // Are status checks required to update matching branches. (Optional.) 333 RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"` 334 // Are branches required to be up to date before merging. (Optional.) 335 RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"` 336 // Are reviews from code owners required to update matching branches. (Optional.) 337 RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"` 338 // Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.) 339 DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"` 340 // Is dismissal of pull request reviews restricted. (Optional.) 341 RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"` 342 // A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.) 343 ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"` 344 // Is pushing to matching branches restricted. (Optional.) 345 RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"` 346 // A list of User, Team or App IDs allowed to push to matching branches. (Optional.) 347 PushActorIDs *[]ID `json:"pushActorIds,omitempty"` 348 // List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.) 349 RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"` 350 // A unique identifier for the client performing the mutation. (Optional.) 351 ClientMutationID *String `json:"clientMutationId,omitempty"` 352} 353 354// CreateEnterpriseOrganizationInput is an autogenerated input type of CreateEnterpriseOrganization. 355type CreateEnterpriseOrganizationInput struct { 356 // The ID of the enterprise owning the new organization. (Required.) 357 EnterpriseID ID `json:"enterpriseId"` 358 // The login of the new organization. (Required.) 359 Login String `json:"login"` 360 // The profile name of the new organization. (Required.) 361 ProfileName String `json:"profileName"` 362 // The email used for sending billing receipts. (Required.) 363 BillingEmail String `json:"billingEmail"` 364 // The logins for the administrators of the new organization. (Required.) 365 AdminLogins []String `json:"adminLogins"` 366 367 // A unique identifier for the client performing the mutation. (Optional.) 368 ClientMutationID *String `json:"clientMutationId,omitempty"` 369} 370 371// CreateIpAllowListEntryInput is an autogenerated input type of CreateIpAllowListEntry. 372type CreateIpAllowListEntryInput struct { 373 // The ID of the owner for which to create the new IP allow list entry. (Required.) 374 OwnerID ID `json:"ownerId"` 375 // An IP address or range of addresses in CIDR notation. (Required.) 376 AllowListValue String `json:"allowListValue"` 377 // Whether the IP allow list entry is active when an IP allow list is enabled. (Required.) 378 IsActive Boolean `json:"isActive"` 379 380 // An optional name for the IP allow list entry. (Optional.) 381 Name *String `json:"name,omitempty"` 382 // A unique identifier for the client performing the mutation. (Optional.) 383 ClientMutationID *String `json:"clientMutationId,omitempty"` 384} 385 386// CreateIssueInput is an autogenerated input type of CreateIssue. 387type CreateIssueInput struct { 388 // The Node ID of the repository. (Required.) 389 RepositoryID ID `json:"repositoryId"` 390 // The title for the issue. (Required.) 391 Title String `json:"title"` 392 393 // The body for the issue description. (Optional.) 394 Body *String `json:"body,omitempty"` 395 // The Node ID for the user assignee for this issue. (Optional.) 396 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 397 // The Node ID of the milestone for this issue. (Optional.) 398 MilestoneID *ID `json:"milestoneId,omitempty"` 399 // An array of Node IDs of labels for this issue. (Optional.) 400 LabelIDs *[]ID `json:"labelIds,omitempty"` 401 // An array of Node IDs for projects associated with this issue. (Optional.) 402 ProjectIDs *[]ID `json:"projectIds,omitempty"` 403 // A unique identifier for the client performing the mutation. (Optional.) 404 ClientMutationID *String `json:"clientMutationId,omitempty"` 405} 406 407// CreateProjectInput is an autogenerated input type of CreateProject. 408type CreateProjectInput struct { 409 // The owner ID to create the project under. (Required.) 410 OwnerID ID `json:"ownerId"` 411 // The name of project. (Required.) 412 Name String `json:"name"` 413 414 // The description of project. (Optional.) 415 Body *String `json:"body,omitempty"` 416 // The name of the GitHub-provided template. (Optional.) 417 Template *ProjectTemplate `json:"template,omitempty"` 418 // A list of repository IDs to create as linked repositories for the project. (Optional.) 419 RepositoryIDs *[]ID `json:"repositoryIds,omitempty"` 420 // A unique identifier for the client performing the mutation. (Optional.) 421 ClientMutationID *String `json:"clientMutationId,omitempty"` 422} 423 424// CreatePullRequestInput is an autogenerated input type of CreatePullRequest. 425type CreatePullRequestInput struct { 426 // The Node ID of the repository. (Required.) 427 RepositoryID ID `json:"repositoryId"` 428 // 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.) 429 BaseRefName String `json:"baseRefName"` 430 // 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.) 431 HeadRefName String `json:"headRefName"` 432 // The title of the pull request. (Required.) 433 Title String `json:"title"` 434 435 // The contents of the pull request. (Optional.) 436 Body *String `json:"body,omitempty"` 437 // Indicates whether maintainers can modify the pull request. (Optional.) 438 MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"` 439 // Indicates whether this pull request should be a draft. (Optional.) 440 Draft *Boolean `json:"draft,omitempty"` 441 // A unique identifier for the client performing the mutation. (Optional.) 442 ClientMutationID *String `json:"clientMutationId,omitempty"` 443} 444 445// CreateRefInput is an autogenerated input type of CreateRef. 446type CreateRefInput struct { 447 // The Node ID of the Repository to create the Ref in. (Required.) 448 RepositoryID ID `json:"repositoryId"` 449 // The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). (Required.) 450 Name String `json:"name"` 451 // The GitObjectID that the new Ref shall target. Must point to a commit. (Required.) 452 Oid GitObjectID `json:"oid"` 453 454 // A unique identifier for the client performing the mutation. (Optional.) 455 ClientMutationID *String `json:"clientMutationId,omitempty"` 456} 457 458// CreateRepositoryInput is an autogenerated input type of CreateRepository. 459type CreateRepositoryInput struct { 460 // The name of the new repository. (Required.) 461 Name String `json:"name"` 462 // Indicates the repository's visibility level. (Required.) 463 Visibility RepositoryVisibility `json:"visibility"` 464 465 // The ID of the owner for the new repository. (Optional.) 466 OwnerID *ID `json:"ownerId,omitempty"` 467 // A short description of the new repository. (Optional.) 468 Description *String `json:"description,omitempty"` 469 // 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. (Optional.) 470 Template *Boolean `json:"template,omitempty"` 471 // The URL for a web page about this repository. (Optional.) 472 HomepageURL *URI `json:"homepageUrl,omitempty"` 473 // Indicates if the repository should have the wiki feature enabled. (Optional.) 474 HasWikiEnabled *Boolean `json:"hasWikiEnabled,omitempty"` 475 // Indicates if the repository should have the issues feature enabled. (Optional.) 476 HasIssuesEnabled *Boolean `json:"hasIssuesEnabled,omitempty"` 477 // When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. (Optional.) 478 TeamID *ID `json:"teamId,omitempty"` 479 // A unique identifier for the client performing the mutation. (Optional.) 480 ClientMutationID *String `json:"clientMutationId,omitempty"` 481} 482 483// CreateTeamDiscussionCommentInput is an autogenerated input type of CreateTeamDiscussionComment. 484type CreateTeamDiscussionCommentInput struct { 485 // The ID of the discussion to which the comment belongs. (Required.) 486 DiscussionID ID `json:"discussionId"` 487 // The content of the comment. (Required.) 488 Body String `json:"body"` 489 490 // A unique identifier for the client performing the mutation. (Optional.) 491 ClientMutationID *String `json:"clientMutationId,omitempty"` 492} 493 494// CreateTeamDiscussionInput is an autogenerated input type of CreateTeamDiscussion. 495type CreateTeamDiscussionInput struct { 496 // The ID of the team to which the discussion belongs. (Required.) 497 TeamID ID `json:"teamId"` 498 // The title of the discussion. (Required.) 499 Title String `json:"title"` 500 // The content of the discussion. (Required.) 501 Body String `json:"body"` 502 503 // If true, restricts the visiblity of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion. (Optional.) 504 Private *Boolean `json:"private,omitempty"` 505 // A unique identifier for the client performing the mutation. (Optional.) 506 ClientMutationID *String `json:"clientMutationId,omitempty"` 507} 508 509// DeclineTopicSuggestionInput is an autogenerated input type of DeclineTopicSuggestion. 510type DeclineTopicSuggestionInput struct { 511 // The Node ID of the repository. (Required.) 512 RepositoryID ID `json:"repositoryId"` 513 // The name of the suggested topic. (Required.) 514 Name String `json:"name"` 515 // The reason why the suggested topic is declined. (Required.) 516 Reason TopicSuggestionDeclineReason `json:"reason"` 517 518 // A unique identifier for the client performing the mutation. (Optional.) 519 ClientMutationID *String `json:"clientMutationId,omitempty"` 520} 521 522// DeleteBranchProtectionRuleInput is an autogenerated input type of DeleteBranchProtectionRule. 523type DeleteBranchProtectionRuleInput struct { 524 // The global relay id of the branch protection rule to be deleted. (Required.) 525 BranchProtectionRuleID ID `json:"branchProtectionRuleId"` 526 527 // A unique identifier for the client performing the mutation. (Optional.) 528 ClientMutationID *String `json:"clientMutationId,omitempty"` 529} 530 531// DeleteDeploymentInput is an autogenerated input type of DeleteDeployment. 532type DeleteDeploymentInput struct { 533 // The Node ID of the deployment to be deleted. (Required.) 534 ID ID `json:"id"` 535 536 // A unique identifier for the client performing the mutation. (Optional.) 537 ClientMutationID *String `json:"clientMutationId,omitempty"` 538} 539 540// DeleteIpAllowListEntryInput is an autogenerated input type of DeleteIpAllowListEntry. 541type DeleteIpAllowListEntryInput struct { 542 // The ID of the IP allow list entry to delete. (Required.) 543 IPAllowListEntryID ID `json:"ipAllowListEntryId"` 544 545 // A unique identifier for the client performing the mutation. (Optional.) 546 ClientMutationID *String `json:"clientMutationId,omitempty"` 547} 548 549// DeleteIssueCommentInput is an autogenerated input type of DeleteIssueComment. 550type DeleteIssueCommentInput struct { 551 // The ID of the comment to delete. (Required.) 552 ID ID `json:"id"` 553 554 // A unique identifier for the client performing the mutation. (Optional.) 555 ClientMutationID *String `json:"clientMutationId,omitempty"` 556} 557 558// DeleteIssueInput is an autogenerated input type of DeleteIssue. 559type DeleteIssueInput struct { 560 // The ID of the issue to delete. (Required.) 561 IssueID ID `json:"issueId"` 562 563 // A unique identifier for the client performing the mutation. (Optional.) 564 ClientMutationID *String `json:"clientMutationId,omitempty"` 565} 566 567// DeleteProjectCardInput is an autogenerated input type of DeleteProjectCard. 568type DeleteProjectCardInput struct { 569 // The id of the card to delete. (Required.) 570 CardID ID `json:"cardId"` 571 572 // A unique identifier for the client performing the mutation. (Optional.) 573 ClientMutationID *String `json:"clientMutationId,omitempty"` 574} 575 576// DeleteProjectColumnInput is an autogenerated input type of DeleteProjectColumn. 577type DeleteProjectColumnInput struct { 578 // The id of the column to delete. (Required.) 579 ColumnID ID `json:"columnId"` 580 581 // A unique identifier for the client performing the mutation. (Optional.) 582 ClientMutationID *String `json:"clientMutationId,omitempty"` 583} 584 585// DeleteProjectInput is an autogenerated input type of DeleteProject. 586type DeleteProjectInput struct { 587 // The Project ID to update. (Required.) 588 ProjectID ID `json:"projectId"` 589 590 // A unique identifier for the client performing the mutation. (Optional.) 591 ClientMutationID *String `json:"clientMutationId,omitempty"` 592} 593 594// DeletePullRequestReviewCommentInput is an autogenerated input type of DeletePullRequestReviewComment. 595type DeletePullRequestReviewCommentInput struct { 596 // The ID of the comment to delete. (Required.) 597 ID ID `json:"id"` 598 599 // A unique identifier for the client performing the mutation. (Optional.) 600 ClientMutationID *String `json:"clientMutationId,omitempty"` 601} 602 603// DeletePullRequestReviewInput is an autogenerated input type of DeletePullRequestReview. 604type DeletePullRequestReviewInput struct { 605 // The Node ID of the pull request review to delete. (Required.) 606 PullRequestReviewID ID `json:"pullRequestReviewId"` 607 608 // A unique identifier for the client performing the mutation. (Optional.) 609 ClientMutationID *String `json:"clientMutationId,omitempty"` 610} 611 612// DeleteRefInput is an autogenerated input type of DeleteRef. 613type DeleteRefInput struct { 614 // The Node ID of the Ref to be deleted. (Required.) 615 RefID ID `json:"refId"` 616 617 // A unique identifier for the client performing the mutation. (Optional.) 618 ClientMutationID *String `json:"clientMutationId,omitempty"` 619} 620 621// DeleteTeamDiscussionCommentInput is an autogenerated input type of DeleteTeamDiscussionComment. 622type DeleteTeamDiscussionCommentInput struct { 623 // The ID of the comment to delete. (Required.) 624 ID ID `json:"id"` 625 626 // A unique identifier for the client performing the mutation. (Optional.) 627 ClientMutationID *String `json:"clientMutationId,omitempty"` 628} 629 630// DeleteTeamDiscussionInput is an autogenerated input type of DeleteTeamDiscussion. 631type DeleteTeamDiscussionInput struct { 632 // The discussion ID to delete. (Required.) 633 ID ID `json:"id"` 634 635 // A unique identifier for the client performing the mutation. (Optional.) 636 ClientMutationID *String `json:"clientMutationId,omitempty"` 637} 638 639// DeploymentOrder represents ordering options for deployment connections. 640type DeploymentOrder struct { 641 // The field to order deployments by. (Required.) 642 Field DeploymentOrderField `json:"field"` 643 // The ordering direction. (Required.) 644 Direction OrderDirection `json:"direction"` 645} 646 647// DismissPullRequestReviewInput is an autogenerated input type of DismissPullRequestReview. 648type DismissPullRequestReviewInput struct { 649 // The Node ID of the pull request review to modify. (Required.) 650 PullRequestReviewID ID `json:"pullRequestReviewId"` 651 // The contents of the pull request review dismissal message. (Required.) 652 Message String `json:"message"` 653 654 // A unique identifier for the client performing the mutation. (Optional.) 655 ClientMutationID *String `json:"clientMutationId,omitempty"` 656} 657 658// DraftPullRequestReviewComment specifies a review comment to be left with a Pull Request Review. 659type DraftPullRequestReviewComment struct { 660 // Path to the file being commented on. (Required.) 661 Path String `json:"path"` 662 // Position in the file to leave a comment on. (Required.) 663 Position Int `json:"position"` 664 // Body of the comment to leave. (Required.) 665 Body String `json:"body"` 666} 667 668// DraftPullRequestReviewThread specifies a review comment thread to be left with a Pull Request Review. 669type DraftPullRequestReviewThread struct { 670 // Path to the file being commented on. (Required.) 671 Path String `json:"path"` 672 // The line of the blob to which the thread refers. The end of the line range for multi-line comments. (Required.) 673 Line Int `json:"line"` 674 // Body of the comment to leave. (Required.) 675 Body String `json:"body"` 676 677 // 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. (Optional.) 678 Side *DiffSide `json:"side,omitempty"` 679 // The first line of the range to which the comment refers. (Optional.) 680 StartLine *Int `json:"startLine,omitempty"` 681 // The side of the diff on which the start line resides. (Optional.) 682 StartSide *DiffSide `json:"startSide,omitempty"` 683} 684 685// EnterpriseAdministratorInvitationOrder represents ordering options for enterprise administrator invitation connections. 686type EnterpriseAdministratorInvitationOrder struct { 687 // The field to order enterprise administrator invitations by. (Required.) 688 Field EnterpriseAdministratorInvitationOrderField `json:"field"` 689 // The ordering direction. (Required.) 690 Direction OrderDirection `json:"direction"` 691} 692 693// EnterpriseMemberOrder represents ordering options for enterprise member connections. 694type EnterpriseMemberOrder struct { 695 // The field to order enterprise members by. (Required.) 696 Field EnterpriseMemberOrderField `json:"field"` 697 // The ordering direction. (Required.) 698 Direction OrderDirection `json:"direction"` 699} 700 701// EnterpriseServerInstallationOrder represents ordering options for Enterprise Server installation connections. 702type EnterpriseServerInstallationOrder struct { 703 // The field to order Enterprise Server installations by. (Required.) 704 Field EnterpriseServerInstallationOrderField `json:"field"` 705 // The ordering direction. (Required.) 706 Direction OrderDirection `json:"direction"` 707} 708 709// EnterpriseServerUserAccountEmailOrder represents ordering options for Enterprise Server user account email connections. 710type EnterpriseServerUserAccountEmailOrder struct { 711 // The field to order emails by. (Required.) 712 Field EnterpriseServerUserAccountEmailOrderField `json:"field"` 713 // The ordering direction. (Required.) 714 Direction OrderDirection `json:"direction"` 715} 716 717// EnterpriseServerUserAccountOrder represents ordering options for Enterprise Server user account connections. 718type EnterpriseServerUserAccountOrder struct { 719 // The field to order user accounts by. (Required.) 720 Field EnterpriseServerUserAccountOrderField `json:"field"` 721 // The ordering direction. (Required.) 722 Direction OrderDirection `json:"direction"` 723} 724 725// EnterpriseServerUserAccountsUploadOrder represents ordering options for Enterprise Server user accounts upload connections. 726type EnterpriseServerUserAccountsUploadOrder struct { 727 // The field to order user accounts uploads by. (Required.) 728 Field EnterpriseServerUserAccountsUploadOrderField `json:"field"` 729 // The ordering direction. (Required.) 730 Direction OrderDirection `json:"direction"` 731} 732 733// FollowUserInput is an autogenerated input type of FollowUser. 734type FollowUserInput struct { 735 // ID of the user to follow. (Required.) 736 UserID ID `json:"userId"` 737 738 // A unique identifier for the client performing the mutation. (Optional.) 739 ClientMutationID *String `json:"clientMutationId,omitempty"` 740} 741 742// GistOrder represents ordering options for gist connections. 743type GistOrder struct { 744 // The field to order repositories by. (Required.) 745 Field GistOrderField `json:"field"` 746 // The ordering direction. (Required.) 747 Direction OrderDirection `json:"direction"` 748} 749 750// InviteEnterpriseAdminInput is an autogenerated input type of InviteEnterpriseAdmin. 751type InviteEnterpriseAdminInput struct { 752 // The ID of the enterprise to which you want to invite an administrator. (Required.) 753 EnterpriseID ID `json:"enterpriseId"` 754 755 // The login of a user to invite as an administrator. (Optional.) 756 Invitee *String `json:"invitee,omitempty"` 757 // The email of the person to invite as an administrator. (Optional.) 758 Email *String `json:"email,omitempty"` 759 // The role of the administrator. (Optional.) 760 Role *EnterpriseAdministratorRole `json:"role,omitempty"` 761 // A unique identifier for the client performing the mutation. (Optional.) 762 ClientMutationID *String `json:"clientMutationId,omitempty"` 763} 764 765// IpAllowListEntryOrder represents ordering options for IP allow list entry connections. 766type IpAllowListEntryOrder struct { 767 // The field to order IP allow list entries by. (Required.) 768 Field IpAllowListEntryOrderField `json:"field"` 769 // The ordering direction. (Required.) 770 Direction OrderDirection `json:"direction"` 771} 772 773// IssueFilters represents ways in which to filter lists of issues. 774type IssueFilters struct { 775 776 // List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. (Optional.) 777 Assignee *String `json:"assignee,omitempty"` 778 // List issues created by given name. (Optional.) 779 CreatedBy *String `json:"createdBy,omitempty"` 780 // List issues where the list of label names exist on the issue. (Optional.) 781 Labels *[]String `json:"labels,omitempty"` 782 // List issues where the given name is mentioned in the issue. (Optional.) 783 Mentioned *String `json:"mentioned,omitempty"` 784 // 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.) 785 Milestone *String `json:"milestone,omitempty"` 786 // List issues that have been updated at or after the given date. (Optional.) 787 Since *DateTime `json:"since,omitempty"` 788 // List issues filtered by the list of states given. (Optional.) 789 States *[]IssueState `json:"states,omitempty"` 790 // List issues subscribed to by viewer. (Optional.) 791 ViewerSubscribed *Boolean `json:"viewerSubscribed,omitempty"` 792} 793 794// IssueOrder represents ways in which lists of issues can be ordered upon return. 795type IssueOrder struct { 796 // The field in which to order issues by. (Required.) 797 Field IssueOrderField `json:"field"` 798 // The direction in which to order issues by the specified field. (Required.) 799 Direction OrderDirection `json:"direction"` 800} 801 802// LabelOrder represents ways in which lists of labels can be ordered upon return. 803type LabelOrder struct { 804 // The field in which to order labels by. (Required.) 805 Field LabelOrderField `json:"field"` 806 // The direction in which to order labels by the specified field. (Required.) 807 Direction OrderDirection `json:"direction"` 808} 809 810// LanguageOrder represents ordering options for language connections. 811type LanguageOrder struct { 812 // The field to order languages by. (Required.) 813 Field LanguageOrderField `json:"field"` 814 // The ordering direction. (Required.) 815 Direction OrderDirection `json:"direction"` 816} 817 818// LinkRepositoryToProjectInput is an autogenerated input type of LinkRepositoryToProject. 819type LinkRepositoryToProjectInput struct { 820 // The ID of the Project to link to a Repository. (Required.) 821 ProjectID ID `json:"projectId"` 822 // The ID of the Repository to link to a Project. (Required.) 823 RepositoryID ID `json:"repositoryId"` 824 825 // A unique identifier for the client performing the mutation. (Optional.) 826 ClientMutationID *String `json:"clientMutationId,omitempty"` 827} 828 829// LockLockableInput is an autogenerated input type of LockLockable. 830type LockLockableInput struct { 831 // ID of the issue or pull request to be locked. (Required.) 832 LockableID ID `json:"lockableId"` 833 834 // A reason for why the issue or pull request will be locked. (Optional.) 835 LockReason *LockReason `json:"lockReason,omitempty"` 836 // A unique identifier for the client performing the mutation. (Optional.) 837 ClientMutationID *String `json:"clientMutationId,omitempty"` 838} 839 840// MarkPullRequestReadyForReviewInput is an autogenerated input type of MarkPullRequestReadyForReview. 841type MarkPullRequestReadyForReviewInput struct { 842 // ID of the pull request to be marked as ready for review. (Required.) 843 PullRequestID ID `json:"pullRequestId"` 844 845 // A unique identifier for the client performing the mutation. (Optional.) 846 ClientMutationID *String `json:"clientMutationId,omitempty"` 847} 848 849// MergeBranchInput is an autogenerated input type of MergeBranch. 850type MergeBranchInput struct { 851 // The Node ID of the Repository containing the base branch that will be modified. (Required.) 852 RepositoryID ID `json:"repositoryId"` 853 // The name of the base branch that the provided head will be merged into. (Required.) 854 Base String `json:"base"` 855 // The head to merge into the base branch. This can be a branch name or a commit GitObjectID. (Required.) 856 Head String `json:"head"` 857 858 // Message to use for the merge commit. If omitted, a default will be used. (Optional.) 859 CommitMessage *String `json:"commitMessage,omitempty"` 860 // The email address to associate with this commit. (Optional.) 861 AuthorEmail *String `json:"authorEmail,omitempty"` 862 // A unique identifier for the client performing the mutation. (Optional.) 863 ClientMutationID *String `json:"clientMutationId,omitempty"` 864} 865 866// MergePullRequestInput is an autogenerated input type of MergePullRequest. 867type MergePullRequestInput struct { 868 // ID of the pull request to be merged. (Required.) 869 PullRequestID ID `json:"pullRequestId"` 870 871 // Commit headline to use for the merge commit; if omitted, a default message will be used. (Optional.) 872 CommitHeadline *String `json:"commitHeadline,omitempty"` 873 // Commit body to use for the merge commit; if omitted, a default message will be used. (Optional.) 874 CommitBody *String `json:"commitBody,omitempty"` 875 // OID that the pull request head ref must match to allow merge; if omitted, no check is performed. (Optional.) 876 ExpectedHeadOid *GitObjectID `json:"expectedHeadOid,omitempty"` 877 // The merge method to use. If omitted, defaults to 'MERGE'. (Optional.) 878 MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"` 879 // The email address to associate with this merge. (Optional.) 880 AuthorEmail *String `json:"authorEmail,omitempty"` 881 // A unique identifier for the client performing the mutation. (Optional.) 882 ClientMutationID *String `json:"clientMutationId,omitempty"` 883} 884 885// MilestoneOrder represents ordering options for milestone connections. 886type MilestoneOrder struct { 887 // The field to order milestones by. (Required.) 888 Field MilestoneOrderField `json:"field"` 889 // The ordering direction. (Required.) 890 Direction OrderDirection `json:"direction"` 891} 892 893// MinimizeCommentInput is an autogenerated input type of MinimizeComment. 894type MinimizeCommentInput struct { 895 // The Node ID of the subject to modify. (Required.) 896 SubjectID ID `json:"subjectId"` 897 // The classification of comment. (Required.) 898 Classifier ReportedContentClassifiers `json:"classifier"` 899 900 // A unique identifier for the client performing the mutation. (Optional.) 901 ClientMutationID *String `json:"clientMutationId,omitempty"` 902} 903 904// MoveProjectCardInput is an autogenerated input type of MoveProjectCard. 905type MoveProjectCardInput struct { 906 // The id of the card to move. (Required.) 907 CardID ID `json:"cardId"` 908 // The id of the column to move it into. (Required.) 909 ColumnID ID `json:"columnId"` 910 911 // Place the new card after the card with this id. Pass null to place it at the top. (Optional.) 912 AfterCardID *ID `json:"afterCardId,omitempty"` 913 // A unique identifier for the client performing the mutation. (Optional.) 914 ClientMutationID *String `json:"clientMutationId,omitempty"` 915} 916 917// MoveProjectColumnInput is an autogenerated input type of MoveProjectColumn. 918type MoveProjectColumnInput struct { 919 // The id of the column to move. (Required.) 920 ColumnID ID `json:"columnId"` 921 922 // Place the new column after the column with this id. Pass null to place it at the front. (Optional.) 923 AfterColumnID *ID `json:"afterColumnId,omitempty"` 924 // A unique identifier for the client performing the mutation. (Optional.) 925 ClientMutationID *String `json:"clientMutationId,omitempty"` 926} 927 928// OrganizationOrder represents ordering options for organization connections. 929type OrganizationOrder struct { 930 // The field to order organizations by. (Required.) 931 Field OrganizationOrderField `json:"field"` 932 // The ordering direction. (Required.) 933 Direction OrderDirection `json:"direction"` 934} 935 936// PackageFileOrder represents ways in which lists of package files can be ordered upon return. 937type PackageFileOrder struct { 938 939 // The field in which to order package files by. (Optional.) 940 Field *PackageFileOrderField `json:"field,omitempty"` 941 // The direction in which to order package files by the specified field. (Optional.) 942 Direction *OrderDirection `json:"direction,omitempty"` 943} 944 945// PackageOrder represents ways in which lists of packages can be ordered upon return. 946type PackageOrder struct { 947 948 // The field in which to order packages by. (Optional.) 949 Field *PackageOrderField `json:"field,omitempty"` 950 // The direction in which to order packages by the specified field. (Optional.) 951 Direction *OrderDirection `json:"direction,omitempty"` 952} 953 954// PackageVersionOrder represents ways in which lists of package versions can be ordered upon return. 955type PackageVersionOrder struct { 956 957 // The field in which to order package versions by. (Optional.) 958 Field *PackageVersionOrderField `json:"field,omitempty"` 959 // The direction in which to order package versions by the specified field. (Optional.) 960 Direction *OrderDirection `json:"direction,omitempty"` 961} 962 963// ProjectOrder represents ways in which lists of projects can be ordered upon return. 964type ProjectOrder struct { 965 // The field in which to order projects by. (Required.) 966 Field ProjectOrderField `json:"field"` 967 // The direction in which to order projects by the specified field. (Required.) 968 Direction OrderDirection `json:"direction"` 969} 970 971// PullRequestOrder represents ways in which lists of issues can be ordered upon return. 972type PullRequestOrder struct { 973 // The field in which to order pull requests by. (Required.) 974 Field PullRequestOrderField `json:"field"` 975 // The direction in which to order pull requests by the specified field. (Required.) 976 Direction OrderDirection `json:"direction"` 977} 978 979// ReactionOrder represents ways in which lists of reactions can be ordered upon return. 980type ReactionOrder struct { 981 // The field in which to order reactions by. (Required.) 982 Field ReactionOrderField `json:"field"` 983 // The direction in which to order reactions by the specified field. (Required.) 984 Direction OrderDirection `json:"direction"` 985} 986 987// RefOrder represents ways in which lists of git refs can be ordered upon return. 988type RefOrder struct { 989 // The field in which to order refs by. (Required.) 990 Field RefOrderField `json:"field"` 991 // The direction in which to order refs by the specified field. (Required.) 992 Direction OrderDirection `json:"direction"` 993} 994 995// RegenerateEnterpriseIdentityProviderRecoveryCodesInput is an autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes. 996type RegenerateEnterpriseIdentityProviderRecoveryCodesInput struct { 997 // The ID of the enterprise on which to set an identity provider. (Required.) 998 EnterpriseID ID `json:"enterpriseId"` 999 1000 // A unique identifier for the client performing the mutation. (Optional.) 1001 ClientMutationID *String `json:"clientMutationId,omitempty"` 1002} 1003 1004// ReleaseOrder represents ways in which lists of releases can be ordered upon return. 1005type ReleaseOrder struct { 1006 // The field in which to order releases by. (Required.) 1007 Field ReleaseOrderField `json:"field"` 1008 // The direction in which to order releases by the specified field. (Required.) 1009 Direction OrderDirection `json:"direction"` 1010} 1011 1012// RemoveAssigneesFromAssignableInput is an autogenerated input type of RemoveAssigneesFromAssignable. 1013type RemoveAssigneesFromAssignableInput struct { 1014 // The id of the assignable object to remove assignees from. (Required.) 1015 AssignableID ID `json:"assignableId"` 1016 // The id of users to remove as assignees. (Required.) 1017 AssigneeIDs []ID `json:"assigneeIds"` 1018 1019 // A unique identifier for the client performing the mutation. (Optional.) 1020 ClientMutationID *String `json:"clientMutationId,omitempty"` 1021} 1022 1023// RemoveEnterpriseAdminInput is an autogenerated input type of RemoveEnterpriseAdmin. 1024type RemoveEnterpriseAdminInput struct { 1025 // The Enterprise ID from which to remove the administrator. (Required.) 1026 EnterpriseID ID `json:"enterpriseId"` 1027 // The login of the user to remove as an administrator. (Required.) 1028 Login String `json:"login"` 1029 1030 // A unique identifier for the client performing the mutation. (Optional.) 1031 ClientMutationID *String `json:"clientMutationId,omitempty"` 1032} 1033 1034// RemoveEnterpriseIdentityProviderInput is an autogenerated input type of RemoveEnterpriseIdentityProvider. 1035type RemoveEnterpriseIdentityProviderInput struct { 1036 // The ID of the enterprise from which to remove the identity provider. (Required.) 1037 EnterpriseID ID `json:"enterpriseId"` 1038 1039 // A unique identifier for the client performing the mutation. (Optional.) 1040 ClientMutationID *String `json:"clientMutationId,omitempty"` 1041} 1042 1043// RemoveEnterpriseOrganizationInput is an autogenerated input type of RemoveEnterpriseOrganization. 1044type RemoveEnterpriseOrganizationInput struct { 1045 // The ID of the enterprise from which the organization should be removed. (Required.) 1046 EnterpriseID ID `json:"enterpriseId"` 1047 // The ID of the organization to remove from the enterprise. (Required.) 1048 OrganizationID ID `json:"organizationId"` 1049 1050 // A unique identifier for the client performing the mutation. (Optional.) 1051 ClientMutationID *String `json:"clientMutationId,omitempty"` 1052} 1053 1054// RemoveLabelsFromLabelableInput is an autogenerated input type of RemoveLabelsFromLabelable. 1055type RemoveLabelsFromLabelableInput struct { 1056 // The id of the Labelable to remove labels from. (Required.) 1057 LabelableID ID `json:"labelableId"` 1058 // The ids of labels to remove. (Required.) 1059 LabelIDs []ID `json:"labelIds"` 1060 1061 // A unique identifier for the client performing the mutation. (Optional.) 1062 ClientMutationID *String `json:"clientMutationId,omitempty"` 1063} 1064 1065// RemoveOutsideCollaboratorInput is an autogenerated input type of RemoveOutsideCollaborator. 1066type RemoveOutsideCollaboratorInput struct { 1067 // The ID of the outside collaborator to remove. (Required.) 1068 UserID ID `json:"userId"` 1069 // The ID of the organization to remove the outside collaborator from. (Required.) 1070 OrganizationID ID `json:"organizationId"` 1071 1072 // A unique identifier for the client performing the mutation. (Optional.) 1073 ClientMutationID *String `json:"clientMutationId,omitempty"` 1074} 1075 1076// RemoveReactionInput is an autogenerated input type of RemoveReaction. 1077type RemoveReactionInput struct { 1078 // The Node ID of the subject to modify. (Required.) 1079 SubjectID ID `json:"subjectId"` 1080 // The name of the emoji reaction to remove. (Required.) 1081 Content ReactionContent `json:"content"` 1082 1083 // A unique identifier for the client performing the mutation. (Optional.) 1084 ClientMutationID *String `json:"clientMutationId,omitempty"` 1085} 1086 1087// RemoveStarInput is an autogenerated input type of RemoveStar. 1088type RemoveStarInput struct { 1089 // The Starrable ID to unstar. (Required.) 1090 StarrableID ID `json:"starrableId"` 1091 1092 // A unique identifier for the client performing the mutation. (Optional.) 1093 ClientMutationID *String `json:"clientMutationId,omitempty"` 1094} 1095 1096// ReopenIssueInput is an autogenerated input type of ReopenIssue. 1097type ReopenIssueInput struct { 1098 // ID of the issue to be opened. (Required.) 1099 IssueID ID `json:"issueId"` 1100 1101 // A unique identifier for the client performing the mutation. (Optional.) 1102 ClientMutationID *String `json:"clientMutationId,omitempty"` 1103} 1104 1105// ReopenPullRequestInput is an autogenerated input type of ReopenPullRequest. 1106type ReopenPullRequestInput struct { 1107 // ID of the pull request to be reopened. (Required.) 1108 PullRequestID ID `json:"pullRequestId"` 1109 1110 // A unique identifier for the client performing the mutation. (Optional.) 1111 ClientMutationID *String `json:"clientMutationId,omitempty"` 1112} 1113 1114// RepositoryInvitationOrder represents ordering options for repository invitation connections. 1115type RepositoryInvitationOrder struct { 1116 // The field to order repository invitations by. (Required.) 1117 Field RepositoryInvitationOrderField `json:"field"` 1118 // The ordering direction. (Required.) 1119 Direction OrderDirection `json:"direction"` 1120} 1121 1122// RepositoryOrder represents ordering options for repository connections. 1123type RepositoryOrder struct { 1124 // The field to order repositories by. (Required.) 1125 Field RepositoryOrderField `json:"field"` 1126 // The ordering direction. (Required.) 1127 Direction OrderDirection `json:"direction"` 1128} 1129 1130// RequestReviewsInput is an autogenerated input type of RequestReviews. 1131type RequestReviewsInput struct { 1132 // The Node ID of the pull request to modify. (Required.) 1133 PullRequestID ID `json:"pullRequestId"` 1134 1135 // The Node IDs of the user to request. (Optional.) 1136 UserIDs *[]ID `json:"userIds,omitempty"` 1137 // The Node IDs of the team to request. (Optional.) 1138 TeamIDs *[]ID `json:"teamIds,omitempty"` 1139 // Add users to the set rather than replace. (Optional.) 1140 Union *Boolean `json:"union,omitempty"` 1141 // A unique identifier for the client performing the mutation. (Optional.) 1142 ClientMutationID *String `json:"clientMutationId,omitempty"` 1143} 1144 1145// ResolveReviewThreadInput is an autogenerated input type of ResolveReviewThread. 1146type ResolveReviewThreadInput struct { 1147 // The ID of the thread to resolve. (Required.) 1148 ThreadID ID `json:"threadId"` 1149 1150 // A unique identifier for the client performing the mutation. (Optional.) 1151 ClientMutationID *String `json:"clientMutationId,omitempty"` 1152} 1153 1154// SavedReplyOrder represents ordering options for saved reply connections. 1155type SavedReplyOrder struct { 1156 // The field to order saved replies by. (Required.) 1157 Field SavedReplyOrderField `json:"field"` 1158 // The ordering direction. (Required.) 1159 Direction OrderDirection `json:"direction"` 1160} 1161 1162// SecurityAdvisoryIdentifierFilter represents an advisory identifier to filter results on. 1163type SecurityAdvisoryIdentifierFilter struct { 1164 // The identifier type. (Required.) 1165 Type SecurityAdvisoryIdentifierType `json:"type"` 1166 // The identifier string. Supports exact or partial matching. (Required.) 1167 Value String `json:"value"` 1168} 1169 1170// SecurityAdvisoryOrder represents ordering options for security advisory connections. 1171type SecurityAdvisoryOrder struct { 1172 // The field to order security advisories by. (Required.) 1173 Field SecurityAdvisoryOrderField `json:"field"` 1174 // The ordering direction. (Required.) 1175 Direction OrderDirection `json:"direction"` 1176} 1177 1178// SecurityVulnerabilityOrder represents ordering options for security vulnerability connections. 1179type SecurityVulnerabilityOrder struct { 1180 // The field to order security vulnerabilities by. (Required.) 1181 Field SecurityVulnerabilityOrderField `json:"field"` 1182 // The ordering direction. (Required.) 1183 Direction OrderDirection `json:"direction"` 1184} 1185 1186// SetEnterpriseIdentityProviderInput is an autogenerated input type of SetEnterpriseIdentityProvider. 1187type SetEnterpriseIdentityProviderInput struct { 1188 // The ID of the enterprise on which to set an identity provider. (Required.) 1189 EnterpriseID ID `json:"enterpriseId"` 1190 // The URL endpoint for the identity provider's SAML SSO. (Required.) 1191 SsoURL URI `json:"ssoUrl"` 1192 // The x509 certificate used by the identity provider to sign assertions and responses. (Required.) 1193 IdpCertificate String `json:"idpCertificate"` 1194 // The signature algorithm used to sign SAML requests for the identity provider. (Required.) 1195 SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod"` 1196 // The digest algorithm used to sign SAML requests for the identity provider. (Required.) 1197 DigestMethod SamlDigestAlgorithm `json:"digestMethod"` 1198 1199 // The Issuer Entity ID for the SAML identity provider. (Optional.) 1200 Issuer *String `json:"issuer,omitempty"` 1201 // A unique identifier for the client performing the mutation. (Optional.) 1202 ClientMutationID *String `json:"clientMutationId,omitempty"` 1203} 1204 1205// SponsorsTierOrder represents ordering options for Sponsors tiers connections. 1206type SponsorsTierOrder struct { 1207 // The field to order tiers by. (Required.) 1208 Field SponsorsTierOrderField `json:"field"` 1209 // The ordering direction. (Required.) 1210 Direction OrderDirection `json:"direction"` 1211} 1212 1213// SponsorshipOrder represents ordering options for sponsorship connections. 1214type SponsorshipOrder struct { 1215 // The field to order sponsorship by. (Required.) 1216 Field SponsorshipOrderField `json:"field"` 1217 // The ordering direction. (Required.) 1218 Direction OrderDirection `json:"direction"` 1219} 1220 1221// StarOrder represents ways in which star connections can be ordered. 1222type StarOrder struct { 1223 // The field in which to order nodes by. (Required.) 1224 Field StarOrderField `json:"field"` 1225 // The direction in which to order nodes. (Required.) 1226 Direction OrderDirection `json:"direction"` 1227} 1228 1229// SubmitPullRequestReviewInput is an autogenerated input type of SubmitPullRequestReview. 1230type SubmitPullRequestReviewInput struct { 1231 // The event to send to the Pull Request Review. (Required.) 1232 Event PullRequestReviewEvent `json:"event"` 1233 1234 // The Pull Request ID to submit any pending reviews. (Optional.) 1235 PullRequestID *ID `json:"pullRequestId,omitempty"` 1236 // The Pull Request Review ID to submit. (Optional.) 1237 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 1238 // The text field to set on the Pull Request Review. (Optional.) 1239 Body *String `json:"body,omitempty"` 1240 // A unique identifier for the client performing the mutation. (Optional.) 1241 ClientMutationID *String `json:"clientMutationId,omitempty"` 1242} 1243 1244// TeamDiscussionCommentOrder represents ways in which team discussion comment connections can be ordered. 1245type TeamDiscussionCommentOrder struct { 1246 // The field by which to order nodes. (Required.) 1247 Field TeamDiscussionCommentOrderField `json:"field"` 1248 // The direction in which to order nodes. (Required.) 1249 Direction OrderDirection `json:"direction"` 1250} 1251 1252// TeamDiscussionOrder represents ways in which team discussion connections can be ordered. 1253type TeamDiscussionOrder struct { 1254 // The field by which to order nodes. (Required.) 1255 Field TeamDiscussionOrderField `json:"field"` 1256 // The direction in which to order nodes. (Required.) 1257 Direction OrderDirection `json:"direction"` 1258} 1259 1260// TeamMemberOrder represents ordering options for team member connections. 1261type TeamMemberOrder struct { 1262 // The field to order team members by. (Required.) 1263 Field TeamMemberOrderField `json:"field"` 1264 // The ordering direction. (Required.) 1265 Direction OrderDirection `json:"direction"` 1266} 1267 1268// TeamOrder represents ways in which team connections can be ordered. 1269type TeamOrder struct { 1270 // The field in which to order nodes by. (Required.) 1271 Field TeamOrderField `json:"field"` 1272 // The direction in which to order nodes. (Required.) 1273 Direction OrderDirection `json:"direction"` 1274} 1275 1276// TeamRepositoryOrder represents ordering options for team repository connections. 1277type TeamRepositoryOrder struct { 1278 // The field to order repositories by. (Required.) 1279 Field TeamRepositoryOrderField `json:"field"` 1280 // The ordering direction. (Required.) 1281 Direction OrderDirection `json:"direction"` 1282} 1283 1284// TransferIssueInput is an autogenerated input type of TransferIssue. 1285type TransferIssueInput struct { 1286 // The Node ID of the issue to be transferred. (Required.) 1287 IssueID ID `json:"issueId"` 1288 // The Node ID of the repository the issue should be transferred to. (Required.) 1289 RepositoryID ID `json:"repositoryId"` 1290 1291 // A unique identifier for the client performing the mutation. (Optional.) 1292 ClientMutationID *String `json:"clientMutationId,omitempty"` 1293} 1294 1295// UnarchiveRepositoryInput is an autogenerated input type of UnarchiveRepository. 1296type UnarchiveRepositoryInput struct { 1297 // The ID of the repository to unarchive. (Required.) 1298 RepositoryID ID `json:"repositoryId"` 1299 1300 // A unique identifier for the client performing the mutation. (Optional.) 1301 ClientMutationID *String `json:"clientMutationId,omitempty"` 1302} 1303 1304// UnfollowUserInput is an autogenerated input type of UnfollowUser. 1305type UnfollowUserInput struct { 1306 // ID of the user to unfollow. (Required.) 1307 UserID ID `json:"userId"` 1308 1309 // A unique identifier for the client performing the mutation. (Optional.) 1310 ClientMutationID *String `json:"clientMutationId,omitempty"` 1311} 1312 1313// UnlinkRepositoryFromProjectInput is an autogenerated input type of UnlinkRepositoryFromProject. 1314type UnlinkRepositoryFromProjectInput struct { 1315 // The ID of the Project linked to the Repository. (Required.) 1316 ProjectID ID `json:"projectId"` 1317 // The ID of the Repository linked to the Project. (Required.) 1318 RepositoryID ID `json:"repositoryId"` 1319 1320 // A unique identifier for the client performing the mutation. (Optional.) 1321 ClientMutationID *String `json:"clientMutationId,omitempty"` 1322} 1323 1324// UnlockLockableInput is an autogenerated input type of UnlockLockable. 1325type UnlockLockableInput struct { 1326 // ID of the issue or pull request to be unlocked. (Required.) 1327 LockableID ID `json:"lockableId"` 1328 1329 // A unique identifier for the client performing the mutation. (Optional.) 1330 ClientMutationID *String `json:"clientMutationId,omitempty"` 1331} 1332 1333// UnmarkIssueAsDuplicateInput is an autogenerated input type of UnmarkIssueAsDuplicate. 1334type UnmarkIssueAsDuplicateInput struct { 1335 // ID of the issue or pull request currently marked as a duplicate. (Required.) 1336 DuplicateID ID `json:"duplicateId"` 1337 // ID of the issue or pull request currently considered canonical/authoritative/original. (Required.) 1338 CanonicalID ID `json:"canonicalId"` 1339 1340 // A unique identifier for the client performing the mutation. (Optional.) 1341 ClientMutationID *String `json:"clientMutationId,omitempty"` 1342} 1343 1344// UnminimizeCommentInput is an autogenerated input type of UnminimizeComment. 1345type UnminimizeCommentInput struct { 1346 // The Node ID of the subject to modify. (Required.) 1347 SubjectID ID `json:"subjectId"` 1348 1349 // A unique identifier for the client performing the mutation. (Optional.) 1350 ClientMutationID *String `json:"clientMutationId,omitempty"` 1351} 1352 1353// UnresolveReviewThreadInput is an autogenerated input type of UnresolveReviewThread. 1354type UnresolveReviewThreadInput struct { 1355 // The ID of the thread to unresolve. (Required.) 1356 ThreadID ID `json:"threadId"` 1357 1358 // A unique identifier for the client performing the mutation. (Optional.) 1359 ClientMutationID *String `json:"clientMutationId,omitempty"` 1360} 1361 1362// UpdateBranchProtectionRuleInput is an autogenerated input type of UpdateBranchProtectionRule. 1363type UpdateBranchProtectionRuleInput struct { 1364 // The global relay id of the branch protection rule to be updated. (Required.) 1365 BranchProtectionRuleID ID `json:"branchProtectionRuleId"` 1366 1367 // The glob-like pattern used to determine matching branches. (Optional.) 1368 Pattern *String `json:"pattern,omitempty"` 1369 // Are approving reviews required to update matching branches. (Optional.) 1370 RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"` 1371 // Number of approving reviews required to update matching branches. (Optional.) 1372 RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"` 1373 // Are commits required to be signed. (Optional.) 1374 RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"` 1375 // Can admins overwrite branch protection. (Optional.) 1376 IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"` 1377 // Are status checks required to update matching branches. (Optional.) 1378 RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"` 1379 // Are branches required to be up to date before merging. (Optional.) 1380 RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"` 1381 // Are reviews from code owners required to update matching branches. (Optional.) 1382 RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"` 1383 // Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.) 1384 DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"` 1385 // Is dismissal of pull request reviews restricted. (Optional.) 1386 RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"` 1387 // A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.) 1388 ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"` 1389 // Is pushing to matching branches restricted. (Optional.) 1390 RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"` 1391 // A list of User, Team or App IDs allowed to push to matching branches. (Optional.) 1392 PushActorIDs *[]ID `json:"pushActorIds,omitempty"` 1393 // List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.) 1394 RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"` 1395 // A unique identifier for the client performing the mutation. (Optional.) 1396 ClientMutationID *String `json:"clientMutationId,omitempty"` 1397} 1398 1399// UpdateEnterpriseActionExecutionCapabilitySettingInput is an autogenerated input type of UpdateEnterpriseActionExecutionCapabilitySetting. 1400type UpdateEnterpriseActionExecutionCapabilitySettingInput struct { 1401 // The ID of the enterprise on which to set the members can create repositories setting. (Required.) 1402 EnterpriseID ID `json:"enterpriseId"` 1403 // The value for the action execution capability setting on the enterprise. (Required.) 1404 Capability ActionExecutionCapabilitySetting `json:"capability"` 1405 1406 // A unique identifier for the client performing the mutation. (Optional.) 1407 ClientMutationID *String `json:"clientMutationId,omitempty"` 1408} 1409 1410// UpdateEnterpriseAdministratorRoleInput is an autogenerated input type of UpdateEnterpriseAdministratorRole. 1411type UpdateEnterpriseAdministratorRoleInput struct { 1412 // The ID of the Enterprise which the admin belongs to. (Required.) 1413 EnterpriseID ID `json:"enterpriseId"` 1414 // The login of a administrator whose role is being changed. (Required.) 1415 Login String `json:"login"` 1416 // The new role for the Enterprise administrator. (Required.) 1417 Role EnterpriseAdministratorRole `json:"role"` 1418 1419 // A unique identifier for the client performing the mutation. (Optional.) 1420 ClientMutationID *String `json:"clientMutationId,omitempty"` 1421} 1422 1423// UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput is an autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting. 1424type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput struct { 1425 // The ID of the enterprise on which to set the allow private repository forking setting. (Required.) 1426 EnterpriseID ID `json:"enterpriseId"` 1427 // The value for the allow private repository forking setting on the enterprise. (Required.) 1428 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1429 1430 // A unique identifier for the client performing the mutation. (Optional.) 1431 ClientMutationID *String `json:"clientMutationId,omitempty"` 1432} 1433 1434// UpdateEnterpriseDefaultRepositoryPermissionSettingInput is an autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting. 1435type UpdateEnterpriseDefaultRepositoryPermissionSettingInput struct { 1436 // The ID of the enterprise on which to set the default repository permission setting. (Required.) 1437 EnterpriseID ID `json:"enterpriseId"` 1438 // The value for the default repository permission setting on the enterprise. (Required.) 1439 SettingValue EnterpriseDefaultRepositoryPermissionSettingValue `json:"settingValue"` 1440 1441 // A unique identifier for the client performing the mutation. (Optional.) 1442 ClientMutationID *String `json:"clientMutationId,omitempty"` 1443} 1444 1445// UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput is an autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting. 1446type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput struct { 1447 // The ID of the enterprise on which to set the members can change repository visibility setting. (Required.) 1448 EnterpriseID ID `json:"enterpriseId"` 1449 // The value for the members can change repository visibility setting on the enterprise. (Required.) 1450 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1451 1452 // A unique identifier for the client performing the mutation. (Optional.) 1453 ClientMutationID *String `json:"clientMutationId,omitempty"` 1454} 1455 1456// UpdateEnterpriseMembersCanCreateRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting. 1457type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput struct { 1458 // The ID of the enterprise on which to set the members can create repositories setting. (Required.) 1459 EnterpriseID ID `json:"enterpriseId"` 1460 1461 // 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. (Optional.) 1462 SettingValue *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"settingValue,omitempty"` 1463 // When false, allow member organizations to set their own repository creation member privileges. (Optional.) 1464 MembersCanCreateRepositoriesPolicyEnabled *Boolean `json:"membersCanCreateRepositoriesPolicyEnabled,omitempty"` 1465 // Allow members to create public repositories. Defaults to current value. (Optional.) 1466 MembersCanCreatePublicRepositories *Boolean `json:"membersCanCreatePublicRepositories,omitempty"` 1467 // Allow members to create private repositories. Defaults to current value. (Optional.) 1468 MembersCanCreatePrivateRepositories *Boolean `json:"membersCanCreatePrivateRepositories,omitempty"` 1469 // Allow members to create internal repositories. Defaults to current value. (Optional.) 1470 MembersCanCreateInternalRepositories *Boolean `json:"membersCanCreateInternalRepositories,omitempty"` 1471 // A unique identifier for the client performing the mutation. (Optional.) 1472 ClientMutationID *String `json:"clientMutationId,omitempty"` 1473} 1474 1475// UpdateEnterpriseMembersCanDeleteIssuesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting. 1476type UpdateEnterpriseMembersCanDeleteIssuesSettingInput struct { 1477 // The ID of the enterprise on which to set the members can delete issues setting. (Required.) 1478 EnterpriseID ID `json:"enterpriseId"` 1479 // The value for the members can delete issues setting on the enterprise. (Required.) 1480 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1481 1482 // A unique identifier for the client performing the mutation. (Optional.) 1483 ClientMutationID *String `json:"clientMutationId,omitempty"` 1484} 1485 1486// UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting. 1487type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput struct { 1488 // The ID of the enterprise on which to set the members can delete repositories setting. (Required.) 1489 EnterpriseID ID `json:"enterpriseId"` 1490 // The value for the members can delete repositories setting on the enterprise. (Required.) 1491 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1492 1493 // A unique identifier for the client performing the mutation. (Optional.) 1494 ClientMutationID *String `json:"clientMutationId,omitempty"` 1495} 1496 1497// UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting. 1498type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput struct { 1499 // The ID of the enterprise on which to set the members can invite collaborators setting. (Required.) 1500 EnterpriseID ID `json:"enterpriseId"` 1501 // The value for the members can invite collaborators setting on the enterprise. (Required.) 1502 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1503 1504 // A unique identifier for the client performing the mutation. (Optional.) 1505 ClientMutationID *String `json:"clientMutationId,omitempty"` 1506} 1507 1508// UpdateEnterpriseMembersCanMakePurchasesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting. 1509type UpdateEnterpriseMembersCanMakePurchasesSettingInput struct { 1510 // The ID of the enterprise on which to set the members can make purchases setting. (Required.) 1511 EnterpriseID ID `json:"enterpriseId"` 1512 // The value for the members can make purchases setting on the enterprise. (Required.) 1513 SettingValue EnterpriseMembersCanMakePurchasesSettingValue `json:"settingValue"` 1514 1515 // A unique identifier for the client performing the mutation. (Optional.) 1516 ClientMutationID *String `json:"clientMutationId,omitempty"` 1517} 1518 1519// UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting. 1520type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput struct { 1521 // The ID of the enterprise on which to set the members can update protected branches setting. (Required.) 1522 EnterpriseID ID `json:"enterpriseId"` 1523 // The value for the members can update protected branches setting on the enterprise. (Required.) 1524 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1525 1526 // A unique identifier for the client performing the mutation. (Optional.) 1527 ClientMutationID *String `json:"clientMutationId,omitempty"` 1528} 1529 1530// UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting. 1531type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput struct { 1532 // The ID of the enterprise on which to set the members can view dependency insights setting. (Required.) 1533 EnterpriseID ID `json:"enterpriseId"` 1534 // The value for the members can view dependency insights setting on the enterprise. (Required.) 1535 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1536 1537 // A unique identifier for the client performing the mutation. (Optional.) 1538 ClientMutationID *String `json:"clientMutationId,omitempty"` 1539} 1540 1541// UpdateEnterpriseOrganizationProjectsSettingInput is an autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting. 1542type UpdateEnterpriseOrganizationProjectsSettingInput struct { 1543 // The ID of the enterprise on which to set the organization projects setting. (Required.) 1544 EnterpriseID ID `json:"enterpriseId"` 1545 // The value for the organization projects setting on the enterprise. (Required.) 1546 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1547 1548 // A unique identifier for the client performing the mutation. (Optional.) 1549 ClientMutationID *String `json:"clientMutationId,omitempty"` 1550} 1551 1552// UpdateEnterpriseProfileInput is an autogenerated input type of UpdateEnterpriseProfile. 1553type UpdateEnterpriseProfileInput struct { 1554 // The Enterprise ID to update. (Required.) 1555 EnterpriseID ID `json:"enterpriseId"` 1556 1557 // The name of the enterprise. (Optional.) 1558 Name *String `json:"name,omitempty"` 1559 // The description of the enterprise. (Optional.) 1560 Description *String `json:"description,omitempty"` 1561 // The URL of the enterprise's website. (Optional.) 1562 WebsiteURL *String `json:"websiteUrl,omitempty"` 1563 // The location of the enterprise. (Optional.) 1564 Location *String `json:"location,omitempty"` 1565 // A unique identifier for the client performing the mutation. (Optional.) 1566 ClientMutationID *String `json:"clientMutationId,omitempty"` 1567} 1568 1569// UpdateEnterpriseRepositoryProjectsSettingInput is an autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting. 1570type UpdateEnterpriseRepositoryProjectsSettingInput struct { 1571 // The ID of the enterprise on which to set the repository projects setting. (Required.) 1572 EnterpriseID ID `json:"enterpriseId"` 1573 // The value for the repository projects setting on the enterprise. (Required.) 1574 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1575 1576 // A unique identifier for the client performing the mutation. (Optional.) 1577 ClientMutationID *String `json:"clientMutationId,omitempty"` 1578} 1579 1580// UpdateEnterpriseTeamDiscussionsSettingInput is an autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting. 1581type UpdateEnterpriseTeamDiscussionsSettingInput struct { 1582 // The ID of the enterprise on which to set the team discussions setting. (Required.) 1583 EnterpriseID ID `json:"enterpriseId"` 1584 // The value for the team discussions setting on the enterprise. (Required.) 1585 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1586 1587 // A unique identifier for the client performing the mutation. (Optional.) 1588 ClientMutationID *String `json:"clientMutationId,omitempty"` 1589} 1590 1591// UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput is an autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting. 1592type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput struct { 1593 // The ID of the enterprise on which to set the two factor authentication required setting. (Required.) 1594 EnterpriseID ID `json:"enterpriseId"` 1595 // The value for the two factor authentication required setting on the enterprise. (Required.) 1596 SettingValue EnterpriseEnabledSettingValue `json:"settingValue"` 1597 1598 // A unique identifier for the client performing the mutation. (Optional.) 1599 ClientMutationID *String `json:"clientMutationId,omitempty"` 1600} 1601 1602// UpdateIpAllowListEnabledSettingInput is an autogenerated input type of UpdateIpAllowListEnabledSetting. 1603type UpdateIpAllowListEnabledSettingInput struct { 1604 // The ID of the owner on which to set the IP allow list enabled setting. (Required.) 1605 OwnerID ID `json:"ownerId"` 1606 // The value for the IP allow list enabled setting. (Required.) 1607 SettingValue IpAllowListEnabledSettingValue `json:"settingValue"` 1608 1609 // A unique identifier for the client performing the mutation. (Optional.) 1610 ClientMutationID *String `json:"clientMutationId,omitempty"` 1611} 1612 1613// UpdateIpAllowListEntryInput is an autogenerated input type of UpdateIpAllowListEntry. 1614type UpdateIpAllowListEntryInput struct { 1615 // The ID of the IP allow list entry to update. (Required.) 1616 IPAllowListEntryID ID `json:"ipAllowListEntryId"` 1617 // An IP address or range of addresses in CIDR notation. (Required.) 1618 AllowListValue String `json:"allowListValue"` 1619 // Whether the IP allow list entry is active when an IP allow list is enabled. (Required.) 1620 IsActive Boolean `json:"isActive"` 1621 1622 // An optional name for the IP allow list entry. (Optional.) 1623 Name *String `json:"name,omitempty"` 1624 // A unique identifier for the client performing the mutation. (Optional.) 1625 ClientMutationID *String `json:"clientMutationId,omitempty"` 1626} 1627 1628// UpdateIssueCommentInput is an autogenerated input type of UpdateIssueComment. 1629type UpdateIssueCommentInput struct { 1630 // The ID of the IssueComment to modify. (Required.) 1631 ID ID `json:"id"` 1632 // The updated text of the comment. (Required.) 1633 Body String `json:"body"` 1634 1635 // A unique identifier for the client performing the mutation. (Optional.) 1636 ClientMutationID *String `json:"clientMutationId,omitempty"` 1637} 1638 1639// UpdateIssueInput is an autogenerated input type of UpdateIssue. 1640type UpdateIssueInput struct { 1641 // The ID of the Issue to modify. (Required.) 1642 ID ID `json:"id"` 1643 1644 // The title for the issue. (Optional.) 1645 Title *String `json:"title,omitempty"` 1646 // The body for the issue description. (Optional.) 1647 Body *String `json:"body,omitempty"` 1648 // An array of Node IDs of users for this issue. (Optional.) 1649 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 1650 // The Node ID of the milestone for this issue. (Optional.) 1651 MilestoneID *ID `json:"milestoneId,omitempty"` 1652 // An array of Node IDs of labels for this issue. (Optional.) 1653 LabelIDs *[]ID `json:"labelIds,omitempty"` 1654 // The desired issue state. (Optional.) 1655 State *IssueState `json:"state,omitempty"` 1656 // An array of Node IDs for projects associated with this issue. (Optional.) 1657 ProjectIDs *[]ID `json:"projectIds,omitempty"` 1658 // A unique identifier for the client performing the mutation. (Optional.) 1659 ClientMutationID *String `json:"clientMutationId,omitempty"` 1660} 1661 1662// UpdateProjectCardInput is an autogenerated input type of UpdateProjectCard. 1663type UpdateProjectCardInput struct { 1664 // The ProjectCard ID to update. (Required.) 1665 ProjectCardID ID `json:"projectCardId"` 1666 1667 // Whether or not the ProjectCard should be archived. (Optional.) 1668 IsArchived *Boolean `json:"isArchived,omitempty"` 1669 // The note of ProjectCard. (Optional.) 1670 Note *String `json:"note,omitempty"` 1671 // A unique identifier for the client performing the mutation. (Optional.) 1672 ClientMutationID *String `json:"clientMutationId,omitempty"` 1673} 1674 1675// UpdateProjectColumnInput is an autogenerated input type of UpdateProjectColumn. 1676type UpdateProjectColumnInput struct { 1677 // The ProjectColumn ID to update. (Required.) 1678 ProjectColumnID ID `json:"projectColumnId"` 1679 // The name of project column. (Required.) 1680 Name String `json:"name"` 1681 1682 // A unique identifier for the client performing the mutation. (Optional.) 1683 ClientMutationID *String `json:"clientMutationId,omitempty"` 1684} 1685 1686// UpdateProjectInput is an autogenerated input type of UpdateProject. 1687type UpdateProjectInput struct { 1688 // The Project ID to update. (Required.) 1689 ProjectID ID `json:"projectId"` 1690 1691 // The name of project. (Optional.) 1692 Name *String `json:"name,omitempty"` 1693 // The description of project. (Optional.) 1694 Body *String `json:"body,omitempty"` 1695 // Whether the project is open or closed. (Optional.) 1696 State *ProjectState `json:"state,omitempty"` 1697 // Whether the project is public or not. (Optional.) 1698 Public *Boolean `json:"public,omitempty"` 1699 // A unique identifier for the client performing the mutation. (Optional.) 1700 ClientMutationID *String `json:"clientMutationId,omitempty"` 1701} 1702 1703// UpdatePullRequestInput is an autogenerated input type of UpdatePullRequest. 1704type UpdatePullRequestInput struct { 1705 // The Node ID of the pull request. (Required.) 1706 PullRequestID ID `json:"pullRequestId"` 1707 1708 // The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. (Optional.) 1709 BaseRefName *String `json:"baseRefName,omitempty"` 1710 // The title of the pull request. (Optional.) 1711 Title *String `json:"title,omitempty"` 1712 // The contents of the pull request. (Optional.) 1713 Body *String `json:"body,omitempty"` 1714 // The target state of the pull request. (Optional.) 1715 State *PullRequestUpdateState `json:"state,omitempty"` 1716 // Indicates whether maintainers can modify the pull request. (Optional.) 1717 MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"` 1718 // An array of Node IDs of users for this pull request. (Optional.) 1719 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 1720 // The Node ID of the milestone for this pull request. (Optional.) 1721 MilestoneID *ID `json:"milestoneId,omitempty"` 1722 // An array of Node IDs of labels for this pull request. (Optional.) 1723 LabelIDs *[]ID `json:"labelIds,omitempty"` 1724 // An array of Node IDs for projects associated with this pull request. (Optional.) 1725 ProjectIDs *[]ID `json:"projectIds,omitempty"` 1726 // A unique identifier for the client performing the mutation. (Optional.) 1727 ClientMutationID *String `json:"clientMutationId,omitempty"` 1728} 1729 1730// UpdatePullRequestReviewCommentInput is an autogenerated input type of UpdatePullRequestReviewComment. 1731type UpdatePullRequestReviewCommentInput struct { 1732 // The Node ID of the comment to modify. (Required.) 1733 PullRequestReviewCommentID ID `json:"pullRequestReviewCommentId"` 1734 // The text of the comment. (Required.) 1735 Body String `json:"body"` 1736 1737 // A unique identifier for the client performing the mutation. (Optional.) 1738 ClientMutationID *String `json:"clientMutationId,omitempty"` 1739} 1740 1741// UpdatePullRequestReviewInput is an autogenerated input type of UpdatePullRequestReview. 1742type UpdatePullRequestReviewInput struct { 1743 // The Node ID of the pull request review to modify. (Required.) 1744 PullRequestReviewID ID `json:"pullRequestReviewId"` 1745 // The contents of the pull request review body. (Required.) 1746 Body String `json:"body"` 1747 1748 // A unique identifier for the client performing the mutation. (Optional.) 1749 ClientMutationID *String `json:"clientMutationId,omitempty"` 1750} 1751 1752// UpdateRefInput is an autogenerated input type of UpdateRef. 1753type UpdateRefInput struct { 1754 // The Node ID of the Ref to be updated. (Required.) 1755 RefID ID `json:"refId"` 1756 // The GitObjectID that the Ref shall be updated to target. (Required.) 1757 Oid GitObjectID `json:"oid"` 1758 1759 // Permit updates of branch Refs that are not fast-forwards?. (Optional.) 1760 Force *Boolean `json:"force,omitempty"` 1761 // A unique identifier for the client performing the mutation. (Optional.) 1762 ClientMutationID *String `json:"clientMutationId,omitempty"` 1763} 1764 1765// UpdateRepositoryInput is an autogenerated input type of UpdateRepository. 1766type UpdateRepositoryInput struct { 1767 // The ID of the repository to update. (Required.) 1768 RepositoryID ID `json:"repositoryId"` 1769 1770 // The new name of the repository. (Optional.) 1771 Name *String `json:"name,omitempty"` 1772 // A new description for the repository. Pass an empty string to erase the existing description. (Optional.) 1773 Description *String `json:"description,omitempty"` 1774 // 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. (Optional.) 1775 Template *Boolean `json:"template,omitempty"` 1776 // The URL for a web page about this repository. Pass an empty string to erase the existing URL. (Optional.) 1777 HomepageURL *URI `json:"homepageUrl,omitempty"` 1778 // Indicates if the repository should have the wiki feature enabled. (Optional.) 1779 HasWikiEnabled *Boolean `json:"hasWikiEnabled,omitempty"` 1780 // Indicates if the repository should have the issues feature enabled. (Optional.) 1781 HasIssuesEnabled *Boolean `json:"hasIssuesEnabled,omitempty"` 1782 // Indicates if the repository should have the project boards feature enabled. (Optional.) 1783 HasProjectsEnabled *Boolean `json:"hasProjectsEnabled,omitempty"` 1784 // A unique identifier for the client performing the mutation. (Optional.) 1785 ClientMutationID *String `json:"clientMutationId,omitempty"` 1786} 1787 1788// UpdateSubscriptionInput is an autogenerated input type of UpdateSubscription. 1789type UpdateSubscriptionInput struct { 1790 // The Node ID of the subscribable object to modify. (Required.) 1791 SubscribableID ID `json:"subscribableId"` 1792 // The new state of the subscription. (Required.) 1793 State SubscriptionState `json:"state"` 1794 1795 // A unique identifier for the client performing the mutation. (Optional.) 1796 ClientMutationID *String `json:"clientMutationId,omitempty"` 1797} 1798 1799// UpdateTeamDiscussionCommentInput is an autogenerated input type of UpdateTeamDiscussionComment. 1800type UpdateTeamDiscussionCommentInput struct { 1801 // The ID of the comment to modify. (Required.) 1802 ID ID `json:"id"` 1803 // The updated text of the comment. (Required.) 1804 Body String `json:"body"` 1805 1806 // The current version of the body content. (Optional.) 1807 BodyVersion *String `json:"bodyVersion,omitempty"` 1808 // A unique identifier for the client performing the mutation. (Optional.) 1809 ClientMutationID *String `json:"clientMutationId,omitempty"` 1810} 1811 1812// UpdateTeamDiscussionInput is an autogenerated input type of UpdateTeamDiscussion. 1813type UpdateTeamDiscussionInput struct { 1814 // The Node ID of the discussion to modify. (Required.) 1815 ID ID `json:"id"` 1816 1817 // The updated title of the discussion. (Optional.) 1818 Title *String `json:"title,omitempty"` 1819 // The updated text of the discussion. (Optional.) 1820 Body *String `json:"body,omitempty"` 1821 // 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. (Optional.) 1822 BodyVersion *String `json:"bodyVersion,omitempty"` 1823 // If provided, sets the pinned state of the updated discussion. (Optional.) 1824 Pinned *Boolean `json:"pinned,omitempty"` 1825 // A unique identifier for the client performing the mutation. (Optional.) 1826 ClientMutationID *String `json:"clientMutationId,omitempty"` 1827} 1828 1829// UpdateTopicsInput is an autogenerated input type of UpdateTopics. 1830type UpdateTopicsInput struct { 1831 // The Node ID of the repository. (Required.) 1832 RepositoryID ID `json:"repositoryId"` 1833 // An array of topic names. (Required.) 1834 TopicNames []String `json:"topicNames"` 1835 1836 // A unique identifier for the client performing the mutation. (Optional.) 1837 ClientMutationID *String `json:"clientMutationId,omitempty"` 1838} 1839 1840// UserStatusOrder represents ordering options for user status connections. 1841type UserStatusOrder struct { 1842 // The field to order user statuses by. (Required.) 1843 Field UserStatusOrderField `json:"field"` 1844 // The ordering direction. (Required.) 1845 Direction OrderDirection `json:"direction"` 1846} 1847