We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 758c92f commit 261b89bCopy full SHA for 261b89b
src/Nest/DSL/MultiGet/MultiGetOperationDescriptor.cs
@@ -85,6 +85,27 @@ public MultiGetOperationDescriptor<T> Type(string type)
85
return this;
86
}
87
88
+
89
+ /// <summary>
90
+ /// Manually set the type of which a typename will be inferred
91
+ /// </summary>
92
+ public MultiGetOperationDescriptor<T> Type(Type type)
93
+ {
94
+ if (type == null) return this;
95
+ Self.Type = type;
96
+ return this;
97
+ }
98
99
+ public MultiGetOperationDescriptor<T> Id(long id)
100
101
+ return this.Id(id.ToString(CultureInfo.InvariantCulture));
102
103
104
+ public MultiGetOperationDescriptor<T> Id(string id)
105
106
+ Self.Id = id;
107
108
109
/// <summary>
110
/// Control how the document's source is loaded
111
/// </summary>
0 commit comments