// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct GenreSchema: Codable, Equatable {
    public var entityType: EntityType?
    public var genre: String
    public var image: String?

    public struct EntityType: RawRepresentable, Codable, Equatable {
        public let rawValue: String

        public init(rawValue: String) {
            self.rawValue = rawValue
        }

        public static let genreSchema = Self(rawValue: "genre_schema")
    }

    public init(entityType: EntityType? = nil, genre: String, image: String? = nil) {
        self.entityType = entityType
        self.genre = genre
        self.image = image
    }
}
