Class: TencentCloud::Ess::V20201111::CreateFlowGroupByFilesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CreateFlowGroupByFilesRequest
- Defined in:
- lib/v20201111/models.rb
Overview
CreateFlowGroupByFiles请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
Returns the value of attribute Agent.
-
#FlowGroupInfos ⇒ Object
Returns the value of attribute FlowGroupInfos.
-
#FlowGroupName ⇒ Object
Returns the value of attribute FlowGroupName.
-
#FlowGroupOptions ⇒ Object
Returns the value of attribute FlowGroupOptions.
-
#Operator ⇒ Object
Returns the value of attribute Operator.
-
#UserFlowType ⇒ Object
Returns the value of attribute UserFlowType.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(operator = nil, flowgroupname = nil, flowgroupinfos = nil, agent = nil, flowgroupoptions = nil, userflowtype = nil) ⇒ CreateFlowGroupByFilesRequest
constructor
A new instance of CreateFlowGroupByFilesRequest.
Constructor Details
#initialize(operator = nil, flowgroupname = nil, flowgroupinfos = nil, agent = nil, flowgroupoptions = nil, userflowtype = nil) ⇒ CreateFlowGroupByFilesRequest
Returns a new instance of CreateFlowGroupByFilesRequest.
4367 4368 4369 4370 4371 4372 4373 4374 |
# File 'lib/v20201111/models.rb', line 4367 def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, agent=nil, =nil, userflowtype=nil) @Operator = operator @FlowGroupName = flowgroupname @FlowGroupInfos = flowgroupinfos @Agent = agent @FlowGroupOptions = @UserFlowType = userflowtype end |
Instance Attribute Details
#Agent ⇒ Object
Returns the value of attribute Agent.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def Agent @Agent end |
#FlowGroupInfos ⇒ Object
Returns the value of attribute FlowGroupInfos.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def FlowGroupInfos @FlowGroupInfos end |
#FlowGroupName ⇒ Object
Returns the value of attribute FlowGroupName.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def FlowGroupName @FlowGroupName end |
#FlowGroupOptions ⇒ Object
Returns the value of attribute FlowGroupOptions.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def FlowGroupOptions @FlowGroupOptions end |
#Operator ⇒ Object
Returns the value of attribute Operator.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def Operator @Operator end |
#UserFlowType ⇒ Object
Returns the value of attribute UserFlowType.
4365 4366 4367 |
# File 'lib/v20201111/models.rb', line 4365 def UserFlowType @UserFlowType end |
Instance Method Details
#deserialize(params) ⇒ Object
4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 |
# File 'lib/v20201111/models.rb', line 4376 def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @FlowGroupName = params['FlowGroupName'] unless params['FlowGroupInfos'].nil? @FlowGroupInfos = [] params['FlowGroupInfos'].each do |i| flowgroupinfo_tmp = FlowGroupInfo.new flowgroupinfo_tmp.deserialize(i) @FlowGroupInfos << flowgroupinfo_tmp end end unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end unless params['FlowGroupOptions'].nil? @FlowGroupOptions = FlowGroupOptions.new @FlowGroupOptions.deserialize(params['FlowGroupOptions']) end unless params['UserFlowType'].nil? @UserFlowType = UserFlowType.new @UserFlowType.deserialize(params['UserFlowType']) end end |