NAME

DAIA::Unavailable - Information about a service that is currently unavailable

VERSION

version 0.43

DESCRIPTION

This class models a service that is (currently or in general) not available. It is derived from DAIA::Availability so see that class for details and examples. In addition an instance of this class can have the properties expected and queue. Obviously the status property of a DAIA::Unavailable object is always 0.

PROPERTIES

href

An URL to perform, register or reserve the service. As the service is unavailable you will rarely be able to directly perform the service. However the link could provide more information or alternatives.

limitation

An array reference with limitations (DAIA::Limitation objects) of the availability.

message

An array reference with DAIA::Message objects about this specific service.

queue

The number of waiting requests for this service as non-negative integer value. Note that the value 0 is also allowed but in practise there is litte difference between no queue and a queue of length zero.

expected

An optional time period until the service will be available again. The property is given as ISO time period string (as XML Schema subset xs:date or xs:dateTime) or the special value "unknown". If no period (nor "unknown") is given, the service probably won't be available in the future.

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.