57 lines
1.6 KiB
Java
57 lines
1.6 KiB
Java
package com.ubtrobot.analytics;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ModuleVersion implements Parcelable {
|
|
public static final Parcelable.Creator<ModuleVersion> CREATOR = new Parcelable.Creator<ModuleVersion>() { // from class: com.ubtrobot.analytics.ModuleVersion.1
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public ModuleVersion createFromParcel(Parcel parcel) {
|
|
return new ModuleVersion(parcel);
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public ModuleVersion[] newArray(int i) {
|
|
return new ModuleVersion[i];
|
|
}
|
|
};
|
|
private String name;
|
|
private String version;
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public String getVersion() {
|
|
return this.version;
|
|
}
|
|
|
|
public String toString() {
|
|
return "ModuleVersion{name='" + this.name + "', version='" + this.version + "'}";
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeString(this.name);
|
|
parcel.writeString(this.version);
|
|
}
|
|
|
|
public ModuleVersion(String str, String str2) {
|
|
this.name = str;
|
|
this.version = str2;
|
|
}
|
|
|
|
private ModuleVersion(Parcel parcel) {
|
|
this.name = parcel.readString();
|
|
this.version = parcel.readString();
|
|
}
|
|
}
|