34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: PartSource.Data.Nexpart.MakeSearch
|
|
// 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 MakeSearch
|
|
{
|
|
public MakeSearch()
|
|
{
|
|
this.PSRequestHeader = new PSRequestHeader();
|
|
this.Years = new Years() { From = 1900, To = 2049 };
|
|
this.RegionId = new int[]{ 2 };
|
|
}
|
|
|
|
[XmlElement(ElementName = "PSRequestHeader", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 1)]
|
|
public PSRequestHeader PSRequestHeader { get; set; }
|
|
|
|
[XmlElement(ElementName = "Years", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 2)]
|
|
public Years Years { get; set; }
|
|
|
|
[XmlElement(ElementName = "RegionId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 3)]
|
|
public int[] RegionId { get; set; }
|
|
|
|
[XmlElement(ElementName = "VehicleTypeId", Namespace = "http://whisolutions.com/PartSelectService-v1", Order = 4)]
|
|
public int[] VehicleTypeId { get; set; }
|
|
}
|
|
}
|