You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/repos/Types.swift
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22113,6 +22113,13 @@ public enum Components {
22113
22113
///
22114
22114
/// - Remark: Generated from `#/components/parameters/invitation-id`.
22115
22115
public typealias invitation_hyphen_id = Swift.Int
22116
+
/// A comma-separated list of rule targets to filter by.
22117
+
/// If provided, only rulesets that apply to the specified targets will be returned.
22118
+
/// For example, `branch,tag,push`.
22119
+
///
22120
+
///
22121
+
/// - Remark: Generated from `#/components/parameters/ruleset-targets`.
22122
+
public typealias ruleset_hyphen_targets = Swift.String
22116
22123
/// The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned.
22117
22124
///
22118
22125
/// - Remark: Generated from `#/components/parameters/ref-in-query`.
@@ -23442,17 +23449,27 @@ public enum Operations {
23442
23449
///
23443
23450
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/GET/query/page`.
23444
23451
public var page: Components.Parameters.page?
23452
+
/// A comma-separated list of rule targets to filter by.
23453
+
/// If provided, only rulesets that apply to the specified targets will be returned.
23454
+
/// For example, `branch,tag,push`.
23455
+
///
23456
+
///
23457
+
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/GET/query/targets`.
23458
+
public var targets: Components.Parameters.ruleset_hyphen_targets?
23445
23459
/// Creates a new `Query`.
23446
23460
///
23447
23461
/// - Parameters:
23448
23462
/// - per_page: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
23449
23463
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
23464
+
/// - targets: A comma-separated list of rule targets to filter by.
public var query: Operations.repos_sol_get_hyphen_org_hyphen_rulesets.Input.Query
@@ -56553,20 +56570,30 @@ public enum Operations {
56553
56570
///
56554
56571
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/GET/query/includes_parents`.
56555
56572
public var includes_parents: Swift.Bool?
56573
+
/// A comma-separated list of rule targets to filter by.
56574
+
/// If provided, only rulesets that apply to the specified targets will be returned.
56575
+
/// For example, `branch,tag,push`.
56576
+
///
56577
+
///
56578
+
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/GET/query/targets`.
56579
+
public var targets: Components.Parameters.ruleset_hyphen_targets?
56556
56580
/// Creates a new `Query`.
56557
56581
///
56558
56582
/// - Parameters:
56559
56583
/// - per_page: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
56560
56584
/// - page: The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
56561
56585
/// - includes_parents: Include rulesets configured at higher levels that apply to this repository
56586
+
/// - targets: A comma-separated list of rule targets to filter by.
0 commit comments