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/activity/Types.swift
+43-5
Original file line number
Diff line number
Diff line change
@@ -889,6 +889,8 @@ public enum Components {
889
889
public var site_admin: Swift.Bool
890
890
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
891
891
public var starred_at: Swift.String?
892
+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
893
+
public var user_view_type: Swift.String?
892
894
/// Creates a new `simple_hyphen_user`.
893
895
///
894
896
/// - Parameters:
@@ -913,6 +915,7 @@ public enum Components {
913
915
/// - _type:
914
916
/// - site_admin:
915
917
/// - starred_at:
918
+
/// - user_view_type:
916
919
public init(
917
920
name: Swift.String? = nil,
918
921
email: Swift.String? = nil,
@@ -934,7 +937,8 @@ public enum Components {
934
937
received_events_url: Swift.String,
935
938
_type: Swift.String,
936
939
site_admin: Swift.Bool,
937
-
starred_at: Swift.String? = nil
940
+
starred_at: Swift.String? = nil,
941
+
user_view_type: Swift.String? = nil
938
942
) {
939
943
self.name = name
940
944
self.email = email
@@ -957,6 +961,7 @@ public enum Components {
957
961
self._type = _type
958
962
self.site_admin = site_admin
959
963
self.starred_at = starred_at
964
+
self.user_view_type = user_view_type
960
965
}
961
966
public enum CodingKeys: String, CodingKey {
962
967
case name
@@ -980,6 +985,7 @@ public enum Components {
980
985
case _type = "type"
981
986
case site_admin
982
987
case starred_at
988
+
case user_view_type
983
989
}
984
990
}
985
991
/// Basic Error
@@ -1065,6 +1071,8 @@ public enum Components {
1065
1071
public var site_admin: Swift.Bool
1066
1072
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
1067
1073
public var starred_at: Swift.String?
1074
+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
1075
+
public var user_view_type: Swift.String?
1068
1076
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
1069
1077
///
1070
1078
/// - Parameters:
@@ -1089,6 +1097,7 @@ public enum Components {
1089
1097
/// - _type:
1090
1098
/// - site_admin:
1091
1099
/// - starred_at:
1100
+
/// - user_view_type:
1092
1101
public init(
1093
1102
name: Swift.String? = nil,
1094
1103
email: Swift.String? = nil,
@@ -1110,7 +1119,8 @@ public enum Components {
1110
1119
received_events_url: Swift.String,
1111
1120
_type: Swift.String,
1112
1121
site_admin: Swift.Bool,
1113
-
starred_at: Swift.String? = nil
1122
+
starred_at: Swift.String? = nil,
1123
+
user_view_type: Swift.String? = nil
1114
1124
) {
1115
1125
self.name = name
1116
1126
self.email = email
@@ -1133,6 +1143,7 @@ public enum Components {
1133
1143
self._type = _type
1134
1144
self.site_admin = site_admin
1135
1145
self.starred_at = starred_at
1146
+
self.user_view_type = user_view_type
1136
1147
}
1137
1148
public enum CodingKeys: String, CodingKey {
1138
1149
case name
@@ -1156,6 +1167,7 @@ public enum Components {
1156
1167
case _type = "type"
1157
1168
case site_admin
1158
1169
case starred_at
1170
+
case user_view_type
1159
1171
}
1160
1172
}
1161
1173
/// Validation Error
@@ -1580,7 +1592,7 @@ public enum Components {
1580
1592
///
1581
1593
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
1582
1594
public var allow_update_branch: Swift.Bool?
1583
-
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
1595
+
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
1584
1596
///
1585
1597
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
1586
1598
@available(*, deprecated)
@@ -1768,7 +1780,7 @@ public enum Components {
1768
1780
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
1769
1781
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
1770
1782
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
1771
-
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
1783
+
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
1772
1784
/// - squash_merge_commit_title: The default value for a squash merge commit title:
1773
1785
/// - squash_merge_commit_message: The default value for a squash merge commit message:
1774
1786
/// - merge_commit_title: The default value for a merge commit title.
@@ -3547,6 +3559,28 @@ public enum Components {
3547
3559
}
3548
3560
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
3549
3561
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
3562
+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
3563
+
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
3564
+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
3565
+
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
3566
+
case enabled = "enabled"
3567
+
case disabled = "disabled"
3568
+
}
3569
+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
3570
+
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
3571
+
/// Creates a new `secret_scanning_ai_detectionPayload`.
3572
+
///
3573
+
/// - Parameters:
3574
+
/// - status:
3575
+
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
3576
+
self.status = status
3577
+
}
3578
+
public enum CodingKeys: String, CodingKey {
3579
+
case status
3580
+
}
3581
+
}
3582
+
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
3583
+
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
3550
3584
/// Creates a new `security_hyphen_and_hyphen_analysis`.
0 commit comments