Current section
Files
Jump to
Current section
Files
lib/docusign/model/power_form_recipient.ex
# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.PowerFormRecipient do
@moduledoc """
**Note:** For a self-service PowerForm on a website, you can specify the intended recipients generically (for example, use `Member` as the `Name`), and omit personal details such as `email`.
"""
defstruct [
:accessCode,
:accessCodeLocked,
:accessCodeRequired,
:email,
:emailLocked,
:idCheckConfigurationName,
:idCheckRequired,
:name,
:recipientType,
:roleName,
:routingOrder,
:templateRequiresIdLookup,
:userNameLocked
]
@doc false
defimpl Jason.Encoder, for: __MODULE__ do
def encode(struct, opts) do
struct
|> Map.from_struct()
|> Enum.reject(fn {_k, v} -> is_nil(v) end)
|> Map.new()
|> Jason.Encode.map(opts)
end
end
@type t :: %__MODULE__{
:accessCode => String.t() | nil,
:accessCodeLocked => String.t() | nil,
:accessCodeRequired => String.t() | nil,
:email => String.t() | nil,
:emailLocked => String.t() | nil,
:idCheckConfigurationName => String.t() | nil,
:idCheckRequired => String.t() | nil,
:name => String.t() | nil,
:recipientType => String.t() | nil,
:roleName => String.t() | nil,
:routingOrder => String.t() | nil,
:templateRequiresIdLookup => String.t() | nil,
:userNameLocked => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end