Class: TencentCloud::Yunjing::V20180228::DescribeBashRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeBashRulesRequest
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBashRules请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>.
-
#Limit ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>.
-
#Offset ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>.
-
#Type ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeBashRulesRequest
constructor
A new instance of DescribeBashRulesRequest.
Constructor Details
#initialize(type = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeBashRulesRequest
1815 1816 1817 1818 1819 1820 |
# File 'lib/v20180228/models.rb', line 1815 def initialize(type=nil, limit=nil, offset=nil, filters=nil) @Type = type @Limit = limit @Offset = offset @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>
1813 1814 1815 |
# File 'lib/v20180228/models.rb', line 1813 def Filters @Filters end |
#Limit ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>
1813 1814 1815 |
# File 'lib/v20180228/models.rb', line 1813 def Limit @Limit end |
#Offset ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>
1813 1814 1815 |
# File 'lib/v20180228/models.rb', line 1813 def Offset @Offset end |
#Type ⇒ Object
<li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>
1813 1814 1815 |
# File 'lib/v20180228/models.rb', line 1813 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/v20180228/models.rb', line 1822 def deserialize(params) @Type = params['Type'] @Limit = params['Limit'] @Offset = params['Offset'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |