-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24cb633
commit d012fc6
Showing
10 changed files
with
590 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
137 changes: 137 additions & 0 deletions
137
src/TencentCloud/Mps/V20190612/Models/DiagnoseResult.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* 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 TencentCloud\Mps\V20190612\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* 诊断结果项。 | ||
* | ||
* @method string getCategory() 获取诊断出的异常类别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setCategory(string $Category) 设置诊断出的异常类别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getType() 获取诊断出的具体异常类型。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setType(string $Type) 设置诊断出的具体异常类型。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method float getTimestamp() 获取诊断出异常开始的PTS时间戳。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setTimestamp(float $Timestamp) 设置诊断出异常开始的PTS时间戳。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getDescription() 获取诊断出的异常描述。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setDescription(string $Description) 设置诊断出的异常描述。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getDateTime() 获取诊断到异常的北京时间,采用 ISO 日期格式。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setDateTime(string $DateTime) 设置诊断到异常的北京时间,采用 ISO 日期格式。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getSeverityLevel() 获取诊断出的异常级别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setSeverityLevel(string $SeverityLevel) 设置诊断出的异常级别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class DiagnoseResult extends AbstractModel | ||
{ | ||
/** | ||
* @var string 诊断出的异常类别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $Category; | ||
|
||
/** | ||
* @var string 诊断出的具体异常类型。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $Type; | ||
|
||
/** | ||
* @var float 诊断出异常开始的PTS时间戳。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $Timestamp; | ||
|
||
/** | ||
* @var string 诊断出的异常描述。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $Description; | ||
|
||
/** | ||
* @var string 诊断到异常的北京时间,采用 ISO 日期格式。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $DateTime; | ||
|
||
/** | ||
* @var string 诊断出的异常级别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $SeverityLevel; | ||
|
||
/** | ||
* @param string $Category 诊断出的异常类别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $Type 诊断出的具体异常类型。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param float $Timestamp 诊断出异常开始的PTS时间戳。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $Description 诊断出的异常描述。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $DateTime 诊断到异常的北京时间,采用 ISO 日期格式。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $SeverityLevel 诊断出的异常级别。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("Category",$param) and $param["Category"] !== null) { | ||
$this->Category = $param["Category"]; | ||
} | ||
|
||
if (array_key_exists("Type",$param) and $param["Type"] !== null) { | ||
$this->Type = $param["Type"]; | ||
} | ||
|
||
if (array_key_exists("Timestamp",$param) and $param["Timestamp"] !== null) { | ||
$this->Timestamp = $param["Timestamp"]; | ||
} | ||
|
||
if (array_key_exists("Description",$param) and $param["Description"] !== null) { | ||
$this->Description = $param["Description"]; | ||
} | ||
|
||
if (array_key_exists("DateTime",$param) and $param["DateTime"] !== null) { | ||
$this->DateTime = $param["DateTime"]; | ||
} | ||
|
||
if (array_key_exists("SeverityLevel",$param) and $param["SeverityLevel"] !== null) { | ||
$this->SeverityLevel = $param["SeverityLevel"]; | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
src/TencentCloud/Mps/V20190612/Models/LiveStreamAiAnalysisResultInfo.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* 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 TencentCloud\Mps\V20190612\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* 直播流分析结果 | ||
* | ||
* @method array getResultSet() 获取直播分析子任务结果,暂时只支持直播拆条。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setResultSet(array $ResultSet) 设置直播分析子任务结果,暂时只支持直播拆条。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class LiveStreamAiAnalysisResultInfo extends AbstractModel | ||
{ | ||
/** | ||
* @var array 直播分析子任务结果,暂时只支持直播拆条。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $ResultSet; | ||
|
||
/** | ||
* @param array $ResultSet 直播分析子任务结果,暂时只支持直播拆条。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("ResultSet",$param) and $param["ResultSet"] !== null) { | ||
$this->ResultSet = []; | ||
foreach ($param["ResultSet"] as $key => $value){ | ||
$obj = new LiveStreamAiAnalysisResultItem(); | ||
$obj->deserialize($value); | ||
array_push($this->ResultSet, $obj); | ||
} | ||
} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
src/TencentCloud/Mps/V20190612/Models/LiveStreamAiAnalysisResultItem.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* 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 TencentCloud\Mps\V20190612\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* 直播流 AI 分析结果 | ||
* | ||
* @method string getType() 获取结果的类型,取值范围: | ||
<li>SegmentRecognition:拆条。</li> | ||
* @method void setType(string $Type) 设置结果的类型,取值范围: | ||
<li>SegmentRecognition:拆条。</li> | ||
* @method array getSegmentResultSet() 获取拆条结果,当 Type 为 | ||
SegmentRecognition 时有效。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setSegmentResultSet(array $SegmentResultSet) 设置拆条结果,当 Type 为 | ||
SegmentRecognition 时有效。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class LiveStreamAiAnalysisResultItem extends AbstractModel | ||
{ | ||
/** | ||
* @var string 结果的类型,取值范围: | ||
<li>SegmentRecognition:拆条。</li> | ||
*/ | ||
public $Type; | ||
|
||
/** | ||
* @var array 拆条结果,当 Type 为 | ||
SegmentRecognition 时有效。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $SegmentResultSet; | ||
|
||
/** | ||
* @param string $Type 结果的类型,取值范围: | ||
<li>SegmentRecognition:拆条。</li> | ||
* @param array $SegmentResultSet 拆条结果,当 Type 为 | ||
SegmentRecognition 时有效。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("Type",$param) and $param["Type"] !== null) { | ||
$this->Type = $param["Type"]; | ||
} | ||
|
||
if (array_key_exists("SegmentResultSet",$param) and $param["SegmentResultSet"] !== null) { | ||
$this->SegmentResultSet = []; | ||
foreach ($param["SegmentResultSet"] as $key => $value){ | ||
$obj = new SegmentRecognitionItem(); | ||
$obj->deserialize($value); | ||
array_push($this->SegmentResultSet, $obj); | ||
} | ||
} | ||
} | ||
} |
83 changes: 83 additions & 0 deletions
83
src/TencentCloud/Mps/V20190612/Models/LiveStreamAiQualityControlResultInfo.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* 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 TencentCloud\Mps\V20190612\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* 直播流质检结果 | ||
* | ||
* @method array getQualityControlResults() 获取质检结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setQualityControlResults(array $QualityControlResults) 设置质检结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method array getDiagnoseResults() 获取格式诊断结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setDiagnoseResults(array $DiagnoseResults) 设置格式诊断结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class LiveStreamAiQualityControlResultInfo extends AbstractModel | ||
{ | ||
/** | ||
* @var array 质检结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $QualityControlResults; | ||
|
||
/** | ||
* @var array 格式诊断结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $DiagnoseResults; | ||
|
||
/** | ||
* @param array $QualityControlResults 质检结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param array $DiagnoseResults 格式诊断结果列表。 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("QualityControlResults",$param) and $param["QualityControlResults"] !== null) { | ||
$this->QualityControlResults = []; | ||
foreach ($param["QualityControlResults"] as $key => $value){ | ||
$obj = new QualityControlResult(); | ||
$obj->deserialize($value); | ||
array_push($this->QualityControlResults, $obj); | ||
} | ||
} | ||
|
||
if (array_key_exists("DiagnoseResults",$param) and $param["DiagnoseResults"] !== null) { | ||
$this->DiagnoseResults = []; | ||
foreach ($param["DiagnoseResults"] as $key => $value){ | ||
$obj = new DiagnoseResult(); | ||
$obj->deserialize($value); | ||
array_push($this->DiagnoseResults, $obj); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.