Skip to content

Commit 72f70c5

Browse files
committed
chore(Regeneration): Regenerated with latest commits from the generator
1 parent ab2177f commit 72f70c5

File tree

5 files changed

+19
-83
lines changed

5 files changed

+19
-83
lines changed

Scripts/Services/CompareComply/V1/CompareComplyService.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ public CompareComplyService(string versionDate, Credentials credentials) : base(
134134
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
135135
/// <param name="file">The document to convert.</param>
136136
/// <param name="filename">The filename for file.</param>
137+
/// <param name="fileContentType">The content type of file. (optional)</param>
137138
/// <param name="model">The analysis model to be used by the service. For the **Element classification** and
138139
/// **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the
139140
/// default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in
140141
/// batch-processing requests. (optional)</param>
141-
/// <param name="fileContentType">The content type of file. (optional)</param>
142142
/// <returns><see cref="HTMLReturn" />HTMLReturn</returns>
143-
public bool ConvertToHtml(Callback<HTMLReturn> callback, System.IO.MemoryStream file, string filename, string model = null, string fileContentType = null)
143+
public bool ConvertToHtml(Callback<HTMLReturn> callback, System.IO.MemoryStream file, string filename, string fileContentType = null, string model = null)
144144
{
145145
if (callback == null)
146146
throw new ArgumentNullException("`callback` is required for `ConvertToHtml`");
@@ -221,13 +221,13 @@ private void OnConvertToHtmlResponse(RESTConnector.Request req, RESTConnector.Re
221221
/// </summary>
222222
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
223223
/// <param name="file">The document to classify.</param>
224+
/// <param name="fileContentType">The content type of file. (optional)</param>
224225
/// <param name="model">The analysis model to be used by the service. For the **Element classification** and
225226
/// **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the
226227
/// default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in
227228
/// batch-processing requests. (optional)</param>
228-
/// <param name="fileContentType">The content type of file. (optional)</param>
229229
/// <returns><see cref="ClassifyReturn" />ClassifyReturn</returns>
230-
public bool ClassifyElements(Callback<ClassifyReturn> callback, System.IO.MemoryStream file, string model = null, string fileContentType = null)
230+
public bool ClassifyElements(Callback<ClassifyReturn> callback, System.IO.MemoryStream file, string fileContentType = null, string model = null)
231231
{
232232
if (callback == null)
233233
throw new ArgumentNullException("`callback` is required for `ClassifyElements`");
@@ -306,13 +306,13 @@ private void OnClassifyElementsResponse(RESTConnector.Request req, RESTConnector
306306
/// </summary>
307307
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
308308
/// <param name="file">The document on which to run table extraction.</param>
309+
/// <param name="fileContentType">The content type of file. (optional)</param>
309310
/// <param name="model">The analysis model to be used by the service. For the **Element classification** and
310311
/// **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the
311312
/// default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in
312313
/// batch-processing requests. (optional)</param>
313-
/// <param name="fileContentType">The content type of file. (optional)</param>
314314
/// <returns><see cref="TableReturn" />TableReturn</returns>
315-
public bool ExtractTables(Callback<TableReturn> callback, System.IO.MemoryStream file, string model = null, string fileContentType = null)
315+
public bool ExtractTables(Callback<TableReturn> callback, System.IO.MemoryStream file, string fileContentType = null, string model = null)
316316
{
317317
if (callback == null)
318318
throw new ArgumentNullException("`callback` is required for `ExtractTables`");
@@ -392,16 +392,16 @@ private void OnExtractTablesResponse(RESTConnector.Request req, RESTConnector.Re
392392
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
393393
/// <param name="file1">The first document to compare.</param>
394394
/// <param name="file2">The second document to compare.</param>
395+
/// <param name="file1ContentType">The content type of file1. (optional)</param>
396+
/// <param name="file2ContentType">The content type of file2. (optional)</param>
395397
/// <param name="file1Label">A text label for the first document. (optional, default to file_1)</param>
396398
/// <param name="file2Label">A text label for the second document. (optional, default to file_2)</param>
397399
/// <param name="model">The analysis model to be used by the service. For the **Element classification** and
398400
/// **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the
399401
/// default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in
400402
/// batch-processing requests. (optional)</param>
401-
/// <param name="file1ContentType">The content type of file1. (optional)</param>
402-
/// <param name="file2ContentType">The content type of file2. (optional)</param>
403403
/// <returns><see cref="CompareReturn" />CompareReturn</returns>
404-
public bool CompareDocuments(Callback<CompareReturn> callback, System.IO.MemoryStream file1, System.IO.MemoryStream file2, string file1Label = null, string file2Label = null, string model = null, string file1ContentType = null, string file2ContentType = null)
404+
public bool CompareDocuments(Callback<CompareReturn> callback, System.IO.MemoryStream file1, System.IO.MemoryStream file2, string file1ContentType = null, string file2ContentType = null, string file1Label = null, string file2Label = null, string model = null)
405405
{
406406
if (callback == null)
407407
throw new ArgumentNullException("`callback` is required for `CompareDocuments`");

Scripts/Services/Discovery/V1/DiscoveryService.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ private void OnUpdateConfigurationResponse(RESTConnector.Request req, RESTConnec
10451045
/// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
10461046
/// Files larger than the supported size are rejected. (optional)</param>
10471047
/// <param name="filename">The filename for file. (optional)</param>
1048+
/// <param name="fileContentType">The content type of file. (optional)</param>
10481049
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
10491050
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
10501051
/// MB. Metadata parts larger than 1 MB are rejected.
@@ -1058,9 +1059,8 @@ private void OnUpdateConfigurationResponse(RESTConnector.Request req, RESTConnec
10581059
/// <param name="configurationId">The ID of the configuration to use to process the document. If the
10591060
/// **configuration** form part is also provided (both are present at the same time), then the request will be
10601061
/// rejected. (optional)</param>
1061-
/// <param name="fileContentType">The content type of file. (optional)</param>
10621062
/// <returns><see cref="TestDocument" />TestDocument</returns>
1063-
public bool TestConfigurationInEnvironment(Callback<TestDocument> callback, string environmentId, string configuration = null, System.IO.MemoryStream file = null, string filename = null, string metadata = null, string step = null, string configurationId = null, string fileContentType = null)
1063+
public bool TestConfigurationInEnvironment(Callback<TestDocument> callback, string environmentId, string configuration = null, System.IO.MemoryStream file = null, string filename = null, string fileContentType = null, string metadata = null, string step = null, string configurationId = null)
10641064
{
10651065
if (callback == null)
10661066
throw new ArgumentNullException("`callback` is required for `TestConfigurationInEnvironment`");
@@ -2363,16 +2363,16 @@ private void OnListExpansionsResponse(RESTConnector.Request req, RESTConnector.R
23632363
/// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
23642364
/// Files larger than the supported size are rejected. (optional)</param>
23652365
/// <param name="filename">The filename for file. (optional)</param>
2366+
/// <param name="fileContentType">The content type of file. (optional)</param>
23662367
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
23672368
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
23682369
/// MB. Metadata parts larger than 1 MB are rejected.
23692370
/// Example: ``` {
23702371
/// "Creator": "Johnny Appleseed",
23712372
/// "Subject": "Apples"
23722373
/// } ```. (optional)</param>
2373-
/// <param name="fileContentType">The content type of file. (optional)</param>
23742374
/// <returns><see cref="DocumentAccepted" />DocumentAccepted</returns>
2375-
public bool AddDocument(Callback<DocumentAccepted> callback, string environmentId, string collectionId, System.IO.MemoryStream file = null, string filename = null, string metadata = null, string fileContentType = null)
2375+
public bool AddDocument(Callback<DocumentAccepted> callback, string environmentId, string collectionId, System.IO.MemoryStream file = null, string filename = null, string fileContentType = null, string metadata = null)
23762376
{
23772377
if (callback == null)
23782378
throw new ArgumentNullException("`callback` is required for `AddDocument`");
@@ -2620,16 +2620,16 @@ private void OnGetDocumentStatusResponse(RESTConnector.Request req, RESTConnecto
26202620
/// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
26212621
/// Files larger than the supported size are rejected. (optional)</param>
26222622
/// <param name="filename">The filename for file. (optional)</param>
2623+
/// <param name="fileContentType">The content type of file. (optional)</param>
26232624
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
26242625
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
26252626
/// MB. Metadata parts larger than 1 MB are rejected.
26262627
/// Example: ``` {
26272628
/// "Creator": "Johnny Appleseed",
26282629
/// "Subject": "Apples"
26292630
/// } ```. (optional)</param>
2630-
/// <param name="fileContentType">The content type of file. (optional)</param>
26312631
/// <returns><see cref="DocumentAccepted" />DocumentAccepted</returns>
2632-
public bool UpdateDocument(Callback<DocumentAccepted> callback, string environmentId, string collectionId, string documentId, System.IO.MemoryStream file = null, string filename = null, string metadata = null, string fileContentType = null)
2632+
public bool UpdateDocument(Callback<DocumentAccepted> callback, string environmentId, string collectionId, string documentId, System.IO.MemoryStream file = null, string filename = null, string fileContentType = null, string metadata = null)
26332633
{
26342634
if (callback == null)
26352635
throw new ArgumentNullException("`callback` is required for `UpdateDocument`");

Scripts/Services/Discovery/V1/Model/MemoryUsage.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

Scripts/Services/Discovery/V1/Model/MemoryUsage.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

Scripts/Services/VisualRecognition/V3/VisualRecognitionService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public VisualRecognitionService(string versionDate, Credentials credentials) : b
138138
///
139139
/// You can also include an image with the **url** parameter. (optional)</param>
140140
/// <param name="imagesFilename">The filename for imagesFile. (optional)</param>
141+
/// <param name="imagesFileContentType">The content type of imagesFile. (optional)</param>
141142
/// <param name="url">The URL of an image (.gif, .jpg, .png, .tif) to analyze. The minimum recommended pixel
142143
/// density is 32X32 pixels, but the service tends to perform better with images that are at least 224 x 224
143144
/// pixels. The maximum image size is 10 MB.
@@ -162,9 +163,8 @@ public VisualRecognitionService(string versionDate, Credentials credentials) : b
162163
/// - `explicit`: Evaluates whether the image might be pornographic. (optional)</param>
163164
/// <param name="acceptLanguage">The desired language of parts of the response. See the response for details.
164165
/// (optional, default to en)</param>
165-
/// <param name="imagesFileContentType">The content type of imagesFile. (optional)</param>
166166
/// <returns><see cref="ClassifiedImages" />ClassifiedImages</returns>
167-
public bool Classify(Callback<ClassifiedImages> callback, System.IO.MemoryStream imagesFile = null, string imagesFilename = null, string url = null, float? threshold = null, List<string> owners = null, List<string> classifierIds = null, string acceptLanguage = null, string imagesFileContentType = null)
167+
public bool Classify(Callback<ClassifiedImages> callback, System.IO.MemoryStream imagesFile = null, string imagesFilename = null, string imagesFileContentType = null, string url = null, float? threshold = null, List<string> owners = null, List<string> classifierIds = null, string acceptLanguage = null)
168168
{
169169
if (callback == null)
170170
throw new ArgumentNullException("`callback` is required for `Classify`");
@@ -271,6 +271,7 @@ private void OnClassifyResponse(RESTConnector.Request req, RESTConnector.Respons
271271
///
272272
/// You can also include an image with the **url** parameter. (optional)</param>
273273
/// <param name="imagesFilename">The filename for imagesFile. (optional)</param>
274+
/// <param name="imagesFileContentType">The content type of imagesFile. (optional)</param>
274275
/// <param name="url">The URL of an image to analyze. Must be in .gif, .jpg, .png, or .tif format. The minimum
275276
/// recommended pixel density is 32X32 pixels, but the service tends to perform better with images that are at
276277
/// least 224 x 224 pixels. The maximum image size is 10 MB. Redirects are followed, so you can use a shortened
@@ -279,9 +280,8 @@ private void OnClassifyResponse(RESTConnector.Request req, RESTConnector.Respons
279280
/// You can also include images with the **images_file** parameter. (optional)</param>
280281
/// <param name="acceptLanguage">The desired language of parts of the response. See the response for details.
281282
/// (optional, default to en)</param>
282-
/// <param name="imagesFileContentType">The content type of imagesFile. (optional)</param>
283283
/// <returns><see cref="DetectedFaces" />DetectedFaces</returns>
284-
public bool DetectFaces(Callback<DetectedFaces> callback, System.IO.MemoryStream imagesFile = null, string imagesFilename = null, string url = null, string acceptLanguage = null, string imagesFileContentType = null)
284+
public bool DetectFaces(Callback<DetectedFaces> callback, System.IO.MemoryStream imagesFile = null, string imagesFilename = null, string imagesFileContentType = null, string url = null, string acceptLanguage = null)
285285
{
286286
if (callback == null)
287287
throw new ArgumentNullException("`callback` is required for `DetectFaces`");

0 commit comments

Comments
 (0)