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

com.messagebird.objects.voicecalls.Recording Maven / Gradle / Ivy

package com.messagebird.objects.voicecalls;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public class Recording implements Serializable {

    private static final long serialVersionUID = 3456436421232378964L;
    private String id;
    private String format;
    private String type;
    private String legId;
    private String state;
    private int duration;
    private Date createdAt;
    private Date updatedAt;
    @JsonProperty("_links")
    private Map links;

    public String getId() {
        return id;
    }

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

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLegId() {
        return legId;
    }

    public void setLegId(String legId) {
        this.legId = legId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Map getLinks() {
        return links;
    }

    public void setLinks(Map links) {
        this.links = links;
    }

    @Override
    public String toString() {
        return "Recording{" +
                "id='" + id + '\'' +
                ", format='" + format + '\'' +
                ", type='" + type + '\'' +
                ", legId='" + legId + '\'' +
                ", state='" + state + '\'' +
                ", duration=" + duration +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", links=" + links +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy