Class: TencentCloud::Mps::V20190612::DescribeFlow
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeFlow
- Defined in:
- lib/v20190612/models.rb
Overview
查询Flow的配置信息。
Instance Attribute Summary collapse
-
#AllowedInputProtocols ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AllowedOutputProtocols ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EventId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FlowId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#FlowName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MaxBandwidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OutputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowid = nil, flowname = nil, state = nil, maxbandwidth = nil, inputgroup = nil, outputgroup = nil, eventid = nil, region = nil, allowedinputprotocols = nil, allowedoutputprotocols = nil) ⇒ DescribeFlow
constructor
A new instance of DescribeFlow.
Constructor Details
#initialize(flowid = nil, flowname = nil, state = nil, maxbandwidth = nil, inputgroup = nil, outputgroup = nil, eventid = nil, region = nil, allowedinputprotocols = nil, allowedoutputprotocols = nil) ⇒ DescribeFlow
Returns a new instance of DescribeFlow.
12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 |
# File 'lib/v20190612/models.rb', line 12370 def initialize(flowid=nil, flowname=nil, state=nil, maxbandwidth=nil, inputgroup=nil, outputgroup=nil, eventid=nil, region=nil, allowedinputprotocols=nil, allowedoutputprotocols=nil) @FlowId = flowid @FlowName = flowname @State = state @MaxBandwidth = maxbandwidth @InputGroup = inputgroup @OutputGroup = outputgroup @EventId = eventid @Region = region @AllowedInputProtocols = allowedinputprotocols @AllowedOutputProtocols = allowedoutputprotocols end |
Instance Attribute Details
#AllowedInputProtocols ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def AllowedInputProtocols @AllowedInputProtocols end |
#AllowedOutputProtocols ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def AllowedOutputProtocols @AllowedOutputProtocols end |
#EventId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def EventId @EventId end |
#FlowId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def FlowId @FlowId end |
#FlowName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def FlowName @FlowName end |
#InputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def InputGroup @InputGroup end |
#MaxBandwidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def MaxBandwidth @MaxBandwidth end |
#OutputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def OutputGroup @OutputGroup end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def Region @Region end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12368 12369 12370 |
# File 'lib/v20190612/models.rb', line 12368 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 |
# File 'lib/v20190612/models.rb', line 12383 def deserialize(params) @FlowId = params['FlowId'] @FlowName = params['FlowName'] @State = params['State'] @MaxBandwidth = params['MaxBandwidth'] unless params['InputGroup'].nil? @InputGroup = [] params['InputGroup'].each do |i| describeinput_tmp = DescribeInput.new describeinput_tmp.deserialize(i) @InputGroup << describeinput_tmp end end unless params['OutputGroup'].nil? @OutputGroup = [] params['OutputGroup'].each do |i| describeoutput_tmp = DescribeOutput.new describeoutput_tmp.deserialize(i) @OutputGroup << describeoutput_tmp end end @EventId = params['EventId'] @Region = params['Region'] @AllowedInputProtocols = params['AllowedInputProtocols'] @AllowedOutputProtocols = params['AllowedOutputProtocols'] end |