CreateVertexType¶
Properties¶
| Name | Type | Description | Notes | 
|---|---|---|---|
| type_name | str | ||
| primary_keys | List[str] | ||
| x_csr_params | [optional] | ||
| properties | |||
| description | str | [optional] | 
Example¶
from graphscope.flex.rest.models.create_vertex_type import CreateVertexType
# TODO update the JSON string below
json = "{}"
# create an instance of CreateVertexType from a JSON string
create_vertex_type_instance = CreateVertexType.from_json(json)
# print the JSON string representation of the object
print(CreateVertexType.to_json())
# convert the object into a dict
create_vertex_type_dict = create_vertex_type_instance.to_dict()
# create an instance of CreateVertexType from a dict
create_vertex_type_from_dict = CreateVertexType.from_dict(create_vertex_type_dict)