Class: TencentCloud::Waf::V20180125::TargetEntity

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

Overview

需要开启/关闭API安全的 实例+域名 组合实体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, domain = nil) ⇒ TargetEntity

Returns a new instance of TargetEntity.



12723
12724
12725
12726
# File 'lib/v20180125/models.rb', line 12723

def initialize(instanceid=nil, domain=nil)
  @InstanceId = instanceid
  @Domain = domain
end

Instance Attribute Details

#DomainObject

Parameters:

  • InstanceId:

    实例ID

  • Domain:

    域名



12721
12722
12723
# File 'lib/v20180125/models.rb', line 12721

def Domain
  @Domain
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • Domain:

    域名



12721
12722
12723
# File 'lib/v20180125/models.rb', line 12721

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



12728
12729
12730
12731
# File 'lib/v20180125/models.rb', line 12728

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Domain = params['Domain']
end