- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
  - _new
  - name
  - service_infos
  - properties
  - dnssec_supported
  - domain
  - glue_record_ipv6_supported
  - glue_record_multi_ip_supported
  - last_update
  - name_server_type
  - offer
  - owo_supported
  - parent_service
  - transfer_lock_status
  - whois_owner
  - change_contact

# NAME

Webservice::OVH::Domain::Service

# SYNOPSIS

use Webservice::OVH;

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

my $service = $ovh->domain->service("mydomain.org");

my $info = $service->service_info; my $last_update = $service->last_update;

# DESCRIPTION

Provieds basic functionality for Services A service contact_change can be initialized.

# METHODS

## _new

Internal Method to create the service object. This method is not ment to be called external.

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

- Return: Webservice::OVH::Domain::Zone

- Synopsis: Webservice::OVH::Domain::Zone->_new($ovh_api_wrapper, $zone_name, $module);

## name

Name is the unique identifier.

- Return: VALUE

- Synopsis: my $name = $service->name;

## service_infos

Retrieves additional infos about the service. Infos that are not part of the properties

- Return: HASH

- Synopsis: my $info = $service->service_info;

## properties

Retrieves properties of the service. This method updates the intern property variable.

- Return: HASH

- Synopsis: my $properties = $service->properties;

## dnssec_supported

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $dnssec_supported = $service->dnssec_supported;

## domain

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $domain = $service->domain;

## glue_record_ipv6_supported

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $glue_record_ipv6_supported = $service->glue_record_ipv6_supported;

## glue_record_multi_ip_supported

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $glue_record_multi_ip_supported = $service->glue_record_multi_ip_supported;

## last_update

Exposed Property Value. Readonly.

- Return: DateTime

- Synopsis: my $last_update = $service->last_update;

## name_server_type

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $name_server_type = $service->name_server_type;

## offer

Exposed Property Value. Readonly.

- Return: HASH

- Synopsis: my $offer = $service->offer;

## owo_supported

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $owo_supported = $service->owo_supported;

## parent_service

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $parent_service = $service->parent_service;

## transfer_lock_status

Exposed Property Value. Readonly.

- Return: VALUE

- Synopsis: my $transfer_lock_status = $service->transfer_lock_status;

## whois_owner

Exposed Property Value. Readonly.

- Return: Webservice::Me::Contact

- Synopsis: my $owner = $service->whois_owner;

## change_contact

Initializes a change_contact procedure. This generates a task. An email is sent to the other account-

- Parameter: %params - key => value contact_billing contact_admin contact_tech - ovh account names

- Return: Webservice::Me::Task

- Synopsis: $service->change_contact(contact_tech => 'otheraccount-ovh');