Class: TencentCloud::Dayu::V20180709::DescribeCCIpAllowDenyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeCCIpAllowDenyResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeCCIpAllowDeny返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);.
-
#RecordList ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);.
-
#RequestId ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);.
-
#Total ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “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) ⇒ DescribeCCIpAllowDenyResponse
constructor
A new instance of DescribeCCIpAllowDenyResponse.
Constructor Details
#initialize(data = nil, total = nil, recordlist = nil, requestid = nil) ⇒ DescribeCCIpAllowDenyResponse
Returns a new instance of DescribeCCIpAllowDenyResponse.
3021 3022 3023 3024 3025 3026 |
# File 'lib/v20180709/models.rb', line 3021 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”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);
3019 3020 3021 |
# File 'lib/v20180709/models.rb', line 3019 def Data @Data end |
#RecordList ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);
3019 3020 3021 |
# File 'lib/v20180709/models.rb', line 3019 def RecordList @RecordList end |
#RequestId ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);
3019 3020 3021 |
# File 'lib/v20180709/models.rb', line 3019 def RequestId @RequestId end |
#Total ⇒ Object
“Key”:“ip”时,“Value”:值表示ip; “Key”:“domain”时, “Value”:值表示域名; “Key”:“type”时,“Value”:值表示黑白名单类型(white为白名单,block为黑名单); “Key”:“protocol”时,“Value”:值表示CC防护的协议(http或https);
3019 3020 3021 |
# File 'lib/v20180709/models.rb', line 3019 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 |
# File 'lib/v20180709/models.rb', line 3028 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 |