< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.FbsProductCountryListRequest
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/FbsProductCountryRequests.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 21
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_NameSearch()100%210%

File(s)

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

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.OzonApi.Filters;
 4
 5public sealed class FbsProductCountryListRequest : IRequestModel
 6{
 7    [JsonProperty("name_search")]
 08    public string NameSearch { get; set; } = string.Empty;
 9}
 10
 11public sealed class FbsProductCountrySetRequest : IRequestModel
 12{
 13    [JsonProperty("posting_number")]
 14    public string PostingNumber { get; set; } = string.Empty;
 15
 16    [JsonProperty("product_id")]
 17    public long ProductId { get; set; }
 18
 19    [JsonProperty("country_iso_code")]
 20    public string CountryIsoCode { get; set; } = string.Empty;
 21}

Methods/Properties

get_NameSearch()