Class: TencentCloud::Cwp::V20180228::DescribeMalwareWhiteListAffectListRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMalwareWhiteListAffectListRequest
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMalwareWhiteListAffectList请求参数结构体
Instance Attribute Summary collapse
-
#By ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
. -
#Filters ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
. -
#Limit ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
. -
#Offset ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
. -
#Order ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
. -
#WhiteListId ⇒ Object
- HostIp - String - 是否必填:否 - 主机ip查询
- FileName - String - 是否必填:否 - 文件名称查询
- FileDirectory - String - 是否必填:否 - 文件目录查询
- FileExtension - String - 是否必填:否 - 文件后缀查询
- Mode - String - 是否必填:否 - 规则类型 0 MD5,1自定义
- Md5 - String - 是否必填:否 - MD5查询
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(whitelistid = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeMalwareWhiteListAffectListRequest
constructor
A new instance of DescribeMalwareWhiteListAffectListRequest.
Constructor Details
#initialize(whitelistid = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeMalwareWhiteListAffectListRequest
Returns a new instance of DescribeMalwareWhiteListAffectListRequest.
18192 18193 18194 18195 18196 18197 18198 18199 |
# File 'lib/v20180228/models.rb', line 18192 def initialize(whitelistid=nil, offset=nil, limit=nil, filters=nil, order=nil, by=nil) @WhiteListId = whitelistid @Offset = offset @Limit = limit @Filters = filters @Order = order @By = by end |
Instance Attribute Details
#By ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def By @By end |
#Filters ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def Filters @Filters end |
#Limit ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def Limit @Limit end |
#Offset ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def Offset @Offset end |
#Order ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def Order @Order end |
#WhiteListId ⇒ Object
18190 18191 18192 |
# File 'lib/v20180228/models.rb', line 18190 def WhiteListId @WhiteListId end |
Instance Method Details
#deserialize(params) ⇒ Object
18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 |
# File 'lib/v20180228/models.rb', line 18201 def deserialize(params) @WhiteListId = params['WhiteListId'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Order = params['Order'] @By = params['By'] end |