Class: TencentCloud::Waf::V20180125::DescribeAntiFakeUrlResponse

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

Overview

DescribeAntiFakeUrl返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeAntiFakeUrlResponse

Returns a new instance of DescribeAntiFakeUrlResponse.



3485
3486
3487
3488
3489
# File 'lib/v20180125/models.rb', line 3485

def initialize(total=nil, list=nil, requestid=nil)
  @Total = total
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • Total:

    总数

  • List:

    信息

  • RequestId:

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



3483
3484
3485
# File 'lib/v20180125/models.rb', line 3483

def List
  @List
end

#RequestIdObject

Parameters:

  • Total:

    总数

  • List:

    信息

  • RequestId:

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



3483
3484
3485
# File 'lib/v20180125/models.rb', line 3483

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    总数

  • List:

    信息

  • RequestId:

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



3483
3484
3485
# File 'lib/v20180125/models.rb', line 3483

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
# File 'lib/v20180125/models.rb', line 3491

def deserialize(params)
  @Total = params['Total']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      cacheurlitem_tmp = CacheUrlItem.new
      cacheurlitem_tmp.deserialize(i)
      @List << cacheurlitem_tmp
    end
  end
  @RequestId = params['RequestId']
end