Class: TencentCloud::Cpdp::V20190820::QueryDeclareResult

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

Overview

成功申报材料查询结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, code = nil) ⇒ QueryDeclareResult

Returns a new instance of QueryDeclareResult.



16731
16732
16733
16734
# File 'lib/v20190820/models.rb', line 16731

def initialize(data=nil, code=nil)
  @Data = data
  @Code = code
end

Instance Attribute Details

#CodeObject

Parameters:

  • Data:

    成功申报材料查询数据

  • Code:

    错误码



16729
16730
16731
# File 'lib/v20190820/models.rb', line 16729

def Code
  @Code
end

#DataObject

Parameters:

  • Data:

    成功申报材料查询数据

  • Code:

    错误码



16729
16730
16731
# File 'lib/v20190820/models.rb', line 16729

def Data
  @Data
end

Instance Method Details

#deserialize(params) ⇒ Object



16736
16737
16738
16739
16740
16741
16742
# File 'lib/v20190820/models.rb', line 16736

def deserialize(params)
  unless params['Data'].nil?
    @Data = QueryDeclareData.new
    @Data.deserialize(params['Data'])
  end
  @Code = params['Code']
end