BexioApiClient.Contacts.ContactRelation (bexio_api_client v2.0.0)

Copy Markdown

Bexio Contact Relation Module.

Summary

Types

t()

Bexio Contact Relation

Functions

Create a new contact relation

Types

t()

@type t() :: %BexioApiClient.Contacts.ContactRelation{
  contact_id: pos_integer(),
  contact_sub_id: pos_integer(),
  description: String.t(),
  id: integer() | nil,
  updated_at: NaiveDateTime.t()
}

Bexio Contact Relation

Fields:

  • :id - automatic id given by bexio
  • :contact_id - References a contact object
  • :contact_sub_id - References a contact object
  • :description - description of the relation
  • :updated_at - date time of the last update (zurich time zone)

Functions

new(attrs \\ %{})

@spec new(map()) :: t()

Create a new contact relation