package ca.canadapost.module.track.model;

import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B#\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005HÆ\u0003J\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J-\u0010\u0010\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0015HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\t¨\u0006\u0017"}, d2 = {"Lca/canadapost/module/track/model/Link;", "", "href", "", "mediaType", "", "rel", "(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V", "getHref", "()Ljava/lang/String;", "getMediaType", "()Ljava/util/List;", "getRel", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "track_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes4.dex */
public final /* data */ class Link {
    private final String href;
    private final List<String> mediaType;
    private final String rel;

    public Link(String href, List<String> mediaType, String rel) {
        t.g(href, "href");
        t.g(mediaType, "mediaType");
        t.g(rel, "rel");
        this.href = href;
        this.mediaType = mediaType;
        this.rel = rel;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ Link copy$default(Link link, String str, List list, String str2, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            str = link.href;
        }
        if ((i10 & 2) != 0) {
            list = link.mediaType;
        }
        if ((i10 & 4) != 0) {
            str2 = link.rel;
        }
        return link.copy(str, list, str2);
    }

    /* renamed from: component1, reason: from getter */
    public final String getHref() {
        return this.href;
    }

    public final List<String> component2() {
        return this.mediaType;
    }

    /* renamed from: component3, reason: from getter */
    public final String getRel() {
        return this.rel;
    }

    public final Link copy(String href, List<String> mediaType, String rel) {
        t.g(href, "href");
        t.g(mediaType, "mediaType");
        t.g(rel, "rel");
        return new Link(href, mediaType, rel);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Link)) {
            return false;
        }
        Link link = (Link) other;
        return t.b(this.href, link.href) && t.b(this.mediaType, link.mediaType) && t.b(this.rel, link.rel);
    }

    public final String getHref() {
        return this.href;
    }

    public final List<String> getMediaType() {
        return this.mediaType;
    }

    public final String getRel() {
        return this.rel;
    }

    public int hashCode() {
        return (((this.href.hashCode() * 31) + this.mediaType.hashCode()) * 31) + this.rel.hashCode();
    }

    public String toString() {
        return "Link(href=" + this.href + ", mediaType=" + this.mediaType + ", rel=" + this.rel + ")";
    }
}
