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

com.bandwidth.voice.models.ConferenceCallback Maven / Gradle / Ivy

Go to download

The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs

There is a newer version: 12.0.1
Show newest version
/*
 * BandwidthLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

package com.bandwidth.voice.models;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSetter;

/**
 * This is a model class for ConferenceCallback type.
 */
public class ConferenceCallback {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String conferenceId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String name;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String eventType;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String eventTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String tag;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String callId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String to;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String from;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String accountId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String recordingId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer channels;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String startTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String endTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String duration;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String fileFormat;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String mediaUrl;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String status;

    /**
     * Default constructor.
     */
    public ConferenceCallback() {
    }

    /**
     * Initialization constructor.
     * @param  conferenceId  String value for conferenceId.
     * @param  name  String value for name.
     * @param  eventType  String value for eventType.
     * @param  eventTime  String value for eventTime.
     * @param  tag  String value for tag.
     * @param  callId  String value for callId.
     * @param  to  String value for to.
     * @param  from  String value for from.
     * @param  accountId  String value for accountId.
     * @param  recordingId  String value for recordingId.
     * @param  channels  Integer value for channels.
     * @param  startTime  String value for startTime.
     * @param  endTime  String value for endTime.
     * @param  duration  String value for duration.
     * @param  fileFormat  String value for fileFormat.
     * @param  mediaUrl  String value for mediaUrl.
     * @param  status  String value for status.
     */
    public ConferenceCallback(
            String conferenceId,
            String name,
            String eventType,
            String eventTime,
            String tag,
            String callId,
            String to,
            String from,
            String accountId,
            String recordingId,
            Integer channels,
            String startTime,
            String endTime,
            String duration,
            String fileFormat,
            String mediaUrl,
            String status) {
        this.conferenceId = conferenceId;
        this.name = name;
        this.eventType = eventType;
        this.eventTime = eventTime;
        this.tag = tag;
        this.callId = callId;
        this.to = to;
        this.from = from;
        this.accountId = accountId;
        this.recordingId = recordingId;
        this.channels = channels;
        this.startTime = startTime;
        this.endTime = endTime;
        this.duration = duration;
        this.fileFormat = fileFormat;
        this.mediaUrl = mediaUrl;
        this.status = status;
    }

    /**
     * Getter for ConferenceId.
     * @return Returns the String
     */
    @JsonGetter("conferenceId")
    public String getConferenceId() {
        return conferenceId;
    }

    /**
     * Setter for ConferenceId.
     * @param conferenceId Value for String
     */
    @JsonSetter("conferenceId")
    public void setConferenceId(String conferenceId) {
        this.conferenceId = conferenceId;
    }

    /**
     * Getter for Name.
     * @return Returns the String
     */
    @JsonGetter("name")
    public String getName() {
        return name;
    }

    /**
     * Setter for Name.
     * @param name Value for String
     */
    @JsonSetter("name")
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter for EventType.
     * @return Returns the String
     */
    @JsonGetter("eventType")
    public String getEventType() {
        return eventType;
    }

    /**
     * Setter for EventType.
     * @param eventType Value for String
     */
    @JsonSetter("eventType")
    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    /**
     * Getter for EventTime.
     * @return Returns the String
     */
    @JsonGetter("eventTime")
    public String getEventTime() {
        return eventTime;
    }

    /**
     * Setter for EventTime.
     * @param eventTime Value for String
     */
    @JsonSetter("eventTime")
    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    /**
     * Getter for Tag.
     * @return Returns the String
     */
    @JsonGetter("tag")
    public String getTag() {
        return tag;
    }

    /**
     * Setter for Tag.
     * @param tag Value for String
     */
    @JsonSetter("tag")
    public void setTag(String tag) {
        this.tag = tag;
    }

    /**
     * Getter for CallId.
     * @return Returns the String
     */
    @JsonGetter("callId")
    public String getCallId() {
        return callId;
    }

    /**
     * Setter for CallId.
     * @param callId Value for String
     */
    @JsonSetter("callId")
    public void setCallId(String callId) {
        this.callId = callId;
    }

    /**
     * Getter for To.
     * @return Returns the String
     */
    @JsonGetter("to")
    public String getTo() {
        return to;
    }

    /**
     * Setter for To.
     * @param to Value for String
     */
    @JsonSetter("to")
    public void setTo(String to) {
        this.to = to;
    }

    /**
     * Getter for From.
     * @return Returns the String
     */
    @JsonGetter("from")
    public String getFrom() {
        return from;
    }

    /**
     * Setter for From.
     * @param from Value for String
     */
    @JsonSetter("from")
    public void setFrom(String from) {
        this.from = from;
    }

    /**
     * Getter for AccountId.
     * @return Returns the String
     */
    @JsonGetter("accountId")
    public String getAccountId() {
        return accountId;
    }

    /**
     * Setter for AccountId.
     * @param accountId Value for String
     */
    @JsonSetter("accountId")
    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    /**
     * Getter for RecordingId.
     * @return Returns the String
     */
    @JsonGetter("recordingId")
    public String getRecordingId() {
        return recordingId;
    }

    /**
     * Setter for RecordingId.
     * @param recordingId Value for String
     */
    @JsonSetter("recordingId")
    public void setRecordingId(String recordingId) {
        this.recordingId = recordingId;
    }

    /**
     * Getter for Channels.
     * @return Returns the Integer
     */
    @JsonGetter("channels")
    public Integer getChannels() {
        return channels;
    }

    /**
     * Setter for Channels.
     * @param channels Value for Integer
     */
    @JsonSetter("channels")
    public void setChannels(Integer channels) {
        this.channels = channels;
    }

    /**
     * Getter for StartTime.
     * @return Returns the String
     */
    @JsonGetter("startTime")
    public String getStartTime() {
        return startTime;
    }

    /**
     * Setter for StartTime.
     * @param startTime Value for String
     */
    @JsonSetter("startTime")
    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    /**
     * Getter for EndTime.
     * @return Returns the String
     */
    @JsonGetter("endTime")
    public String getEndTime() {
        return endTime;
    }

    /**
     * Setter for EndTime.
     * @param endTime Value for String
     */
    @JsonSetter("endTime")
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    /**
     * Getter for Duration.
     * @return Returns the String
     */
    @JsonGetter("duration")
    public String getDuration() {
        return duration;
    }

    /**
     * Setter for Duration.
     * @param duration Value for String
     */
    @JsonSetter("duration")
    public void setDuration(String duration) {
        this.duration = duration;
    }

    /**
     * Getter for FileFormat.
     * @return Returns the String
     */
    @JsonGetter("fileFormat")
    public String getFileFormat() {
        return fileFormat;
    }

    /**
     * Setter for FileFormat.
     * @param fileFormat Value for String
     */
    @JsonSetter("fileFormat")
    public void setFileFormat(String fileFormat) {
        this.fileFormat = fileFormat;
    }

    /**
     * Getter for MediaUrl.
     * @return Returns the String
     */
    @JsonGetter("mediaUrl")
    public String getMediaUrl() {
        return mediaUrl;
    }

    /**
     * Setter for MediaUrl.
     * @param mediaUrl Value for String
     */
    @JsonSetter("mediaUrl")
    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl;
    }

    /**
     * Getter for Status.
     * @return Returns the String
     */
    @JsonGetter("status")
    public String getStatus() {
        return status;
    }

    /**
     * Setter for Status.
     * @param status Value for String
     */
    @JsonSetter("status")
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * Converts this ConferenceCallback into string format.
     * @return String representation of this class
     */
    @Override
    public String toString() {
        return "ConferenceCallback [" + "conferenceId=" + conferenceId + ", name=" + name
                + ", eventType=" + eventType + ", eventTime=" + eventTime + ", tag=" + tag
                + ", callId=" + callId + ", to=" + to + ", from=" + from + ", accountId="
                + accountId + ", recordingId=" + recordingId + ", channels=" + channels
                + ", startTime=" + startTime + ", endTime=" + endTime + ", duration=" + duration
                + ", fileFormat=" + fileFormat + ", mediaUrl=" + mediaUrl + ", status=" + status
                + "]";
    }

    /**
     * Builds a new {@link ConferenceCallback.Builder} object.
     * Creates the instance with the state of the current model.
     * @return a new {@link ConferenceCallback.Builder} object
     */
    public Builder toBuilder() {
        Builder builder = new Builder()
                .conferenceId(getConferenceId())
                .name(getName())
                .eventType(getEventType())
                .eventTime(getEventTime())
                .tag(getTag())
                .callId(getCallId())
                .to(getTo())
                .from(getFrom())
                .accountId(getAccountId())
                .recordingId(getRecordingId())
                .channels(getChannels())
                .startTime(getStartTime())
                .endTime(getEndTime())
                .duration(getDuration())
                .fileFormat(getFileFormat())
                .mediaUrl(getMediaUrl())
                .status(getStatus());
        return builder;
    }

    /**
     * Class to build instances of {@link ConferenceCallback}.
     */
    public static class Builder {
        private String conferenceId;
        private String name;
        private String eventType;
        private String eventTime;
        private String tag;
        private String callId;
        private String to;
        private String from;
        private String accountId;
        private String recordingId;
        private Integer channels;
        private String startTime;
        private String endTime;
        private String duration;
        private String fileFormat;
        private String mediaUrl;
        private String status;



        /**
         * Setter for conferenceId.
         * @param  conferenceId  String value for conferenceId.
         * @return Builder
         */
        public Builder conferenceId(String conferenceId) {
            this.conferenceId = conferenceId;
            return this;
        }

        /**
         * Setter for name.
         * @param  name  String value for name.
         * @return Builder
         */
        public Builder name(String name) {
            this.name = name;
            return this;
        }

        /**
         * Setter for eventType.
         * @param  eventType  String value for eventType.
         * @return Builder
         */
        public Builder eventType(String eventType) {
            this.eventType = eventType;
            return this;
        }

        /**
         * Setter for eventTime.
         * @param  eventTime  String value for eventTime.
         * @return Builder
         */
        public Builder eventTime(String eventTime) {
            this.eventTime = eventTime;
            return this;
        }

        /**
         * Setter for tag.
         * @param  tag  String value for tag.
         * @return Builder
         */
        public Builder tag(String tag) {
            this.tag = tag;
            return this;
        }

        /**
         * Setter for callId.
         * @param  callId  String value for callId.
         * @return Builder
         */
        public Builder callId(String callId) {
            this.callId = callId;
            return this;
        }

        /**
         * Setter for to.
         * @param  to  String value for to.
         * @return Builder
         */
        public Builder to(String to) {
            this.to = to;
            return this;
        }

        /**
         * Setter for from.
         * @param  from  String value for from.
         * @return Builder
         */
        public Builder from(String from) {
            this.from = from;
            return this;
        }

        /**
         * Setter for accountId.
         * @param  accountId  String value for accountId.
         * @return Builder
         */
        public Builder accountId(String accountId) {
            this.accountId = accountId;
            return this;
        }

        /**
         * Setter for recordingId.
         * @param  recordingId  String value for recordingId.
         * @return Builder
         */
        public Builder recordingId(String recordingId) {
            this.recordingId = recordingId;
            return this;
        }

        /**
         * Setter for channels.
         * @param  channels  Integer value for channels.
         * @return Builder
         */
        public Builder channels(Integer channels) {
            this.channels = channels;
            return this;
        }

        /**
         * Setter for startTime.
         * @param  startTime  String value for startTime.
         * @return Builder
         */
        public Builder startTime(String startTime) {
            this.startTime = startTime;
            return this;
        }

        /**
         * Setter for endTime.
         * @param  endTime  String value for endTime.
         * @return Builder
         */
        public Builder endTime(String endTime) {
            this.endTime = endTime;
            return this;
        }

        /**
         * Setter for duration.
         * @param  duration  String value for duration.
         * @return Builder
         */
        public Builder duration(String duration) {
            this.duration = duration;
            return this;
        }

        /**
         * Setter for fileFormat.
         * @param  fileFormat  String value for fileFormat.
         * @return Builder
         */
        public Builder fileFormat(String fileFormat) {
            this.fileFormat = fileFormat;
            return this;
        }

        /**
         * Setter for mediaUrl.
         * @param  mediaUrl  String value for mediaUrl.
         * @return Builder
         */
        public Builder mediaUrl(String mediaUrl) {
            this.mediaUrl = mediaUrl;
            return this;
        }

        /**
         * Setter for status.
         * @param  status  String value for status.
         * @return Builder
         */
        public Builder status(String status) {
            this.status = status;
            return this;
        }

        /**
         * Builds a new {@link ConferenceCallback} object using the set fields.
         * @return {@link ConferenceCallback}
         */
        public ConferenceCallback build() {
            return new ConferenceCallback(conferenceId, name, eventType, eventTime, tag, callId, to,
                    from, accountId, recordingId, channels, startTime, endTime, duration,
                    fileFormat, mediaUrl, status);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy