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

46 lines
1.3 KiB
Swift

//
// IamCartItem.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamCartItem: Sendable, Codable, ParameterConvertible, Hashable {
public var displayName: String?
public var name: String?
public var owner: String?
public var price: Double?
public var quantity: Int64?
public init(displayName: String? = nil, name: String? = nil, owner: String? = nil, price: Double? = nil, quantity: Int64? = nil) {
self.displayName = displayName
self.name = name
self.owner = owner
self.price = price
self.quantity = quantity
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case displayName
case name
case owner
case price
case quantity
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(owner, forKey: .owner)
try container.encodeIfPresent(price, forKey: .price)
try container.encodeIfPresent(quantity, forKey: .quantity)
}
}