Class: TencentCloud::Mps::V20190612::CreateStreamLinkFlowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateStreamLinkFlowRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateStreamLinkFlow请求参数结构体
Instance Attribute Summary collapse
- #EventId ⇒ Object
- #FlowName ⇒ Object
- #InputGroup ⇒ Object
- #MaxBandwidth ⇒ Object
- #OutputGroup ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowname = nil, maxbandwidth = nil, inputgroup = nil, eventid = nil, outputgroup = nil) ⇒ CreateStreamLinkFlowRequest
constructor
A new instance of CreateStreamLinkFlowRequest.
Constructor Details
#initialize(flowname = nil, maxbandwidth = nil, inputgroup = nil, eventid = nil, outputgroup = nil) ⇒ CreateStreamLinkFlowRequest
Returns a new instance of CreateStreamLinkFlowRequest.
10014 10015 10016 10017 10018 10019 10020 |
# File 'lib/v20190612/models.rb', line 10014 def initialize(flowname=nil, maxbandwidth=nil, inputgroup=nil, eventid=nil, outputgroup=nil) @FlowName = flowname @MaxBandwidth = maxbandwidth @InputGroup = inputgroup @EventId = eventid @OutputGroup = outputgroup end |
Instance Attribute Details
#EventId ⇒ Object
10012 10013 10014 |
# File 'lib/v20190612/models.rb', line 10012 def EventId @EventId end |
#FlowName ⇒ Object
10012 10013 10014 |
# File 'lib/v20190612/models.rb', line 10012 def FlowName @FlowName end |
#InputGroup ⇒ Object
10012 10013 10014 |
# File 'lib/v20190612/models.rb', line 10012 def InputGroup @InputGroup end |
#MaxBandwidth ⇒ Object
10012 10013 10014 |
# File 'lib/v20190612/models.rb', line 10012 def MaxBandwidth @MaxBandwidth end |
#OutputGroup ⇒ Object
10012 10013 10014 |
# File 'lib/v20190612/models.rb', line 10012 def OutputGroup @OutputGroup end |
Instance Method Details
#deserialize(params) ⇒ Object
10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 |
# File 'lib/v20190612/models.rb', line 10022 def deserialize(params) @FlowName = params['FlowName'] @MaxBandwidth = params['MaxBandwidth'] unless params['InputGroup'].nil? @InputGroup = [] params['InputGroup'].each do |i| createinput_tmp = CreateInput.new createinput_tmp.deserialize(i) @InputGroup << createinput_tmp end end @EventId = params['EventId'] unless params['OutputGroup'].nil? @OutputGroup = [] params['OutputGroup'].each do |i| createoutputinfo_tmp = CreateOutputInfo.new createoutputinfo_tmp.deserialize(i) @OutputGroup << createoutputinfo_tmp end end end |