Files

31 lines
745 B
Swift

//
// PolicyList.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct PolicyList: Sendable, Codable, ParameterConvertible, Hashable {
/** Policies is the organization's published policy documents, each as the centre holds it. */
public var policies: [JSONValue]?
public init(policies: [JSONValue]? = nil) {
self.policies = policies
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case policies
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(policies, forKey: .policies)
}
}