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