Current section
Files
Jump to
Current section
Files
lib/docusign/model/jurisdiction.ex
# NOTE: This file is auto generated by OpenAPI Generator
# https://openapi-generator.tech
# Do not edit this file manually.
defmodule DocuSign.Model.Jurisdiction do
@moduledoc """
Describes the jurisdiction of a notary. This is read-only object.
"""
defstruct [
:allowSystemCreatedSeal,
:allowUserUploadedSeal,
:commissionIdInSeal,
:county,
:countyInSeal,
:enabled,
:jurisdictionId,
:name,
:notaryPublicInSeal,
:stateNameInSeal
]
@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__{
:allowSystemCreatedSeal => String.t() | nil,
:allowUserUploadedSeal => String.t() | nil,
:commissionIdInSeal => String.t() | nil,
:county => String.t() | nil,
:countyInSeal => String.t() | nil,
:enabled => String.t() | nil,
:jurisdictionId => String.t() | nil,
:name => String.t() | nil,
:notaryPublicInSeal => String.t() | nil,
:stateNameInSeal => String.t() | nil
}
def decode(value) do
struct(__MODULE__, value)
end
end