Skip to content

Commit 7c8690f

Browse files
Commit via running: make Sources/migrations
1 parent 104c36d commit 7c8690f

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/migrations/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,30 @@ public enum Components {
25562556
public var webCommitSignoffRequired: Swift.Bool?
25572557
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
25582558
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
2559+
/// 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.
2560+
///
2561+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
2562+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
2563+
/// A container of undocumented properties.
2564+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
2565+
/// Creates a new `CustomPropertiesPayload`.
2566+
///
2567+
/// - Parameters:
2568+
/// - additionalProperties: A container of undocumented properties.
2569+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
2570+
self.additionalProperties = additionalProperties
2571+
}
2572+
public init(from decoder: any Decoder) throws {
2573+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
2574+
}
2575+
public func encode(to encoder: any Encoder) throws {
2576+
try encoder.encodeAdditionalProperties(additionalProperties)
2577+
}
2578+
}
2579+
/// 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.
2580+
///
2581+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
2582+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
25592583
/// Creates a new `MinimalRepository`.
25602584
///
25612585
/// - Parameters:
@@ -2646,6 +2670,7 @@ public enum Components {
26462670
/// - allowForking:
26472671
/// - webCommitSignoffRequired:
26482672
/// - securityAndAnalysis:
2673+
/// - 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.
26492674
public init(
26502675
id: Swift.Int64,
26512676
nodeId: Swift.String,
@@ -2733,7 +2758,8 @@ public enum Components {
27332758
watchers: Swift.Int? = nil,
27342759
allowForking: Swift.Bool? = nil,
27352760
webCommitSignoffRequired: Swift.Bool? = nil,
2736-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
2761+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
2762+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
27372763
) {
27382764
self.id = id
27392765
self.nodeId = nodeId
@@ -2822,6 +2848,7 @@ public enum Components {
28222848
self.allowForking = allowForking
28232849
self.webCommitSignoffRequired = webCommitSignoffRequired
28242850
self.securityAndAnalysis = securityAndAnalysis
2851+
self.customProperties = customProperties
28252852
}
28262853
public enum CodingKeys: String, CodingKey {
28272854
case id
@@ -2911,6 +2938,7 @@ public enum Components {
29112938
case allowForking = "allow_forking"
29122939
case webCommitSignoffRequired = "web_commit_signoff_required"
29132940
case securityAndAnalysis = "security_and_analysis"
2941+
case customProperties = "custom_properties"
29142942
}
29152943
}
29162944
/// A migration.

0 commit comments

Comments
 (0)