Skip to content

Commit 99b6a78

Browse files
Commit via running: make Sources/repos
1 parent c5d09f1 commit 99b6a78

File tree

1 file changed

+37
-9
lines changed

1 file changed

+37
-9
lines changed

Sources/repos/Types.swift

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9029,6 +9029,30 @@ public enum Components {
90299029
public var webCommitSignoffRequired: Swift.Bool?
90309030
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
90319031
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()) {
9043+
self.additionalProperties = additionalProperties
9044+
}
9045+
public init(from decoder: any Decoder) throws {
9046+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
9047+
}
9048+
public func encode(to encoder: any Encoder) throws {
9049+
try encoder.encodeAdditionalProperties(additionalProperties)
9050+
}
9051+
}
9052+
/// 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?
90329056
/// Creates a new `MinimalRepository`.
90339057
///
90349058
/// - Parameters:
@@ -9119,6 +9143,7 @@ public enum Components {
91199143
/// - allowForking:
91209144
/// - webCommitSignoffRequired:
91219145
/// - 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.
91229147
public init(
91239148
id: Swift.Int64,
91249149
nodeId: Swift.String,
@@ -9206,7 +9231,8 @@ public enum Components {
92069231
watchers: Swift.Int? = nil,
92079232
allowForking: Swift.Bool? = nil,
92089233
webCommitSignoffRequired: Swift.Bool? = nil,
9209-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
9234+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
9235+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
92109236
) {
92119237
self.id = id
92129238
self.nodeId = nodeId
@@ -9295,6 +9321,7 @@ public enum Components {
92959321
self.allowForking = allowForking
92969322
self.webCommitSignoffRequired = webCommitSignoffRequired
92979323
self.securityAndAnalysis = securityAndAnalysis
9324+
self.customProperties = customProperties
92989325
}
92999326
public enum CodingKeys: String, CodingKey {
93009327
case id
@@ -9384,6 +9411,7 @@ public enum Components {
93849411
case allowForking = "allow_forking"
93859412
case webCommitSignoffRequired = "web_commit_signoff_required"
93869413
case securityAndAnalysis = "security_and_analysis"
9414+
case customProperties = "custom_properties"
93879415
}
93889416
}
93899417
/// An object without any properties.
@@ -22799,7 +22827,7 @@ public enum Components {
2279922827
public typealias RepositoryNameInQuery = Swift.String
2280022828
/// The time period to filter by.
2280122829
///
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).
2280322831
///
2280422832
/// - Remark: Generated from `#/components/parameters/time-period`.
2280522833
@frozen public enum TimePeriod: String, Codable, Hashable, Sendable, CaseIterable {
@@ -22812,7 +22840,7 @@ public enum Components {
2281222840
///
2281322841
/// - Remark: Generated from `#/components/parameters/actor-name-in-query`.
2281422842
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.
2281622844
///
2281722845
/// - Remark: Generated from `#/components/parameters/rule-suite-result`.
2281822846
@frozen public enum RuleSuiteResult: String, Codable, Hashable, Sendable, CaseIterable {
@@ -24594,7 +24622,7 @@ public enum Operations {
2459424622
}
2459524623
/// The time period to filter by.
2459624624
///
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).
2459824626
///
2459924627
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/time_period`.
2460024628
public var timePeriod: Components.Parameters.TimePeriod?
@@ -24609,7 +24637,7 @@ public enum Operations {
2460924637
case bypass = "bypass"
2461024638
case all = "all"
2461124639
}
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.
2461324641
///
2461424642
/// - Remark: Generated from `#/paths/orgs/{org}/rulesets/rule-suites/GET/query/rule_suite_result`.
2461524643
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
@@ -24628,7 +24656,7 @@ public enum Operations {
2462824656
/// - repositoryName: The name of the repository to filter on.
2462924657
/// - timePeriod: The time period to filter by.
2463024658
/// - 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.
2463224660
/// - 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)."
2463324661
/// - 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)."
2463424662
public init(
@@ -58293,7 +58321,7 @@ public enum Operations {
5829358321
}
5829458322
/// The time period to filter by.
5829558323
///
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).
5829758325
///
5829858326
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/time_period`.
5829958327
public var timePeriod: Components.Parameters.TimePeriod?
@@ -58308,7 +58336,7 @@ public enum Operations {
5830858336
case bypass = "bypass"
5830958337
case all = "all"
5831058338
}
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.
5831258340
///
5831358341
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/rulesets/rule-suites/GET/query/rule_suite_result`.
5831458342
public var ruleSuiteResult: Components.Parameters.RuleSuiteResult?
@@ -58326,7 +58354,7 @@ public enum Operations {
5832658354
/// - 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.
5832758355
/// - timePeriod: The time period to filter by.
5832858356
/// - 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.
5833058358
/// - 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)."
5833158359
/// - 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)."
5833258360
public init(

0 commit comments

Comments
 (0)