LineDrive.Person (line_drive v0.25.1)

This module and enclosed struct represent a person in pipedrive.

Summary

Types

@type t() :: %LineDrive.Person{
  active_flag: boolean() | nil,
  activities_count: non_neg_integer() | nil,
  add_time: NaiveDateTime.t() | nil,
  closed_deals_count: non_neg_integer() | nil,
  company_id: pos_integer() | nil,
  delete_time: NaiveDateTime.t() | nil,
  done_activities_count: non_neg_integer() | nil,
  email_messages_count: non_neg_integer() | nil,
  files_count: non_neg_integer() | nil,
  first_name: String.t() | nil,
  followers_count: non_neg_integer() | nil,
  id: pos_integer() | nil,
  label: non_neg_integer() | nil,
  last_activity_date: Date.t() | nil,
  last_activity_id: pos_integer() | nil,
  last_incoming_mail_time: NaiveDateTime.t() | nil,
  last_name: String.t() | nil,
  last_outgoing_mail_time: NaiveDateTime.t() | nil,
  lost_deals_count: non_neg_integer() | nil,
  name: String.t(),
  next_activity_date: Date.t() | nil,
  next_activity_id: pos_integer() | nil,
  next_activity_time: Time.t() | nil,
  notes_count: non_neg_integer() | nil,
  open_deals_count: non_neg_integer() | nil,
  org_id: pos_integer() | nil,
  org_name: String.t() | nil,
  organization: LineDrive.Organization.t() | nil,
  original_object: %{} | nil,
  owner_id: pos_integer() | nil,
  owner_name: String.t() | nil,
  participant_closed_deals_count: non_neg_integer() | nil,
  participant_open_deals_count: non_neg_integer() | nil,
  primary_email: String.t() | nil,
  related_closed_deals_count: non_neg_integer() | nil,
  related_lost_deals_count: non_neg_integer() | nil,
  related_open_deals_count: non_neg_integer() | nil,
  related_won_deals_count: non_neg_integer() | nil,
  undone_activities_count: non_neg_integer() | nil,
  update_time: NaiveDateTime.t() | nil,
  visible_to: String.t() | nil,
  won_deals_count: non_neg_integer() | nil
}

Functions

Link to this function

handle_transform(map, original_map)

Link to this function

new_from_map(map)

Link to this function

new_from_search(map)