Class: TencentCloud::Cdn::V20180606::DescribeUrlViolationsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeUrlViolationsResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeUrlViolations返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UrlRecordList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(urlrecordlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeUrlViolationsResponse
constructor
A new instance of DescribeUrlViolationsResponse.
Constructor Details
#initialize(urlrecordlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeUrlViolationsResponse
Returns a new instance of DescribeUrlViolationsResponse.
6179 6180 6181 6182 6183 |
# File 'lib/v20180606/models.rb', line 6179 def initialize(urlrecordlist=nil, totalcount=nil, requestid=nil) @UrlRecordList = urlrecordlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6177 6178 6179 |
# File 'lib/v20180606/models.rb', line 6177 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6177 6178 6179 |
# File 'lib/v20180606/models.rb', line 6177 def TotalCount @TotalCount end |
#UrlRecordList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6177 6178 6179 |
# File 'lib/v20180606/models.rb', line 6177 def UrlRecordList @UrlRecordList end |
Instance Method Details
#deserialize(params) ⇒ Object
6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 |
# File 'lib/v20180606/models.rb', line 6185 def deserialize(params) unless params['UrlRecordList'].nil? @UrlRecordList = [] params['UrlRecordList'].each do |i| violationurl_tmp = ViolationUrl.new violationurl_tmp.deserialize(i) @UrlRecordList << violationurl_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |