Skip to content

Commit 990980b

Browse files
Commit via running: make Sources/search
1 parent 99b6a78 commit 990980b

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

Sources/search/Types.swift

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2725,6 +2725,30 @@ public enum Components {
27252725
public var webCommitSignoffRequired: Swift.Bool?
27262726
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
27272727
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
2728+
/// 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.
2729+
///
2730+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
2731+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
2732+
/// A container of undocumented properties.
2733+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
2734+
/// Creates a new `CustomPropertiesPayload`.
2735+
///
2736+
/// - Parameters:
2737+
/// - additionalProperties: A container of undocumented properties.
2738+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
2739+
self.additionalProperties = additionalProperties
2740+
}
2741+
public init(from decoder: any Decoder) throws {
2742+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
2743+
}
2744+
public func encode(to encoder: any Encoder) throws {
2745+
try encoder.encodeAdditionalProperties(additionalProperties)
2746+
}
2747+
}
2748+
/// 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.
2749+
///
2750+
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
2751+
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
27282752
/// Creates a new `MinimalRepository`.
27292753
///
27302754
/// - Parameters:
@@ -2815,6 +2839,7 @@ public enum Components {
28152839
/// - allowForking:
28162840
/// - webCommitSignoffRequired:
28172841
/// - securityAndAnalysis:
2842+
/// - 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.
28182843
public init(
28192844
id: Swift.Int64,
28202845
nodeId: Swift.String,
@@ -2902,7 +2927,8 @@ public enum Components {
29022927
watchers: Swift.Int? = nil,
29032928
allowForking: Swift.Bool? = nil,
29042929
webCommitSignoffRequired: Swift.Bool? = nil,
2905-
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
2930+
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
2931+
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
29062932
) {
29072933
self.id = id
29082934
self.nodeId = nodeId
@@ -2991,6 +3017,7 @@ public enum Components {
29913017
self.allowForking = allowForking
29923018
self.webCommitSignoffRequired = webCommitSignoffRequired
29933019
self.securityAndAnalysis = securityAndAnalysis
3020+
self.customProperties = customProperties
29943021
}
29953022
public enum CodingKeys: String, CodingKey {
29963023
case id
@@ -3080,6 +3107,7 @@ public enum Components {
30803107
case allowForking = "allow_forking"
30813108
case webCommitSignoffRequired = "web_commit_signoff_required"
30823109
case securityAndAnalysis = "security_and_analysis"
3110+
case customProperties = "custom_properties"
30833111
}
30843112
}
30853113
/// Metaproperties for Git author/committer information.

0 commit comments

Comments
 (0)