Class: TencentCloud::Tics::V20181115::DescribeThreatInfoRequest

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

Overview

DescribeThreatInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, type = nil, option = nil) ⇒ DescribeThreatInfoRequest

Returns a new instance of DescribeThreatInfoRequest.



306
307
308
309
310
# File 'lib/v20181115/models.rb', line 306

def initialize(key=nil, type=nil, option=nil)
  @Key = key
  @Type = type
  @Option = option
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    查询对象,域名或IP

  • Type:

    查询类型,当前取值为domain或ip

  • Option:

    附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。



304
305
306
# File 'lib/v20181115/models.rb', line 304

def Key
  @Key
end

#OptionObject

Parameters:

  • Key:

    查询对象,域名或IP

  • Type:

    查询类型,当前取值为domain或ip

  • Option:

    附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。



304
305
306
# File 'lib/v20181115/models.rb', line 304

def Option
  @Option
end

#TypeObject

Parameters:

  • Key:

    查询对象,域名或IP

  • Type:

    查询类型,当前取值为domain或ip

  • Option:

    附加字段,是否返回上下文。当为0时不返回上下文,当为1时返回上下文。



304
305
306
# File 'lib/v20181115/models.rb', line 304

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



312
313
314
315
316
# File 'lib/v20181115/models.rb', line 312

def deserialize(params)
  @Key = params['Key']
  @Type = params['Type']
  @Option = params['Option']
end