Advertisement
Guest User

Untitled

a guest
Jun 15th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. [DataContract]
  2. public class clavis{
  3. [DataMember]
  4. public reqestClavis REQUEST { get; set; }
  5. [DataMember]
  6. public replyClavis REPLY { get; set; }
  7. public clavis(){
  8. REQUEST=new reqestClavis();
  9. REPLY=new replyClavis();
  10. }//constructor
  11. }//class clavis
  12.  
  13. public class reqestClavis{
  14. public string ID { get; set; }
  15. public string REQUESTMETHOD { get; set; }
  16. public string USERHOST { get; set; }
  17. public string APIOBJECT { get; set; }
  18. public string APIMETHOD { get; set; }
  19. public string APIID { get; set; }
  20. public string XSIGNATURE { get; set; }
  21. public string XUSERNAME { get; set; }
  22. public string XPASSWORD { get; set; }
  23. public string XLIBRARY { get; set; }
  24. public string REQSTART { get; set; }
  25. public string REQEND { get; set; }
  26. public string REQTIME { get; set; }
  27. public reqestClavis(){
  28. ID=string.Empty;
  29. REQUESTMETHOD=string.Empty;
  30. USERHOST=string.Empty;
  31. APIOBJECT=string.Empty;
  32. APIMETHOD=string.Empty;
  33. APIID=string.Empty;
  34. XSIGNATURE=string.Empty;
  35. XUSERNAME=string.Empty;
  36. XPASSWORD=string.Empty;
  37. XLIBRARY=string.Empty;
  38. REQSTART=string.Empty;
  39. REQEND=string.Empty;
  40. REQTIME=string.Empty;
  41. }//constructor
  42. }//class reqClavis
  43.  
  44. public class replyClavis{
  45. public string STATUS { get; set; }
  46. public patronClavis PATRON { get; set; }
  47. public string ERRORCODE { get; set; }
  48. public string ERRORINFO { get; set; }
  49. public replyClavis(){
  50. STATUS=string.Empty;
  51. PATRON=new patronClavis();
  52. ERRORCODE=string.Empty;
  53. ERRORINFO=string.Empty;
  54. }//constructor
  55. }//class replyClavis
  56.  
  57. public class patronClavis{
  58. public string SURF { get; set; }
  59. public string STATUS { get; set; }
  60. public string CLASS { get; set; }
  61. public string NAME { get; set; }
  62. public string BARCODE { get; set; }
  63. public patronClavis(){
  64. SURF=string.Empty;
  65. STATUS=string.Empty;
  66. CLASS=string.Empty;
  67. NAME=string.Empty;
  68. BARCODE=string.Empty;
  69. }//constructor
  70. }//class patronClavis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement