# 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 ShipmentShipmentIndicationType(BaseModel):
    """Container to hold shipment indication type.

    :param code: Code for Shipment Indication Type. Valid values: - 01 - Hold for Pickup at UPS Access Point - 02 - UPS Access Point™ Delivery
    :type code: str
    :param description: Description for Shipment Indication Type.  Length is not Validated., defaults to None
    :type description: str, optional
    """

    def __init__(self, code: str, description: str = None):
        self.code = code
        if description is not None:
            self.description = description
