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

import Foundation

public struct CreateVisitorTokenGrantResponse: Codable, Equatable {
    public var token: String
    public var type: `Type`?

    /// Type
    public struct `Type`: RawRepresentable, Codable, Equatable {
        public let rawValue: String

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

        public static let tokenGrant = Self(rawValue: "token_grant")
    }

    public init(token: String, type: `Type`? = nil) {
        self.token = token
        self.type = type
    }
}
