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.



9513
9514
9515
9516
9517
# File 'lib/v20190904/models.rb', line 9513

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

Instance Attribute Details

#CfwInstanceObject

Parameters:

  • OperationType:

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

  • CfwInstance:

    防火墙实例id

  • EipList:

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



9511
9512
9513
# File 'lib/v20190904/models.rb', line 9511

def CfwInstance
  @CfwInstance
end

#EipListObject

Parameters:

  • OperationType:

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

  • CfwInstance:

    防火墙实例id

  • EipList:

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



9511
9512
9513
# File 'lib/v20190904/models.rb', line 9511

def EipList
  @EipList
end

#OperationTypeObject

Parameters:

  • OperationType:

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

  • CfwInstance:

    防火墙实例id

  • EipList:

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



9511
9512
9513
# File 'lib/v20190904/models.rb', line 9511

def OperationType
  @OperationType
end

Instance Method Details

#deserialize(params) ⇒ Object



9519
9520
9521
9522
9523
# File 'lib/v20190904/models.rb', line 9519

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