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

com.messagebird.objects.conversations.ConversationWebhookCreateRequest 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;

/**
 * Request object used to create webhooks.
 */
public class ConversationWebhookCreateRequest extends ConversationWebhookBaseRequest{

    private String channelId;

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

    @Override
    protected String getRequestName() {
        return "ConversationWebhookCreateRequest";
    }

    @Override
    protected String getStringRepresentationOfExtraParameters() {
        return "channelId='" + channelId;
    }

    public String getChannelId() {
        return channelId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy