Skip to content

Commit 02ebfa7

Browse files
Commit via running: make Sources/checks
1 parent cfc8dbc commit 02ebfa7

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

Sources/checks/Types.swift

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -899,20 +899,14 @@ public enum Components {
899899
///
900900
/// - Remark: Generated from `#/components/schemas/nullable-integration/permissions`.
901901
public var permissions: Components.Schemas.NullableIntegration.PermissionsPayload
902-
/// The list of events for the GitHub app
902+
/// 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.
903903
///
904904
/// - Remark: Generated from `#/components/schemas/nullable-integration/events`.
905905
public var events: [Swift.String]
906-
/// The number of installations associated with the GitHub app
906+
/// The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
907907
///
908908
/// - Remark: Generated from `#/components/schemas/nullable-integration/installations_count`.
909909
public var installationsCount: Swift.Int?
910-
/// - Remark: Generated from `#/components/schemas/nullable-integration/client_secret`.
911-
public var clientSecret: Swift.String?
912-
/// - Remark: Generated from `#/components/schemas/nullable-integration/webhook_secret`.
913-
public var webhookSecret: Swift.String?
914-
/// - Remark: Generated from `#/components/schemas/nullable-integration/pem`.
915-
public var pem: Swift.String?
916910
/// Creates a new `NullableIntegration`.
917911
///
918912
/// - Parameters:
@@ -928,11 +922,8 @@ public enum Components {
928922
/// - createdAt:
929923
/// - updatedAt:
930924
/// - permissions: The set of permissions for the GitHub app
931-
/// - events: The list of events for the GitHub app
932-
/// - installationsCount: The number of installations associated with the GitHub app
933-
/// - clientSecret:
934-
/// - webhookSecret:
935-
/// - pem:
925+
/// - 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.
926+
/// - installationsCount: The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
936927
public init(
937928
id: Swift.Int,
938929
slug: Swift.String? = nil,
@@ -947,10 +938,7 @@ public enum Components {
947938
updatedAt: Foundation.Date,
948939
permissions: Components.Schemas.NullableIntegration.PermissionsPayload,
949940
events: [Swift.String],
950-
installationsCount: Swift.Int? = nil,
951-
clientSecret: Swift.String? = nil,
952-
webhookSecret: Swift.String? = nil,
953-
pem: Swift.String? = nil
941+
installationsCount: Swift.Int? = nil
954942
) {
955943
self.id = id
956944
self.slug = slug
@@ -966,9 +954,6 @@ public enum Components {
966954
self.permissions = permissions
967955
self.events = events
968956
self.installationsCount = installationsCount
969-
self.clientSecret = clientSecret
970-
self.webhookSecret = webhookSecret
971-
self.pem = pem
972957
}
973958
public enum CodingKeys: String, CodingKey {
974959
case id
@@ -985,9 +970,6 @@ public enum Components {
985970
case permissions
986971
case events
987972
case installationsCount = "installations_count"
988-
case clientSecret = "client_secret"
989-
case webhookSecret = "webhook_secret"
990-
case pem
991973
}
992974
}
993975
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.

0 commit comments

Comments
 (0)