brightsites_sdk.models¶
Brightsites API models.
Classes¶
Base model for all Brightsites models. |
|
Pagination metadata. |
|
A paginated response. |
|
Short view of an order. |
|
A list of orders. |
|
Sub options for a product. |
|
A list of sub options. |
|
A option for a product. |
|
A list of options for a product. |
|
Product category. |
|
Product vendor. |
|
Inventory information for a product. |
|
Short view of a product. |
|
A list of products. |
|
A product. |
Module Contents¶
- class brightsites_sdk.models._BaseModel(/, **data: Any)[source]¶
Bases:
pydantic.BaseModelBase model for all Brightsites models.
- class brightsites_sdk.models.PaginationMeta(/, **data: Any)[source]¶
Bases:
_BaseModelPagination metadata.
- class brightsites_sdk.models.PaginatedResponse(/, **data: Any)[source]¶
Bases:
_BaseModelA paginated response.
- meta: PaginationMeta[source]¶
- class brightsites_sdk.models.OrderSummary(/, **data: Any)[source]¶
Bases:
_BaseModelShort view of an order.
- created_at: datetime.datetime = None[source]¶
- updated_at: datetime.datetime = None[source]¶
- class brightsites_sdk.models.OrdersList(/, **data: Any)[source]¶
Bases:
PaginatedResponseA list of orders.
- orders: list[OrderSummary][source]¶
- class brightsites_sdk.models.ProductSubOption(/, **data: Any)[source]¶
Bases:
_BaseModelSub options for a product.
- class brightsites_sdk.models.ProductSubOptionsList(/, **data: Any)[source]¶
Bases:
_BaseModelA list of sub options.
- sub_options: list[ProductSubOption][source]¶
- class brightsites_sdk.models.ProductOption(/, **data: Any)[source]¶
Bases:
_BaseModelA option for a product.
- class brightsites_sdk.models.ProductOptionsList(/, **data: Any)[source]¶
Bases:
_BaseModelA list of options for a product.
- options: list[ProductOption][source]¶
- class brightsites_sdk.models.ProductCategory(/, **data: Any)[source]¶
Bases:
_BaseModelProduct category.
- class brightsites_sdk.models.ProductVendor(/, **data: Any)[source]¶
Bases:
_BaseModelProduct vendor.
- class brightsites_sdk.models.ProductInventory(/, **data: Any)[source]¶
Bases:
_BaseModelInventory information for a product.
- class brightsites_sdk.models.ProductSummary(/, **data: Any)[source]¶
Bases:
_BaseModelShort view of a product.
- created_at: datetime.datetime = None[source]¶
- updated_at: datetime.datetime = None[source]¶
- new_expires_at: datetime.datetime | None = None[source]¶
- categories: list[ProductCategory][source]¶
- vendors: list[ProductVendor][source]¶
- class brightsites_sdk.models.ProductsList(/, **data: Any)[source]¶
Bases:
PaginatedResponseA list of products.
- products: list[ProductSummary][source]¶
- class brightsites_sdk.models.Product(/, **data: Any)[source]¶
Bases:
_BaseModelA product.
- new_expires_at: datetime.datetime | None = None[source]¶
- categories: list[ProductCategory][source]¶
- vendors: list[ProductVendor][source]¶
- options: list[ProductOption][source]¶
- sub_options: list[ProductSubOption][source]¶
- inventories: list[ProductInventory][source]¶
- created_at: datetime.datetime | None = None[source]¶
- updated_at: datetime.datetime | None = None[source]¶