lib/v20181213/models.rb in tencentcloud-sdk-ecc-3.0.590 vs lib/v20181213/models.rb in tencentcloud-sdk-ecc-3.0.591
- old
+ new
@@ -25,11 +25,11 @@
# @type Score: Float
# @param Percentage: 维度分数占比
# @type Percentage: Float
attr_accessor :Name, :Score, :Percentage
-
+
def initialize(name=nil, score=nil, percentage=nil)
@Name = name
@Score = score
@Percentage = percentage
end
@@ -54,11 +54,11 @@
# @param SessionId: 图像识别唯一标识,一次识别一个 SessionId
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SessionId: String
attr_accessor :Content, :CorrectData, :TaskId, :SessionId
-
+
def initialize(content=nil, correctdata=nil, taskid=nil, sessionid=nil)
@Content = content
@CorrectData = correctdata
@TaskId = taskid
@SessionId = sessionid
@@ -85,11 +85,11 @@
# @type Comment: String
# @param SentenceComments: 句子点评
# @type SentenceComments: Array
attr_accessor :Score, :ScoreCat, :Comment, :SentenceComments
-
+
def initialize(score=nil, scorecat=nil, comment=nil, sentencecomments=nil)
@Score = score
@ScoreCat = scorecat
@Comment = comment
@SentenceComments = sentencecomments
@@ -137,11 +137,11 @@
# @type ModelContent: String
# @param IsAsync: 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
# @type IsAsync: Integer
attr_accessor :Image, :InputType, :EccAppid, :SessionId, :ServerType, :Title, :Grade, :Requirement, :ModelTitle, :ModelContent, :IsAsync
-
+
def initialize(image=nil, inputtype=nil, eccappid=nil, sessionid=nil, servertype=nil, title=nil, grade=nil, requirement=nil, modeltitle=nil, modelcontent=nil, isasync=nil)
@Image = image
@InputType = inputtype
@EccAppid = eccappid
@SessionId = sessionid
@@ -175,11 +175,11 @@
# @type Data: :class:`Tencentcloud::Ecc.v20181213.models.CompostionContext`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Data, :RequestId
-
+
def initialize(data=nil, requestid=nil)
@Data = data
@RequestId = requestid
end
@@ -198,11 +198,11 @@
# @type TaskId: String
# @param EccAppid: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数(暂时无需传入)。
# @type EccAppid: String
attr_accessor :TaskId, :EccAppid
-
+
def initialize(taskid=nil, eccappid=nil)
@TaskId = taskid
@EccAppid = eccappid
end
@@ -224,11 +224,11 @@
# @type Status: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Content, :CorrectData, :Status, :RequestId
-
+
def initialize(content=nil, correctdata=nil, status=nil, requestid=nil)
@Content = content
@CorrectData = correctdata
@Status = status
@RequestId = requestid
@@ -265,11 +265,11 @@
# @type IsAsync: Integer
# @param SessionId: 图像识别唯一标识,一次识别一个 SessionId。当传入此前识别接口使用过的 SessionId,则本次批改按图像批改价格收费;如使用了识别接口且本次没有传入 SessionId,则需要加取文本批改的费用;如果直接使用文本批改接口,则只收取文本批改的费用
# @type SessionId: String
attr_accessor :Content, :Title, :Grade, :Requirement, :ModelTitle, :ModelContent, :EccAppid, :IsAsync, :SessionId
-
+
def initialize(content=nil, title=nil, grade=nil, requirement=nil, modeltitle=nil, modelcontent=nil, eccappid=nil, isasync=nil, sessionid=nil)
@Content = content
@Title = title
@Grade = grade
@Requirement = requirement
@@ -303,11 +303,11 @@
# @type TaskId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Data, :TaskId, :RequestId
-
+
def initialize(data=nil, taskid=nil, requestid=nil)
@Data = data
@TaskId = taskid
@RequestId = requestid
end
@@ -346,11 +346,11 @@
# @type ModelContent: String
# @param IsAsync: 异步模式标识,0:同步模式,1:异步模式。默认为同步模式
# @type IsAsync: Integer
attr_accessor :Image, :InputType, :EccAppid, :SessionId, :ServerType, :Title, :Grade, :Requirement, :ModelTitle, :ModelContent, :IsAsync
-
+
def initialize(image=nil, inputtype=nil, eccappid=nil, sessionid=nil, servertype=nil, title=nil, grade=nil, requirement=nil, modeltitle=nil, modelcontent=nil, isasync=nil)
@Image = image
@InputType = inputtype
@EccAppid = eccappid
@SessionId = sessionid
@@ -384,11 +384,11 @@
# @type Data: :class:`Tencentcloud::Ecc.v20181213.models.CompostionContext`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Data, :RequestId
-
+
def initialize(data=nil, requestid=nil)
@Data = data
@RequestId = requestid
end
@@ -405,11 +405,11 @@
class ErrorCoordinate < TencentCloud::Common::AbstractModel
# @param Coordinate: 维度单词坐标
# @type Coordinate: Array
attr_accessor :Coordinate
-
+
def initialize(coordinate=nil)
@Coordinate = coordinate
end
def deserialize(params)
@@ -431,11 +431,11 @@
# @type Score: Float
# @param Percentage: 维度分数占比
# @type Percentage: Float
attr_accessor :Words, :Sentences, :Structure, :Content, :Score, :Percentage
-
+
def initialize(words=nil, sentences=nil, structure=nil, content=nil, score=nil, percentage=nil)
@Words = words
@Sentences = sentences
@Structure = structure
@Content = content
@@ -471,11 +471,11 @@
# @type Suggestions: Array
# @param Sentence: 句子信息
# @type Sentence: :class:`Tencentcloud::Ecc.v20181213.models.SentenceItem`
attr_accessor :Suggestions, :Sentence
-
+
def initialize(suggestions=nil, sentence=nil)
@Suggestions = suggestions
@Sentence = sentence
end
@@ -503,11 +503,11 @@
# @type ParaID: Integer
# @param SentenceID: 句子id
# @type SentenceID: Integer
attr_accessor :Sentence, :ParaID, :SentenceID
-
+
def initialize(sentence=nil, paraid=nil, sentenceid=nil)
@Sentence = sentence
@ParaID = paraid
@SentenceID = sentenceid
end
@@ -535,10 +535,10 @@
# @type ErrorPosition: Array
# @param ErrorCoordinates: 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]
# @type ErrorCoordinates: Array
attr_accessor :Type, :ErrorType, :Origin, :Replace, :Message, :ErrorPosition, :ErrorCoordinates
-
+
def initialize(type=nil, errortype=nil, origin=nil, replace=nil, message=nil, errorposition=nil, errorcoordinates=nil)
@Type = type
@ErrorType = errortype
@Origin = origin
@Replace = replace