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

-- fin_feed_api_exchange_model class
local fin_feed_api_exchange_model = {}
local fin_feed_api_exchange_model_mt = {
	__name = "fin_feed_api_exchange_model";
	__index = fin_feed_api_exchange_model;
}

local function cast_fin_feed_api_exchange_model(t)
	return setmetatable(t, fin_feed_api_exchange_model_mt)
end

local function new_fin_feed_api_exchange_model(exchange_id, last_datapoint_date, mic, operating_mic, oprt_sgmt, market_name_institution_description, legal_entity_name, lei, market_category_code, acronym, iso_country_code, city, website, status, creation_date, last_update_date, last_validation_date, expiry_date, comments)
	return cast_fin_feed_api_exchange_model({
		["exchange_id"] = exchange_id;
		["last_datapoint_date"] = last_datapoint_date;
		["mic"] = mic;
		["operating_mic"] = operating_mic;
		["oprt_sgmt"] = oprt_sgmt;
		["market_name_institution_description"] = market_name_institution_description;
		["legal_entity_name"] = legal_entity_name;
		["lei"] = lei;
		["market_category_code"] = market_category_code;
		["acronym"] = acronym;
		["iso_country_code"] = iso_country_code;
		["city"] = city;
		["website"] = website;
		["status"] = status;
		["creation_date"] = creation_date;
		["last_update_date"] = last_update_date;
		["last_validation_date"] = last_validation_date;
		["expiry_date"] = expiry_date;
		["comments"] = comments;
	})
end

return {
	cast = cast_fin_feed_api_exchange_model;
	new = new_fin_feed_api_exchange_model;
}
