View Source ExPipedrive.Label (ex_pipedrive v0.2.0)

A Pipedrive label.

Deal, Person, and Organization labels are option values on the system label_ids field (label/color); Lead labels come from the dedicated /leadLabels endpoint (name/color). label and name are kept in sync so callers can use either regardless of entity type.

Summary

Types

@type t() :: %ExPipedrive.Label{
  add_time: (DateTime.t() | NaiveDateTime.t()) | nil,
  color: String.t() | nil,
  id: (non_neg_integer() | String.t()) | nil,
  label: String.t() | nil,
  name: String.t() | nil,
  original_object: map() | nil,
  update_time: (DateTime.t() | NaiveDateTime.t()) | nil
}

Functions