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

NAME

Net::RDAP::Object - a module representing an RDAP object.

DESCRIPTION

RDAP responses contain one or more RDAP objects: typically the response itself corresponds to an RDAP object, but RDAP objects can contain other RDAP objects (such as the entities and nameservers associated with a domain name).

Net::RDAP::Object represents such objects, whether top-level or embedded. It inherits from Net::RDAP::Base so has all the methods available to that module.

METHODS

RDAP Conformance

    @conformance = $response->conformance;

Returns an array of strings, each providing a hint as to the specifications used (by the server) in the construction of the response.

This method will return undef unless called on the top-most object in a response.

Notices

    @notices = $response->notices;

Returns a (potentially empty) array of Net::RDAP::Notice objects.

The array will always be empty unless called on the top-most object in a response.

Object Class

    $class = $object->class;

Returns a string containing the "class name" of this object (i.e., one of: ip network, entity, nameserver, autnum or domain).

Handle

    $handle = $object->handle;

Returns a string containing the "handle" of the object.

Status

    @status = $object->status;

Returns a (potentially empty) array of state identifiers. The possible values are defined by bn IANA registry; see:

Remarks

    @remarks = $object->remarks;

Returns a (potentially empty) array of Net::RDAP::Remark objects.

Events

    @events = $object->events;

Returns a (potentially empty) array of Net::RDAP::Event objects.

Port-43 Whois Server

    $port43 = $object->port43;

Returns a Net::DNS::Domain object containing the name of the legacy port-43 whois server for this object.

Public IDs

    @ids = $object->ids;

Returns a (potentially empty) array of Net::RDAP::ID objects.

Entities

    @entities = $object->entities;

Returns a (potentially empty) array of Net::RDAP::Object::Entity objects.

COPYRIGHT

Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. All rights reserved.

LICENSE

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.