Current section

Files

Jump to
docusign lib docusign model document_html_collapsible_display_settings.ex
Raw

lib/docusign/model/document_html_collapsible_display_settings.ex

# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.DocumentHtmlCollapsibleDisplaySettings do
@moduledoc """
Display settings for collapsible section.
"""
defstruct [
:arrowClosed,
:arrowColor,
:arrowLocation,
:arrowOpen,
:arrowSize,
:arrowStyle,
:containerStyle,
:labelStyle,
:onlyArrowIsClickable,
:outerLabelAndArrowStyle
]
@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__{
:arrowClosed => String.t() | nil,
:arrowColor => String.t() | nil,
:arrowLocation => String.t() | nil,
:arrowOpen => String.t() | nil,
:arrowSize => String.t() | nil,
:arrowStyle => String.t() | nil,
:containerStyle => String.t() | nil,
:labelStyle => String.t() | nil,
:onlyArrowIsClickable => boolean() | nil,
:outerLabelAndArrowStyle => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end