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
+37-9Lines changed: 37 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9029,6 +9029,30 @@ public enum Components {
9029
9029
public var webCommitSignoffRequired: Swift.Bool?
9030
9030
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
9031
9031
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
9032
+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
9033
+
///
9034
+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
9035
+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
9036
+
/// A container of undocumented properties.
9037
+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
9038
+
/// Creates a new `CustomPropertiesPayload`.
9039
+
///
9040
+
/// - Parameters:
9041
+
/// - additionalProperties: A container of undocumented properties.
9042
+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
9053
+
///
9054
+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
9055
+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
9032
9056
/// Creates a new `MinimalRepository`.
9033
9057
///
9034
9058
/// - Parameters:
@@ -9119,6 +9143,7 @@ public enum Components {
9119
9143
/// - allowForking:
9120
9144
/// - webCommitSignoffRequired:
9121
9145
/// - securityAndAnalysis:
9146
+
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
case webCommitSignoffRequired = "web_commit_signoff_required"
9386
9413
case securityAndAnalysis = "security_and_analysis"
9414
+
case customProperties = "custom_properties"
9387
9415
}
9388
9416
}
9389
9417
/// An object without any properties.
@@ -22799,7 +22827,7 @@ public enum Components {
22799
22827
public typealias RepositoryNameInQuery = Swift.String
22800
22828
/// The time period to filter by.
22801
22829
///
22802
-
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
22830
+
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
22803
22831
///
22804
22832
/// - Remark: Generated from `#/components/parameters/time-period`.
22805
22833
@frozen public enum TimePeriod: String, Codable, Hashable, Sendable, CaseIterable {
@@ -22812,7 +22840,7 @@ public enum Components {
22812
22840
///
22813
22841
/// - Remark: Generated from `#/components/parameters/actor-name-in-query`.
22814
22842
public typealias ActorNameInQuery = Swift.String
22815
-
/// The rule results to filter on. When specified, only suites with this result will be returned.
22843
+
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
22816
22844
///
22817
22845
/// - Remark: Generated from `#/components/parameters/rule-suite-result`.
22818
22846
@frozen public enum RuleSuiteResult: String, Codable, Hashable, Sendable, CaseIterable {
@@ -24594,7 +24622,7 @@ public enum Operations {
24594
24622
}
24595
24623
/// The time period to filter by.
24596
24624
///
24597
-
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
24625
+
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
24598
24626
///
24599
24627
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/time_period`.
24600
24628
public var timePeriod: Components.Parameters.TimePeriod?
@@ -24609,7 +24637,7 @@ public enum Operations {
24609
24637
case bypass = "bypass"
24610
24638
case all = "all"
24611
24639
}
24612
-
/// The rule results to filter on. When specified, only suites with this result will be returned.
24640
+
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
24613
24641
///
24614
24642
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/rule_suite_result`.
24615
24643
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
@@ -24628,7 +24656,7 @@ public enum Operations {
24628
24656
/// - repositoryName: The name of the repository to filter on.
24629
24657
/// - timePeriod: The time period to filter by.
24630
24658
/// - actorName: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
24631
-
/// - ruleSuiteResult: The rule results to filter on. When specified, only suites with this result will be returned.
24659
+
/// - ruleSuiteResult: The rule suite results to filter on. When specified, only suites with this result will be returned.
24632
24660
/// - perPage: 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)."
24633
24661
/// - 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)."
24634
24662
public init(
@@ -58293,7 +58321,7 @@ public enum Operations {
58293
58321
}
58294
58322
/// The time period to filter by.
58295
58323
///
58296
-
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
58324
+
/// For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
58297
58325
///
58298
58326
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/time_period`.
58299
58327
public var timePeriod: Components.Parameters.TimePeriod?
@@ -58308,7 +58336,7 @@ public enum Operations {
58308
58336
case bypass = "bypass"
58309
58337
case all = "all"
58310
58338
}
58311
-
/// The rule results to filter on. When specified, only suites with this result will be returned.
58339
+
/// The rule suite results to filter on. When specified, only suites with this result will be returned.
58312
58340
///
58313
58341
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/rule_suite_result`.
58314
58342
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
@@ -58326,7 +58354,7 @@ public enum Operations {
58326
58354
/// - ref: 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.
58327
58355
/// - timePeriod: The time period to filter by.
58328
58356
/// - actorName: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
58329
-
/// - ruleSuiteResult: The rule results to filter on. When specified, only suites with this result will be returned.
58357
+
/// - ruleSuiteResult: The rule suite results to filter on. When specified, only suites with this result will be returned.
58330
58358
/// - perPage: 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)."
58331
58359
/// - 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)."
0 commit comments