Current section

Files

Jump to
docusign lib docusign model recipient_group.ex
Raw

lib/docusign/model/recipient_group.ex

# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.RecipientGroup do
@moduledoc """
Describes a group of recipients.
"""
@derive [Poison.Encoder]
defstruct [
:groupMessage,
:groupName,
:recipients
]
@type t :: %__MODULE__{
:groupMessage => String.t() | nil,
:groupName => String.t() | nil,
:recipients => [DocuSign.Model.RecipientOption.t()] | nil
}
end
defimpl Poison.Decoder, for: DocuSign.Model.RecipientGroup do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(:recipients, :list, DocuSign.Model.RecipientOption, options)
end
end