lib/v20180321/models.rb in tencentcloud-sdk-tmt-3.0.815 vs lib/v20180321/models.rb in tencentcloud-sdk-tmt-3.0.833

- old
+ new

@@ -127,11 +127,10 @@ # @type FileData: String # @param Message: 错误提示 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Message: String # @param Progress: 翻译进度 - # 注意:此字段可能返回 null,表示取不到有效值。 # @type Progress: Integer attr_accessor :TaskId, :Status, :FileData, :Message, :Progress def initialize(taskid=nil, status=nil, filedata=nil, message=nil, progress=nil) @@ -397,9 +396,14 @@ # @type Mode: String # @param TransType: 该参数已废弃 # @type TransType: Integer attr_accessor :SessionUuid, :Source, :Target, :AudioFormat, :Seq, :IsEnd, :Data, :ProjectId, :Mode, :TransType + extend Gem::Deprecate + deprecate :Mode, :none, 2024, 5 + deprecate :Mode=, :none, 2024, 5 + deprecate :TransType, :none, 2024, 5 + deprecate :TransType=, :none, 2024, 5 def initialize(sessionuuid=nil, source=nil, target=nil, audioformat=nil, seq=nil, isend=nil, data=nil, projectid=nil, mode=nil, transtype=nil) @SessionUuid = sessionuuid @Source = source @Target = target