lib/mail_slurp_api/model/content_match_options.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 MailSlurpAPI.Model.ContentMatchOptions do
@moduledoc """
Options for matching content using regex patterns based on Java Pattern syntax
"""
@derive [Poison.Encoder]
defstruct [
:"pattern"
]
@type t :: %__MODULE__{
:"pattern" => String.t
}
end
defimpl Poison.Decoder, for: MailSlurpAPI.Model.ContentMatchOptions do
def decode(value, _options) do
value
end
end