--[[
  CoinAPI Market Data 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
]]

-- v1_general_data class
local v1_general_data = {}
local v1_general_data_mt = {
	__name = "v1_general_data";
	__index = v1_general_data;
}

local function cast_v1_general_data(t)
	return setmetatable(t, v1_general_data_mt)
end

local function new_v1_general_data(entry_time, recv_time, exchange_id, asset_id, symbol_id, metric_id, value_decimal, value_text, value_time)
	return cast_v1_general_data({
		["entry_time"] = entry_time;
		["recv_time"] = recv_time;
		["exchange_id"] = exchange_id;
		["asset_id"] = asset_id;
		["symbol_id"] = symbol_id;
		["metric_id"] = metric_id;
		["value_decimal"] = value_decimal;
		["value_text"] = value_text;
		["value_time"] = value_time;
	})
end

return {
	cast = cast_v1_general_data;
	new = new_v1_general_data;
}
