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