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

com.messagebird.objects.voicecalls.VoiceCallFlowRequest 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.voicecalls;

import java.util.List;
import java.util.Date;
import com.messagebird.objects.*;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Contains writable values for VoiceCallFlow objects.
 */
public class VoiceCallFlowRequest {

 
    private String id;
    private String title;
    private boolean record;
    private List steps;
    
    @JsonProperty("default")
    private boolean defaultCall;

    public VoiceCallFlowRequest(String id)
    {
        this.id = id;
    }

    public VoiceCallFlowRequest() 
    {
    }

    public String getId() {
        return id;
    }

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

    @Deprecated
    public String getTitle() {
        return title;
    }

    @Deprecated
    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isRecord() {
        return record;
    }

    public void setRecord(boolean record) {
        this.record = record;
    }

    public List getSteps() {
        return steps;
    }

    public void setSteps(List steps) {
        this.steps = steps;
    }

    public boolean isDefaultCall() {
        return defaultCall;
    }

    public void setDefaultCall(boolean defaultCall) {
        this.defaultCall = defaultCall;
    }

    @Override
    public String toString() {
        return "VoiceCallFlowRequest{" +
                "title='" + title + '\'' +
                ", record=" + record +
                ", steps=" + steps +
                ", default=" + defaultCall +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy