Class: TencentCloud::Dayu::V20180709::DescribeCCUrlAllowResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeCCUrlAllowResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeCCUrlAllow返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);.
-
#RecordList ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);.
-
#RequestId ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);.
-
#Total ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, total = nil, recordlist = nil, requestid = nil) ⇒ DescribeCCUrlAllowResponse
constructor
A new instance of DescribeCCUrlAllowResponse.
Constructor Details
#initialize(data = nil, total = nil, recordlist = nil, requestid = nil) ⇒ DescribeCCUrlAllowResponse
Returns a new instance of DescribeCCUrlAllowResponse.
3260 3261 3262 3263 3264 3265 |
# File 'lib/v20180709/models.rb', line 3260 def initialize(data=nil, total=nil, recordlist=nil, requestid=nil) @Data = data @Total = total @RecordList = recordlist @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);
3258 3259 3260 |
# File 'lib/v20180709/models.rb', line 3258 def Data @Data end |
#RecordList ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);
3258 3259 3260 |
# File 'lib/v20180709/models.rb', line 3258 def RecordList @RecordList end |
#RequestId ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);
3258 3259 3260 |
# File 'lib/v20180709/models.rb', line 3258 def RequestId @RequestId end |
#Total ⇒ Object
“Key”:“url”时,“Value”:值表示URL; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC的防护类型(HTTP防护或HTTPS域名防护);
3258 3259 3260 |
# File 'lib/v20180709/models.rb', line 3258 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 |
# File 'lib/v20180709/models.rb', line 3267 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @Data << keyvalue_tmp end end @Total = params['Total'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| keyvaluerecord_tmp = KeyValueRecord.new keyvaluerecord_tmp.deserialize(i) @RecordList << keyvaluerecord_tmp end end @RequestId = params['RequestId'] end |