€cdocutils.nodes
document
q)�q}q(U	nametypesq}q(X   import domainqNX   create domainqNX   modify domainqNX   setupq	NX   list domainsq
NX   export domainqNX   remove domainqNX   finding a domain idqNX   filter parametersqNX   clone domainqNX   domainsqNX
   get domainqNX   list domain changesqNuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU
decorationqNUautofootnote_startqKUnameidsq}q(hUimport-domainqhUcreate-domainqhUmodify-domainqh	Usetupqh
Ulist-domainsq hUexport-domainq!hUremove-domainq"hUfinding-a-domain-idq#hUfilter-parametersq$hUclone-domainq%hUdomainsq&hU
get-domainq'hUlist-domain-changesq(uUchildrenq)]q*cdocutils.nodes
section
q+)�q,}q-(U	rawsourceq.U Uparentq/hUsourceq0XG   /Users/jamie/projects/php/php-opencloud/doc/services/dns/Domains.md.rstq1Utagnameq2Usectionq3U
attributesq4}q5(Udupnamesq6]Uclassesq7]Ubackrefsq8]Uidsq9]q:h&aUnamesq;]q<hauUlineq=KUdocumentq>hh)]q?(cdocutils.nodes
title
q@)�qA}qB(h.X   DomainsqCh/h,h0h1h2UtitleqDh4}qE(h6]h7]h8]h9]h;]uh=Kh>hh)]qFcdocutils.nodes
Text
qGX   DomainsqH…�qI}qJ(h.hCh/hAubaubcdocutils.nodes
paragraph
qK)�qL}qM(h.X^   A domain is an entity/container of all DNS-related information
containing one or more records.qNh/h,h0h1h2U	paragraphqOh4}qP(h6]h7]h8]h9]h;]uh=Kh>hh)]qQhGX^   A domain is an entity/container of all DNS-related information
containing one or more records.qR…�qS}qT(h.hNh/hLubaubh+)�qU}qV(h.U h/h,h0h1h2h3h4}qW(h6]h7]h8]h9]qXhah;]qYh	auh=Kh>hh)]qZ(h@)�q[}q\(h.X   Setupq]h/hUh0h1h2hDh4}q^(h6]h7]h8]h9]h;]uh=Kh>hh)]q_hGX   Setupq`…�qa}qb(h.h]h/h[ubaubhK)�qc}qd(h.X¬   Limit methods will be called on the DNS service, an instance of
``OpenCloud\DNS\Service``. Please see the `DNS service <Service.md>`__
documentation for setup instructions.h/hUh0h1h2hOh4}qe(h6]h7]h8]h9]h;]uh=K
h>hh)]qf(hGX@   Limit methods will be called on the DNS service, an instance of
qg…�qh}qi(h.X@   Limit methods will be called on the DNS service, an instance of
h/hcubcdocutils.nodes
literal
qj)�qk}ql(h.X   ``OpenCloud\DNS\Service``h4}qm(h6]h7]h8]h9]h;]uh/hch)]qnhGX   OpenCloud\DNS\Serviceqo…�qp}qq(h.U h/hkubah2UliteralqrubhGX   . Please see the qs…�qt}qu(h.X   . Please see the h/hcubcdocutils.nodes
reference
qv)�qw}qx(h.X   `DNS service <Service.md>`__h4}qy(UnameX   DNS serviceUrefuriqzX
   Service.mdh9]h8]h6]h7]h;]uh/hch)]q{hGX   DNS serviceq|…�q}}q~(h.U h/hwubah2U	referencequbhGX&   
documentation for setup instructions.q€…�q�}q‚(h.X&   
documentation for setup instructions.h/hcubeubeubh+)�qƒ}q„(h.U h/h,h0h1h2h3h4}q…(h6]h7]h8]h9]q†h'ah;]q‡hauh=Kh>hh)]qˆ(h@)�q‰}qŠ(h.X
   Get domainq‹h/hƒh0h1h2hDh4}qŒ(h6]h7]h8]h9]h;]uh=Kh>hh)]q�hGX
   Get domainqŽ…�q�}q�(h.h‹h/h‰ubaubhK)�q‘}q’(h.XV   To retrieve a specific domain, you will need the domain's **id**, not
its domain name.h/hƒh0h1h2hOh4}q“(h6]h7]h8]h9]h;]uh=Kh>hh)]q”(hGX:   To retrieve a specific domain, you will need the domain's q•…�q–}q—(h.X:   To retrieve a specific domain, you will need the domain's h/h‘ubcdocutils.nodes
strong
q˜)�q™}qš(h.X   **id**h4}q›(h6]h7]h8]h9]h;]uh/h‘h)]qœhGX   idq�…�qž}qŸ(h.U h/h™ubah2Ustrongq ubhGX   , not
its domain name.q¡…�q¢}q£(h.X   , not
its domain name.h/h‘ubeubcdocutils.nodes
literal_block
q¤)�q¥}q¦(h.X"   $domain = $service->domain(12345);h/hƒh0h1h2Uliteral_blockq§h4}q¨(U	xml:spaceq©Upreserveqªh9]h8]h6]h7]q«(Ucodeq¬X   phpq­eh;]uh=Kh>hh)]q®cdocutils.nodes
inline
q¯)�q°}q±(h.X"   $domain = $service->domain(12345);h4}q²(h6]h7]q³Uotherq´ah8]h9]h;]uh/h¥h)]qµhGX"   $domain = $service->domain(12345);q¶…�q·}q¸(h.U h/h°ubah2Uinlineq¹ubaubhK)�qº}q»(h.X‰   If you are having trouble remembering or accessing the domain ID, you
can do a domain list search for your domain and then access its ID.q¼h/hƒh0h1h2hOh4}q½(h6]h7]h8]h9]h;]uh=Kh>hh)]q¾hGX‰   If you are having trouble remembering or accessing the domain ID, you
can do a domain list search for your domain and then access its ID.q¿…�qÀ}qÁ(h.h¼h/hºubaubeubh+)�qÂ}qÃ(h.U h/h,h0h1h2h3h4}qÄ(h6]h7]h8]h9]qÅh ah;]qÆh
auh=Kh>hh)]qÇ(h@)�qÈ}qÉ(h.X   List domainsqÊh/hÂh0h1h2hDh4}qË(h6]h7]h8]h9]h;]uh=Kh>hh)]qÌhGX   List domainsqÍ…�qÎ}qÏ(h.hÊh/hÈubaubhK)�qÐ}qÑ(h.X*  These calls provide a list of all DNS domains manageable by a given
account. The resulting list is flat, and does not break the domains down
hierarchically by subdomain. All representative domains are included in
the list, even if a domain is conceptually a subdomain of another domain
in the list.qÒh/hÂh0h1h2hOh4}qÓ(h6]h7]h8]h9]h;]uh=Kh>hh)]qÔhGX*  These calls provide a list of all DNS domains manageable by a given
account. The resulting list is flat, and does not break the domains down
hierarchically by subdomain. All representative domains are included in
the list, even if a domain is conceptually a subdomain of another domain
in the list.qÕ…�qÖ}q×(h.hÒh/hÐubaubh¤)�qØ}qÙ(h.Xx   $domains = $service->domainList();

# Return detailed information for each domain
$domains = $service->domainList(true);h/hÂh0h1h2h§h4}qÚ(h©hªh9]h8]h6]h7]qÛ(h¬X   phpqÜeh;]uh=K*h>hh)]qÝh¯)�qÞ}qß(h.Xx   $domains = $service->domainList();

# Return detailed information for each domain
$domains = $service->domainList(true);h4}qà(h6]h7]qáUotherqâah8]h9]h;]uh/hØh)]qãhGXx   $domains = $service->domainList();

# Return detailed information for each domain
$domains = $service->domainList(true);qä…�qå}qæ(h.U h/hÞubah2h¹ubaubhK)�qç}qè(h.Xr   Please consult the `iterator
documentation </docs/userguide/Iterators.md>`__ for more information
about iterators.h/hÂh0h1h2hOh4}qé(h6]h7]h8]h9]h;]uh=K+h>hh)]qê(hGX   Please consult the që…�qì}qí(h.X   Please consult the h/hçubhv)�qî}qï(h.X9   `iterator
documentation </docs/userguide/Iterators.md>`__h4}qð(UnameX   iterator documentationhzX   /docs/userguide/Iterators.mdh9]h8]h6]h7]h;]uh/hçh)]qñhGX   iterator
documentationqò…�qó}qô(h.U h/hîubah2hubhGX&    for more information
about iterators.qõ…�qö}q÷(h.X&    for more information
about iterators.h/hçubeubh+)�qø}qù(h.U h/hÂh0h1h2h3h4}qú(h6]h7]h8]h9]qûh$ah;]qühauh=K0h>hh)]qý(h@)�qþ}qÿ(h.X   Filter parametersr   h/høh0h1h2hDh4}r  (h6]h7]h8]h9]h;]uh=K0h>hh)]r  hGX   Filter parametersr  …�r  }r  (h.j   h/hþubaubhK)�r  }r  (h.X  You can filter the aforementioned search by using the ``name`` parameter
in a key/value array supplied as a method argument. For example,
providing ``array('name' => 'hoola.com')`` will return hoola.com and
similar names such as main.hoola.com and sub.hoola.com.h/høh0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=K2h>hh)]r	  (hGX6   You can filter the aforementioned search by using the r
  …�r  }r  (h.X6   You can filter the aforementioned search by using the h/j  ubhj)�r  }r  (h.X   ``name``h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hGX   namer  …�r  }r  (h.U h/j  ubah2hrubhGXV    parameter
in a key/value array supplied as a method argument. For example,
providing r  …�r  }r  (h.XV    parameter
in a key/value array supplied as a method argument. For example,
providing h/j  ubhj)�r  }r  (h.X    ``array('name' => 'hoola.com')``h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hGX   array('name' => 'hoola.com')r  …�r  }r  (h.U h/j  ubah2hrubhGXR    will return hoola.com and
similar names such as main.hoola.com and sub.hoola.com.r  …�r  }r   (h.XR    will return hoola.com and
similar names such as main.hoola.com and sub.hoola.com.h/j  ubeubh¤)�r!  }r"  (h.XI   $hoolaDomains = $service->domainList(array(
    'name' => 'hoola.com'
));h/høh0h1h2h§h4}r#  (h©hªh9]h8]h6]h7]r$  (h¬X   phpr%  eh;]uh=K<h>hh)]r&  h¯)�r'  }r(  (h.XI   $hoolaDomains = $service->domainList(array(
    'name' => 'hoola.com'
));h4}r)  (h6]h7]r*  Uotherr+  ah8]h9]h;]uh/j!  h)]r,  hGXI   $hoolaDomains = $service->domainList(array(
    'name' => 'hoola.com'
));r-  …�r.  }r/  (h.U h/j'  ubah2h¹ubaubhK)�r0  }r1  (h.X   Filter criteria may consist of:r2  h/høh0h1h2hOh4}r3  (h6]h7]h8]h9]h;]uh=K=h>hh)]r4  hGX   Filter criteria may consist of:r5  …�r6  }r7  (h.j2  h/j0  ubaubcdocutils.nodes
bullet_list
r8  )�r9  }r:  (h.U h/høh0h1h2Ubullet_listr;  h4}r<  (Ubulletr=  X   -h9]h8]h6]h7]h;]uh=K?h>hh)]r>  (cdocutils.nodes
list_item
r?  )�r@  }rA  (h.X   Any letter (A-Za-z)rB  h/j9  h0h1h2U	list_itemrC  h4}rD  (h6]h7]h8]h9]h;]uh=Nh>hh)]rE  hK)�rF  }rG  (h.jB  h/j@  h0h1h2hOh4}rH  (h6]h7]h8]h9]h;]uh=K?h)]rI  hGX   Any letter (A-Za-z)rJ  …�rK  }rL  (h.jB  h/jF  ubaubaubj?  )�rM  }rN  (h.X   Numbers (0-9)rO  h/j9  h0h1h2jC  h4}rP  (h6]h7]h8]h9]h;]uh=Nh>hh)]rQ  hK)�rR  }rS  (h.jO  h/jM  h0h1h2hOh4}rT  (h6]h7]h8]h9]h;]uh=K@h)]rU  hGX   Numbers (0-9)rV  …�rW  }rX  (h.jO  h/jR  ubaubaubj?  )�rY  }rZ  (h.X   Hyphen ("-")r[  h/j9  h0h1h2jC  h4}r\  (h6]h7]h8]h9]h;]uh=Nh>hh)]r]  hK)�r^  }r_  (h.j[  h/jY  h0h1h2hOh4}r`  (h6]h7]h8]h9]h;]uh=KAh)]ra  hGX   Hyphen ("-")rb  …�rc  }rd  (h.j[  h/j^  ubaubaubj?  )�re  }rf  (h.X   1 to 63 characters
h/j9  h0h1h2jC  h4}rg  (h6]h7]h8]h9]h;]uh=Nh>hh)]rh  hK)�ri  }rj  (h.X   1 to 63 charactersrk  h/je  h0h1h2hOh4}rl  (h6]h7]h8]h9]h;]uh=KBh)]rm  hGX   1 to 63 charactersrn  …�ro  }rp  (h.jk  h/ji  ubaubaubeubhK)�rq  }rr  (h.XC   Filter criteria should not include any of the following characters:rs  h/høh0h1h2hOh4}rt  (h6]h7]h8]h9]h;]uh=KDh>hh)]ru  hGXC   Filter criteria should not include any of the following characters:rv  …�rw  }rx  (h.js  h/jq  ubaubcdocutils.nodes
block_quote
ry  )�rz  }r{  (h.U h/høh0h1h2Ublock_quoter|  h4}r}  (h6]h7]h8]h9]h;]uh=Nh>hh)]r~  hK)�r  }r€  (h.XG   ' + , \| ! " Â£ $ % & / ( ) = ? ^ \* Ã§ Â° Â§ ; : \_ > ] [ @ Ã , Ã©, Ã²h/jz  h0h1h2hOh4}r�  (h6]h7]h8]h9]h;]uh=KFh)]r‚  hGXD   ' + , | ! " Â£ $ % & / ( ) = ? ^ * Ã§ Â° Â§ ; : _ > ] [ @ Ã , Ã©, Ã²rƒ  …�r„  }r…  (h.XG   ' + , \| ! " Â£ $ % & / ( ) = ? ^ \* Ã§ Â° Â§ ; : \_ > ] [ @ Ã , Ã©, Ã²h/j  ubaubaubeubh+)�r†  }r‡  (h.U h/hÂh0h1h2h3h4}rˆ  (h6]h7]h8]h9]r‰  h#ah;]rŠ  hauh=KIh>hh)]r‹  (h@)�rŒ  }r�  (h.X   Finding a domain IDrŽ  h/j†  h0h1h2hDh4}r�  (h6]h7]h8]h9]h;]uh=KIh>hh)]r�  hGX   Finding a domain IDr‘  …�r’  }r“  (h.jŽ  h/jŒ  ubaubhK)�r”  }r•  (h.XL   If you know a domain's name, but not its unique identifier, you can do
this:r–  h/j†  h0h1h2hOh4}r—  (h6]h7]h8]h9]h;]uh=KKh>hh)]r˜  hGXL   If you know a domain's name, but not its unique identifier, you can do
this:r™  …�rš  }r›  (h.j–  h/j”  ubaubh¤)�rœ  }r�  (h.X|   $domains = $service->domainList(array(
    'name' => 'foo.com'
));

foreach ($domains as $domain) {
    $id = $domain->id;
}h/j†  h0h1h2h§h4}rž  (h©hªh9]h8]h6]h7]rŸ  (h¬X   phpr   eh;]uh=KWh>hh)]r¡  h¯)�r¢  }r£  (h.X|   $domains = $service->domainList(array(
    'name' => 'foo.com'
));

foreach ($domains as $domain) {
    $id = $domain->id;
}h4}r¤  (h6]h7]r¥  Uotherr¦  ah8]h9]h;]uh/jœ  h)]r§  hGX|   $domains = $service->domainList(array(
    'name' => 'foo.com'
));

foreach ($domains as $domain) {
    $id = $domain->id;
}r¨  …�r©  }rª  (h.U h/j¢  ubah2h¹ubaubeubeubh+)�r«  }r¬  (h.U h/h,h0h1h2h3h4}r­  (h6]h7]h8]h9]r®  h(ah;]r¯  hauh=KYh>hh)]r°  (h@)�r±  }r²  (h.X   List domain changesr³  h/j«  h0h1h2hDh4}r´  (h6]h7]h8]h9]h;]uh=KYh>hh)]rµ  hGX   List domain changesr¶  …�r·  }r¸  (h.j³  h/j±  ubaubhK)�r¹  }rº  (h.XŸ   This call shows all changes to the specified domain since the specified
date/time. The since parameter is optional and defaults to midnight of
the current day.r»  h/j«  h0h1h2hOh4}r¼  (h6]h7]h8]h9]h;]uh=K[h>hh)]r½  hGXŸ   This call shows all changes to the specified domain since the specified
date/time. The since parameter is optional and defaults to midnight of
the current day.r¾  …�r¿  }rÀ  (h.j»  h/j¹  ubaubh¤)�rÁ  }rÂ  (h.XÇ  $changes = $domain->changes();

# Changes since last week
$since = date('c', strtotime('last week'));
$changes = $domain->changes($since);

foreach ($changes->changes as $change) {
    printf("Domain: %s\nAction: %s\nTarget: %s", $change->domain, $change->action, $change->targetType);

    foreach ($change->changeDetails as $detail) {
        printf("Details: %s was changed from %s to %s", $detail->field, $detail->oldValue, $detail->newValue);
    }
}h/j«  h0h1h2h§h4}rÃ  (h©hªh9]h8]h6]h7]rÄ  (h¬X   phprÅ  eh;]uh=Knh>hh)]rÆ  h¯)�rÇ  }rÈ  (h.XÇ  $changes = $domain->changes();

# Changes since last week
$since = date('c', strtotime('last week'));
$changes = $domain->changes($since);

foreach ($changes->changes as $change) {
    printf("Domain: %s\nAction: %s\nTarget: %s", $change->domain, $change->action, $change->targetType);

    foreach ($change->changeDetails as $detail) {
        printf("Details: %s was changed from %s to %s", $detail->field, $detail->oldValue, $detail->newValue);
    }
}h4}rÉ  (h6]h7]rÊ  UotherrË  ah8]h9]h;]uh/jÁ  h)]rÌ  hGXÇ  $changes = $domain->changes();

# Changes since last week
$since = date('c', strtotime('last week'));
$changes = $domain->changes($since);

foreach ($changes->changes as $change) {
    printf("Domain: %s\nAction: %s\nTarget: %s", $change->domain, $change->action, $change->targetType);

    foreach ($change->changeDetails as $detail) {
        printf("Details: %s was changed from %s to %s", $detail->field, $detail->oldValue, $detail->newValue);
    }
}rÍ  …�rÎ  }rÏ  (h.U h/jÇ  ubah2h¹ubaubeubh+)�rÐ  }rÑ  (h.U h/h,h0h1h2h3h4}rÒ  (h6]h7]h8]h9]rÓ  h!ah;]rÔ  hauh=Kph>hh)]rÕ  (h@)�rÖ  }r×  (h.X   Export domainrØ  h/jÐ  h0h1h2hDh4}rÙ  (h6]h7]h8]h9]h;]uh=Kph>hh)]rÚ  hGX   Export domainrÛ  …�rÜ  }rÝ  (h.jØ  h/jÖ  ubaubhK)�rÞ  }rß  (h.X  This call provides the BIND (Berkeley Internet Name Domain) 9 formatted
contents of the requested domain. This call is for a single domain only,
and as such, does not traverse up or down the domain hierarchy for
details (that is, no subdomain information is provided).rà  h/jÐ  h0h1h2hOh4}rá  (h6]h7]h8]h9]h;]uh=Krh>hh)]râ  hGX  This call provides the BIND (Berkeley Internet Name Domain) 9 formatted
contents of the requested domain. This call is for a single domain only,
and as such, does not traverse up or down the domain hierarchy for
details (that is, no subdomain information is provided).rã  …�rä  }rå  (h.jà  h/jÞ  ubaubh¤)�ræ  }rç  (h.Xi   $asyncResponse = $domain->export();
$body = $asyncResponse->waitFor('COMPLETED');
echo $body['contents'];h/jÐ  h0h1h2h§h4}rè  (h©hªh9]h8]h6]h7]ré  (h¬X   phprê  eh;]uh=K|h>hh)]rë  h¯)�rì  }rí  (h.Xi   $asyncResponse = $domain->export();
$body = $asyncResponse->waitFor('COMPLETED');
echo $body['contents'];h4}rî  (h6]h7]rï  Uotherrð  ah8]h9]h;]uh/jæ  h)]rñ  hGXi   $asyncResponse = $domain->export();
$body = $asyncResponse->waitFor('COMPLETED');
echo $body['contents'];rò  …�ró  }rô  (h.U h/jì  ubah2h¹ubaubeubh+)�rõ  }rö  (h.U h/h,h0h1h2h3h4}r÷  (h6]h7]h8]h9]rø  hah;]rù  hauh=K~h>hh)]rú  (h@)�rû  }rü  (h.X   Create domainrý  h/jõ  h0h1h2hDh4}rþ  (h6]h7]h8]h9]h;]uh=K~h>hh)]rÿ  hGX   Create domainr   …�r  }r  (h.jý  h/jû  ubaubhK)�r  }r  (h.X´   A domain is composed of DNS records (e.g. ``A``, ``CNAME`` or ``MX``
records) and an optional list of sub-domains. You will need to specify
these before creating the domain itself:h/jõ  h0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=K€h>hh)]r  (hGX*   A domain is composed of DNS records (e.g. r  …�r  }r	  (h.X*   A domain is composed of DNS records (e.g. h/j  ubhj)�r
  }r  (h.X   ``A``h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hGX   A…�r  }r  (h.U h/j
  ubah2hrubhGX   , r  …�r  }r  (h.X   , h/j  ubhj)�r  }r  (h.X	   ``CNAME``h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hGX   CNAMEr  …�r  }r  (h.U h/j  ubah2hrubhGX    or r  …�r  }r  (h.X    or h/j  ubhj)�r  }r  (h.X   ``MX``h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r   hGX   MXr!  …�r"  }r#  (h.U h/j  ubah2hrubhGXp   
records) and an optional list of sub-domains. You will need to specify
these before creating the domain itself:r$  …�r%  }r&  (h.Xp   
records) and an optional list of sub-domains. You will need to specify
these before creating the domain itself:h/j  ubeubh¤)�r'  }r(  (h.X¥  // get empty object
$domain = $service->domain();

// add A record
$aRecord = $domain->record(array(
    'type' => 'A',
    'name' => 'example.com',
    'data' => '192.0.2.17',
    'ttl'  => 3600
));
$domain->addRecord($aRecord);

// add optional C record
$cRecord = $domain->record(array(
    'type' => 'CNAME',
    'name' => 'www.example.com',
    'data' => 'example.com',
    'ttl'  => 3600
));
$domain->addRecord($cRecord);

// add optional MX record
$mxRecord = $domain->record(array(
    'type' => 'MX',
    'data' => 'mail.example.com',
    'name' => 'example.com',
    'ttl'  => 3600,
    'priority' => 5
));
$domain->addRecord($mxRecord);

// add optional NS records
$nsRecord1 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns1.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord1);

$nsRecord2 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns2.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord2);

// add optional subdomains
$sub1 = $domain->subdomain(array(
    'emailAddress' => 'foo@example.com',
    'name'         => 'dev.example.com',
    'comment'      => 'Dev portal'
));
$domain->addSubdomain($sub1);

// send to API
$domain->create(array(
    'emailAddress' => 'webmaster@example.com',
    'ttl'          => 3600,
    'name'         => 'example.com',
    'comment'      => 'Optional comment'
));h/jõ  h0h1h2h§h4}r)  (h©hªh9]h8]h6]h7]r*  (h¬X   phpr+  eh;]uh=KÅh>hh)]r,  h¯)�r-  }r.  (h.X¥  // get empty object
$domain = $service->domain();

// add A record
$aRecord = $domain->record(array(
    'type' => 'A',
    'name' => 'example.com',
    'data' => '192.0.2.17',
    'ttl'  => 3600
));
$domain->addRecord($aRecord);

// add optional C record
$cRecord = $domain->record(array(
    'type' => 'CNAME',
    'name' => 'www.example.com',
    'data' => 'example.com',
    'ttl'  => 3600
));
$domain->addRecord($cRecord);

// add optional MX record
$mxRecord = $domain->record(array(
    'type' => 'MX',
    'data' => 'mail.example.com',
    'name' => 'example.com',
    'ttl'  => 3600,
    'priority' => 5
));
$domain->addRecord($mxRecord);

// add optional NS records
$nsRecord1 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns1.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord1);

$nsRecord2 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns2.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord2);

// add optional subdomains
$sub1 = $domain->subdomain(array(
    'emailAddress' => 'foo@example.com',
    'name'         => 'dev.example.com',
    'comment'      => 'Dev portal'
));
$domain->addSubdomain($sub1);

// send to API
$domain->create(array(
    'emailAddress' => 'webmaster@example.com',
    'ttl'          => 3600,
    'name'         => 'example.com',
    'comment'      => 'Optional comment'
));h4}r/  (h6]h7]r0  Uotherr1  ah8]h9]h;]uh/j'  h)]r2  hGX¥  // get empty object
$domain = $service->domain();

// add A record
$aRecord = $domain->record(array(
    'type' => 'A',
    'name' => 'example.com',
    'data' => '192.0.2.17',
    'ttl'  => 3600
));
$domain->addRecord($aRecord);

// add optional C record
$cRecord = $domain->record(array(
    'type' => 'CNAME',
    'name' => 'www.example.com',
    'data' => 'example.com',
    'ttl'  => 3600
));
$domain->addRecord($cRecord);

// add optional MX record
$mxRecord = $domain->record(array(
    'type' => 'MX',
    'data' => 'mail.example.com',
    'name' => 'example.com',
    'ttl'  => 3600,
    'priority' => 5
));
$domain->addRecord($mxRecord);

// add optional NS records
$nsRecord1 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns1.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord1);

$nsRecord2 = $domain->record(array(
    'type' => 'NS',
    'data' => 'dns2.stabletransit.com',
    'name' => 'example.com',
    'ttl'  => 5400
));
$domain->addRecord($nsRecord2);

// add optional subdomains
$sub1 = $domain->subdomain(array(
    'emailAddress' => 'foo@example.com',
    'name'         => 'dev.example.com',
    'comment'      => 'Dev portal'
));
$domain->addSubdomain($sub1);

// send to API
$domain->create(array(
    'emailAddress' => 'webmaster@example.com',
    'ttl'          => 3600,
    'name'         => 'example.com',
    'comment'      => 'Optional comment'
));r3  …�r4  }r5  (h.U h/j-  ubah2h¹ubaubeubh+)�r6  }r7  (h.U h/h,h0h1h2h3h4}r8  (h6]h7]h8]h9]r9  h%ah;]r:  hauh=KÇh>hh)]r;  (h@)�r<  }r=  (h.X   Clone domainr>  h/j6  h0h1h2hDh4}r?  (h6]h7]h8]h9]h;]uh=KÇh>hh)]r@  hGX   Clone domainrA  …�rB  }rC  (h.j>  h/j<  ubaubhK)�rD  }rE  (h.XÅ   This call will duplicate a single existing domain configuration with a
new domain name for the specified Cloud account. By default, all records
and, optionally, subdomain(s) are duplicated as well.rF  h/j6  h0h1h2hOh4}rG  (h6]h7]h8]h9]h;]uh=KÉh>hh)]rH  hGXÅ   This call will duplicate a single existing domain configuration with a
new domain name for the specified Cloud account. By default, all records
and, optionally, subdomain(s) are duplicated as well.rI  …�rJ  }rK  (h.jF  h/jD  ubaubhK)�rL  }rM  (h.X-   The method signature you will need to use is:rN  h/j6  h0h1h2hOh4}rO  (h6]h7]h8]h9]h;]uh=KÍh>hh)]rP  hGX-   The method signature you will need to use is:rQ  …�rR  }rS  (h.jN  h/jL  ubaubh¤)�rT  }rU  (h.Xp   cloneDomain ( string $newDomainName [, bool $subdomains [, bool $comments [, bool $email [, bool $records ]]]] )h/j6  h0h1h2h§h4}rV  (h©hªh9]h8]h6]h7]rW  (h¬X   phprX  eh;]uh=KÒh>hh)]rY  h¯)�rZ  }r[  (h.Xp   cloneDomain ( string $newDomainName [, bool $subdomains [, bool $comments [, bool $email [, bool $records ]]]] )h4}r\  (h6]h7]r]  Uotherr^  ah8]h9]h;]uh/jT  h)]r_  hGXp   cloneDomain ( string $newDomainName [, bool $subdomains [, bool $comments [, bool $email [, bool $records ]]]] )r`  …�ra  }rb  (h.U h/jZ  ubah2h¹ubaubcdocutils.nodes
table
rc  )�rd  }re  (h.U h/j6  h0h1h2Utablerf  h4}rg  (h6]h7]h8]h9]h;]uh=Nh>hh)]rh  cdocutils.nodes
tgroup
ri  )�rj  }rk  (h.U h4}rl  (h9]h8]h6]h7]h;]UcolsKuh/jd  h)]rm  (cdocutils.nodes
colspec
rn  )�ro  }rp  (h.U h4}rq  (h9]h8]h6]h7]h;]UcolwidthKuh/jj  h)]h2Ucolspecrr  ubjn  )�rs  }rt  (h.U h4}ru  (h9]h8]h6]h7]h;]UcolwidthKuh/jj  h)]h2jr  ubjn  )�rv  }rw  (h.U h4}rx  (h9]h8]h6]h7]h;]UcolwidthKuh/jj  h)]h2jr  ubjn  )�ry  }rz  (h.U h4}r{  (h9]h8]h6]h7]h;]UcolwidthK´uh/jj  h)]h2jr  ubcdocutils.nodes
thead
r|  )�r}  }r~  (h.U h4}r  (h6]h7]h8]h9]h;]uh/jj  h)]r€  cdocutils.nodes
row
r�  )�r‚  }rƒ  (h.U h4}r„  (h6]h7]h8]h9]h;]uh/j}  h)]r…  (cdocutils.nodes
entry
r†  )�r‡  }rˆ  (h.U h4}r‰  (h6]h7]h8]h9]h;]uh/j‚  h)]rŠ  hK)�r‹  }rŒ  (h.X   Namer�  h/j‡  h0h1h2hOh4}rŽ  (h6]h7]h8]h9]h;]uh=KÔh)]r�  hGX   Namer�  …�r‘  }r’  (h.j�  h/j‹  ubaubah2Uentryr“  ubj†  )�r”  }r•  (h.U h4}r–  (h6]h7]h8]h9]h;]uh/j‚  h)]r—  hK)�r˜  }r™  (h.X	   Data typerš  h/j”  h0h1h2hOh4}r›  (h6]h7]h8]h9]h;]uh=KÔh)]rœ  hGX	   Data typer�  …�rž  }rŸ  (h.jš  h/j˜  ubaubah2j“  ubj†  )�r   }r¡  (h.U h4}r¢  (h6]h7]h8]h9]h;]uh/j‚  h)]r£  hK)�r¤  }r¥  (h.X   Defaultr¦  h/j   h0h1h2hOh4}r§  (h6]h7]h8]h9]h;]uh=KÔh)]r¨  hGX   Defaultr©  …�rª  }r«  (h.j¦  h/j¤  ubaubah2j“  ubj†  )�r¬  }r­  (h.U h4}r®  (h6]h7]h8]h9]h;]uh/j‚  h)]r¯  hK)�r°  }r±  (h.X   Descriptionr²  h/j¬  h0h1h2hOh4}r³  (h6]h7]h8]h9]h;]uh=KÔh)]r´  hGX   Descriptionrµ  …�r¶  }r·  (h.j²  h/j°  ubaubah2j“  ubeh2Urowr¸  ubah2Utheadr¹  ubcdocutils.nodes
tbody
rº  )�r»  }r¼  (h.U h4}r½  (h6]h7]h8]h9]h;]uh/jj  h)]r¾  (j�  )�r¿  }rÀ  (h.U h4}rÁ  (h6]h7]h8]h9]h;]uh/j»  h)]rÂ  (j†  )�rÃ  }rÄ  (h.U h4}rÅ  (h6]h7]h8]h9]h;]uh/j¿  h)]rÆ  hK)�rÇ  }rÈ  (h.X   ``$newDomainName``rÉ  h/jÃ  h0h1h2hOh4}rÊ  (h6]h7]h8]h9]h;]uh=KÖh)]rË  hj)�rÌ  }rÍ  (h.jÉ  h4}rÎ  (h6]h7]h8]h9]h;]uh/jÇ  h)]rÏ  hGX   $newDomainNamerÐ  …�rÑ  }rÒ  (h.U h/jÌ  ubah2hrubaubah2j“  ubj†  )�rÓ  }rÔ  (h.U h4}rÕ  (h6]h7]h8]h9]h;]uh/j¿  h)]rÖ  hK)�r×  }rØ  (h.X
   ``string``rÙ  h/jÓ  h0h1h2hOh4}rÚ  (h6]h7]h8]h9]h;]uh=KÖh)]rÛ  hj)�rÜ  }rÝ  (h.jÙ  h4}rÞ  (h6]h7]h8]h9]h;]uh/j×  h)]rß  hGX   stringrà  …�rá  }râ  (h.U h/jÜ  ubah2hrubaubah2j“  ubj†  )�rã  }rä  (h.U h4}rå  (h6]h7]h8]h9]h;]uh/j¿  h)]ræ  j8  )�rç  }rè  (h.U h4}ré  (j=  X   -h9]h8]h6]h7]h;]uh/jã  h)]rê  j?  )�rë  }rì  (h.U h4}rí  (h6]h7]h8]h9]h;]uh/jç  h)]h2jC  ubah2j;  ubah2j“  ubj†  )�rî  }rï  (h.U h4}rð  (h6]h7]h8]h9]h;]uh/j¿  h)]rñ  hK)�rò  }ró  (h.X#   The new name for your cloned domainrô  h/jî  h0h1h2hOh4}rõ  (h6]h7]h8]h9]h;]uh=KÖh)]rö  hGX#   The new name for your cloned domainr÷  …�rø  }rù  (h.jô  h/jò  ubaubah2j“  ubeh2j¸  ubj�  )�rú  }rû  (h.U h4}rü  (h6]h7]h8]h9]h;]uh/j»  h)]rý  (j†  )�rþ  }rÿ  (h.U h4}r   (h6]h7]h8]h9]h;]uh/jú  h)]r  hK)�r  }r  (h.X   ``$subdomains``r  h/jþ  h0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=KØh)]r  hj)�r  }r  (h.j  h4}r	  (h6]h7]h8]h9]h;]uh/j  h)]r
  hGX   $subdomainsr  …�r  }r  (h.U h/j  ubah2hrubaubah2j“  ubj†  )�r  }r  (h.U h4}r  (h6]h7]h8]h9]h;]uh/jú  h)]r  hK)�r  }r  (h.X   ``bool``r  h/j  h0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=KØh)]r  hj)�r  }r  (h.j  h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hGX   boolr  …�r  }r  (h.U h/j  ubah2hrubaubah2j“  ubj†  )�r  }r  (h.U h4}r   (h6]h7]h8]h9]h;]uh/jú  h)]r!  hK)�r"  }r#  (h.X   ``true``r$  h/j  h0h1h2hOh4}r%  (h6]h7]h8]h9]h;]uh=KØh)]r&  hj)�r'  }r(  (h.j$  h4}r)  (h6]h7]h8]h9]h;]uh/j"  h)]r*  hGX   truer+  …�r,  }r-  (h.U h/j'  ubah2hrubaubah2j“  ubj†  )�r.  }r/  (h.U h4}r0  (h6]h7]h8]h9]h;]uh/jú  h)]r1  hK)�r2  }r3  (h.X;   Set to ``TRUE`` to clone all the subdomains for this domainh/j.  h0h1h2hOh4}r4  (h6]h7]h8]h9]h;]uh=KØh)]r5  (hGX   Set to r6  …�r7  }r8  (h.X   Set to h/j2  ubhj)�r9  }r:  (h.X   ``TRUE``h4}r;  (h6]h7]h8]h9]h;]uh/j2  h)]r<  hGX   TRUEr=  …�r>  }r?  (h.U h/j9  ubah2hrubhGX,    to clone all the subdomains for this domainr@  …�rA  }rB  (h.X,    to clone all the subdomains for this domainh/j2  ubeubah2j“  ubeh2j¸  ubj�  )�rC  }rD  (h.U h4}rE  (h6]h7]h8]h9]h;]uh/j»  h)]rF  (j†  )�rG  }rH  (h.U h4}rI  (h6]h7]h8]h9]h;]uh/jC  h)]rJ  hK)�rK  }rL  (h.X   ``$comments``rM  h/jG  h0h1h2hOh4}rN  (h6]h7]h8]h9]h;]uh=KÚh)]rO  hj)�rP  }rQ  (h.jM  h4}rR  (h6]h7]h8]h9]h;]uh/jK  h)]rS  hGX	   $commentsrT  …�rU  }rV  (h.U h/jP  ubah2hrubaubah2j“  ubj†  )�rW  }rX  (h.U h4}rY  (h6]h7]h8]h9]h;]uh/jC  h)]rZ  hK)�r[  }r\  (h.X   ``bool``r]  h/jW  h0h1h2hOh4}r^  (h6]h7]h8]h9]h;]uh=KÚh)]r_  hj)�r`  }ra  (h.j]  h4}rb  (h6]h7]h8]h9]h;]uh/j[  h)]rc  hGX   boolrd  …�re  }rf  (h.U h/j`  ubah2hrubaubah2j“  ubj†  )�rg  }rh  (h.U h4}ri  (h6]h7]h8]h9]h;]uh/jC  h)]rj  hK)�rk  }rl  (h.X   ``true``rm  h/jg  h0h1h2hOh4}rn  (h6]h7]h8]h9]h;]uh=KÚh)]ro  hj)�rp  }rq  (h.jm  h4}rr  (h6]h7]h8]h9]h;]uh/jk  h)]rs  hGX   truert  …�ru  }rv  (h.U h/jp  ubah2hrubaubah2j“  ubj†  )�rw  }rx  (h.U h4}ry  (h6]h7]h8]h9]h;]uh/jC  h)]rz  hK)�r{  }r|  (h.X„   Set to ``TRUE`` to replace occurrences of the reference domain name with the new domain name in comments on the cloned (new) domain.h/jw  h0h1h2hOh4}r}  (h6]h7]h8]h9]h;]uh=KÚh)]r~  (hGX   Set to r  …�r€  }r�  (h.X   Set to h/j{  ubhj)�r‚  }rƒ  (h.X   ``TRUE``h4}r„  (h6]h7]h8]h9]h;]uh/j{  h)]r…  hGX   TRUEr†  …�r‡  }rˆ  (h.U h/j‚  ubah2hrubhGXu    to replace occurrences of the reference domain name with the new domain name in comments on the cloned (new) domain.r‰  …�rŠ  }r‹  (h.Xu    to replace occurrences of the reference domain name with the new domain name in comments on the cloned (new) domain.h/j{  ubeubah2j“  ubeh2j¸  ubj�  )�rŒ  }r�  (h.U h4}rŽ  (h6]h7]h8]h9]h;]uh/j»  h)]r�  (j†  )�r�  }r‘  (h.U h4}r’  (h6]h7]h8]h9]h;]uh/jŒ  h)]r“  hK)�r”  }r•  (h.X
   ``$email``r–  h/j�  h0h1h2hOh4}r—  (h6]h7]h8]h9]h;]uh=KÜh)]r˜  hj)�r™  }rš  (h.j–  h4}r›  (h6]h7]h8]h9]h;]uh/j”  h)]rœ  hGX   $emailr�  …�rž  }rŸ  (h.U h/j™  ubah2hrubaubah2j“  ubj†  )�r   }r¡  (h.U h4}r¢  (h6]h7]h8]h9]h;]uh/jŒ  h)]r£  hK)�r¤  }r¥  (h.X   ``bool``r¦  h/j   h0h1h2hOh4}r§  (h6]h7]h8]h9]h;]uh=KÜh)]r¨  hj)�r©  }rª  (h.j¦  h4}r«  (h6]h7]h8]h9]h;]uh/j¤  h)]r¬  hGX   boolr­  …�r®  }r¯  (h.U h/j©  ubah2hrubaubah2j“  ubj†  )�r°  }r±  (h.U h4}r²  (h6]h7]h8]h9]h;]uh/jŒ  h)]r³  hK)�r´  }rµ  (h.X   ``true``r¶  h/j°  h0h1h2hOh4}r·  (h6]h7]h8]h9]h;]uh=KÜh)]r¸  hj)�r¹  }rº  (h.j¶  h4}r»  (h6]h7]h8]h9]h;]uh/j´  h)]r¼  hGX   truer½  …�r¾  }r¿  (h.U h/j¹  ubah2hrubaubah2j“  ubj†  )�rÀ  }rÁ  (h.U h4}rÂ  (h6]h7]h8]h9]h;]uh/jŒ  h)]rÃ  hK)�rÄ  }rÅ  (h.X°   Set to ``TRUE`` to replace occurrences of the reference domain name with the new domain name in data fields (of records) on the cloned (new) domain. Does not affect NS records.h/jÀ  h0h1h2hOh4}rÆ  (h6]h7]h8]h9]h;]uh=KÜh)]rÇ  (hGX   Set to rÈ  …�rÉ  }rÊ  (h.X   Set to h/jÄ  ubhj)�rË  }rÌ  (h.X   ``TRUE``h4}rÍ  (h6]h7]h8]h9]h;]uh/jÄ  h)]rÎ  hGX   TRUErÏ  …�rÐ  }rÑ  (h.U h/jË  ubah2hrubhGX¡    to replace occurrences of the reference domain name with the new domain name in data fields (of records) on the cloned (new) domain. Does not affect NS records.rÒ  …�rÓ  }rÔ  (h.X¡    to replace occurrences of the reference domain name with the new domain name in data fields (of records) on the cloned (new) domain. Does not affect NS records.h/jÄ  ubeubah2j“  ubeh2j¸  ubeh2UtbodyrÕ  ubeh2UtgrouprÖ  ubaubhK)�r×  }rØ  (h.X   For example:rÙ  h/j6  h0h1h2hOh4}rÚ  (h6]h7]h8]h9]h;]uh=Kßh>hh)]rÛ  hGX   For example:rÜ  …�rÝ  }rÞ  (h.jÙ  h/j×  ubaubh¤)�rß  }rà  (h.X<   $asyncResponse = $domain->cloneDomain('new-name.com', true);h/j6  h0h1h2h§h4}rá  (h©hªh9]h8]h6]h7]râ  (h¬X   phprã  eh;]uh=Käh>hh)]rä  h¯)�rå  }ræ  (h.X<   $asyncResponse = $domain->cloneDomain('new-name.com', true);h4}rç  (h6]h7]rè  Uotherré  ah8]h9]h;]uh/jß  h)]rê  hGX<   $asyncResponse = $domain->cloneDomain('new-name.com', true);rë  …�rì  }rí  (h.U h/jå  ubah2h¹ubaubeubh+)�rî  }rï  (h.U h/h,h0h1h2h3h4}rð  (h6]h7]h8]h9]rñ  hah;]rò  hauh=Kæh>hh)]ró  (h@)�rô  }rõ  (h.X   Import domainrö  h/jî  h0h1h2hDh4}r÷  (h6]h7]h8]h9]h;]uh=Kæh>hh)]rø  hGX   Import domainrù  …�rú  }rû  (h.jö  h/jô  ubaubhK)�rü  }rý  (h.X”   This call provisions a new DNS domain under the account specified by the
BIND 9 formatted file configuration contents defined in the request
object.rþ  h/jî  h0h1h2hOh4}rÿ  (h6]h7]h8]h9]h;]uh=Kèh>hh)]r   hGX”   This call provisions a new DNS domain under the account specified by the
BIND 9 formatted file configuration contents defined in the request
object.r  …�r  }r  (h.jþ  h/jü  ubaubhK)�r  }r  (h.X{   You will need to ensure that the BIND 9 formatted file configuration
contents are valid by adhering to the following rules:r  h/jî  h0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=Kìh>hh)]r  hGX{   You will need to ensure that the BIND 9 formatted file configuration
contents are valid by adhering to the following rules:r	  …�r
  }r  (h.j  h/j  ubaubj8  )�r  }r  (h.U h/jî  h0h1h2j;  h4}r  (j=  X   -h9]h8]h6]h7]h;]uh=Kïh>hh)]r  (j?  )�r  }r  (h.X�  Each record starts on a new line and on the first column. If a record
will not fit on one line, use the BIND\_9 line continuation
convention where you put a left parenthesis and continue the one
record on the next line and put a right parenthesis when the record
ends. For example,

    example2.net. 3600 IN SOA dns1.stabletransit.com. (
    sample@rackspace.com. 1308874739 3600 3600 3600 3600)
h/j  h0h1h2jC  h4}r  (h6]h7]h8]h9]h;]uh=Nh>hh)]r  (hK)�r  }r  (h.X  Each record starts on a new line and on the first column. If a record
will not fit on one line, use the BIND\_9 line continuation
convention where you put a left parenthesis and continue the one
record on the next line and put a right parenthesis when the record
ends. For example,h/j  h0h1h2hOh4}r  (h6]h7]h8]h9]h;]uh=Kïh)]r  hGX  Each record starts on a new line and on the first column. If a record
will not fit on one line, use the BIND_9 line continuation
convention where you put a left parenthesis and continue the one
record on the next line and put a right parenthesis when the record
ends. For example,r  …�r  }r  (h.X  Each record starts on a new line and on the first column. If a record
will not fit on one line, use the BIND\_9 line continuation
convention where you put a left parenthesis and continue the one
record on the next line and put a right parenthesis when the record
ends. For example,h/j  ubaubjy  )�r  }r  (h.U h4}r  (h6]h7]h8]h9]h;]uh/j  h)]r  hK)�r  }r   (h.Xi   example2.net. 3600 IN SOA dns1.stabletransit.com. (
sample@rackspace.com. 1308874739 3600 3600 3600 3600)h/j  h0h1h2hOh4}r!  (h6]h7]h8]h9]h;]uh=Kõh)]r"  (hGX4   example2.net. 3600 IN SOA dns1.stabletransit.com. (
r#  …�r$  }r%  (h.X4   example2.net. 3600 IN SOA dns1.stabletransit.com. (
h/j  ubhv)�r&  }r'  (h.X   sample@rackspace.comh4}r(  (UrefuriX   mailto:sample@rackspace.comh9]h8]h6]h7]h;]uh/j  h)]r)  hGX   sample@rackspace.comr*  …�r+  }r,  (h.U h/j&  ubah2hubhGX!   . 1308874739 3600 3600 3600 3600)r-  …�r.  }r/  (h.X!   . 1308874739 3600 3600 3600 3600)h/j  ubeubah2j|  ubeubj?  )�r0  }r1  (h.Xn   The attribute values of a record must be separated by a single blank
or tab. No other white space characters.
h/j  h0h1h2jC  h4}r2  (h6]h7]h8]h9]h;]uh=Nh>hh)]r3  hK)�r4  }r5  (h.Xm   The attribute values of a record must be separated by a single blank
or tab. No other white space characters.r6  h/j0  h0h1h2hOh4}r7  (h6]h7]h8]h9]h;]uh=Køh)]r8  hGXm   The attribute values of a record must be separated by a single blank
or tab. No other white space characters.r9  …�r:  }r;  (h.j6  h/j4  ubaubaubj?  )�r<  }r=  (h.X›   If there are any NS records, the data field should not be
dns1.stabletransit.com or dns2.stabletransit.com. They will result in
"duplicate record" errors.
h/j  h0h1h2jC  h4}r>  (h6]h7]h8]h9]h;]uh=Nh>hh)]r?  hK)�r@  }rA  (h.Xš   If there are any NS records, the data field should not be
dns1.stabletransit.com or dns2.stabletransit.com. They will result in
"duplicate record" errors.rB  h/j<  h0h1h2hOh4}rC  (h6]h7]h8]h9]h;]uh=Kûh)]rD  hGXš   If there are any NS records, the data field should not be
dns1.stabletransit.com or dns2.stabletransit.com. They will result in
"duplicate record" errors.rE  …�rF  }rG  (h.jB  h/j@  ubaubaubeubhK)�rH  }rI  (h.X   For example:rJ  h/jî  h0h1h2hOh4}rK  (h6]h7]h8]h9]h;]uh=Kÿh>hh)]rL  hGX   For example:rM  …�rN  }rO  (h.jJ  h/jH  ubaubh¤)�rP  }rQ  (h.X3  $bind9Data = <<<EOT
\nexample.net. 3600 IN SOA dns1.stabletransit.com. sample@rackspace.com. 1308874739 3600 3600 3600 3600\nexample.net. 86400 IN A 110.11.12.16\nexample.net. 3600 IN MX 5 mail2.example.net.\nwww.example.net. 5400 IN CNAME example.net.\n
EOT;

$asyncResponse = $service->import($bind9Data);h/jî  h0h1h2h§h4}rR  (h©hªh9]h8]h6]h7]rS  (h¬X   phprT  eh;]uh=Mh>hh)]rU  h¯)�rV  }rW  (h.X3  $bind9Data = <<<EOT
\nexample.net. 3600 IN SOA dns1.stabletransit.com. sample@rackspace.com. 1308874739 3600 3600 3600 3600\nexample.net. 86400 IN A 110.11.12.16\nexample.net. 3600 IN MX 5 mail2.example.net.\nwww.example.net. 5400 IN CNAME example.net.\n
EOT;

$asyncResponse = $service->import($bind9Data);h4}rX  (h6]h7]rY  UotherrZ  ah8]h9]h;]uh/jP  h)]r[  hGX3  $bind9Data = <<<EOT
\nexample.net. 3600 IN SOA dns1.stabletransit.com. sample@rackspace.com. 1308874739 3600 3600 3600 3600\nexample.net. 86400 IN A 110.11.12.16\nexample.net. 3600 IN MX 5 mail2.example.net.\nwww.example.net. 5400 IN CNAME example.net.\n
EOT;

$asyncResponse = $service->import($bind9Data);r\  …�r]  }r^  (h.U h/jV  ubah2h¹ubaubeubh+)�r_  }r`  (h.U h/h,h0h1h2h3h4}ra  (h6]h7]h8]h9]rb  hah;]rc  hauh=M
h>hh)]rd  (h@)�re  }rf  (h.X   Modify domainrg  h/j_  h0h1h2hDh4}rh  (h6]h7]h8]h9]h;]uh=M
h>hh)]ri  hGX   Modify domainrj  …�rk  }rl  (h.jg  h/je  ubaubhK)�rm  }rn  (h.XÂ  This call modifies DNS domain(s) attributes only. Only the TTL, email
address and comment attributes of a domain can be modified. Records
cannot be added, modified, or removed through this API operation - you
will need to use the `add
records </docs/userguide/DNS/Records.md#add-record>`__, `modify
records </docs/userguide/DNS/Records.md#modify-record>`__ or `remove
records </docs/userguide/DNS/Records.md#delete-record>`__ operations
respectively.h/j_  h0h1h2hOh4}ro  (h6]h7]h8]h9]h;]uh=Mh>hh)]rp  (hGXæ   This call modifies DNS domain(s) attributes only. Only the TTL, email
address and comment attributes of a domain can be modified. Records
cannot be added, modified, or removed through this API operation - you
will need to use the rq  …�rr  }rs  (h.Xæ   This call modifies DNS domain(s) attributes only. Only the TTL, email
address and comment attributes of a domain can be modified. Records
cannot be added, modified, or removed through this API operation - you
will need to use the h/jm  ubhv)�rt  }ru  (h.X;   `add
records </docs/userguide/DNS/Records.md#add-record>`__h4}rv  (UnameX   add recordshzX)   /docs/userguide/DNS/Records.md#add-recordh9]h8]h6]h7]h;]uh/jm  h)]rw  hGX   add
recordsrx  …�ry  }rz  (h.U h/jt  ubah2hubhGX   , r{  …�r|  }r}  (h.X   , h/jm  ubhv)�r~  }r  (h.XA   `modify
records </docs/userguide/DNS/Records.md#modify-record>`__h4}r€  (UnameX   modify recordshzX,   /docs/userguide/DNS/Records.md#modify-recordh9]h8]h6]h7]h;]uh/jm  h)]r�  hGX   modify
recordsr‚  …�rƒ  }r„  (h.U h/j~  ubah2hubhGX    or r…  …�r†  }r‡  (h.X    or h/jm  ubhv)�rˆ  }r‰  (h.XA   `remove
records </docs/userguide/DNS/Records.md#delete-record>`__h4}rŠ  (UnameX   remove recordshzX,   /docs/userguide/DNS/Records.md#delete-recordh9]h8]h6]h7]h;]uh/jm  h)]r‹  hGX   remove
recordsrŒ  …�r�  }rŽ  (h.U h/jˆ  ubah2hubhGX    operations
respectively.r�  …�r�  }r‘  (h.X    operations
respectively.h/jm  ubeubh¤)�r’  }r“  (h.Xn   $domain->update(array(
    'ttl'          => ($domain->ttl + 100),
    'emailAddress' => 'new_dev@foo.com'
));h/j_  h0h1h2h§h4}r”  (h©hªh9]h8]h6]h7]r•  (h¬X   phpr–  eh;]uh=Mh>hh)]r—  h¯)�r˜  }r™  (h.Xn   $domain->update(array(
    'ttl'          => ($domain->ttl + 100),
    'emailAddress' => 'new_dev@foo.com'
));h4}rš  (h6]h7]r›  Uotherrœ  ah8]h9]h;]uh/j’  h)]r�  hGXn   $domain->update(array(
    'ttl'          => ($domain->ttl + 100),
    'emailAddress' => 'new_dev@foo.com'
));rž  …�rŸ  }r   (h.U h/j˜  ubah2h¹ubaubeubh+)�r¡  }r¢  (h.U h/h,h0h1h2h3h4}r£  (h6]h7]h8]h9]r¤  h"ah;]r¥  hauh=Mh>hh)]r¦  (h@)�r§  }r¨  (h.X   Remove domainr©  h/j¡  h0h1h2hDh4}rª  (h6]h7]h8]h9]h;]uh=Mh>hh)]r«  hGX   Remove domainr¬  …�r­  }r®  (h.j©  h/j§  ubaubh¤)�r¯  }r°  (h.X   $domain->delete();h/j¡  h0h1h2h§h4}r±  (h©hªh9]h8]h6]h7]r²  (h¬X   phpr³  eh;]uh=M"h>hh)]r´  h¯)�rµ  }r¶  (h.X   $domain->delete();h4}r·  (h6]h7]r¸  Uotherr¹  ah8]h9]h;]uh/j¯  h)]rº  hGX   $domain->delete();r»  …�r¼  }r½  (h.U h/jµ  ubah2h¹ubaubeubeubah.U Utransformerr¾  NUfootnote_refsr¿  }rÀ  UrefnamesrÁ  }rÂ  Usymbol_footnotesrÃ  ]rÄ  Uautofootnote_refsrÅ  ]rÆ  Usymbol_footnote_refsrÇ  ]rÈ  U	citationsrÉ  ]rÊ  h>hUcurrent_linerË  NUtransform_messagesrÌ  ]rÍ  UreporterrÎ  NUid_startrÏ  KUautofootnotesrÐ  ]rÑ  Ucitation_refsrÒ  }rÓ  Uindirect_targetsrÔ  ]rÕ  UsettingsrÖ  (cdocutils.frontend
Values
r×  orØ  }rÙ  (Ufootnote_backlinksrÚ  KUrecord_dependenciesrÛ  NUrfc_base_urlrÜ  Uhttp://tools.ietf.org/html/rÝ  U	tracebackrÞ  ˆUpep_referencesrß  NUstrip_commentsrà  NUtoc_backlinksrá  j“  Ulanguage_coderâ  Uenrã  U	datestamprä  NUreport_levelrå  KU_destinationræ  NU
halt_levelrç  KUstrip_classesrè  NhDNUerror_encoding_error_handlerré  Ubackslashreplacerê  Udebugrë  NUembed_stylesheetrì  ‰Uoutput_encoding_error_handlerrí  Ustrictrî  Usectnum_xformrï  KUdump_transformsrð  NUdocinfo_xformrñ  KUwarning_streamrò  NUpep_file_url_templateró  Upep-%04drô  Uexit_status_levelrõ  KUconfigrö  NUstrict_visitorr÷  NUcloak_email_addressesrø  ˆUtrim_footnote_reference_spacerù  ‰Uenvrú  NUdump_pseudo_xmlrû  NUexpose_internalsrü  NUsectsubtitle_xformrý  ‰Usource_linkrþ  NUrfc_referencesrÿ  NUoutput_encodingr   Uutf-8r  U
source_urlr  NUinput_encodingr  U	utf-8-sigr  U_disable_configr  NU	id_prefixr  U U	tab_widthr  KUerror_encodingr  UUTF-8r	  U_sourcer
  h1Ugettext_compactr  ˆU	generatorr  NUdump_internalsr  NUsmart_quotesr  ‰Upep_base_urlr  Uhttp://www.python.org/dev/peps/r  Usyntax_highlightr  Ulongr  Uinput_encoding_error_handlerr  jî  Uauto_id_prefixr  Uidr  Udoctitle_xformr  ‰Ustrip_elements_with_classesr  NU_config_filesr  ]r  Ufile_insertion_enabledr  ˆUraw_enabledr  KUdump_settingsr  NubUsymbol_footnote_startr  K Uidsr  }r  (h!jÐ  h#j†  hjõ  hhUh"j¡  h(j«  h%j6  h'hƒh&h,hjî  h$høh hÂhj_  uUsubstitution_namesr   }r!  h2h>h4}r"  (h6]h9]h8]Usourceh1h7]h;]uU	footnotesr#  ]r$  Urefidsr%  }r&  ub.