Class: TencentCloud::Live::V20180801::DescribeLiveForbidStreamListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveForbidStreamListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveForbidStreamList返回参数结构体
Instance Attribute Summary collapse
- #ForbidStreamList ⇒ Object
- #PageNum ⇒ Object
- #PageSize ⇒ Object
- #RequestId ⇒ Object
- #TotalNum ⇒ Object
- #TotalPage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, forbidstreamlist = nil, requestid = nil) ⇒ DescribeLiveForbidStreamListResponse
constructor
A new instance of DescribeLiveForbidStreamListResponse.
Constructor Details
#initialize(totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, forbidstreamlist = nil, requestid = nil) ⇒ DescribeLiveForbidStreamListResponse
Returns a new instance of DescribeLiveForbidStreamListResponse.
7097 7098 7099 7100 7101 7102 7103 7104 |
# File 'lib/v20180801/models.rb', line 7097 def initialize(totalnum=nil, totalpage=nil, pagenum=nil, pagesize=nil, forbidstreamlist=nil, requestid=nil) @TotalNum = totalnum @TotalPage = totalpage @PageNum = pagenum @PageSize = pagesize @ForbidStreamList = forbidstreamlist @RequestId = requestid end |
Instance Attribute Details
#ForbidStreamList ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def ForbidStreamList @ForbidStreamList end |
#PageNum ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def PageNum @PageNum end |
#PageSize ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def PageSize @PageSize end |
#RequestId ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def RequestId @RequestId end |
#TotalNum ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
7095 7096 7097 |
# File 'lib/v20180801/models.rb', line 7095 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 |
# File 'lib/v20180801/models.rb', line 7106 def deserialize(params) @TotalNum = params['TotalNum'] @TotalPage = params['TotalPage'] @PageNum = params['PageNum'] @PageSize = params['PageSize'] unless params['ForbidStreamList'].nil? @ForbidStreamList = [] params['ForbidStreamList'].each do |i| forbidstreaminfo_tmp = ForbidStreamInfo.new forbidstreaminfo_tmp.deserialize(i) @ForbidStreamList << forbidstreaminfo_tmp end end @RequestId = params['RequestId'] end |