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

defmodule FinFeedAPIStockRESTAPI.Model.Level3ExecutedOrderModel do
  @moduledoc """
  Represents the response DTO for order executed information
  """

  @derive JSON.Encoder
  defstruct [
    :symbol,
    :timestamp_nanos,
    :timestamp,
    :order_id_reference,
    :sale_condition_flags,
    :is_intermarket_sweep,
    :is_extended_hours_trade,
    :is_odd_lot_trade,
    :is_trade_through_exempt,
    :is_single_price_cross_trade,
    :size,
    :price,
    :trade_id
  ]

  @type t :: %__MODULE__{
    :symbol => String.t | nil,
    :timestamp_nanos => integer() | nil,
    :timestamp => DateTime.t | nil,
    :order_id_reference => integer() | nil,
    :sale_condition_flags => integer() | nil,
    :is_intermarket_sweep => boolean() | nil,
    :is_extended_hours_trade => boolean() | nil,
    :is_odd_lot_trade => boolean() | nil,
    :is_trade_through_exempt => boolean() | nil,
    :is_single_price_cross_trade => boolean() | nil,
    :size => integer() | nil,
    :price => float() | nil,
    :trade_id => integer() | nil
  }

  def decode(value) do
    value
  end
end

