com.microsoft.azure.cognitiveservices.language.textanalytics.models.Input Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-textanalytics Show documentation
Show all versions of azure-cognitiveservices-textanalytics Show documentation
This package contains Microsoft Cognitive Service Text Analytics SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.language.textanalytics.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The Input model.
*/
public class Input {
/**
* Unique, non-empty document identifier.
*/
@JsonProperty(value = "id")
private String id;
/**
* The text property.
*/
@JsonProperty(value = "text")
private String text;
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the Input object itself.
*/
public Input withId(String id) {
this.id = id;
return this;
}
/**
* Get the text value.
*
* @return the text value
*/
public String text() {
return this.text;
}
/**
* Set the text value.
*
* @param text the text value to set
* @return the Input object itself.
*/
public Input withText(String text) {
this.text = text;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy