Current section
Files
Jump to
Current section
Files
lib/docusign/model/recipient_group.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DocuSign.Model.RecipientGroup do
@moduledoc """
Describes a group of recipients.
"""
alias DocuSign.Deserializer
alias DocuSign.Model.RecipientOption
@derive Jason.Encoder
defstruct [
:groupMessage,
:groupName,
:recipients
]
@type t :: %__MODULE__{
:groupMessage => String.t() | nil,
:groupName => String.t() | nil,
:recipients => [RecipientOption.t()] | nil
}
def decode(value) do
value
|> Deserializer.deserialize(:recipients, :list, RecipientOption)
end
end