%PDF- %PDF-
Direktori : /data/ntb/vintedDown/ |
Current File : //data/ntb/vintedDown/ApiItemNew.cs |
using Newtonsoft.Json; namespace vintedDown.ApiItemNew; // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse); public class AcceptedPayInMethod { public int id { get; set; } public string code { get; set; } public bool requires_credit_card { get; set; } public string event_tracking_code { get; set; } public string icon { get; set; } public bool enabled { get; set; } public string translated_name { get; set; } public string note { get; set; } public bool method_change_possible { get; set; } } public class BrandDto { public int id { get; set; } public string title { get; set; } public string slug { get; set; } public int favourite_count { get; set; } public string pretty_favourite_count { get; set; } public int item_count { get; set; } public string pretty_item_count { get; set; } public bool is_visible_in_listings { get; set; } public bool requires_authenticity_check { get; set; } public bool is_luxury { get; set; } public bool is_hvf { get; set; } public string path { get; set; } public string url { get; set; } public bool is_favourite { get; set; } } public class BundleDiscount { public int id { get; set; } public int user_id { get; set; } public bool enabled { get; set; } public int minimal_item_count { get; set; } public string fraction { get; set; } public List<Discount> discounts { get; set; } } public class Discount { public int minimal_item_count { get; set; } public string fraction { get; set; } } public class Email { public bool valid { get; set; } public bool available { get; set; } } public class Extra { } public class Facebook { public bool valid { get; set; } public DateTime verified_at { get; set; } public bool available { get; set; } } public class Google { public bool valid { get; set; } public object verified_at { get; set; } public bool available { get; set; } } public class HighResolution { public string id { get; set; } public int timestamp { get; set; } public object orientation { get; set; } } public class Item { public long id { get; set; } public string title { get; set; } public int brand_id { get; set; } public int size_id { get; set; } public int status_id { get; set; } public int user_id { get; set; } public int country_id { get; set; } public int catalog_id { get; set; } public int color1_id { get; set; } public object color2_id { get; set; } public int package_size_id { get; set; } public int is_visible { get; set; } public int is_unisex { get; set; } public int moderation_status { get; set; } public bool is_hidden { get; set; } public bool is_closed { get; set; } public bool is_closed_new { get; set; } public int favourite_count { get; set; } public int active_bid_count { get; set; } public string description { get; set; } public bool package_size_standard { get; set; } public object item_closing_action { get; set; } public List<object> related_catalog_ids { get; set; } public bool related_catalogs_enabled { get; set; } public string size { get; set; } public string brand { get; set; } public string composition { get; set; } public string extra_conditions { get; set; } public int disposal_conditions { get; set; } public bool is_for_sell { get; set; } public bool is_handicraft { get; set; } public bool is_processing { get; set; } public bool is_draft { get; set; } public bool is_reserved { get; set; } public string label { get; set; } public string original_price_numeric { get; set; } public string currency { get; set; } public string price_numeric { get; set; } public DateTime last_push_up_at { get; set; } public DateTime created_at_ts { get; set; } public DateTime updated_at_ts { get; set; } public DateTime user_updated_at_ts { get; set; } public bool is_delayed_publication { get; set; } public List<Photo> photos { get; set; } public bool can_be_sold { get; set; } public bool can_feedback { get; set; } public bool possible_to_close_new { get; set; } public object item_reservation_id { get; set; } public object promoted_until { get; set; } public object promoted_internationally { get; set; } public object discount_price_numeric { get; set; } public object author { get; set; } public object book_title { get; set; } public object isbn { get; set; } public object measurement_width { get; set; } public object measurement_length { get; set; } public object measurement_unit { get; set; } public object manufacturer { get; set; } public object manufacturer_labelling { get; set; } public bool transaction_permitted { get; set; } public object video_game_rating_id { get; set; } public List<object> item_attributes { get; set; } [JsonProperty("haov_item?")] public bool haov_item { get; set; } public User user { get; set; } public Price price { get; set; } public object discount_price { get; set; } public string service_fee { get; set; } public string total_item_price { get; set; } public bool can_edit { get; set; } public bool can_delete { get; set; } public bool can_reserve { get; set; } public bool can_mark_as_sold { get; set; } public bool can_transfer { get; set; } public bool instant_buy { get; set; } public bool can_close { get; set; } public bool can_buy { get; set; } public bool can_bundle { get; set; } public bool can_ask_seller { get; set; } public bool can_favourite { get; set; } public string user_login { get; set; } public int city_id { get; set; } public string city { get; set; } public string country { get; set; } public bool promoted { get; set; } public bool is_mobile { get; set; } public bool bump_badge_visible { get; set; } public BrandDto brand_dto { get; set; } public string catalog_branch_title { get; set; } public string path { get; set; } public string url { get; set; } public List<AcceptedPayInMethod> accepted_pay_in_methods { get; set; } public string created_at { get; set; } public string color1 { get; set; } public object color2 { get; set; } public string size_title { get; set; } public List<object> description_attributes { get; set; } public object video_game_rating { get; set; } public string status { get; set; } public bool is_favourite { get; set; } public int view_count { get; set; } public object performance { get; set; } public bool stats_visible { get; set; } public bool can_push_up { get; set; } public object badge { get; set; } public int size_guide_faq_entry_id { get; set; } public string localization { get; set; } public bool offline_verification { get; set; } public object offline_verification_fee { get; set; } public List<object> icon_badges { get; set; } } public class Phone { public bool valid { get; set; } public DateTime verified_at { get; set; } public bool available { get; set; } } public class Photo { public object id { get; set; } public int image_no { get; set; } public int width { get; set; } public int height { get; set; } public string dominant_color { get; set; } public string dominant_color_opaque { get; set; } public string url { get; set; } public bool is_main { get; set; } public List<Thumbnail> thumbnails { get; set; } public HighResolution high_resolution { get; set; } public bool is_suspicious { get; set; } public string full_size_url { get; set; } public bool is_hidden { get; set; } public Extra extra { get; set; } } public class Photo2 { public int id { get; set; } public int width { get; set; } public int height { get; set; } public object temp_uuid { get; set; } public string url { get; set; } public string dominant_color { get; set; } public string dominant_color_opaque { get; set; } public List<Thumbnail> thumbnails { get; set; } public bool is_suspicious { get; set; } public object orientation { get; set; } public HighResolution high_resolution { get; set; } public string full_size_url { get; set; } public bool is_hidden { get; set; } public Extra extra { get; set; } } public class Price { public string amount { get; set; } public string currency_code { get; set; } } public class Root { public Item item { get; set; } public int code { get; set; } } public class Thumbnail { public string type { get; set; } public string url { get; set; } public int width { get; set; } public int height { get; set; } public bool? original_size { get; set; } } public class User { public int id { get; set; } public string anon_id { get; set; } public string login { get; set; } public object real_name { get; set; } public object email { get; set; } public object birthday { get; set; } public int item_count { get; set; } public int given_item_count { get; set; } public int taken_item_count { get; set; } public int followers_count { get; set; } public int following_count { get; set; } public int following_brands_count { get; set; } public int positive_feedback_count { get; set; } public int neutral_feedback_count { get; set; } public int negative_feedback_count { get; set; } public int meeting_transaction_count { get; set; } public int account_status { get; set; } public double feedback_reputation { get; set; } public int feedback_count { get; set; } public object account_ban_date { get; set; } public object forum_ban_date { get; set; } public object is_account_ban_permanent { get; set; } public object is_forum_ban_permanent { get; set; } public bool is_on_holiday { get; set; } public bool is_publish_photos_agreed { get; set; } public bool expose_location { get; set; } public bool third_party_tracking { get; set; } public object default_address { get; set; } public DateTime last_loged_on_ts { get; set; } public int city_id { get; set; } public string city { get; set; } public int country_id { get; set; } public string country_code { get; set; } public string country_iso_code { get; set; } public string country_title { get; set; } public object contacts_permission { get; set; } public object contacts { get; set; } public Photo photo { get; set; } public string path { get; set; } public bool moderator { get; set; } public bool is_catalog_moderator { get; set; } public bool is_catalog_role_marketing_photos { get; set; } public bool hide_feedback { get; set; } public bool can_post_big_forum_photos { get; set; } public bool allow_direct_messaging { get; set; } public BundleDiscount bundle_discount { get; set; } public object fundraiser { get; set; } public bool business { get; set; } public object business_account { get; set; } public bool has_ship_fast_badge { get; set; } public int total_items_count { get; set; } public string about { get; set; } public Verification verification { get; set; } public object avg_response_time { get; set; } public List<int> carrier_ids { get; set; } public List<int> carriers_without_custom_ids { get; set; } public string locale { get; set; } public int updated_on { get; set; } public bool is_hated { get; set; } public bool hates_you { get; set; } public bool is_favourite { get; set; } public string profile_url { get; set; } public string share_profile_url { get; set; } public object facebook_user_id { get; set; } public bool is_online { get; set; } public bool can_view_profile { get; set; } public bool can_bundle { get; set; } public string country_title_local { get; set; } public string last_loged_on { get; set; } public List<AcceptedPayInMethod> accepted_pay_in_methods { get; set; } public string localization { get; set; } public bool is_bpf_price_prominence_applied { get; set; } public int msg_template_count { get; set; } } public class Verification { public Email email { get; set; } public Facebook facebook { get; set; } public Google google { get; set; } public Phone phone { get; set; } }