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

-- admin_auction_information_model class
local admin_auction_information_model = {}
local admin_auction_information_model_mt = {
	__name = "admin_auction_information_model";
	__index = admin_auction_information_model;
}

local function cast_admin_auction_information_model(t)
	return setmetatable(t, admin_auction_information_model_mt)
end

local function new_admin_auction_information_model(symbol, timestamp_nanos, timestamp, auction_type, auction_type_code, auction_type_text, is_auction_type_opening, is_auction_type_closing, is_auction_type_ipo, is_auction_type_halt, is_auction_type_volatility, paired_shares, reference_price, indicative_clearing_price, imbalance_shares, imbalance_side, imbalance_side_code, imbalance_side_text, is_imbalance_side_buy, is_imbalance_side_sell, is_imbalance_side_none, extension_number, scheduled_auction_time_seconds, scheduled_auction_time, auction_book_clearing_price, collar_reference_price, lower_auction_collar, upper_auction_collar)
	return cast_admin_auction_information_model({
		["symbol"] = symbol;
		["timestamp_nanos"] = timestamp_nanos;
		["timestamp"] = timestamp;
		["auction_type"] = auction_type;
		["auction_type_code"] = auction_type_code;
		["auction_type_text"] = auction_type_text;
		["is_auction_type_opening"] = is_auction_type_opening;
		["is_auction_type_closing"] = is_auction_type_closing;
		["is_auction_type_ipo"] = is_auction_type_ipo;
		["is_auction_type_halt"] = is_auction_type_halt;
		["is_auction_type_volatility"] = is_auction_type_volatility;
		["paired_shares"] = paired_shares;
		["reference_price"] = reference_price;
		["indicative_clearing_price"] = indicative_clearing_price;
		["imbalance_shares"] = imbalance_shares;
		["imbalance_side"] = imbalance_side;
		["imbalance_side_code"] = imbalance_side_code;
		["imbalance_side_text"] = imbalance_side_text;
		["is_imbalance_side_buy"] = is_imbalance_side_buy;
		["is_imbalance_side_sell"] = is_imbalance_side_sell;
		["is_imbalance_side_none"] = is_imbalance_side_none;
		["extension_number"] = extension_number;
		["scheduled_auction_time_seconds"] = scheduled_auction_time_seconds;
		["scheduled_auction_time"] = scheduled_auction_time;
		["auction_book_clearing_price"] = auction_book_clearing_price;
		["collar_reference_price"] = collar_reference_price;
		["lower_auction_collar"] = lower_auction_collar;
		["upper_auction_collar"] = upper_auction_collar;
	})
end

return {
	cast = cast_admin_auction_information_model;
	new = new_admin_auction_information_model;
}
