mirror of
https://github.com/hanzo-swift/sdk.git
synced 2026-10-30 20:43:50 +00:00
31 lines
758 B
Swift
31 lines
758 B
Swift
//
|
|
// IdentityList.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct IdentityList: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Identities is one row per fabric identity tagged with the caller's org role. */
|
|
public var identities: [IdentityView]?
|
|
|
|
public init(identities: [IdentityView]? = nil) {
|
|
self.identities = identities
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case identities
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(identities, forKey: .identities)
|
|
}
|
|
}
|
|
|