package com.ss.android.ugc.aweme.account.login.model;

import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.HashMap;
import java.util.List;
import java.util.Objects;

public final class PhoneCountryCodeResponse {
    public final HashMap<String, List<PhoneCountryData>> map;

    static {
        Covode.recordClassIndex(51100);
    }

    public static /* synthetic */ PhoneCountryCodeResponse copy$default(PhoneCountryCodeResponse phoneCountryCodeResponse, HashMap<String, List<PhoneCountryData>> hashMap, int i, Object obj) {
        if ((i & 1) != 0) {
            hashMap = phoneCountryCodeResponse.map;
        }
        return phoneCountryCodeResponse.copy(hashMap);
    }

    private Object[] getObjects() {
        return new Object[]{this.map};
    }

    public final PhoneCountryCodeResponse copy(HashMap<String, List<PhoneCountryData>> hashMap) {
        return new PhoneCountryCodeResponse(hashMap);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PhoneCountryCodeResponse)) {
            return false;
        }
        return M12.LIZ(((PhoneCountryCodeResponse) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("PhoneCountryCodeResponse:%s", getObjects());
    }

    public final HashMap<String, List<PhoneCountryData>> getMap() {
        return this.map;
    }

    public PhoneCountryCodeResponse(HashMap<String, List<PhoneCountryData>> hashMap) {
        this.map = hashMap;
    }
}
