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

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

/**
 * Response object for the Channel type. It represents a platform that messages
 * can be sent and received on. A conversation can take place over multiple
 * channels simultaneously.
 */
public class ConversationChannel {

    private String id;
    private String name;
    // See: ConversationPlatformConstants
    private String platformId;
    private ConversationChannelStatus status;
    private Date createdDatetime;
    private Date updatedDatetime;

    public String getId() {
        return id;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public ConversationChannelStatus getStatus() {
        return status;
    }

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

    public Date getCreatedDatetime() {
        return createdDatetime;
    }

    public void setCreatedDatetime(final Date createdDatetime) {
        this.createdDatetime = createdDatetime;
    }

    public Date getUpdatedDatetime() {
        return updatedDatetime;
    }

    public void setUpdatedDatetime(final Date updatedDatetime) {
        this.updatedDatetime = updatedDatetime;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    @Override
    public String toString() {
        return "ConversationChannel{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", platformId=" + platformId +
                ", status=" + status +
                ", createdDatetime=" + createdDatetime +
                ", updatedDatetime=" + updatedDatetime +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy