From e9aa2cb740e07c44ee18eb29dc08e42983b9ac24 Mon Sep 17 00:00:00 2001 From: Irene Perez del Corral Date: Thu, 4 Feb 2021 19:11:06 +0100 Subject: [PATCH] Added structured_value property to ProductConfigurationParameter --- connect/models/product_configuration_parameter.py | 3 +++ connect/models/schemas.py | 1 + 2 files changed, 4 insertions(+) diff --git a/connect/models/product_configuration_parameter.py b/connect/models/product_configuration_parameter.py index f86165b..a79623a 100644 --- a/connect/models/product_configuration_parameter.py +++ b/connect/models/product_configuration_parameter.py @@ -20,6 +20,9 @@ class ProductConfigurationParameter(BaseModel): value = None # type: str """ (str|None) Configuration parameter value. """ + structured_value = None # type: dict + """ (dict|None) Configuration parameter structured value. """ + parameter = None # type: Param """ (:py:class:`.Param`) Full representation of parameter. """ diff --git a/connect/models/schemas.py b/connect/models/schemas.py index e9ad096..01563fa 100644 --- a/connect/models/schemas.py +++ b/connect/models/schemas.py @@ -503,6 +503,7 @@ def make_object(self, data): class ProductConfigurationParameterSchema(BaseSchema): value = fields.Str() + structured_value = fields.Dict() parameter = fields.Nested(ParamSchema) marketplace = fields.Nested(MarketplaceSchema) item = fields.Nested(ItemSchema)