Class ConstructorVariation

java.lang.Object
io.constructor.client.ConstructorVariation

public class ConstructorVariation extends Object
Constructor.io Variation
  • Constructor Details

  • Method Details

    • toMap

      public Map<String,Object> toMap()
      Returns the HashMap form of a variation for converting to JSON
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getSuggestedScore

      public Float getSuggestedScore()
      Returns:
      the suggestedScore
    • setSuggestedScore

      public void setSuggestedScore(Float suggestedScore)
      Parameters:
      suggestedScore - the suggestedScore to set
    • getKeywords

      public List<String> getKeywords()
      Returns:
      the keywords
    • setKeywords

      public void setKeywords(List<String> keywords)
      Parameters:
      keywords - the keywords to set
    • getUrl

      public String getUrl()
      Returns:
      the url
    • setUrl

      public void setUrl(String url)
      Parameters:
      url - the url to set
    • getImageUrl

      public String getImageUrl()
      Returns:
      the imageUrl
    • setImageUrl

      public void setImageUrl(String imageUrl)
      Parameters:
      imageUrl - the imageUrl to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getItemId

      public String getItemId()
      Returns:
      the itemId
    • setItemId

      public void setItemId(String itemId)
      Parameters:
      itemId - the itemId to set
    • getFacets

      public Map<String,List<Object>> getFacets()
      Returns:
      the facets
    • setFacets

      public void setFacets(Map<String,List<Object>> facets)
      Parameters:
      facets - the facets to set
    • getMetadata

      public Map<String,Object> getMetadata()
      Returns:
      the metadata
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
      Parameters:
      metadata - the metadata to set
    • getGroupIds

      public List<String> getGroupIds()
      Returns:
      the groupIds
    • setGroupIds

      public void setGroupIds(List<String> groupIds)
      Parameters:
      groupIds - the groupIds to set