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

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

Go to download

The MessageBird API provides an API to the MessageBird SMS, Chat and Voice services located at https://www.messagebird.com.

There is a newer version: 6.2.5
Show newest version
package com.messagebird.objects.conversations;

import java.util.List;

/**
 * Request object used to create webhooks.
 */
public class ConversationWebhookRequest {

    private String channelId;
    private String url;
    private List events;

    public ConversationWebhookRequest(
            final String channelId,
            final String url,
            final List events
    ) {
        this.channelId = channelId;
        this.url = url;
        this.events = events;
    }

    public ConversationWebhookRequest() {
        //
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List getEvents() {
        return events;
    }

    public void setEvents(List events) {
        this.events = events;
    }

    @Override
    public String toString() {
        return "ConversationWebhookRequest{" +
                "channelId='" + channelId + '\'' +
                ", url='" + url + '\'' +
                ", events=" + events +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy