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

59 lines
2.0 KiB
Swift

//
// IamTeamsInput.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamTeamsInput: Sendable, Codable, ParameterConvertible, Hashable {
public var createdTime: String?
public var description: String?
public var displayName: String?
public var isEnabled: Bool?
/** Name addresses the team on update and names it on create; every other field is content and binds from the BODY, never the URL. */
public var name: String?
public var organization: String?
public var parent: String?
public var users: [String]?
public init(createdTime: String? = nil, description: String? = nil, displayName: String? = nil, isEnabled: Bool? = nil, name: String? = nil, organization: String? = nil, parent: String? = nil, users: [String]? = nil) {
self.createdTime = createdTime
self.description = description
self.displayName = displayName
self.isEnabled = isEnabled
self.name = name
self.organization = organization
self.parent = parent
self.users = users
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case createdTime
case description
case displayName
case isEnabled
case name
case organization
case parent
case users
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(createdTime, forKey: .createdTime)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(isEnabled, forKey: .isEnabled)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(organization, forKey: .organization)
try container.encodeIfPresent(parent, forKey: .parent)
try container.encodeIfPresent(users, forKey: .users)
}
}