All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.api.model.zone.RichContentZone Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
package com.groupbyinc.api.model.zone;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 
 * Zone represents an area on the page that merchandisers have control over.  They can set the content
 * of a zone from the command center as part of a rule instantiation.  When a rule is triggered the zones are filled
 * in with the pertinent content.
 *
 * Zones contain the following properties:
 *
 * - `id`: an MD5 of the zone name
 * - `name`: the zone name
 * - `type`: `Rich_Content`: a string of HTML text.
 * 
 */
public class RichContentZone extends AbstractContentZone {

  @Override
  public Type getType() {
    return Type.Rich_Content;
  }

  @JsonProperty
  public String getRichContent() {
    return getContent();
  }

  public com.groupbyinc.api.model.zone.RichContentZone setRichContent(String content) {
    return setContent(content);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy