Skip to content

Commit 8d49f20

Browse files
Updating the schema
1 parent 907c1a8 commit 8d49f20

File tree

4 files changed

+6
-25
lines changed

4 files changed

+6
-25
lines changed

Octokit.GraphQL/Model/Deployment.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ public Deployment(Expression expression) : base(expression)
5757
/// </summary>
5858
public string Payload { get; }
5959

60+
/// <summary>
61+
/// Identifies the Ref of the deployment, if the deployment was created by ref.
62+
/// </summary>
63+
public Ref Ref => this.CreateProperty(x => x.Ref, Octokit.GraphQL.Model.Ref.Create);
64+
6065
/// <summary>
6166
/// Identifies the repository associated with the deployment.
6267
/// </summary>

Octokit.GraphQL/Model/IssueTimelineItemsItemType.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ public enum IssueTimelineItemsItemType
7171
[EnumMember(Value = "LOCKED_EVENT")]
7272
LockedEvent,
7373

74-
/// <summary>
75-
/// Represents a 'marked_as_duplicate' event on a given issue or pull request.
76-
/// </summary>
77-
[EnumMember(Value = "MARKED_AS_DUPLICATE_EVENT")]
78-
MarkedAsDuplicateEvent,
79-
8074
/// <summary>
8175
/// Represents a 'mentioned' event on a given issue or pull request.
8276
/// </summary>
@@ -143,12 +137,6 @@ public enum IssueTimelineItemsItemType
143137
[EnumMember(Value = "UNLOCKED_EVENT")]
144138
UnlockedEvent,
145139

146-
/// <summary>
147-
/// Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
148-
/// </summary>
149-
[EnumMember(Value = "UNMARKED_AS_DUPLICATE_EVENT")]
150-
UnmarkedAsDuplicateEvent,
151-
152140
/// <summary>
153141
/// Represents an 'unsubscribed' event on a given `Subscribable`.
154142
/// </summary>

Octokit.GraphQL/Model/ProtectedBranch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public ProtectedBranch(Expression expression) : base(expression)
5858
public bool IsAdminEnforced { get; }
5959

6060
/// <summary>
61-
/// Identifies the name of the protected branch.
61+
/// The name of the protected branch rule.
6262
/// </summary>
6363
public string Name { get; }
6464

Octokit.GraphQL/Model/PullRequestTimelineItemsItemType.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,6 @@ public enum PullRequestTimelineItemsItemType
167167
[EnumMember(Value = "LOCKED_EVENT")]
168168
LockedEvent,
169169

170-
/// <summary>
171-
/// Represents a 'marked_as_duplicate' event on a given issue or pull request.
172-
/// </summary>
173-
[EnumMember(Value = "MARKED_AS_DUPLICATE_EVENT")]
174-
MarkedAsDuplicateEvent,
175-
176170
/// <summary>
177171
/// Represents a 'mentioned' event on a given issue or pull request.
178172
/// </summary>
@@ -239,12 +233,6 @@ public enum PullRequestTimelineItemsItemType
239233
[EnumMember(Value = "UNLOCKED_EVENT")]
240234
UnlockedEvent,
241235

242-
/// <summary>
243-
/// Represents an 'unmarked_as_duplicate' event on a given issue or pull request.
244-
/// </summary>
245-
[EnumMember(Value = "UNMARKED_AS_DUPLICATE_EVENT")]
246-
UnmarkedAsDuplicateEvent,
247-
248236
/// <summary>
249237
/// Represents an 'unsubscribed' event on a given `Subscribable`.
250238
/// </summary>

0 commit comments

Comments
 (0)