Skip to content

Commit e1c4a92

Browse files
Commit via running: make Sources/activity
1 parent 415e83f commit e1c4a92

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/activity/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4175,6 +4175,30 @@ public enum Components {
41754175
public var webCommitSignoffRequired: Swift.Bool?
41764176
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
41774177
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
4178+
/// 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.
4179+
///
4180+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
4181+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
4182+
/// A container of undocumented properties.
4183+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
4184+
/// Creates a new `CustomPropertiesPayload`.
4185+
///
4186+
/// - Parameters:
4187+
/// - additionalProperties: A container of undocumented properties.
4188+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
4189+
self.additionalProperties = additionalProperties
4190+
}
4191+
public init(from decoder: any Decoder) throws {
4192+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
4193+
}
4194+
public func encode(to encoder: any Encoder) throws {
4195+
try encoder.encodeAdditionalProperties(additionalProperties)
4196+
}
4197+
}
4198+
/// 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.
4199+
///
4200+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
4201+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
41784202
/// Creates a new `MinimalRepository`.
41794203
///
41804204
/// - Parameters:
@@ -4265,6 +4289,7 @@ public enum Components {
42654289
/// - allowForking:
42664290
/// - webCommitSignoffRequired:
42674291
/// - securityAndAnalysis:
4292+
/// - 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.
42684293
public init(
42694294
id: Swift.Int64,
42704295
nodeId: Swift.String,
@@ -4352,7 +4377,8 @@ public enum Components {
43524377
watchers: Swift.Int? = nil,
43534378
allowForking: Swift.Bool? = nil,
43544379
webCommitSignoffRequired: Swift.Bool? = nil,
4355-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
4380+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
4381+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
43564382
) {
43574383
self.id = id
43584384
self.nodeId = nodeId
@@ -4441,6 +4467,7 @@ public enum Components {
44414467
self.allowForking = allowForking
44424468
self.webCommitSignoffRequired = webCommitSignoffRequired
44434469
self.securityAndAnalysis = securityAndAnalysis
4470+
self.customProperties = customProperties
44444471
}
44454472
public enum CodingKeys: String, CodingKey {
44464473
case id
@@ -4530,6 +4557,7 @@ public enum Components {
45304557
case allowForking = "allow_forking"
45314558
case webCommitSignoffRequired = "web_commit_signoff_required"
45324559
case securityAndAnalysis = "security_and_analysis"
4560+
case customProperties = "custom_properties"
45334561
}
45344562
}
45354563
/// Thread

0 commit comments

Comments
 (0)