Files
kittycad.py/kittycad/models/unit_length_format.py
Jess Frazelle 95f22c849d Update api spec (#52)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-27 14:50:50 -08:00

29 lines
639 B
Python

from enum import Enum
class UnitLengthFormat(str, Enum):
METER = 'meter'
MILLIMETER = 'millimeter'
CENTIMETER = 'centimeter'
KILOMETER = 'kilometer'
FOOT = 'foot'
MIL = 'mil'
INCH = 'inch'
MILE = 'mile'
NAUTICAL_MILE = 'nautical_mile'
ASTRONOMICAL_UNIT = 'astronomical_unit'
LIGHTYEAR = 'lightyear'
PARSEC = 'parsec'
ANGSTROM = 'angstrom'
CUBIT = 'cubit'
FATHOM = 'fathom'
CHAIN = 'chain'
FURLONG = 'furlong'
HAND = 'hand'
LEAGUE = 'league'
NAUTICAL_LEAGUE = 'nautical_league'
YARD = 'yard'
def __str__(self) -> str:
return str(self.value)