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

com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource Maven / Gradle / Ivy

There is a newer version: v1-rev20240701-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.contactcenterinsights.v1.model;

/**
 * The sources of the answers.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Contact Center AI Insights API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource extends com.google.api.client.json.GenericJson { /** * The document from which the snippet was extracted. Format: * `projects//knowledgeBases//documents/` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String document; /** * The relevant snippet of the article. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String snippet; /** * The title of the article. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The URI of the article. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uri; /** * The document from which the snippet was extracted. Format: * `projects//knowledgeBases//documents/` * @return value or {@code null} for none */ public java.lang.String getDocument() { return document; } /** * The document from which the snippet was extracted. Format: * `projects//knowledgeBases//documents/` * @param document document or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource setDocument(java.lang.String document) { this.document = document; return this; } /** * The relevant snippet of the article. * @return value or {@code null} for none */ public java.lang.String getSnippet() { return snippet; } /** * The relevant snippet of the article. * @param snippet snippet or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource setSnippet(java.lang.String snippet) { this.snippet = snippet; return this; } /** * The title of the article. * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * The title of the article. * @param title title or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource setTitle(java.lang.String title) { this.title = title; return this; } /** * The URI of the article. * @return value or {@code null} for none */ public java.lang.String getUri() { return uri; } /** * The URI of the article. * @param uri uri or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource setUri(java.lang.String uri) { this.uri = uri; return this; } @Override public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource set(String fieldName, Object value) { return (GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource) super.set(fieldName, value); } @Override public GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource clone() { return (GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy