# generated by datamodel-codegen:
#   filename:  Symbology/DownloadProductCatalogResponse.json

from __future__ import annotations

from typing import List

from msgspec import Struct

from .. import definitions


class DownloadProductCatalogResponse(Struct, omit_defaults=True):
    product_catalog: List[definitions.ProductCatalogInfo]

    # Constructor that takes all field titles as arguments for convenience
    @classmethod
    def new(
        cls,
        product_catalog: List[definitions.ProductCatalogInfo],
    ):
        return cls(
            product_catalog,
        )

    def __str__(self) -> str:
        return f"DownloadProductCatalogResponse(product_catalog={self.product_catalog})"
