< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.WarehouseOzon
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/WarehouseOzon.cs
Line coverage
12%
Covered lines: 2
Uncovered lines: 14
Coverable lines: 16
Total lines: 54
Line coverage: 12.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_HasEntrustedAcceptance()100%210%
get_IsRfbs()100%210%
get_Name()100%11100%
get_WarehouseId()100%11100%
get_CanPrintActInAdvance()100%210%
get_FirstMileType()100%210%
get_HasPostingsLimit()100%210%
get_IsKarantin()100%210%
get_IsKgt()100%210%
get_IsEconomy()100%210%
get_IsTimetableEditable()100%210%
get_MinPostingsLimit()100%210%
get_PostingsLimit()100%210%
get_MinWorkingDays()100%210%
get_Status()100%210%
get_WorkingDays()100%210%

File(s)

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

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.OzonApi.Filters;
 4
 5public class WarehouseOzon
 6{
 7    [JsonProperty("has_entrusted_acceptance")]
 08    public bool HasEntrustedAcceptance { get; set; }
 9
 10    [JsonProperty("is_rfbs")]
 011    public bool IsRfbs { get; set; }
 12
 13    [JsonProperty("name")]
 7514    public string? Name { get; set; }
 15
 16    [JsonProperty("warehouse_id")]
 8417    public long WarehouseId { get; set; }
 18
 19    [JsonProperty("can_print_act_in_advance")]
 020    public bool CanPrintActInAdvance { get; set; }
 21
 22    [JsonProperty("first_mile_type")]
 023    public FirstMileType FirstMileType { get; set; } = null!;
 24    [JsonProperty("has_postings_limit")]
 025    public bool HasPostingsLimit { get; set; }
 26
 27    [JsonProperty("is_karantin")]
 028    public bool IsKarantin { get; set; }
 29
 30    [JsonProperty("is_kgt")]
 031    public bool IsKgt { get; set; }
 32
 33    [JsonProperty("is_economy")]
 034    public bool IsEconomy { get; set; }
 35
 36    [JsonProperty("is_timetable_editable")]
 037    public bool IsTimetableEditable { get; set; }
 38
 39    [JsonProperty("min_postings_limit")]
 040    public int MinPostingsLimit { get; set; }
 41
 42    [JsonProperty("postings_limit")]
 043    public int PostingsLimit { get; set; }
 44
 45    [JsonProperty("min_working_days")]
 046    public int MinWorkingDays { get; set; }
 47
 48    [JsonProperty("status")]
 049    public string? Status { get; set; }
 50
 51    [JsonProperty("working_days")]
 052    public List<string>? WorkingDays { get; set; }
 53}
 54