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.18
0.3.19
92 changes: 92 additions & 0 deletions src/UWSC/Apis/AddExportLineRulesRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?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\UWSC\Apis;

use UCloud\Core\Request\Request;

class AddExportLineRulesRequest extends Request
{
public function __construct()
{
parent::__construct(["Action" => "AddExportLineRules"]);
$this->markRequired("ProjectId");
$this->markRequired("ResourceId");
$this->markRequired("RuleTypes");
}



/**
* 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);
}

/**
* ResourceId: UReach资源ID
*
* @return string|null
*/
public function getResourceId()
{
return $this->get("ResourceId");
}

/**
* ResourceId: UReach资源ID
*
* @param string $resourceId
*/
public function setResourceId($resourceId)
{
$this->set("ResourceId", $resourceId);
}

/**
* RuleTypes: 白名单类型:Developer、CrossBorder
*
* @return string[]|null
*/
public function getRuleTypes()
{
return $this->get("RuleTypes");
}

/**
* RuleTypes: 白名单类型:Developer、CrossBorder
*
* @param string[] $ruleTypes
*/
public function setRuleTypes(array $ruleTypes)
{
$this->set("RuleTypes", $ruleTypes);
}
}
26 changes: 26 additions & 0 deletions src/UWSC/Apis/AddExportLineRulesResponse.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\UWSC\Apis;

use UCloud\Core\Response\Response;

class AddExportLineRulesResponse extends Response
{



}
92 changes: 92 additions & 0 deletions src/UWSC/Apis/BindCPERequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?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\UWSC\Apis;

use UCloud\Core\Request\Request;

class BindCPERequest extends Request
{
public function __construct()
{
parent::__construct(["Action" => "BindCPE"]);
$this->markRequired("ProjectId");
$this->markRequired("CPEId");
$this->markRequired("Sn");
}



/**
* 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);
}

/**
* CPEId: cpe id
*
* @return string|null
*/
public function getCPEId()
{
return $this->get("CPEId");
}

/**
* CPEId: cpe id
*
* @param string $cpeId
*/
public function setCPEId($cpeId)
{
$this->set("CPEId", $cpeId);
}

/**
* Sn: sn id
*
* @return string|null
*/
public function getSn()
{
return $this->get("Sn");
}

/**
* Sn: sn id
*
* @param string $sn
*/
public function setSn($sn)
{
$this->set("Sn", $sn);
}
}
26 changes: 26 additions & 0 deletions src/UWSC/Apis/BindCPEResponse.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\UWSC\Apis;

use UCloud\Core\Response\Response;

class BindCPEResponse extends Response
{



}
Loading
Loading