Files
swift-sdk/Sources/Hanzo/Models/IamInvitationsInput.swift
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

90 lines
3.2 KiB
Swift

//
// IamInvitationsInput.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamInvitationsInput: Sendable, Codable, ParameterConvertible, Hashable {
public var application: String?
public var code: String?
public var createdTime: String?
public var defaultCode: String?
public var displayName: String?
public var email: 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 updatedTime: String?
public var usedCount: Int64?
public var username: String?
public init(application: String? = nil, code: String? = nil, createdTime: String? = nil, defaultCode: String? = nil, displayName: String? = nil, email: String? = nil, isRegexp: Bool? = nil, name: String? = nil, owner: String? = nil, phone: String? = nil, quota: Int64? = nil, signupGroup: String? = nil, state: String? = nil, updatedTime: String? = nil, usedCount: Int64? = nil, username: String? = nil) {
self.application = application
self.code = code
self.createdTime = createdTime
self.defaultCode = defaultCode
self.displayName = displayName
self.email = email
self.isRegexp = isRegexp
self.name = name
self.owner = owner
self.phone = phone
self.quota = quota
self.signupGroup = signupGroup
self.state = state
self.updatedTime = updatedTime
self.usedCount = usedCount
self.username = username
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case application
case code
case createdTime
case defaultCode
case displayName
case email
case isRegexp
case name
case owner
case phone
case quota
case signupGroup
case state
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(createdTime, forKey: .createdTime)
try container.encodeIfPresent(defaultCode, forKey: .defaultCode)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(email, forKey: .email)
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(updatedTime, forKey: .updatedTime)
try container.encodeIfPresent(usedCount, forKey: .usedCount)
try container.encodeIfPresent(username, forKey: .username)
}
}