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

com.messagebird.objects.conversations.ConversationWebhookUpdateRequest 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 update webhook.
 */
public class ConversationWebhookUpdateRequest extends ConversationWebhookBaseRequest {
    private ConversationWebhookStatus status;

    public ConversationWebhookUpdateRequest(
            final ConversationWebhookStatus status,
            final String url,
            final List events
    ) {
        this.status = status;
        this.url = url;
        this.events = events;
    }

    public ConversationWebhookStatus getStatus() {
        return status;
    }

    public void setStatus(ConversationWebhookStatus status) {
        this.status = status;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy