Class: TencentCloud::Tav::V20190118::ScanFileRequest

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

Overview

ScanFile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, sample = nil, md5 = nil) ⇒ ScanFileRequest

Returns a new instance of ScanFileRequest.



182
183
184
185
186
# File 'lib/v20190118/models.rb', line 182

def initialize(key=nil, sample=nil, md5=nil)
  @Key = key
  @Sample = sample
  @Md5 = md5
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    购买服务后获得的授权信息,用于保证请求有效性

  • Sample:

    文件下载url地址

  • Md5:

    文件的md5值



180
181
182
# File 'lib/v20190118/models.rb', line 180

def Key
  @Key
end

#Md5Object

Parameters:

  • Key:

    购买服务后获得的授权信息,用于保证请求有效性

  • Sample:

    文件下载url地址

  • Md5:

    文件的md5值



180
181
182
# File 'lib/v20190118/models.rb', line 180

def Md5
  @Md5
end

#SampleObject

Parameters:

  • Key:

    购买服务后获得的授权信息,用于保证请求有效性

  • Sample:

    文件下载url地址

  • Md5:

    文件的md5值



180
181
182
# File 'lib/v20190118/models.rb', line 180

def Sample
  @Sample
end

Instance Method Details

#deserialize(params) ⇒ Object



188
189
190
191
192
# File 'lib/v20190118/models.rb', line 188

def deserialize(params)
  @Key = params['Key']
  @Sample = params['Sample']
  @Md5 = params['Md5']
end