- public string billing_information { get; set; }
Billing information for the contact, such as their billing name and
address.
- public Date birthday { owned get; set; }
The contact's birthday.
- public bool birthday_has_year { get; set; }
Whether the contact's birthday includes their year of birth.
- public bool deleted { get; }
Whether the entry has been deleted.
- public string directory_server { get; set; }
The name or address of a directory server associated with the contact.
- public int64 edited { get; }
The last time the contact was edited.
- public string file_as { get; set; }
The name to file the contact under for sorting purposes.
- public string gender { get; set; }
The gender of the contact.
- public string initials { get; set; }
The initials of the contact.
- public string maiden_name { get; set; }
The maiden name of the contact.
- public string mileage { get; set; }
A mileage associated with the contact, such as one for reimbursement
purposes.
- public GDName name { get; set; }
The contact's name in a structured representation.
- public string nickname { get; set; }
The contact's chosen nickname.
- public string occupation { get; set; }
The contact's occupation.
- public string photo_etag { get; }
The ETag of the contact's photo, if the contact has a photo;
null otherwise.
- public string priority { get; set; }
The contact's importance.
- public string sensitivity { get; set; }
The sensitivity of the contact's data.
- public string short_name { get; set; }
A short name for the contact.
- public string subject { get; set; }
The subject of the contact.
- public void add_calendar (GContactCalendar calendar)
Adds a calendar to the contact's list of calendars and increments its
reference count.
- public void add_email_address (GDEmailAddress email_address)
Adds an e-mail address to the contact's list of e-mail addresses and
increments its reference count.
- public void add_event (GContactEvent event)
Adds an event to the contact's list of events and increments its
reference count.
- public void add_external_id (GContactExternalID external_id)
Adds an external ID to the contact's list of external IDs and
increments its reference count.
- public void add_group (string href)
Adds the contact to the given group.
- public void add_hobby (string hobby)
Adds a hobby to the contact's list of hobbies, copying it in the
process.
- public void add_im_address (GDIMAddress im_address)
Adds an IM (instant messaging) address to the contact's list of IM
addresses and increments its reference count.
- public void add_jot (GContactJot jot)
Adds a jot to the contact's list of jots and increments its reference
count.
- public void add_language (GContactLanguage language)
Adds a language to the contact's list of languages and increments its
reference count.
- public void add_organization (GDOrganization organization)
Adds an organization to the contact's list of organizations (e.
- public void add_phone_number (GDPhoneNumber phone_number)
Adds a phone number to the contact's list of phone numbers and
increments its reference count
- public void add_postal_address (GDPostalAddress postal_address)
Adds a postal address to the contact's list of postal addresses and
increments its reference count.
- public void add_relation (GContactRelation relation)
Adds a relation to the contact's list of relations and increments its
reference count.
- public void add_website (GContactWebsite website)
Adds a website to the contact's list of websites and increments its
reference count.
- public unowned string get_billing_information ()
- public bool get_birthday (out Date birthday)
- public unowned List<GContactCalendar> get_calendars ()
Gets a list of the calendars of the contact.
- public unowned string get_directory_server ()
- public int64 get_edited ()
- public unowned List<GDEmailAddress> get_email_addresses ()
Gets a list of the e-mail addresses owned by the contact.
- public unowned List<GContactEvent> get_events ()
Gets a list of the events of the contact.
- public unowned HashTable<void*,void*> get_extended_properties ()
Gets the full list of extended properties of the contact; a hash table
mapping property name to value.
- public unowned string get_extended_property (string name)
Gets the value of an extended property of the contact.
- public unowned List<GContactExternalID> get_external_ids ()
Gets a list of the external IDs of the contact.
- public unowned string get_file_as ()
- public unowned string get_gender ()
- public List<unowned string> get_groups ()
Gets a list of the groups to which the contact belongs.
- public unowned List<string> get_hobbies ()
Gets a list of the hobbies of the contact.
- public unowned List<GDIMAddress> get_im_addresses ()
Gets a list of the IM addresses owned by the contact.
- public unowned string get_initials ()
- public unowned List<GContactJot> get_jots ()
Gets a list of the jots attached to the contact.
- public unowned List<GContactLanguage> get_languages ()
Gets a list of the languages of the contact.
- public unowned string get_maiden_name ()
- public unowned string get_mileage ()
- public unowned GDName get_name ()
- public unowned string get_nickname ()
- public unowned string get_occupation ()
- public unowned List<GDOrganization> get_organizations ()
Gets a list of the organizations to which the contact belongs.
- public unowned List<GDPhoneNumber> get_phone_numbers ()
Gets a list of the phone numbers owned by the contact.
- public uint8[] get_photo (ContactsService service, out string content_type, Cancellable? cancellable = null) throws Error
Downloads and returns the contact's photo, if they have one.
- public async uint8[] get_photo_async (ContactsService service, Cancellable? cancellable, out string content_type) throws Error
Downloads and returns the contact's photo, if they have one,
asynchronously.
- public unowned string get_photo_etag ()
Returns the ETag for the contact's attached photo, if it exists.
- public unowned List<GDPostalAddress> get_postal_addresses ()
Gets a list of the postal addresses owned by the contact.
- public unowned GContactCalendar get_primary_calendar ()
Gets the contact's primary calendar, if one exists.
- public unowned GDEmailAddress get_primary_email_address ()
Gets the contact's primary e-mail address, if one exists.
- public unowned GDIMAddress get_primary_im_address ()
Gets the contact's primary IM address, if one exists.
- public unowned GDOrganization get_primary_organization ()
Gets the contact's primary organization, if one exists.
- public unowned GDPhoneNumber get_primary_phone_number ()
Gets the contact's primary phone number, if one exists.
- public unowned GDPostalAddress get_primary_postal_address ()
Gets the contact's primary postal address, if one exists.
- public unowned GContactWebsite get_primary_website ()
Gets the contact's primary website, if one exists.
- public unowned string get_priority ()
- public unowned List<GContactRelation> get_relations ()
Gets a list of the relations of the contact.
- public unowned string get_sensitivity ()
- public unowned string get_short_name ()
- public unowned string get_subject ()
- public unowned string get_user_defined_field (string name)
Gets the value of a user-defined field of the contact.
- public unowned HashTable<void*,void*> get_user_defined_fields ()
Gets the full list of user-defined fields of the contact; a hash table
mapping field name to value.
- public unowned List<GContactWebsite> get_websites ()
Gets a list of the websites of the contact.
- public bool is_deleted ()
Returns whether the contact has recently been deleted.
- public bool is_group_deleted (string href)
Returns whether the contact has recently been removed from the given
group on the server.
- public void remove_all_calendars ()
Removes all calendars from the contact.
- public void remove_all_email_addresses ()
Removes all e-mail addresses from the contact.
- public void remove_all_events ()
Removes all events from the contact.
- public void remove_all_external_ids ()
Removes all external IDs from the contact.
- public void remove_all_hobbies ()
Removes all hobbies from the contact.
- public void remove_all_im_addresses ()
Removes all IM addresses from the contact.
- public void remove_all_jots ()
Removes all jots from the contact.
- public void remove_all_languages ()
Removes all languages from the contact.
- public void remove_all_organizations ()
Removes all organizations from the contact.
- public void remove_all_phone_numbers ()
Removes all phone numbers from the contact.
- public void remove_all_postal_addresses ()
Removes all postal addresses from the contact.
- public void remove_all_relations ()
Removes all relations from the contact.
- public void remove_all_websites ()
Removes all websites from the contact.
- public void remove_group (string href)
Removes the contact from the given group.
- public void set_billing_information (string? billing_information)
- public void set_birthday (Date? birthday, bool birthday_has_year)
- public void set_directory_server (string? directory_server)
- public bool set_extended_property (string name, string? value)
Sets the value of a contact's extended property.
- public void set_file_as (string? file_as)
Sets the
file_as property to file_as.
- public void set_gender (string? gender)
Sets the
gender property to gender.
- public void set_initials (string? initials)
- public void set_maiden_name (string? maiden_name)
- public void set_mileage (string? mileage)
Sets the
mileage property to mileage.
- public void set_name (GDName name)
Sets the
name property to name, and increments its reference count.
- public void set_nickname (string? nickname)
- public void set_occupation (string? occupation)
- public bool set_photo (ContactsService service, uint8? data, size_t length, string? content_type, Cancellable? cancellable = null) throws Error
Sets the contact's photo to data or, if data
is null, deletes the contact's photo.
- public async bool set_photo_async (ContactsService service, uint8? data, size_t length, string? content_type, Cancellable? cancellable) throws Error
Sets the contact's photo to data or, if data
is null, deletes the contact's photo.
- public void set_priority (string? priority)
- public void set_sensitivity (string? sensitivity)
- public void set_short_name (string? short_name)
- public void set_subject (string? subject)
Sets the
subject property to subject.
- public void set_user_defined_field (string name, string? value)
Sets the value of a contact's user-defined field.