Skip to content

Constraints

Source code in docs_src/capo_marketplace_discovery/types/constraints.py
class Constraints(TypedDict, closed=True):
    multiple_dimension_selection: "capo_marketplace_discovery.types.rate_card_constraint_type.RateCardConstraintType"
    """<p>Specifies whether you can select multiple dimensions. This field has one of the following values:</p> <dl> <dt>Allowed</dt> <dd> <p>You can select more than one dimension.</p> </dd> <dt>Disallowed</dt> <dd> <p>You can select only one dimension.</p> </dd> </dl>"""
    quantity_configuration: "capo_marketplace_discovery.types.rate_card_constraint_type.RateCardConstraintType"
    """<p>Specifies whether you can configure quantities. This field has one of the following values:</p> <dl> <dt>Allowed</dt> <dd> <p>You can set the quantity of each dimension.</p> </dd> <dt>Disallowed</dt> <dd> <p>You cannot change the quantity.</p> </dd> </dl>"""

multiple_dimension_selection instance-attribute

multiple_dimension_selection: RateCardConstraintType

Specifies whether you can select multiple dimensions. This field has one of the following values:

Allowed

You can select more than one dimension.

Disallowed

You can select only one dimension.

quantity_configuration instance-attribute

quantity_configuration: RateCardConstraintType

Specifies whether you can configure quantities. This field has one of the following values:

Allowed

You can set the quantity of each dimension.

Disallowed

You cannot change the quantity.