Class: TencentCloud::Waf::V20180125::TargetEntity
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::TargetEntity
- Defined in:
- lib/v20180125/models.rb
Overview
需要开启/关闭API安全的 实例+域名 组合实体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, domain = nil) ⇒ TargetEntity
constructor
A new instance of TargetEntity.
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
#Domain ⇒ Object
12721 12722 12723 |
# File 'lib/v20180125/models.rb', line 12721 def Domain @Domain end |
#InstanceId ⇒ Object
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 |