Class: TencentCloud::Batch::V20170312::DescribeComputeEnvResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::DescribeComputeEnvResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeComputeEnv返回参数结构体
Instance Attribute Summary collapse
-
#AttachedComputeNodeCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ComputeNodeMetrics ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ComputeNodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DesiredComputeNodeCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnvId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnvName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnvType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NextAction ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ResourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(envid = nil, envname = nil, placement = nil, createtime = nil, computenodeset = nil, computenodemetrics = nil, desiredcomputenodecount = nil, envtype = nil, resourcetype = nil, nextaction = nil, attachedcomputenodecount = nil, tags = nil, requestid = nil) ⇒ DescribeComputeEnvResponse
constructor
A new instance of DescribeComputeEnvResponse.
Constructor Details
#initialize(envid = nil, envname = nil, placement = nil, createtime = nil, computenodeset = nil, computenodemetrics = nil, desiredcomputenodecount = nil, envtype = nil, resourcetype = nil, nextaction = nil, attachedcomputenodecount = nil, tags = nil, requestid = nil) ⇒ DescribeComputeEnvResponse
Returns a new instance of DescribeComputeEnvResponse.
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/v20170312/models.rb', line 1194 def initialize(envid=nil, envname=nil, placement=nil, createtime=nil, computenodeset=nil, computenodemetrics=nil, desiredcomputenodecount=nil, envtype=nil, resourcetype=nil, nextaction=nil, attachedcomputenodecount=nil, =nil, requestid=nil) @EnvId = envid @EnvName = envname @Placement = placement @CreateTime = createtime @ComputeNodeSet = computenodeset @ComputeNodeMetrics = computenodemetrics @DesiredComputeNodeCount = desiredcomputenodecount @EnvType = envtype @ResourceType = resourcetype @NextAction = nextaction @AttachedComputeNodeCount = attachedcomputenodecount @Tags = @RequestId = requestid end |
Instance Attribute Details
#AttachedComputeNodeCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def AttachedComputeNodeCount @AttachedComputeNodeCount end |
#ComputeNodeMetrics ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def ComputeNodeMetrics @ComputeNodeMetrics end |
#ComputeNodeSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def ComputeNodeSet @ComputeNodeSet end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def CreateTime @CreateTime end |
#DesiredComputeNodeCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def DesiredComputeNodeCount @DesiredComputeNodeCount end |
#EnvId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def EnvId @EnvId end |
#EnvName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def EnvName @EnvName end |
#EnvType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def EnvType @EnvType end |
#NextAction ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def NextAction @NextAction end |
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def Placement @Placement end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def RequestId @RequestId end |
#ResourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def ResourceType @ResourceType end |
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1192 1193 1194 |
# File 'lib/v20170312/models.rb', line 1192 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/v20170312/models.rb', line 1210 def deserialize(params) @EnvId = params['EnvId'] @EnvName = params['EnvName'] unless params['Placement'].nil? @Placement = Placement.new @Placement.deserialize(params['Placement']) end @CreateTime = params['CreateTime'] unless params['ComputeNodeSet'].nil? @ComputeNodeSet = [] params['ComputeNodeSet'].each do |i| computenode_tmp = ComputeNode.new computenode_tmp.deserialize(i) @ComputeNodeSet << computenode_tmp end end unless params['ComputeNodeMetrics'].nil? @ComputeNodeMetrics = ComputeNodeMetrics.new @ComputeNodeMetrics.deserialize(params['ComputeNodeMetrics']) end @DesiredComputeNodeCount = params['DesiredComputeNodeCount'] @EnvType = params['EnvType'] @ResourceType = params['ResourceType'] @NextAction = params['NextAction'] @AttachedComputeNodeCount = params['AttachedComputeNodeCount'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @RequestId = params['RequestId'] end |