mirror of
https://github.com/hanzo-swift/sdk.git
synced 2026-10-30 20:43:50 +00:00
34 lines
827 B
Swift
34 lines
827 B
Swift
//
|
|
// IamProjectsListOutput.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct IamProjectsListOutput: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var projects: [IamProject]?
|
|
public var total: Int64?
|
|
|
|
public init(projects: [IamProject]? = nil, total: Int64? = nil) {
|
|
self.projects = projects
|
|
self.total = total
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case projects
|
|
case total
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(projects, forKey: .projects)
|
|
try container.encodeIfPresent(total, forKey: .total)
|
|
}
|
|
}
|
|
|