Class: TencentCloud::Bsca::V20210811::SearchKBComponentResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bsca::V20210811::SearchKBComponentResponse
- Defined in:
- lib/v20210811/models.rb
Overview
SearchKBComponent返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(componentlist = nil, total = nil, requestid = nil) ⇒ SearchKBComponentResponse
constructor
A new instance of SearchKBComponentResponse.
Constructor Details
#initialize(componentlist = nil, total = nil, requestid = nil) ⇒ SearchKBComponentResponse
Returns a new instance of SearchKBComponentResponse.
849 850 851 852 853 |
# File 'lib/v20210811/models.rb', line 849 def initialize(componentlist=nil, total=nil, requestid=nil) @ComponentList = componentlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#ComponentList ⇒ Object
847 848 849 |
# File 'lib/v20210811/models.rb', line 847 def ComponentList @ComponentList end |
#RequestId ⇒ Object
847 848 849 |
# File 'lib/v20210811/models.rb', line 847 def RequestId @RequestId end |
#Total ⇒ Object
847 848 849 |
# File 'lib/v20210811/models.rb', line 847 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'lib/v20210811/models.rb', line 855 def deserialize(params) unless params['ComponentList'].nil? @ComponentList = [] params['ComponentList'].each do |i| component_tmp = Component.new component_tmp.deserialize(i) @ComponentList << component_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |