The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::SRS::Domain::Update - Class representing an SRS DomainUpdate transaction

SYNOPSIS

  my $update = XML::SRS::DomainUpdate->new(
        domain_name_filter => 'foo.co.nz',
        term => 1,
        action_id => "1234",
        contact_registrant => {
            name => "Joe Bloggs",
            email => "blah@foo.co.nz",
            phone => {
                subscriber => "444 4444",
                ndc => 4,
                cc => 64,
            },
            address => {
                address1 => "555 My Street",
                address2 => "Burbsville",
                city => "Lala Land",
                postcode => "12345",
                cc => "NZ",
            },
        },
        nameservers => [
           {
              fqdn => "ns1.foo.net.nz",
              ipv6_addr => "2404:130:0:10::34:0",
              ipv4_addr => "202.78.240.34",
           },
           {
              fqdn => "ns2.foo.net.nz",
              ipv6_addr => "2404:130:2000:1::1",
              ipv4_addr => "202.78.244.33",
           },
       ],
           dns_sec => [
           {
              algorithm => 5,
              key_tag => 555,
              digest => "3FC2FB591B6089F454B90A529C760E3F92F28399",
              digest_type => 1,
           },
           {
              algorithm => 5,
              key_tag => 444,
              digest => "3A54F693DA1D3FC6073B3D065FEDFAC000610CE83C7D2A084DF883E0B308DCA6",
              digest_type => 2,
           }
        ],        
  );

DESCRIPTION

This class represents an SRS DomainUpdate request. The root XML element of this class is 'DomainUpdate'.

ATTRIBUTES

Each attribute of this class has an accessor/mutator of the same name as the attribute. Additionally, they can be passed as parameters to the constructor.

contact_technical

Must be of type XML::SRS::Contact. Maps to the XML element 'TechnicalContact'

no_auto_renew

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'NoAutoRenew'

dns_sec

Must be of type XML::SRS::DS::List. Maps to the XML element 'DNSSEC'

lock

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Lock'

new_udai

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'NewUDAI'

renew

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Renew'

term

Must be of type XML::SRS::Term. Maps to the XML attribute 'Term'

delegate

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Delegate'

registrant_ref

Must be of type XML::SRS::UID. Maps to the XML attribute 'RegistrantRef'

contact_admin

Must be of type XML::SRS::Contact. Maps to the XML element 'AdminContact'

contact_registrant

Must be of type XML::SRS::Contact. Maps to the XML element 'RegistrantContact'

domain_name_filter

Must be of type ArrayRef[Str]. Maps to the XML element 'DomainNameFilter'

action_id

Required. Must be of type XML::SRS::UID. Maps to the XML attribute 'ActionId'

nameservers

Must be of type XML::SRS::Server::List. Maps to the XML element 'NameServers'

release

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Release'

full_result

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'FullResult'

udai

Must be of type XML::SRS::UDAI. Maps to the XML attribute 'UDAI'

audit

Must be of type Str. Maps to the XML element 'AuditText'

convert_contacts_to_handles

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'ConvertContactsToHandles'

cancel

Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Cancel'

METHODS

new(%params)

Construct a new XML::SRS::Request object. %params specifies the initial values of the attributes.

COMPOSED OF

XML::SRS::Action