com.messagebird.objects.conversations.ConversationWebhookUpdateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messagebird-api Show documentation
Show all versions of messagebird-api Show documentation
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;
}
}