@@ -6554,6 +6554,163 @@ public enum Components {
65546554 case installationsCount = "installations_count"
65556555 }
65566556 }
6557+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal`.
6558+ public struct PullRequestMinimal: Codable, Hashable, Sendable {
6559+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/id`.
6560+ public var id: Swift.Int64
6561+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/number`.
6562+ public var number: Swift.Int
6563+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/url`.
6564+ public var url: Swift.String
6565+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
6566+ public struct HeadPayload: Codable, Hashable, Sendable {
6567+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/ref`.
6568+ public var ref: Swift.String
6569+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/sha`.
6570+ public var sha: Swift.String
6571+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
6572+ public struct RepoPayload: Codable, Hashable, Sendable {
6573+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/id`.
6574+ public var id: Swift.Int64
6575+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/url`.
6576+ public var url: Swift.String
6577+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/name`.
6578+ public var name: Swift.String
6579+ /// Creates a new `RepoPayload`.
6580+ ///
6581+ /// - Parameters:
6582+ /// - id:
6583+ /// - url:
6584+ /// - name:
6585+ public init(
6586+ id: Swift.Int64,
6587+ url: Swift.String,
6588+ name: Swift.String
6589+ ) {
6590+ self.id = id
6591+ self.url = url
6592+ self.name = name
6593+ }
6594+ public enum CodingKeys: String, CodingKey {
6595+ case id
6596+ case url
6597+ case name
6598+ }
6599+ }
6600+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
6601+ public var repo: Components.Schemas.PullRequestMinimal.HeadPayload.RepoPayload
6602+ /// Creates a new `HeadPayload`.
6603+ ///
6604+ /// - Parameters:
6605+ /// - ref:
6606+ /// - sha:
6607+ /// - repo:
6608+ public init(
6609+ ref: Swift.String,
6610+ sha: Swift.String,
6611+ repo: Components.Schemas.PullRequestMinimal.HeadPayload.RepoPayload
6612+ ) {
6613+ self.ref = ref
6614+ self.sha = sha
6615+ self.repo = repo
6616+ }
6617+ public enum CodingKeys: String, CodingKey {
6618+ case ref
6619+ case sha
6620+ case repo
6621+ }
6622+ }
6623+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
6624+ public var head: Components.Schemas.PullRequestMinimal.HeadPayload
6625+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
6626+ public struct BasePayload: Codable, Hashable, Sendable {
6627+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/ref`.
6628+ public var ref: Swift.String
6629+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/sha`.
6630+ public var sha: Swift.String
6631+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
6632+ public struct RepoPayload: Codable, Hashable, Sendable {
6633+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/id`.
6634+ public var id: Swift.Int64
6635+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/url`.
6636+ public var url: Swift.String
6637+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/name`.
6638+ public var name: Swift.String
6639+ /// Creates a new `RepoPayload`.
6640+ ///
6641+ /// - Parameters:
6642+ /// - id:
6643+ /// - url:
6644+ /// - name:
6645+ public init(
6646+ id: Swift.Int64,
6647+ url: Swift.String,
6648+ name: Swift.String
6649+ ) {
6650+ self.id = id
6651+ self.url = url
6652+ self.name = name
6653+ }
6654+ public enum CodingKeys: String, CodingKey {
6655+ case id
6656+ case url
6657+ case name
6658+ }
6659+ }
6660+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
6661+ public var repo: Components.Schemas.PullRequestMinimal.BasePayload.RepoPayload
6662+ /// Creates a new `BasePayload`.
6663+ ///
6664+ /// - Parameters:
6665+ /// - ref:
6666+ /// - sha:
6667+ /// - repo:
6668+ public init(
6669+ ref: Swift.String,
6670+ sha: Swift.String,
6671+ repo: Components.Schemas.PullRequestMinimal.BasePayload.RepoPayload
6672+ ) {
6673+ self.ref = ref
6674+ self.sha = sha
6675+ self.repo = repo
6676+ }
6677+ public enum CodingKeys: String, CodingKey {
6678+ case ref
6679+ case sha
6680+ case repo
6681+ }
6682+ }
6683+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
6684+ public var base: Components.Schemas.PullRequestMinimal.BasePayload
6685+ /// Creates a new `PullRequestMinimal`.
6686+ ///
6687+ /// - Parameters:
6688+ /// - id:
6689+ /// - number:
6690+ /// - url:
6691+ /// - head:
6692+ /// - base:
6693+ public init(
6694+ id: Swift.Int64,
6695+ number: Swift.Int,
6696+ url: Swift.String,
6697+ head: Components.Schemas.PullRequestMinimal.HeadPayload,
6698+ base: Components.Schemas.PullRequestMinimal.BasePayload
6699+ ) {
6700+ self.id = id
6701+ self.number = number
6702+ self.url = url
6703+ self.head = head
6704+ self.base = base
6705+ }
6706+ public enum CodingKeys: String, CodingKey {
6707+ case id
6708+ case number
6709+ case url
6710+ case head
6711+ case base
6712+ }
6713+ }
65576714 /// - Remark: Generated from `#/components/schemas/security-and-analysis`.
65586715 public struct SecurityAndAnalysis: Codable, Hashable, Sendable {
65596716 /// Enable or disable GitHub Advanced Security for the repository.
@@ -9709,163 +9866,6 @@ public enum Components {
97099866 case ref
97109867 }
97119868 }
9712- /// - Remark: Generated from `#/components/schemas/pull-request-minimal`.
9713- public struct PullRequestMinimal: Codable, Hashable, Sendable {
9714- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/id`.
9715- public var id: Swift.Int64
9716- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/number`.
9717- public var number: Swift.Int
9718- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/url`.
9719- public var url: Swift.String
9720- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
9721- public struct HeadPayload: Codable, Hashable, Sendable {
9722- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/ref`.
9723- public var ref: Swift.String
9724- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/sha`.
9725- public var sha: Swift.String
9726- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
9727- public struct RepoPayload: Codable, Hashable, Sendable {
9728- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/id`.
9729- public var id: Swift.Int64
9730- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/url`.
9731- public var url: Swift.String
9732- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/name`.
9733- public var name: Swift.String
9734- /// Creates a new `RepoPayload`.
9735- ///
9736- /// - Parameters:
9737- /// - id:
9738- /// - url:
9739- /// - name:
9740- public init(
9741- id: Swift.Int64,
9742- url: Swift.String,
9743- name: Swift.String
9744- ) {
9745- self.id = id
9746- self.url = url
9747- self.name = name
9748- }
9749- public enum CodingKeys: String, CodingKey {
9750- case id
9751- case url
9752- case name
9753- }
9754- }
9755- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
9756- public var repo: Components.Schemas.PullRequestMinimal.HeadPayload.RepoPayload
9757- /// Creates a new `HeadPayload`.
9758- ///
9759- /// - Parameters:
9760- /// - ref:
9761- /// - sha:
9762- /// - repo:
9763- public init(
9764- ref: Swift.String,
9765- sha: Swift.String,
9766- repo: Components.Schemas.PullRequestMinimal.HeadPayload.RepoPayload
9767- ) {
9768- self.ref = ref
9769- self.sha = sha
9770- self.repo = repo
9771- }
9772- public enum CodingKeys: String, CodingKey {
9773- case ref
9774- case sha
9775- case repo
9776- }
9777- }
9778- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
9779- public var head: Components.Schemas.PullRequestMinimal.HeadPayload
9780- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
9781- public struct BasePayload: Codable, Hashable, Sendable {
9782- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/ref`.
9783- public var ref: Swift.String
9784- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/sha`.
9785- public var sha: Swift.String
9786- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
9787- public struct RepoPayload: Codable, Hashable, Sendable {
9788- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/id`.
9789- public var id: Swift.Int64
9790- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/url`.
9791- public var url: Swift.String
9792- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/name`.
9793- public var name: Swift.String
9794- /// Creates a new `RepoPayload`.
9795- ///
9796- /// - Parameters:
9797- /// - id:
9798- /// - url:
9799- /// - name:
9800- public init(
9801- id: Swift.Int64,
9802- url: Swift.String,
9803- name: Swift.String
9804- ) {
9805- self.id = id
9806- self.url = url
9807- self.name = name
9808- }
9809- public enum CodingKeys: String, CodingKey {
9810- case id
9811- case url
9812- case name
9813- }
9814- }
9815- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
9816- public var repo: Components.Schemas.PullRequestMinimal.BasePayload.RepoPayload
9817- /// Creates a new `BasePayload`.
9818- ///
9819- /// - Parameters:
9820- /// - ref:
9821- /// - sha:
9822- /// - repo:
9823- public init(
9824- ref: Swift.String,
9825- sha: Swift.String,
9826- repo: Components.Schemas.PullRequestMinimal.BasePayload.RepoPayload
9827- ) {
9828- self.ref = ref
9829- self.sha = sha
9830- self.repo = repo
9831- }
9832- public enum CodingKeys: String, CodingKey {
9833- case ref
9834- case sha
9835- case repo
9836- }
9837- }
9838- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
9839- public var base: Components.Schemas.PullRequestMinimal.BasePayload
9840- /// Creates a new `PullRequestMinimal`.
9841- ///
9842- /// - Parameters:
9843- /// - id:
9844- /// - number:
9845- /// - url:
9846- /// - head:
9847- /// - base:
9848- public init(
9849- id: Swift.Int64,
9850- number: Swift.Int,
9851- url: Swift.String,
9852- head: Components.Schemas.PullRequestMinimal.HeadPayload,
9853- base: Components.Schemas.PullRequestMinimal.BasePayload
9854- ) {
9855- self.id = id
9856- self.number = number
9857- self.url = url
9858- self.head = head
9859- self.base = base
9860- }
9861- public enum CodingKeys: String, CodingKey {
9862- case id
9863- case number
9864- case url
9865- case head
9866- case base
9867- }
9868- }
98699869 /// A commit.
98709870 ///
98719871 /// - Remark: Generated from `#/components/schemas/nullable-simple-commit`.
0 commit comments