NAME
Net::RDAP::Object::Entity - a module representing an entity (person or organization).
DESCRIPTION
Net::RDAP::Object::Entity represents persons or organizations in RDAP responses. An entity is a vCard object plus metadata. Net::RDAP::Object::Entity inherits from Net::RDAP::Object so has access to all that module's methods.
Other methods include:
@roles = $object->roles;
Returns a (potentially empty) array listing this entity's roles. The possible values is defined by an IANA registry, see:
my $jcard = $entity->jcard;
Returns a Net::RDAP::JCard for the entity. This is the recommended way to access the contents of the vcardArray
property of the entity object.
$vcard = $entity->vcard;
Returns a vCard object for the entity. Support for all the miriad options in vCard files is limited: only the fn
, org
, email
, tel
and adr
node types (structured addresses only) are supported. The vcardArray()
method above is a better option of you need anything more than this.
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.