Skip to content

Commit 5eced0a

Browse files
Commit via running: make Sources/pulls
1 parent 223a197 commit 5eced0a

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

Sources/pulls/Types.swift

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,6 +1949,35 @@ public enum Components {
19491949
///
19501950
/// - Remark: Generated from `#/components/schemas/repository/anonymous_access_enabled`.
19511951
public var anonymousAccessEnabled: Swift.Bool?
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 struct CodeSearchIndexStatusPayload: Codable, Hashable, Sendable {
1956+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_search_ok`.
1957+
public var lexicalSearchOk: Swift.Bool?
1958+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status/lexical_commit_sha`.
1959+
public var lexicalCommitSha: Swift.String?
1960+
/// Creates a new `CodeSearchIndexStatusPayload`.
1961+
///
1962+
/// - Parameters:
1963+
/// - lexicalSearchOk:
1964+
/// - lexicalCommitSha:
1965+
public init(
1966+
lexicalSearchOk: Swift.Bool? = nil,
1967+
lexicalCommitSha: Swift.String? = nil
1968+
) {
1969+
self.lexicalSearchOk = lexicalSearchOk
1970+
self.lexicalCommitSha = lexicalCommitSha
1971+
}
1972+
public enum CodingKeys: String, CodingKey {
1973+
case lexicalSearchOk = "lexical_search_ok"
1974+
case lexicalCommitSha = "lexical_commit_sha"
1975+
}
1976+
}
1977+
/// The status of the code search index for this repository
1978+
///
1979+
/// - Remark: Generated from `#/components/schemas/repository/code_search_index_status`.
1980+
public var codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload?
19521981
/// Creates a new `Repository`.
19531982
///
19541983
/// - Parameters:
@@ -2047,6 +2076,7 @@ public enum Components {
20472076
/// - masterBranch:
20482077
/// - starredAt:
20492078
/// - anonymousAccessEnabled: Whether anonymous git access is enabled for this repository
2079+
/// - codeSearchIndexStatus: The status of the code search index for this repository
20502080
public init(
20512081
id: Swift.Int64,
20522082
nodeId: Swift.String,
@@ -2142,7 +2172,8 @@ public enum Components {
21422172
watchers: Swift.Int,
21432173
masterBranch: Swift.String? = nil,
21442174
starredAt: Swift.String? = nil,
2145-
anonymousAccessEnabled: Swift.Bool? = nil
2175+
anonymousAccessEnabled: Swift.Bool? = nil,
2176+
codeSearchIndexStatus: Components.Schemas.Repository.CodeSearchIndexStatusPayload? = nil
21462177
) {
21472178
self.id = id
21482179
self.nodeId = nodeId
@@ -2239,6 +2270,7 @@ public enum Components {
22392270
self.masterBranch = masterBranch
22402271
self.starredAt = starredAt
22412272
self.anonymousAccessEnabled = anonymousAccessEnabled
2273+
self.codeSearchIndexStatus = codeSearchIndexStatus
22422274
}
22432275
public enum CodingKeys: String, CodingKey {
22442276
case id
@@ -2336,6 +2368,7 @@ public enum Components {
23362368
case masterBranch = "master_branch"
23372369
case starredAt = "starred_at"
23382370
case anonymousAccessEnabled = "anonymous_access_enabled"
2371+
case codeSearchIndexStatus = "code_search_index_status"
23392372
}
23402373
}
23412374
/// A collection of related issues and pull requests.

0 commit comments

Comments
 (0)