--[[
  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
]]

-- level1_quote_update_model class
local level1_quote_update_model = {}
local level1_quote_update_model_mt = {
	__name = "level1_quote_update_model";
	__index = level1_quote_update_model;
}

local function cast_level1_quote_update_model(t)
	return setmetatable(t, level1_quote_update_model_mt)
end

local function new_level1_quote_update_model(symbol, timestamp_nanos, timestamp, is_symbol_available, is_pre_post_market_session, ask_size, ask_price, bid_price, bid_size)
	return cast_level1_quote_update_model({
		["symbol"] = symbol;
		["timestamp_nanos"] = timestamp_nanos;
		["timestamp"] = timestamp;
		["is_symbol_available"] = is_symbol_available;
		["is_pre_post_market_session"] = is_pre_post_market_session;
		["ask_size"] = ask_size;
		["ask_price"] = ask_price;
		["bid_price"] = bid_price;
		["bid_size"] = bid_size;
	})
end

return {
	cast = cast_level1_quote_update_model;
	new = new_level1_quote_update_model;
}
