Class: TencentCloud::Cws::V20180312::CreateSitesScansRequest

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

Overview

CreateSitesScans请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(siteids = nil, scannertype = nil, ratelimit = nil) ⇒ CreateSitesScansRequest

Returns a new instance of CreateSitesScansRequest.



134
135
136
137
138
# File 'lib/v20180312/models.rb', line 134

def initialize(siteids=nil, scannertype=nil, ratelimit=nil)
  @SiteIds = siteids
  @ScannerType = scannertype
  @RateLimit = ratelimit
end

Instance Attribute Details

#RateLimitObject

Parameters:

  • SiteIds:

    站点的ID列表

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求



132
133
134
# File 'lib/v20180312/models.rb', line 132

def RateLimit
  @RateLimit
end

#ScannerTypeObject

Parameters:

  • SiteIds:

    站点的ID列表

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求



132
133
134
# File 'lib/v20180312/models.rb', line 132

def ScannerType
  @ScannerType
end

#SiteIdsObject

Parameters:

  • SiteIds:

    站点的ID列表

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求



132
133
134
# File 'lib/v20180312/models.rb', line 132

def SiteIds
  @SiteIds
end

Instance Method Details

#deserialize(params) ⇒ Object



140
141
142
143
144
# File 'lib/v20180312/models.rb', line 140

def deserialize(params)
  @SiteIds = params['SiteIds']
  @ScannerType = params['ScannerType']
  @RateLimit = params['RateLimit']
end