toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (boostControlIds != null) 'boostControlIds': boostControlIds!,
  if (displayName != null) 'displayName': displayName!,
  if (diversityLevel != null) 'diversityLevel': diversityLevel!,
  if (diversityType != null) 'diversityType': diversityType!,
  if (doNotAssociateControlIds != null)
    'doNotAssociateControlIds': doNotAssociateControlIds!,
  if (dynamicFacetSpec != null) 'dynamicFacetSpec': dynamicFacetSpec!,
  if (enableCategoryFilterLevel != null)
    'enableCategoryFilterLevel': enableCategoryFilterLevel!,
  if (facetControlIds != null) 'facetControlIds': facetControlIds!,
  if (filterControlIds != null) 'filterControlIds': filterControlIds!,
  if (ignoreControlIds != null) 'ignoreControlIds': ignoreControlIds!,
  if (ignoreRecsDenylist != null) 'ignoreRecsDenylist': ignoreRecsDenylist!,
  if (modelId != null) 'modelId': modelId!,
  if (name != null) 'name': name!,
  if (onewaySynonymsControlIds != null)
    'onewaySynonymsControlIds': onewaySynonymsControlIds!,
  if (personalizationSpec != null)
    'personalizationSpec': personalizationSpec!,
  if (priceRerankingLevel != null)
    'priceRerankingLevel': priceRerankingLevel!,
  if (redirectControlIds != null) 'redirectControlIds': redirectControlIds!,
  if (replacementControlIds != null)
    'replacementControlIds': replacementControlIds!,
  if (solutionTypes != null) 'solutionTypes': solutionTypes!,
  if (twowaySynonymsControlIds != null)
    'twowaySynonymsControlIds': twowaySynonymsControlIds!,
};