Class: TencentCloud::Live::V20180801::DescribeLiveWatermarksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveWatermarksResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveWatermarks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, watermarklist = nil, requestid = nil) ⇒ DescribeLiveWatermarksResponse
constructor
A new instance of DescribeLiveWatermarksResponse.
Constructor Details
#initialize(totalnum = nil, watermarklist = nil, requestid = nil) ⇒ DescribeLiveWatermarksResponse
Returns a new instance of DescribeLiveWatermarksResponse.
8871 8872 8873 8874 8875 |
# File 'lib/v20180801/models.rb', line 8871 def initialize(totalnum=nil, watermarklist=nil, requestid=nil) @TotalNum = totalnum @WatermarkList = watermarklist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
8869 8870 8871 |
# File 'lib/v20180801/models.rb', line 8869 def RequestId @RequestId end |
#TotalNum ⇒ Object
8869 8870 8871 |
# File 'lib/v20180801/models.rb', line 8869 def TotalNum @TotalNum end |
#WatermarkList ⇒ Object
8869 8870 8871 |
# File 'lib/v20180801/models.rb', line 8869 def WatermarkList @WatermarkList end |
Instance Method Details
#deserialize(params) ⇒ Object
8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 |
# File 'lib/v20180801/models.rb', line 8877 def deserialize(params) @TotalNum = params['TotalNum'] unless params['WatermarkList'].nil? @WatermarkList = [] params['WatermarkList'].each do |i| watermarkinfo_tmp = WatermarkInfo.new watermarkinfo_tmp.deserialize(i) @WatermarkList << watermarkinfo_tmp end end @RequestId = params['RequestId'] end |