lib/bexio_api_client/contacts/contact_group.ex

defmodule BexioApiClient.Contacts.ContactGroup do
  @moduledoc """
  Bexio Contact Group Module.
  """

  @typedoc """
  Bexio Contact Group

  ## Fields:

    * `:id` - automatic id given by bexio
    * `:name` - Name of the contact group
  """
  @type t :: %__MODULE__{
          id: integer() | nil,
          name: String.t()
        }
  @enforce_keys [:id, :name]
  defstruct [:id, :name]
end