Class: TencentCloud::Batch::V20170312::DescribeComputeEnvCreateInfosResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::DescribeComputeEnvCreateInfosResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeComputeEnvCreateInfos返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, computeenvcreateinfoset = nil, requestid = nil) ⇒ DescribeComputeEnvCreateInfosResponse
constructor
A new instance of DescribeComputeEnvCreateInfosResponse.
Constructor Details
#initialize(totalcount = nil, computeenvcreateinfoset = nil, requestid = nil) ⇒ DescribeComputeEnvCreateInfosResponse
Returns a new instance of DescribeComputeEnvCreateInfosResponse.
1126 1127 1128 1129 1130 |
# File 'lib/v20170312/models.rb', line 1126 def initialize(totalcount=nil, computeenvcreateinfoset=nil, requestid=nil) @TotalCount = totalcount @ComputeEnvCreateInfoSet = computeenvcreateinfoset @RequestId = requestid end |
Instance Attribute Details
#ComputeEnvCreateInfoSet ⇒ Object
1124 1125 1126 |
# File 'lib/v20170312/models.rb', line 1124 def ComputeEnvCreateInfoSet @ComputeEnvCreateInfoSet end |
#RequestId ⇒ Object
1124 1125 1126 |
# File 'lib/v20170312/models.rb', line 1124 def RequestId @RequestId end |
#TotalCount ⇒ Object
1124 1125 1126 |
# File 'lib/v20170312/models.rb', line 1124 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 |
# File 'lib/v20170312/models.rb', line 1132 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ComputeEnvCreateInfoSet'].nil? @ComputeEnvCreateInfoSet = [] params['ComputeEnvCreateInfoSet'].each do |i| computeenvcreateinfo_tmp = ComputeEnvCreateInfo.new computeenvcreateinfo_tmp.deserialize(i) @ComputeEnvCreateInfoSet << computeenvcreateinfo_tmp end end @RequestId = params['RequestId'] end |