NAME

Webservice::OVH::Email::Domain::Domain::Redirection

SYNOPSIS

use Webservice::OVH;

my $ovh = Webservice::OVH->new_from_json("credentials.json");

my $email_domain = $ovh->email->domain->domain('testdomain.de');

my $redirection = $email_domain->new_redirection(from => 'test@test.de', to => 'test2@test.de', local_copy => 'false');

DESCRIPTION

Provides the ability to create, delete and change redirections for an email-domain.

METHODS

_new_existing

Internal Method to create a Redirection object. This method should never be called directly.

_new

Internal Method to create the Redirection object. This method should never be called directly.

is_valid

When this redirection is deleted on the api side, this method returns 0.

_is_valid

Intern method to check validity. Difference is that this method carps an error.

id

Returns the api id.

domain

Returns the email-domain this redirection is attached to.

properties

Returns the raw properties as a hash. This is the original return value of the web-api.

field_type

Exposed property value.

to

Exposed property value.

delete

Deletes the redirection api sided and sets this object invalid.

change

Changes the redirection