Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed Jan 3, 2025
1 parent 23cde72 commit e5f5b84
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions xi/sdk/resellers/models/price_and_availability_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ def to_dict(self) -> Dict[str, Any]:
if _item_additional_attributes:
_items.append(_item_additional_attributes.to_dict())
_dict['additionalAttributes'] = _items
# set to None if show_available_discounts (nullable) is None
# and model_fields_set contains the field
if self.show_available_discounts is None and "show_available_discounts" in self.model_fields_set:
_dict['showAvailableDiscounts'] = None

# set to None if show_reserve_inventory_details (nullable) is None
# and model_fields_set contains the field
if self.show_reserve_inventory_details is None and "show_reserve_inventory_details" in self.model_fields_set:
_dict['showReserveInventoryDetails'] = None

# set to None if special_bid_number (nullable) is None
# and model_fields_set contains the field
if self.special_bid_number is None and "special_bid_number" in self.model_fields_set:
Expand Down

0 comments on commit e5f5b84

Please sign in to comment.