lib/subspace_product_api/model/body.ex

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

defmodule SubspaceProductAPI.Model.Body do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :"name",
    :"destination_ip",
    :"destination_port",
    :"subspace_port"
  ]

  @type t :: %__MODULE__{
    :"name" => String.t,
    :"destination_ip" => String.t,
    :"destination_port" => integer(),
    :"subspace_port" => integer() | nil
  }
end

defimpl Poison.Decoder, for: SubspaceProductAPI.Model.Body do
  def decode(value, _options) do
    value
  end
end