# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.WebhookTestRequest do @moduledoc """ Result of webhook test request """ @derive [Poison.Encoder] defstruct [ :"url", :"method", :"headers", :"payload" ] @type t :: %__MODULE__{ :"url" => String.t, :"method" => String.t, :"headers" => %{optional(String.t) => String.t}, :"payload" => String.t | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.WebhookTestRequest do def decode(value, _options) do value end end