Class: TencentCloud::Cfw::V20190904::SetNatFwEipRequest

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

Overview

SetNatFwEip请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operationtype = nil, cfwinstance = nil, eiplist = nil) ⇒ SetNatFwEipRequest

Returns a new instance of SetNatFwEipRequest.



10323
10324
10325
10326
10327
# File 'lib/v20190904/models.rb', line 10323

def initialize(operationtype=nil, cfwinstance=nil, eiplist=nil)
  @OperationType = operationtype
  @CfwInstance = cfwinstance
  @EipList = eiplist
end

Instance Attribute Details

#CfwInstanceObject

Parameters:

  • bind:绑定eip;unbind:解绑eip;newAdd:新增防火墙弹性公网ip

  • 防火墙实例id

  • 当OperationType 为bind或unbind操作时,使用该字段。



10321
10322
10323
# File 'lib/v20190904/models.rb', line 10321

def CfwInstance
  @CfwInstance
end

#EipListObject

Parameters:

  • bind:绑定eip;unbind:解绑eip;newAdd:新增防火墙弹性公网ip

  • 防火墙实例id

  • 当OperationType 为bind或unbind操作时,使用该字段。



10321
10322
10323
# File 'lib/v20190904/models.rb', line 10321

def EipList
  @EipList
end

#OperationTypeObject

Parameters:

  • bind:绑定eip;unbind:解绑eip;newAdd:新增防火墙弹性公网ip

  • 防火墙实例id

  • 当OperationType 为bind或unbind操作时,使用该字段。



10321
10322
10323
# File 'lib/v20190904/models.rb', line 10321

def OperationType
  @OperationType
end

Instance Method Details

#deserialize(params) ⇒ Object



10329
10330
10331
10332
10333
# File 'lib/v20190904/models.rb', line 10329

def deserialize(params)
  @OperationType = params['OperationType']
  @CfwInstance = params['CfwInstance']
  @EipList = params['EipList']
end