Packages

OpenAPI API client for Ory Oathkeeper, a cloud native Identity & Access Proxy and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests.

Current section

Files

Jump to
ory_oathkeeper lib ory model upstream.ex
Raw

lib/ory/model/upstream.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 Ory.Model.Upstream do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:preserve_host,
:strip_path,
:url
]
@type t :: %__MODULE__{
:preserve_host => boolean() | nil,
:strip_path => String.t | nil,
:url => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.Upstream do
def decode(value, _options) do
value
end
end