Skip to content

Commit 95dd47a

Browse files
Commit via running: make Sources/codespaces
1 parent 3e5ed81 commit 95dd47a

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/codespaces/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3237,6 +3237,30 @@ public enum Components {
32373237
public var webCommitSignoffRequired: Swift.Bool?
32383238
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
32393239
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
3240+
/// 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.
3241+
///
3242+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3243+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
3244+
/// A container of undocumented properties.
3245+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
3246+
/// Creates a new `CustomPropertiesPayload`.
3247+
///
3248+
/// - Parameters:
3249+
/// - additionalProperties: A container of undocumented properties.
3250+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
3251+
self.additionalProperties = additionalProperties
3252+
}
3253+
public init(from decoder: any Decoder) throws {
3254+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
3255+
}
3256+
public func encode(to encoder: any Encoder) throws {
3257+
try encoder.encodeAdditionalProperties(additionalProperties)
3258+
}
3259+
}
3260+
/// 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.
3261+
///
3262+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3263+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
32403264
/// Creates a new `MinimalRepository`.
32413265
///
32423266
/// - Parameters:
@@ -3327,6 +3351,7 @@ public enum Components {
33273351
/// - allowForking:
33283352
/// - webCommitSignoffRequired:
33293353
/// - securityAndAnalysis:
3354+
/// - 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.
33303355
public init(
33313356
id: Swift.Int64,
33323357
nodeId: Swift.String,
@@ -3414,7 +3439,8 @@ public enum Components {
34143439
watchers: Swift.Int? = nil,
34153440
allowForking: Swift.Bool? = nil,
34163441
webCommitSignoffRequired: Swift.Bool? = nil,
3417-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
3442+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
3443+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
34183444
) {
34193445
self.id = id
34203446
self.nodeId = nodeId
@@ -3503,6 +3529,7 @@ public enum Components {
35033529
self.allowForking = allowForking
35043530
self.webCommitSignoffRequired = webCommitSignoffRequired
35053531
self.securityAndAnalysis = securityAndAnalysis
3532+
self.customProperties = customProperties
35063533
}
35073534
public enum CodingKeys: String, CodingKey {
35083535
case id
@@ -3592,6 +3619,7 @@ public enum Components {
35923619
case allowForking = "allow_forking"
35933620
case webCommitSignoffRequired = "web_commit_signoff_required"
35943621
case securityAndAnalysis = "security_and_analysis"
3622+
case customProperties = "custom_properties"
35953623
}
35963624
}
35973625
/// An object without any properties.

0 commit comments

Comments
 (0)