Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Generate Models in OctoKit.GraphQL to introduce new Repository.PlannedFeatures model #316

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Octokit.GraphQL/Model/AbortQueuedMigrationsInput.cs
Expand Up @@ -9,13 +9,13 @@ namespace Octokit.GraphQL.Model
public class AbortQueuedMigrationsInput
{
/// <summary>
/// The ID of the organization that is running the migrations.
/// A unique identifier for the client performing the mutation.
/// </summary>
public ID OwnerId { get; set; }
public string ClientMutationId { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// The ID of the organization that is running the migrations.
/// </summary>
public string ClientMutationId { get; set; }
public ID OwnerId { get; set; }
}
}
8 changes: 4 additions & 4 deletions Octokit.GraphQL/Model/AbortRepositoryMigrationInput.cs
Expand Up @@ -9,13 +9,13 @@ namespace Octokit.GraphQL.Model
public class AbortRepositoryMigrationInput
{
/// <summary>
/// The ID of the migration to be aborted.
/// A unique identifier for the client performing the mutation.
/// </summary>
public ID MigrationId { get; set; }
public string ClientMutationId { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// The ID of the migration to be aborted.
/// </summary>
public string ClientMutationId { get; set; }
public ID MigrationId { get; set; }
}
}
Expand Up @@ -9,13 +9,13 @@ namespace Octokit.GraphQL.Model
public class AcceptEnterpriseAdministratorInvitationInput
{
/// <summary>
/// The id of the invitation being accepted
/// A unique identifier for the client performing the mutation.
/// </summary>
public ID InvitationId { get; set; }
public string ClientMutationId { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// The id of the invitation being accepted
/// </summary>
public string ClientMutationId { get; set; }
public ID InvitationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AcceptTopicSuggestionInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AcceptTopicSuggestionInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the repository.
/// **Upcoming Change on 2024-04-01 UTC**
Expand All @@ -23,10 +28,5 @@ public class AcceptTopicSuggestionInput
/// **Reason:** Suggested topics are no longer supported
/// </summary>
public string Name { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddAssigneesToAssignableInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddAssigneesToAssignableInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The id of the assignable object to add assignees to.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddAssigneesToAssignableInput
/// The id of users to add as assignees.
/// </summary>
public IEnumerable<ID> AssigneeIds { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddCommentInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddCommentInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the subject to modify.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddCommentInput
/// The contents of the comment.
/// </summary>
public string Body { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddDiscussionCommentInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddDiscussionCommentInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the discussion to comment on.
/// </summary>
Expand All @@ -22,10 +27,5 @@ public class AddDiscussionCommentInput
/// The contents of the comment.
/// </summary>
public string Body { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
8 changes: 4 additions & 4 deletions Octokit.GraphQL/Model/AddDiscussionPollVoteInput.cs
Expand Up @@ -9,13 +9,13 @@ namespace Octokit.GraphQL.Model
public class AddDiscussionPollVoteInput
{
/// <summary>
/// The Node ID of the discussion poll option to vote for.
/// A unique identifier for the client performing the mutation.
/// </summary>
public ID PollOptionId { get; set; }
public string ClientMutationId { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// The Node ID of the discussion poll option to vote for.
/// </summary>
public string ClientMutationId { get; set; }
public ID PollOptionId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddEnterpriseOrganizationMemberInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddEnterpriseOrganizationMemberInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The ID of the enterprise which owns the organization.
/// </summary>
Expand All @@ -27,10 +32,5 @@ public class AddEnterpriseOrganizationMemberInput
/// The role to assign the users in the organization
/// </summary>
public OrganizationMemberRole? Role { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddEnterpriseSupportEntitlementInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddEnterpriseSupportEntitlementInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The ID of the Enterprise which the admin belongs to.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddEnterpriseSupportEntitlementInput
/// The login of a member who will receive the support entitlement.
/// </summary>
public string Login { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddLabelsToLabelableInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddLabelsToLabelableInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The id of the labelable object to add labels to.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddLabelsToLabelableInput
/// The ids of the labels to add.
/// </summary>
public IEnumerable<ID> LabelIds { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddProjectCardInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddProjectCardInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the ProjectColumn.
/// </summary>
Expand All @@ -22,10 +27,5 @@ public class AddProjectCardInput
/// The note on the card.
/// </summary>
public string Note { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddProjectColumnInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddProjectColumnInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the project.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddProjectColumnInput
/// The name of the column.
/// </summary>
public string Name { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddProjectV2DraftIssueInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddProjectV2DraftIssueInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The ID of the Project to add the draft issue to.
/// </summary>
Expand All @@ -27,10 +32,5 @@ public class AddProjectV2DraftIssueInput
/// The IDs of the assignees of the draft issue.
/// </summary>
public IEnumerable<ID> AssigneeIds { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddProjectV2ItemByIdInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddProjectV2ItemByIdInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The ID of the Project to add the item to.
/// </summary>
Expand All @@ -17,10 +22,5 @@ public class AddProjectV2ItemByIdInput
/// The id of the Issue or Pull Request to add.
/// </summary>
public ID ContentId { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddPullRequestReviewCommentInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddPullRequestReviewCommentInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The node ID of the pull request reviewing
/// **Upcoming Change on 2023-10-01 UTC**
Expand Down Expand Up @@ -63,10 +68,5 @@ public class AddPullRequestReviewCommentInput
/// **Reason:** We are deprecating the addPullRequestReviewComment mutation
/// </summary>
public ID? InReplyTo { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}
10 changes: 5 additions & 5 deletions Octokit.GraphQL/Model/AddPullRequestReviewInput.cs
Expand Up @@ -8,6 +8,11 @@ namespace Octokit.GraphQL.Model
/// </summary>
public class AddPullRequestReviewInput
{
/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }

/// <summary>
/// The Node ID of the pull request to modify.
/// </summary>
Expand Down Expand Up @@ -40,10 +45,5 @@ public class AddPullRequestReviewInput
/// The review line comment threads.
/// </summary>
public IEnumerable<DraftPullRequestReviewThread> Threads { get; set; }

/// <summary>
/// A unique identifier for the client performing the mutation.
/// </summary>
public string ClientMutationId { get; set; }
}
}