Class: TencentCloud::Cls::V20201016::DescribeConsoleSharingListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeConsoleSharingListResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeConsoleSharingList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, consolesharinginfos = nil, requestid = nil) ⇒ DescribeConsoleSharingListResponse
constructor
A new instance of DescribeConsoleSharingListResponse.
Constructor Details
#initialize(totalcount = nil, consolesharinginfos = nil, requestid = nil) ⇒ DescribeConsoleSharingListResponse
Returns a new instance of DescribeConsoleSharingListResponse.
7453 7454 7455 7456 7457 |
# File 'lib/v20201016/models.rb', line 7453 def initialize(totalcount=nil, consolesharinginfos=nil, requestid=nil) @TotalCount = totalcount @ConsoleSharingInfos = consolesharinginfos @RequestId = requestid end |
Instance Attribute Details
#ConsoleSharingInfos ⇒ Object
7451 7452 7453 |
# File 'lib/v20201016/models.rb', line 7451 def ConsoleSharingInfos @ConsoleSharingInfos end |
#RequestId ⇒ Object
7451 7452 7453 |
# File 'lib/v20201016/models.rb', line 7451 def RequestId @RequestId end |
#TotalCount ⇒ Object
7451 7452 7453 |
# File 'lib/v20201016/models.rb', line 7451 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 |
# File 'lib/v20201016/models.rb', line 7459 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ConsoleSharingInfos'].nil? @ConsoleSharingInfos = [] params['ConsoleSharingInfos'].each do |i| consolesharinginfo_tmp = ConsoleSharingInfo.new consolesharinginfo_tmp.deserialize(i) @ConsoleSharingInfos << consolesharinginfo_tmp end end @RequestId = params['RequestId'] end |