package com.ss.android.ugc.aweme.im.sdk.chat.data.model;

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.util.Objects;

public final class VideoInfo {
    public final UrlModel cover;
    @c(LIZ = "link_info")
    public final LinkInfo linkInfo;

    static {
        Covode.recordClassIndex(84154);
    }

    public static /* synthetic */ VideoInfo copy$default(VideoInfo videoInfo, UrlModel urlModel, LinkInfo linkInfo2, int i, Object obj) {
        if ((i & 1) != 0) {
            urlModel = videoInfo.cover;
        }
        if ((i & 2) != 0) {
            linkInfo2 = videoInfo.linkInfo;
        }
        return videoInfo.copy(urlModel, linkInfo2);
    }

    private Object[] getObjects() {
        return new Object[]{this.cover, this.linkInfo};
    }

    public final VideoInfo copy(UrlModel urlModel, LinkInfo linkInfo2) {
        M12.LIZ(urlModel, linkInfo2);
        return new VideoInfo(urlModel, linkInfo2);
    }

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

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

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

    public final UrlModel getCover() {
        return this.cover;
    }

    public final LinkInfo getLinkInfo() {
        return this.linkInfo;
    }

    public VideoInfo(UrlModel urlModel, LinkInfo linkInfo2) {
        M12.LIZ(urlModel, linkInfo2);
        this.cover = urlModel;
        this.linkInfo = linkInfo2;
    }
}
