Class: TencentCloud::Dbbrain::V20210527::DescribeSqlFiltersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeSqlFiltersResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeSqlFilters返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSqlFiltersResponse
constructor
A new instance of DescribeSqlFiltersResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSqlFiltersResponse
Returns a new instance of DescribeSqlFiltersResponse.
4634 4635 4636 4637 4638 |
# File 'lib/v20210527/models.rb', line 4634 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
4632 4633 4634 |
# File 'lib/v20210527/models.rb', line 4632 def Items @Items end |
#RequestId ⇒ Object
4632 4633 4634 |
# File 'lib/v20210527/models.rb', line 4632 def RequestId @RequestId end |
#TotalCount ⇒ Object
4632 4633 4634 |
# File 'lib/v20210527/models.rb', line 4632 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 |
# File 'lib/v20210527/models.rb', line 4640 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| sqlfilter_tmp = SQLFilter.new sqlfilter_tmp.deserialize(i) @Items << sqlfilter_tmp end end @RequestId = params['RequestId'] end |