Class: TencentCloud::Cfw::V20190904::ExpandCfwVerticalRequest

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

Overview

ExpandCfwVertical请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fwtype = nil, width = nil, cfwinstance = nil, elasticswitch = nil, elasticbandwidth = nil, tags = nil) ⇒ ExpandCfwVerticalRequest



5747
5748
5749
5750
5751
5752
5753
5754
# File 'lib/v20190904/models.rb', line 5747

def initialize(fwtype=nil, width=nil, cfwinstance=nil, elasticswitch=nil, elasticbandwidth=nil, tags=nil)
  @FwType = fwtype
  @Width = width
  @CfwInstance = cfwinstance
  @ElasticSwitch = elasticswitch
  @ElasticBandwidth = elasticbandwidth
  @Tags = tags
end

Instance Attribute Details

#CfwInstanceObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def CfwInstance
  @CfwInstance
end

#ElasticBandwidthObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def ElasticBandwidth
  @ElasticBandwidth
end

#ElasticSwitchObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def ElasticSwitch
  @ElasticSwitch
end

#FwTypeObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def FwType
  @FwType
end

#TagsObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def Tags
  @Tags
end

#WidthObject



5745
5746
5747
# File 'lib/v20190904/models.rb', line 5745

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
# File 'lib/v20190904/models.rb', line 5756

def deserialize(params)
  @FwType = params['FwType']
  @Width = params['Width']
  @CfwInstance = params['CfwInstance']
  @ElasticSwitch = params['ElasticSwitch']
  @ElasticBandwidth = params['ElasticBandwidth']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      taginfo_tmp = TagInfo.new
      taginfo_tmp.deserialize(i)
      @Tags << taginfo_tmp
    end
  end
end