-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
RecognizePrintedTextOptionalParameter.java
70 lines (61 loc) · 2.02 KB
/
RecognizePrintedTextOptionalParameter.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/**
* 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.computervision.models;
/**
* The RecognizePrintedTextOptionalParameter model.
*/
public class RecognizePrintedTextOptionalParameter {
/**
* The BCP-47 language code of the text to be detected in the image. The
* default value is 'unk'. Possible values include: 'unk', 'zh-Hans',
* 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it',
* 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro',
* 'sr-Cyrl', 'sr-Latn', 'sk'.
*/
private OcrLanguages language;
/**
* Gets or sets the preferred language for the response.
*/
private String thisclientacceptLanguage;
/**
* Get the language value.
*
* @return the language value
*/
public OcrLanguages language() {
return this.language;
}
/**
* Set the language value.
*
* @param language the language value to set
* @return the RecognizePrintedTextOptionalParameter object itself.
*/
public RecognizePrintedTextOptionalParameter withLanguage(OcrLanguages language) {
this.language = language;
return this;
}
/**
* Get the thisclientacceptLanguage value.
*
* @return the thisclientacceptLanguage value
*/
public String thisclientacceptLanguage() {
return this.thisclientacceptLanguage;
}
/**
* Set the thisclientacceptLanguage value.
*
* @param thisclientacceptLanguage the thisclientacceptLanguage value to set
* @return the RecognizePrintedTextOptionalParameter object itself.
*/
public RecognizePrintedTextOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage) {
this.thisclientacceptLanguage = thisclientacceptLanguage;
return this;
}
}