Class: TencentCloud::Cwp::V20180228::DescribeWebPageProtectStatResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeWebPageProtectStatResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeWebPageProtectStat返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filetampernum = nil, protectfiletype = nil, requestid = nil) ⇒ DescribeWebPageProtectStatResponse
constructor
A new instance of DescribeWebPageProtectStatResponse.
Constructor Details
#initialize(filetampernum = nil, protectfiletype = nil, requestid = nil) ⇒ DescribeWebPageProtectStatResponse
Returns a new instance of DescribeWebPageProtectStatResponse.
25109 25110 25111 25112 25113 |
# File 'lib/v20180228/models.rb', line 25109 def initialize(filetampernum=nil, protectfiletype=nil, requestid=nil) @FileTamperNum = filetampernum @ProtectFileType = protectfiletype @RequestId = requestid end |
Instance Attribute Details
#FileTamperNum ⇒ Object
25107 25108 25109 |
# File 'lib/v20180228/models.rb', line 25107 def FileTamperNum @FileTamperNum end |
#ProtectFileType ⇒ Object
25107 25108 25109 |
# File 'lib/v20180228/models.rb', line 25107 def ProtectFileType @ProtectFileType end |
#RequestId ⇒ Object
25107 25108 25109 |
# File 'lib/v20180228/models.rb', line 25107 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
25115 25116 25117 25118 25119 25120 25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 |
# File 'lib/v20180228/models.rb', line 25115 def deserialize(params) unless params['FileTamperNum'].nil? @FileTamperNum = [] params['FileTamperNum'].each do |i| protectstat_tmp = ProtectStat.new protectstat_tmp.deserialize(i) @FileTamperNum << protectstat_tmp end end unless params['ProtectFileType'].nil? @ProtectFileType = [] params['ProtectFileType'].each do |i| protectstat_tmp = ProtectStat.new protectstat_tmp.deserialize(i) @ProtectFileType << protectstat_tmp end end @RequestId = params['RequestId'] end |