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.
10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 |
# File 'lib/v20190612/models.rb', line 10510 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,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def AllowedInputProtocols @AllowedInputProtocols end |
#AllowedOutputProtocols ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def AllowedOutputProtocols @AllowedOutputProtocols end |
#EventId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def EventId @EventId end |
#FlowId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def FlowId @FlowId end |
#FlowName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def FlowName @FlowName end |
#InputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def InputGroup @InputGroup end |
#MaxBandwidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def MaxBandwidth @MaxBandwidth end |
#OutputGroup ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def OutputGroup @OutputGroup end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def Region @Region end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10508 10509 10510 |
# File 'lib/v20190612/models.rb', line 10508 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 |
# File 'lib/v20190612/models.rb', line 10523 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 |