package com.ss.android.ugc.aweme.feed.caption.edit;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.api.BaseResponse;
import java.util.List;
import java.util.Objects;

public final class NewTaskModel extends BaseResponse {
    @c(LIZ = "candidates")
    public final List<TaskCandidate> candidates;

    static {
        Covode.recordClassIndex(78304);
    }

    public static /* synthetic */ NewTaskModel copy$default(NewTaskModel newTaskModel, List<TaskCandidate> list, int i, Object obj) {
        if ((i & 1) != 0) {
            list = newTaskModel.candidates;
        }
        return newTaskModel.copy(list);
    }

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

    public final NewTaskModel copy(List<TaskCandidate> list) {
        return new NewTaskModel(list);
    }

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

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

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

    public final List<TaskCandidate> getCandidates() {
        return this.candidates;
    }

    public NewTaskModel(List<TaskCandidate> list) {
        this.candidates = list;
    }
}
