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

  @derive JSON.Encoder
  defstruct [
    :timestamp_nanos,
    :timestamp,
    :system_event,
    :system_event_code,
    :system_event_text,
    :is_system_event_start_of_messages,
    :is_system_event_start_of_system_hours,
    :is_system_event_start_of_regular_market_hours,
    :is_system_event_end_of_regular_market_hours,
    :is_system_event_end_of_system_hours,
    :is_system_event_end_of_messages
  ]

  @type t :: %__MODULE__{
    :timestamp_nanos => integer() | nil,
    :timestamp => DateTime.t | nil,
    :system_event => integer() | nil,
    :system_event_code => String.t | nil,
    :system_event_text => String.t | nil,
    :is_system_event_start_of_messages => boolean() | nil,
    :is_system_event_start_of_system_hours => boolean() | nil,
    :is_system_event_start_of_regular_market_hours => boolean() | nil,
    :is_system_event_end_of_regular_market_hours => boolean() | nil,
    :is_system_event_end_of_system_hours => boolean() | nil,
    :is_system_event_end_of_messages => boolean() | nil
  }

  def decode(value) do
    value
  end
end

