-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
HttpReadSettings.cs
59 lines (53 loc) · 4.23 KB
/
HttpReadSettings.cs
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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Http read settings. </summary>
public partial class HttpReadSettings : StoreReadSettings
{
/// <summary> Initializes a new instance of <see cref="HttpReadSettings"/>. </summary>
public HttpReadSettings()
{
Type = "HttpReadSettings";
}
/// <summary> Initializes a new instance of <see cref="HttpReadSettings"/>. </summary>
/// <param name="type"> The read setting type. </param>
/// <param name="maxConcurrentConnections"> The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). </param>
/// <param name="additionalProperties"> Additional Properties. </param>
/// <param name="requestMethod"> The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). </param>
/// <param name="requestBody"> The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). </param>
/// <param name="additionalHeaders"> The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). </param>
/// <param name="requestTimeout"> Specifies the timeout for a HTTP client to get HTTP response from HTTP server. </param>
/// <param name="enablePartitionDiscovery"> Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). </param>
/// <param name="partitionRootPath"> Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). </param>
/// <param name="additionalColumns"> Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). </param>
internal HttpReadSettings(string type, object maxConcurrentConnections, IDictionary<string, object> additionalProperties, object requestMethod, object requestBody, object additionalHeaders, object requestTimeout, object enablePartitionDiscovery, object partitionRootPath, object additionalColumns) : base(type, maxConcurrentConnections, additionalProperties)
{
RequestMethod = requestMethod;
RequestBody = requestBody;
AdditionalHeaders = additionalHeaders;
RequestTimeout = requestTimeout;
EnablePartitionDiscovery = enablePartitionDiscovery;
PartitionRootPath = partitionRootPath;
AdditionalColumns = additionalColumns;
Type = type ?? "HttpReadSettings";
}
/// <summary> The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). </summary>
public object RequestMethod { get; set; }
/// <summary> The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). </summary>
public object RequestBody { get; set; }
/// <summary> The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). </summary>
public object AdditionalHeaders { get; set; }
/// <summary> Specifies the timeout for a HTTP client to get HTTP response from HTTP server. </summary>
public object RequestTimeout { get; set; }
/// <summary> Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean). </summary>
public object EnablePartitionDiscovery { get; set; }
/// <summary> Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). </summary>
public object PartitionRootPath { get; set; }
/// <summary> Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). </summary>
public object AdditionalColumns { get; set; }
}
}