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

com.groupbyinc.api.model.zone.ContentZone 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`: `Content`: a string of text.
 *
 * 
 */
public class ContentZone extends AbstractContentZone {

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

  @JsonProperty
  public String getContent() {
    return super.getContent();
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy