Class: TencentCloud::Ess::V20201111::CreateFlowGroupByFilesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201111/models.rb

Overview

CreateFlowGroupByFiles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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, flowgroupoptions=nil, userflowtype=nil)
  @Operator = operator
  @FlowGroupName = flowgroupname
  @FlowGroupInfos = flowgroupinfos
  @Agent = agent
  @FlowGroupOptions = flowgroupoptions
  @UserFlowType = userflowtype
end

Instance Attribute Details

#AgentObject

Returns the value of attribute Agent.



4365
4366
4367
# File 'lib/v20201111/models.rb', line 4365

def Agent
  @Agent
end

#FlowGroupInfosObject

Returns the value of attribute FlowGroupInfos.



4365
4366
4367
# File 'lib/v20201111/models.rb', line 4365

def FlowGroupInfos
  @FlowGroupInfos
end

#FlowGroupNameObject

Returns the value of attribute FlowGroupName.



4365
4366
4367
# File 'lib/v20201111/models.rb', line 4365

def FlowGroupName
  @FlowGroupName
end

#FlowGroupOptionsObject

Returns the value of attribute FlowGroupOptions.



4365
4366
4367
# File 'lib/v20201111/models.rb', line 4365

def FlowGroupOptions
  @FlowGroupOptions
end

#OperatorObject

Returns the value of attribute Operator.



4365
4366
4367
# File 'lib/v20201111/models.rb', line 4365

def Operator
  @Operator
end

#UserFlowTypeObject

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