Skip to content

Commit d7c2a07

Browse files
Merge pull request #190 from regulaforensics/fix/sp-18211
SP-18211 - update models
2 parents 13f8f4e + 794d0a4 commit d7c2a07

File tree

7 files changed

+12
-227
lines changed

7 files changed

+12
-227
lines changed

src/Regula.DocumentReader.WebClient/Model/ChosenDocumentType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected ChosenDocumentType() { }
4949
/// <param name="documentName">Document name.</param>
5050
/// <param name="iD">Unique document type template identifier (Regula&#39;s internal numeric code) (required).</param>
5151
/// <param name="p">A measure of the likelihood of correct recognition in the analysis of this type of document (required).</param>
52-
/// <param name="rotated180">true if the document of the given type is rotated by 180 degrees (required).</param>
52+
/// <param name="rotated180">Indicates if the document of the given type is rotated by 180 degrees (required).</param>
5353
/// <param name="rFIDPresence">rFIDPresence (required).</param>
5454
/// <param name="fDSIDList">fDSIDList.</param>
5555
/// <param name="necessaryLights">Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document (required).</param>
@@ -99,9 +99,9 @@ protected ChosenDocumentType() { }
9999
public decimal P { get; set; }
100100

101101
/// <summary>
102-
/// true if the document of the given type is rotated by 180 degrees
102+
/// Indicates if the document of the given type is rotated by 180 degrees
103103
/// </summary>
104-
/// <value>true if the document of the given type is rotated by 180 degrees</value>
104+
/// <value>Indicates if the document of the given type is rotated by 180 degrees</value>
105105
[DataMember(Name = "Rotated180", IsRequired = true, EmitDefaultValue = true)]
106106
public int Rotated180 { get; set; }
107107

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected EncryptedRCLItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@614a8340</example>
59+
<example>[B@48386ddd</example>
6060
*/
6161
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected EncryptedRCLResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@614a8340</example>
65+
<example>[B@48386ddd</example>
6666
*/
6767
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected LicenseItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@2b060232</example>
59+
<example>[B@2bc6826a</example>
6060
*/
6161
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected LicenseResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@2b060232</example>
65+
<example>[B@2bc6826a</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/Light.cs

Lines changed: 2 additions & 217 deletions
Original file line numberDiff line numberDiff line change
@@ -30,247 +30,32 @@ namespace Regula.DocumentReader.WebClient.Model
3030
/// Image light index
3131
/// </summary>
3232
/// <value>Image light index</value>
33-
public enum Light: long
33+
public enum Light
3434
{
3535
/// <summary>
3636
/// Enum OFF for value: 0
3737
/// </summary>
3838
OFF = 0,
3939

40-
/// <summary>
41-
/// Enum OVI for value: 1
42-
/// </summary>
43-
OVI = 1,
44-
45-
/// <summary>
46-
/// Enum WHITE_TOP for value: 2
47-
/// </summary>
48-
WHITE_TOP = 2,
49-
50-
/// <summary>
51-
/// Enum WHITE_SIDE for value: 4
52-
/// </summary>
53-
WHITE_SIDE = 4,
54-
55-
/// <summary>
56-
/// Enum WHITE_FRONT for value: 8388608
57-
/// </summary>
58-
WHITE_FRONT = 8388608,
59-
6040
/// <summary>
6141
/// Enum WHITE for value: 6
6242
/// </summary>
6343
WHITE = 6,
6444

65-
/// <summary>
66-
/// Enum IR_TOP for value: 8
67-
/// </summary>
68-
IR_TOP = 8,
69-
70-
/// <summary>
71-
/// Enum IR_SIDE for value: 16
72-
/// </summary>
73-
IR_SIDE = 16,
74-
75-
/// <summary>
76-
/// Enum IR_FRONT for value: 16777216
77-
/// </summary>
78-
IR_FRONT = 16777216,
79-
8045
/// <summary>
8146
/// Enum IR for value: 24
8247
/// </summary>
8348
IR = 24,
8449

85-
/// <summary>
86-
/// Enum WHITE_GRAY for value: 33554432
87-
/// </summary>
88-
WHITE_GRAY = 33554432,
89-
9050
/// <summary>
9151
/// Enum UV for value: 128
9252
/// </summary>
9353
UV = 128,
9454

95-
/// <summary>
96-
/// Enum OVD for value: 67108864
97-
/// </summary>
98-
OVD = 67108864,
99-
100-
/// <summary>
101-
/// Enum VIDEODETECTION for value: 134217728
102-
/// </summary>
103-
VIDEODETECTION = 134217728,
104-
105-
/// <summary>
106-
/// Enum IR_870_OBL for value: 268435456
107-
/// </summary>
108-
IR_870_OBL = 268435456,
109-
110-
/// <summary>
111-
/// Enum IR_LUMINESCENCE for value: 256
112-
/// </summary>
113-
IR_LUMINESCENCE = 256,
114-
115-
/// <summary>
116-
/// Enum AXIAL_WHITE_LEFT for value: 1024
117-
/// </summary>
118-
AXIAL_WHITE_LEFT = 1024,
119-
120-
/// <summary>
121-
/// Enum AXIAL_WHITE_RIGHT for value: 2048
122-
/// </summary>
123-
AXIAL_WHITE_RIGHT = 2048,
124-
125-
/// <summary>
126-
/// Enum AXIAL_WHITE_FRONT for value: 512
127-
/// </summary>
128-
AXIAL_WHITE_FRONT = 512,
129-
130-
/// <summary>
131-
/// Enum IR_720 for value: 4096
132-
/// </summary>
133-
IR_720 = 4096,
134-
135-
/// <summary>
136-
/// Enum IR_940 for value: 8192
137-
/// </summary>
138-
IR_940 = 8192,
139-
14055
/// <summary>
14156
/// Enum AXIAL_WHITE_FULL for value: 3072
14257
/// </summary>
143-
AXIAL_WHITE_FULL = 3072,
144-
145-
/// <summary>
146-
/// Enum RAW_DATA for value: 2147483648
147-
/// </summary>
148-
RAW_DATA = 2147483648,
149-
150-
/// <summary>
151-
/// Enum RAW_DATA_GRBG for value: 2415919104
152-
/// </summary>
153-
RAW_DATA_GRBG = 2415919104,
154-
155-
/// <summary>
156-
/// Enum RAW_DATA_GBGR for value: 2684354560
157-
/// </summary>
158-
RAW_DATA_GBGR = 2684354560,
159-
160-
/// <summary>
161-
/// Enum RAW_DATA_RGGB for value: 2952790016
162-
/// </summary>
163-
RAW_DATA_RGGB = 2952790016,
164-
165-
/// <summary>
166-
/// Enum RAW_DATA_BGGR for value: 3221225472
167-
/// </summary>
168-
RAW_DATA_BGGR = 3221225472,
169-
170-
/// <summary>
171-
/// Enum TRANSMITTED for value: 32
172-
/// </summary>
173-
TRANSMITTED = 32,
174-
175-
/// <summary>
176-
/// Enum TRANSMITTED_IR for value: 64
177-
/// </summary>
178-
TRANSMITTED_IR = 64,
179-
180-
/// <summary>
181-
/// Enum ANTI_STOKES for value: 65536
182-
/// </summary>
183-
ANTI_STOKES = 65536,
184-
185-
/// <summary>
186-
/// Enum TRANSMITTED_IR940 for value: 16384
187-
/// </summary>
188-
TRANSMITTED_IR940 = 16384,
189-
190-
/// <summary>
191-
/// Enum OVD_RIGHT for value: 262144
192-
/// </summary>
193-
OVD_RIGHT = 262144,
194-
195-
/// <summary>
196-
/// Enum OVD_LEFT for value: 131072
197-
/// </summary>
198-
OVD_LEFT = 131072,
199-
200-
/// <summary>
201-
/// Enum IR_700 for value: 32768
202-
/// </summary>
203-
IR_700 = 32768,
204-
205-
/// <summary>
206-
/// Enum IR_870 for value: 16777216
207-
/// </summary>
208-
IR_870 = 16777216,
209-
210-
/// <summary>
211-
/// Enum HOLO for value: 67108864
212-
/// </summary>
213-
HOLO = 67108864,
214-
215-
/// <summary>
216-
/// Enum IR_BOTTOM for value: 64
217-
/// </summary>
218-
IR_BOTTOM = 64,
219-
220-
/// <summary>
221-
/// Enum WHITE_BOTTOM for value: 32
222-
/// </summary>
223-
WHITE_BOTTOM = 32,
224-
225-
/// <summary>
226-
/// Enum UVC for value: 524288
227-
/// </summary>
228-
UVC = 524288,
229-
230-
/// <summary>
231-
/// Enum UVB for value: 1048576
232-
/// </summary>
233-
UVB = 1048576,
234-
235-
/// <summary>
236-
/// Enum WHITE_OBL for value: 2097152
237-
/// </summary>
238-
WHITE_OBL = 2097152,
239-
240-
/// <summary>
241-
/// Enum WHITE_SPECIAL for value: 4194304
242-
/// </summary>
243-
WHITE_SPECIAL = 4194304,
244-
245-
/// <summary>
246-
/// Enum WHITE_UV for value: 134
247-
/// </summary>
248-
WHITE_UV = 134,
249-
250-
/// <summary>
251-
/// Enum WHITE_FULL_HOLO for value: 67108870
252-
/// </summary>
253-
WHITE_FULL_HOLO = 67108870,
254-
255-
/// <summary>
256-
/// Enum HR_LIGHT for value: 1073741824
257-
/// </summary>
258-
HR_LIGHT = 1073741824,
259-
260-
/// <summary>
261-
/// Enum HR_WHITE for value: 1073741830
262-
/// </summary>
263-
HR_WHITE = 1073741830,
264-
265-
/// <summary>
266-
/// Enum HR_UV for value: 1073741952
267-
/// </summary>
268-
HR_UV = 1073741952,
269-
270-
/// <summary>
271-
/// Enum HR_IR for value: 1073741848
272-
/// </summary>
273-
HR_IR = 1073741848
58+
AXIAL_WHITE_FULL = 3072
27459
}
27560

27661
}

src/Regula.DocumentReader.WebClient/Model/OneCandidate.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected OneCandidate() { }
4949
/// <param name="documentName">Document name.</param>
5050
/// <param name="iD">Unique document type template identifier (Regula&#39;s internal numeric code) (required).</param>
5151
/// <param name="p">A measure of the likelihood of correct recognition in the analysis of this type of document (required).</param>
52-
/// <param name="rotated180">true if the document of the given type is rotated by 180 degrees (required).</param>
52+
/// <param name="rotated180">Indicates if the document of the given type is rotated by 180 degrees (required).</param>
5353
/// <param name="rFIDPresence">rFIDPresence (required).</param>
5454
/// <param name="fDSIDList">fDSIDList.</param>
5555
/// <param name="necessaryLights">Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document (required).</param>
@@ -99,9 +99,9 @@ protected OneCandidate() { }
9999
public decimal P { get; set; }
100100

101101
/// <summary>
102-
/// true if the document of the given type is rotated by 180 degrees
102+
/// Indicates if the document of the given type is rotated by 180 degrees
103103
/// </summary>
104-
/// <value>true if the document of the given type is rotated by 180 degrees</value>
104+
/// <value>Indicates if the document of the given type is rotated by 180 degrees</value>
105105
[DataMember(Name = "Rotated180", IsRequired = true, EmitDefaultValue = true)]
106106
public int Rotated180 { get; set; }
107107

0 commit comments

Comments
 (0)