Class: TencentCloud::Bma::V20210624::DescribeBPProtectURLsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20210624::DescribeBPProtectURLsResponse
- Defined in:
- lib/v20210624/models.rb
Overview
DescribeBPProtectURLs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protecturlinfos = nil, totalcount = nil, requestid = nil) ⇒ DescribeBPProtectURLsResponse
constructor
A new instance of DescribeBPProtectURLsResponse.
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
#ProtectURLInfos ⇒ Object
1080 1081 1082 |
# File 'lib/v20210624/models.rb', line 1080 def ProtectURLInfos @ProtectURLInfos end |
#RequestId ⇒ Object
1080 1081 1082 |
# File 'lib/v20210624/models.rb', line 1080 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |