NAME

Webservice::OVH::Email::Domain::Domain::Account

SYNOPSIS

use Webservice::OVH;

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

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

my $account = $email_domain->new_account( account_name => 'testaccount', password => $password, description => 'a test account', size => 50000000 );

DESCRIPTION

Provides access to email accounts.

METHODS

_new_existing

Internal Method to create an Account object. This method should never be called directly.

_new

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

is_valid

When this account 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.

name

Unique identifier.

properties

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

is_blocked

Exposed property value.

email

Exposed property value.

domain

Returns the email-domain this account is attached to.

description

Exposed property value.

size

Exposed property value.

change

Changes the account

delete

Deletes the account api sided and sets this object invalid.

delete

Deletes the account api sided and sets this object invalid.

usage

Deletes the account api sided and sets this object invalid.