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

com.messagebird.objects.conversations.MessageComponent Maven / Gradle / Ivy

Go to download

The MessageBird API provides a API to the MessageBird SMS and voicemail services located at https://www.messagebird.com.

The newest version!
package com.messagebird.objects.conversations;

import java.util.List;

public class MessageComponent {

    private MessageComponentType type;
    private String sub_type;
    private int index;
    private List parameters;
    private int card_index;
    private List cards;
    private List components;

    public void setType(MessageComponentType type) {
        this.type = type;
    }

    public MessageComponentType getType() {
        return type;
    }

    public String getSub_type() {
        return sub_type;
    }

    public void setSub_type(String sub_type) {
        this.sub_type = sub_type;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public List getParameters() {
        return parameters;
    }

    public void setParameters(List parameters) {
        this.parameters = parameters;
    }

    public void setCards(List cards) {
        this.cards = cards;
    }

    public List getCards() {
        return cards;
    }

    public int getCard_index() {
        return card_index;
    }

    public void setCard_index(int card_index) {
        this.card_index = card_index;
    }

    public List getComponents() {
        return components;
    }

    public void setComponents(List components) {
        this.components = components;
    }

    @Override
    public String toString() {
        return "MessageComponent{" +
                "type='" + type + '\'' +
                ", sub_type='" + sub_type + '\'' +
                ", index=" + index + '\'' +
                ", parameters=" + parameters + '\'' +
                ", components=" + components + '\'' +
                ", cards=" + cards +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy