// *************************************************************
// Copyright (c) 1991-2021 LEAD Technologies, Inc.              
// All Rights Reserved.                                         
// *************************************************************
using System.Runtime.Serialization;

namespace Leadtools.Services.Models
{
   /// <summary>
   /// A base request type that all other requests derive from.
   /// </summary>
   [DataContract]
   public class Request
   {
      /// <summary>
      /// Any arbitrary data the user may wish to pass along through the LEADTOOLS Document library to the service.
      /// </summary>
      [DataMember(Name = "userData")]
      public string UserData { get; set; }

      /// <summary>
      /// An optional token that can be passed through the LEADTOOLS Document Library to unlock user-restricted documents.
      /// </summary>
      [DataMember(Name = "documentUserToken")]
      public string DocumentUserToken { get; set; }
   }

   /// <summary>
   /// A base response type that all other responses derive from.
   /// </summary>
   [DataContract]
   public class Response
   {
      /// <summary>
      /// Any arbitrary data the user may wish to pass along from the service through the LEADTOOLS Document library.
      /// </summary>
      [DataMember(Name = "userData")]
      public string UserData { get; set; }
   }
}
