Webservice::OVH::Me::Contact
use Webservice::OVH; my $ovh = Webservice::OVH->new_from_json("credentials.json"); my $contacts = $ovh->me->contacts; foreach my $contact (@$contact) { print $contact->birth_city; }
Propvides access to contact properties. No managing methods are available at the moment.
Internal Method to create the Contact object. This method is not ment to be called directly.
Parameter: $api_wrapper - ovh api wrapper object, $module - root object, $contact_id - api id
Return: Webservice::OVH::Me::Contact
Synopsis: Webservice::OVH::Me::Contact->_new($ovh_api_wrapper, $contact_id, $module);
Returns the api id.
Return: VALUE
Synopsis: my $id = $contact->id;
Retrieves properties. This method updates the intern property variable.
Return: HASH
Synopsis: my $properties = $contact->properties;
Exposed property value.
Synopsis: my $address = $contact->address;
Synopsis: my $birth_city = $contact->birth_city;
Synopsis: my $birth_country = $contact->birth_country;
Return: DateTime
Synopsis: my $birth_day = $contact->birth_day;
Synopsis: my $birth_zip = $contact->birth_zip;
Synopsis: my $cell_phone = $contact->cell_phone;
Synopsis: my $company_national_identification_number = $contact->company_national_identification_number;
Synopsis: my $email = $contact->email;
Synopsis: my $fax = $contact->fax;
Synopsis: my $first_name = $contact->first_name;
Synopsis: my $gender = $contact->gender;
Synopsis: my $language = $contact->language;
Synopsis: my $last_name = $contact->last_name;
Synopsis: my $legal_form = $contact->legal_form;
Synopsis: my $national_identification_number = $contact->national_identification_number;
Synopsis: my $nationality = $contact->nationality;
Synopsis: my $organisation_name = $contact->organisation_name;
Synopsis: my $organisation_type = $contact->organisation_type;
Synopsis: my $phone = $contact->phone;
Synopsis: my $vat = $contact->vat;
To install Webservice::OVH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::OVH
CPAN shell
perl -MCPAN -e shell install Webservice::OVH
For more information on module installation, please visit the detailed CPAN module installation guide.