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, AddDiscussionCommentInput, AddEnterpriseSupportEntitlementInput, AddLabelsToLabelableInput, AddProjectCardInput, AddProjectColumnInput, AddPullRequestReviewCommentInput, AddPullRequestReviewInput, AddPullRequestReviewThreadInput, AddReactionInput, AddStarInput, AddUpvoteInput, AddVerifiableDomainInput, ApproveDeploymentsInput, ApproveVerifiableDomainInput, ArchiveRepositoryInput, AuditLogOrder, CancelEnterpriseAdminInvitationInput, ChangeUserStatusInput, CheckAnnotationData, CheckAnnotationRange, CheckRunAction, CheckRunFilter, CheckRunOutput, CheckRunOutputImage, CheckSuiteAutoTriggerPreference, CheckSuiteFilter, ClearLabelsFromLabelableInput, CloneProjectInput, CloneTemplateRepositoryInput, CloseIssueInput, ClosePullRequestInput, CommitAuthor, CommitContributionOrder, ContributionOrder, ConvertProjectCardNoteToIssueInput, ConvertPullRequestToDraftInput, CreateBranchProtectionRuleInput, CreateCheckRunInput, CreateCheckSuiteInput, CreateDiscussionInput, CreateEnterpriseOrganizationInput, CreateEnvironmentInput, CreateIpAllowListEntryInput, CreateIssueInput, CreateProjectInput, CreatePullRequestInput, CreateRefInput, CreateRepositoryInput, CreateTeamDiscussionCommentInput, CreateTeamDiscussionInput, DeclineTopicSuggestionInput, DeleteBranchProtectionRuleInput, DeleteDeploymentInput, DeleteDiscussionCommentInput, DeleteDiscussionInput, DeleteEnvironmentInput, DeleteIpAllowListEntryInput, DeleteIssueCommentInput, DeleteIssueInput, DeleteProjectCardInput, DeleteProjectColumnInput, DeleteProjectInput, DeletePullRequestReviewCommentInput, DeletePullRequestReviewInput, DeleteRefInput, DeleteTeamDiscussionCommentInput, DeleteTeamDiscussionInput, DeleteVerifiableDomainInput, DeploymentOrder, DisablePullRequestAutoMergeInput, DiscussionOrder, DismissPullRequestReviewInput, DraftPullRequestReviewComment, DraftPullRequestReviewThread, EnablePullRequestAutoMergeInput, EnterpriseAdministratorInvitationOrder, EnterpriseMemberOrder, EnterpriseServerInstallationOrder, EnterpriseServerUserAccountEmailOrder, EnterpriseServerUserAccountOrder, EnterpriseServerUserAccountsUploadOrder, FollowUserInput, GistOrder, InviteEnterpriseAdminInput, IpAllowListEntryOrder, IssueCommentOrder, IssueFilters, IssueOrder, LabelOrder, LanguageOrder, LinkRepositoryToProjectInput, LockLockableInput, MarkDiscussionCommentAsAnswerInput, MarkFileAsViewedInput, MarkPullRequestReadyForReviewInput, MergeBranchInput, MergePullRequestInput, MilestoneOrder, MinimizeCommentInput, MoveProjectCardInput, MoveProjectColumnInput, OrganizationOrder, PackageFileOrder, PackageOrder, PackageVersionOrder, PinIssueInput, ProjectOrder, PullRequestOrder, ReactionOrder, RefOrder, RegenerateEnterpriseIdentityProviderRecoveryCodesInput, RegenerateVerifiableDomainTokenInput, RejectDeploymentsInput, ReleaseOrder, RemoveAssigneesFromAssignableInput, RemoveEnterpriseAdminInput, RemoveEnterpriseIdentityProviderInput, RemoveEnterpriseOrganizationInput, RemoveEnterpriseSupportEntitlementInput, RemoveLabelsFromLabelableInput, RemoveOutsideCollaboratorInput, RemoveReactionInput, RemoveStarInput, RemoveUpvoteInput, ReopenIssueInput, ReopenPullRequestInput, RepositoryInvitationOrder, RepositoryOrder, RequestReviewsInput, RerequestCheckSuiteInput, ResolveReviewThreadInput, SavedReplyOrder, SecurityAdvisoryIdentifierFilter, SecurityAdvisoryOrder, SecurityVulnerabilityOrder, SetEnterpriseIdentityProviderInput, SetOrganizationInteractionLimitInput, SetRepositoryInteractionLimitInput, SetUserInteractionLimitInput, SponsorableOrder, SponsorsActivityOrder, SponsorsTierOrder, SponsorshipOrder, StarOrder, SubmitPullRequestReviewInput, TeamDiscussionCommentOrder, TeamDiscussionOrder, TeamMemberOrder, TeamOrder, TeamRepositoryOrder, TransferIssueInput, UnarchiveRepositoryInput, UnfollowUserInput, UnlinkRepositoryFromProjectInput, UnlockLockableInput, UnmarkDiscussionCommentAsAnswerInput, UnmarkFileAsViewedInput, UnmarkIssueAsDuplicateInput, UnminimizeCommentInput, UnpinIssueInput, UnresolveReviewThreadInput, UpdateBranchProtectionRuleInput, UpdateCheckRunInput, UpdateCheckSuitePreferencesInput, UpdateDiscussionCommentInput, UpdateDiscussionInput, UpdateEnterpriseAdministratorRoleInput, UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput, UpdateEnterpriseDefaultRepositoryPermissionSettingInput, UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput, UpdateEnterpriseMembersCanCreateRepositoriesSettingInput, UpdateEnterpriseMembersCanDeleteIssuesSettingInput, UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput, UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput, UpdateEnterpriseMembersCanMakePurchasesSettingInput, UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput, UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput, UpdateEnterpriseOrganizationProjectsSettingInput, UpdateEnterpriseProfileInput, UpdateEnterpriseRepositoryProjectsSettingInput, UpdateEnterpriseTeamDiscussionsSettingInput, UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput, UpdateEnvironmentInput, UpdateIpAllowListEnabledSettingInput, UpdateIpAllowListEntryInput, UpdateIpAllowListForInstalledAppsEnabledSettingInput, UpdateIssueCommentInput, UpdateIssueInput, UpdateNotificationRestrictionSettingInput, UpdateProjectCardInput, UpdateProjectColumnInput, UpdateProjectInput, UpdatePullRequestInput, UpdatePullRequestReviewCommentInput, UpdatePullRequestReviewInput, UpdateRefInput, UpdateRepositoryInput, UpdateSubscriptionInput, UpdateTeamDiscussionCommentInput, UpdateTeamDiscussionInput, UpdateTopicsInput, UserStatusOrder, VerifiableDomainOrder, VerifyVerifiableDomainInput. 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// AddDiscussionCommentInput is an autogenerated input type of AddDiscussionComment. 53type AddDiscussionCommentInput struct { 54 // The Node ID of the discussion to comment on. (Required.) 55 DiscussionID ID `json:"discussionId"` 56 // The contents of the comment. (Required.) 57 Body String `json:"body"` 58 59 // The Node ID of the discussion comment within this discussion to reply to. (Optional.) 60 ReplyToID *ID `json:"replyToId,omitempty"` 61 // A unique identifier for the client performing the mutation. (Optional.) 62 ClientMutationID *String `json:"clientMutationId,omitempty"` 63} 64 65// AddEnterpriseSupportEntitlementInput is an autogenerated input type of AddEnterpriseSupportEntitlement. 66type AddEnterpriseSupportEntitlementInput struct { 67 // The ID of the Enterprise which the admin belongs to. (Required.) 68 EnterpriseID ID `json:"enterpriseId"` 69 // The login of a member who will receive the support entitlement. (Required.) 70 Login String `json:"login"` 71 72 // A unique identifier for the client performing the mutation. (Optional.) 73 ClientMutationID *String `json:"clientMutationId,omitempty"` 74} 75 76// AddLabelsToLabelableInput is an autogenerated input type of AddLabelsToLabelable. 77type AddLabelsToLabelableInput struct { 78 // The id of the labelable object to add labels to. (Required.) 79 LabelableID ID `json:"labelableId"` 80 // The ids of the labels to add. (Required.) 81 LabelIDs []ID `json:"labelIds"` 82 83 // A unique identifier for the client performing the mutation. (Optional.) 84 ClientMutationID *String `json:"clientMutationId,omitempty"` 85} 86 87// AddProjectCardInput is an autogenerated input type of AddProjectCard. 88type AddProjectCardInput struct { 89 // The Node ID of the ProjectColumn. (Required.) 90 ProjectColumnID ID `json:"projectColumnId"` 91 92 // The content of the card. Must be a member of the ProjectCardItem union. (Optional.) 93 ContentID *ID `json:"contentId,omitempty"` 94 // The note on the card. (Optional.) 95 Note *String `json:"note,omitempty"` 96 // A unique identifier for the client performing the mutation. (Optional.) 97 ClientMutationID *String `json:"clientMutationId,omitempty"` 98} 99 100// AddProjectColumnInput is an autogenerated input type of AddProjectColumn. 101type AddProjectColumnInput struct { 102 // The Node ID of the project. (Required.) 103 ProjectID ID `json:"projectId"` 104 // The name of the column. (Required.) 105 Name String `json:"name"` 106 107 // A unique identifier for the client performing the mutation. (Optional.) 108 ClientMutationID *String `json:"clientMutationId,omitempty"` 109} 110 111// AddPullRequestReviewCommentInput is an autogenerated input type of AddPullRequestReviewComment. 112type AddPullRequestReviewCommentInput struct { 113 // The text of the comment. (Required.) 114 Body String `json:"body"` 115 116 // The node ID of the pull request reviewing. (Optional.) 117 PullRequestID *ID `json:"pullRequestId,omitempty"` 118 // The Node ID of the review to modify. (Optional.) 119 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 120 // The SHA of the commit to comment on. (Optional.) 121 CommitOID *GitObjectID `json:"commitOID,omitempty"` 122 // The relative path of the file to comment on. (Optional.) 123 Path *String `json:"path,omitempty"` 124 // The line index in the diff to comment on. (Optional.) 125 Position *Int `json:"position,omitempty"` 126 // The comment id to reply to. (Optional.) 127 InReplyTo *ID `json:"inReplyTo,omitempty"` 128 // A unique identifier for the client performing the mutation. (Optional.) 129 ClientMutationID *String `json:"clientMutationId,omitempty"` 130} 131 132// AddPullRequestReviewInput is an autogenerated input type of AddPullRequestReview. 133type AddPullRequestReviewInput struct { 134 // The Node ID of the pull request to modify. (Required.) 135 PullRequestID ID `json:"pullRequestId"` 136 137 // The commit OID the review pertains to. (Optional.) 138 CommitOID *GitObjectID `json:"commitOID,omitempty"` 139 // The contents of the review body comment. (Optional.) 140 Body *String `json:"body,omitempty"` 141 // The event to perform on the pull request review. (Optional.) 142 Event *PullRequestReviewEvent `json:"event,omitempty"` 143 // The review line comments. (Optional.) 144 Comments *[]*DraftPullRequestReviewComment `json:"comments,omitempty"` 145 // The review line comment threads. (Optional.) 146 Threads *[]*DraftPullRequestReviewThread `json:"threads,omitempty"` 147 // A unique identifier for the client performing the mutation. (Optional.) 148 ClientMutationID *String `json:"clientMutationId,omitempty"` 149} 150 151// AddPullRequestReviewThreadInput is an autogenerated input type of AddPullRequestReviewThread. 152type AddPullRequestReviewThreadInput struct { 153 // Path to the file being commented on. (Required.) 154 Path String `json:"path"` 155 // Body of the thread's first comment. (Required.) 156 Body String `json:"body"` 157 // The line of the blob to which the thread refers. The end of the line range for multi-line comments. (Required.) 158 Line Int `json:"line"` 159 160 // The node ID of the pull request reviewing. (Optional.) 161 PullRequestID *ID `json:"pullRequestId,omitempty"` 162 // The Node ID of the review to modify. (Optional.) 163 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 164 // 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.) 165 Side *DiffSide `json:"side,omitempty"` 166 // The first line of the range to which the comment refers. (Optional.) 167 StartLine *Int `json:"startLine,omitempty"` 168 // The side of the diff on which the start line resides. (Optional.) 169 StartSide *DiffSide `json:"startSide,omitempty"` 170 // A unique identifier for the client performing the mutation. (Optional.) 171 ClientMutationID *String `json:"clientMutationId,omitempty"` 172} 173 174// AddReactionInput is an autogenerated input type of AddReaction. 175type AddReactionInput struct { 176 // The Node ID of the subject to modify. (Required.) 177 SubjectID ID `json:"subjectId"` 178 // The name of the emoji to react with. (Required.) 179 Content ReactionContent `json:"content"` 180 181 // A unique identifier for the client performing the mutation. (Optional.) 182 ClientMutationID *String `json:"clientMutationId,omitempty"` 183} 184 185// AddStarInput is an autogenerated input type of AddStar. 186type AddStarInput struct { 187 // The Starrable ID to star. (Required.) 188 StarrableID ID `json:"starrableId"` 189 190 // A unique identifier for the client performing the mutation. (Optional.) 191 ClientMutationID *String `json:"clientMutationId,omitempty"` 192} 193 194// AddUpvoteInput is an autogenerated input type of AddUpvote. 195type AddUpvoteInput struct { 196 // The Node ID of the discussion or comment to upvote. (Required.) 197 SubjectID ID `json:"subjectId"` 198 199 // A unique identifier for the client performing the mutation. (Optional.) 200 ClientMutationID *String `json:"clientMutationId,omitempty"` 201} 202 203// AddVerifiableDomainInput is an autogenerated input type of AddVerifiableDomain. 204type AddVerifiableDomainInput struct { 205 // The ID of the owner to add the domain to. (Required.) 206 OwnerID ID `json:"ownerId"` 207 // The URL of the domain. (Required.) 208 Domain URI `json:"domain"` 209 210 // A unique identifier for the client performing the mutation. (Optional.) 211 ClientMutationID *String `json:"clientMutationId,omitempty"` 212} 213 214// ApproveDeploymentsInput is an autogenerated input type of ApproveDeployments. 215type ApproveDeploymentsInput struct { 216 // The node ID of the workflow run containing the pending deployments. (Required.) 217 WorkflowRunID ID `json:"workflowRunId"` 218 // The ids of environments to reject deployments. (Required.) 219 EnvironmentIDs []ID `json:"environmentIds"` 220 221 // Optional comment for approving deployments. (Optional.) 222 Comment *String `json:"comment,omitempty"` 223 // A unique identifier for the client performing the mutation. (Optional.) 224 ClientMutationID *String `json:"clientMutationId,omitempty"` 225} 226 227// ApproveVerifiableDomainInput is an autogenerated input type of ApproveVerifiableDomain. 228type ApproveVerifiableDomainInput struct { 229 // The ID of the verifiable domain to approve. (Required.) 230 ID ID `json:"id"` 231 232 // A unique identifier for the client performing the mutation. (Optional.) 233 ClientMutationID *String `json:"clientMutationId,omitempty"` 234} 235 236// ArchiveRepositoryInput is an autogenerated input type of ArchiveRepository. 237type ArchiveRepositoryInput struct { 238 // The ID of the repository to mark as archived. (Required.) 239 RepositoryID ID `json:"repositoryId"` 240 241 // A unique identifier for the client performing the mutation. (Optional.) 242 ClientMutationID *String `json:"clientMutationId,omitempty"` 243} 244 245// AuditLogOrder represents ordering options for Audit Log connections. 246type AuditLogOrder struct { 247 248 // The field to order Audit Logs by. (Optional.) 249 Field *AuditLogOrderField `json:"field,omitempty"` 250 // The ordering direction. (Optional.) 251 Direction *OrderDirection `json:"direction,omitempty"` 252} 253 254// CancelEnterpriseAdminInvitationInput is an autogenerated input type of CancelEnterpriseAdminInvitation. 255type CancelEnterpriseAdminInvitationInput struct { 256 // The Node ID of the pending enterprise administrator invitation. (Required.) 257 InvitationID ID `json:"invitationId"` 258 259 // A unique identifier for the client performing the mutation. (Optional.) 260 ClientMutationID *String `json:"clientMutationId,omitempty"` 261} 262 263// ChangeUserStatusInput is an autogenerated input type of ChangeUserStatus. 264type ChangeUserStatusInput struct { 265 266 // The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. (Optional.) 267 Emoji *String `json:"emoji,omitempty"` 268 // A short description of your current status. (Optional.) 269 Message *String `json:"message,omitempty"` 270 // The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. (Optional.) 271 OrganizationID *ID `json:"organizationId,omitempty"` 272 // Whether this status should indicate you are not fully available on GitHub, e.g., you are away. (Optional.) 273 LimitedAvailability *Boolean `json:"limitedAvailability,omitempty"` 274 // If set, the user status will not be shown after this date. (Optional.) 275 ExpiresAt *DateTime `json:"expiresAt,omitempty"` 276 // A unique identifier for the client performing the mutation. (Optional.) 277 ClientMutationID *String `json:"clientMutationId,omitempty"` 278} 279 280// CheckAnnotationData represents information from a check run analysis to specific lines of code. 281type CheckAnnotationData struct { 282 // The path of the file to add an annotation to. (Required.) 283 Path String `json:"path"` 284 // The location of the annotation. (Required.) 285 Location CheckAnnotationRange `json:"location"` 286 // Represents an annotation's information level. (Required.) 287 AnnotationLevel CheckAnnotationLevel `json:"annotationLevel"` 288 // A short description of the feedback for these lines of code. (Required.) 289 Message String `json:"message"` 290 291 // The title that represents the annotation. (Optional.) 292 Title *String `json:"title,omitempty"` 293 // Details about this annotation. (Optional.) 294 RawDetails *String `json:"rawDetails,omitempty"` 295} 296 297// CheckAnnotationRange represents information from a check run analysis to specific lines of code. 298type CheckAnnotationRange struct { 299 // The starting line of the range. (Required.) 300 StartLine Int `json:"startLine"` 301 // The ending line of the range. (Required.) 302 EndLine Int `json:"endLine"` 303 304 // The starting column of the range. (Optional.) 305 StartColumn *Int `json:"startColumn,omitempty"` 306 // The ending column of the range. (Optional.) 307 EndColumn *Int `json:"endColumn,omitempty"` 308} 309 310// CheckRunAction represents possible further actions the integrator can perform. 311type CheckRunAction struct { 312 // The text to be displayed on a button in the web UI. (Required.) 313 Label String `json:"label"` 314 // A short explanation of what this action would do. (Required.) 315 Description String `json:"description"` 316 // A reference for the action on the integrator's system. (Required.) 317 Identifier String `json:"identifier"` 318} 319 320// CheckRunFilter represents the filters that are available when fetching check runs. 321type CheckRunFilter struct { 322 323 // Filters the check runs by this type. (Optional.) 324 CheckType *CheckRunType `json:"checkType,omitempty"` 325 // Filters the check runs created by this application ID. (Optional.) 326 AppID *Int `json:"appId,omitempty"` 327 // Filters the check runs by this name. (Optional.) 328 CheckName *String `json:"checkName,omitempty"` 329 // Filters the check runs by this status. (Optional.) 330 Status *CheckStatusState `json:"status,omitempty"` 331} 332 333// CheckRunOutput represents descriptive details about the check run. 334type CheckRunOutput struct { 335 // A title to provide for this check run. (Required.) 336 Title String `json:"title"` 337 // The summary of the check run (supports Commonmark). (Required.) 338 Summary String `json:"summary"` 339 340 // The details of the check run (supports Commonmark). (Optional.) 341 Text *String `json:"text,omitempty"` 342 // The annotations that are made as part of the check run. (Optional.) 343 Annotations *[]CheckAnnotationData `json:"annotations,omitempty"` 344 // Images attached to the check run output displayed in the GitHub pull request UI. (Optional.) 345 Images *[]CheckRunOutputImage `json:"images,omitempty"` 346} 347 348// CheckRunOutputImage represents images attached to the check run output displayed in the GitHub pull request UI. 349type CheckRunOutputImage struct { 350 // The alternative text for the image. (Required.) 351 Alt String `json:"alt"` 352 // The full URL of the image. (Required.) 353 ImageURL URI `json:"imageUrl"` 354 355 // A short image description. (Optional.) 356 Caption *String `json:"caption,omitempty"` 357} 358 359// CheckSuiteAutoTriggerPreference represents the auto-trigger preferences that are available for check suites. 360type CheckSuiteAutoTriggerPreference struct { 361 // The node ID of the application that owns the check suite. (Required.) 362 AppID ID `json:"appId"` 363 // Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. (Required.) 364 Setting Boolean `json:"setting"` 365} 366 367// CheckSuiteFilter represents the filters that are available when fetching check suites. 368type CheckSuiteFilter struct { 369 370 // Filters the check suites created by this application ID. (Optional.) 371 AppID *Int `json:"appId,omitempty"` 372 // Filters the check suites by this name. (Optional.) 373 CheckName *String `json:"checkName,omitempty"` 374} 375 376// ClearLabelsFromLabelableInput is an autogenerated input type of ClearLabelsFromLabelable. 377type ClearLabelsFromLabelableInput struct { 378 // The id of the labelable object to clear the labels from. (Required.) 379 LabelableID ID `json:"labelableId"` 380 381 // A unique identifier for the client performing the mutation. (Optional.) 382 ClientMutationID *String `json:"clientMutationId,omitempty"` 383} 384 385// CloneProjectInput is an autogenerated input type of CloneProject. 386type CloneProjectInput struct { 387 // The owner ID to create the project under. (Required.) 388 TargetOwnerID ID `json:"targetOwnerId"` 389 // The source project to clone. (Required.) 390 SourceID ID `json:"sourceId"` 391 // Whether or not to clone the source project's workflows. (Required.) 392 IncludeWorkflows Boolean `json:"includeWorkflows"` 393 // The name of the project. (Required.) 394 Name String `json:"name"` 395 396 // The description of the project. (Optional.) 397 Body *String `json:"body,omitempty"` 398 // The visibility of the project, defaults to false (private). (Optional.) 399 Public *Boolean `json:"public,omitempty"` 400 // A unique identifier for the client performing the mutation. (Optional.) 401 ClientMutationID *String `json:"clientMutationId,omitempty"` 402} 403 404// CloneTemplateRepositoryInput is an autogenerated input type of CloneTemplateRepository. 405type CloneTemplateRepositoryInput struct { 406 // The Node ID of the template repository. (Required.) 407 RepositoryID ID `json:"repositoryId"` 408 // The name of the new repository. (Required.) 409 Name String `json:"name"` 410 // The ID of the owner for the new repository. (Required.) 411 OwnerID ID `json:"ownerId"` 412 // Indicates the repository's visibility level. (Required.) 413 Visibility RepositoryVisibility `json:"visibility"` 414 415 // A short description of the new repository. (Optional.) 416 Description *String `json:"description,omitempty"` 417 // Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. (Optional.) 418 IncludeAllBranches *Boolean `json:"includeAllBranches,omitempty"` 419 // A unique identifier for the client performing the mutation. (Optional.) 420 ClientMutationID *String `json:"clientMutationId,omitempty"` 421} 422 423// CloseIssueInput is an autogenerated input type of CloseIssue. 424type CloseIssueInput struct { 425 // ID of the issue to be closed. (Required.) 426 IssueID ID `json:"issueId"` 427 428 // A unique identifier for the client performing the mutation. (Optional.) 429 ClientMutationID *String `json:"clientMutationId,omitempty"` 430} 431 432// ClosePullRequestInput is an autogenerated input type of ClosePullRequest. 433type ClosePullRequestInput struct { 434 // ID of the pull request to be closed. (Required.) 435 PullRequestID ID `json:"pullRequestId"` 436 437 // A unique identifier for the client performing the mutation. (Optional.) 438 ClientMutationID *String `json:"clientMutationId,omitempty"` 439} 440 441// CommitAuthor specifies an author for filtering Git commits. 442type CommitAuthor struct { 443 444 // 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.) 445 ID *ID `json:"id,omitempty"` 446 // Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. (Optional.) 447 Emails *[]String `json:"emails,omitempty"` 448} 449 450// CommitContributionOrder represents ordering options for commit contribution connections. 451type CommitContributionOrder struct { 452 // The field by which to order commit contributions. (Required.) 453 Field CommitContributionOrderField `json:"field"` 454 // The ordering direction. (Required.) 455 Direction OrderDirection `json:"direction"` 456} 457 458// ContributionOrder represents ordering options for contribution connections. 459type ContributionOrder struct { 460 // The ordering direction. (Required.) 461 Direction OrderDirection `json:"direction"` 462} 463 464// ConvertProjectCardNoteToIssueInput is an autogenerated input type of ConvertProjectCardNoteToIssue. 465type ConvertProjectCardNoteToIssueInput struct { 466 // The ProjectCard ID to convert. (Required.) 467 ProjectCardID ID `json:"projectCardId"` 468 // The ID of the repository to create the issue in. (Required.) 469 RepositoryID ID `json:"repositoryId"` 470 471 // The title of the newly created issue. Defaults to the card's note text. (Optional.) 472 Title *String `json:"title,omitempty"` 473 // The body of the newly created issue. (Optional.) 474 Body *String `json:"body,omitempty"` 475 // A unique identifier for the client performing the mutation. (Optional.) 476 ClientMutationID *String `json:"clientMutationId,omitempty"` 477} 478 479// ConvertPullRequestToDraftInput is an autogenerated input type of ConvertPullRequestToDraft. 480type ConvertPullRequestToDraftInput struct { 481 // ID of the pull request to convert to draft. (Required.) 482 PullRequestID ID `json:"pullRequestId"` 483 484 // A unique identifier for the client performing the mutation. (Optional.) 485 ClientMutationID *String `json:"clientMutationId,omitempty"` 486} 487 488// CreateBranchProtectionRuleInput is an autogenerated input type of CreateBranchProtectionRule. 489type CreateBranchProtectionRuleInput struct { 490 // The global relay id of the repository in which a new branch protection rule should be created in. (Required.) 491 RepositoryID ID `json:"repositoryId"` 492 // The glob-like pattern used to determine matching branches. (Required.) 493 Pattern String `json:"pattern"` 494 495 // Are approving reviews required to update matching branches. (Optional.) 496 RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"` 497 // Number of approving reviews required to update matching branches. (Optional.) 498 RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"` 499 // Are commits required to be signed. (Optional.) 500 RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"` 501 // Are merge commits prohibited from being pushed to this branch. (Optional.) 502 RequiresLinearHistory *Boolean `json:"requiresLinearHistory,omitempty"` 503 // Are force pushes allowed on this branch. (Optional.) 504 AllowsForcePushes *Boolean `json:"allowsForcePushes,omitempty"` 505 // Can this branch be deleted. (Optional.) 506 AllowsDeletions *Boolean `json:"allowsDeletions,omitempty"` 507 // Can admins overwrite branch protection. (Optional.) 508 IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"` 509 // Are status checks required to update matching branches. (Optional.) 510 RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"` 511 // Are branches required to be up to date before merging. (Optional.) 512 RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"` 513 // Are reviews from code owners required to update matching branches. (Optional.) 514 RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"` 515 // Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.) 516 DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"` 517 // Is dismissal of pull request reviews restricted. (Optional.) 518 RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"` 519 // A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.) 520 ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"` 521 // Is pushing to matching branches restricted. (Optional.) 522 RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"` 523 // A list of User, Team or App IDs allowed to push to matching branches. (Optional.) 524 PushActorIDs *[]ID `json:"pushActorIds,omitempty"` 525 // List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.) 526 RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"` 527 // Are conversations required to be resolved before merging. (Optional.) 528 RequiresConversationResolution *Boolean `json:"requiresConversationResolution,omitempty"` 529 // A unique identifier for the client performing the mutation. (Optional.) 530 ClientMutationID *String `json:"clientMutationId,omitempty"` 531} 532 533// CreateCheckRunInput is an autogenerated input type of CreateCheckRun. 534type CreateCheckRunInput struct { 535 // The node ID of the repository. (Required.) 536 RepositoryID ID `json:"repositoryId"` 537 // The name of the check. (Required.) 538 Name String `json:"name"` 539 // The SHA of the head commit. (Required.) 540 HeadSha GitObjectID `json:"headSha"` 541 542 // The URL of the integrator's site that has the full details of the check. (Optional.) 543 DetailsURL *URI `json:"detailsUrl,omitempty"` 544 // A reference for the run on the integrator's system. (Optional.) 545 ExternalID *String `json:"externalId,omitempty"` 546 // The current status. (Optional.) 547 Status *RequestableCheckStatusState `json:"status,omitempty"` 548 // The time that the check run began. (Optional.) 549 StartedAt *DateTime `json:"startedAt,omitempty"` 550 // The final conclusion of the check. (Optional.) 551 Conclusion *CheckConclusionState `json:"conclusion,omitempty"` 552 // The time that the check run finished. (Optional.) 553 CompletedAt *DateTime `json:"completedAt,omitempty"` 554 // Descriptive details about the run. (Optional.) 555 Output *CheckRunOutput `json:"output,omitempty"` 556 // Possible further actions the integrator can perform, which a user may trigger. (Optional.) 557 Actions *[]CheckRunAction `json:"actions,omitempty"` 558 // A unique identifier for the client performing the mutation. (Optional.) 559 ClientMutationID *String `json:"clientMutationId,omitempty"` 560} 561 562// CreateCheckSuiteInput is an autogenerated input type of CreateCheckSuite. 563type CreateCheckSuiteInput struct { 564 // The Node ID of the repository. (Required.) 565 RepositoryID ID `json:"repositoryId"` 566 // The SHA of the head commit. (Required.) 567 HeadSha GitObjectID `json:"headSha"` 568 569 // A unique identifier for the client performing the mutation. (Optional.) 570 ClientMutationID *String `json:"clientMutationId,omitempty"` 571} 572 573// CreateDiscussionInput is an autogenerated input type of CreateDiscussion. 574type CreateDiscussionInput struct { 575 // The id of the repository on which to create the discussion. (Required.) 576 RepositoryID ID `json:"repositoryId"` 577 // The title of the discussion. (Required.) 578 Title String `json:"title"` 579 // The body of the discussion. (Required.) 580 Body String `json:"body"` 581 // The id of the discussion category to associate with this discussion. (Required.) 582 CategoryID ID `json:"categoryId"` 583 584 // A unique identifier for the client performing the mutation. (Optional.) 585 ClientMutationID *String `json:"clientMutationId,omitempty"` 586} 587 588// CreateEnterpriseOrganizationInput is an autogenerated input type of CreateEnterpriseOrganization. 589type CreateEnterpriseOrganizationInput struct { 590 // The ID of the enterprise owning the new organization. (Required.) 591 EnterpriseID ID `json:"enterpriseId"` 592 // The login of the new organization. (Required.) 593 Login String `json:"login"` 594 // The profile name of the new organization. (Required.) 595 ProfileName String `json:"profileName"` 596 // The email used for sending billing receipts. (Required.) 597 BillingEmail String `json:"billingEmail"` 598 // The logins for the administrators of the new organization. (Required.) 599 AdminLogins []String `json:"adminLogins"` 600 601 // A unique identifier for the client performing the mutation. (Optional.) 602 ClientMutationID *String `json:"clientMutationId,omitempty"` 603} 604 605// CreateEnvironmentInput is an autogenerated input type of CreateEnvironment. 606type CreateEnvironmentInput struct { 607 // The node ID of the repository. (Required.) 608 RepositoryID ID `json:"repositoryId"` 609 // The name of the environment. (Required.) 610 Name String `json:"name"` 611 612 // A unique identifier for the client performing the mutation. (Optional.) 613 ClientMutationID *String `json:"clientMutationId,omitempty"` 614} 615 616// CreateIpAllowListEntryInput is an autogenerated input type of CreateIpAllowListEntry. 617type CreateIpAllowListEntryInput struct { 618 // The ID of the owner for which to create the new IP allow list entry. (Required.) 619 OwnerID ID `json:"ownerId"` 620 // An IP address or range of addresses in CIDR notation. (Required.) 621 AllowListValue String `json:"allowListValue"` 622 // Whether the IP allow list entry is active when an IP allow list is enabled. (Required.) 623 IsActive Boolean `json:"isActive"` 624 625 // An optional name for the IP allow list entry. (Optional.) 626 Name *String `json:"name,omitempty"` 627 // A unique identifier for the client performing the mutation. (Optional.) 628 ClientMutationID *String `json:"clientMutationId,omitempty"` 629} 630 631// CreateIssueInput is an autogenerated input type of CreateIssue. 632type CreateIssueInput struct { 633 // The Node ID of the repository. (Required.) 634 RepositoryID ID `json:"repositoryId"` 635 // The title for the issue. (Required.) 636 Title String `json:"title"` 637 638 // The body for the issue description. (Optional.) 639 Body *String `json:"body,omitempty"` 640 // The Node ID for the user assignee for this issue. (Optional.) 641 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 642 // The Node ID of the milestone for this issue. (Optional.) 643 MilestoneID *ID `json:"milestoneId,omitempty"` 644 // An array of Node IDs of labels for this issue. (Optional.) 645 LabelIDs *[]ID `json:"labelIds,omitempty"` 646 // An array of Node IDs for projects associated with this issue. (Optional.) 647 ProjectIDs *[]ID `json:"projectIds,omitempty"` 648 // The name of an issue template in the repository, assigns labels and assignees from the template to the issue. (Optional.) 649 IssueTemplate *String `json:"issueTemplate,omitempty"` 650 // A unique identifier for the client performing the mutation. (Optional.) 651 ClientMutationID *String `json:"clientMutationId,omitempty"` 652} 653 654// CreateProjectInput is an autogenerated input type of CreateProject. 655type CreateProjectInput struct { 656 // The owner ID to create the project under. (Required.) 657 OwnerID ID `json:"ownerId"` 658 // The name of project. (Required.) 659 Name String `json:"name"` 660 661 // The description of project. (Optional.) 662 Body *String `json:"body,omitempty"` 663 // The name of the GitHub-provided template. (Optional.) 664 Template *ProjectTemplate `json:"template,omitempty"` 665 // A list of repository IDs to create as linked repositories for the project. (Optional.) 666 RepositoryIDs *[]ID `json:"repositoryIds,omitempty"` 667 // A unique identifier for the client performing the mutation. (Optional.) 668 ClientMutationID *String `json:"clientMutationId,omitempty"` 669} 670 671// CreatePullRequestInput is an autogenerated input type of CreatePullRequest. 672type CreatePullRequestInput struct { 673 // The Node ID of the repository. (Required.) 674 RepositoryID ID `json:"repositoryId"` 675 // 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.) 676 BaseRefName String `json:"baseRefName"` 677 // 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.) 678 HeadRefName String `json:"headRefName"` 679 // The title of the pull request. (Required.) 680 Title String `json:"title"` 681 682 // The contents of the pull request. (Optional.) 683 Body *String `json:"body,omitempty"` 684 // Indicates whether maintainers can modify the pull request. (Optional.) 685 MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"` 686 // Indicates whether this pull request should be a draft. (Optional.) 687 Draft *Boolean `json:"draft,omitempty"` 688 // A unique identifier for the client performing the mutation. (Optional.) 689 ClientMutationID *String `json:"clientMutationId,omitempty"` 690} 691 692// CreateRefInput is an autogenerated input type of CreateRef. 693type CreateRefInput struct { 694 // The Node ID of the Repository to create the Ref in. (Required.) 695 RepositoryID ID `json:"repositoryId"` 696 // The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). (Required.) 697 Name String `json:"name"` 698 // The GitObjectID that the new Ref shall target. Must point to a commit. (Required.) 699 Oid GitObjectID `json:"oid"` 700 701 // A unique identifier for the client performing the mutation. (Optional.) 702 ClientMutationID *String `json:"clientMutationId,omitempty"` 703} 704 705// CreateRepositoryInput is an autogenerated input type of CreateRepository. 706type CreateRepositoryInput struct { 707 // The name of the new repository. (Required.) 708 Name String `json:"name"` 709 // Indicates the repository's visibility level. (Required.) 710 Visibility RepositoryVisibility `json:"visibility"` 711 712 // The ID of the owner for the new repository. (Optional.) 713 OwnerID *ID `json:"ownerId,omitempty"` 714 // A short description of the new repository. (Optional.) 715 Description *String `json:"description,omitempty"` 716 // 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.) 717 Template *Boolean `json:"template,omitempty"` 718 // The URL for a web page about this repository. (Optional.) 719 HomepageURL *URI `json:"homepageUrl,omitempty"` 720 // Indicates if the repository should have the wiki feature enabled. (Optional.) 721 HasWikiEnabled *Boolean `json:"hasWikiEnabled,omitempty"` 722 // Indicates if the repository should have the issues feature enabled. (Optional.) 723 HasIssuesEnabled *Boolean `json:"hasIssuesEnabled,omitempty"` 724 // When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. (Optional.) 725 TeamID *ID `json:"teamId,omitempty"` 726 // A unique identifier for the client performing the mutation. (Optional.) 727 ClientMutationID *String `json:"clientMutationId,omitempty"` 728} 729 730// CreateTeamDiscussionCommentInput is an autogenerated input type of CreateTeamDiscussionComment. 731type CreateTeamDiscussionCommentInput struct { 732 // The ID of the discussion to which the comment belongs. (Required.) 733 DiscussionID ID `json:"discussionId"` 734 // The content of the comment. (Required.) 735 Body String `json:"body"` 736 737 // A unique identifier for the client performing the mutation. (Optional.) 738 ClientMutationID *String `json:"clientMutationId,omitempty"` 739} 740 741// CreateTeamDiscussionInput is an autogenerated input type of CreateTeamDiscussion. 742type CreateTeamDiscussionInput struct { 743 // The ID of the team to which the discussion belongs. (Required.) 744 TeamID ID `json:"teamId"` 745 // The title of the discussion. (Required.) 746 Title String `json:"title"` 747 // The content of the discussion. (Required.) 748 Body String `json:"body"` 749 750 // If true, restricts the visibility of this discussion to team members and organization admins. If false or not specified, allows any organization member to view this discussion. (Optional.) 751 Private *Boolean `json:"private,omitempty"` 752 // A unique identifier for the client performing the mutation. (Optional.) 753 ClientMutationID *String `json:"clientMutationId,omitempty"` 754} 755 756// DeclineTopicSuggestionInput is an autogenerated input type of DeclineTopicSuggestion. 757type DeclineTopicSuggestionInput struct { 758 // The Node ID of the repository. (Required.) 759 RepositoryID ID `json:"repositoryId"` 760 // The name of the suggested topic. (Required.) 761 Name String `json:"name"` 762 // The reason why the suggested topic is declined. (Required.) 763 Reason TopicSuggestionDeclineReason `json:"reason"` 764 765 // A unique identifier for the client performing the mutation. (Optional.) 766 ClientMutationID *String `json:"clientMutationId,omitempty"` 767} 768 769// DeleteBranchProtectionRuleInput is an autogenerated input type of DeleteBranchProtectionRule. 770type DeleteBranchProtectionRuleInput struct { 771 // The global relay id of the branch protection rule to be deleted. (Required.) 772 BranchProtectionRuleID ID `json:"branchProtectionRuleId"` 773 774 // A unique identifier for the client performing the mutation. (Optional.) 775 ClientMutationID *String `json:"clientMutationId,omitempty"` 776} 777 778// DeleteDeploymentInput is an autogenerated input type of DeleteDeployment. 779type DeleteDeploymentInput struct { 780 // The Node ID of the deployment to be deleted. (Required.) 781 ID ID `json:"id"` 782 783 // A unique identifier for the client performing the mutation. (Optional.) 784 ClientMutationID *String `json:"clientMutationId,omitempty"` 785} 786 787// DeleteDiscussionCommentInput is an autogenerated input type of DeleteDiscussionComment. 788type DeleteDiscussionCommentInput struct { 789 // The Node id of the discussion comment to delete. (Required.) 790 ID ID `json:"id"` 791 792 // A unique identifier for the client performing the mutation. (Optional.) 793 ClientMutationID *String `json:"clientMutationId,omitempty"` 794} 795 796// DeleteDiscussionInput is an autogenerated input type of DeleteDiscussion. 797type DeleteDiscussionInput struct { 798 // The id of the discussion to delete. (Required.) 799 ID ID `json:"id"` 800 801 // A unique identifier for the client performing the mutation. (Optional.) 802 ClientMutationID *String `json:"clientMutationId,omitempty"` 803} 804 805// DeleteEnvironmentInput is an autogenerated input type of DeleteEnvironment. 806type DeleteEnvironmentInput struct { 807 // The Node ID of the environment to be deleted. (Required.) 808 ID ID `json:"id"` 809 810 // A unique identifier for the client performing the mutation. (Optional.) 811 ClientMutationID *String `json:"clientMutationId,omitempty"` 812} 813 814// DeleteIpAllowListEntryInput is an autogenerated input type of DeleteIpAllowListEntry. 815type DeleteIpAllowListEntryInput struct { 816 // The ID of the IP allow list entry to delete. (Required.) 817 IPAllowListEntryID ID `json:"ipAllowListEntryId"` 818 819 // A unique identifier for the client performing the mutation. (Optional.) 820 ClientMutationID *String `json:"clientMutationId,omitempty"` 821} 822 823// DeleteIssueCommentInput is an autogenerated input type of DeleteIssueComment. 824type DeleteIssueCommentInput struct { 825 // The ID of the comment to delete. (Required.) 826 ID ID `json:"id"` 827 828 // A unique identifier for the client performing the mutation. (Optional.) 829 ClientMutationID *String `json:"clientMutationId,omitempty"` 830} 831 832// DeleteIssueInput is an autogenerated input type of DeleteIssue. 833type DeleteIssueInput struct { 834 // The ID of the issue to delete. (Required.) 835 IssueID ID `json:"issueId"` 836 837 // A unique identifier for the client performing the mutation. (Optional.) 838 ClientMutationID *String `json:"clientMutationId,omitempty"` 839} 840 841// DeleteProjectCardInput is an autogenerated input type of DeleteProjectCard. 842type DeleteProjectCardInput struct { 843 // The id of the card to delete. (Required.) 844 CardID ID `json:"cardId"` 845 846 // A unique identifier for the client performing the mutation. (Optional.) 847 ClientMutationID *String `json:"clientMutationId,omitempty"` 848} 849 850// DeleteProjectColumnInput is an autogenerated input type of DeleteProjectColumn. 851type DeleteProjectColumnInput struct { 852 // The id of the column to delete. (Required.) 853 ColumnID ID `json:"columnId"` 854 855 // A unique identifier for the client performing the mutation. (Optional.) 856 ClientMutationID *String `json:"clientMutationId,omitempty"` 857} 858 859// DeleteProjectInput is an autogenerated input type of DeleteProject. 860type DeleteProjectInput struct { 861 // The Project ID to update. (Required.) 862 ProjectID ID `json:"projectId"` 863 864 // A unique identifier for the client performing the mutation. (Optional.) 865 ClientMutationID *String `json:"clientMutationId,omitempty"` 866} 867 868// DeletePullRequestReviewCommentInput is an autogenerated input type of DeletePullRequestReviewComment. 869type DeletePullRequestReviewCommentInput struct { 870 // The ID of the comment to delete. (Required.) 871 ID ID `json:"id"` 872 873 // A unique identifier for the client performing the mutation. (Optional.) 874 ClientMutationID *String `json:"clientMutationId,omitempty"` 875} 876 877// DeletePullRequestReviewInput is an autogenerated input type of DeletePullRequestReview. 878type DeletePullRequestReviewInput struct { 879 // The Node ID of the pull request review to delete. (Required.) 880 PullRequestReviewID ID `json:"pullRequestReviewId"` 881 882 // A unique identifier for the client performing the mutation. (Optional.) 883 ClientMutationID *String `json:"clientMutationId,omitempty"` 884} 885 886// DeleteRefInput is an autogenerated input type of DeleteRef. 887type DeleteRefInput struct { 888 // The Node ID of the Ref to be deleted. (Required.) 889 RefID ID `json:"refId"` 890 891 // A unique identifier for the client performing the mutation. (Optional.) 892 ClientMutationID *String `json:"clientMutationId,omitempty"` 893} 894 895// DeleteTeamDiscussionCommentInput is an autogenerated input type of DeleteTeamDiscussionComment. 896type DeleteTeamDiscussionCommentInput struct { 897 // The ID of the comment to delete. (Required.) 898 ID ID `json:"id"` 899 900 // A unique identifier for the client performing the mutation. (Optional.) 901 ClientMutationID *String `json:"clientMutationId,omitempty"` 902} 903 904// DeleteTeamDiscussionInput is an autogenerated input type of DeleteTeamDiscussion. 905type DeleteTeamDiscussionInput struct { 906 // The discussion ID to delete. (Required.) 907 ID ID `json:"id"` 908 909 // A unique identifier for the client performing the mutation. (Optional.) 910 ClientMutationID *String `json:"clientMutationId,omitempty"` 911} 912 913// DeleteVerifiableDomainInput is an autogenerated input type of DeleteVerifiableDomain. 914type DeleteVerifiableDomainInput struct { 915 // The ID of the verifiable domain to delete. (Required.) 916 ID ID `json:"id"` 917 918 // A unique identifier for the client performing the mutation. (Optional.) 919 ClientMutationID *String `json:"clientMutationId,omitempty"` 920} 921 922// DeploymentOrder represents ordering options for deployment connections. 923type DeploymentOrder struct { 924 // The field to order deployments by. (Required.) 925 Field DeploymentOrderField `json:"field"` 926 // The ordering direction. (Required.) 927 Direction OrderDirection `json:"direction"` 928} 929 930// DisablePullRequestAutoMergeInput is an autogenerated input type of DisablePullRequestAutoMerge. 931type DisablePullRequestAutoMergeInput struct { 932 // ID of the pull request to disable auto merge on. (Required.) 933 PullRequestID ID `json:"pullRequestId"` 934 935 // A unique identifier for the client performing the mutation. (Optional.) 936 ClientMutationID *String `json:"clientMutationId,omitempty"` 937} 938 939// DiscussionOrder represents ways in which lists of discussions can be ordered upon return. 940type DiscussionOrder struct { 941 // The field by which to order discussions. (Required.) 942 Field DiscussionOrderField `json:"field"` 943 // The direction in which to order discussions by the specified field. (Required.) 944 Direction OrderDirection `json:"direction"` 945} 946 947// DismissPullRequestReviewInput is an autogenerated input type of DismissPullRequestReview. 948type DismissPullRequestReviewInput struct { 949 // The Node ID of the pull request review to modify. (Required.) 950 PullRequestReviewID ID `json:"pullRequestReviewId"` 951 // The contents of the pull request review dismissal message. (Required.) 952 Message String `json:"message"` 953 954 // A unique identifier for the client performing the mutation. (Optional.) 955 ClientMutationID *String `json:"clientMutationId,omitempty"` 956} 957 958// DraftPullRequestReviewComment specifies a review comment to be left with a Pull Request Review. 959type DraftPullRequestReviewComment struct { 960 // Path to the file being commented on. (Required.) 961 Path String `json:"path"` 962 // Position in the file to leave a comment on. (Required.) 963 Position Int `json:"position"` 964 // Body of the comment to leave. (Required.) 965 Body String `json:"body"` 966} 967 968// DraftPullRequestReviewThread specifies a review comment thread to be left with a Pull Request Review. 969type DraftPullRequestReviewThread struct { 970 // Path to the file being commented on. (Required.) 971 Path String `json:"path"` 972 // The line of the blob to which the thread refers. The end of the line range for multi-line comments. (Required.) 973 Line Int `json:"line"` 974 // Body of the comment to leave. (Required.) 975 Body String `json:"body"` 976 977 // 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.) 978 Side *DiffSide `json:"side,omitempty"` 979 // The first line of the range to which the comment refers. (Optional.) 980 StartLine *Int `json:"startLine,omitempty"` 981 // The side of the diff on which the start line resides. (Optional.) 982 StartSide *DiffSide `json:"startSide,omitempty"` 983} 984 985// EnablePullRequestAutoMergeInput is an autogenerated input type of EnablePullRequestAutoMerge. 986type EnablePullRequestAutoMergeInput struct { 987 // ID of the pull request to enable auto-merge on. (Required.) 988 PullRequestID ID `json:"pullRequestId"` 989 990 // Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. (Optional.) 991 CommitHeadline *String `json:"commitHeadline,omitempty"` 992 // Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. (Optional.) 993 CommitBody *String `json:"commitBody,omitempty"` 994 // The merge method to use. If omitted, defaults to 'MERGE'. (Optional.) 995 MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"` 996 // The email address to associate with this merge. (Optional.) 997 AuthorEmail *String `json:"authorEmail,omitempty"` 998 // A unique identifier for the client performing the mutation. (Optional.) 999 ClientMutationID *String `json:"clientMutationId,omitempty"` 1000} 1001 1002// EnterpriseAdministratorInvitationOrder represents ordering options for enterprise administrator invitation connections. 1003type EnterpriseAdministratorInvitationOrder struct { 1004 // The field to order enterprise administrator invitations by. (Required.) 1005 Field EnterpriseAdministratorInvitationOrderField `json:"field"` 1006 // The ordering direction. (Required.) 1007 Direction OrderDirection `json:"direction"` 1008} 1009 1010// EnterpriseMemberOrder represents ordering options for enterprise member connections. 1011type EnterpriseMemberOrder struct { 1012 // The field to order enterprise members by. (Required.) 1013 Field EnterpriseMemberOrderField `json:"field"` 1014 // The ordering direction. (Required.) 1015 Direction OrderDirection `json:"direction"` 1016} 1017 1018// EnterpriseServerInstallationOrder represents ordering options for Enterprise Server installation connections. 1019type EnterpriseServerInstallationOrder struct { 1020 // The field to order Enterprise Server installations by. (Required.) 1021 Field EnterpriseServerInstallationOrderField `json:"field"` 1022 // The ordering direction. (Required.) 1023 Direction OrderDirection `json:"direction"` 1024} 1025 1026// EnterpriseServerUserAccountEmailOrder represents ordering options for Enterprise Server user account email connections. 1027type EnterpriseServerUserAccountEmailOrder struct { 1028 // The field to order emails by. (Required.) 1029 Field EnterpriseServerUserAccountEmailOrderField `json:"field"` 1030 // The ordering direction. (Required.) 1031 Direction OrderDirection `json:"direction"` 1032} 1033 1034// EnterpriseServerUserAccountOrder represents ordering options for Enterprise Server user account connections. 1035type EnterpriseServerUserAccountOrder struct { 1036 // The field to order user accounts by. (Required.) 1037 Field EnterpriseServerUserAccountOrderField `json:"field"` 1038 // The ordering direction. (Required.) 1039 Direction OrderDirection `json:"direction"` 1040} 1041 1042// EnterpriseServerUserAccountsUploadOrder represents ordering options for Enterprise Server user accounts upload connections. 1043type EnterpriseServerUserAccountsUploadOrder struct { 1044 // The field to order user accounts uploads by. (Required.) 1045 Field EnterpriseServerUserAccountsUploadOrderField `json:"field"` 1046 // The ordering direction. (Required.) 1047 Direction OrderDirection `json:"direction"` 1048} 1049 1050// FollowUserInput is an autogenerated input type of FollowUser. 1051type FollowUserInput struct { 1052 // ID of the user to follow. (Required.) 1053 UserID ID `json:"userId"` 1054 1055 // A unique identifier for the client performing the mutation. (Optional.) 1056 ClientMutationID *String `json:"clientMutationId,omitempty"` 1057} 1058 1059// GistOrder represents ordering options for gist connections. 1060type GistOrder struct { 1061 // The field to order repositories by. (Required.) 1062 Field GistOrderField `json:"field"` 1063 // The ordering direction. (Required.) 1064 Direction OrderDirection `json:"direction"` 1065} 1066 1067// InviteEnterpriseAdminInput is an autogenerated input type of InviteEnterpriseAdmin. 1068type InviteEnterpriseAdminInput struct { 1069 // The ID of the enterprise to which you want to invite an administrator. (Required.) 1070 EnterpriseID ID `json:"enterpriseId"` 1071 1072 // The login of a user to invite as an administrator. (Optional.) 1073 Invitee *String `json:"invitee,omitempty"` 1074 // The email of the person to invite as an administrator. (Optional.) 1075 Email *String `json:"email,omitempty"` 1076 // The role of the administrator. (Optional.) 1077 Role *EnterpriseAdministratorRole `json:"role,omitempty"` 1078 // A unique identifier for the client performing the mutation. (Optional.) 1079 ClientMutationID *String `json:"clientMutationId,omitempty"` 1080} 1081 1082// IpAllowListEntryOrder represents ordering options for IP allow list entry connections. 1083type IpAllowListEntryOrder struct { 1084 // The field to order IP allow list entries by. (Required.) 1085 Field IpAllowListEntryOrderField `json:"field"` 1086 // The ordering direction. (Required.) 1087 Direction OrderDirection `json:"direction"` 1088} 1089 1090// IssueCommentOrder represents ways in which lists of issue comments can be ordered upon return. 1091type IssueCommentOrder struct { 1092 // The field in which to order issue comments by. (Required.) 1093 Field IssueCommentOrderField `json:"field"` 1094 // The direction in which to order issue comments by the specified field. (Required.) 1095 Direction OrderDirection `json:"direction"` 1096} 1097 1098// IssueFilters represents ways in which to filter lists of issues. 1099type IssueFilters struct { 1100 1101 // List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. (Optional.) 1102 Assignee *String `json:"assignee,omitempty"` 1103 // List issues created by given name. (Optional.) 1104 CreatedBy *String `json:"createdBy,omitempty"` 1105 // List issues where the list of label names exist on the issue. (Optional.) 1106 Labels *[]String `json:"labels,omitempty"` 1107 // List issues where the given name is mentioned in the issue. (Optional.) 1108 Mentioned *String `json:"mentioned,omitempty"` 1109 // 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.) 1110 Milestone *String `json:"milestone,omitempty"` 1111 // List issues that have been updated at or after the given date. (Optional.) 1112 Since *DateTime `json:"since,omitempty"` 1113 // List issues filtered by the list of states given. (Optional.) 1114 States *[]IssueState `json:"states,omitempty"` 1115 // List issues subscribed to by viewer. (Optional.) 1116 ViewerSubscribed *Boolean `json:"viewerSubscribed,omitempty"` 1117} 1118 1119// IssueOrder represents ways in which lists of issues can be ordered upon return. 1120type IssueOrder struct { 1121 // The field in which to order issues by. (Required.) 1122 Field IssueOrderField `json:"field"` 1123 // The direction in which to order issues by the specified field. (Required.) 1124 Direction OrderDirection `json:"direction"` 1125} 1126 1127// LabelOrder represents ways in which lists of labels can be ordered upon return. 1128type LabelOrder struct { 1129 // The field in which to order labels by. (Required.) 1130 Field LabelOrderField `json:"field"` 1131 // The direction in which to order labels by the specified field. (Required.) 1132 Direction OrderDirection `json:"direction"` 1133} 1134 1135// LanguageOrder represents ordering options for language connections. 1136type LanguageOrder struct { 1137 // The field to order languages by. (Required.) 1138 Field LanguageOrderField `json:"field"` 1139 // The ordering direction. (Required.) 1140 Direction OrderDirection `json:"direction"` 1141} 1142 1143// LinkRepositoryToProjectInput is an autogenerated input type of LinkRepositoryToProject. 1144type LinkRepositoryToProjectInput struct { 1145 // The ID of the Project to link to a Repository. (Required.) 1146 ProjectID ID `json:"projectId"` 1147 // The ID of the Repository to link to a Project. (Required.) 1148 RepositoryID ID `json:"repositoryId"` 1149 1150 // A unique identifier for the client performing the mutation. (Optional.) 1151 ClientMutationID *String `json:"clientMutationId,omitempty"` 1152} 1153 1154// LockLockableInput is an autogenerated input type of LockLockable. 1155type LockLockableInput struct { 1156 // ID of the item to be locked. (Required.) 1157 LockableID ID `json:"lockableId"` 1158 1159 // A reason for why the item will be locked. (Optional.) 1160 LockReason *LockReason `json:"lockReason,omitempty"` 1161 // A unique identifier for the client performing the mutation. (Optional.) 1162 ClientMutationID *String `json:"clientMutationId,omitempty"` 1163} 1164 1165// MarkDiscussionCommentAsAnswerInput is an autogenerated input type of MarkDiscussionCommentAsAnswer. 1166type MarkDiscussionCommentAsAnswerInput struct { 1167 // The Node ID of the discussion comment to mark as an answer. (Required.) 1168 ID ID `json:"id"` 1169 1170 // A unique identifier for the client performing the mutation. (Optional.) 1171 ClientMutationID *String `json:"clientMutationId,omitempty"` 1172} 1173 1174// MarkFileAsViewedInput is an autogenerated input type of MarkFileAsViewed. 1175type MarkFileAsViewedInput struct { 1176 // The Node ID of the pull request. (Required.) 1177 PullRequestID ID `json:"pullRequestId"` 1178 // The path of the file to mark as viewed. (Required.) 1179 Path String `json:"path"` 1180 1181 // A unique identifier for the client performing the mutation. (Optional.) 1182 ClientMutationID *String `json:"clientMutationId,omitempty"` 1183} 1184 1185// MarkPullRequestReadyForReviewInput is an autogenerated input type of MarkPullRequestReadyForReview. 1186type MarkPullRequestReadyForReviewInput struct { 1187 // ID of the pull request to be marked as ready for review. (Required.) 1188 PullRequestID ID `json:"pullRequestId"` 1189 1190 // A unique identifier for the client performing the mutation. (Optional.) 1191 ClientMutationID *String `json:"clientMutationId,omitempty"` 1192} 1193 1194// MergeBranchInput is an autogenerated input type of MergeBranch. 1195type MergeBranchInput struct { 1196 // The Node ID of the Repository containing the base branch that will be modified. (Required.) 1197 RepositoryID ID `json:"repositoryId"` 1198 // The name of the base branch that the provided head will be merged into. (Required.) 1199 Base String `json:"base"` 1200 // The head to merge into the base branch. This can be a branch name or a commit GitObjectID. (Required.) 1201 Head String `json:"head"` 1202 1203 // Message to use for the merge commit. If omitted, a default will be used. (Optional.) 1204 CommitMessage *String `json:"commitMessage,omitempty"` 1205 // The email address to associate with this commit. (Optional.) 1206 AuthorEmail *String `json:"authorEmail,omitempty"` 1207 // A unique identifier for the client performing the mutation. (Optional.) 1208 ClientMutationID *String `json:"clientMutationId,omitempty"` 1209} 1210 1211// MergePullRequestInput is an autogenerated input type of MergePullRequest. 1212type MergePullRequestInput struct { 1213 // ID of the pull request to be merged. (Required.) 1214 PullRequestID ID `json:"pullRequestId"` 1215 1216 // Commit headline to use for the merge commit; if omitted, a default message will be used. (Optional.) 1217 CommitHeadline *String `json:"commitHeadline,omitempty"` 1218 // Commit body to use for the merge commit; if omitted, a default message will be used. (Optional.) 1219 CommitBody *String `json:"commitBody,omitempty"` 1220 // OID that the pull request head ref must match to allow merge; if omitted, no check is performed. (Optional.) 1221 ExpectedHeadOid *GitObjectID `json:"expectedHeadOid,omitempty"` 1222 // The merge method to use. If omitted, defaults to 'MERGE'. (Optional.) 1223 MergeMethod *PullRequestMergeMethod `json:"mergeMethod,omitempty"` 1224 // The email address to associate with this merge. (Optional.) 1225 AuthorEmail *String `json:"authorEmail,omitempty"` 1226 // A unique identifier for the client performing the mutation. (Optional.) 1227 ClientMutationID *String `json:"clientMutationId,omitempty"` 1228} 1229 1230// MilestoneOrder represents ordering options for milestone connections. 1231type MilestoneOrder struct { 1232 // The field to order milestones by. (Required.) 1233 Field MilestoneOrderField `json:"field"` 1234 // The ordering direction. (Required.) 1235 Direction OrderDirection `json:"direction"` 1236} 1237 1238// MinimizeCommentInput is an autogenerated input type of MinimizeComment. 1239type MinimizeCommentInput struct { 1240 // The Node ID of the subject to modify. (Required.) 1241 SubjectID ID `json:"subjectId"` 1242 // The classification of comment. (Required.) 1243 Classifier ReportedContentClassifiers `json:"classifier"` 1244 1245 // A unique identifier for the client performing the mutation. (Optional.) 1246 ClientMutationID *String `json:"clientMutationId,omitempty"` 1247} 1248 1249// MoveProjectCardInput is an autogenerated input type of MoveProjectCard. 1250type MoveProjectCardInput struct { 1251 // The id of the card to move. (Required.) 1252 CardID ID `json:"cardId"` 1253 // The id of the column to move it into. (Required.) 1254 ColumnID ID `json:"columnId"` 1255 1256 // Place the new card after the card with this id. Pass null to place it at the top. (Optional.) 1257 AfterCardID *ID `json:"afterCardId,omitempty"` 1258 // A unique identifier for the client performing the mutation. (Optional.) 1259 ClientMutationID *String `json:"clientMutationId,omitempty"` 1260} 1261 1262// MoveProjectColumnInput is an autogenerated input type of MoveProjectColumn. 1263type MoveProjectColumnInput struct { 1264 // The id of the column to move. (Required.) 1265 ColumnID ID `json:"columnId"` 1266 1267 // Place the new column after the column with this id. Pass null to place it at the front. (Optional.) 1268 AfterColumnID *ID `json:"afterColumnId,omitempty"` 1269 // A unique identifier for the client performing the mutation. (Optional.) 1270 ClientMutationID *String `json:"clientMutationId,omitempty"` 1271} 1272 1273// OrganizationOrder represents ordering options for organization connections. 1274type OrganizationOrder struct { 1275 // The field to order organizations by. (Required.) 1276 Field OrganizationOrderField `json:"field"` 1277 // The ordering direction. (Required.) 1278 Direction OrderDirection `json:"direction"` 1279} 1280 1281// PackageFileOrder represents ways in which lists of package files can be ordered upon return. 1282type PackageFileOrder struct { 1283 1284 // The field in which to order package files by. (Optional.) 1285 Field *PackageFileOrderField `json:"field,omitempty"` 1286 // The direction in which to order package files by the specified field. (Optional.) 1287 Direction *OrderDirection `json:"direction,omitempty"` 1288} 1289 1290// PackageOrder represents ways in which lists of packages can be ordered upon return. 1291type PackageOrder struct { 1292 1293 // The field in which to order packages by. (Optional.) 1294 Field *PackageOrderField `json:"field,omitempty"` 1295 // The direction in which to order packages by the specified field. (Optional.) 1296 Direction *OrderDirection `json:"direction,omitempty"` 1297} 1298 1299// PackageVersionOrder represents ways in which lists of package versions can be ordered upon return. 1300type PackageVersionOrder struct { 1301 1302 // The field in which to order package versions by. (Optional.) 1303 Field *PackageVersionOrderField `json:"field,omitempty"` 1304 // The direction in which to order package versions by the specified field. (Optional.) 1305 Direction *OrderDirection `json:"direction,omitempty"` 1306} 1307 1308// PinIssueInput is an autogenerated input type of PinIssue. 1309type PinIssueInput struct { 1310 // The ID of the issue to be pinned. (Required.) 1311 IssueID ID `json:"issueId"` 1312 1313 // A unique identifier for the client performing the mutation. (Optional.) 1314 ClientMutationID *String `json:"clientMutationId,omitempty"` 1315} 1316 1317// ProjectOrder represents ways in which lists of projects can be ordered upon return. 1318type ProjectOrder struct { 1319 // The field in which to order projects by. (Required.) 1320 Field ProjectOrderField `json:"field"` 1321 // The direction in which to order projects by the specified field. (Required.) 1322 Direction OrderDirection `json:"direction"` 1323} 1324 1325// PullRequestOrder represents ways in which lists of issues can be ordered upon return. 1326type PullRequestOrder struct { 1327 // The field in which to order pull requests by. (Required.) 1328 Field PullRequestOrderField `json:"field"` 1329 // The direction in which to order pull requests by the specified field. (Required.) 1330 Direction OrderDirection `json:"direction"` 1331} 1332 1333// ReactionOrder represents ways in which lists of reactions can be ordered upon return. 1334type ReactionOrder struct { 1335 // The field in which to order reactions by. (Required.) 1336 Field ReactionOrderField `json:"field"` 1337 // The direction in which to order reactions by the specified field. (Required.) 1338 Direction OrderDirection `json:"direction"` 1339} 1340 1341// RefOrder represents ways in which lists of git refs can be ordered upon return. 1342type RefOrder struct { 1343 // The field in which to order refs by. (Required.) 1344 Field RefOrderField `json:"field"` 1345 // The direction in which to order refs by the specified field. (Required.) 1346 Direction OrderDirection `json:"direction"` 1347} 1348 1349// RegenerateEnterpriseIdentityProviderRecoveryCodesInput is an autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes. 1350type RegenerateEnterpriseIdentityProviderRecoveryCodesInput struct { 1351 // The ID of the enterprise on which to set an identity provider. (Required.) 1352 EnterpriseID ID `json:"enterpriseId"` 1353 1354 // A unique identifier for the client performing the mutation. (Optional.) 1355 ClientMutationID *String `json:"clientMutationId,omitempty"` 1356} 1357 1358// RegenerateVerifiableDomainTokenInput is an autogenerated input type of RegenerateVerifiableDomainToken. 1359type RegenerateVerifiableDomainTokenInput struct { 1360 // The ID of the verifiable domain to regenerate the verification token of. (Required.) 1361 ID ID `json:"id"` 1362 1363 // A unique identifier for the client performing the mutation. (Optional.) 1364 ClientMutationID *String `json:"clientMutationId,omitempty"` 1365} 1366 1367// RejectDeploymentsInput is an autogenerated input type of RejectDeployments. 1368type RejectDeploymentsInput struct { 1369 // The node ID of the workflow run containing the pending deployments. (Required.) 1370 WorkflowRunID ID `json:"workflowRunId"` 1371 // The ids of environments to reject deployments. (Required.) 1372 EnvironmentIDs []ID `json:"environmentIds"` 1373 1374 // Optional comment for rejecting deployments. (Optional.) 1375 Comment *String `json:"comment,omitempty"` 1376 // A unique identifier for the client performing the mutation. (Optional.) 1377 ClientMutationID *String `json:"clientMutationId,omitempty"` 1378} 1379 1380// ReleaseOrder represents ways in which lists of releases can be ordered upon return. 1381type ReleaseOrder struct { 1382 // The field in which to order releases by. (Required.) 1383 Field ReleaseOrderField `json:"field"` 1384 // The direction in which to order releases by the specified field. (Required.) 1385 Direction OrderDirection `json:"direction"` 1386} 1387 1388// RemoveAssigneesFromAssignableInput is an autogenerated input type of RemoveAssigneesFromAssignable. 1389type RemoveAssigneesFromAssignableInput struct { 1390 // The id of the assignable object to remove assignees from. (Required.) 1391 AssignableID ID `json:"assignableId"` 1392 // The id of users to remove as assignees. (Required.) 1393 AssigneeIDs []ID `json:"assigneeIds"` 1394 1395 // A unique identifier for the client performing the mutation. (Optional.) 1396 ClientMutationID *String `json:"clientMutationId,omitempty"` 1397} 1398 1399// RemoveEnterpriseAdminInput is an autogenerated input type of RemoveEnterpriseAdmin. 1400type RemoveEnterpriseAdminInput struct { 1401 // The Enterprise ID from which to remove the administrator. (Required.) 1402 EnterpriseID ID `json:"enterpriseId"` 1403 // The login of the user to remove as an administrator. (Required.) 1404 Login String `json:"login"` 1405 1406 // A unique identifier for the client performing the mutation. (Optional.) 1407 ClientMutationID *String `json:"clientMutationId,omitempty"` 1408} 1409 1410// RemoveEnterpriseIdentityProviderInput is an autogenerated input type of RemoveEnterpriseIdentityProvider. 1411type RemoveEnterpriseIdentityProviderInput struct { 1412 // The ID of the enterprise from which to remove the identity provider. (Required.) 1413 EnterpriseID ID `json:"enterpriseId"` 1414 1415 // A unique identifier for the client performing the mutation. (Optional.) 1416 ClientMutationID *String `json:"clientMutationId,omitempty"` 1417} 1418 1419// RemoveEnterpriseOrganizationInput is an autogenerated input type of RemoveEnterpriseOrganization. 1420type RemoveEnterpriseOrganizationInput struct { 1421 // The ID of the enterprise from which the organization should be removed. (Required.) 1422 EnterpriseID ID `json:"enterpriseId"` 1423 // The ID of the organization to remove from the enterprise. (Required.) 1424 OrganizationID ID `json:"organizationId"` 1425 1426 // A unique identifier for the client performing the mutation. (Optional.) 1427 ClientMutationID *String `json:"clientMutationId,omitempty"` 1428} 1429 1430// RemoveEnterpriseSupportEntitlementInput is an autogenerated input type of RemoveEnterpriseSupportEntitlement. 1431type RemoveEnterpriseSupportEntitlementInput struct { 1432 // The ID of the Enterprise which the admin belongs to. (Required.) 1433 EnterpriseID ID `json:"enterpriseId"` 1434 // The login of a member who will lose the support entitlement. (Required.) 1435 Login String `json:"login"` 1436 1437 // A unique identifier for the client performing the mutation. (Optional.) 1438 ClientMutationID *String `json:"clientMutationId,omitempty"` 1439} 1440 1441// RemoveLabelsFromLabelableInput is an autogenerated input type of RemoveLabelsFromLabelable. 1442type RemoveLabelsFromLabelableInput struct { 1443 // The id of the Labelable to remove labels from. (Required.) 1444 LabelableID ID `json:"labelableId"` 1445 // The ids of labels to remove. (Required.) 1446 LabelIDs []ID `json:"labelIds"` 1447 1448 // A unique identifier for the client performing the mutation. (Optional.) 1449 ClientMutationID *String `json:"clientMutationId,omitempty"` 1450} 1451 1452// RemoveOutsideCollaboratorInput is an autogenerated input type of RemoveOutsideCollaborator. 1453type RemoveOutsideCollaboratorInput struct { 1454 // The ID of the outside collaborator to remove. (Required.) 1455 UserID ID `json:"userId"` 1456 // The ID of the organization to remove the outside collaborator from. (Required.) 1457 OrganizationID ID `json:"organizationId"` 1458 1459 // A unique identifier for the client performing the mutation. (Optional.) 1460 ClientMutationID *String `json:"clientMutationId,omitempty"` 1461} 1462 1463// RemoveReactionInput is an autogenerated input type of RemoveReaction. 1464type RemoveReactionInput struct { 1465 // The Node ID of the subject to modify. (Required.) 1466 SubjectID ID `json:"subjectId"` 1467 // The name of the emoji reaction to remove. (Required.) 1468 Content ReactionContent `json:"content"` 1469 1470 // A unique identifier for the client performing the mutation. (Optional.) 1471 ClientMutationID *String `json:"clientMutationId,omitempty"` 1472} 1473 1474// RemoveStarInput is an autogenerated input type of RemoveStar. 1475type RemoveStarInput struct { 1476 // The Starrable ID to unstar. (Required.) 1477 StarrableID ID `json:"starrableId"` 1478 1479 // A unique identifier for the client performing the mutation. (Optional.) 1480 ClientMutationID *String `json:"clientMutationId,omitempty"` 1481} 1482 1483// RemoveUpvoteInput is an autogenerated input type of RemoveUpvote. 1484type RemoveUpvoteInput struct { 1485 // The Node ID of the discussion or comment to remove upvote. (Required.) 1486 SubjectID ID `json:"subjectId"` 1487 1488 // A unique identifier for the client performing the mutation. (Optional.) 1489 ClientMutationID *String `json:"clientMutationId,omitempty"` 1490} 1491 1492// ReopenIssueInput is an autogenerated input type of ReopenIssue. 1493type ReopenIssueInput struct { 1494 // ID of the issue to be opened. (Required.) 1495 IssueID ID `json:"issueId"` 1496 1497 // A unique identifier for the client performing the mutation. (Optional.) 1498 ClientMutationID *String `json:"clientMutationId,omitempty"` 1499} 1500 1501// ReopenPullRequestInput is an autogenerated input type of ReopenPullRequest. 1502type ReopenPullRequestInput struct { 1503 // ID of the pull request to be reopened. (Required.) 1504 PullRequestID ID `json:"pullRequestId"` 1505 1506 // A unique identifier for the client performing the mutation. (Optional.) 1507 ClientMutationID *String `json:"clientMutationId,omitempty"` 1508} 1509 1510// RepositoryInvitationOrder represents ordering options for repository invitation connections. 1511type RepositoryInvitationOrder struct { 1512 // The field to order repository invitations by. (Required.) 1513 Field RepositoryInvitationOrderField `json:"field"` 1514 // The ordering direction. (Required.) 1515 Direction OrderDirection `json:"direction"` 1516} 1517 1518// RepositoryOrder represents ordering options for repository connections. 1519type RepositoryOrder struct { 1520 // The field to order repositories by. (Required.) 1521 Field RepositoryOrderField `json:"field"` 1522 // The ordering direction. (Required.) 1523 Direction OrderDirection `json:"direction"` 1524} 1525 1526// RequestReviewsInput is an autogenerated input type of RequestReviews. 1527type RequestReviewsInput struct { 1528 // The Node ID of the pull request to modify. (Required.) 1529 PullRequestID ID `json:"pullRequestId"` 1530 1531 // The Node IDs of the user to request. (Optional.) 1532 UserIDs *[]ID `json:"userIds,omitempty"` 1533 // The Node IDs of the team to request. (Optional.) 1534 TeamIDs *[]ID `json:"teamIds,omitempty"` 1535 // Add users to the set rather than replace. (Optional.) 1536 Union *Boolean `json:"union,omitempty"` 1537 // A unique identifier for the client performing the mutation. (Optional.) 1538 ClientMutationID *String `json:"clientMutationId,omitempty"` 1539} 1540 1541// RerequestCheckSuiteInput is an autogenerated input type of RerequestCheckSuite. 1542type RerequestCheckSuiteInput struct { 1543 // The Node ID of the repository. (Required.) 1544 RepositoryID ID `json:"repositoryId"` 1545 // The Node ID of the check suite. (Required.) 1546 CheckSuiteID ID `json:"checkSuiteId"` 1547 1548 // A unique identifier for the client performing the mutation. (Optional.) 1549 ClientMutationID *String `json:"clientMutationId,omitempty"` 1550} 1551 1552// ResolveReviewThreadInput is an autogenerated input type of ResolveReviewThread. 1553type ResolveReviewThreadInput struct { 1554 // The ID of the thread to resolve. (Required.) 1555 ThreadID ID `json:"threadId"` 1556 1557 // A unique identifier for the client performing the mutation. (Optional.) 1558 ClientMutationID *String `json:"clientMutationId,omitempty"` 1559} 1560 1561// SavedReplyOrder represents ordering options for saved reply connections. 1562type SavedReplyOrder struct { 1563 // The field to order saved replies by. (Required.) 1564 Field SavedReplyOrderField `json:"field"` 1565 // The ordering direction. (Required.) 1566 Direction OrderDirection `json:"direction"` 1567} 1568 1569// SecurityAdvisoryIdentifierFilter represents an advisory identifier to filter results on. 1570type SecurityAdvisoryIdentifierFilter struct { 1571 // The identifier type. (Required.) 1572 Type SecurityAdvisoryIdentifierType `json:"type"` 1573 // The identifier string. Supports exact or partial matching. (Required.) 1574 Value String `json:"value"` 1575} 1576 1577// SecurityAdvisoryOrder represents ordering options for security advisory connections. 1578type SecurityAdvisoryOrder struct { 1579 // The field to order security advisories by. (Required.) 1580 Field SecurityAdvisoryOrderField `json:"field"` 1581 // The ordering direction. (Required.) 1582 Direction OrderDirection `json:"direction"` 1583} 1584 1585// SecurityVulnerabilityOrder represents ordering options for security vulnerability connections. 1586type SecurityVulnerabilityOrder struct { 1587 // The field to order security vulnerabilities by. (Required.) 1588 Field SecurityVulnerabilityOrderField `json:"field"` 1589 // The ordering direction. (Required.) 1590 Direction OrderDirection `json:"direction"` 1591} 1592 1593// SetEnterpriseIdentityProviderInput is an autogenerated input type of SetEnterpriseIdentityProvider. 1594type SetEnterpriseIdentityProviderInput struct { 1595 // The ID of the enterprise on which to set an identity provider. (Required.) 1596 EnterpriseID ID `json:"enterpriseId"` 1597 // The URL endpoint for the identity provider's SAML SSO. (Required.) 1598 SsoURL URI `json:"ssoUrl"` 1599 // The x509 certificate used by the identity provider to sign assertions and responses. (Required.) 1600 IdpCertificate String `json:"idpCertificate"` 1601 // The signature algorithm used to sign SAML requests for the identity provider. (Required.) 1602 SignatureMethod SamlSignatureAlgorithm `json:"signatureMethod"` 1603 // The digest algorithm used to sign SAML requests for the identity provider. (Required.) 1604 DigestMethod SamlDigestAlgorithm `json:"digestMethod"` 1605 1606 // The Issuer Entity ID for the SAML identity provider. (Optional.) 1607 Issuer *String `json:"issuer,omitempty"` 1608 // A unique identifier for the client performing the mutation. (Optional.) 1609 ClientMutationID *String `json:"clientMutationId,omitempty"` 1610} 1611 1612// SetOrganizationInteractionLimitInput is an autogenerated input type of SetOrganizationInteractionLimit. 1613type SetOrganizationInteractionLimitInput struct { 1614 // The ID of the organization to set a limit for. (Required.) 1615 OrganizationID ID `json:"organizationId"` 1616 // The limit to set. (Required.) 1617 Limit RepositoryInteractionLimit `json:"limit"` 1618 1619 // When this limit should expire. (Optional.) 1620 Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` 1621 // A unique identifier for the client performing the mutation. (Optional.) 1622 ClientMutationID *String `json:"clientMutationId,omitempty"` 1623} 1624 1625// SetRepositoryInteractionLimitInput is an autogenerated input type of SetRepositoryInteractionLimit. 1626type SetRepositoryInteractionLimitInput struct { 1627 // The ID of the repository to set a limit for. (Required.) 1628 RepositoryID ID `json:"repositoryId"` 1629 // The limit to set. (Required.) 1630 Limit RepositoryInteractionLimit `json:"limit"` 1631 1632 // When this limit should expire. (Optional.) 1633 Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` 1634 // A unique identifier for the client performing the mutation. (Optional.) 1635 ClientMutationID *String `json:"clientMutationId,omitempty"` 1636} 1637 1638// SetUserInteractionLimitInput is an autogenerated input type of SetUserInteractionLimit. 1639type SetUserInteractionLimitInput struct { 1640 // The ID of the user to set a limit for. (Required.) 1641 UserID ID `json:"userId"` 1642 // The limit to set. (Required.) 1643 Limit RepositoryInteractionLimit `json:"limit"` 1644 1645 // When this limit should expire. (Optional.) 1646 Expiry *RepositoryInteractionLimitExpiry `json:"expiry,omitempty"` 1647 // A unique identifier for the client performing the mutation. (Optional.) 1648 ClientMutationID *String `json:"clientMutationId,omitempty"` 1649} 1650 1651// SponsorableOrder represents ordering options for connections to get sponsorable entities for GitHub Sponsors. 1652type SponsorableOrder struct { 1653 // The field to order sponsorable entities by. (Required.) 1654 Field SponsorableOrderField `json:"field"` 1655 // The ordering direction. (Required.) 1656 Direction OrderDirection `json:"direction"` 1657} 1658 1659// SponsorsActivityOrder represents ordering options for GitHub Sponsors activity connections. 1660type SponsorsActivityOrder struct { 1661 // The field to order activity by. (Required.) 1662 Field SponsorsActivityOrderField `json:"field"` 1663 // The ordering direction. (Required.) 1664 Direction OrderDirection `json:"direction"` 1665} 1666 1667// SponsorsTierOrder represents ordering options for Sponsors tiers connections. 1668type SponsorsTierOrder struct { 1669 // The field to order tiers by. (Required.) 1670 Field SponsorsTierOrderField `json:"field"` 1671 // The ordering direction. (Required.) 1672 Direction OrderDirection `json:"direction"` 1673} 1674 1675// SponsorshipOrder represents ordering options for sponsorship connections. 1676type SponsorshipOrder struct { 1677 // The field to order sponsorship by. (Required.) 1678 Field SponsorshipOrderField `json:"field"` 1679 // The ordering direction. (Required.) 1680 Direction OrderDirection `json:"direction"` 1681} 1682 1683// StarOrder represents ways in which star connections can be ordered. 1684type StarOrder struct { 1685 // The field in which to order nodes by. (Required.) 1686 Field StarOrderField `json:"field"` 1687 // The direction in which to order nodes. (Required.) 1688 Direction OrderDirection `json:"direction"` 1689} 1690 1691// SubmitPullRequestReviewInput is an autogenerated input type of SubmitPullRequestReview. 1692type SubmitPullRequestReviewInput struct { 1693 // The event to send to the Pull Request Review. (Required.) 1694 Event PullRequestReviewEvent `json:"event"` 1695 1696 // The Pull Request ID to submit any pending reviews. (Optional.) 1697 PullRequestID *ID `json:"pullRequestId,omitempty"` 1698 // The Pull Request Review ID to submit. (Optional.) 1699 PullRequestReviewID *ID `json:"pullRequestReviewId,omitempty"` 1700 // The text field to set on the Pull Request Review. (Optional.) 1701 Body *String `json:"body,omitempty"` 1702 // A unique identifier for the client performing the mutation. (Optional.) 1703 ClientMutationID *String `json:"clientMutationId,omitempty"` 1704} 1705 1706// TeamDiscussionCommentOrder represents ways in which team discussion comment connections can be ordered. 1707type TeamDiscussionCommentOrder struct { 1708 // The field by which to order nodes. (Required.) 1709 Field TeamDiscussionCommentOrderField `json:"field"` 1710 // The direction in which to order nodes. (Required.) 1711 Direction OrderDirection `json:"direction"` 1712} 1713 1714// TeamDiscussionOrder represents ways in which team discussion connections can be ordered. 1715type TeamDiscussionOrder struct { 1716 // The field by which to order nodes. (Required.) 1717 Field TeamDiscussionOrderField `json:"field"` 1718 // The direction in which to order nodes. (Required.) 1719 Direction OrderDirection `json:"direction"` 1720} 1721 1722// TeamMemberOrder represents ordering options for team member connections. 1723type TeamMemberOrder struct { 1724 // The field to order team members by. (Required.) 1725 Field TeamMemberOrderField `json:"field"` 1726 // The ordering direction. (Required.) 1727 Direction OrderDirection `json:"direction"` 1728} 1729 1730// TeamOrder represents ways in which team connections can be ordered. 1731type TeamOrder struct { 1732 // The field in which to order nodes by. (Required.) 1733 Field TeamOrderField `json:"field"` 1734 // The direction in which to order nodes. (Required.) 1735 Direction OrderDirection `json:"direction"` 1736} 1737 1738// TeamRepositoryOrder represents ordering options for team repository connections. 1739type TeamRepositoryOrder struct { 1740 // The field to order repositories by. (Required.) 1741 Field TeamRepositoryOrderField `json:"field"` 1742 // The ordering direction. (Required.) 1743 Direction OrderDirection `json:"direction"` 1744} 1745 1746// TransferIssueInput is an autogenerated input type of TransferIssue. 1747type TransferIssueInput struct { 1748 // The Node ID of the issue to be transferred. (Required.) 1749 IssueID ID `json:"issueId"` 1750 // The Node ID of the repository the issue should be transferred to. (Required.) 1751 RepositoryID ID `json:"repositoryId"` 1752 1753 // A unique identifier for the client performing the mutation. (Optional.) 1754 ClientMutationID *String `json:"clientMutationId,omitempty"` 1755} 1756 1757// UnarchiveRepositoryInput is an autogenerated input type of UnarchiveRepository. 1758type UnarchiveRepositoryInput struct { 1759 // The ID of the repository to unarchive. (Required.) 1760 RepositoryID ID `json:"repositoryId"` 1761 1762 // A unique identifier for the client performing the mutation. (Optional.) 1763 ClientMutationID *String `json:"clientMutationId,omitempty"` 1764} 1765 1766// UnfollowUserInput is an autogenerated input type of UnfollowUser. 1767type UnfollowUserInput struct { 1768 // ID of the user to unfollow. (Required.) 1769 UserID ID `json:"userId"` 1770 1771 // A unique identifier for the client performing the mutation. (Optional.) 1772 ClientMutationID *String `json:"clientMutationId,omitempty"` 1773} 1774 1775// UnlinkRepositoryFromProjectInput is an autogenerated input type of UnlinkRepositoryFromProject. 1776type UnlinkRepositoryFromProjectInput struct { 1777 // The ID of the Project linked to the Repository. (Required.) 1778 ProjectID ID `json:"projectId"` 1779 // The ID of the Repository linked to the Project. (Required.) 1780 RepositoryID ID `json:"repositoryId"` 1781 1782 // A unique identifier for the client performing the mutation. (Optional.) 1783 ClientMutationID *String `json:"clientMutationId,omitempty"` 1784} 1785 1786// UnlockLockableInput is an autogenerated input type of UnlockLockable. 1787type UnlockLockableInput struct { 1788 // ID of the item to be unlocked. (Required.) 1789 LockableID ID `json:"lockableId"` 1790 1791 // A unique identifier for the client performing the mutation. (Optional.) 1792 ClientMutationID *String `json:"clientMutationId,omitempty"` 1793} 1794 1795// UnmarkDiscussionCommentAsAnswerInput is an autogenerated input type of UnmarkDiscussionCommentAsAnswer. 1796type UnmarkDiscussionCommentAsAnswerInput struct { 1797 // The Node ID of the discussion comment to unmark as an answer. (Required.) 1798 ID ID `json:"id"` 1799 1800 // A unique identifier for the client performing the mutation. (Optional.) 1801 ClientMutationID *String `json:"clientMutationId,omitempty"` 1802} 1803 1804// UnmarkFileAsViewedInput is an autogenerated input type of UnmarkFileAsViewed. 1805type UnmarkFileAsViewedInput struct { 1806 // The Node ID of the pull request. (Required.) 1807 PullRequestID ID `json:"pullRequestId"` 1808 // The path of the file to mark as unviewed. (Required.) 1809 Path String `json:"path"` 1810 1811 // A unique identifier for the client performing the mutation. (Optional.) 1812 ClientMutationID *String `json:"clientMutationId,omitempty"` 1813} 1814 1815// UnmarkIssueAsDuplicateInput is an autogenerated input type of UnmarkIssueAsDuplicate. 1816type UnmarkIssueAsDuplicateInput struct { 1817 // ID of the issue or pull request currently marked as a duplicate. (Required.) 1818 DuplicateID ID `json:"duplicateId"` 1819 // ID of the issue or pull request currently considered canonical/authoritative/original. (Required.) 1820 CanonicalID ID `json:"canonicalId"` 1821 1822 // A unique identifier for the client performing the mutation. (Optional.) 1823 ClientMutationID *String `json:"clientMutationId,omitempty"` 1824} 1825 1826// UnminimizeCommentInput is an autogenerated input type of UnminimizeComment. 1827type UnminimizeCommentInput struct { 1828 // The Node ID of the subject to modify. (Required.) 1829 SubjectID ID `json:"subjectId"` 1830 1831 // A unique identifier for the client performing the mutation. (Optional.) 1832 ClientMutationID *String `json:"clientMutationId,omitempty"` 1833} 1834 1835// UnpinIssueInput is an autogenerated input type of UnpinIssue. 1836type UnpinIssueInput struct { 1837 // The ID of the issue to be unpinned. (Required.) 1838 IssueID ID `json:"issueId"` 1839 1840 // A unique identifier for the client performing the mutation. (Optional.) 1841 ClientMutationID *String `json:"clientMutationId,omitempty"` 1842} 1843 1844// UnresolveReviewThreadInput is an autogenerated input type of UnresolveReviewThread. 1845type UnresolveReviewThreadInput struct { 1846 // The ID of the thread to unresolve. (Required.) 1847 ThreadID ID `json:"threadId"` 1848 1849 // A unique identifier for the client performing the mutation. (Optional.) 1850 ClientMutationID *String `json:"clientMutationId,omitempty"` 1851} 1852 1853// UpdateBranchProtectionRuleInput is an autogenerated input type of UpdateBranchProtectionRule. 1854type UpdateBranchProtectionRuleInput struct { 1855 // The global relay id of the branch protection rule to be updated. (Required.) 1856 BranchProtectionRuleID ID `json:"branchProtectionRuleId"` 1857 1858 // The glob-like pattern used to determine matching branches. (Optional.) 1859 Pattern *String `json:"pattern,omitempty"` 1860 // Are approving reviews required to update matching branches. (Optional.) 1861 RequiresApprovingReviews *Boolean `json:"requiresApprovingReviews,omitempty"` 1862 // Number of approving reviews required to update matching branches. (Optional.) 1863 RequiredApprovingReviewCount *Int `json:"requiredApprovingReviewCount,omitempty"` 1864 // Are commits required to be signed. (Optional.) 1865 RequiresCommitSignatures *Boolean `json:"requiresCommitSignatures,omitempty"` 1866 // Are merge commits prohibited from being pushed to this branch. (Optional.) 1867 RequiresLinearHistory *Boolean `json:"requiresLinearHistory,omitempty"` 1868 // Are force pushes allowed on this branch. (Optional.) 1869 AllowsForcePushes *Boolean `json:"allowsForcePushes,omitempty"` 1870 // Can this branch be deleted. (Optional.) 1871 AllowsDeletions *Boolean `json:"allowsDeletions,omitempty"` 1872 // Can admins overwrite branch protection. (Optional.) 1873 IsAdminEnforced *Boolean `json:"isAdminEnforced,omitempty"` 1874 // Are status checks required to update matching branches. (Optional.) 1875 RequiresStatusChecks *Boolean `json:"requiresStatusChecks,omitempty"` 1876 // Are branches required to be up to date before merging. (Optional.) 1877 RequiresStrictStatusChecks *Boolean `json:"requiresStrictStatusChecks,omitempty"` 1878 // Are reviews from code owners required to update matching branches. (Optional.) 1879 RequiresCodeOwnerReviews *Boolean `json:"requiresCodeOwnerReviews,omitempty"` 1880 // Will new commits pushed to matching branches dismiss pull request review approvals. (Optional.) 1881 DismissesStaleReviews *Boolean `json:"dismissesStaleReviews,omitempty"` 1882 // Is dismissal of pull request reviews restricted. (Optional.) 1883 RestrictsReviewDismissals *Boolean `json:"restrictsReviewDismissals,omitempty"` 1884 // A list of User or Team IDs allowed to dismiss reviews on pull requests targeting matching branches. (Optional.) 1885 ReviewDismissalActorIDs *[]ID `json:"reviewDismissalActorIds,omitempty"` 1886 // Is pushing to matching branches restricted. (Optional.) 1887 RestrictsPushes *Boolean `json:"restrictsPushes,omitempty"` 1888 // A list of User, Team or App IDs allowed to push to matching branches. (Optional.) 1889 PushActorIDs *[]ID `json:"pushActorIds,omitempty"` 1890 // List of required status check contexts that must pass for commits to be accepted to matching branches. (Optional.) 1891 RequiredStatusCheckContexts *[]String `json:"requiredStatusCheckContexts,omitempty"` 1892 // Are conversations required to be resolved before merging. (Optional.) 1893 RequiresConversationResolution *Boolean `json:"requiresConversationResolution,omitempty"` 1894 // A unique identifier for the client performing the mutation. (Optional.) 1895 ClientMutationID *String `json:"clientMutationId,omitempty"` 1896} 1897 1898// UpdateCheckRunInput is an autogenerated input type of UpdateCheckRun. 1899type UpdateCheckRunInput struct { 1900 // The node ID of the repository. (Required.) 1901 RepositoryID ID `json:"repositoryId"` 1902 // The node of the check. (Required.) 1903 CheckRunID ID `json:"checkRunId"` 1904 1905 // The name of the check. (Optional.) 1906 Name *String `json:"name,omitempty"` 1907 // The URL of the integrator's site that has the full details of the check. (Optional.) 1908 DetailsURL *URI `json:"detailsUrl,omitempty"` 1909 // A reference for the run on the integrator's system. (Optional.) 1910 ExternalID *String `json:"externalId,omitempty"` 1911 // The current status. (Optional.) 1912 Status *RequestableCheckStatusState `json:"status,omitempty"` 1913 // The time that the check run began. (Optional.) 1914 StartedAt *DateTime `json:"startedAt,omitempty"` 1915 // The final conclusion of the check. (Optional.) 1916 Conclusion *CheckConclusionState `json:"conclusion,omitempty"` 1917 // The time that the check run finished. (Optional.) 1918 CompletedAt *DateTime `json:"completedAt,omitempty"` 1919 // Descriptive details about the run. (Optional.) 1920 Output *CheckRunOutput `json:"output,omitempty"` 1921 // Possible further actions the integrator can perform, which a user may trigger. (Optional.) 1922 Actions *[]CheckRunAction `json:"actions,omitempty"` 1923 // A unique identifier for the client performing the mutation. (Optional.) 1924 ClientMutationID *String `json:"clientMutationId,omitempty"` 1925} 1926 1927// UpdateCheckSuitePreferencesInput is an autogenerated input type of UpdateCheckSuitePreferences. 1928type UpdateCheckSuitePreferencesInput struct { 1929 // The Node ID of the repository. (Required.) 1930 RepositoryID ID `json:"repositoryId"` 1931 // The check suite preferences to modify. (Required.) 1932 AutoTriggerPreferences []CheckSuiteAutoTriggerPreference `json:"autoTriggerPreferences"` 1933 1934 // A unique identifier for the client performing the mutation. (Optional.) 1935 ClientMutationID *String `json:"clientMutationId,omitempty"` 1936} 1937 1938// UpdateDiscussionCommentInput is an autogenerated input type of UpdateDiscussionComment. 1939type UpdateDiscussionCommentInput struct { 1940 // The Node ID of the discussion comment to update. (Required.) 1941 CommentID ID `json:"commentId"` 1942 // The new contents of the comment body. (Required.) 1943 Body String `json:"body"` 1944 1945 // A unique identifier for the client performing the mutation. (Optional.) 1946 ClientMutationID *String `json:"clientMutationId,omitempty"` 1947} 1948 1949// UpdateDiscussionInput is an autogenerated input type of UpdateDiscussion. 1950type UpdateDiscussionInput struct { 1951 // The Node ID of the discussion to update. (Required.) 1952 DiscussionID ID `json:"discussionId"` 1953 1954 // The new discussion title. (Optional.) 1955 Title *String `json:"title,omitempty"` 1956 // The new contents of the discussion body. (Optional.) 1957 Body *String `json:"body,omitempty"` 1958 // The Node ID of a discussion category within the same repository to change this discussion to. (Optional.) 1959 CategoryID *ID `json:"categoryId,omitempty"` 1960 // A unique identifier for the client performing the mutation. (Optional.) 1961 ClientMutationID *String `json:"clientMutationId,omitempty"` 1962} 1963 1964// UpdateEnterpriseAdministratorRoleInput is an autogenerated input type of UpdateEnterpriseAdministratorRole. 1965type UpdateEnterpriseAdministratorRoleInput struct { 1966 // The ID of the Enterprise which the admin belongs to. (Required.) 1967 EnterpriseID ID `json:"enterpriseId"` 1968 // The login of a administrator whose role is being changed. (Required.) 1969 Login String `json:"login"` 1970 // The new role for the Enterprise administrator. (Required.) 1971 Role EnterpriseAdministratorRole `json:"role"` 1972 1973 // A unique identifier for the client performing the mutation. (Optional.) 1974 ClientMutationID *String `json:"clientMutationId,omitempty"` 1975} 1976 1977// UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput is an autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting. 1978type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput struct { 1979 // The ID of the enterprise on which to set the allow private repository forking setting. (Required.) 1980 EnterpriseID ID `json:"enterpriseId"` 1981 // The value for the allow private repository forking setting on the enterprise. (Required.) 1982 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 1983 1984 // A unique identifier for the client performing the mutation. (Optional.) 1985 ClientMutationID *String `json:"clientMutationId,omitempty"` 1986} 1987 1988// UpdateEnterpriseDefaultRepositoryPermissionSettingInput is an autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting. 1989type UpdateEnterpriseDefaultRepositoryPermissionSettingInput struct { 1990 // The ID of the enterprise on which to set the base repository permission setting. (Required.) 1991 EnterpriseID ID `json:"enterpriseId"` 1992 // The value for the base repository permission setting on the enterprise. (Required.) 1993 SettingValue EnterpriseDefaultRepositoryPermissionSettingValue `json:"settingValue"` 1994 1995 // A unique identifier for the client performing the mutation. (Optional.) 1996 ClientMutationID *String `json:"clientMutationId,omitempty"` 1997} 1998 1999// UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput is an autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting. 2000type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput struct { 2001 // The ID of the enterprise on which to set the members can change repository visibility setting. (Required.) 2002 EnterpriseID ID `json:"enterpriseId"` 2003 // The value for the members can change repository visibility setting on the enterprise. (Required.) 2004 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2005 2006 // A unique identifier for the client performing the mutation. (Optional.) 2007 ClientMutationID *String `json:"clientMutationId,omitempty"` 2008} 2009 2010// UpdateEnterpriseMembersCanCreateRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting. 2011type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput struct { 2012 // The ID of the enterprise on which to set the members can create repositories setting. (Required.) 2013 EnterpriseID ID `json:"enterpriseId"` 2014 2015 // 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.) 2016 SettingValue *EnterpriseMembersCanCreateRepositoriesSettingValue `json:"settingValue,omitempty"` 2017 // When false, allow member organizations to set their own repository creation member privileges. (Optional.) 2018 MembersCanCreateRepositoriesPolicyEnabled *Boolean `json:"membersCanCreateRepositoriesPolicyEnabled,omitempty"` 2019 // Allow members to create public repositories. Defaults to current value. (Optional.) 2020 MembersCanCreatePublicRepositories *Boolean `json:"membersCanCreatePublicRepositories,omitempty"` 2021 // Allow members to create private repositories. Defaults to current value. (Optional.) 2022 MembersCanCreatePrivateRepositories *Boolean `json:"membersCanCreatePrivateRepositories,omitempty"` 2023 // Allow members to create internal repositories. Defaults to current value. (Optional.) 2024 MembersCanCreateInternalRepositories *Boolean `json:"membersCanCreateInternalRepositories,omitempty"` 2025 // A unique identifier for the client performing the mutation. (Optional.) 2026 ClientMutationID *String `json:"clientMutationId,omitempty"` 2027} 2028 2029// UpdateEnterpriseMembersCanDeleteIssuesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting. 2030type UpdateEnterpriseMembersCanDeleteIssuesSettingInput struct { 2031 // The ID of the enterprise on which to set the members can delete issues setting. (Required.) 2032 EnterpriseID ID `json:"enterpriseId"` 2033 // The value for the members can delete issues setting on the enterprise. (Required.) 2034 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2035 2036 // A unique identifier for the client performing the mutation. (Optional.) 2037 ClientMutationID *String `json:"clientMutationId,omitempty"` 2038} 2039 2040// UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting. 2041type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput struct { 2042 // The ID of the enterprise on which to set the members can delete repositories setting. (Required.) 2043 EnterpriseID ID `json:"enterpriseId"` 2044 // The value for the members can delete repositories setting on the enterprise. (Required.) 2045 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2046 2047 // A unique identifier for the client performing the mutation. (Optional.) 2048 ClientMutationID *String `json:"clientMutationId,omitempty"` 2049} 2050 2051// UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting. 2052type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput struct { 2053 // The ID of the enterprise on which to set the members can invite collaborators setting. (Required.) 2054 EnterpriseID ID `json:"enterpriseId"` 2055 // The value for the members can invite collaborators setting on the enterprise. (Required.) 2056 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2057 2058 // A unique identifier for the client performing the mutation. (Optional.) 2059 ClientMutationID *String `json:"clientMutationId,omitempty"` 2060} 2061 2062// UpdateEnterpriseMembersCanMakePurchasesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting. 2063type UpdateEnterpriseMembersCanMakePurchasesSettingInput struct { 2064 // The ID of the enterprise on which to set the members can make purchases setting. (Required.) 2065 EnterpriseID ID `json:"enterpriseId"` 2066 // The value for the members can make purchases setting on the enterprise. (Required.) 2067 SettingValue EnterpriseMembersCanMakePurchasesSettingValue `json:"settingValue"` 2068 2069 // A unique identifier for the client performing the mutation. (Optional.) 2070 ClientMutationID *String `json:"clientMutationId,omitempty"` 2071} 2072 2073// UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting. 2074type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput struct { 2075 // The ID of the enterprise on which to set the members can update protected branches setting. (Required.) 2076 EnterpriseID ID `json:"enterpriseId"` 2077 // The value for the members can update protected branches setting on the enterprise. (Required.) 2078 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2079 2080 // A unique identifier for the client performing the mutation. (Optional.) 2081 ClientMutationID *String `json:"clientMutationId,omitempty"` 2082} 2083 2084// UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput is an autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting. 2085type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput struct { 2086 // The ID of the enterprise on which to set the members can view dependency insights setting. (Required.) 2087 EnterpriseID ID `json:"enterpriseId"` 2088 // The value for the members can view dependency insights setting on the enterprise. (Required.) 2089 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2090 2091 // A unique identifier for the client performing the mutation. (Optional.) 2092 ClientMutationID *String `json:"clientMutationId,omitempty"` 2093} 2094 2095// UpdateEnterpriseOrganizationProjectsSettingInput is an autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting. 2096type UpdateEnterpriseOrganizationProjectsSettingInput struct { 2097 // The ID of the enterprise on which to set the organization projects setting. (Required.) 2098 EnterpriseID ID `json:"enterpriseId"` 2099 // The value for the organization projects setting on the enterprise. (Required.) 2100 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2101 2102 // A unique identifier for the client performing the mutation. (Optional.) 2103 ClientMutationID *String `json:"clientMutationId,omitempty"` 2104} 2105 2106// UpdateEnterpriseProfileInput is an autogenerated input type of UpdateEnterpriseProfile. 2107type UpdateEnterpriseProfileInput struct { 2108 // The Enterprise ID to update. (Required.) 2109 EnterpriseID ID `json:"enterpriseId"` 2110 2111 // The name of the enterprise. (Optional.) 2112 Name *String `json:"name,omitempty"` 2113 // The description of the enterprise. (Optional.) 2114 Description *String `json:"description,omitempty"` 2115 // The URL of the enterprise's website. (Optional.) 2116 WebsiteURL *String `json:"websiteUrl,omitempty"` 2117 // The location of the enterprise. (Optional.) 2118 Location *String `json:"location,omitempty"` 2119 // A unique identifier for the client performing the mutation. (Optional.) 2120 ClientMutationID *String `json:"clientMutationId,omitempty"` 2121} 2122 2123// UpdateEnterpriseRepositoryProjectsSettingInput is an autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting. 2124type UpdateEnterpriseRepositoryProjectsSettingInput struct { 2125 // The ID of the enterprise on which to set the repository projects setting. (Required.) 2126 EnterpriseID ID `json:"enterpriseId"` 2127 // The value for the repository projects setting on the enterprise. (Required.) 2128 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2129 2130 // A unique identifier for the client performing the mutation. (Optional.) 2131 ClientMutationID *String `json:"clientMutationId,omitempty"` 2132} 2133 2134// UpdateEnterpriseTeamDiscussionsSettingInput is an autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting. 2135type UpdateEnterpriseTeamDiscussionsSettingInput struct { 2136 // The ID of the enterprise on which to set the team discussions setting. (Required.) 2137 EnterpriseID ID `json:"enterpriseId"` 2138 // The value for the team discussions setting on the enterprise. (Required.) 2139 SettingValue EnterpriseEnabledDisabledSettingValue `json:"settingValue"` 2140 2141 // A unique identifier for the client performing the mutation. (Optional.) 2142 ClientMutationID *String `json:"clientMutationId,omitempty"` 2143} 2144 2145// UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput is an autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting. 2146type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput struct { 2147 // The ID of the enterprise on which to set the two factor authentication required setting. (Required.) 2148 EnterpriseID ID `json:"enterpriseId"` 2149 // The value for the two factor authentication required setting on the enterprise. (Required.) 2150 SettingValue EnterpriseEnabledSettingValue `json:"settingValue"` 2151 2152 // A unique identifier for the client performing the mutation. (Optional.) 2153 ClientMutationID *String `json:"clientMutationId,omitempty"` 2154} 2155 2156// UpdateEnvironmentInput is an autogenerated input type of UpdateEnvironment. 2157type UpdateEnvironmentInput struct { 2158 // The node ID of the environment. (Required.) 2159 EnvironmentID ID `json:"environmentId"` 2160 2161 // The wait timer in minutes. (Optional.) 2162 WaitTimer *Int `json:"waitTimer,omitempty"` 2163 // The ids of users or teams that can approve deployments to this environment. (Optional.) 2164 Reviewers *[]ID `json:"reviewers,omitempty"` 2165 // A unique identifier for the client performing the mutation. (Optional.) 2166 ClientMutationID *String `json:"clientMutationId,omitempty"` 2167} 2168 2169// UpdateIpAllowListEnabledSettingInput is an autogenerated input type of UpdateIpAllowListEnabledSetting. 2170type UpdateIpAllowListEnabledSettingInput struct { 2171 // The ID of the owner on which to set the IP allow list enabled setting. (Required.) 2172 OwnerID ID `json:"ownerId"` 2173 // The value for the IP allow list enabled setting. (Required.) 2174 SettingValue IpAllowListEnabledSettingValue `json:"settingValue"` 2175 2176 // A unique identifier for the client performing the mutation. (Optional.) 2177 ClientMutationID *String `json:"clientMutationId,omitempty"` 2178} 2179 2180// UpdateIpAllowListEntryInput is an autogenerated input type of UpdateIpAllowListEntry. 2181type UpdateIpAllowListEntryInput struct { 2182 // The ID of the IP allow list entry to update. (Required.) 2183 IPAllowListEntryID ID `json:"ipAllowListEntryId"` 2184 // An IP address or range of addresses in CIDR notation. (Required.) 2185 AllowListValue String `json:"allowListValue"` 2186 // Whether the IP allow list entry is active when an IP allow list is enabled. (Required.) 2187 IsActive Boolean `json:"isActive"` 2188 2189 // An optional name for the IP allow list entry. (Optional.) 2190 Name *String `json:"name,omitempty"` 2191 // A unique identifier for the client performing the mutation. (Optional.) 2192 ClientMutationID *String `json:"clientMutationId,omitempty"` 2193} 2194 2195// UpdateIpAllowListForInstalledAppsEnabledSettingInput is an autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting. 2196type UpdateIpAllowListForInstalledAppsEnabledSettingInput struct { 2197 // The ID of the owner. (Required.) 2198 OwnerID ID `json:"ownerId"` 2199 // The value for the IP allow list configuration for installed GitHub Apps setting. (Required.) 2200 SettingValue IpAllowListForInstalledAppsEnabledSettingValue `json:"settingValue"` 2201 2202 // A unique identifier for the client performing the mutation. (Optional.) 2203 ClientMutationID *String `json:"clientMutationId,omitempty"` 2204} 2205 2206// UpdateIssueCommentInput is an autogenerated input type of UpdateIssueComment. 2207type UpdateIssueCommentInput struct { 2208 // The ID of the IssueComment to modify. (Required.) 2209 ID ID `json:"id"` 2210 // The updated text of the comment. (Required.) 2211 Body String `json:"body"` 2212 2213 // A unique identifier for the client performing the mutation. (Optional.) 2214 ClientMutationID *String `json:"clientMutationId,omitempty"` 2215} 2216 2217// UpdateIssueInput is an autogenerated input type of UpdateIssue. 2218type UpdateIssueInput struct { 2219 // The ID of the Issue to modify. (Required.) 2220 ID ID `json:"id"` 2221 2222 // The title for the issue. (Optional.) 2223 Title *String `json:"title,omitempty"` 2224 // The body for the issue description. (Optional.) 2225 Body *String `json:"body,omitempty"` 2226 // An array of Node IDs of users for this issue. (Optional.) 2227 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 2228 // The Node ID of the milestone for this issue. (Optional.) 2229 MilestoneID *ID `json:"milestoneId,omitempty"` 2230 // An array of Node IDs of labels for this issue. (Optional.) 2231 LabelIDs *[]ID `json:"labelIds,omitempty"` 2232 // The desired issue state. (Optional.) 2233 State *IssueState `json:"state,omitempty"` 2234 // An array of Node IDs for projects associated with this issue. (Optional.) 2235 ProjectIDs *[]ID `json:"projectIds,omitempty"` 2236 // A unique identifier for the client performing the mutation. (Optional.) 2237 ClientMutationID *String `json:"clientMutationId,omitempty"` 2238} 2239 2240// UpdateNotificationRestrictionSettingInput is an autogenerated input type of UpdateNotificationRestrictionSetting. 2241type UpdateNotificationRestrictionSettingInput struct { 2242 // The ID of the owner on which to set the restrict notifications setting. (Required.) 2243 OwnerID ID `json:"ownerId"` 2244 // The value for the restrict notifications setting. (Required.) 2245 SettingValue NotificationRestrictionSettingValue `json:"settingValue"` 2246 2247 // A unique identifier for the client performing the mutation. (Optional.) 2248 ClientMutationID *String `json:"clientMutationId,omitempty"` 2249} 2250 2251// UpdateProjectCardInput is an autogenerated input type of UpdateProjectCard. 2252type UpdateProjectCardInput struct { 2253 // The ProjectCard ID to update. (Required.) 2254 ProjectCardID ID `json:"projectCardId"` 2255 2256 // Whether or not the ProjectCard should be archived. (Optional.) 2257 IsArchived *Boolean `json:"isArchived,omitempty"` 2258 // The note of ProjectCard. (Optional.) 2259 Note *String `json:"note,omitempty"` 2260 // A unique identifier for the client performing the mutation. (Optional.) 2261 ClientMutationID *String `json:"clientMutationId,omitempty"` 2262} 2263 2264// UpdateProjectColumnInput is an autogenerated input type of UpdateProjectColumn. 2265type UpdateProjectColumnInput struct { 2266 // The ProjectColumn ID to update. (Required.) 2267 ProjectColumnID ID `json:"projectColumnId"` 2268 // The name of project column. (Required.) 2269 Name String `json:"name"` 2270 2271 // A unique identifier for the client performing the mutation. (Optional.) 2272 ClientMutationID *String `json:"clientMutationId,omitempty"` 2273} 2274 2275// UpdateProjectInput is an autogenerated input type of UpdateProject. 2276type UpdateProjectInput struct { 2277 // The Project ID to update. (Required.) 2278 ProjectID ID `json:"projectId"` 2279 2280 // The name of project. (Optional.) 2281 Name *String `json:"name,omitempty"` 2282 // The description of project. (Optional.) 2283 Body *String `json:"body,omitempty"` 2284 // Whether the project is open or closed. (Optional.) 2285 State *ProjectState `json:"state,omitempty"` 2286 // Whether the project is public or not. (Optional.) 2287 Public *Boolean `json:"public,omitempty"` 2288 // A unique identifier for the client performing the mutation. (Optional.) 2289 ClientMutationID *String `json:"clientMutationId,omitempty"` 2290} 2291 2292// UpdatePullRequestInput is an autogenerated input type of UpdatePullRequest. 2293type UpdatePullRequestInput struct { 2294 // The Node ID of the pull request. (Required.) 2295 PullRequestID ID `json:"pullRequestId"` 2296 2297 // The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. (Optional.) 2298 BaseRefName *String `json:"baseRefName,omitempty"` 2299 // The title of the pull request. (Optional.) 2300 Title *String `json:"title,omitempty"` 2301 // The contents of the pull request. (Optional.) 2302 Body *String `json:"body,omitempty"` 2303 // The target state of the pull request. (Optional.) 2304 State *PullRequestUpdateState `json:"state,omitempty"` 2305 // Indicates whether maintainers can modify the pull request. (Optional.) 2306 MaintainerCanModify *Boolean `json:"maintainerCanModify,omitempty"` 2307 // An array of Node IDs of users for this pull request. (Optional.) 2308 AssigneeIDs *[]ID `json:"assigneeIds,omitempty"` 2309 // The Node ID of the milestone for this pull request. (Optional.) 2310 MilestoneID *ID `json:"milestoneId,omitempty"` 2311 // An array of Node IDs of labels for this pull request. (Optional.) 2312 LabelIDs *[]ID `json:"labelIds,omitempty"` 2313 // An array of Node IDs for projects associated with this pull request. (Optional.) 2314 ProjectIDs *[]ID `json:"projectIds,omitempty"` 2315 // A unique identifier for the client performing the mutation. (Optional.) 2316 ClientMutationID *String `json:"clientMutationId,omitempty"` 2317} 2318 2319// UpdatePullRequestReviewCommentInput is an autogenerated input type of UpdatePullRequestReviewComment. 2320type UpdatePullRequestReviewCommentInput struct { 2321 // The Node ID of the comment to modify. (Required.) 2322 PullRequestReviewCommentID ID `json:"pullRequestReviewCommentId"` 2323 // The text of the comment. (Required.) 2324 Body String `json:"body"` 2325 2326 // A unique identifier for the client performing the mutation. (Optional.) 2327 ClientMutationID *String `json:"clientMutationId,omitempty"` 2328} 2329 2330// UpdatePullRequestReviewInput is an autogenerated input type of UpdatePullRequestReview. 2331type UpdatePullRequestReviewInput struct { 2332 // The Node ID of the pull request review to modify. (Required.) 2333 PullRequestReviewID ID `json:"pullRequestReviewId"` 2334 // The contents of the pull request review body. (Required.) 2335 Body String `json:"body"` 2336 2337 // A unique identifier for the client performing the mutation. (Optional.) 2338 ClientMutationID *String `json:"clientMutationId,omitempty"` 2339} 2340 2341// UpdateRefInput is an autogenerated input type of UpdateRef. 2342type UpdateRefInput struct { 2343 // The Node ID of the Ref to be updated. (Required.) 2344 RefID ID `json:"refId"` 2345 // The GitObjectID that the Ref shall be updated to target. (Required.) 2346 Oid GitObjectID `json:"oid"` 2347 2348 // Permit updates of branch Refs that are not fast-forwards?. (Optional.) 2349 Force *Boolean `json:"force,omitempty"` 2350 // A unique identifier for the client performing the mutation. (Optional.) 2351 ClientMutationID *String `json:"clientMutationId,omitempty"` 2352} 2353 2354// UpdateRepositoryInput is an autogenerated input type of UpdateRepository. 2355type UpdateRepositoryInput struct { 2356 // The ID of the repository to update. (Required.) 2357 RepositoryID ID `json:"repositoryId"` 2358 2359 // The new name of the repository. (Optional.) 2360 Name *String `json:"name,omitempty"` 2361 // A new description for the repository. Pass an empty string to erase the existing description. (Optional.) 2362 Description *String `json:"description,omitempty"` 2363 // 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.) 2364 Template *Boolean `json:"template,omitempty"` 2365 // The URL for a web page about this repository. Pass an empty string to erase the existing URL. (Optional.) 2366 HomepageURL *URI `json:"homepageUrl,omitempty"` 2367 // Indicates if the repository should have the wiki feature enabled. (Optional.) 2368 HasWikiEnabled *Boolean `json:"hasWikiEnabled,omitempty"` 2369 // Indicates if the repository should have the issues feature enabled. (Optional.) 2370 HasIssuesEnabled *Boolean `json:"hasIssuesEnabled,omitempty"` 2371 // Indicates if the repository should have the project boards feature enabled. (Optional.) 2372 HasProjectsEnabled *Boolean `json:"hasProjectsEnabled,omitempty"` 2373 // A unique identifier for the client performing the mutation. (Optional.) 2374 ClientMutationID *String `json:"clientMutationId,omitempty"` 2375} 2376 2377// UpdateSubscriptionInput is an autogenerated input type of UpdateSubscription. 2378type UpdateSubscriptionInput struct { 2379 // The Node ID of the subscribable object to modify. (Required.) 2380 SubscribableID ID `json:"subscribableId"` 2381 // The new state of the subscription. (Required.) 2382 State SubscriptionState `json:"state"` 2383 2384 // A unique identifier for the client performing the mutation. (Optional.) 2385 ClientMutationID *String `json:"clientMutationId,omitempty"` 2386} 2387 2388// UpdateTeamDiscussionCommentInput is an autogenerated input type of UpdateTeamDiscussionComment. 2389type UpdateTeamDiscussionCommentInput struct { 2390 // The ID of the comment to modify. (Required.) 2391 ID ID `json:"id"` 2392 // The updated text of the comment. (Required.) 2393 Body String `json:"body"` 2394 2395 // The current version of the body content. (Optional.) 2396 BodyVersion *String `json:"bodyVersion,omitempty"` 2397 // A unique identifier for the client performing the mutation. (Optional.) 2398 ClientMutationID *String `json:"clientMutationId,omitempty"` 2399} 2400 2401// UpdateTeamDiscussionInput is an autogenerated input type of UpdateTeamDiscussion. 2402type UpdateTeamDiscussionInput struct { 2403 // The Node ID of the discussion to modify. (Required.) 2404 ID ID `json:"id"` 2405 2406 // The updated title of the discussion. (Optional.) 2407 Title *String `json:"title,omitempty"` 2408 // The updated text of the discussion. (Optional.) 2409 Body *String `json:"body,omitempty"` 2410 // 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.) 2411 BodyVersion *String `json:"bodyVersion,omitempty"` 2412 // If provided, sets the pinned state of the updated discussion. (Optional.) 2413 Pinned *Boolean `json:"pinned,omitempty"` 2414 // A unique identifier for the client performing the mutation. (Optional.) 2415 ClientMutationID *String `json:"clientMutationId,omitempty"` 2416} 2417 2418// UpdateTopicsInput is an autogenerated input type of UpdateTopics. 2419type UpdateTopicsInput struct { 2420 // The Node ID of the repository. (Required.) 2421 RepositoryID ID `json:"repositoryId"` 2422 // An array of topic names. (Required.) 2423 TopicNames []String `json:"topicNames"` 2424 2425 // A unique identifier for the client performing the mutation. (Optional.) 2426 ClientMutationID *String `json:"clientMutationId,omitempty"` 2427} 2428 2429// UserStatusOrder represents ordering options for user status connections. 2430type UserStatusOrder struct { 2431 // The field to order user statuses by. (Required.) 2432 Field UserStatusOrderField `json:"field"` 2433 // The ordering direction. (Required.) 2434 Direction OrderDirection `json:"direction"` 2435} 2436 2437// VerifiableDomainOrder represents ordering options for verifiable domain connections. 2438type VerifiableDomainOrder struct { 2439 // The field to order verifiable domains by. (Required.) 2440 Field VerifiableDomainOrderField `json:"field"` 2441 // The ordering direction. (Required.) 2442 Direction OrderDirection `json:"direction"` 2443} 2444 2445// VerifyVerifiableDomainInput is an autogenerated input type of VerifyVerifiableDomain. 2446type VerifyVerifiableDomainInput struct { 2447 // The ID of the verifiable domain to verify. (Required.) 2448 ID ID `json:"id"` 2449 2450 // A unique identifier for the client performing the mutation. (Optional.) 2451 ClientMutationID *String `json:"clientMutationId,omitempty"` 2452} 2453