// // ExpectedDateOfDeliverySectionAllOfExpectedDateOfDeliveryFromLastPeriodMenstrualCycle.swift // // Generated by openapi-generator // https://openapi-generator.tech // import Foundation #if canImport(AnyCodable) import AnyCodable #endif public struct ExpectedDateOfDeliverySectionAllOfExpectedDateOfDeliveryFromLastPeriodMenstrualCycle: Codable, Hashable { public var min: IntegerValueWithUnitEnum? public var max: IntegerValueWithUnitEnum? public init(min: IntegerValueWithUnitEnum? = nil, max: IntegerValueWithUnitEnum? = nil) { self.min = min self.max = max } public enum CodingKeys: String, CodingKey, CaseIterable { case min case max } // Encodable protocol methods public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) try container.encodeIfPresent(min, forKey: .min) try container.encodeIfPresent(max, forKey: .max) } }