Skip to content

Commit caabdc6

Browse files
Commit via running: make Sources/apps
1 parent 71963f4 commit caabdc6

1 file changed

Lines changed: 95 additions & 2 deletions

File tree

Sources/apps/Types.swift

Lines changed: 95 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,6 +2613,7 @@ public enum Components {
26132613
///
26142614
/// - Remark: Generated from `#/components/schemas/app-permissions/organization_copilot_seat_management`.
26152615
@frozen public enum OrganizationCopilotSeatManagementPayload: String, Codable, Hashable, Sendable, CaseIterable {
2616+
case read = "read"
26162617
case write = "write"
26172618
}
26182619
/// The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.
@@ -8943,18 +8944,64 @@ public enum Operations {
89438944
public struct RepositoriesPayloadPayload: Codable, Hashable, Sendable {
89448945
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value1`.
89458946
public var value1: Components.Schemas.Repository
8947+
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value2`.
8948+
public struct Value2Payload: Codable, Hashable, Sendable {
8949+
/// 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. Present for org repos only.
8950+
///
8951+
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value2/custom_properties`.
8952+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
8953+
/// A container of undocumented properties.
8954+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
8955+
/// Creates a new `CustomPropertiesPayload`.
8956+
///
8957+
/// - Parameters:
8958+
/// - additionalProperties: A container of undocumented properties.
8959+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
8960+
self.additionalProperties = additionalProperties
8961+
}
8962+
public init(from decoder: any Swift.Decoder) throws {
8963+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
8964+
}
8965+
public func encode(to encoder: any Swift.Encoder) throws {
8966+
try encoder.encodeAdditionalProperties(additionalProperties)
8967+
}
8968+
}
8969+
/// 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. Present for org repos only.
8970+
///
8971+
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value2/custom_properties`.
8972+
public var customProperties: Operations.AppsListReposAccessibleToInstallation.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload.CustomPropertiesPayload?
8973+
/// Creates a new `Value2Payload`.
8974+
///
8975+
/// - Parameters:
8976+
/// - 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. Present for org repos only.
8977+
public init(customProperties: Operations.AppsListReposAccessibleToInstallation.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload.CustomPropertiesPayload? = nil) {
8978+
self.customProperties = customProperties
8979+
}
8980+
public enum CodingKeys: String, CodingKey {
8981+
case customProperties = "custom_properties"
8982+
}
8983+
}
8984+
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value2`.
8985+
public var value2: Operations.AppsListReposAccessibleToInstallation.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload
89468986
/// Creates a new `RepositoriesPayloadPayload`.
89478987
///
89488988
/// - Parameters:
89498989
/// - value1:
8950-
public init(value1: Components.Schemas.Repository) {
8990+
/// - value2:
8991+
public init(
8992+
value1: Components.Schemas.Repository,
8993+
value2: Operations.AppsListReposAccessibleToInstallation.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload
8994+
) {
89518995
self.value1 = value1
8996+
self.value2 = value2
89528997
}
89538998
public init(from decoder: any Swift.Decoder) throws {
89548999
self.value1 = try .init(from: decoder)
9000+
self.value2 = try .init(from: decoder)
89559001
}
89569002
public func encode(to encoder: any Swift.Encoder) throws {
89579003
try self.value1.encode(to: encoder)
9004+
try self.value2.encode(to: encoder)
89589005
}
89599006
}
89609007
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/repositories`.
@@ -11189,18 +11236,64 @@ public enum Operations {
1118911236
public struct RepositoriesPayloadPayload: Codable, Hashable, Sendable {
1119011237
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value1`.
1119111238
public var value1: Components.Schemas.Repository
11239+
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value2`.
11240+
public struct Value2Payload: Codable, Hashable, Sendable {
11241+
/// 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. Present for org repos only.
11242+
///
11243+
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value2/custom_properties`.
11244+
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
11245+
/// A container of undocumented properties.
11246+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
11247+
/// Creates a new `CustomPropertiesPayload`.
11248+
///
11249+
/// - Parameters:
11250+
/// - additionalProperties: A container of undocumented properties.
11251+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
11252+
self.additionalProperties = additionalProperties
11253+
}
11254+
public init(from decoder: any Swift.Decoder) throws {
11255+
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
11256+
}
11257+
public func encode(to encoder: any Swift.Encoder) throws {
11258+
try encoder.encodeAdditionalProperties(additionalProperties)
11259+
}
11260+
}
11261+
/// 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. Present for org repos only.
11262+
///
11263+
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value2/custom_properties`.
11264+
public var customProperties: Operations.AppsListInstallationReposForAuthenticatedUser.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload.CustomPropertiesPayload?
11265+
/// Creates a new `Value2Payload`.
11266+
///
11267+
/// - Parameters:
11268+
/// - 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. Present for org repos only.
11269+
public init(customProperties: Operations.AppsListInstallationReposForAuthenticatedUser.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload.CustomPropertiesPayload? = nil) {
11270+
self.customProperties = customProperties
11271+
}
11272+
public enum CodingKeys: String, CodingKey {
11273+
case customProperties = "custom_properties"
11274+
}
11275+
}
11276+
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value2`.
11277+
public var value2: Operations.AppsListInstallationReposForAuthenticatedUser.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload
1119211278
/// Creates a new `RepositoriesPayloadPayload`.
1119311279
///
1119411280
/// - Parameters:
1119511281
/// - value1:
11196-
public init(value1: Components.Schemas.Repository) {
11282+
/// - value2:
11283+
public init(
11284+
value1: Components.Schemas.Repository,
11285+
value2: Operations.AppsListInstallationReposForAuthenticatedUser.Output.Ok.Body.JsonPayload.RepositoriesPayloadPayload.Value2Payload
11286+
) {
1119711287
self.value1 = value1
11288+
self.value2 = value2
1119811289
}
1119911290
public init(from decoder: any Swift.Decoder) throws {
1120011291
self.value1 = try .init(from: decoder)
11292+
self.value2 = try .init(from: decoder)
1120111293
}
1120211294
public func encode(to encoder: any Swift.Encoder) throws {
1120311295
try self.value1.encode(to: encoder)
11296+
try self.value2.encode(to: encoder)
1120411297
}
1120511298
}
1120611299
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/repositories`.

0 commit comments

Comments
 (0)