XML::SRS::Domain::Query - Class representing an SRS DomainDetailsQry transaction
my $query = XML::SRS::Domain::Query->new( "domain_name_filter" => ["ddq.co.te", "ddq2.co.te"], "status" => "Active", "delegate" => 1, "term" => 1, "registrant_ref" => "ref", "max_results" => 100, "skip_results" => 100, "count_results" => 0, "name_server_filter" => [ { "fqdn" => "ns1.host.co.nz" } ], "registrant_contact_filter" => { "name" => "Name", "email" => "email@email.co.nz", "postal_address_filter" => { "address1" => "111 My House", "address2" => "Burbsville", "city" => "Wellington", "region" => "Willington", "cc" => "NZ", "postcode" => "4444" }, "phone" => { "cc" => "64", "ndc" => "4", "subscriber" => "1234567" }, "fax" => { "cc" => "64", "ndc" => "4", "subscriber" => "1234567" } }, "admin_contact_filter" => { "name" => "Name", "email" => "email@email.co.nz", "postal_address_filter" => { "address1" => "111 My House", "address2" => "Burbsville", "city" => "Wellington", "region" => "Willington", "cc" => "NZ", "postcode" => "4444" }, "phone" => { "cc" => "64", "ndc" => "4", "subscriber" => "1234567" }, "fax" => { "cc" => "64", "ndc" => "4", "subscriber" => "1234567" } }, "search_date_range" => { "begin" => "2000-01-01 00:00:00", "end" => "2020-01-01 00:00:00", }, "audit_text_filter" => "audit text *", "action_id_filter" => "ddq setup *", "field_list"= > [ "status", "name_servers", "dns_sec", "registrant_contact", "registered_date", "admin_contact", "technical_contact", "locked_date", "delegate", "registrar_id", "registrar_name", "registrant_ref", "last_action_id", "changed_by_registrar_id", "term", "billed_until", "cancelled_date", "audit_text", "effective_from", "default_contacts" ], );
This class represents an SRS DomainDetailsQry request. The root XML element of this class is 'DomainDetailsQry'.
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.
Must be of type Str. Maps to the XML element 'ActionIdFilter'
Must be of type XML::SRS::FieldList. Maps to the XML element 'FieldList'
Must be of type XML::SRS::Contact::Filter. Maps to the XML element 'AdminContactFilter'
Must be of type XML::SRS::RegDomainStatus. Maps to the XML attribute 'Status'
Must be of type Str. Maps to the XML element 'AuditTextFilter'
Must be of type PRANG::Coerce::ArrayRefOfStrs. Maps to the XML element 'DomainNameFilter'
Must be of type XML::SRS::Term. Maps to the XML attribute 'Term'
Must be of type XML::SRS::Server::Filter::List. Maps to the XML element 'NameServerFilter'
Must be of type XML::SRS::UID. Maps to the XML attribute 'QryId'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'ChangedInDateRange'
Must be of type XML::SRS::Contact::Filter. Maps to the XML element 'RegistrantContactFilter'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'BilledUntilDateRange'
Must be of type XML::SRS::Boolean. Maps to the XML attribute 'Delegate'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'LockedDateRange'
Must be of type XML::SRS::UID. Maps to the XML attribute 'RegistrantRef'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'RegisteredDateRange'
Must be of type XML::SRS::Boolean. Maps to the XML attribute 'CountResults'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'SearchDateRange'
Must be of type XML::SRS::Number. Maps to the XML attribute 'SkipResults'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'ResultDateRange'
Must be of type XML::SRS::Contact::Filter. Maps to the XML element 'TechnicalContactFilter'
Must be of type XML::SRS::Date::Range. Maps to the XML element 'CancelledDateRange'
Must be of type XML::SRS::Number. Maps to the XML attribute 'MaxResults'
XML::SRS::Query
To install XML::SRS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::SRS
CPAN shell
perl -MCPAN -e shell install XML::SRS
For more information on module installation, please visit the detailed CPAN module installation guide.