Class DeleteRequest<TDocument>
Inheritance
DeleteRequest<TDocument>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteRequest<TDocument> : DeleteRequest, IDeleteRequest<TDocument>, IDeleteRequest, IRequest<DeleteRequestParameters>, IRequest where TDocument : class
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Edit this page View SourceDeleteRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteRequest()
DeleteRequest(Id)
/{index}/_doc/{id}
Declaration
public DeleteRequest(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
DeleteRequest(IndexName, Id)
/{index}/_doc/{id}
Declaration
public DeleteRequest(IndexName index, Id id)
Parameters
Type | Name | Description |
---|---|---|
IndexName | index | this parameter is required |
Id | id | this parameter is required |
DeleteRequest(TDocument, IndexName, Id)
/{index}/_doc/{id}
Declaration
public DeleteRequest(TDocument documentWithId, IndexName index = null, Id id = null)
Parameters
Type | Name | Description |
---|---|---|
TDocument | documentWithId | |
IndexName | index | |
Id | id | The document used to resolve the path from |
Properties
| Edit this page View SourceTypedSelf
Declaration
protected IDeleteRequest<TDocument> TypedSelf { get; }
Property Value
Type | Description |
---|---|
IDeleteRequest<TDocument> |