Current section
Files
Jump to
Current section
Files
lib/hook_sniff_api/model/routing_info.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule HookSniffAPI.Model.RoutingInfo do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:endpoint_id,
:routing_strategy,
:fallback_url,
:avg_response_ms,
:failure_streak,
:is_healthy
]
@type t :: %__MODULE__{
:endpoint_id => String.t | nil,
:routing_strategy => String.t | nil,
:fallback_url => String.t | nil,
:avg_response_ms => integer() | nil,
:failure_streak => integer() | nil,
:is_healthy => boolean() | nil
}
def decode(value) do
value
end
end