@@ -7667,6 +7667,35 @@ public enum Components {
76677667 ///
76687668 /// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
76697669 public var anonymousAccessEnabled: Swift.Bool?
7670+ /// The status of the code search index for this repository
7671+ ///
7672+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
7673+ public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
7674+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
7675+ public var lexicalSearchOk: Swift.Bool?
7676+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
7677+ public var lexicalCommitSha: Swift.String?
7678+ /// Creates a new `CodeSearchIndexStatusPayload`.
7679+ ///
7680+ /// - Parameters:
7681+ /// - lexicalSearchOk:
7682+ /// - lexicalCommitSha:
7683+ public init(
7684+ lexicalSearchOk: Swift.Bool? = nil,
7685+ lexicalCommitSha: Swift.String? = nil
7686+ ) {
7687+ self.lexicalSearchOk = lexicalSearchOk
7688+ self.lexicalCommitSha = lexicalCommitSha
7689+ }
7690+ public enum CodingKeys: String, CodingKey {
7691+ case lexicalSearchOk = "lexical_search_ok"
7692+ case lexicalCommitSha = "lexical_commit_sha"
7693+ }
7694+ }
7695+ /// The status of the code search index for this repository
7696+ ///
7697+ /// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
7698+ public var codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload?
76707699 /// Creates a new `Repository`.
76717700 ///
76727701 /// - Parameters:
@@ -7765,6 +7794,7 @@ public enum Components {
77657794 /// - masterBranch:
77667795 /// - starredAt:
77677796 /// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
7797+ /// - codeSearchIndexStatus: The status of the code search index for this repository
77687798 public init(
77697799 id: Swift.Int64,
77707800 nodeId: Swift.String,
@@ -7860,7 +7890,8 @@ public enum Components {
78607890 watchers: Swift.Int,
78617891 masterBranch: Swift.String? = nil,
78627892 starredAt: Swift.String? = nil,
7863- anonymousAccessEnabled: Swift.Bool? = nil
7893+ anonymousAccessEnabled: Swift.Bool? = nil,
7894+ codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload? = nil
78647895 ) {
78657896 self.id = id
78667897 self.nodeId = nodeId
@@ -7957,6 +7988,7 @@ public enum Components {
79577988 self.masterBranch = masterBranch
79587989 self.starredAt = starredAt
79597990 self.anonymousAccessEnabled = anonymousAccessEnabled
7991+ self.codeSearchIndexStatus = codeSearchIndexStatus
79607992 }
79617993 public enum CodingKeys: String, CodingKey {
79627994 case id
@@ -8054,6 +8086,7 @@ public enum Components {
80548086 case masterBranch = "master_branch"
80558087 case starredAt = "starred_at"
80568088 case anonymousAccessEnabled = "anonymous_access_enabled"
8089+ case codeSearchIndexStatus = "code_search_index_status"
80578090 }
80588091 }
80598092 /// Code Of Conduct
@@ -10061,6 +10094,35 @@ public enum Components {
1006110094 ///
1006210095 /// - Remark: Generated from `#/components/schemas/nullable-repository/anonymous_access_enabled`.
1006310096 public var anonymousAccessEnabled: Swift.Bool?
10097+ /// The status of the code search index for this repository
10098+ ///
10099+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
10100+ public struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
10101+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_search_ok`.
10102+ public var lexicalSearchOk: Swift.Bool?
10103+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status/lexical_commit_sha`.
10104+ public var lexicalCommitSha: Swift.String?
10105+ /// Creates a new `CodeSearchIndexStatusPayload`.
10106+ ///
10107+ /// - Parameters:
10108+ /// - lexicalSearchOk:
10109+ /// - lexicalCommitSha:
10110+ public init(
10111+ lexicalSearchOk: Swift.Bool? = nil,
10112+ lexicalCommitSha: Swift.String? = nil
10113+ ) {
10114+ self.lexicalSearchOk = lexicalSearchOk
10115+ self.lexicalCommitSha = lexicalCommitSha
10116+ }
10117+ public enum CodingKeys: String, CodingKey {
10118+ case lexicalSearchOk = "lexical_search_ok"
10119+ case lexicalCommitSha = "lexical_commit_sha"
10120+ }
10121+ }
10122+ /// The status of the code search index for this repository
10123+ ///
10124+ /// - Remark: Generated from `#/components/schemas/nullable-repository/code_search_index_status`.
10125+ public var codeSearchIndexStatus: Components.Schemas.NullableRepository.CodeSearchIndexStatusPayload?
1006410126 /// Creates a new `NullableRepository`.
1006510127 ///
1006610128 /// - Parameters:
@@ -10159,6 +10221,7 @@ public enum Components {
1015910221 /// - masterBranch:
1016010222 /// - starredAt:
1016110223 /// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
10224+ /// - codeSearchIndexStatus: The status of the code search index for this repository
1016210225 public init(
1016310226 id: Swift.Int64,
1016410227 nodeId: Swift.String,
@@ -10254,7 +10317,8 @@ public enum Components {
1025410317 watchers: Swift.Int,
1025510318 masterBranch: Swift.String? = nil,
1025610319 starredAt: Swift.String? = nil,
10257- anonymousAccessEnabled: Swift.Bool? = nil
10320+ anonymousAccessEnabled: Swift.Bool? = nil,
10321+ codeSearchIndexStatus: Components.Schemas.NullableRepository.CodeSearchIndexStatusPayload? = nil
1025810322 ) {
1025910323 self.id = id
1026010324 self.nodeId = nodeId
@@ -10351,6 +10415,7 @@ public enum Components {
1035110415 self.masterBranch = masterBranch
1035210416 self.starredAt = starredAt
1035310417 self.anonymousAccessEnabled = anonymousAccessEnabled
10418+ self.codeSearchIndexStatus = codeSearchIndexStatus
1035410419 }
1035510420 public enum CodingKeys: String, CodingKey {
1035610421 case id
@@ -10448,6 +10513,7 @@ public enum Components {
1044810513 case masterBranch = "master_branch"
1044910514 case starredAt = "starred_at"
1045010515 case anonymousAccessEnabled = "anonymous_access_enabled"
10516+ case codeSearchIndexStatus = "code_search_index_status"
1045110517 }
1045210518 }
1045310519 /// Code of Conduct Simple
@@ -26732,6 +26798,29 @@ public enum Operations {
2673226798 }
2673326799 }
2673426800 }
26801+ /// Conflict
26802+ ///
26803+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/delete(repos/delete)/responses/409`.
26804+ ///
26805+ /// HTTP response code: `409 conflict`.
26806+ case conflict(Components.Responses.Conflict)
26807+ /// The associated value of the enum case if `self` is `.conflict`.
26808+ ///
26809+ /// - Throws: An error if `self` is not `.conflict`.
26810+ /// - SeeAlso: `.conflict`.
26811+ public var conflict: Components.Responses.Conflict {
26812+ get throws {
26813+ switch self {
26814+ case let .conflict(response):
26815+ return response
26816+ default:
26817+ try throwUnexpectedResponseStatus(
26818+ expectedStatus: "conflict",
26819+ response: self
26820+ )
26821+ }
26822+ }
26823+ }
2673526824 /// Undocumented response.
2673626825 ///
2673726826 /// A response with a code that is not documented in the OpenAPI document.
0 commit comments