Class: TencentCloud::Cwp::V20180228::DescribeBashRulesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::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.
13872 13873 13874 13875 13876 |
# File 'lib/v20180228/models.rb', line 13872 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
13870 13871 13872 |
# File 'lib/v20180228/models.rb', line 13870 def List @List end |
#RequestId ⇒ Object
13870 13871 13872 |
# File 'lib/v20180228/models.rb', line 13870 def RequestId @RequestId end |
#TotalCount ⇒ Object
13870 13871 13872 |
# File 'lib/v20180228/models.rb', line 13870 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 |
# File 'lib/v20180228/models.rb', line 13878 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 |