Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

109 lines
4.0 KiB
Swift

//
// IamInvitation.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamInvitation: Sendable, Codable, ParameterConvertible, Hashable {
public var application: String?
public var code: String?
public var createdAt: Date?
public var createdTime: String?
public var defaultCode: String?
public var deleted: Bool?
public var displayName: String?
public var email: String?
public var id: String?
public var isRegexp: Bool?
public var name: String?
public var owner: String?
public var phone: String?
public var quota: Int64?
public var signupGroup: String?
public var state: String?
public var updatedAt: Date?
public var updatedTime: String?
public var usedCount: Int64?
public var username: String?
public init(application: String? = nil, code: String? = nil, createdAt: Date? = nil, createdTime: String? = nil, defaultCode: String? = nil, deleted: Bool? = nil, displayName: String? = nil, email: String? = nil, id: String? = nil, isRegexp: Bool? = nil, name: String? = nil, owner: String? = nil, phone: String? = nil, quota: Int64? = nil, signupGroup: String? = nil, state: String? = nil, updatedAt: Date? = nil, updatedTime: String? = nil, usedCount: Int64? = nil, username: String? = nil) {
self.application = application
self.code = code
self.createdAt = createdAt
self.createdTime = createdTime
self.defaultCode = defaultCode
self.deleted = deleted
self.displayName = displayName
self.email = email
self.id = id
self.isRegexp = isRegexp
self.name = name
self.owner = owner
self.phone = phone
self.quota = quota
self.signupGroup = signupGroup
self.state = state
self.updatedAt = updatedAt
self.updatedTime = updatedTime
self.usedCount = usedCount
self.username = username
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case application
case code
case createdAt
case createdTime
case defaultCode
case deleted
case displayName
case email
case id
case isRegexp
case name
case owner
case phone
case quota
case signupGroup
case state
case updatedAt
case updatedTime
case usedCount
case username
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(application, forKey: .application)
try container.encodeIfPresent(code, forKey: .code)
try container.encodeIfPresent(createdAt, forKey: .createdAt)
try container.encodeIfPresent(createdTime, forKey: .createdTime)
try container.encodeIfPresent(defaultCode, forKey: .defaultCode)
try container.encodeIfPresent(deleted, forKey: .deleted)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(email, forKey: .email)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(isRegexp, forKey: .isRegexp)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(owner, forKey: .owner)
try container.encodeIfPresent(phone, forKey: .phone)
try container.encodeIfPresent(quota, forKey: .quota)
try container.encodeIfPresent(signupGroup, forKey: .signupGroup)
try container.encodeIfPresent(state, forKey: .state)
try container.encodeIfPresent(updatedAt, forKey: .updatedAt)
try container.encodeIfPresent(updatedTime, forKey: .updatedTime)
try container.encodeIfPresent(usedCount, forKey: .usedCount)
try container.encodeIfPresent(username, forKey: .username)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension IamInvitation: Identifiable {}