Class: TencentCloud::Dasb::V20191018::SearchSessionCommandResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::SearchSessionCommandResponse
- Defined in:
- lib/v20191018/models.rb
Overview
SearchSessionCommand返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, commandsessionset = nil, requestid = nil) ⇒ SearchSessionCommandResponse
constructor
A new instance of SearchSessionCommandResponse.
Constructor Details
#initialize(totalcount = nil, commandsessionset = nil, requestid = nil) ⇒ SearchSessionCommandResponse
Returns a new instance of SearchSessionCommandResponse.
5061 5062 5063 5064 5065 |
# File 'lib/v20191018/models.rb', line 5061 def initialize(totalcount=nil, commandsessionset=nil, requestid=nil) @TotalCount = totalcount @CommandSessionSet = commandsessionset @RequestId = requestid end |
Instance Attribute Details
#CommandSessionSet ⇒ Object
5059 5060 5061 |
# File 'lib/v20191018/models.rb', line 5059 def CommandSessionSet @CommandSessionSet end |
#RequestId ⇒ Object
5059 5060 5061 |
# File 'lib/v20191018/models.rb', line 5059 def RequestId @RequestId end |
#TotalCount ⇒ Object
5059 5060 5061 |
# File 'lib/v20191018/models.rb', line 5059 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 |
# File 'lib/v20191018/models.rb', line 5067 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CommandSessionSet'].nil? @CommandSessionSet = [] params['CommandSessionSet'].each do |i| sessioncommand_tmp = SessionCommand.new sessioncommand_tmp.deserialize(i) @CommandSessionSet << sessioncommand_tmp end end @RequestId = params['RequestId'] end |