mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
The lock sat at 574d1f1d while the product moved on. The team surface stopped at rooms — no messages path, no way to open one — so anything built on this client had to reach past it with its own HTTP calls, which is the duplication a generated client exists to prevent.
46 lines
1.3 KiB
Swift
46 lines
1.3 KiB
Swift
//
|
|
// IamSetProfileInput.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct IamSetProfileInput: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var displayName: String?
|
|
public var favicon: String?
|
|
public var name: String?
|
|
public var owner: String?
|
|
public var websiteUrl: String?
|
|
|
|
public init(displayName: String? = nil, favicon: String? = nil, name: String? = nil, owner: String? = nil, websiteUrl: String? = nil) {
|
|
self.displayName = displayName
|
|
self.favicon = favicon
|
|
self.name = name
|
|
self.owner = owner
|
|
self.websiteUrl = websiteUrl
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case displayName
|
|
case favicon
|
|
case name
|
|
case owner
|
|
case websiteUrl
|
|
}
|
|
|
|
// 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(favicon, forKey: .favicon)
|
|
try container.encodeIfPresent(name, forKey: .name)
|
|
try container.encodeIfPresent(owner, forKey: .owner)
|
|
try container.encodeIfPresent(websiteUrl, forKey: .websiteUrl)
|
|
}
|
|
}
|
|
|