//
// DogAllOf.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//

import Foundation
#if canImport(AnyCodable)
import AnyCodable
#endif

@available(*, deprecated, renamed: "PetstoreClient.DogAllOf")
public typealias DogAllOf = PetstoreClient.DogAllOf

extension PetstoreClient {

public final class DogAllOf: Codable, Hashable {

    public var breed: String?

    public init(breed: String? = nil) {
        self.breed = breed
    }

    public enum CodingKeys: String, CodingKey, CaseIterable {
        case breed
    }

    // Encodable protocol methods

    public func encode(to encoder: Encoder) throws {
        var container = encoder.container(keyedBy: CodingKeys.self)
        try container.encodeIfPresent(breed, forKey: .breed)
    }

    public static func == (lhs: DogAllOf, rhs: DogAllOf) -> Bool {
        lhs.breed == rhs.breed
        
    }

    public func hash(into hasher: inout Hasher) {
        hasher.combine(breed?.hashValue)
        
    }
}

}
