from ideastatica_rcs_api.models.segment2_d import Segment2D
# TODO update the JSON string below
json = "{}"
# create an instance of Segment2D from a JSON string
segment2_d_instance = Segment2D.from_json(json)
# print the JSON string representation of the object
print(segment2_d_instance.to_json())
# convert the object into a dict
segment2_d_dict = segment2_d_instance.to_dict()
# create an instance of Segment2D from a dict
segment2_d_from_dict = Segment2D.from_dict(segment2_d_dict)