package xyz.stream.download.info;

import androidx.annotation.NonNull;
import defpackage.e;
import java.io.File;
import java.io.Serializable;

/* JADX INFO: loaded from: classes3.dex */
public class DownloadInfo implements Serializable {
    private String action;
    private File file;
    private String url;

    public DownloadInfo(String str, File file, String str2) {
        this.url = str;
        this.file = file;
        this.action = str2;
    }

    public String getAction() {
        return this.action;
    }

    public File getFile() {
        return this.file;
    }

    public String getUniqueId() {
        return this.file.getAbsolutePath();
    }

    public String getUrl() {
        return this.url;
    }

    public void setAction(String str) {
        this.action = str;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public void setUrl(String str) {
        this.url = str;
    }

    @NonNull
    public String toString() {
        StringBuilder sb = new StringBuilder("DownloadInfo{url='");
        sb.append(this.url);
        sb.append("', file=");
        sb.append(this.file);
        sb.append(", action='");
        return e.o(sb, this.action, "'}");
    }
}
