Skip to content

Commit 6543855

Browse files
committed
Fix descriptor constructor and request method generation
1 parent 255cad8 commit 6543855

File tree

360 files changed

+2372
-1517
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+2372
-1517
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
166166
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRequest(id);
167167
}
168168

169-
[System.Obsolete("TODO")]
169+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
170170
public AsyncSearchStatusRequestDescriptor()
171171
{
172172
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public DeleteAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
129129
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.DeleteAsyncSearchRequest(id);
130130
}
131131

132-
[System.Obsolete("TODO")]
132+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
133133
public DeleteAsyncSearchRequestDescriptor()
134134
{
135135
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public GetAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
180180
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchRequest(id);
181181
}
182182

183-
[System.Obsolete("TODO")]
183+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
184184
public GetAsyncSearchRequestDescriptor()
185185
{
186186
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.AsyncSea
10221022
Instance = instance;
10231023
}
10241024

1025-
public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Indices indices)
1025+
public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Indices? indices)
10261026
{
10271027
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequest(indices);
10281028
}
@@ -2401,7 +2401,7 @@ public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.AsyncSea
24012401
Instance = instance;
24022402
}
24032403

2404-
public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Indices indices)
2404+
public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Indices? indices)
24052405
{
24062406
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequest(indices);
24072407
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.BulkRequest instance)
679679
Instance = instance;
680680
}
681681

682-
public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index)
682+
public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName? index)
683683
{
684684
Instance = new Elastic.Clients.Elasticsearch.BulkRequest(index);
685685
}
@@ -1154,7 +1154,7 @@ public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.BulkRequest instance)
11541154
Instance = instance;
11551155
}
11561156

1157-
public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index)
1157+
public BulkRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName? index)
11581158
{
11591159
Instance = new Elastic.Clients.Elasticsearch.BulkRequest(index);
11601160
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public ClusterInfoRequestDescriptor(System.Collections.Generic.ICollection<Elast
121121
Instance = new Elastic.Clients.Elasticsearch.Cluster.ClusterInfoRequest(target);
122122
}
123123

124-
[System.Obsolete("TODO")]
124+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
125125
public ClusterInfoRequestDescriptor()
126126
{
127127
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public ClusterStatsRequestDescriptor(Elastic.Clients.Elasticsearch.Cluster.Clust
147147
Instance = instance;
148148
}
149149

150-
public ClusterStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds nodeId)
150+
public ClusterStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? nodeId)
151151
{
152152
Instance = new Elastic.Clients.Elasticsearch.Cluster.ClusterStatsRequest(nodeId);
153153
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public DeleteComponentTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Na
152152
Instance = new Elastic.Clients.Elasticsearch.Cluster.DeleteComponentTemplateRequest(name);
153153
}
154154

155-
[System.Obsolete("TODO")]
155+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
156156
public DeleteComponentTemplateRequestDescriptor()
157157
{
158158
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public ExistsComponentTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Na
155155
Instance = new Elastic.Clients.Elasticsearch.Cluster.ExistsComponentTemplateRequest(name);
156156
}
157157

158-
[System.Obsolete("TODO")]
158+
[System.Obsolete("The use of the parameterless constructor is not permitted for this type.")]
159159
public ExistsComponentTemplateRequestDescriptor()
160160
{
161161
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public GetComponentTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Clust
176176
Instance = instance;
177177
}
178178

179-
public GetComponentTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Name name)
179+
public GetComponentTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Name? name)
180180
{
181181
Instance = new Elastic.Clients.Elasticsearch.Cluster.GetComponentTemplateRequest(name);
182182
}

0 commit comments

Comments
 (0)