Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.63
0.3.64
91 changes: 91 additions & 0 deletions src/UDNS/Apis/DeleteUDNSZoneRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Request\Request;

class DeleteUDNSZoneRequest extends Request
{
public function __construct()
{
parent::__construct(["Action" => "DeleteUDNSZone"]);
$this->markRequired("Region");
$this->markRequired("DNSZoneId");
}



/**
* Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @return string|null
*/
public function getRegion()
{
return $this->get("Region");
}

/**
* Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @param string $region
*/
public function setRegion($region)
{
$this->set("Region", $region);
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @return string|null
*/
public function getProjectId()
{
return $this->get("ProjectId");
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->set("ProjectId", $projectId);
}

/**
* DNSZoneId: 域名资源ID
*
* @return string|null
*/
public function getDNSZoneId()
{
return $this->get("DNSZoneId");
}

/**
* DNSZoneId: 域名资源ID
*
* @param string $dnsZoneId
*/
public function setDNSZoneId($dnsZoneId)
{
$this->set("DNSZoneId", $dnsZoneId);
}
}
26 changes: 26 additions & 0 deletions src/UDNS/Apis/DeleteUDNSZoneResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Response\Response;

class DeleteUDNSZoneResponse extends Response
{



}
50 changes: 50 additions & 0 deletions src/UDNS/Apis/DescribeUDNSZoneByVPCRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Request\Request;

class DescribeUDNSZoneByVPCRequest extends Request
{
public function __construct()
{
parent::__construct(["Action" => "DescribeUDNSZoneByVPC"]);
$this->markRequired("VPCId");
}



/**
* VPCId: VPC id
*
* @return string|null
*/
public function getVPCId()
{
return $this->get("VPCId");
}

/**
* VPCId: VPC id
*
* @param string $vpcId
*/
public function setVPCId($vpcId)
{
$this->set("VPCId", $vpcId);
}
}
26 changes: 26 additions & 0 deletions src/UDNS/Apis/DescribeUDNSZoneByVPCResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Response\Response;

class DescribeUDNSZoneByVPCResponse extends Response
{



}
70 changes: 70 additions & 0 deletions src/UDNS/Apis/DescribeUDNSZoneForwardRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Request\Request;

class DescribeUDNSZoneForwardRequest extends Request
{
public function __construct()
{
parent::__construct(["Action" => "DescribeUDNSZoneForward"]);
$this->markRequired("DNSZoneId");
}



/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @return string|null
*/
public function getProjectId()
{
return $this->get("ProjectId");
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->set("ProjectId", $projectId);
}

/**
* DNSZoneId: 域名ID
*
* @return string|null
*/
public function getDNSZoneId()
{
return $this->get("DNSZoneId");
}

/**
* DNSZoneId: 域名ID
*
* @param string $dnsZoneId
*/
public function setDNSZoneId($dnsZoneId)
{
$this->set("DNSZoneId", $dnsZoneId);
}
}
104 changes: 104 additions & 0 deletions src/UDNS/Apis/DescribeUDNSZoneForwardResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<?php
/**
* Copyright 2026 UCloud Technology Co., Ltd.
*
* 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 UCloud\UDNS\Apis;

use UCloud\Core\Response\Response;

class DescribeUDNSZoneForwardResponse extends Response
{


/**
* VPCProjectId: 转发目标VPC所属VPC
*
* @return string|null
*/
public function getVPCProjectId()
{
return $this->get("VPCProjectId");
}

/**
* VPCProjectId: 转发目标VPC所属VPC
*
* @param string $vpcProjectId
*/
public function setVPCProjectId($vpcProjectId)
{
$this->set("VPCProjectId", $vpcProjectId);
}

/**
* VPCRegion: 转发目标VPC所属地域
*
* @return string|null
*/
public function getVPCRegion()
{
return $this->get("VPCRegion");
}

/**
* VPCRegion: 转发目标VPC所属地域
*
* @param string $vpcRegion
*/
public function setVPCRegion($vpcRegion)
{
$this->set("VPCRegion", $vpcRegion);
}

/**
* VPCId: 转发目标VPC的ID
*
* @return string|null
*/
public function getVPCId()
{
return $this->get("VPCId");
}

/**
* VPCId: 转发目标VPC的ID
*
* @param string $vpcId
*/
public function setVPCId($vpcId)
{
$this->set("VPCId", $vpcId);
}

/**
* Servers: 转发目标DNS 服务器地址
*
* @return string[]|null
*/
public function getServers()
{
return $this->get("Servers");
}

/**
* Servers: 转发目标DNS 服务器地址
*
* @param string[] $servers
*/
public function setServers(array $servers)
{
$this->set("Servers", $servers);
}
}
4 changes: 2 additions & 2 deletions src/UDNS/Apis/ModifyUDNSZoneRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function setRemark($remark)
}

/**
* IsRecursionEnabled: 是否支持迭代。枚举值,"enable",支持迭代; "disable",不支持迭代
* IsRecursionEnabled: 是否支持递归。枚举值,"enable",支持; "disable",不支持
*
* @return string|null
*/
Expand All @@ -120,7 +120,7 @@ public function getIsRecursionEnabled()
}

/**
* IsRecursionEnabled: 是否支持迭代。枚举值,"enable",支持迭代; "disable",不支持迭代
* IsRecursionEnabled: 是否支持递归。枚举值,"enable",支持; "disable",不支持
*
* @param string $isRecursionEnabled
*/
Expand Down
Loading
Loading