Class: TencentCloud::Waf::V20180125::ApiNameMethod

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

Overview

带有请求方式的apiname结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ApiNameObject

Parameters:

  • ApiName:

    api名称

  • Method:

    api请求方式

  • Count:

    api近30天请求数量

  • Label:

    api标签



1296
1297
1298
# File 'lib/v20180125/models.rb', line 1296

def ApiName
  @ApiName
end

#CountObject

Parameters:

  • ApiName:

    api名称

  • Method:

    api请求方式

  • Count:

    api近30天请求数量

  • Label:

    api标签



1296
1297
1298
# File 'lib/v20180125/models.rb', line 1296

def Count
  @Count
end

#LabelObject

Parameters:

  • ApiName:

    api名称

  • Method:

    api请求方式

  • Count:

    api近30天请求数量

  • Label:

    api标签



1296
1297
1298
# File 'lib/v20180125/models.rb', line 1296

def Label
  @Label
end

#MethodObject

Parameters:

  • ApiName:

    api名称

  • Method:

    api请求方式

  • Count:

    api近30天请求数量

  • Label:

    api标签



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