Overview

Packages

  • PHP
  • Transip

Classes

  • Transip_ApiSettings
  • Transip_AvailabilityZone
  • Transip_ColocationService
  • Transip_DataCenterVisitor
  • Transip_DnsEntry
  • Transip_DnsService
  • Transip_Domain
  • Transip_DomainAction
  • Transip_DomainBranding
  • Transip_DomainCheckResult
  • Transip_DomainService
  • Transip_ExtraContactField
  • Transip_Forward
  • Transip_ForwardService
  • Transip_Haip
  • Transip_HaipService
  • Transip_Nameserver
  • Transip_OperatingSystem
  • Transip_PrivateNetwork
  • Transip_Product
  • Transip_PropositionService
  • Transip_Snapshot
  • Transip_Tld
  • Transip_Vps
  • Transip_VpsBackup
  • Transip_VpsService
  • Transip_WhoisContact
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * Models A Nameserver
 5:  *
 6:  * @package Transip
 7:  * @class Nameserver
 8:  * @author TransIP (support@transip.nl)
 9:  */
10: class Transip_Nameserver
11: {
12:     /**
13:      * The hostname of this nameserver
14:      *
15:      * @var string
16:      */
17:     public $hostname = '';
18: 
19:     /**
20:      * Optional ipv4 glue record for this nameserver, leave
21:      * empty when no ipv4 glue record is needed for this nameserver.
22:      *
23:      * @var string
24:      */
25:     public $ipv4 = '';
26: 
27:     /**
28:      * Optional ipv6 glue record for this nameserver, leave
29:      * empty when no ipv6 glue record is needed for this nameserver.
30:      *
31:      * @var string
32:      */
33:     public $ipv6 = '';
34: 
35:     /**
36:      * Constructs a new Nameserver.
37:      *
38:      * @param string $hostname the hostname for this nameserver
39:      * @param string $ipv4 OPTIONAL ipv4 glue record for this nameserver
40:      * @param string $ipv6 OPTIONAL ipv6 glue record for this nameserver
41:      */
42:     public function __construct($hostname, $ipv4 = '', $ipv6 = '')
43:     {
44:         $this->hostname = $hostname;
45:         $this->ipv4 = $ipv4;
46:         $this->ipv6 = $ipv6;
47:     }
48: }
49: 
50: ?>
51: 
API documentation generated by ApiGen 2.8.0