Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
package com.sistemasolton.itranvias.home.data.remote;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.JvmStatic;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.serialization.KSerializer;
|
||||
import kotlinx.serialization.Serializable;
|
||||
import kotlinx.serialization.descriptors.SerialDescriptor;
|
||||
import kotlinx.serialization.encoding.CompositeEncoder;
|
||||
import kotlinx.serialization.internal.PluginExceptionsKt;
|
||||
import kotlinx.serialization.internal.SerializationConstructorMarker;
|
||||
|
||||
/* JADX INFO: compiled from: GooglePlacesApi.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0087\b\u0018\u0000 2\u00020\u0001:\u0002\u001f B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\u0005\u0010\u0006B/\b\u0010\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\u0004\b\u0005\u0010\u000bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u0011\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\bHÖ\u0001J\t\u0010\u0016\u001a\u00020\u0003HÖ\u0001J%\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u00002\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u001dH\u0001¢\u0006\u0002\b\u001eR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\r¨\u0006!"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/Prediction;", "", "description", "", "place_id", "<init>", "(Ljava/lang/String;Ljava/lang/String;)V", "seen0", "", "serializationConstructorMarker", "Lkotlinx/serialization/internal/SerializationConstructorMarker;", "(ILjava/lang/String;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V", "getDescription", "()Ljava/lang/String;", "getPlace_id", "component1", "component2", "copy", "equals", "", "other", "hashCode", "toString", "write$Self", "", "self", "output", "Lkotlinx/serialization/encoding/CompositeEncoder;", "serialDesc", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "write$Self$composeApp_release", "$serializer", "Companion", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
@Serializable
|
||||
public final /* data */ class Prediction {
|
||||
public static final int $stable = 0;
|
||||
|
||||
/* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final String description;
|
||||
private final String place_id;
|
||||
|
||||
public static /* synthetic */ Prediction copy$default(Prediction prediction, String str, String str2, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = prediction.description;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = prediction.place_id;
|
||||
}
|
||||
return prediction.copy(str, str2);
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component1, reason: from getter */
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/* JADX INFO: renamed from: component2, reason: from getter */
|
||||
public final String getPlace_id() {
|
||||
return this.place_id;
|
||||
}
|
||||
|
||||
public final Prediction copy(String description, String place_id) {
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(place_id, "place_id");
|
||||
return new Prediction(description, place_id);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Prediction)) {
|
||||
return false;
|
||||
}
|
||||
Prediction prediction = (Prediction) other;
|
||||
return Intrinsics.areEqual(this.description, prediction.description) && Intrinsics.areEqual(this.place_id, prediction.place_id);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (this.description.hashCode() * 31) + this.place_id.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Prediction(description=" + this.description + ", place_id=" + this.place_id + ")";
|
||||
}
|
||||
|
||||
/* JADX INFO: compiled from: GooglePlacesApi.kt */
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¨\u0006\u0007"}, d2 = {"Lcom/sistemasolton/itranvias/home/data/remote/Prediction$Companion;", "", "<init>", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/sistemasolton/itranvias/home/data/remote/Prediction;", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
||||
public static final class Companion {
|
||||
private Companion() {
|
||||
}
|
||||
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final KSerializer<Prediction> serializer() {
|
||||
return Prediction$$serializer.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ Prediction(int i, String str, String str2, SerializationConstructorMarker serializationConstructorMarker) {
|
||||
if (3 != (i & 3)) {
|
||||
PluginExceptionsKt.throwMissingFieldException(i, 3, Prediction$$serializer.INSTANCE.getDescriptor());
|
||||
}
|
||||
this.description = str;
|
||||
this.place_id = str2;
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
public static final /* synthetic */ void write$Self$composeApp_release(Prediction self, CompositeEncoder output, SerialDescriptor serialDesc) {
|
||||
output.encodeStringElement(serialDesc, 0, self.description);
|
||||
output.encodeStringElement(serialDesc, 1, self.place_id);
|
||||
}
|
||||
|
||||
public Prediction(String description, String place_id) {
|
||||
Intrinsics.checkNotNullParameter(description, "description");
|
||||
Intrinsics.checkNotNullParameter(place_id, "place_id");
|
||||
this.description = description;
|
||||
this.place_id = place_id;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public final String getPlace_id() {
|
||||
return this.place_id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user