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.
968 969 970 971 972 |
# File 'lib/v20210811/models.rb', line 968 def initialize(componentlist=nil, total=nil, requestid=nil) @ComponentList = componentlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#ComponentList ⇒ Object
966 967 968 |
# File 'lib/v20210811/models.rb', line 966 def ComponentList @ComponentList end |
#RequestId ⇒ Object
966 967 968 |
# File 'lib/v20210811/models.rb', line 966 def RequestId @RequestId end |
#Total ⇒ Object
966 967 968 |
# File 'lib/v20210811/models.rb', line 966 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
974 975 976 977 978 979 980 981 982 983 984 985 |
# File 'lib/v20210811/models.rb', line 974 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 |