Class: TencentCloud::Mrs::V20200910::DrugInstructionObjectResponse

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

Overview

DrugInstructionObject返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chemicalproductinfo = nil, biologicalproductinfo = nil, requestid = nil) ⇒ DrugInstructionObjectResponse

Returns a new instance of DrugInstructionObjectResponse.



2861
2862
2863
2864
2865
# File 'lib/v20200910/models.rb', line 2861

def initialize(chemicalproductinfo=nil, biologicalproductinfo=nil, requestid=nil)
  @ChemicalProductInfo = chemicalproductinfo
  @BiologicalProductInfo = biologicalproductinfo
  @RequestId = requestid
end

Instance Attribute Details

#BiologicalProductInfoObject

Parameters:

  • ChemicalProductInfo:

    药品说明书消息定义

  • BiologicalProductInfo:

    预防用生物制品说明书

  • RequestId:

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



2859
2860
2861
# File 'lib/v20200910/models.rb', line 2859

def BiologicalProductInfo
  @BiologicalProductInfo
end

#ChemicalProductInfoObject

Parameters:

  • ChemicalProductInfo:

    药品说明书消息定义

  • BiologicalProductInfo:

    预防用生物制品说明书

  • RequestId:

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



2859
2860
2861
# File 'lib/v20200910/models.rb', line 2859

def ChemicalProductInfo
  @ChemicalProductInfo
end

#RequestIdObject

Parameters:

  • ChemicalProductInfo:

    药品说明书消息定义

  • BiologicalProductInfo:

    预防用生物制品说明书

  • RequestId:

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



2859
2860
2861
# File 'lib/v20200910/models.rb', line 2859

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
# File 'lib/v20200910/models.rb', line 2867

def deserialize(params)
  unless params['ChemicalProductInfo'].nil?
    @ChemicalProductInfo = ChemicalProductInfo.new
    @ChemicalProductInfo.deserialize(params['ChemicalProductInfo'])
  end
  unless params['BiologicalProductInfo'].nil?
    @BiologicalProductInfo = BiologicalProductInfo.new
    @BiologicalProductInfo.deserialize(params['BiologicalProductInfo'])
  end
  @RequestId = params['RequestId']
end