#region Namespaces using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Serialization; #endregion namespace VECV_WebApi.Models.EmailServices { #region Model Classes /// /// this class contain properties of state details. /// public class StateModel { /// /// Get or Set state id /// public string StateId { get; set; } /// /// Get or Set state alias /// public string StateAlias { get; set; } /// /// Get or Set state id param /// public string StateIdParam { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of state details. /// public class CityModel { /// /// Get or Set State Id /// public string StateId { get; set; } /// /// Get or Set state alias /// public string StateAlias { get; set; } /// /// Get or Set city id /// public string CityId { get; set; } /// /// Get or Set city name /// public string CityName { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of state details. /// public class CHASSIS_SRCH_Model { public string ChassisNo { get; set; } public string ChassisSearch { get; set; } public string VehRegNo { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } public string VehicleType { get; set; } public string Status { get; set; } } public class Engine_SRCH_Model { public string EngineNo { get; set; } public string ChassisNo { get; set; } public string EngineSearch { get; set; } public string VehRegNo { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } public string VehicleType { get; set; } public string Status { get; set; } } public class CHASSIS_ODOMETER_Model { public string ChassisNo { get; set; } public string TicketID { get; set; } public string TicketIdAlias { get; set; } public string OdoMeterReading { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } public string Message1 { get; set; } public string VehicleType { get; set; } public string Status { get; set; } public string CSRF_Token { get; set; } public string CookieVal1 { get; set; } public string CookieVal2 { get; set; } public string CookieVal3 { get; set; } public string[] CookiesName { get; set; } public string[] CookiesValues { get; set; } public List d { get; set; } } public class TEMP_CHASSIS_ODOMETER_Model { public string Message { get; set; } public string Status { get; set; } public string TicketId { get; set; } public string Vhvin { get; set; } } /// /// this class contain properties of state details. /// public class RegionModel { /// /// Get or Set region name /// public string RegionName { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of state details. /// public class OrgganizationModel { /// /// Get or Set id /// public int Id { get; set; } /// /// Get or Set organization name /// public string OrganizationName { get; set; } /// /// Get or Set alias /// public string Alias { get; set; } /// /// Get or Set city /// public string City { get; set; } /// /// Get or Set state /// public string State { get; set; } /// /// Get or Set country /// public string Country { get; set; } /// /// Get or Set decription /// public string Description { get; set; } /// /// Get or Set path /// public string Path { get; set; } /// /// Get or Set depth /// public string Depth { get; set; } /// /// Get or Set color /// public string Color { get; set; } /// /// Get or Set region /// public string Region { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set parent /// public string Parent { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of state details. /// public class TimeZoneModel { /// /// Get or Set time zone id /// public Int64 TimeZoneId { get; set; } /// /// Get or Set timezone name /// public string TimeZoneName { get; set; } /// /// Get or Set utc minute /// public double? UtcMinute { get; set; } /// /// Get or Set display id /// public string DisplayId { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of Vehicle Type details. /// public class VehicleTypeModel { /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set vehicle type id /// public string VehicleTypeId { get; set; } /// /// Get or Set vehicle type name /// public string VehicleTypeName { get; set; } /// /// Get or Set vehicle type tagging /// public string VehicleTypeTagging { get; set; } /// /// Get or Set status /// public string Status { get; set; } /// /// Get or Set message /// public string Message { get; set; } /// /// Get or Set operation /// public string Operation { get; set; } /// /// Get or Set isDeleted bit /// public Boolean IsDeleted { get; set; } /// /// Get or Set isDeleted bit /// public string VehicleRegistrationNumber { get; set; } public string udanVehicleProductId { get; set; } public string udanVehicleProductName { get; set; } } /// /// this class contain properties of state details. /// public class SendNotificationModel { /// /// Get or Set device GCM id /// public string DeviceGcmId { get; set; } /// /// Get or Set device FCM id /// public string DeviceFcmId { get; set; } /// /// Get or Set google app id /// public string GoogleAppID { get; set; } /// /// Get or Set sender id /// public string SenderId { get; set; } /// /// Get or Set notification code /// public string NotificationCode { get; set; } /// /// Get or Set notification message /// public string NotificationMessage { get; set; } /// /// Get or Set ticket id /// public string TicketId { get; set; } public string PrevTicketStatus { get; set; } public string TicketStatus { get; set; } public string title { get; set; } public string Status { get; set; } } /// /// this class contain properties of state details. /// public class ReasonsModel { /// /// Get or Set id /// public int? Id { get; set; } /// /// Get or Set reason name /// public string ReasonName { get; set; } /// /// Get or Set reason alias /// public string ReasonAlias { get; set; } /// /// Get or Set type id /// public string TypeId { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } /// /// Get or Set status /// public string Status { get; set; } /// /// Get or Set isDeleted bit /// public Boolean? IsDeleted { get; set; } } /// /// this class contain properties of state details. /// public class EstimateCostModel { /// /// Get or Set id /// public int? Id { get; set; } /// /// Get or Set cost range /// public string CostRange { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// this class contain properties of state details. /// public class DealerModel { /// /// Get or Set dealer id /// public string DealerId { get; set; } /// /// Get or Set dealer organization id /// public int? DealerOrganizationId { get; set; } /// /// Get or Set dealer name /// public string DealerDealerName { get; set; } /// /// Get or Set city /// public string DealerCity { get; set; } /// /// Get or Set dealer state /// public string DealerState { get; set; } /// /// Get or Set dealer latitude /// public string DealerDealerDefaultLattitude { get; set; } /// /// Get or Set dealer longitude /// public string DealerDealerDefaultLongitude { get; set; } /// /// Get or Set dealer contact number /// public string DealerContactNo { get; set; } /// /// Get or Set delaer contact number 2 /// public string DealerContactNo2 { get; set; } /// /// Get or Set status /// public string Status { get; set; } /// /// Get or Set isDeleted bit /// public bool? IsDeleted { get; set; } /// /// Get or Set message /// public string Message { get; set; } public string current_latitude { get; set; } public string current_longitude { get; set; } /// Get or Set dealer contact number /// public string VanContactNo { get; set; } public string FuelType { get; set; } } /// /// this class contain properties of state details. /// public class SlaModel { /// /// Get or Set id /// public Int64? Id { get; set; } /// /// Get or Set sla time /// public int? SlaTime { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set status /// public string Status { get; set; } /// /// Get or Set message /// public string Message { get; set; } } /// /// This class contain language properties /// public class LanguageModel { /// /// Get or set Id /// public int? Id { get; set; } /// /// Get or set Language Name /// public string LanguageName { get; set; } /// /// Get or set Language Alias /// public string LanguageAlias { get; set; } } //----------------------------- added on 25-11-2020 (start) ------------------------------------- /// /// This class contain closed ticket reason properties /// public class ClosedTicketReason { /// /// Get or set Warrenty id /// public int? Id { get; set; } /// /// Get or set Warrenty name /// public string ReasonName { get; set; } /// /// Get or set Warrenty alias /// public string ReasonAlias { get; set; } /// /// Get or set Warrenty type id /// public string TypeId { get; set; } /// /// Get or set Warrenty type alias /// public string TypeAlias { get; set; } } //----------------------------- added on 25-11-2020 (end) ------------------------------------- /// /// This class contain Toll Free No Source properties /// public class TollFreeNoSourceModel { /// /// Get or set Id /// public int? Id { get; set; } /// /// Get or set Reason Name /// public string ReasonName { get; set; } /// /// Get or set Reason Alias /// public string ReasonAlias { get; set; } /// /// Get or set Type Id /// public string TypeId { get; set; } /// /// Get or set Type Alias /// public string TypeAlias { get; set; } } public class NatureOfProblemModel { /// /// Get or set Id /// public int? Id { get; set; } /// /// Get or set Reason Name /// public string ReasonName { get; set; } /// /// Get or set Reason Alias /// public string ReasonAlias { get; set; } /// /// Get or set Type Id /// public string TypeId { get; set; } /// /// Get or set Type Alias /// public string TypeAlias { get; set; } } public class AppModel { /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } /// /// Get or Set status /// public string Status { get; set; } public string AppCode { get; set; } public string AppName { get; set; } public string AppVersion { get; set; } public DateTime? ModifiedDate { get; set; } } public class EngineDetailModel { public string creation_time { get; set; } public string isdeleted { get; set; } public string serial_no { get; set; } public string vehiclenumber{ get; set; } public string regno{ get; set; } public string engine_class{ get; set; } public string chassis { get; set; } public string engine_number { get; set; } public string vehiclemanufacturername { get; set; } public string model { get; set; } public string vehiclecolour { get; set; } public string type { get; set; } public string owner_name { get; set; } public string mobilenumber { get; set; } public string status { get; set; } public string statusason { get; set; } } #endregion [XmlRoot(ElementName = "field", Namespace = "http://ns.adobe.com/xfdf/")] public class Field { [XmlElement(ElementName = "value", Namespace = "http://ns.adobe.com/xfdf/")] public string Value { get; set; } [XmlAttribute(AttributeName = "name")] public string Name { get; set; } } [XmlRoot(ElementName = "fields", Namespace = "http://ns.adobe.com/xfdf/")] public class Fields { [XmlElement(ElementName = "field", Namespace = "http://ns.adobe.com/xfdf/")] public List Field { get; set; } } }