Class: TencentCloud::Waf::V20180125::ApiNameMethod
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ApiNameMethod
- Defined in:
- lib/v20180125/models.rb
Overview
带有请求方式的apiname结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(apiname = nil, method = nil, count = nil, label = nil) ⇒ ApiNameMethod
constructor
A new instance of ApiNameMethod.
Constructor Details
#initialize(apiname = nil, method = nil, count = nil, label = nil) ⇒ ApiNameMethod
Returns a new instance of ApiNameMethod.
1298 1299 1300 1301 1302 1303 |
# File 'lib/v20180125/models.rb', line 1298 def initialize(apiname=nil, method=nil, count=nil, label=nil) @ApiName = apiname @Method = method @Count = count @Label = label end |
Instance Attribute Details
#ApiName ⇒ Object
1296 1297 1298 |
# File 'lib/v20180125/models.rb', line 1296 def ApiName @ApiName end |
#Count ⇒ Object
1296 1297 1298 |
# File 'lib/v20180125/models.rb', line 1296 def Count @Count end |
#Label ⇒ Object
1296 1297 1298 |
# File 'lib/v20180125/models.rb', line 1296 def Label @Label end |
#Method ⇒ Object
1296 1297 1298 |
# File 'lib/v20180125/models.rb', line 1296 def Method @Method end |
Instance Method Details
#deserialize(params) ⇒ Object
1305 1306 1307 1308 1309 1310 |
# File 'lib/v20180125/models.rb', line 1305 def deserialize(params) @ApiName = params['ApiName'] @Method = params['Method'] @Count = params['Count'] @Label = params['Label'] end |