lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.941 vs lib/v20200910/models.rb in tencentcloud-sdk-mrs-3.0.942
- old
+ new
@@ -604,10 +604,13 @@
# @param Pinyin: 拼音
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Pinyin: String
attr_accessor :Text, :GenericName, :BarndName, :EnName, :Pinyin
+ extend Gem::Deprecate
+ deprecate :BarndName, :none, 2024, 11
+ deprecate :BarndName=, :none, 2024, 11
def initialize(text=nil, genericname=nil, barndname=nil, enname=nil, pinyin=nil)
@Text = text
@GenericName = genericname
@BarndName = barndname
@@ -1962,26 +1965,33 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type EnName: String
# @param Pinyin: 拼音
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Pinyin: String
+ # @param BrandName: 品牌名
+ # @type BrandName: String
- attr_accessor :Text, :GenericName, :BarndName, :EnName, :Pinyin
+ attr_accessor :Text, :GenericName, :BarndName, :EnName, :Pinyin, :BrandName
+ extend Gem::Deprecate
+ deprecate :BarndName, :none, 2024, 11
+ deprecate :BarndName=, :none, 2024, 11
- def initialize(text=nil, genericname=nil, barndname=nil, enname=nil, pinyin=nil)
+ def initialize(text=nil, genericname=nil, barndname=nil, enname=nil, pinyin=nil, brandname=nil)
@Text = text
@GenericName = genericname
@BarndName = barndname
@EnName = enname
@Pinyin = pinyin
+ @BrandName = brandname
end
def deserialize(params)
@Text = params['Text']
@GenericName = params['GenericName']
@BarndName = params['BarndName']
@EnName = params['EnName']
@Pinyin = params['Pinyin']
+ @BrandName = params['BrandName']
end
end
# 药物过量
class ChemicalProductInfoOverdose < TencentCloud::Common::AbstractModel