< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.ReportInfoResponseResult
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/ReportInfoResponse.cs
Line coverage
87%
Covered lines: 7
Uncovered lines: 1
Coverable lines: 8
Total lines: 37
Line coverage: 87.5%
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_Code()100%11100%
get_CreatedAt()100%11100%
get_Error()100%11100%
get_ExpiresAt()100%11100%
get_File()100%11100%
get_Params()100%210%
get_ReportType()100%11100%
get_Status()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/ReportInfoResponse.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.OzonApi.Filters
 4{
 5    public class ReportInfoResponse
 6    {
 7        [JsonProperty("result")]
 8        public ReportInfoResponseResult? Result { get; set; }
 9    }
 10
 11    public class ReportInfoResponseResult
 12    {
 13        [JsonProperty("code")]
 314        public string? Code { get; set; }
 15
 16        [JsonProperty("created_at")]
 217        public DateTime? CreatedAt { get; set; }
 18
 19        [JsonProperty("error")]
 420        public string? Error { get; set; }
 21
 22        [JsonProperty("expires_at")]
 223        public DateTime? ExpiresAt { get; set; }
 24
 25        [JsonProperty("file")]
 426        public string? File { get; set; }
 27
 28        [JsonProperty("params")]
 029        public object? Params { get; set; }
 30
 31        [JsonProperty("report_type")]
 432        public string? ReportType { get; set; }
 33
 34        [JsonProperty("status")]
 635        public string? Status { get; set; }
 36    }
 37}