Class: TencentCloud::Dasb::V20191018::SearchFileResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::SearchFileResponse
- Defined in:
- lib/v20191018/models.rb
Overview
SearchFile返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, files = nil, requestid = nil) ⇒ SearchFileResponse
constructor
A new instance of SearchFileResponse.
Constructor Details
#initialize(totalcount = nil, files = nil, requestid = nil) ⇒ SearchFileResponse
4913 4914 4915 4916 4917 |
# File 'lib/v20191018/models.rb', line 4913 def initialize(totalcount=nil, files=nil, requestid=nil) @TotalCount = totalcount @Files = files @RequestId = requestid end |
Instance Attribute Details
#Files ⇒ Object
4911 4912 4913 |
# File 'lib/v20191018/models.rb', line 4911 def Files @Files end |
#RequestId ⇒ Object
4911 4912 4913 |
# File 'lib/v20191018/models.rb', line 4911 def RequestId @RequestId end |
#TotalCount ⇒ Object
4911 4912 4913 |
# File 'lib/v20191018/models.rb', line 4911 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 |
# File 'lib/v20191018/models.rb', line 4919 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Files'].nil? @Files = [] params['Files'].each do |i| searchfileresult_tmp = SearchFileResult.new searchfileresult_tmp.deserialize(i) @Files << searchfileresult_tmp end end @RequestId = params['RequestId'] end |