GetEdgeType¶
Properties¶
| Name | Type | Description | Notes | 
|---|---|---|---|
| type_name | str | ||
| vertex_type_pair_relations | |||
| directed | bool | [optional] | |
| primary_keys | List[str] | [optional] | |
| type_id | int | [optional] | |
| properties | [optional] | ||
| description | str | [optional] | 
Example¶
from graphscope.flex.rest.models.get_edge_type import GetEdgeType
# TODO update the JSON string below
json = "{}"
# create an instance of GetEdgeType from a JSON string
get_edge_type_instance = GetEdgeType.from_json(json)
# print the JSON string representation of the object
print(GetEdgeType.to_json())
# convert the object into a dict
get_edge_type_dict = get_edge_type_instance.to_dict()
# create an instance of GetEdgeType from a dict
get_edge_type_from_dict = GetEdgeType.from_dict(get_edge_type_dict)