Skip to content

Commit 4739629

Browse files
Commit via running: make Sources/search
1 parent 973a415 commit 4739629

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

Sources/search/Types.swift

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,6 +2262,35 @@ public enum Components {
22622262
case rocket
22632263
}
22642264
}
2265+
/// - Remark: Generated from `#/components/schemas/sub-issues-summary`.
2266+
public struct SubIssuesSummary: Codable, Hashable, Sendable {
2267+
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/total`.
2268+
public var total: Swift.Int
2269+
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/completed`.
2270+
public var completed: Swift.Int
2271+
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/percent_completed`.
2272+
public var percentCompleted: Swift.Int
2273+
/// Creates a new `SubIssuesSummary`.
2274+
///
2275+
/// - Parameters:
2276+
/// - total:
2277+
/// - completed:
2278+
/// - percentCompleted:
2279+
public init(
2280+
total: Swift.Int,
2281+
completed: Swift.Int,
2282+
percentCompleted: Swift.Int
2283+
) {
2284+
self.total = total
2285+
self.completed = completed
2286+
self.percentCompleted = percentCompleted
2287+
}
2288+
public enum CodingKeys: String, CodingKey {
2289+
case total
2290+
case completed
2291+
case percentCompleted = "percent_completed"
2292+
}
2293+
}
22652294
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.
22662295
public struct SecurityAndAnalysis: Codable, Hashable, Sendable {
22672296
/// Enable or disable GitHub Advanced Security for the repository.
@@ -3662,36 +3691,7 @@ public enum Components {
36623691
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/labels`.
36633692
public var labels: Components.Schemas.IssueSearchResultItem.LabelsPayload
36643693
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/sub_issues_summary`.
3665-
public struct SubIssuesSummaryPayload: Codable, Hashable, Sendable {
3666-
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/sub_issues_summary/total`.
3667-
public var total: Swift.Int
3668-
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/sub_issues_summary/completed`.
3669-
public var completed: Swift.Int
3670-
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/sub_issues_summary/percent_completed`.
3671-
public var percentCompleted: Swift.Int
3672-
/// Creates a new `SubIssuesSummaryPayload`.
3673-
///
3674-
/// - Parameters:
3675-
/// - total:
3676-
/// - completed:
3677-
/// - percentCompleted:
3678-
public init(
3679-
total: Swift.Int,
3680-
completed: Swift.Int,
3681-
percentCompleted: Swift.Int
3682-
) {
3683-
self.total = total
3684-
self.completed = completed
3685-
self.percentCompleted = percentCompleted
3686-
}
3687-
public enum CodingKeys: String, CodingKey {
3688-
case total
3689-
case completed
3690-
case percentCompleted = "percent_completed"
3691-
}
3692-
}
3693-
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/sub_issues_summary`.
3694-
public var subIssuesSummary: Components.Schemas.IssueSearchResultItem.SubIssuesSummaryPayload?
3694+
public var subIssuesSummary: Components.Schemas.SubIssuesSummary?
36953695
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/state`.
36963696
public var state: Swift.String
36973697
/// - Remark: Generated from `#/components/schemas/issue-search-result-item/state_reason`.
@@ -3831,7 +3831,7 @@ public enum Components {
38313831
assignees: [Components.Schemas.SimpleUser]? = nil,
38323832
user: Components.Schemas.NullableSimpleUser? = nil,
38333833
labels: Components.Schemas.IssueSearchResultItem.LabelsPayload,
3834-
subIssuesSummary: Components.Schemas.IssueSearchResultItem.SubIssuesSummaryPayload? = nil,
3834+
subIssuesSummary: Components.Schemas.SubIssuesSummary? = nil,
38353835
state: Swift.String,
38363836
stateReason: Swift.String? = nil,
38373837
assignee: Components.Schemas.NullableSimpleUser? = nil,

0 commit comments

Comments
 (0)