Class: TencentCloud::Acp::V20220105::DescribeFileTicketRequest

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

Overview

DescribeFileTicket请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source = nil, platform = nil) ⇒ DescribeFileTicketRequest

Returns a new instance of DescribeFileTicketRequest.



400
401
402
403
# File 'lib/v20220105/models.rb', line 400

def initialize(source=nil, platform=nil)
  @Source = source
  @Platform = platform
end

Instance Attribute Details

#PlatformObject

Parameters:

  • Source:

    任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android), 3:app漏洞扫描;

  • Platform:

    应用平台, 0:android, 1:ios, 2:小程序



398
399
400
# File 'lib/v20220105/models.rb', line 398

def Platform
  @Platform
end

#SourceObject

Parameters:

  • Source:

    任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android), 3:app漏洞扫描;

  • Platform:

    应用平台, 0:android, 1:ios, 2:小程序



398
399
400
# File 'lib/v20220105/models.rb', line 398

def Source
  @Source
end

Instance Method Details

#deserialize(params) ⇒ Object



405
406
407
408
# File 'lib/v20220105/models.rb', line 405

def deserialize(params)
  @Source = params['Source']
  @Platform = params['Platform']
end