Skip to content

Commit fc272d8

Browse files
Commit via running: make Sources/packages
1 parent 5002cdb commit fc272d8

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/packages/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,30 @@ public enum Components {
16671667
public var webCommitSignoffRequired: Swift.Bool?
16681668
/// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/security_and_analysis`.
16691669
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
1670+
/// 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.
1671+
///
1672+
/// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/custom_properties`.
1673+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
1674+
/// A container of undocumented properties.
1675+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
1676+
/// Creates a new `CustomPropertiesPayload`.
1677+
///
1678+
/// - Parameters:
1679+
/// - additionalProperties: A container of undocumented properties.
1680+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
1681+
self.additionalProperties = additionalProperties
1682+
}
1683+
public init(from decoder: any Decoder) throws {
1684+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
1685+
}
1686+
public func encode(to encoder: any Encoder) throws {
1687+
try encoder.encodeAdditionalProperties(additionalProperties)
1688+
}
1689+
}
1690+
/// 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.
1691+
///
1692+
/// - Remark: Generated from `#/components/schemas/nullable-minimal-repository/custom_properties`.
1693+
public var customProperties: Components.Schemas.NullableMinimalRepository.CustomPropertiesPayload?
16701694
/// Creates a new `NullableMinimalRepository`.
16711695
///
16721696
/// - Parameters:
@@ -1757,6 +1781,7 @@ public enum Components {
17571781
/// - allowForking:
17581782
/// - webCommitSignoffRequired:
17591783
/// - securityAndAnalysis:
1784+
/// - 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.
17601785
public init(
17611786
id: Swift.Int64,
17621787
nodeId: Swift.String,
@@ -1844,7 +1869,8 @@ public enum Components {
18441869
watchers: Swift.Int? = nil,
18451870
allowForking: Swift.Bool? = nil,
18461871
webCommitSignoffRequired: Swift.Bool? = nil,
1847-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
1872+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
1873+
customProperties: Components.Schemas.NullableMinimalRepository.CustomPropertiesPayload? = nil
18481874
) {
18491875
self.id = id
18501876
self.nodeId = nodeId
@@ -1933,6 +1959,7 @@ public enum Components {
19331959
self.allowForking = allowForking
19341960
self.webCommitSignoffRequired = webCommitSignoffRequired
19351961
self.securityAndAnalysis = securityAndAnalysis
1962+
self.customProperties = customProperties
19361963
}
19371964
public enum CodingKeys: String, CodingKey {
19381965
case id
@@ -2022,6 +2049,7 @@ public enum Components {
20222049
case allowForking = "allow_forking"
20232050
case webCommitSignoffRequired = "web_commit_signoff_required"
20242051
case securityAndAnalysis = "security_and_analysis"
2052+
case customProperties = "custom_properties"
20252053
}
20262054
}
20272055
/// A software package

0 commit comments

Comments
 (0)