Skip to content

Commit

Permalink
Update to support new apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 30, 2024
1 parent 07135ef commit 552bb11
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.8.2213 - 2024-10-30
- Update to support new apis.


## 1.8.2212 - 2024-10-30
- Generated 2023-01-20 for `csas`.

Expand Down
109 changes: 109 additions & 0 deletions src/Live/V20161101/LiveApiResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @method BatchSetLiveDomainConfigs batchSetLiveDomainConfigs(array $options = [])
* @method CancelMuteAllGroupUser cancelMuteAllGroupUser(array $options = [])
* @method CancelMuteGroupUser cancelMuteGroupUser(array $options = [])
* @method ChangeLiveDomainResourceGroup changeLiveDomainResourceGroup(array $options = [])
* @method CheckLiveMessageUsersInGroup checkLiveMessageUsersInGroup(array $options = [])
* @method CheckLiveMessageUsersOnline checkLiveMessageUsersOnline(array $options = [])
* @method CloseLiveShift closeLiveShift(array $options = [])
Expand Down Expand Up @@ -238,6 +239,7 @@
* @method DescribeLiveStreamWatermarkRules describeLiveStreamWatermarkRules(array $options = [])
* @method DescribeLiveStreamWatermarks describeLiveStreamWatermarks(array $options = [])
* @method DescribeLiveTopDomainsByFlow describeLiveTopDomainsByFlow(array $options = [])
* @method DescribeLiveTrafficDomainLog describeLiveTrafficDomainLog(array $options = [])
* @method DescribeLiveUpVideoAudioInfo describeLiveUpVideoAudioInfo(array $options = [])
* @method DescribeLiveUserBillPrediction describeLiveUserBillPrediction(array $options = [])
* @method DescribeLiveUserDomains describeLiveUserDomains(array $options = [])
Expand Down Expand Up @@ -789,6 +791,8 @@ class AddCustomLiveStreamTranscode extends Rpc
/**
* @method string getDescription()
* @method $this withDescription($value)
* @method string getSuffix()
* @method $this withSuffix($value)
* @method string getSubtitleName()
* @method $this withSubtitleName($value)
* @method string getApp()
Expand All @@ -797,6 +801,8 @@ class AddCustomLiveStreamTranscode extends Rpc
* @method $this withOwnerId($value)
* @method string getIsLazy()
* @method $this withIsLazy($value)
* @method string getStudioName()
* @method $this withStudioName($value)
* @method string getLiveTemplate()
* @method $this withLiveTemplate($value)
* @method string getDomain()
Expand Down Expand Up @@ -1059,6 +1065,7 @@ class AddLiveDetectNotifyConfig extends Rpc
* @method $this withSecurityToken($value)
* @method string getScope()
* @method $this withScope($value)
* @method array getTag()
* @method string getTopLevelDomain()
* @method $this withTopLevelDomain($value)
* @method string getOwnerAccount()
Expand All @@ -1076,6 +1083,26 @@ class AddLiveDetectNotifyConfig extends Rpc
*/
class AddLiveDomain extends Rpc
{

/**
* @param array $tag
*
* @return $this
*/
public function withTag(array $tag)
{
$this->data['Tag'] = $tag;
foreach ($tag as $depth1 => $depth1Value) {
if(isset($depth1Value['Value'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
}
if(isset($depth1Value['Key'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
}
}

return $this;
}
}

/**
Expand Down Expand Up @@ -1788,6 +1815,21 @@ public function withAppId($value)
}
}

/**
* @method string getDomainName()
* @method $this withDomainName($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
* @method string getNewResourceGroupId()
* @method $this withNewResourceGroupId($value)
*/
class ChangeLiveDomainResourceGroup extends Rpc
{

/** @var string */
public $scheme = 'https';
}

/**
* @method string getGroupId()
* @method $this withGroupId($value)
Expand Down Expand Up @@ -1869,6 +1911,7 @@ class CopyCasterSceneConfig extends Rpc
* @method $this withResourceGroupId($value)
* @method string getCasterName()
* @method $this withCasterName($value)
* @method array getTag()
* @method string getCasterTemplate()
* @method $this withCasterTemplate($value)
* @method string getExpireTime()
Expand All @@ -1886,6 +1929,26 @@ class CopyCasterSceneConfig extends Rpc
*/
class CreateCaster extends Rpc
{

/**
* @param array $tag
*
* @return $this
*/
public function withTag(array $tag)
{
$this->data['Tag'] = $tag;
foreach ($tag as $depth1 => $depth1Value) {
if(isset($depth1Value['Key'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
}
if(isset($depth1Value['Value'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
}
}

return $this;
}
}

/**
Expand Down Expand Up @@ -3171,6 +3234,7 @@ class DescribeCasterProgram extends Rpc
* @method $this withCasterName($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method array getTag()
* @method string getNormType()
* @method $this withNormType($value)
* @method string getCasterId()
Expand All @@ -3188,6 +3252,26 @@ class DescribeCasterProgram extends Rpc
*/
class DescribeCasters extends Rpc
{

/**
* @param array $tag
*
* @return $this
*/
public function withTag(array $tag)
{
$this->data['Tag'] = $tag;
foreach ($tag as $depth1 => $depth1Value) {
if(isset($depth1Value['Key'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
}
if(isset($depth1Value['Value'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
}
}

return $this;
}
}

/**
Expand Down Expand Up @@ -5140,6 +5224,27 @@ class DescribeLiveTopDomainsByFlow extends Rpc
{
}

/**
* @method string getStartTime()
* @method $this withStartTime($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getDomainName()
* @method $this withDomainName($value)
* @method string getEndTime()
* @method $this withEndTime($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
*/
class DescribeLiveTrafficDomainLog extends Rpc
{

/** @var string */
public $scheme = 'https';
}

/**
* @method string getStartTime()
* @method $this withStartTime($value)
Expand Down Expand Up @@ -8666,6 +8771,8 @@ public function withEvents(array $events)
/**
* @method string getDescription()
* @method $this withDescription($value)
* @method string getSuffix()
* @method $this withSuffix($value)
* @method string getSubtitleName()
* @method $this withSubtitleName($value)
* @method string getRulesId()
Expand All @@ -8676,6 +8783,8 @@ public function withEvents(array $events)
* @method $this withOwnerId($value)
* @method string getIsLazy()
* @method $this withIsLazy($value)
* @method string getStudioName()
* @method $this withStudioName($value)
* @method string getLiveTemplate()
* @method $this withLiveTemplate($value)
* @method string getDomain()
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.2212';
const VERSION = '1.8.2213';

/**
* @param Event $event
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"endpoint_map":{"cn-hangzhou":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-finance-1":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-finance-1":"ecs-cn-hangzhou.aliyuncs.com","cn-north-2-gov-1":"ecs.aliyuncs.com","ap-northeast-2-pop":"ecs.aliyuncs.com","cn-beijing-finance-pop":"ecs.aliyuncs.com","cn-beijing-gov-1":"ecs.aliyuncs.com","cn-beijing-nu16-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-edge-1":"ecs.cn-qingdao-nebula.aliyuncs.com","cn-fujian":"ecs-cn-hangzhou.aliyuncs.com","cn-haidian-cm12-c01":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-bj-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-finance":"ecs.aliyuncs.com","cn-hangzhou-internal-prod-1":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-1":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-2":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-internal-test-3":"ecs-cn-hangzhou.aliyuncs.com","cn-hangzhou-test-306":"ecs-cn-hangzhou.aliyuncs.com","cn-hongkong-finance-pop":"ecs.aliyuncs.com","cn-huhehaote-nebula-1":"ecs.cn-qingdao-nebula.aliyuncs.com","cn-shanghai-et15-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-et2-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-shanghai-inner":"ecs.aliyuncs.com","cn-shanghai-internal-test-1":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-inner":"ecs.aliyuncs.com","cn-shenzhen-st4-d01":"ecs-cn-hangzhou.aliyuncs.com","cn-shenzhen-su18-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-wuhan":"ecs.aliyuncs.com","cn-yushanfang":"ecs.aliyuncs.com","cn-zhangbei":"ecs.aliyuncs.com","cn-zhangbei-na61-b01":"ecs-cn-hangzhou.aliyuncs.com","cn-zhangjiakou-na62-a01":"ecs.cn-zhangjiakou.aliyuncs.com","cn-zhengzhou-nebula-1":"ecs.cn-qingdao-nebula.aliyuncs.com","eu-west-1-oxs":"ecs.cn-shenzhen-cloudstone.aliyuncs.com","rus-west-1-pop":"ecs.aliyuncs.com"},"endpoint_regional":"regional","standard":{"cn-qingdao":"ecs.cn-qingdao.aliyuncs.com","cn-beijing":"ecs.cn-beijing.aliyuncs.com","cn-chengdu":"ecs.cn-chengdu.aliyuncs.com","cn-zhangjiakou":"ecs.cn-zhangjiakou.aliyuncs.com","cn-huhehaote":"ecs.cn-huhehaote.aliyuncs.com","cn-shanghai":"ecs.cn-shanghai.aliyuncs.com","cn-shenzhen":"ecs.cn-shenzhen.aliyuncs.com","cn-heyuan":"ecs.cn-heyuan.aliyuncs.com","cn-wulanchabu":"ecs.cn-wulanchabu.aliyuncs.com","cn-hongkong":"ecs.cn-hongkong.aliyuncs.com","ap-southeast-1":"ecs.ap-southeast-1.aliyuncs.com","ap-southeast-2":"ecs.ap-southeast-2.aliyuncs.com","ap-southeast-3":"ecs.ap-southeast-3.aliyuncs.com","ap-southeast-5":"ecs.ap-southeast-5.aliyuncs.com","ap-northeast-1":"ecs.ap-northeast-1.aliyuncs.com","eu-west-1":"ecs.eu-west-1.aliyuncs.com","us-west-1":"ecs.us-west-1.aliyuncs.com","us-east-1":"ecs.us-east-1.aliyuncs.com","eu-central-1":"ecs.eu-central-1.aliyuncs.com","me-east-1":"ecs.me-east-1.aliyuncs.com","ap-south-1":"ecs.ap-south-1.aliyuncs.com","cn-beijing-finance-1":"ecs.cn-beijing-finance-1.aliyuncs.com","cn-qingdao-nebula":"ecs.cn-qingdao-nebula.aliyuncs.com"},"regions":["cn-qingdao","cn-beijing","cn-chengdu","cn-zhangjiakou","cn-huhehaote","cn-hangzhou","cn-shanghai","cn-shenzhen","cn-heyuan","cn-wulanchabu","cn-hongkong","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-5","ap-northeast-1","eu-west-1","us-west-1","us-east-1","eu-central-1","me-east-1","ap-south-1","cn-shanghai-finance-1","cn-shenzhen-finance-1","cn-north-2-gov-1","ap-northeast-2-pop","cn-beijing-finance-1","cn-beijing-finance-pop","cn-beijing-gov-1","cn-beijing-nu16-b01","cn-edge-1","cn-fujian","cn-haidian-cm12-c01","cn-hangzhou-bj-b01","cn-hangzhou-finance","cn-hangzhou-internal-prod-1","cn-hangzhou-internal-test-1","cn-hangzhou-internal-test-2","cn-hangzhou-internal-test-3","cn-hangzhou-test-306","cn-hongkong-finance-pop","cn-huhehaote-nebula-1","cn-qingdao-nebula","cn-shanghai-et15-b01","cn-shanghai-et2-b01","cn-shanghai-inner","cn-shanghai-internal-test-1","cn-shenzhen-inner","cn-shenzhen-st4-d01","cn-shenzhen-su18-b01","cn-wuhan","cn-yushanfang","cn-zhangbei","cn-zhangbei-na61-b01","cn-zhangjiakou-na62-a01","cn-zhengzhou-nebula-1","eu-west-1-oxs","rus-west-1-pop"],"endpoint_health":[]}
{"endpoint_map":{"cn-qingdao":"live.aliyuncs.com","cn-beijing":"live.aliyuncs.com","cn-hangzhou":"live.aliyuncs.com","cn-shanghai":"live.aliyuncs.com","cn-shenzhen":"live.aliyuncs.com","ap-southeast-1":"live.aliyuncs.com","ap-southeast-5":"live.aliyuncs.com","ap-northeast-1":"live.aliyuncs.com","eu-central-1":"live.aliyuncs.com","ap-south-1":"live.aliyuncs.com","ap-northeast-2-pop":"live.aliyuncs.com","ap-southeast-2":"live.aliyuncs.com","ap-southeast-3":"live.aliyuncs.com","cn-beijing-finance-1":"live.aliyuncs.com","cn-beijing-finance-pop":"live.aliyuncs.com","cn-beijing-gov-1":"live.aliyuncs.com","cn-beijing-nu16-b01":"live.aliyuncs.com","cn-chengdu":"live.aliyuncs.com","cn-edge-1":"live.aliyuncs.com","cn-fujian":"live.aliyuncs.com","cn-haidian-cm12-c01":"live.aliyuncs.com","cn-hangzhou-bj-b01":"live.aliyuncs.com","cn-hangzhou-finance":"live.aliyuncs.com","cn-hangzhou-internal-prod-1":"live.aliyuncs.com","cn-hangzhou-internal-test-1":"live.aliyuncs.com","cn-hangzhou-internal-test-2":"live.aliyuncs.com","cn-hangzhou-internal-test-3":"live.aliyuncs.com","cn-hangzhou-test-306":"live.aliyuncs.com","cn-hongkong":"live.aliyuncs.com","cn-hongkong-finance-pop":"live.aliyuncs.com","cn-huhehaote":"live.aliyuncs.com","cn-huhehaote-nebula-1":"live.aliyuncs.com","cn-north-2-gov-1":"live.aliyuncs.com","cn-qingdao-nebula":"live.aliyuncs.com","cn-shanghai-et15-b01":"live.aliyuncs.com","cn-shanghai-et2-b01":"live.aliyuncs.com","cn-shanghai-finance-1":"live.aliyuncs.com","cn-shanghai-inner":"live.aliyuncs.com","cn-shanghai-internal-test-1":"live.aliyuncs.com","cn-shenzhen-finance-1":"live.aliyuncs.com","cn-shenzhen-inner":"live.aliyuncs.com","cn-shenzhen-st4-d01":"live.aliyuncs.com","cn-shenzhen-su18-b01":"live.aliyuncs.com","cn-wuhan":"live.aliyuncs.com","cn-wulanchabu":"live.aliyuncs.com","cn-yushanfang":"live.aliyuncs.com","cn-zhangbei":"live.aliyuncs.com","cn-zhangbei-na61-b01":"live.aliyuncs.com","cn-zhangjiakou":"live.aliyuncs.com","cn-zhangjiakou-na62-a01":"live.aliyuncs.com","cn-zhengzhou-nebula-1":"live.aliyuncs.com","eu-west-1":"live.aliyuncs.com","eu-west-1-oxs":"live.aliyuncs.com","me-east-1":"live.aliyuncs.com","rus-west-1-pop":"live.aliyuncs.com","us-east-1":"live.aliyuncs.com","us-west-1":"live.aliyuncs.com"},"endpoint_regional":"regional","standard":[],"regions":["cn-qingdao","cn-beijing","cn-hangzhou","cn-shanghai","cn-shenzhen","ap-southeast-1","ap-southeast-5","ap-northeast-1","eu-central-1","ap-south-1","ap-northeast-2-pop","ap-southeast-2","ap-southeast-3","cn-beijing-finance-1","cn-beijing-finance-pop","cn-beijing-gov-1","cn-beijing-nu16-b01","cn-chengdu","cn-edge-1","cn-fujian","cn-haidian-cm12-c01","cn-hangzhou-bj-b01","cn-hangzhou-finance","cn-hangzhou-internal-prod-1","cn-hangzhou-internal-test-1","cn-hangzhou-internal-test-2","cn-hangzhou-internal-test-3","cn-hangzhou-test-306","cn-hongkong","cn-hongkong-finance-pop","cn-huhehaote","cn-huhehaote-nebula-1","cn-north-2-gov-1","cn-qingdao-nebula","cn-shanghai-et15-b01","cn-shanghai-et2-b01","cn-shanghai-finance-1","cn-shanghai-inner","cn-shanghai-internal-test-1","cn-shenzhen-finance-1","cn-shenzhen-inner","cn-shenzhen-st4-d01","cn-shenzhen-su18-b01","cn-wuhan","cn-wulanchabu","cn-yushanfang","cn-zhangbei","cn-zhangbei-na61-b01","cn-zhangjiakou","cn-zhangjiakou-na62-a01","cn-zhengzhou-nebula-1","eu-west-1","eu-west-1-oxs","me-east-1","rus-west-1-pop","us-east-1","us-west-1"],"endpoint_health":[]}

0 comments on commit 552bb11

Please sign in to comment.