Class: TencentCloud::Cws::V20180312::DescribeVulsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeVulsRequest
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeVuls请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(siteid = nil, monitorid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeVulsRequest
constructor
A new instance of DescribeVulsRequest.
Constructor Details
#initialize(siteid = nil, monitorid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeVulsRequest
Returns a new instance of DescribeVulsRequest.
702 703 704 705 706 707 708 |
# File 'lib/v20180312/models.rb', line 702 def initialize(siteid=nil, monitorid=nil, filters=nil, offset=nil, limit=nil) @SiteId = siteid @MonitorId = monitorid @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#Filters ⇒ Object
700 701 702 |
# File 'lib/v20180312/models.rb', line 700 def Filters @Filters end |
#Limit ⇒ Object
700 701 702 |
# File 'lib/v20180312/models.rb', line 700 def Limit @Limit end |
#MonitorId ⇒ Object
700 701 702 |
# File 'lib/v20180312/models.rb', line 700 def MonitorId @MonitorId end |
#Offset ⇒ Object
700 701 702 |
# File 'lib/v20180312/models.rb', line 700 def Offset @Offset end |
#SiteId ⇒ Object
700 701 702 |
# File 'lib/v20180312/models.rb', line 700 def SiteId @SiteId end |
Instance Method Details
#deserialize(params) ⇒ Object
710 711 712 713 714 715 716 717 718 719 720 721 722 723 |
# File 'lib/v20180312/models.rb', line 710 def deserialize(params) @SiteId = params['SiteId'] @MonitorId = params['MonitorId'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Offset = params['Offset'] @Limit = params['Limit'] end |