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

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.model.UrlModel;
import java.io.Serializable;
import java.util.Objects;

public final class AdGestureGuidance implements Serializable {
    @c(LIZ = "height")
    public float height;
    @c(LIZ = "image")
    public UrlModel image;
    @c(LIZ = "position_x")
    public float positionX;
    @c(LIZ = "position_y")
    public float positionY;
    @c(LIZ = "show_time")
    public float showTime;
    @c(LIZ = "width")
    public float width;

    static {
        Covode.recordClassIndex(78822);
    }

    public AdGestureGuidance() {
        this(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, (UrlModel) null, 63, (2HN) null);
    }

    public static /* synthetic */ AdGestureGuidance copy$default(AdGestureGuidance adGestureGuidance, float f, float f2, float f3, float f4, float f5, UrlModel urlModel, int i, Object obj) {
        if ((i & 1) != 0) {
            f = adGestureGuidance.showTime;
        }
        if ((i & 2) != 0) {
            f2 = adGestureGuidance.positionX;
        }
        if ((i & 4) != 0) {
            f3 = adGestureGuidance.positionY;
        }
        if ((i & 8) != 0) {
            f4 = adGestureGuidance.width;
        }
        if ((i & 16) != 0) {
            f5 = adGestureGuidance.height;
        }
        if ((i & 32) != 0) {
            urlModel = adGestureGuidance.image;
        }
        return adGestureGuidance.copy(f, f2, f3, f4, f5, urlModel);
    }

    private Object[] getObjects() {
        return new Object[]{Float.valueOf(this.showTime), Float.valueOf(this.positionX), Float.valueOf(this.positionY), Float.valueOf(this.width), Float.valueOf(this.height), this.image};
    }

    public final AdGestureGuidance copy(float f, float f2, float f3, float f4, float f5, UrlModel urlModel) {
        return new AdGestureGuidance(f, f2, f3, f4, f5, urlModel);
    }

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

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

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

    public final float getHeight() {
        return this.height;
    }

    public final UrlModel getImage() {
        return this.image;
    }

    public final float getPositionX() {
        return this.positionX;
    }

    public final float getPositionY() {
        return this.positionY;
    }

    public final float getShowTime() {
        return this.showTime;
    }

    public final float getWidth() {
        return this.width;
    }

    public final void setHeight(float f) {
        this.height = f;
    }

    public final void setImage(UrlModel urlModel) {
        this.image = urlModel;
    }

    public final void setPositionX(float f) {
        this.positionX = f;
    }

    public final void setPositionY(float f) {
        this.positionY = f;
    }

    public final void setShowTime(float f) {
        this.showTime = f;
    }

    public final void setWidth(float f) {
        this.width = f;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_AdGestureGuidance_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(float f) {
        return Float.floatToIntBits(f);
    }

    public AdGestureGuidance(float f, float f2, float f3, float f4, float f5, UrlModel urlModel) {
        this.showTime = f;
        this.positionX = f2;
        this.positionY = f3;
        this.width = f4;
        this.height = f5;
        this.image = urlModel;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ AdGestureGuidance(float f, float f2, float f3, float f4, float f5, UrlModel urlModel, int i, 2HN r15) {
        this((i & 1) != 0 ? 0.0f : f, (i & 2) != 0 ? 0.0f : f2, (i & 4) != 0 ? 0.0f : f3, (i & 8) != 0 ? 0.0f : f4, (i & 16) == 0 ? f5 : 0.0f, (i & 32) != 0 ? null : urlModel);
    }
}
