All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hp.autonomy.searchcomponents.idol.answer.requests.ConversationRequestImpl Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2018 Open Text.
 *
 * Licensed under the MIT License (the "License"); you may not use this file
 * except in compliance with the License.
 *
 * The only warranties for products and services of Open Text and its affiliates
 * and licensors ("Open Text") are as may be set forth in the express warranty
 * statements accompanying such products and services. Nothing herein should be
 * construed as constituting an additional warranty. Open Text shall not be
 * liable for technical or editorial errors or omissions contained herein. The
 * information contained herein is subject to change without notice.
 */

package com.hp.autonomy.searchcomponents.idol.answer.requests;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import com.hp.autonomy.searchcomponents.idol.answer.ask.AskAnswerServerRequest;
import com.hp.autonomy.searchcomponents.idol.answer.ask.ConversationRequest;
import com.hp.autonomy.searchcomponents.idol.answer.ask.ConversationRequestBuilder;
import lombok.Builder;
import lombok.Data;

/**
 * Default implementation of {@link ConversationRequest}
 */
@Data
@Builder(toBuilder = true)
@JsonDeserialize(builder = ConversationRequestImpl.ConversationRequestImplBuilder.class)
class ConversationRequestImpl implements ConversationRequest {
    private static final long serialVersionUID = -1473588400061840668L;

    private final String text;
    private final String sessionId;

    @JsonPOJOBuilder(withPrefix = "")
    static class ConversationRequestImplBuilder implements ConversationRequestBuilder {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy