Class: TencentCloud::Waf::V20180125::DescribeAutoDenyIPResponse

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

Overview

DescribeAutoDenyIP返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeAutoDenyIPResponse

Returns a new instance of DescribeAutoDenyIPResponse.



4177
4178
4179
4180
# File 'lib/v20180125/models.rb', line 4177

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    查询IP封禁状态返回结果

  • RequestId:

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



4175
4176
4177
# File 'lib/v20180125/models.rb', line 4175

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    查询IP封禁状态返回结果

  • RequestId:

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



4175
4176
4177
# File 'lib/v20180125/models.rb', line 4175

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4182
4183
4184
4185
4186
4187
4188
# File 'lib/v20180125/models.rb', line 4182

def deserialize(params)
  unless params['Data'].nil?
    @Data = IpHitItemsData.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end