Skip to content

Commit e580605

Browse files
Commit via running: make Sources/secret-scanning
1 parent a77f000 commit e580605

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Sources/secret-scanning/Types.swift

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,6 +1890,8 @@ public enum Components {
18901890
///
18911891
/// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/has_more_locations`.
18921892
public var hasMoreLocations: Swift.Bool?
1893+
/// - Remark: Generated from `#/components/schemas/organization-secret-scanning-alert/assigned_to`.
1894+
public var assignedTo: Components.Schemas.NullableSimpleUser?
18931895
/// Creates a new `OrganizationSecretScanningAlert`.
18941896
///
18951897
/// - Parameters:
@@ -1921,6 +1923,7 @@ public enum Components {
19211923
/// - isBase64Encoded: A boolean value representing whether or not alert is base64 encoded
19221924
/// - firstLocationDetected:
19231925
/// - hasMoreLocations: A boolean value representing whether or not the token in the alert was detected in more than one location.
1926+
/// - assignedTo:
19241927
public init(
19251928
number: Components.Schemas.AlertNumber? = nil,
19261929
createdAt: Components.Schemas.AlertCreatedAt? = nil,
@@ -1949,7 +1952,8 @@ public enum Components {
19491952
multiRepo: Swift.Bool? = nil,
19501953
isBase64Encoded: Swift.Bool? = nil,
19511954
firstLocationDetected: Components.Schemas.NullableSecretScanningFirstDetectedLocation? = nil,
1952-
hasMoreLocations: Swift.Bool? = nil
1955+
hasMoreLocations: Swift.Bool? = nil,
1956+
assignedTo: Components.Schemas.NullableSimpleUser? = nil
19531957
) {
19541958
self.number = number
19551959
self.createdAt = createdAt
@@ -1979,6 +1983,7 @@ public enum Components {
19791983
self.isBase64Encoded = isBase64Encoded
19801984
self.firstLocationDetected = firstLocationDetected
19811985
self.hasMoreLocations = hasMoreLocations
1986+
self.assignedTo = assignedTo
19821987
}
19831988
public enum CodingKeys: String, CodingKey {
19841989
case number
@@ -2009,6 +2014,7 @@ public enum Components {
20092014
case isBase64Encoded = "is_base64_encoded"
20102015
case firstLocationDetected = "first_location_detected"
20112016
case hasMoreLocations = "has_more_locations"
2017+
case assignedTo = "assigned_to"
20122018
}
20132019
}
20142020
/// The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.
@@ -2281,6 +2287,8 @@ public enum Components {
22812287
///
22822288
/// - Remark: Generated from `#/components/schemas/secret-scanning-alert/has_more_locations`.
22832289
public var hasMoreLocations: Swift.Bool?
2290+
/// - Remark: Generated from `#/components/schemas/secret-scanning-alert/assigned_to`.
2291+
public var assignedTo: Components.Schemas.NullableSimpleUser?
22842292
/// Creates a new `SecretScanningAlert`.
22852293
///
22862294
/// - Parameters:
@@ -2311,6 +2319,7 @@ public enum Components {
23112319
/// - isBase64Encoded: A boolean value representing whether or not alert is base64 encoded
23122320
/// - firstLocationDetected:
23132321
/// - hasMoreLocations: A boolean value representing whether or not the token in the alert was detected in more than one location.
2322+
/// - assignedTo:
23142323
public init(
23152324
number: Components.Schemas.AlertNumber? = nil,
23162325
createdAt: Components.Schemas.AlertCreatedAt? = nil,
@@ -2338,7 +2347,8 @@ public enum Components {
23382347
multiRepo: Swift.Bool? = nil,
23392348
isBase64Encoded: Swift.Bool? = nil,
23402349
firstLocationDetected: Components.Schemas.NullableSecretScanningFirstDetectedLocation? = nil,
2341-
hasMoreLocations: Swift.Bool? = nil
2350+
hasMoreLocations: Swift.Bool? = nil,
2351+
assignedTo: Components.Schemas.NullableSimpleUser? = nil
23422352
) {
23432353
self.number = number
23442354
self.createdAt = createdAt
@@ -2367,6 +2377,7 @@ public enum Components {
23672377
self.isBase64Encoded = isBase64Encoded
23682378
self.firstLocationDetected = firstLocationDetected
23692379
self.hasMoreLocations = hasMoreLocations
2380+
self.assignedTo = assignedTo
23702381
}
23712382
public enum CodingKeys: String, CodingKey {
23722383
case number
@@ -2396,6 +2407,7 @@ public enum Components {
23962407
case isBase64Encoded = "is_base64_encoded"
23972408
case firstLocationDetected = "first_location_detected"
23982409
case hasMoreLocations = "has_more_locations"
2410+
case assignedTo = "assigned_to"
23992411
}
24002412
}
24012413
/// An optional comment when closing or reopening an alert. Cannot be updated or deleted.

0 commit comments

Comments
 (0)