@@ -972,6 +972,163 @@ public enum Components {
972972 case installationsCount = " installations_count "
973973 }
974974 }
975+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal`.
976+ public struct PullRequestMinimal : Codable , Hashable , Sendable {
977+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/id`.
978+ public var id : Swift . Int64
979+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/number`.
980+ public var number : Swift . Int
981+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/url`.
982+ public var url : Swift . String
983+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
984+ public struct HeadPayload : Codable , Hashable , Sendable {
985+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/ref`.
986+ public var ref : Swift . String
987+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/sha`.
988+ public var sha : Swift . String
989+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
990+ public struct RepoPayload : Codable , Hashable , Sendable {
991+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/id`.
992+ public var id : Swift . Int64
993+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/url`.
994+ public var url : Swift . String
995+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/name`.
996+ public var name : Swift . String
997+ /// Creates a new `RepoPayload`.
998+ ///
999+ /// - Parameters:
1000+ /// - id:
1001+ /// - url:
1002+ /// - name:
1003+ public init (
1004+ id: Swift . Int64 ,
1005+ url: Swift . String ,
1006+ name: Swift . String
1007+ ) {
1008+ self . id = id
1009+ self . url = url
1010+ self . name = name
1011+ }
1012+ public enum CodingKeys : String , CodingKey {
1013+ case id
1014+ case url
1015+ case name
1016+ }
1017+ }
1018+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
1019+ public var repo : Components . Schemas . PullRequestMinimal . HeadPayload . RepoPayload
1020+ /// Creates a new `HeadPayload`.
1021+ ///
1022+ /// - Parameters:
1023+ /// - ref:
1024+ /// - sha:
1025+ /// - repo:
1026+ public init (
1027+ ref: Swift . String ,
1028+ sha: Swift . String ,
1029+ repo: Components . Schemas . PullRequestMinimal . HeadPayload . RepoPayload
1030+ ) {
1031+ self . ref = ref
1032+ self . sha = sha
1033+ self . repo = repo
1034+ }
1035+ public enum CodingKeys : String , CodingKey {
1036+ case ref
1037+ case sha
1038+ case repo
1039+ }
1040+ }
1041+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
1042+ public var head : Components . Schemas . PullRequestMinimal . HeadPayload
1043+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
1044+ public struct BasePayload : Codable , Hashable , Sendable {
1045+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/ref`.
1046+ public var ref : Swift . String
1047+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/sha`.
1048+ public var sha : Swift . String
1049+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
1050+ public struct RepoPayload : Codable , Hashable , Sendable {
1051+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/id`.
1052+ public var id : Swift . Int64
1053+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/url`.
1054+ public var url : Swift . String
1055+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/name`.
1056+ public var name : Swift . String
1057+ /// Creates a new `RepoPayload`.
1058+ ///
1059+ /// - Parameters:
1060+ /// - id:
1061+ /// - url:
1062+ /// - name:
1063+ public init (
1064+ id: Swift . Int64 ,
1065+ url: Swift . String ,
1066+ name: Swift . String
1067+ ) {
1068+ self . id = id
1069+ self . url = url
1070+ self . name = name
1071+ }
1072+ public enum CodingKeys : String , CodingKey {
1073+ case id
1074+ case url
1075+ case name
1076+ }
1077+ }
1078+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
1079+ public var repo : Components . Schemas . PullRequestMinimal . BasePayload . RepoPayload
1080+ /// Creates a new `BasePayload`.
1081+ ///
1082+ /// - Parameters:
1083+ /// - ref:
1084+ /// - sha:
1085+ /// - repo:
1086+ public init (
1087+ ref: Swift . String ,
1088+ sha: Swift . String ,
1089+ repo: Components . Schemas . PullRequestMinimal . BasePayload . RepoPayload
1090+ ) {
1091+ self . ref = ref
1092+ self . sha = sha
1093+ self . repo = repo
1094+ }
1095+ public enum CodingKeys : String , CodingKey {
1096+ case ref
1097+ case sha
1098+ case repo
1099+ }
1100+ }
1101+ /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
1102+ public var base : Components . Schemas . PullRequestMinimal . BasePayload
1103+ /// Creates a new `PullRequestMinimal`.
1104+ ///
1105+ /// - Parameters:
1106+ /// - id:
1107+ /// - number:
1108+ /// - url:
1109+ /// - head:
1110+ /// - base:
1111+ public init (
1112+ id: Swift . Int64 ,
1113+ number: Swift . Int ,
1114+ url: Swift . String ,
1115+ head: Components . Schemas . PullRequestMinimal . HeadPayload ,
1116+ base: Components . Schemas . PullRequestMinimal . BasePayload
1117+ ) {
1118+ self . id = id
1119+ self . number = number
1120+ self . url = url
1121+ self . head = head
1122+ self . base = base
1123+ }
1124+ public enum CodingKeys : String , CodingKey {
1125+ case id
1126+ case number
1127+ case url
1128+ case head
1129+ case base
1130+ }
1131+ }
9751132 /// - Remark: Generated from `#/components/schemas/security-and-analysis`.
9761133 public struct SecurityAndAnalysis : Codable , Hashable , Sendable {
9771134 /// Enable or disable GitHub Advanced Security for the repository.
@@ -1840,163 +1997,6 @@ public enum Components {
18401997 try decoder. ensureNoAdditionalProperties ( knownKeys: [ ] )
18411998 }
18421999 }
1843- /// - Remark: Generated from `#/components/schemas/pull-request-minimal`.
1844- public struct PullRequestMinimal : Codable , Hashable , Sendable {
1845- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/id`.
1846- public var id : Swift . Int64
1847- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/number`.
1848- public var number : Swift . Int
1849- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/url`.
1850- public var url : Swift . String
1851- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
1852- public struct HeadPayload : Codable , Hashable , Sendable {
1853- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/ref`.
1854- public var ref : Swift . String
1855- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/sha`.
1856- public var sha : Swift . String
1857- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
1858- public struct RepoPayload : Codable , Hashable , Sendable {
1859- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/id`.
1860- public var id : Swift . Int64
1861- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/url`.
1862- public var url : Swift . String
1863- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo/name`.
1864- public var name : Swift . String
1865- /// Creates a new `RepoPayload`.
1866- ///
1867- /// - Parameters:
1868- /// - id:
1869- /// - url:
1870- /// - name:
1871- public init (
1872- id: Swift . Int64 ,
1873- url: Swift . String ,
1874- name: Swift . String
1875- ) {
1876- self . id = id
1877- self . url = url
1878- self . name = name
1879- }
1880- public enum CodingKeys : String , CodingKey {
1881- case id
1882- case url
1883- case name
1884- }
1885- }
1886- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head/repo`.
1887- public var repo : Components . Schemas . PullRequestMinimal . HeadPayload . RepoPayload
1888- /// Creates a new `HeadPayload`.
1889- ///
1890- /// - Parameters:
1891- /// - ref:
1892- /// - sha:
1893- /// - repo:
1894- public init (
1895- ref: Swift . String ,
1896- sha: Swift . String ,
1897- repo: Components . Schemas . PullRequestMinimal . HeadPayload . RepoPayload
1898- ) {
1899- self . ref = ref
1900- self . sha = sha
1901- self . repo = repo
1902- }
1903- public enum CodingKeys : String , CodingKey {
1904- case ref
1905- case sha
1906- case repo
1907- }
1908- }
1909- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/head`.
1910- public var head : Components . Schemas . PullRequestMinimal . HeadPayload
1911- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
1912- public struct BasePayload : Codable , Hashable , Sendable {
1913- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/ref`.
1914- public var ref : Swift . String
1915- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/sha`.
1916- public var sha : Swift . String
1917- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
1918- public struct RepoPayload : Codable , Hashable , Sendable {
1919- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/id`.
1920- public var id : Swift . Int64
1921- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/url`.
1922- public var url : Swift . String
1923- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo/name`.
1924- public var name : Swift . String
1925- /// Creates a new `RepoPayload`.
1926- ///
1927- /// - Parameters:
1928- /// - id:
1929- /// - url:
1930- /// - name:
1931- public init (
1932- id: Swift . Int64 ,
1933- url: Swift . String ,
1934- name: Swift . String
1935- ) {
1936- self . id = id
1937- self . url = url
1938- self . name = name
1939- }
1940- public enum CodingKeys : String , CodingKey {
1941- case id
1942- case url
1943- case name
1944- }
1945- }
1946- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base/repo`.
1947- public var repo : Components . Schemas . PullRequestMinimal . BasePayload . RepoPayload
1948- /// Creates a new `BasePayload`.
1949- ///
1950- /// - Parameters:
1951- /// - ref:
1952- /// - sha:
1953- /// - repo:
1954- public init (
1955- ref: Swift . String ,
1956- sha: Swift . String ,
1957- repo: Components . Schemas . PullRequestMinimal . BasePayload . RepoPayload
1958- ) {
1959- self . ref = ref
1960- self . sha = sha
1961- self . repo = repo
1962- }
1963- public enum CodingKeys : String , CodingKey {
1964- case ref
1965- case sha
1966- case repo
1967- }
1968- }
1969- /// - Remark: Generated from `#/components/schemas/pull-request-minimal/base`.
1970- public var base : Components . Schemas . PullRequestMinimal . BasePayload
1971- /// Creates a new `PullRequestMinimal`.
1972- ///
1973- /// - Parameters:
1974- /// - id:
1975- /// - number:
1976- /// - url:
1977- /// - head:
1978- /// - base:
1979- public init (
1980- id: Swift . Int64 ,
1981- number: Swift . Int ,
1982- url: Swift . String ,
1983- head: Components . Schemas . PullRequestMinimal . HeadPayload ,
1984- base: Components . Schemas . PullRequestMinimal . BasePayload
1985- ) {
1986- self . id = id
1987- self . number = number
1988- self . url = url
1989- self . head = head
1990- self . base = base
1991- }
1992- public enum CodingKeys : String , CodingKey {
1993- case id
1994- case number
1995- case url
1996- case head
1997- case base
1998- }
1999- }
20002000 /// A deployment created as the result of an Actions check run from a workflow that references an environment
20012001 ///
20022002 /// - Remark: Generated from `#/components/schemas/deployment-simple`.
0 commit comments