package com.seewo.ota.update.speechi;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;

/* JADX INFO: loaded from: classes.dex */
public class SpeechiUpdateInfo implements Serializable {

    @SerializedName("appVersion")
    private AppVersion appVersion;

    @SerializedName("statusCode")
    private int statusCode;

    public static class AppVersion {
        private static final long serialVersionUID = 2044558432012810919L;

        @SerializedName("buildDate")
        private String buildDate = Config.DATE_FORMAT.format(Long.valueOf(System.currentTimeMillis()));
        private String downloadUrl;

        @SerializedName("fullMd5")
        private String fullMd5;

        @SerializedName("fullPath")
        private String fullPath;

        @SerializedName("fullSize")
        private long fullSize;

        @SerializedName("isForce")
        private int isForce;
        private int otaType;
        private String path;

        public String getBuildDate() {
            return this.buildDate;
        }

        public String getDownloadUrl() {
            return this.downloadUrl;
        }

        public String getFileMd5() {
            return this.fullMd5;
        }

        public long getFileSize() {
            return this.fullSize;
        }

        public int getIsForce() {
            return this.isForce;
        }

        public String getName() {
            return this.fullPath;
        }

        public int getOtaType() {
            return this.otaType;
        }

        public String getPath() {
            return this.path;
        }

        public void setBuildDate(String str) {
            this.buildDate = str;
        }

        public void setDownloadUrl(String str) {
            this.downloadUrl = str;
        }

        public void setFileMd5(String str) {
            this.fullMd5 = str;
        }

        public void setFileSize(long j2) {
            this.fullSize = j2;
        }

        public void setIsForce(int i2) {
            this.isForce = i2;
        }

        public void setName(String str) {
            this.fullPath = str;
        }

        public void setOtaType(int i2) {
            this.otaType = i2;
        }

        public void setPath(String str) {
            this.path = str;
        }

        public String toString() {
            return "UpdateFile{otaType=" + this.otaType + ", path='" + this.path + "', downloadUrl='" + this.downloadUrl + "', isForce=" + this.isForce + ", name='" + this.fullPath + "', fileSize=" + this.fullSize + ", fileMd5='" + this.fullMd5 + "', buildDate='" + this.buildDate + "'}";
        }
    }

    public SpeechiUpdateInfo() {
    }

    public AppVersion getAppVersion() {
        return this.appVersion;
    }

    public int getStatusCode() {
        return this.statusCode;
    }

    public void setAppVersion(AppVersion appVersion) {
        this.appVersion = appVersion;
    }

    public void setStatusCode(int i2) {
        this.statusCode = i2;
    }

    public String toString() {
        return "SpeechiUpdateInfo{statusCode=" + this.statusCode + ", updateFile=" + this.appVersion.toString() + '}';
    }

    public SpeechiUpdateInfo(int i2, AppVersion appVersion) {
        this.statusCode = i2;
        this.appVersion = appVersion;
    }
}
