Current section
Files
Jump to
Current section
Files
lib/docusign/model/radio_group.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.RadioGroup do
@moduledoc """
This group tab is used to place radio buttons on a document. The `radios` property contains a list of [`radio`](/esign/restapi/Envelopes/EnvelopeRecipientTabs/create/#/definitions/radio) objects associated with the group. Only one radio button can be selected in a group.
"""
@derive [Poison.Encoder]
defstruct [
:conditionalParentLabel,
:conditionalParentValue,
:documentId,
:groupName,
:radios,
:recipientId,
:requireAll,
:requireInitialOnSharedChange,
:shared,
:templateLocked,
:templateRequired
]
@type t :: %__MODULE__{
:conditionalParentLabel => String.t(),
:conditionalParentValue => String.t(),
:documentId => String.t(),
:groupName => String.t(),
:radios => [Radio],
:recipientId => String.t(),
:requireAll => String.t(),
:requireInitialOnSharedChange => String.t(),
:shared => String.t(),
:templateLocked => String.t(),
:templateRequired => String.t()
}
end
defimpl Poison.Decoder, for: DocuSign.Model.RadioGroup do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:radios, :list, DocuSign.Model.Radio, options)
end
end