Files
zeekay 87d088ed73 Regenerate against the current cloud document
The lock sat at 574d1f1d while the product moved on. The team surface
stopped at rooms — no messages path, no way to open one — so anything
built on this client had to reach past it with its own HTTP calls, which
is the duplication a generated client exists to prevent.
2026-09-01 02:21:56 -07:00

81 lines
2.8 KiB
Swift

//
// IamTeam.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamTeam: Sendable, Codable, ParameterConvertible, Hashable {
public var createdAt: Date?
public var createdTime: String?
public var deleted: Bool?
public var description: String?
public var displayName: String?
public var id: String?
public var isEnabled: Bool?
public var name: String?
public var organization: String?
public var owner: String?
public var parent: String?
public var updatedAt: Date?
public var users: [String]?
public init(createdAt: Date? = nil, createdTime: String? = nil, deleted: Bool? = nil, description: String? = nil, displayName: String? = nil, id: String? = nil, isEnabled: Bool? = nil, name: String? = nil, organization: String? = nil, owner: String? = nil, parent: String? = nil, updatedAt: Date? = nil, users: [String]? = nil) {
self.createdAt = createdAt
self.createdTime = createdTime
self.deleted = deleted
self.description = description
self.displayName = displayName
self.id = id
self.isEnabled = isEnabled
self.name = name
self.organization = organization
self.owner = owner
self.parent = parent
self.updatedAt = updatedAt
self.users = users
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case createdAt
case createdTime
case deleted
case description
case displayName
case id
case isEnabled
case name
case organization
case owner
case parent
case updatedAt
case users
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(createdAt, forKey: .createdAt)
try container.encodeIfPresent(createdTime, forKey: .createdTime)
try container.encodeIfPresent(deleted, forKey: .deleted)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(isEnabled, forKey: .isEnabled)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(organization, forKey: .organization)
try container.encodeIfPresent(owner, forKey: .owner)
try container.encodeIfPresent(parent, forKey: .parent)
try container.encodeIfPresent(updatedAt, forKey: .updatedAt)
try container.encodeIfPresent(users, forKey: .users)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension IamTeam: Identifiable {}