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

com.springml.salesforce.wave.model.chatter.Header Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version

package com.springml.salesforce.wave.model.chatter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class Header {

    private Object isRichText;
    private List messageSegments = new ArrayList();
    private String text;
    private Map additionalProperties = new HashMap();

    /**
     *
     * @return
     *     The isRichText
     */
    public Object getIsRichText() {
        return isRichText;
    }

    /**
     *
     * @param isRichText
     *     The isRichText
     */
    public void setIsRichText(Object isRichText) {
        this.isRichText = isRichText;
    }

    /**
     *
     * @return
     *     The messageSegments
     */
    public List getMessageSegments() {
        return messageSegments;
    }

    /**
     *
     * @param messageSegments
     *     The messageSegments
     */
    public void setMessageSegments(List messageSegments) {
        this.messageSegments = messageSegments;
    }

    /**
     *
     * @return
     *     The text
     */
    public String getText() {
        return text;
    }

    /**
     *
     * @param text
     *     The text
     */
    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy