# NOTE: This file is auto generated by OpenAPI Generator 7.13.0 (https://openapi-generator.tech).
# Do not edit this file manually.

defmodule FinFeedAPISECRESTAPI.Model.DtoFilingMetadataDto do
  @moduledoc """
  Represents the response for a single SEC filing metadata record. Maps fields from the edgar_submissions table.
  """

  @derive JSON.Encoder
  defstruct [
    :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
  ]

  @type t :: %__MODULE__{
    :cik => integer() | nil,
    :accession_number => String.t | nil,
    :filing_date => Date.t | nil,
    :report_date => Date.t | nil,
    :acceptance_date_time => DateTime.t | nil,
    :act => String.t | nil,
    :form => String.t | nil,
    :file_number => String.t | nil,
    :film_number => String.t | nil,
    :items => String.t | nil,
    :core_type => String.t | nil,
    :size => integer() | nil,
    :is_xbrl => boolean() | nil,
    :is_inline_xbrl => boolean() | nil,
    :primary_document => String.t | nil,
    :primary_doc_description => String.t | nil,
    :source_file => String.t | nil
  }

  def decode(value) do
    value
  end
end

