Class: TencentCloud::Bma::V20210624::DescribeBPProtectURLsResponse

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

Overview

DescribeBPProtectURLs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protecturlinfos = nil, totalcount = nil, requestid = nil) ⇒ DescribeBPProtectURLsResponse

Returns a new instance of DescribeBPProtectURLsResponse.



1082
1083
1084
1085
1086
# File 'lib/v20210624/models.rb', line 1082

def initialize(protecturlinfos=nil, totalcount=nil, requestid=nil)
  @ProtectURLInfos = protecturlinfos
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ProtectURLInfosObject

Parameters:

  • ProtectURLInfos:

    保护网址列表

  • TotalCount:

    总量

  • RequestId:

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



1080
1081
1082
# File 'lib/v20210624/models.rb', line 1080

def ProtectURLInfos
  @ProtectURLInfos
end

#RequestIdObject

Parameters:

  • ProtectURLInfos:

    保护网址列表

  • TotalCount:

    总量

  • RequestId:

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



1080
1081
1082
# File 'lib/v20210624/models.rb', line 1080

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • ProtectURLInfos:

    保护网址列表

  • TotalCount:

    总量

  • RequestId:

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



1080
1081
1082
# File 'lib/v20210624/models.rb', line 1080

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
# File 'lib/v20210624/models.rb', line 1088

def deserialize(params)
  unless params['ProtectURLInfos'].nil?
    @ProtectURLInfos = []
    params['ProtectURLInfos'].each do |i|
      protecturlinfo_tmp = ProtectURLInfo.new
      protecturlinfo_tmp.deserialize(i)
      @ProtectURLInfos << protecturlinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end