Skip to content

Commit 694daf0

Browse files
Commit via running: make Sources/copilot
1 parent a346e32 commit 694daf0

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

Sources/copilot/Types.swift

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,6 +1871,17 @@ public enum Components {
18711871
public var createdAt: Foundation.Date
18721872
/// - Remark: Generated from `#/components/schemas/enterprise-team/updated_at`.
18731873
public var updatedAt: Foundation.Date
1874+
/// Whether team members will receive notifications when the team is mentioned.
1875+
///
1876+
/// - Remark: Generated from `#/components/schemas/enterprise-team/notification_setting`.
1877+
@frozen public enum NotificationSettingPayload: String, Codable, Hashable, Sendable, CaseIterable {
1878+
case notificationsEnabled = "notifications_enabled"
1879+
case notificationsDisabled = "notifications_disabled"
1880+
}
1881+
/// Whether team members will receive notifications when the team is mentioned.
1882+
///
1883+
/// - Remark: Generated from `#/components/schemas/enterprise-team/notification_setting`.
1884+
public var notificationSetting: Components.Schemas.EnterpriseTeam.NotificationSettingPayload?
18741885
/// Creates a new `EnterpriseTeam`.
18751886
///
18761887
/// - Parameters:
@@ -1887,6 +1898,7 @@ public enum Components {
18871898
/// - membersUrl:
18881899
/// - createdAt:
18891900
/// - updatedAt:
1901+
/// - notificationSetting: Whether team members will receive notifications when the team is mentioned.
18901902
public init(
18911903
id: Swift.Int64,
18921904
name: Swift.String,
@@ -1900,7 +1912,8 @@ public enum Components {
19001912
htmlUrl: Swift.String,
19011913
membersUrl: Swift.String,
19021914
createdAt: Foundation.Date,
1903-
updatedAt: Foundation.Date
1915+
updatedAt: Foundation.Date,
1916+
notificationSetting: Components.Schemas.EnterpriseTeam.NotificationSettingPayload? = nil
19041917
) {
19051918
self.id = id
19061919
self.name = name
@@ -1915,6 +1928,7 @@ public enum Components {
19151928
self.membersUrl = membersUrl
19161929
self.createdAt = createdAt
19171930
self.updatedAt = updatedAt
1931+
self.notificationSetting = notificationSetting
19181932
}
19191933
public enum CodingKeys: String, CodingKey {
19201934
case id
@@ -1930,6 +1944,7 @@ public enum Components {
19301944
case membersUrl = "members_url"
19311945
case createdAt = "created_at"
19321946
case updatedAt = "updated_at"
1947+
case notificationSetting = "notification_setting"
19331948
}
19341949
}
19351950
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.

0 commit comments

Comments
 (0)