/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.productadmin.search;
import java.util.List;
import java.util.HashMap;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
/**
* Properties of synonyms and their relations via keys and lists to determine search results.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class SynonymDefinition implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Key used for metadata defined for objects, including extensible attributes, custom attributes associated with a shipping provider, and search synonyms definitions. This content may be user-defined depending on the object and usage.For search synonym definitions, refer to [Synonym Expansion Types](https://www.mozu.com/docs/Developer/api-guides/search-settings.htm#synonym_expansion_types) for more information about the key usage.
*/
protected String key;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
/**
* The unique identifier of the synonym.
*/
protected Integer synonymId;
public Integer getSynonymId() {
return this.synonymId;
}
public void setSynonymId(Integer synonymId) {
this.synonymId = synonymId;
}
/**
* A list of comma seperated synonyms. If you do not specify a , uses a two way expansion. Refer to [Synonym Expansion Types](https://www.mozu.com/docs/Developer/api-guides/search-settings.htm#synonym_expansion_types) for more information.
*/
protected List<String> synonyms;
public List<String> getSynonyms() {
return this.synonyms;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
}