-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inconsistent usage of T and U types for body and response.
fix #266
- Loading branch information
Showing
7 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 15 additions & 4 deletions
19
arangodb-net-standard/DocumentApi/Models/DeleteDocumentsDocumentResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
using System.Net; | ||
|
||
namespace ArangoDBNetStandard.DocumentApi.Models | ||
namespace ArangoDBNetStandard.DocumentApi.Models | ||
{ | ||
public class DeleteDocumentsDocumentResponse<T>: DeleteDocumentResponse<T> | ||
/// <summary> | ||
/// Represents the response for one document when deleting multiple document. | ||
/// </summary> | ||
/// <typeparam name="T">The type of the deserialized old document object when requested.</typeparam> | ||
public class DeleteDocumentsDocumentResponse<T> : DeleteDocumentResponse<T> | ||
{ | ||
/// <summary> | ||
/// Indicates whether an error occurred. | ||
/// </summary> | ||
public bool Error { get; set; } | ||
|
||
/// <summary> | ||
/// ArangoDB error message. | ||
/// </summary> | ||
public string ErrorMessage { get; set; } | ||
|
||
/// <summary> | ||
/// ArangoDB error number. | ||
/// </summary> | ||
public int ErrorNum { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters