Class: TencentCloud::Waf::V20180125::DescribeInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeInstancesResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
constructor
A new instance of DescribeInstancesResponse.
Constructor Details
#initialize(total = nil, instances = nil, requestid = nil) ⇒ DescribeInstancesResponse
7974 7975 7976 7977 7978 |
# File 'lib/v20180125/models.rb', line 7974 def initialize(total=nil, instances=nil, requestid=nil) @Total = total @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
7972 7973 7974 |
# File 'lib/v20180125/models.rb', line 7972 def Instances @Instances end |
#RequestId ⇒ Object
7972 7973 7974 |
# File 'lib/v20180125/models.rb', line 7972 def RequestId @RequestId end |
#Total ⇒ Object
7972 7973 7974 |
# File 'lib/v20180125/models.rb', line 7972 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 |
# File 'lib/v20180125/models.rb', line 7980 def deserialize(params) @Total = params['Total'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| instanceinfo_tmp = InstanceInfo.new instanceinfo_tmp.deserialize(i) @Instances << instanceinfo_tmp end end @RequestId = params['RequestId'] end |