< Summary

Information
Class: Services.ApiServices._1CApi.OData.Models.ODataDocumentResponse
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/1CApi/OData/Models/ODataDocumentResponse.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 20
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_RefKey()100%210%
get_Number()100%210%
get_Date()100%210%
get_Posted()100%210%
get_DeletionMark()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/1CApi/OData/Models/ODataDocumentResponse.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices._1CApi.OData.Models;
 4
 5public class ODataDocumentResponse
 6{
 07    [JsonProperty("Ref_Key")] public Guid RefKey { get; set; }
 08    [JsonProperty("Number")] public string? Number { get; set; } = string.Empty;
 09    [JsonProperty("Date")] public string? Date { get; set; } = string.Empty;
 010    [JsonProperty("Posted")] public bool Posted { get; set; }
 011    [JsonProperty("DeletionMark")] public bool DeletionMark { get; set; }
 12}
 13
 14public class ODataDocumentWithComment
 15{
 16    [JsonProperty("Ref_Key")] public Guid RefKey { get; set; }
 17    [JsonProperty("Number")] public string? Number { get; set; } = string.Empty;
 18    [JsonProperty("Posted")] public bool Posted { get; set; }
 19    [JsonProperty("Комментарий")] public string? Comment { get; set; }
 20}