Current section

Files

Jump to
docusign lib docusign model recipient_saml_authentication.ex
Raw

lib/docusign/model/recipient_saml_authentication.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.RecipientSamlAuthentication do
@moduledoc """
Contains the name/value pair information for the SAML assertion attributes: * name - The name of the SAML assertion attribute. * value - The value associated with the named SAML assertion attribute. Your account must be set up to use SSO to use this.
"""
@derive [Poison.Encoder]
defstruct [
:samlAssertionAttributes
]
@type t :: %__MODULE__{
:samlAssertionAttributes => [SamlAssertionAttribute]
}
end
defimpl Poison.Decoder, for: DocuSign.Model.RecipientSamlAuthentication do
import DocuSign.Deserializer
def decode(value, options) do
value
|> deserialize(
:samlAssertionAttributes,
:list,
DocuSign.Model.SamlAssertionAttribute,
options
)
end
end