ContentIntegerField Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. ContentField - com.
azure. ai. contentunderstanding. models. ContentIntegerField
- com.
- com.
public final class ContentIntegerField
extends ContentField
Integer field extracted from the content.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
|
Content |
getType()
Get the type property: Semantic data type of the field value. |
| Long |
getValue()
Gets the strongly-typed value of this field. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from ContentField
Methods inherited from java.lang.Object
Method Details
fromJson
public static ContentIntegerField fromJson(JsonReader jsonReader)
Reads an instance of ContentIntegerField from the JsonReader.
Parameters:
Returns:
Throws:
getType
public ContentFieldType getType()
Get the type property: Semantic data type of the field value.
Overrides:
ContentIntegerField.getType()Returns:
getValue
public Long getValue()
Gets the strongly-typed value of this field.
Overrides:
ContentIntegerField.getValue()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContentIntegerField.toJson(JsonWriter jsonWriter)Parameters:
Throws: