/
Requests.Http.cs
101 lines (81 loc) · 3.35 KB
/
Requests.Http.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// -----------------------------------------------
//
// This file is automatically generated
// Please do not edit these files manually
// Run the following in the root of the repos:
//
// *NIX : ./build.sh codegen
// Windows : build.bat codegen
//
// -----------------------------------------------
using OpenSearch.Net.Specification.HttpApi;
using OpenSearch.Net.Utf8Json;
namespace OpenSearch.Client;
public interface IHttpDeleteRequest : IArbitraryHttpRequest<HttpDeleteRequestParameters> { }
public class HttpDeleteRequest
: ArbitraryHttpRequestBase<HttpDeleteRequestParameters>,
IHttpDeleteRequest
{
[SerializationConstructor]
protected HttpDeleteRequest() { }
public HttpDeleteRequest(string path)
: base(path) { }
}
public interface IHttpGetRequest : IArbitraryHttpRequest<HttpGetRequestParameters> { }
public class HttpGetRequest : ArbitraryHttpRequestBase<HttpGetRequestParameters>, IHttpGetRequest
{
[SerializationConstructor]
protected HttpGetRequest() { }
public HttpGetRequest(string path)
: base(path) { }
}
public interface IHttpHeadRequest : IArbitraryHttpRequest<HttpHeadRequestParameters> { }
public class HttpHeadRequest : ArbitraryHttpRequestBase<HttpHeadRequestParameters>, IHttpHeadRequest
{
[SerializationConstructor]
protected HttpHeadRequest() { }
public HttpHeadRequest(string path)
: base(path) { }
}
public interface IHttpPatchRequest : IArbitraryBodyHttpRequest<HttpPatchRequestParameters> { }
public class HttpPatchRequest
: ArbitraryBodyHttpRequestBase<HttpPatchRequestParameters>,
IHttpPatchRequest
{
[SerializationConstructor]
protected HttpPatchRequest() { }
public HttpPatchRequest(string path)
: base(path) { }
}
public interface IHttpPostRequest : IArbitraryBodyHttpRequest<HttpPostRequestParameters> { }
public class HttpPostRequest
: ArbitraryBodyHttpRequestBase<HttpPostRequestParameters>,
IHttpPostRequest
{
[SerializationConstructor]
protected HttpPostRequest() { }
public HttpPostRequest(string path)
: base(path) { }
}
public interface IHttpPutRequest : IArbitraryBodyHttpRequest<HttpPutRequestParameters> { }
public class HttpPutRequest
: ArbitraryBodyHttpRequestBase<HttpPutRequestParameters>,
IHttpPutRequest
{
[SerializationConstructor]
protected HttpPutRequest() { }
public HttpPutRequest(string path)
: base(path) { }
}