Skip to content
Prev Previous commit
Next Next commit
Commit via running: make Sources/activity
  • Loading branch information
dependabot[bot] committed Jun 3, 2025
commit 81c780db47db78d73973de40ea471ad34684bf98
28 changes: 5 additions & 23 deletions Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2686,20 +2686,14 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/nullable-integration/permissions`.
public var permissions: Components.Schemas.NullableIntegration.PermissionsPayload
/// The list of events for the GitHub app
/// The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.
///
/// - Remark: Generated from `#/components/schemas/nullable-integration/events`.
public var events: [Swift.String]
/// The number of installations associated with the GitHub app
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
///
/// - Remark: Generated from `#/components/schemas/nullable-integration/installations_count`.
public var installationsCount: Swift.Int?
/// - Remark: Generated from `#/components/schemas/nullable-integration/client_secret`.
public var clientSecret: Swift.String?
/// - Remark: Generated from `#/components/schemas/nullable-integration/webhook_secret`.
public var webhookSecret: Swift.String?
/// - Remark: Generated from `#/components/schemas/nullable-integration/pem`.
public var pem: Swift.String?
/// Creates a new `NullableIntegration`.
///
/// - Parameters:
Expand All @@ -2715,11 +2709,8 @@ public enum Components {
/// - createdAt:
/// - updatedAt:
/// - permissions: The set of permissions for the GitHub app
/// - events: The list of events for the GitHub app
/// - installationsCount: The number of installations associated with the GitHub app
/// - clientSecret:
/// - webhookSecret:
/// - pem:
/// - events: The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
public init(
id: Swift.Int,
slug: Swift.String? = nil,
Expand All @@ -2734,10 +2725,7 @@ public enum Components {
updatedAt: Foundation.Date,
permissions: Components.Schemas.NullableIntegration.PermissionsPayload,
events: [Swift.String],
installationsCount: Swift.Int? = nil,
clientSecret: Swift.String? = nil,
webhookSecret: Swift.String? = nil,
pem: Swift.String? = nil
installationsCount: Swift.Int? = nil
) {
self.id = id
self.slug = slug
Expand All @@ -2753,9 +2741,6 @@ public enum Components {
self.permissions = permissions
self.events = events
self.installationsCount = installationsCount
self.clientSecret = clientSecret
self.webhookSecret = webhookSecret
self.pem = pem
}
public enum CodingKeys: String, CodingKey {
case id
Expand All @@ -2772,9 +2757,6 @@ public enum Components {
case permissions
case events
case installationsCount = "installations_count"
case clientSecret = "client_secret"
case webhookSecret = "webhook_secret"
case pem
}
}
/// How the author is associated with the repository.
Expand Down