-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
ClassificationCategory2.java
45 lines (39 loc) · 1.08 KB
/
ClassificationCategory2.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* 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.vision.contentmoderator.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The category2 score details of the text. <a
* href="https://aka.ms/textClassifyCategories">Click here</a> for
* more details on category classification.
*/
public class ClassificationCategory2 {
/**
* The category2 score.
*/
@JsonProperty(value = "Score")
private Double score;
/**
* Get the score value.
*
* @return the score value
*/
public Double score() {
return this.score;
}
/**
* Set the score value.
*
* @param score the score value to set
* @return the ClassificationCategory2 object itself.
*/
public ClassificationCategory2 withScore(Double score) {
this.score = score;
return this;
}
}