Skip to content

Commit 0a79744

Browse files
Commit via running ake Sources/packages
1 parent 5d916f7 commit 0a79744

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

Sources/packages/Types.swift

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,8 @@ public enum Components {
871871
public var site_admin: Swift.Bool
872872
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
873873
public var starred_at: Swift.String?
874+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
875+
public var user_view_type: Swift.String?
874876
/// Creates a new `simple_hyphen_user`.
875877
///
876878
/// - Parameters:
@@ -895,6 +897,7 @@ public enum Components {
895897
/// - _type:
896898
/// - site_admin:
897899
/// - starred_at:
900+
/// - user_view_type:
898901
public init(
899902
name: Swift.String? = nil,
900903
email: Swift.String? = nil,
@@ -916,7 +919,8 @@ public enum Components {
916919
received_events_url: Swift.String,
917920
_type: Swift.String,
918921
site_admin: Swift.Bool,
919-
starred_at: Swift.String? = nil
922+
starred_at: Swift.String? = nil,
923+
user_view_type: Swift.String? = nil
920924
) {
921925
self.name = name
922926
self.email = email
@@ -939,6 +943,7 @@ public enum Components {
939943
self._type = _type
940944
self.site_admin = site_admin
941945
self.starred_at = starred_at
946+
self.user_view_type = user_view_type
942947
}
943948
public enum CodingKeys: String, CodingKey {
944949
case name
@@ -962,6 +967,7 @@ public enum Components {
962967
case _type = "type"
963968
case site_admin
964969
case starred_at
970+
case user_view_type
965971
}
966972
}
967973
/// Basic Error
@@ -1047,6 +1053,8 @@ public enum Components {
10471053
public var site_admin: Swift.Bool
10481054
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
10491055
public var starred_at: Swift.String?
1056+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
1057+
public var user_view_type: Swift.String?
10501058
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
10511059
///
10521060
/// - Parameters:
@@ -1071,6 +1079,7 @@ public enum Components {
10711079
/// - _type:
10721080
/// - site_admin:
10731081
/// - starred_at:
1082+
/// - user_view_type:
10741083
public init(
10751084
name: Swift.String? = nil,
10761085
email: Swift.String? = nil,
@@ -1092,7 +1101,8 @@ public enum Components {
10921101
received_events_url: Swift.String,
10931102
_type: Swift.String,
10941103
site_admin: Swift.Bool,
1095-
starred_at: Swift.String? = nil
1104+
starred_at: Swift.String? = nil,
1105+
user_view_type: Swift.String? = nil
10961106
) {
10971107
self.name = name
10981108
self.email = email
@@ -1115,6 +1125,7 @@ public enum Components {
11151125
self._type = _type
11161126
self.site_admin = site_admin
11171127
self.starred_at = starred_at
1128+
self.user_view_type = user_view_type
11181129
}
11191130
public enum CodingKeys: String, CodingKey {
11201131
case name
@@ -1138,6 +1149,7 @@ public enum Components {
11381149
case _type = "type"
11391150
case site_admin
11401151
case starred_at
1152+
case user_view_type
11411153
}
11421154
}
11431155
/// Code Of Conduct
@@ -1303,6 +1315,28 @@ public enum Components {
13031315
}
13041316
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
13051317
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
1318+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
1319+
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
1320+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
1321+
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
1322+
case enabled = "enabled"
1323+
case disabled = "disabled"
1324+
}
1325+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
1326+
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
1327+
/// Creates a new `secret_scanning_ai_detectionPayload`.
1328+
///
1329+
/// - Parameters:
1330+
/// - status:
1331+
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
1332+
self.status = status
1333+
}
1334+
public enum CodingKeys: String, CodingKey {
1335+
case status
1336+
}
1337+
}
1338+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
1339+
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
13061340
/// Creates a new `security_hyphen_and_hyphen_analysis`.
13071341
///
13081342
/// - Parameters:
@@ -1311,25 +1345,29 @@ public enum Components {
13111345
/// - secret_scanning:
13121346
/// - secret_scanning_push_protection:
13131347
/// - secret_scanning_non_provider_patterns:
1348+
/// - secret_scanning_ai_detection:
13141349
public init(
13151350
advanced_security: Components.Schemas.security_hyphen_and_hyphen_analysis.advanced_securityPayload? = nil,
13161351
dependabot_security_updates: Components.Schemas.security_hyphen_and_hyphen_analysis.dependabot_security_updatesPayload? = nil,
13171352
secret_scanning: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanningPayload? = nil,
13181353
secret_scanning_push_protection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_push_protectionPayload? = nil,
1319-
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil
1354+
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil,
1355+
secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload? = nil
13201356
) {
13211357
self.advanced_security = advanced_security
13221358
self.dependabot_security_updates = dependabot_security_updates
13231359
self.secret_scanning = secret_scanning
13241360
self.secret_scanning_push_protection = secret_scanning_push_protection
13251361
self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns
1362+
self.secret_scanning_ai_detection = secret_scanning_ai_detection
13261363
}
13271364
public enum CodingKeys: String, CodingKey {
13281365
case advanced_security
13291366
case dependabot_security_updates
13301367
case secret_scanning
13311368
case secret_scanning_push_protection
13321369
case secret_scanning_non_provider_patterns
1370+
case secret_scanning_ai_detection
13331371
}
13341372
}
13351373
/// Minimal Repository

0 commit comments

Comments
 (0)