Current section

Files

Jump to
docusign lib docusign model radio.ex
Raw

lib/docusign/model/radio.ex

# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule DocuSign.Model.Radio do
@moduledoc """
One of the selectable radio buttons in the `radios` property of a [`radioGroup`](/esign/restapi/Envelopes/EnvelopeRecipientTabs/create/#/definitions/radioGroup) tab.
"""
@derive [Poison.Encoder]
defstruct [
:anchorCaseSensitive,
:anchorHorizontalAlignment,
:anchorIgnoreIfNotPresent,
:anchorMatchWholeWord,
:anchorString,
:anchorUnits,
:anchorXOffset,
:anchorYOffset,
:errorDetails,
:locked,
:pageNumber,
:required,
:selected,
:tabId,
:tabOrder,
:value,
:xPosition,
:yPosition
]
@type t :: %__MODULE__{
:anchorCaseSensitive => String.t(),
:anchorHorizontalAlignment => String.t(),
:anchorIgnoreIfNotPresent => String.t(),
:anchorMatchWholeWord => String.t(),
:anchorString => String.t(),
:anchorUnits => String.t(),
:anchorXOffset => String.t(),
:anchorYOffset => String.t(),
:errorDetails => ErrorDetails,
:locked => String.t(),
:pageNumber => String.t(),
:required => String.t(),
:selected => String.t(),
:tabId => String.t(),
:tabOrder => String.t(),
:value => String.t(),
:xPosition => String.t(),
:yPosition => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.Radio do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:errorDetails, :struct, DocuSign.Model.ErrorDetails, options)
end
end