@@ -1924,6 +1924,35 @@ public enum Components {
1924
1924
///
1925
1925
/// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
1926
1926
public var anonymousAccessEnabled : Swift . Bool ?
1927
+ /// The status of the code search index for this repository
1928
+ ///
1929
+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1930
+ public struct CodeSearchIndexStatusPayload : Codable , Hashable , Sendable {
1931
+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
1932
+ public var lexicalSearchOk : Swift . Bool ?
1933
+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
1934
+ public var lexicalCommitSha : Swift . String ?
1935
+ /// Creates a new `CodeSearchIndexStatusPayload`.
1936
+ ///
1937
+ /// - Parameters:
1938
+ /// - lexicalSearchOk:
1939
+ /// - lexicalCommitSha:
1940
+ public init (
1941
+ lexicalSearchOk: Swift . Bool ? = nil ,
1942
+ lexicalCommitSha: Swift . String ? = nil
1943
+ ) {
1944
+ self . lexicalSearchOk = lexicalSearchOk
1945
+ self . lexicalCommitSha = lexicalCommitSha
1946
+ }
1947
+ public enum CodingKeys : String , CodingKey {
1948
+ case lexicalSearchOk = " lexical_search_ok "
1949
+ case lexicalCommitSha = " lexical_commit_sha "
1950
+ }
1951
+ }
1952
+ /// The status of the code search index for this repository
1953
+ ///
1954
+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1955
+ public var codeSearchIndexStatus : Components . Schemas . Repository . CodeSearchIndexStatusPayload ?
1927
1956
/// Creates a new `Repository`.
1928
1957
///
1929
1958
/// - Parameters:
@@ -2022,6 +2051,7 @@ public enum Components {
2022
2051
/// - masterBranch:
2023
2052
/// - starredAt:
2024
2053
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
2054
+ /// - codeSearchIndexStatus: The status of the code search index for this repository
2025
2055
public init (
2026
2056
id: Swift . Int64 ,
2027
2057
nodeId: Swift . String ,
@@ -2117,7 +2147,8 @@ public enum Components {
2117
2147
watchers: Swift . Int ,
2118
2148
masterBranch: Swift . String ? = nil ,
2119
2149
starredAt: Swift . String ? = nil ,
2120
- anonymousAccessEnabled: Swift . Bool ? = nil
2150
+ anonymousAccessEnabled: Swift . Bool ? = nil ,
2151
+ codeSearchIndexStatus: Components . Schemas . Repository . CodeSearchIndexStatusPayload ? = nil
2121
2152
) {
2122
2153
self . id = id
2123
2154
self . nodeId = nodeId
@@ -2214,6 +2245,7 @@ public enum Components {
2214
2245
self . masterBranch = masterBranch
2215
2246
self . starredAt = starredAt
2216
2247
self . anonymousAccessEnabled = anonymousAccessEnabled
2248
+ self . codeSearchIndexStatus = codeSearchIndexStatus
2217
2249
}
2218
2250
public enum CodingKeys : String , CodingKey {
2219
2251
case id
@@ -2311,6 +2343,7 @@ public enum Components {
2311
2343
case masterBranch = " master_branch "
2312
2344
case starredAt = " starred_at "
2313
2345
case anonymousAccessEnabled = " anonymous_access_enabled "
2346
+ case codeSearchIndexStatus = " code_search_index_status "
2314
2347
}
2315
2348
}
2316
2349
/// A GitHub repository.
@@ -3489,6 +3522,35 @@ public enum Components {
3489
3522
///
3490
3523
/// - Remark: Generated from `#/components/schemas/nullable-repository/anonymous_access_enabled`.
3491
3524
public var anonymousAccessEnabled : Swift . Bool ?
3525
+ /// The status of the code search index for this repository
3526
+ ///
3527
+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
3528
+ public struct CodeSearchIndexStatusPayload : Codable , Hashable , Sendable {
3529
+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_search_ok`.
3530
+ public var lexicalSearchOk : Swift . Bool ?
3531
+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_commit_sha`.
3532
+ public var lexicalCommitSha : Swift . String ?
3533
+ /// Creates a new `CodeSearchIndexStatusPayload`.
3534
+ ///
3535
+ /// - Parameters:
3536
+ /// - lexicalSearchOk:
3537
+ /// - lexicalCommitSha:
3538
+ public init (
3539
+ lexicalSearchOk: Swift . Bool ? = nil ,
3540
+ lexicalCommitSha: Swift . String ? = nil
3541
+ ) {
3542
+ self . lexicalSearchOk = lexicalSearchOk
3543
+ self . lexicalCommitSha = lexicalCommitSha
3544
+ }
3545
+ public enum CodingKeys : String , CodingKey {
3546
+ case lexicalSearchOk = " lexical_search_ok "
3547
+ case lexicalCommitSha = " lexical_commit_sha "
3548
+ }
3549
+ }
3550
+ /// The status of the code search index for this repository
3551
+ ///
3552
+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
3553
+ public var codeSearchIndexStatus : Components . Schemas . NullableRepository . CodeSearchIndexStatusPayload ?
3492
3554
/// Creates a new `NullableRepository`.
3493
3555
///
3494
3556
/// - Parameters:
@@ -3587,6 +3649,7 @@ public enum Components {
3587
3649
/// - masterBranch:
3588
3650
/// - starredAt:
3589
3651
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
3652
+ /// - codeSearchIndexStatus: The status of the code search index for this repository
3590
3653
public init (
3591
3654
id: Swift . Int64 ,
3592
3655
nodeId: Swift . String ,
@@ -3682,7 +3745,8 @@ public enum Components {
3682
3745
watchers: Swift . Int ,
3683
3746
masterBranch: Swift . String ? = nil ,
3684
3747
starredAt: Swift . String ? = nil ,
3685
- anonymousAccessEnabled: Swift . Bool ? = nil
3748
+ anonymousAccessEnabled: Swift . Bool ? = nil ,
3749
+ codeSearchIndexStatus: Components . Schemas . NullableRepository . CodeSearchIndexStatusPayload ? = nil
3686
3750
) {
3687
3751
self . id = id
3688
3752
self . nodeId = nodeId
@@ -3779,6 +3843,7 @@ public enum Components {
3779
3843
self . masterBranch = masterBranch
3780
3844
self . starredAt = starredAt
3781
3845
self . anonymousAccessEnabled = anonymousAccessEnabled
3846
+ self . codeSearchIndexStatus = codeSearchIndexStatus
3782
3847
}
3783
3848
public enum CodingKeys : String , CodingKey {
3784
3849
case id
@@ -3876,6 +3941,7 @@ public enum Components {
3876
3941
case masterBranch = " master_branch "
3877
3942
case starredAt = " starred_at "
3878
3943
case anonymousAccessEnabled = " anonymous_access_enabled "
3944
+ case codeSearchIndexStatus = " code_search_index_status "
3879
3945
}
3880
3946
}
3881
3947
/// Code of Conduct Simple
0 commit comments