Class: TencentCloud::Yunjing::V20180228::DescribeBashRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeBashRulesResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBashRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeBashRulesResponse
constructor
A new instance of DescribeBashRulesResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeBashRulesResponse
Returns a new instance of DescribeBashRulesResponse.
1848 1849 1850 1851 1852 |
# File 'lib/v20180228/models.rb', line 1848 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
1846 1847 1848 |
# File 'lib/v20180228/models.rb', line 1846 def List @List end |
#RequestId ⇒ Object
1846 1847 1848 |
# File 'lib/v20180228/models.rb', line 1846 def RequestId @RequestId end |
#TotalCount ⇒ Object
1846 1847 1848 |
# File 'lib/v20180228/models.rb', line 1846 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 |
# File 'lib/v20180228/models.rb', line 1854 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| bashrule_tmp = BashRule.new bashrule_tmp.deserialize(i) @List << bashrule_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |