Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeChannelsByLiveRecordPlan返回参数结构体
Instance Attribute Summary collapse
-
#LiveChannels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, livechannels = nil, requestid = nil) ⇒ DescribeChannelsByLiveRecordPlanResponse
constructor
A new instance of DescribeChannelsByLiveRecordPlanResponse.
Constructor Details
#initialize(totalcount = nil, livechannels = nil, requestid = nil) ⇒ DescribeChannelsByLiveRecordPlanResponse
Returns a new instance of DescribeChannelsByLiveRecordPlanResponse.
1933 1934 1935 1936 1937 |
# File 'lib/v20201201/models.rb', line 1933 def initialize(totalcount=nil, livechannels=nil, requestid=nil) @TotalCount = totalcount @LiveChannels = livechannels @RequestId = requestid end |
Instance Attribute Details
#LiveChannels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1931 1932 1933 |
# File 'lib/v20201201/models.rb', line 1931 def LiveChannels @LiveChannels end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1931 1932 1933 |
# File 'lib/v20201201/models.rb', line 1931 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1931 1932 1933 |
# File 'lib/v20201201/models.rb', line 1931 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/v20201201/models.rb', line 1939 def deserialize(params) @TotalCount = params['TotalCount'] unless params['LiveChannels'].nil? @LiveChannels = [] params['LiveChannels'].each do |i| livechannelitem_tmp = LiveChannelItem.new livechannelitem_tmp.deserialize(i) @LiveChannels << livechannelitem_tmp end end @RequestId = params['RequestId'] end |