NEST by Elastic and contributors

<PackageReference Include="NEST" Version="7.13.1" />

.NET API 4,917,760 bytes

 SourceRequest

Request for Source

https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html

public string Preference { get; set; }

Specify the node or shard the operation should be performed on (default: random)

public bool? Realtime { get; set; }

Specify whether to perform the operation in realtime or search mode

public bool? Refresh { get; set; }

Refresh the shard containing the document before performing the operation

public Routing Routing { get; set; }

protected ISourceRequest Self { get; }

public bool? SourceEnabled { get; set; }

Whether the _source should be included in the response.

public Fields SourceExcludes { get; set; }

A list of fields to exclude from the returned _source field

public Fields SourceIncludes { get; set; }

A list of fields to extract and return from the _source field

public long? Version { get; set; }

Explicit version number for concurrency control

public VersionType? VersionType { get; set; }

Specific version type

public SourceRequest(IndexName index, Id id)

/{index}/_source/{id}

protected SourceRequest()

Used for serialization purposes, making sure we have a parameterless constructor