--[[
  FinFeedAPI Stock REST API

  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

  The version of the OpenAPI document: v1
  Contact: support@apibricks.io
  Generated by: https://openapi-generator.tech
]]

-- level3_executed_order_model class
local level3_executed_order_model = {}
local level3_executed_order_model_mt = {
	__name = "level3_executed_order_model";
	__index = level3_executed_order_model;
}

local function cast_level3_executed_order_model(t)
	return setmetatable(t, level3_executed_order_model_mt)
end

local function new_level3_executed_order_model(symbol, timestamp_nanos, timestamp, order_id_reference, sale_condition_flags, is_intermarket_sweep, is_extended_hours_trade, is_odd_lot_trade, is_trade_through_exempt, is_single_price_cross_trade, size, price, trade_id)
	return cast_level3_executed_order_model({
		["symbol"] = symbol;
		["timestamp_nanos"] = timestamp_nanos;
		["timestamp"] = timestamp;
		["order_id_reference"] = order_id_reference;
		["sale_condition_flags"] = sale_condition_flags;
		["is_intermarket_sweep"] = is_intermarket_sweep;
		["is_extended_hours_trade"] = is_extended_hours_trade;
		["is_odd_lot_trade"] = is_odd_lot_trade;
		["is_trade_through_exempt"] = is_trade_through_exempt;
		["is_single_price_cross_trade"] = is_single_price_cross_trade;
		["size"] = size;
		["price"] = price;
		["trade_id"] = trade_id;
	})
end

return {
	cast = cast_level3_executed_order_model;
	new = new_level3_executed_order_model;
}
