创建边类型¶
属性¶
名称 |
类型 |
描述 |
备注 |
|---|---|---|---|
type_name |
str |
[可选] |
|
vertex_type_pair_relations |
[可选] |
||
属性 |
[可选] |
示例¶
from gs_interactive.models.create_edge_type import CreateEdgeType
# TODO update the JSON string below
json = "{}"
# create an instance of CreateEdgeType from a JSON string
create_edge_type_instance = CreateEdgeType.from_json(json)
# print the JSON string representation of the object
print CreateEdgeType.to_json()
# convert the object into a dict
create_edge_type_dict = create_edge_type_instance.to_dict()
# create an instance of CreateEdgeType from a dict
create_edge_type_form_dict = create_edge_type.from_dict(create_edge_type_dict)