Class: TencentCloud::Waf::V20180125::ModifyHostFlowModeRequest

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

Overview

ModifyHostFlowMode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, domainid = nil, flowmode = nil, instanceid = nil) ⇒ ModifyHostFlowModeRequest

Returns a new instance of ModifyHostFlowModeRequest.



10570
10571
10572
10573
10574
10575
# File 'lib/v20180125/models.rb', line 10570

def initialize(domain=nil, domainid=nil, flowmode=nil, instanceid=nil)
  @Domain = domain
  @DomainId = domainid
  @FlowMode = flowmode
  @InstanceID = instanceid
end

Instance Attribute Details

#DomainObject

0:镜像模式(默认) 1:清洗模式

Parameters:

  • Domain:

    域名

  • DomainId:

    域名ID

  • FlowMode:

    WAF流量模式。

  • InstanceID:

    实例ID



10568
10569
10570
# File 'lib/v20180125/models.rb', line 10568

def Domain
  @Domain
end

#DomainIdObject

0:镜像模式(默认) 1:清洗模式

Parameters:

  • Domain:

    域名

  • DomainId:

    域名ID

  • FlowMode:

    WAF流量模式。

  • InstanceID:

    实例ID



10568
10569
10570
# File 'lib/v20180125/models.rb', line 10568

def DomainId
  @DomainId
end

#FlowModeObject

0:镜像模式(默认) 1:清洗模式

Parameters:

  • Domain:

    域名

  • DomainId:

    域名ID

  • FlowMode:

    WAF流量模式。

  • InstanceID:

    实例ID



10568
10569
10570
# File 'lib/v20180125/models.rb', line 10568

def FlowMode
  @FlowMode
end

#InstanceIDObject

0:镜像模式(默认) 1:清洗模式

Parameters:

  • Domain:

    域名

  • DomainId:

    域名ID

  • FlowMode:

    WAF流量模式。

  • InstanceID:

    实例ID



10568
10569
10570
# File 'lib/v20180125/models.rb', line 10568

def InstanceID
  @InstanceID
end

Instance Method Details

#deserialize(params) ⇒ Object



10577
10578
10579
10580
10581
10582
# File 'lib/v20180125/models.rb', line 10577

def deserialize(params)
  @Domain = params['Domain']
  @DomainId = params['DomainId']
  @FlowMode = params['FlowMode']
  @InstanceID = params['InstanceID']
end