边映射类型三元组¶
源标签 -> [边标签] -> 目标标签
属性¶
名称 |
类型 |
描述 |
备注 |
|---|---|---|---|
边 |
字符串 |
[可选] |
|
source_vertex |
str |
[可选] |
|
destination_vertex |
str |
[可选] |
示例¶
from gs_interactive.models.edge_mapping_type_triplet import EdgeMappingTypeTriplet
# TODO update the JSON string below
json = "{}"
# create an instance of EdgeMappingTypeTriplet from a JSON string
edge_mapping_type_triplet_instance = EdgeMappingTypeTriplet.from_json(json)
# print the JSON string representation of the object
print EdgeMappingTypeTriplet.to_json()
# convert the object into a dict
edge_mapping_type_triplet_dict = edge_mapping_type_triplet_instance.to_dict()
# create an instance of EdgeMappingTypeTriplet from a dict
edge_mapping_type_triplet_form_dict = edge_mapping_type_triplet.from_dict(edge_mapping_type_triplet_dict)