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

-- dto_filing_metadata_dto class
local dto_filing_metadata_dto = {}
local dto_filing_metadata_dto_mt = {
	__name = "dto_filing_metadata_dto";
	__index = dto_filing_metadata_dto;
}

local function cast_dto_filing_metadata_dto(t)
	return setmetatable(t, dto_filing_metadata_dto_mt)
end

local function new_dto_filing_metadata_dto(cik, accession_number, filing_date, report_date, acceptance_date_time, act, form, file_number, film_number, items, core_type, size, is_xbrl, is_inline_xbrl, primary_document, primary_doc_description, source_file)
	return cast_dto_filing_metadata_dto({
		["cik"] = cik;
		["accession_number"] = accession_number;
		["filing_date"] = filing_date;
		["report_date"] = report_date;
		["acceptance_date_time"] = acceptance_date_time;
		["act"] = act;
		["form"] = form;
		["file_number"] = file_number;
		["film_number"] = film_number;
		["items"] = items;
		["core_type"] = core_type;
		["size"] = size;
		["is_xbrl"] = is_xbrl;
		["is_inline_xbrl"] = is_inline_xbrl;
		["primary_document"] = primary_document;
		["primary_doc_description"] = primary_doc_description;
		["source_file"] = source_file;
	})
end

return {
	cast = cast_dto_filing_metadata_dto;
	new = new_dto_filing_metadata_dto;
}
