Documentation ¶
Overview ¶
Package proofn implement Proofn contact.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Avatar ¶
type Avatar struct { AvatarPathSmall string `json:"avatarPathSmall,omitempty"` AvatarPathMedium string `json:"avatarPathMedium,omitempty"` AvatarPathLarge string `json:"avatarPathLarge,omitempty"` }
Avatar define an URI to Proofn contact avatar image.
type Contact ¶
type Contact struct { Title string `json:"title,omitempty"` FirstName string `json:"firstName"` MiddleName string `json:"middleName,omitempty"` LastName string `json:"lastName,omitempty"` Suffix string `json:"suffix,omitempty"` FullName string `json:"fullName,omitempty"` Birthday string `json:"birthday,omitempty"` Email string `json:"email,omitempty"` EmailTitle string `json:"emailTitle,omitempty"` Email2 string `json:"email2,omitempty"` Email2Title string `json:"email2Title,omitempty"` Email3 string `json:"email3,omitempty"` Email3Title string `json:"email3Title,omitempty"` HomeAddress string `json:"homeAddress,omitempty"` HomeCity string `json:"homeCity,omitempty"` HomeProvince string `json:"homeProvince,omitempty"` HomeCountry string `json:"homeCountry,omitempty"` HomeZIP string `json:"homeZIP,omitempty"` HomePhone string `json:"homePhone,omitempty"` WorkAddress string `json:"workAddress,omitempty"` WorkCity string `json:"workCity,omitempty"` WorkProvince string `json:"workProvince,omitempty"` WorkCountry string `json:"workCountry,omitempty"` WorkZIP string `json:"workZIP,omitempty"` WorkPhone string `json:"workPhone,omitempty"` Office string `json:"office,omitempty"` JobTitle string `json:"jobTitle,omitempty"` Profession string `json:"profession,omitempty"` Department string `json:"department,omitempty"` ManagersName string `json:"managersName,omitempty"` DialCode string `json:"dialCode,omitempty"` PhoneNumber string `json:"phoneNumber,omitempty"` MobilePhone string `json:"mobilePhone,omitempty"` AlternatePhone string `json:"alternatePhone,omitempty"` CompanyPhone string `json:"companyPhone,omitempty"` SpouseName string `json:"spouseName,omitempty"` Anniversary string `json:"anniversary,omitempty"` KidsName []string `json:"kidsName,omitempty"` TopicsToAvoid string `json:"topicsToAvoid,omitempty"` TopicsToMention string `json:"topicsToMention,omitempty"` FollowUpTopic string `json:"followUpTopic,omitempty"` Notes []string `json:"notes,omitempty"` Avatar *Avatar `json:"avatar,omitempty"` Gender int32 `json:"gender,omitempty"` SpouseType int32 `json:"spouseType,omitempty"` IsVIP bool `json:"isVIP,omitempty"` IsActive bool `json:"isActive,omitempty"` }
Contact define Proofn contact format.
func (*Contact) SetAddresses ¶
SetAddresses will set contact address using value from list of contact Address.
func (*Contact) SetEmails ¶
SetEmails will set Proofn contact email based on type on gonctacts email.
func (*Contact) SetFullName ¶
func (c *Contact) SetFullName()
SetFullName will reset the contact full name based on values in title, first, middle, last name, and suffix.
Click to show internal directories.
Click to hide internal directories.