Initial commit
This commit is contained in:
35
PartSource.Data/Nexpart/ModelSearch.cs
Normal file
35
PartSource.Data/Nexpart/ModelSearch.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: PartSource.Data.Nexpart.ModelSearch
|
||||
// Assembly: PartSource.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 3EDAB3F5-83E7-4F65-906E-B40192014C57
|
||||
// Assembly location: C:\Users\Tommy\Desktop\PS temp\PartSource.Data.dll
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PartSource.Data.Nexpart
|
||||
{
|
||||
[XmlType(AnonymousType = true, Namespace = "http://whisolutions.com/PartSelectService-v1")]
|
||||
public class ModelSearch
|
||||
{
|
||||
public ModelSearch()
|
||||
{
|
||||
this.PSRequestHeader = new PSRequestHeader();
|
||||
this.RegionId = new int[] { 2 };
|
||||
}
|
||||
|
||||
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
||||
public PSRequestHeader PSRequestHeader { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "Year", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 2)]
|
||||
public int Year { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "MakeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 3)]
|
||||
public int MakeId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "RegionId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 4)]
|
||||
public int[] RegionId { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "VehicleTypeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 5)]
|
||||
public int[] VehicleTypeId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user