Samlo.Metadata.ContactPerson (samlo v0.1.0)

The ContactPerson entity structure

Link to this section Summary

Link to this section Types

Link to this type

contact_type()

Specs

contact_type() :: :technical | :support | :administrative | :billing | :other

Specs

t() :: %Samlo.Metadata.ContactPerson{
  company: nil | String.t(),
  emails: [String.t()],
  extensions: list(),
  given_name: nil | String.t(),
  phones: [String.t()],
  sur_name: nil | String.t(),
  type: contact_type()
}

Link to this section Functions

Link to this function

decode_contact_type(contact_type)

Specs

decode_contact_type(contact_type :: String.t()) :: contact_type()
Link to this function

encode_contact_type(contact_type)

Specs

encode_contact_type(contact_type :: contact_type()) :: String.t()