Class SourceExistsRequest<TDocument>
Inheritance
SourceExistsRequest<TDocument>
Implements
ISourceExistsRequest<TDocument>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SourceExistsRequest<TDocument> : SourceExistsRequest, ISourceExistsRequest<TDocument>, ISourceExistsRequest, IRequest<SourceExistsRequestParameters>, IRequest where TDocument : class
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Edit this page View SourceSourceExistsRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected SourceExistsRequest()
SourceExistsRequest(Id)
/{index}/_source/{id}
Declaration
public SourceExistsRequest(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
SourceExistsRequest(IndexName, Id)
/{index}/_source/{id}
Declaration
public SourceExistsRequest(IndexName index, Id id)
Parameters
Type | Name | Description |
---|---|---|
IndexName | index | this parameter is required |
Id | id | this parameter is required |
SourceExistsRequest(TDocument, IndexName, Id)
/{index}/_source/{id}
Declaration
public SourceExistsRequest(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 ISourceExistsRequest<TDocument> TypedSelf { get; }
Property Value
Type | Description |
---|---|
ISourceExistsRequest<TDocument> |