Skip to content

Commit 0f43275

Browse files
Commit via running: make Sources/teams
1 parent 2b3bbc3 commit 0f43275

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/teams/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3072,6 +3072,30 @@ public enum Components {
30723072
public var webCommitSignoffRequired: Swift.Bool?
30733073
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
30743074
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
3075+
/// 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.
3076+
///
3077+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3078+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
3079+
/// A container of undocumented properties.
3080+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
3081+
/// Creates a new `CustomPropertiesPayload`.
3082+
///
3083+
/// - Parameters:
3084+
/// - additionalProperties: A container of undocumented properties.
3085+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
3086+
self.additionalProperties = additionalProperties
3087+
}
3088+
public init(from decoder: any Decoder) throws {
3089+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
3090+
}
3091+
public func encode(to encoder: any Encoder) throws {
3092+
try encoder.encodeAdditionalProperties(additionalProperties)
3093+
}
3094+
}
3095+
/// 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.
3096+
///
3097+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
3098+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
30753099
/// Creates a new `MinimalRepository`.
30763100
///
30773101
/// - Parameters:
@@ -3162,6 +3186,7 @@ public enum Components {
31623186
/// - allowForking:
31633187
/// - webCommitSignoffRequired:
31643188
/// - securityAndAnalysis:
3189+
/// - 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.
31653190
public init(
31663191
id: Swift.Int64,
31673192
nodeId: Swift.String,
@@ -3249,7 +3274,8 @@ public enum Components {
32493274
watchers: Swift.Int? = nil,
32503275
allowForking: Swift.Bool? = nil,
32513276
webCommitSignoffRequired: Swift.Bool? = nil,
3252-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
3277+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
3278+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
32533279
) {
32543280
self.id = id
32553281
self.nodeId = nodeId
@@ -3338,6 +3364,7 @@ public enum Components {
33383364
self.allowForking = allowForking
33393365
self.webCommitSignoffRequired = webCommitSignoffRequired
33403366
self.securityAndAnalysis = securityAndAnalysis
3367+
self.customProperties = customProperties
33413368
}
33423369
public enum CodingKeys: String, CodingKey {
33433370
case id
@@ -3427,6 +3454,7 @@ public enum Components {
34273454
case allowForking = "allow_forking"
34283455
case webCommitSignoffRequired = "web_commit_signoff_required"
34293456
case securityAndAnalysis = "security_and_analysis"
3457+
case customProperties = "custom_properties"
34303458
}
34313459
}
34323460
/// Groups of organization members that gives permissions on specified repositories.

0 commit comments

Comments
 (0)