< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.FbsProductCountrySetRequest
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/FbsProductCountryRequests.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
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_PostingNumber()100%210%
get_ProductId()100%210%
get_CountryIsoCode()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")]
 8    public string NameSearch { get; set; } = string.Empty;
 9}
 10
 11public sealed class FbsProductCountrySetRequest : IRequestModel
 12{
 13    [JsonProperty("posting_number")]
 014    public string PostingNumber { get; set; } = string.Empty;
 15
 16    [JsonProperty("product_id")]
 017    public long ProductId { get; set; }
 18
 19    [JsonProperty("country_iso_code")]
 020    public string CountryIsoCode { get; set; } = string.Empty;
 21}