Class: TencentCloud::Waf::V20180125::DescribeUserLevelResponse

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

Overview

DescribeUserLevel返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(level = nil, requestid = nil) ⇒ DescribeUserLevelResponse

Returns a new instance of DescribeUserLevelResponse.



6615
6616
6617
6618
# File 'lib/v20180125/models.rb', line 6615

def initialize(level=nil, requestid=nil)
  @Level = level
  @RequestId = requestid
end

Instance Attribute Details

#LevelObject

Parameters:

  • Level:

    300:正常 400:严格

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6613
6614
6615
# File 'lib/v20180125/models.rb', line 6613

def Level
  @Level
end

#RequestIdObject

Parameters:

  • Level:

    300:正常 400:严格

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6613
6614
6615
# File 'lib/v20180125/models.rb', line 6613

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



6620
6621
6622
6623
# File 'lib/v20180125/models.rb', line 6620

def deserialize(params)
  @Level = params['Level']
  @RequestId = params['RequestId']
end