# 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.MatchOption do @moduledoc """ Options for matching emails in an inbox. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value. """ @derive [Poison.Encoder] defstruct [ :"field", :"should", :"value" ] @type t :: %__MODULE__{ :"field" => String.t | nil, :"should" => String.t | nil, :"value" => String.t | nil } end defimpl Poison.Decoder, for: MailSlurpAPI.Model.MatchOption do def decode(value, _options) do value end end