package com.ss.android.ugc.aweme.shortvideo.model;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class PublishImageModel {
    public final int height;
    public final String path;
    public String uri;
    public final int width;

    static {
        Covode.recordClassIndex(111038);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_shortvideo_model_PublishImageModel_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ PublishImageModel copy$default(PublishImageModel publishImageModel, String str, int i, int i2, String str2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = publishImageModel.path;
        }
        if ((i3 & 2) != 0) {
            i = publishImageModel.width;
        }
        if ((i3 & 4) != 0) {
            i2 = publishImageModel.height;
        }
        if ((i3 & 8) != 0) {
            str2 = publishImageModel.uri;
        }
        return publishImageModel.copy(str, i, i2, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.path, Integer.valueOf(this.width), Integer.valueOf(this.height), this.uri};
    }

    public final PublishImageModel copy(String str, int i, int i2, String str2) {
        M12.LIZ(str);
        return new PublishImageModel(str, i, i2, str2);
    }

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

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

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

    public PublishImageModel(String str, int i, int i2, String str2) {
        M12.LIZ(str);
        this.path = str;
        this.width = i;
        this.height = i2;
        this.uri = str2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ PublishImageModel(String str, int i, int i2, String str2, int i3, 2HN r7) {
        this(str, i, i2, (i3 & 8) != 0 ? null : str2);
    }
}
