Skip to content

Commit 515625d

Browse files
Commit via running: make Sources/checks
1 parent e1c4a92 commit 515625d

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/checks/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,30 @@ public enum Components {
14351435
public var webCommitSignoffRequired: Swift.Bool?
14361436
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
14371437
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
1438+
/// 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.
1439+
///
1440+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
1441+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
1442+
/// A container of undocumented properties.
1443+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
1444+
/// Creates a new `CustomPropertiesPayload`.
1445+
///
1446+
/// - Parameters:
1447+
/// - additionalProperties: A container of undocumented properties.
1448+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
1449+
self.additionalProperties = additionalProperties
1450+
}
1451+
public init(from decoder: any Decoder) throws {
1452+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
1453+
}
1454+
public func encode(to encoder: any Encoder) throws {
1455+
try encoder.encodeAdditionalProperties(additionalProperties)
1456+
}
1457+
}
1458+
/// 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.
1459+
///
1460+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
1461+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
14381462
/// Creates a new `MinimalRepository`.
14391463
///
14401464
/// - Parameters:
@@ -1525,6 +1549,7 @@ public enum Components {
15251549
/// - allowForking:
15261550
/// - webCommitSignoffRequired:
15271551
/// - securityAndAnalysis:
1552+
/// - 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.
15281553
public init(
15291554
id: Swift.Int64,
15301555
nodeId: Swift.String,
@@ -1612,7 +1637,8 @@ public enum Components {
16121637
watchers: Swift.Int? = nil,
16131638
allowForking: Swift.Bool? = nil,
16141639
webCommitSignoffRequired: Swift.Bool? = nil,
1615-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
1640+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
1641+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
16161642
) {
16171643
self.id = id
16181644
self.nodeId = nodeId
@@ -1701,6 +1727,7 @@ public enum Components {
17011727
self.allowForking = allowForking
17021728
self.webCommitSignoffRequired = webCommitSignoffRequired
17031729
self.securityAndAnalysis = securityAndAnalysis
1730+
self.customProperties = customProperties
17041731
}
17051732
public enum CodingKeys: String, CodingKey {
17061733
case id
@@ -1790,6 +1817,7 @@ public enum Components {
17901817
case allowForking = "allow_forking"
17911818
case webCommitSignoffRequired = "web_commit_signoff_required"
17921819
case securityAndAnalysis = "security_and_analysis"
1820+
case customProperties = "custom_properties"
17931821
}
17941822
}
17951823
/// An object without any properties.

0 commit comments

Comments
 (0)