lib/v20190411/models.rb in tencentcloud-sdk-tkgdq-3.0.590 vs lib/v20190411/models.rb in tencentcloud-sdk-tkgdq-3.0.591
- old
+ new
@@ -21,11 +21,11 @@
class DescribeEntityRequest < TencentCloud::Common::AbstractModel
# @param EntityName: 实体名称
# @type EntityName: String
attr_accessor :EntityName
-
+
def initialize(entityname=nil)
@EntityName = entityname
end
def deserialize(params)
@@ -39,11 +39,11 @@
# @type Content: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Content, :RequestId
-
+
def initialize(content=nil, requestid=nil)
@Content = content
@RequestId = requestid
end
@@ -59,11 +59,11 @@
# @type LeftEntityName: String
# @param RightEntityName: 输入第二个实体
# @type RightEntityName: String
attr_accessor :LeftEntityName, :RightEntityName
-
+
def initialize(leftentityname=nil, rightentityname=nil)
@LeftEntityName = leftentityname
@RightEntityName = rightentityname
end
@@ -79,11 +79,11 @@
# @type Content: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Content, :RequestId
-
+
def initialize(content=nil, requestid=nil)
@Content = content
@RequestId = requestid
end
@@ -104,11 +104,11 @@
class DescribeTripleRequest < TencentCloud::Common::AbstractModel
# @param TripleCondition: 三元组查询条件
# @type TripleCondition: String
attr_accessor :TripleCondition
-
+
def initialize(triplecondition=nil)
@TripleCondition = triplecondition
end
def deserialize(params)
@@ -122,11 +122,11 @@
# @type Content: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Content, :RequestId
-
+
def initialize(content=nil, requestid=nil)
@Content = content
@RequestId = requestid
end
@@ -151,11 +151,11 @@
# @type Subject: Array
# @param Relation: 实体关系查询返回的关系名称
# @type Relation: String
attr_accessor :Object, :Subject, :Relation
-
+
def initialize(object=nil, subject=nil, relation=nil)
@Object = object
@Subject = subject
@Relation = relation
end
@@ -189,11 +189,11 @@
# @type Name: Array
# @param Popular: object对应popular值
# @type Popular: Array
attr_accessor :Id, :Name, :Popular
-
+
def initialize(id=nil, name=nil, popular=nil)
@Id = id
@Name = name
@Popular = popular
end
@@ -213,11 +213,11 @@
# @type Name: Array
# @param Popular: Subject对应popular
# @type Popular: Array
attr_accessor :Id, :Name, :Popular
-
+
def initialize(id=nil, name=nil, popular=nil)
@Id = id
@Name = name
@Popular = popular
end
@@ -239,10 +239,10 @@
# @type Order: Integer
# @param Popular: 实体流行度
# @type Popular: Integer
attr_accessor :Id, :Name, :Order, :Popular
-
+
def initialize(id=nil, name=nil, order=nil, popular=nil)
@Id = id
@Name = name
@Order = order
@Popular = popular