@@ -12887,6 +12887,7 @@ public final class IssueOrPullRequestQuery: GraphQLQuery {
12887
12887
GraphQLField("state", type: .nonNull(.scalar(StatusState.self))),
12888
12888
GraphQLField("creator", type: .object(Creator.selections)),
12889
12889
GraphQLField("description", type: .scalar(String.self)),
12890
+ GraphQLField("targetUrl", type: .scalar(String.self)),
12890
12891
]
12891
12892
12892
12893
public var snapshot: Snapshot
@@ -12895,8 +12896,8 @@ public final class IssueOrPullRequestQuery: GraphQLQuery {
12895
12896
self.snapshot = snapshot
12896
12897
}
12897
12898
12898
- public init(id: GraphQLID, context: String, state: StatusState, creator: Creator? = nil, description: String? = nil) {
12899
- self.init(snapshot: ["__typename": "StatusContext", "id": id, "context": context, "state": state, "creator": creator.flatMap { (value: Creator) -> Snapshot in value.snapshot }, "description": description])
12899
+ public init(id: GraphQLID, context: String, state: StatusState, creator: Creator? = nil, description: String? = nil, targetUrl: String? = nil ) {
12900
+ self.init(snapshot: ["__typename": "StatusContext", "id": id, "context": context, "state": state, "creator": creator.flatMap { (value: Creator) -> Snapshot in value.snapshot }, "description": description, "targetUrl": targetUrl ])
12900
12901
}
12901
12902
12902
12903
public var __typename: String {
@@ -12957,6 +12958,16 @@ public final class IssueOrPullRequestQuery: GraphQLQuery {
12957
12958
}
12958
12959
}
12959
12960
12961
+ /// The URL for this status context.
12962
+ public var targetUrl: String? {
12963
+ get {
12964
+ return snapshot["targetUrl"] as? String
12965
+ }
12966
+ set {
12967
+ snapshot.updateValue(newValue, forKey: "targetUrl")
12968
+ }
12969
+ }
12970
+
12960
12971
public struct Creator: GraphQLSelectionSet {
12961
12972
public static let possibleTypes = ["Organization", "User", "Bot"]
12962
12973
@@ -18488,7 +18499,7 @@ public struct RepoEventFields: GraphQLFragment {
18488
18499
18489
18500
public struct CommitContext: GraphQLFragment {
18490
18501
public static let fragmentString =
18491
- "fragment commitContext on Commit {\n __typename\n id\n status {\n __typename\n contexts {\n __typename\n id\n context\n state\n creator {\n __typename\n login\n avatarUrl\n }\n description\n }\n state\n }\n}"
18502
+ "fragment commitContext on Commit {\n __typename\n id\n status {\n __typename\n contexts {\n __typename\n id\n context\n state\n creator {\n __typename\n login\n avatarUrl\n }\n description\n targetUrl\n }\n state\n }\n}"
18492
18503
18493
18504
public static let possibleTypes = ["Commit"]
18494
18505
@@ -18594,6 +18605,7 @@ public struct CommitContext: GraphQLFragment {
18594
18605
GraphQLField("state", type: .nonNull(.scalar(StatusState.self))),
18595
18606
GraphQLField("creator", type: .object(Creator.selections)),
18596
18607
GraphQLField("description", type: .scalar(String.self)),
18608
+ GraphQLField("targetUrl", type: .scalar(String.self)),
18597
18609
]
18598
18610
18599
18611
public var snapshot: Snapshot
@@ -18602,8 +18614,8 @@ public struct CommitContext: GraphQLFragment {
18602
18614
self.snapshot = snapshot
18603
18615
}
18604
18616
18605
- public init(id: GraphQLID, context: String, state: StatusState, creator: Creator? = nil, description: String? = nil) {
18606
- self.init(snapshot: ["__typename": "StatusContext", "id": id, "context": context, "state": state, "creator": creator.flatMap { (value: Creator) -> Snapshot in value.snapshot }, "description": description])
18617
+ public init(id: GraphQLID, context: String, state: StatusState, creator: Creator? = nil, description: String? = nil, targetUrl: String? = nil ) {
18618
+ self.init(snapshot: ["__typename": "StatusContext", "id": id, "context": context, "state": state, "creator": creator.flatMap { (value: Creator) -> Snapshot in value.snapshot }, "description": description, "targetUrl": targetUrl ])
18607
18619
}
18608
18620
18609
18621
public var __typename: String {
@@ -18664,6 +18676,16 @@ public struct CommitContext: GraphQLFragment {
18664
18676
}
18665
18677
}
18666
18678
18679
+ /// The URL for this status context.
18680
+ public var targetUrl: String? {
18681
+ get {
18682
+ return snapshot["targetUrl"] as? String
18683
+ }
18684
+ set {
18685
+ snapshot.updateValue(newValue, forKey: "targetUrl")
18686
+ }
18687
+ }
18688
+
18667
18689
public struct Creator: GraphQLSelectionSet {
18668
18690
public static let possibleTypes = ["Organization", "User", "Bot"]
18669
18691
0 commit comments