# 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.AdminAuctionInformationModel do
  @moduledoc """
  Represents the response DTO for auction information
  """

  @derive JSON.Encoder
  defstruct [
    :symbol,
    :timestamp_nanos,
    :timestamp,
    :auction_type,
    :auction_type_code,
    :auction_type_text,
    :is_auction_type_opening,
    :is_auction_type_closing,
    :is_auction_type_ipo,
    :is_auction_type_halt,
    :is_auction_type_volatility,
    :paired_shares,
    :reference_price,
    :indicative_clearing_price,
    :imbalance_shares,
    :imbalance_side,
    :imbalance_side_code,
    :imbalance_side_text,
    :is_imbalance_side_buy,
    :is_imbalance_side_sell,
    :is_imbalance_side_none,
    :extension_number,
    :scheduled_auction_time_seconds,
    :scheduled_auction_time,
    :auction_book_clearing_price,
    :collar_reference_price,
    :lower_auction_collar,
    :upper_auction_collar
  ]

  @type t :: %__MODULE__{
    :symbol => String.t | nil,
    :timestamp_nanos => integer() | nil,
    :timestamp => DateTime.t | nil,
    :auction_type => integer() | nil,
    :auction_type_code => String.t | nil,
    :auction_type_text => String.t | nil,
    :is_auction_type_opening => boolean() | nil,
    :is_auction_type_closing => boolean() | nil,
    :is_auction_type_ipo => boolean() | nil,
    :is_auction_type_halt => boolean() | nil,
    :is_auction_type_volatility => boolean() | nil,
    :paired_shares => integer() | nil,
    :reference_price => float() | nil,
    :indicative_clearing_price => float() | nil,
    :imbalance_shares => integer() | nil,
    :imbalance_side => integer() | nil,
    :imbalance_side_code => String.t | nil,
    :imbalance_side_text => String.t | nil,
    :is_imbalance_side_buy => boolean() | nil,
    :is_imbalance_side_sell => boolean() | nil,
    :is_imbalance_side_none => boolean() | nil,
    :extension_number => integer() | nil,
    :scheduled_auction_time_seconds => integer() | nil,
    :scheduled_auction_time => DateTime.t | nil,
    :auction_book_clearing_price => float() | nil,
    :collar_reference_price => float() | nil,
    :lower_auction_collar => float() | nil,
    :upper_auction_collar => float() | nil
  }

  def decode(value) do
    value
  end
end

