NAME

Webservice::OVH::Me::Task

SYNOPSIS

    use Webservice::OVH;
    
    my $ovh = Webservice::OVH->new_from_json("credentials.json");
    
    my $task = $ovh->domain->service->change_contact(contact_billing => 'ovhaccount-ovh');
    
    $task->resend_email;

DESCRIPTION

Module only provides basic functionality for contact_change tasks.

METHODS

_new

Internal Method to create the Task object. This method is not ment to be called directly.

  • Parameter: $api_wrapper - ovh api wrapper object, $module - root object, $type - intern type

  • Return: Webservice::OVH::Me::Task

  • Synopsis: Webservice::OVH::Me::Task->_new($ovh_api_wrapper, $type, $module);

type

Returns intern type. At the moment only contact_change.

  • Return: VALUE

  • Synopsis: my $type = $task->type;

id

Returns the api id.

  • Return: VALUE

  • Synopsis: my $id = $task->id;

properties

Retrieves properties. This method updates the intern property variable.

  • Return: HASH

  • Synopsis: my $properties = $task->properties;

accept

Accepts a contact change.

  • Synopsis: $task->accept;

refuse

Refuses a contact change.

  • Synopsis: $task->accept;

resend_email

Resends the contact change request.

  • Synopsis: $task->resend_email;