# This file was generated by liblab | https://liblab.com/

from .utils.json_map import JsonMap
from .base import BaseModel


@JsonMap({"code": "Code", "description": "Description"})
class DimWeightUnitOfMeasurement(BaseModel):
    """UnitOfMeasurement Container.

    :param code: Code representing the unit of measure associated with the package weight. Valid values: - LBS - Pounds - KGS - Kilograms.
    :type code: str
    :param description: Text description of the code representing the unit of measure associated with the package weight.  Length and value are not validated.
    :type description: str
    """

    def __init__(self, code: str, description: str):
        self.code = code
        self.description = description
