--[[
  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_official_price_model class
local admin_official_price_model = {}
local admin_official_price_model_mt = {
	__name = "admin_official_price_model";
	__index = admin_official_price_model;
}

local function cast_admin_official_price_model(t)
	return setmetatable(t, admin_official_price_model_mt)
end

local function new_admin_official_price_model(symbol, timestamp_nanos, timestamp, price_type, price_type_code, price_type_text, is_price_type_opening, is_price_type_closing, official_price)
	return cast_admin_official_price_model({
		["symbol"] = symbol;
		["timestamp_nanos"] = timestamp_nanos;
		["timestamp"] = timestamp;
		["price_type"] = price_type;
		["price_type_code"] = price_type_code;
		["price_type_text"] = price_type_text;
		["is_price_type_opening"] = is_price_type_opening;
		["is_price_type_closing"] = is_price_type_closing;
		["official_price"] = official_price;
	})
end

return {
	cast = cast_admin_official_price_model;
	new = new_admin_official_price_model;
}
