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.
24724 24725 24726 24727 24728 |
# File 'lib/v20180228/models.rb', line 24724 def initialize(filetampernum=nil, protectfiletype=nil, requestid=nil) @FileTamperNum = filetampernum @ProtectFileType = protectfiletype @RequestId = requestid end |
Instance Attribute Details
#FileTamperNum ⇒ Object
24722 24723 24724 |
# File 'lib/v20180228/models.rb', line 24722 def FileTamperNum @FileTamperNum end |
#ProtectFileType ⇒ Object
24722 24723 24724 |
# File 'lib/v20180228/models.rb', line 24722 def ProtectFileType @ProtectFileType end |
#RequestId ⇒ Object
24722 24723 24724 |
# File 'lib/v20180228/models.rb', line 24722 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 |
# File 'lib/v20180228/models.rb', line 24730 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 |