Current section

Files

Jump to
docusign lib docusign model checkbox.ex
Raw

lib/docusign/model/checkbox.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.Checkbox do
@moduledoc """
A tab that allows the recipient to select a yes/no (on/off) option.
"""
@derive [Poison.Encoder]
defstruct [
:anchorCaseSensitive,
:anchorHorizontalAlignment,
:anchorIgnoreIfNotPresent,
:anchorMatchWholeWord,
:anchorString,
:anchorUnits,
:anchorXOffset,
:anchorYOffset,
:conditionalParentLabel,
:conditionalParentValue,
:customTabId,
:documentId,
:errorDetails,
:locked,
:mergeField,
:name,
:pageNumber,
:recipientId,
:required,
:requireInitialOnSharedChange,
:selected,
:shared,
:status,
:tabId,
:tabLabel,
:tabOrder,
:templateLocked,
:templateRequired,
: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(),
:conditionalParentLabel => String.t(),
:conditionalParentValue => String.t(),
:customTabId => String.t(),
:documentId => String.t(),
:errorDetails => ErrorDetails,
:locked => String.t(),
:mergeField => MergeField,
:name => String.t(),
:pageNumber => String.t(),
:recipientId => String.t(),
:required => String.t(),
:requireInitialOnSharedChange => String.t(),
:selected => String.t(),
:shared => String.t(),
:status => String.t(),
:tabId => String.t(),
:tabLabel => String.t(),
:tabOrder => String.t(),
:templateLocked => String.t(),
:templateRequired => String.t(),
:xPosition => String.t(),
:yPosition => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.Checkbox do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:errorDetails, :struct, DocuSign.Model.ErrorDetails, options)
|> deserialize(:mergeField, :struct, DocuSign.Model.MergeField, options)
end
end