1: <?php
2:
3: /**
4: * This class holds the data for one result item of a multi availability check.
5: *
6: * @package Transip
7: * @class DomainCheckResult
8: * @author TransIP (support@transip.nl)
9: */
10: class Transip_DomainCheckResult
11: {
12: const STATUS_INYOURACCOUNT = 'inyouraccount';
13: const STATUS_UNAVAILABLE = 'unavailable';
14: const STATUS_NOTFREE = 'notfree';
15: const STATUS_FREE = 'free';
16: const STATUS_INTERNALPULL = 'internalpull';
17: const STATUS_INTERNALPUSH = 'internalpush';
18: const ACTION_REGISTER = 'register';
19: const ACTION_TRANSFER = 'transfer';
20: const ACTION_INTERNALPULL = 'internalpull';
21: const ACTION_INTERNALPUSH = 'internalpush';
22:
23: /**
24: * The name of the Domain for which we have a status in this object. This needs to meet the requirements specified in <a href="https://tools.ietf.org/html/rfc952" target="_blanc">RFC 952</a>
25: *
26: * @var string;
27: */
28: public $domainName;
29:
30: /**
31: * The status for this domain, one of the Transip_DomainService::AVAILABILITY_* constants.
32: *
33: * @var string
34: */
35: public $status;
36:
37: /**
38: * List of available actions to perform on this domain
39: *
40: * @var string[]
41: */
42: public $actions;
43: }
44:
45: ?>
46: