Class: TencentCloud::Cwp::V20180228::DescribeWebPageProtectStatResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeWebPageProtectStat返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#FileTamperNumObject

Parameters:

  • FileTamperNum:

    文件篡改信息

  • ProtectFileType:

    防护文件分类信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



25107
25108
25109
# File 'lib/v20180228/models.rb', line 25107

def FileTamperNum
  @FileTamperNum
end

#ProtectFileTypeObject

Parameters:

  • FileTamperNum:

    文件篡改信息

  • ProtectFileType:

    防护文件分类信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



25107
25108
25109
# File 'lib/v20180228/models.rb', line 25107

def ProtectFileType
  @ProtectFileType
end

#RequestIdObject

Parameters:

  • FileTamperNum:

    文件篡改信息

  • ProtectFileType:

    防护文件分类信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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