package ca.canadapost.core.data.mymail.model;

import java.util.List;
import km.g;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0012\b\u0002\u0010\u0004\u001a\f\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0018\u00010\u0005¢\u0006\u0002\u0010\u0007J\u0010\u0010\r\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u000bJ\u0013\u0010\u000e\u001a\f\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0018\u00010\u0005HÆ\u0003J.\u0010\u000f\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0012\b\u0002\u0010\u0004\u001a\f\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u0010J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001R \u0010\u0004\u001a\f\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u001a\u0010\u0002\u001a\u0004\u0018\u00010\u00038\u0006X\u0087\u0004¢\u0006\n\n\u0002\u0010\f\u001a\u0004\b\n\u0010\u000b¨\u0006\u0017"}, d2 = {"Lca/canadapost/core/data/mymail/model/MyMailHolidayResponse;", "", "pageNumber", "", "holidayResults", "", "Lca/canadapost/core/data/mymail/model/HolidayResult;", "(Ljava/lang/Integer;Ljava/util/List;)V", "getHolidayResults", "()Ljava/util/List;", "getPageNumber", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "component1", "component2", "copy", "(Ljava/lang/Integer;Ljava/util/List;)Lca/canadapost/core/data/mymail/model/MyMailHolidayResponse;", "equals", "", "other", "hashCode", "toString", "", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class MyMailHolidayResponse {

    @g(name = "Results")
    private final List<HolidayResult> holidayResults;

    @g(name = "PageNumber")
    private final Integer pageNumber;

    /* JADX WARN: Multi-variable type inference failed */
    public MyMailHolidayResponse() {
        this(null, 0 == true ? 1 : 0, 3, 0 == true ? 1 : 0);
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ MyMailHolidayResponse copy$default(MyMailHolidayResponse myMailHolidayResponse, Integer num, List list, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            num = myMailHolidayResponse.pageNumber;
        }
        if ((i10 & 2) != 0) {
            list = myMailHolidayResponse.holidayResults;
        }
        return myMailHolidayResponse.copy(num, list);
    }

    /* renamed from: component1, reason: from getter */
    public final Integer getPageNumber() {
        return this.pageNumber;
    }

    public final List<HolidayResult> component2() {
        return this.holidayResults;
    }

    public final MyMailHolidayResponse copy(Integer pageNumber, List<HolidayResult> holidayResults) {
        return new MyMailHolidayResponse(pageNumber, holidayResults);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof MyMailHolidayResponse)) {
            return false;
        }
        MyMailHolidayResponse myMailHolidayResponse = (MyMailHolidayResponse) other;
        return t.b(this.pageNumber, myMailHolidayResponse.pageNumber) && t.b(this.holidayResults, myMailHolidayResponse.holidayResults);
    }

    public final List<HolidayResult> getHolidayResults() {
        return this.holidayResults;
    }

    public final Integer getPageNumber() {
        return this.pageNumber;
    }

    public int hashCode() {
        Integer num = this.pageNumber;
        int hashCode = (num == null ? 0 : num.hashCode()) * 31;
        List<HolidayResult> list = this.holidayResults;
        return hashCode + (list != null ? list.hashCode() : 0);
    }

    public String toString() {
        return "MyMailHolidayResponse(pageNumber=" + this.pageNumber + ", holidayResults=" + this.holidayResults + ")";
    }

    public MyMailHolidayResponse(Integer num, List<HolidayResult> list) {
        this.pageNumber = num;
        this.holidayResults = list;
    }

    public /* synthetic */ MyMailHolidayResponse(Integer num, List list, int i10, k kVar) {
        this((i10 & 1) != 0 ? null : num, (i10 & 2) != 0 ? null : list);
    }
}
