You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/apps/Types.swift
+95-2Lines changed: 95 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2613,6 +2613,7 @@ public enum Components {
2613
2613
///
2614
2614
/// - Remark: Generated from `#/components/schemas/app-permissions/organization_copilot_seat_management`.
2615
2615
@frozen public enum OrganizationCopilotSeatManagementPayload: String, Codable, Hashable, Sendable, CaseIterable {
2616
+
case read = "read"
2616
2617
case write = "write"
2617
2618
}
2618
2619
/// 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 {
8943
8944
public struct RepositoriesPayloadPayload: Codable, Hashable, Sendable {
8944
8945
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/RepositoriesPayload/value1`.
8945
8946
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 {
/// 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
8946
8986
/// Creates a new `RepositoriesPayloadPayload`.
8947
8987
///
8948
8988
/// - Parameters:
8949
8989
/// - value1:
8950
-
public init(value1: Components.Schemas.Repository) {
public init(from decoder: any Swift.Decoder) throws {
8954
8999
self.value1 = try .init(from: decoder)
9000
+
self.value2 = try .init(from: decoder)
8955
9001
}
8956
9002
public func encode(to encoder: any Swift.Encoder) throws {
8957
9003
try self.value1.encode(to: encoder)
9004
+
try self.value2.encode(to: encoder)
8958
9005
}
8959
9006
}
8960
9007
/// - Remark: Generated from `#/paths/installation/repositories/GET/responses/200/content/json/repositories`.
@@ -11189,18 +11236,64 @@ public enum Operations {
11189
11236
public struct RepositoriesPayloadPayload: Codable, Hashable, Sendable {
11190
11237
/// - Remark: Generated from `#/paths/user/installations/{installation_id}/repositories/GET/responses/200/content/json/RepositoriesPayload/value1`.
11191
11238
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 {
/// 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
11192
11278
/// Creates a new `RepositoriesPayloadPayload`.
11193
11279
///
11194
11280
/// - Parameters:
11195
11281
/// - value1:
11196
-
public init(value1: Components.Schemas.Repository) {
0 commit comments