Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP;
class HttpBody extends \Google\Collection
{
protected $collection_key = 'extensions';
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $data;
/**
* @var array[]
*/
public $extensions;
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param array[]
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpBody::class, 'Google_Service_DomainsRDAP_HttpBody');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP;
class Link extends \Google\Model
{
/**
* @var string
*/
public $href;
/**
* @var string
*/
public $hreflang;
/**
* @var string
*/
public $media;
/**
* @var string
*/
public $rel;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setHref($href)
{
$this->href = $href;
}
/**
* @return string
*/
public function getHref()
{
return $this->href;
}
/**
* @param string
*/
public function setHreflang($hreflang)
{
$this->hreflang = $hreflang;
}
/**
* @return string
*/
public function getHreflang()
{
return $this->hreflang;
}
/**
* @param string
*/
public function setMedia($media)
{
$this->media = $media;
}
/**
* @return string
*/
public function getMedia()
{
return $this->media;
}
/**
* @param string
*/
public function setRel($rel)
{
$this->rel = $rel;
}
/**
* @return string
*/
public function getRel()
{
return $this->rel;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Link::class, 'Google_Service_DomainsRDAP_Link');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP;
class Notice extends \Google\Collection
{
protected $collection_key = 'links';
/**
* @var string[]
*/
public $description;
protected $linksType = Link::class;
protected $linksDataType = 'array';
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string[]
*/
public function getDescription()
{
return $this->description;
}
/**
* @param Link[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return Link[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Notice::class, 'Google_Service_DomainsRDAP_Notice');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP;
class RdapResponse extends \Google\Collection
{
protected $collection_key = 'rdapConformance';
/**
* @var string[]
*/
public $description;
/**
* @var int
*/
public $errorCode;
protected $jsonResponseType = HttpBody::class;
protected $jsonResponseDataType = '';
/**
* @var string
*/
public $lang;
protected $noticesType = Notice::class;
protected $noticesDataType = 'array';
/**
* @var string[]
*/
public $rdapConformance;
/**
* @var string
*/
public $title;
/**
* @param string[]
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string[]
*/
public function getDescription()
{
return $this->description;
}
/**
* @param int
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return int
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param HttpBody
*/
public function setJsonResponse(HttpBody $jsonResponse)
{
$this->jsonResponse = $jsonResponse;
}
/**
* @return HttpBody
*/
public function getJsonResponse()
{
return $this->jsonResponse;
}
/**
* @param string
*/
public function setLang($lang)
{
$this->lang = $lang;
}
/**
* @return string
*/
public function getLang()
{
return $this->lang;
}
/**
* @param Notice[]
*/
public function setNotices($notices)
{
$this->notices = $notices;
}
/**
* @return Notice[]
*/
public function getNotices()
{
return $this->notices;
}
/**
* @param string[]
*/
public function setRdapConformance($rdapConformance)
{
$this->rdapConformance = $rdapConformance;
}
/**
* @return string[]
*/
public function getRdapConformance()
{
return $this->rdapConformance;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RdapResponse::class, 'Google_Service_DomainsRDAP_RdapResponse');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\RdapResponse;
/**
* The "autnum" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $autnum = $domainsrdapService->autnum;
* </code>
*/
class Autnum extends \Google\Service\Resource
{
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (autnum.get)
*
* @param string $autnumId
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function get($autnumId, $optParams = [])
{
$params = ['autnumId' => $autnumId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], RdapResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Autnum::class, 'Google_Service_DomainsRDAP_Resource_Autnum');

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\HttpBody;
/**
* The "domain" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $domain = $domainsrdapService->domain;
* </code>
*/
class Domain extends \Google\Service\Resource
{
/**
* Look up RDAP information for a domain by name. (domain.get)
*
* @param string $domainName Full domain name to look up. Example: "example.com"
* @param array $optParams Optional parameters.
* @return HttpBody
* @throws \Google\Service\Exception
*/
public function get($domainName, $optParams = [])
{
$params = ['domainName' => $domainName];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], HttpBody::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domain::class, 'Google_Service_DomainsRDAP_Resource_Domain');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\RdapResponse;
/**
* The "entity" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $entity = $domainsrdapService->entity;
* </code>
*/
class Entity extends \Google\Service\Resource
{
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (entity.get)
*
* @param string $entityId
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function get($entityId, $optParams = [])
{
$params = ['entityId' => $entityId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], RdapResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entity::class, 'Google_Service_DomainsRDAP_Resource_Entity');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\RdapResponse;
/**
* The "ip" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $ip = $domainsrdapService->ip;
* </code>
*/
class Ip extends \Google\Service\Resource
{
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (ip.get)
*
* @param string $ipId
* @param string $ipId1
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function get($ipId, $ipId1, $optParams = [])
{
$params = ['ipId' => $ipId, 'ipId1' => $ipId1];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], RdapResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Ip::class, 'Google_Service_DomainsRDAP_Resource_Ip');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\RdapResponse;
/**
* The "nameserver" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $nameserver = $domainsrdapService->nameserver;
* </code>
*/
class Nameserver extends \Google\Service\Resource
{
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (nameserver.get)
*
* @param string $nameserverId
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function get($nameserverId, $optParams = [])
{
$params = ['nameserverId' => $nameserverId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], RdapResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Nameserver::class, 'Google_Service_DomainsRDAP_Resource_Nameserver');

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\DomainsRDAP\Resource;
use Google\Service\DomainsRDAP\HttpBody;
use Google\Service\DomainsRDAP\RdapResponse;
/**
* The "v1" collection of methods.
* Typical usage is:
* <code>
* $domainsrdapService = new Google\Service\DomainsRDAP(...);
* $v1 = $domainsrdapService->v1;
* </code>
*/
class V1 extends \Google\Service\Resource
{
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (v1.getDomains)
*
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function getDomains($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getDomains', [$params], RdapResponse::class);
}
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (v1.getEntities)
*
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function getEntities($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getEntities', [$params], RdapResponse::class);
}
/**
* Get help information for the RDAP API, including links to documentation.
* (v1.getHelp)
*
* @param array $optParams Optional parameters.
* @return HttpBody
* @throws \Google\Service\Exception
*/
public function getHelp($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getHelp', [$params], HttpBody::class);
}
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (v1.getIp)
*
* @param array $optParams Optional parameters.
* @return HttpBody
* @throws \Google\Service\Exception
*/
public function getIp($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getIp', [$params], HttpBody::class);
}
/**
* The RDAP API recognizes this command from the RDAP specification but does not
* support it. The response is a formatted 501 error. (v1.getNameservers)
*
* @param array $optParams Optional parameters.
* @return RdapResponse
* @throws \Google\Service\Exception
*/
public function getNameservers($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getNameservers', [$params], RdapResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1::class, 'Google_Service_DomainsRDAP_Resource_V1');