1: <?php
2:
3: /**
4: * This class models a Visitor to the Datacenter. Currently being returned
5: * by ColoService::requestAccess() in an array of all visitors that are granted access.
6: *
7: * @package Transip
8: * @class DataCenterVisitor
9: * @author TransIP (support@transip.nl)
10: */
11: class Transip_DataCenterVisitor
12: {
13: /**
14: * The name of the visitor
15: *
16: * @var string
17: */
18: public $name;
19:
20: /**
21: * The reservation number of the visitor.
22: *
23: * @var string
24: */
25: public $reservationNumber;
26:
27: /**
28: * The accesscode of the visitor.
29: *
30: * @var string
31: */
32: public $accessCode;
33:
34: /**
35: * true iff this visitor been registered before at the datacenter. if true, does not need the accesscode
36: *
37: * @var boolean
38: */
39: public $hasBeenRegisteredBefore;
40: }
41:
42: ?>
43: