/// <summary>
 /// Initializes a new instance of the <see cref="EzsigndocumentResponseAllOf" /> class.
 /// </summary>
 /// <param name="fkiEzsignfolderID">The unique ID of the Ezsignfolder (required).</param>
 /// <param name="dtEzsigndocumentDuedate">The maximum date and time at which the document can be signed. (required).</param>
 /// <param name="fkiLanguageID">The unique ID of the Language.  Valid values:  |Value|Description| |-|-| |1|French| |2|English| (required).</param>
 /// <param name="sEzsigndocumentName">The name of the document that will be presented to Ezsignfoldersignerassociations (required).</param>
 /// <param name="pkiEzsigndocumentID">The unique ID of the Ezsigntemplate (required).</param>
 /// <param name="eEzsigndocumentStep">eEzsigndocumentStep (required).</param>
 /// <param name="dtEzsigndocumentFirstsend">The date and time when the Ezsigndocument was first sent. (required).</param>
 /// <param name="dtEzsigndocumentLastsend">The date and time when the Ezsigndocument was sent the last time. (required).</param>
 /// <param name="iEzsigndocumentOrder">The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder. (required).</param>
 /// <param name="iEzsigndocumentPagetotal">The number of pages in the Ezsigndocument. (required).</param>
 /// <param name="iEzsigndocumentSignaturesigned">The number of signatures that were signed in the document. (required).</param>
 /// <param name="iEzsigndocumentSignaturetotal">The number of total signatures that were requested in the Ezsigndocument. (required).</param>
 /// <param name="sEzsigndocumentMD5initial">MD5 Hash of the initial PDF Document before signatures were applied to it. (required).</param>
 /// <param name="sEzsigndocumentMD5signed">MD5 Hash of the final PDF Document after all signatures were applied to it. (required).</param>
 /// <param name="objAudit">objAudit (required).</param>
 public EzsigndocumentResponseAllOf(int fkiEzsignfolderID = default(int), string dtEzsigndocumentDuedate = default(string), int fkiLanguageID = default(int), string sEzsigndocumentName = default(string), int pkiEzsigndocumentID = default(int), FieldEEzsigndocumentStep eEzsigndocumentStep = default(FieldEEzsigndocumentStep), string dtEzsigndocumentFirstsend = default(string), string dtEzsigndocumentLastsend = default(string), int iEzsigndocumentOrder = default(int), int iEzsigndocumentPagetotal = default(int), int iEzsigndocumentSignaturesigned = default(int), int iEzsigndocumentSignaturetotal = default(int), string sEzsigndocumentMD5initial = default(string), string sEzsigndocumentMD5signed = default(string), CommonAudit objAudit = default(CommonAudit))
 {
     this.FkiEzsignfolderID = fkiEzsignfolderID;
     // to ensure "dtEzsigndocumentDuedate" is required (not null)
     this.DtEzsigndocumentDuedate = dtEzsigndocumentDuedate ?? throw new ArgumentNullException("dtEzsigndocumentDuedate is a required property for EzsigndocumentResponseAllOf and cannot be null");
     this.FkiLanguageID           = fkiLanguageID;
     // to ensure "sEzsigndocumentName" is required (not null)
     this.SEzsigndocumentName = sEzsigndocumentName ?? throw new ArgumentNullException("sEzsigndocumentName is a required property for EzsigndocumentResponseAllOf and cannot be null");
     this.PkiEzsigndocumentID = pkiEzsigndocumentID;
     // to ensure "eEzsigndocumentStep" is required (not null)
     this.EEzsigndocumentStep = eEzsigndocumentStep ?? throw new ArgumentNullException("eEzsigndocumentStep is a required property for EzsigndocumentResponseAllOf and cannot be null");
     // to ensure "dtEzsigndocumentFirstsend" is required (not null)
     this.DtEzsigndocumentFirstsend = dtEzsigndocumentFirstsend ?? throw new ArgumentNullException("dtEzsigndocumentFirstsend is a required property for EzsigndocumentResponseAllOf and cannot be null");
     // to ensure "dtEzsigndocumentLastsend" is required (not null)
     this.DtEzsigndocumentLastsend       = dtEzsigndocumentLastsend ?? throw new ArgumentNullException("dtEzsigndocumentLastsend is a required property for EzsigndocumentResponseAllOf and cannot be null");
     this.IEzsigndocumentOrder           = iEzsigndocumentOrder;
     this.IEzsigndocumentPagetotal       = iEzsigndocumentPagetotal;
     this.IEzsigndocumentSignaturesigned = iEzsigndocumentSignaturesigned;
     this.IEzsigndocumentSignaturetotal  = iEzsigndocumentSignaturetotal;
     // to ensure "sEzsigndocumentMD5initial" is required (not null)
     this.SEzsigndocumentMD5initial = sEzsigndocumentMD5initial ?? throw new ArgumentNullException("sEzsigndocumentMD5initial is a required property for EzsigndocumentResponseAllOf and cannot be null");
     // to ensure "sEzsigndocumentMD5signed" is required (not null)
     this.SEzsigndocumentMD5signed = sEzsigndocumentMD5signed ?? throw new ArgumentNullException("sEzsigndocumentMD5signed is a required property for EzsigndocumentResponseAllOf and cannot be null");
     // to ensure "objAudit" is required (not null)
     this.ObjAudit = objAudit ?? throw new ArgumentNullException("objAudit is a required property for EzsigndocumentResponseAllOf and cannot be null");
 }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EzsignfolderResponseCompound" /> class.
        /// </summary>
        /// <param name="fkiEzsignfoldertypeID">The unique ID of the Ezsignfoldertype.    This value can be queried by the API and is also visible in the admin interface.    There are two types of Ezsignfoldertype. **User** and **Shared**. **User** can only be seen by the user who created the folder or its assistants. Access to **Shared** folders are configurable for access and email delivery. You should typically choose a **Shared** type here. (required).</param>
        /// <param name="fkiEzsigntsarequirementID">The unique ID of the Ezsigntsarequirement.  Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values:  |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server&#39;s time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server&#39;s time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| (required).</param>
        /// <param name="sEzsignfolderDescription">The description of the Ezsign Folder (required).</param>
        /// <param name="tEzsignfolderNote">Somes extra notes about the eZsign Folder (required).</param>
        /// <param name="eEzsignfolderSendreminderfrequency">eEzsignfolderSendreminderfrequency (required).</param>
        /// <param name="pkiEzsignfolderID">The unique ID of the Ezsignfolder (required).</param>
        /// <param name="dtEzsignfolderSentdate">The date and time at which the Ezsign folder was sent the last time. (required).</param>
        /// <param name="eEzsignfolderStep">eEzsignfolderStep (required).</param>
        /// <param name="dtEzsignfolderClose">The date and time at which the folder was closed. Either by applying the last signature or by completing it prematurely. (required).</param>
        /// <param name="objAudit">objAudit (required).</param>
        public EzsignfolderResponseCompound(int fkiEzsignfoldertypeID = default(int), int fkiEzsigntsarequirementID = default(int), string sEzsignfolderDescription = default(string), string tEzsignfolderNote = default(string), FieldEEzsignfolderSendreminderfrequency eEzsignfolderSendreminderfrequency = default(FieldEEzsignfolderSendreminderfrequency), int pkiEzsignfolderID = default(int), string dtEzsignfolderSentdate = default(string), FieldEEzsignfolderStep eEzsignfolderStep = default(FieldEEzsignfolderStep), string dtEzsignfolderClose = default(string), CommonAudit objAudit = default(CommonAudit))
        {
            // to ensure "fkiEzsignfoldertypeID" is required (not null)
            if (fkiEzsignfoldertypeID == null)
            {
                throw new InvalidDataException("fkiEzsignfoldertypeID is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.FkiEzsignfoldertypeID = fkiEzsignfoldertypeID;
            }

            // to ensure "fkiEzsigntsarequirementID" is required (not null)
            if (fkiEzsigntsarequirementID == null)
            {
                throw new InvalidDataException("fkiEzsigntsarequirementID is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.FkiEzsigntsarequirementID = fkiEzsigntsarequirementID;
            }

            // to ensure "sEzsignfolderDescription" is required (not null)
            if (sEzsignfolderDescription == null)
            {
                throw new InvalidDataException("sEzsignfolderDescription is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.SEzsignfolderDescription = sEzsignfolderDescription;
            }

            // to ensure "tEzsignfolderNote" is required (not null)
            if (tEzsignfolderNote == null)
            {
                throw new InvalidDataException("tEzsignfolderNote is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.TEzsignfolderNote = tEzsignfolderNote;
            }

            // to ensure "eEzsignfolderSendreminderfrequency" is required (not null)
            if (eEzsignfolderSendreminderfrequency == null)
            {
                throw new InvalidDataException("eEzsignfolderSendreminderfrequency is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.EEzsignfolderSendreminderfrequency = eEzsignfolderSendreminderfrequency;
            }

            // to ensure "pkiEzsignfolderID" is required (not null)
            if (pkiEzsignfolderID == null)
            {
                throw new InvalidDataException("pkiEzsignfolderID is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.PkiEzsignfolderID = pkiEzsignfolderID;
            }

            // to ensure "dtEzsignfolderSentdate" is required (not null)
            if (dtEzsignfolderSentdate == null)
            {
                throw new InvalidDataException("dtEzsignfolderSentdate is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.DtEzsignfolderSentdate = dtEzsignfolderSentdate;
            }

            // to ensure "eEzsignfolderStep" is required (not null)
            if (eEzsignfolderStep == null)
            {
                throw new InvalidDataException("eEzsignfolderStep is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.EEzsignfolderStep = eEzsignfolderStep;
            }

            // to ensure "dtEzsignfolderClose" is required (not null)
            if (dtEzsignfolderClose == null)
            {
                throw new InvalidDataException("dtEzsignfolderClose is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.DtEzsignfolderClose = dtEzsignfolderClose;
            }

            // to ensure "objAudit" is required (not null)
            if (objAudit == null)
            {
                throw new InvalidDataException("objAudit is a required property for EzsignfolderResponseCompound and cannot be null");
            }
            else
            {
                this.ObjAudit = objAudit;
            }
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EzsigndocumentResponse" /> class.
        /// </summary>
        /// <param name="fkiEzsignfolderID">The unique ID of the Ezsignfolder (required).</param>
        /// <param name="dtEzsigndocumentDuedate">The maximum date and time at which the document can be signed. (required).</param>
        /// <param name="fkiLanguageID">The unique ID of the Language.  Valid values:  |Value|Description| |-|-| |1|French| |2|English| (required).</param>
        /// <param name="sEzsigndocumentName">The name of the document that will be presented to Ezsignfoldersignerassociations (required).</param>
        /// <param name="pkiEzsigndocumentID">The unique ID of the Ezsigntemplate (required).</param>
        /// <param name="eEzsigndocumentStep">eEzsigndocumentStep (required).</param>
        /// <param name="dtEzsigndocumentFirstsend">The date and time when the Ezsigndocument was first sent. (required).</param>
        /// <param name="dtEzsigndocumentLastsend">The date and time when the Ezsigndocument was sent the last time. (required).</param>
        /// <param name="iEzsigndocumentOrder">The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder. (required).</param>
        /// <param name="iEzsigndocumentPagetotal">The number of pages in the Ezsigndocument. (required).</param>
        /// <param name="iEzsigndocumentSignaturesigned">The number of signatures that were signed in the document. (required).</param>
        /// <param name="iEzsigndocumentSignaturetotal">The number of total signatures that were requested in the Ezsigndocument. (required).</param>
        /// <param name="sEzsigndocumentMD5initial">MD5 Hash of the initial PDF Document before signatures were applied to it. (required).</param>
        /// <param name="sEzsigndocumentMD5signed">MD5 Hash of the final PDF Document after all signatures were applied to it. (required).</param>
        /// <param name="objAudit">objAudit (required).</param>
        public EzsigndocumentResponse(int fkiEzsignfolderID = default(int), string dtEzsigndocumentDuedate = default(string), int fkiLanguageID = default(int), string sEzsigndocumentName = default(string), int pkiEzsigndocumentID = default(int), FieldEEzsigndocumentStep eEzsigndocumentStep = default(FieldEEzsigndocumentStep), string dtEzsigndocumentFirstsend = default(string), string dtEzsigndocumentLastsend = default(string), int iEzsigndocumentOrder = default(int), int iEzsigndocumentPagetotal = default(int), int iEzsigndocumentSignaturesigned = default(int), int iEzsigndocumentSignaturetotal = default(int), string sEzsigndocumentMD5initial = default(string), string sEzsigndocumentMD5signed = default(string), CommonAudit objAudit = default(CommonAudit))
        {
            // to ensure "fkiEzsignfolderID" is required (not null)
            if (fkiEzsignfolderID == null)
            {
                throw new InvalidDataException("fkiEzsignfolderID is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.FkiEzsignfolderID = fkiEzsignfolderID;
            }

            // to ensure "dtEzsigndocumentDuedate" is required (not null)
            if (dtEzsigndocumentDuedate == null)
            {
                throw new InvalidDataException("dtEzsigndocumentDuedate is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.DtEzsigndocumentDuedate = dtEzsigndocumentDuedate;
            }

            // to ensure "fkiLanguageID" is required (not null)
            if (fkiLanguageID == null)
            {
                throw new InvalidDataException("fkiLanguageID is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.FkiLanguageID = fkiLanguageID;
            }

            // to ensure "sEzsigndocumentName" is required (not null)
            if (sEzsigndocumentName == null)
            {
                throw new InvalidDataException("sEzsigndocumentName is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.SEzsigndocumentName = sEzsigndocumentName;
            }

            // to ensure "pkiEzsigndocumentID" is required (not null)
            if (pkiEzsigndocumentID == null)
            {
                throw new InvalidDataException("pkiEzsigndocumentID is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.PkiEzsigndocumentID = pkiEzsigndocumentID;
            }

            // to ensure "eEzsigndocumentStep" is required (not null)
            if (eEzsigndocumentStep == null)
            {
                throw new InvalidDataException("eEzsigndocumentStep is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.EEzsigndocumentStep = eEzsigndocumentStep;
            }

            // to ensure "dtEzsigndocumentFirstsend" is required (not null)
            if (dtEzsigndocumentFirstsend == null)
            {
                throw new InvalidDataException("dtEzsigndocumentFirstsend is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.DtEzsigndocumentFirstsend = dtEzsigndocumentFirstsend;
            }

            // to ensure "dtEzsigndocumentLastsend" is required (not null)
            if (dtEzsigndocumentLastsend == null)
            {
                throw new InvalidDataException("dtEzsigndocumentLastsend is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.DtEzsigndocumentLastsend = dtEzsigndocumentLastsend;
            }

            // to ensure "iEzsigndocumentOrder" is required (not null)
            if (iEzsigndocumentOrder == null)
            {
                throw new InvalidDataException("iEzsigndocumentOrder is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.IEzsigndocumentOrder = iEzsigndocumentOrder;
            }

            // to ensure "iEzsigndocumentPagetotal" is required (not null)
            if (iEzsigndocumentPagetotal == null)
            {
                throw new InvalidDataException("iEzsigndocumentPagetotal is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.IEzsigndocumentPagetotal = iEzsigndocumentPagetotal;
            }

            // to ensure "iEzsigndocumentSignaturesigned" is required (not null)
            if (iEzsigndocumentSignaturesigned == null)
            {
                throw new InvalidDataException("iEzsigndocumentSignaturesigned is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.IEzsigndocumentSignaturesigned = iEzsigndocumentSignaturesigned;
            }

            // to ensure "iEzsigndocumentSignaturetotal" is required (not null)
            if (iEzsigndocumentSignaturetotal == null)
            {
                throw new InvalidDataException("iEzsigndocumentSignaturetotal is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.IEzsigndocumentSignaturetotal = iEzsigndocumentSignaturetotal;
            }

            // to ensure "sEzsigndocumentMD5initial" is required (not null)
            if (sEzsigndocumentMD5initial == null)
            {
                throw new InvalidDataException("sEzsigndocumentMD5initial is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.SEzsigndocumentMD5initial = sEzsigndocumentMD5initial;
            }

            // to ensure "sEzsigndocumentMD5signed" is required (not null)
            if (sEzsigndocumentMD5signed == null)
            {
                throw new InvalidDataException("sEzsigndocumentMD5signed is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.SEzsigndocumentMD5signed = sEzsigndocumentMD5signed;
            }

            // to ensure "objAudit" is required (not null)
            if (objAudit == null)
            {
                throw new InvalidDataException("objAudit is a required property for EzsigndocumentResponse and cannot be null");
            }
            else
            {
                this.ObjAudit = objAudit;
            }
        }
예제 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserResponseAllOf" /> class.
        /// </summary>
        /// <param name="pkiUserID">The unique ID of the User (required).</param>
        /// <param name="fkiLanguageID">The unique ID of the Language.  Valid values:  |Value|Description| |-|-| |1|French| |2|English| (required).</param>
        /// <param name="eUserType">eUserType (required).</param>
        /// <param name="sUserFirstname">The First name of the user (required).</param>
        /// <param name="sUserLastname">The Last name of the user (required).</param>
        /// <param name="sUserLoginname">The Login name of the User. (required).</param>
        /// <param name="objAudit">objAudit (required).</param>
        public UserResponseAllOf(int pkiUserID = default(int), int fkiLanguageID = default(int), FieldEUserType eUserType = default(FieldEUserType), string sUserFirstname = default(string), string sUserLastname = default(string), string sUserLoginname = default(string), CommonAudit objAudit = default(CommonAudit))
        {
            // to ensure "pkiUserID" is required (not null)
            if (pkiUserID == null)
            {
                throw new InvalidDataException("pkiUserID is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.PkiUserID = pkiUserID;
            }

            // to ensure "fkiLanguageID" is required (not null)
            if (fkiLanguageID == null)
            {
                throw new InvalidDataException("fkiLanguageID is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.FkiLanguageID = fkiLanguageID;
            }

            // to ensure "eUserType" is required (not null)
            if (eUserType == null)
            {
                throw new InvalidDataException("eUserType is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.EUserType = eUserType;
            }

            // to ensure "sUserFirstname" is required (not null)
            if (sUserFirstname == null)
            {
                throw new InvalidDataException("sUserFirstname is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.SUserFirstname = sUserFirstname;
            }

            // to ensure "sUserLastname" is required (not null)
            if (sUserLastname == null)
            {
                throw new InvalidDataException("sUserLastname is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.SUserLastname = sUserLastname;
            }

            // to ensure "sUserLoginname" is required (not null)
            if (sUserLoginname == null)
            {
                throw new InvalidDataException("sUserLoginname is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.SUserLoginname = sUserLoginname;
            }

            // to ensure "objAudit" is required (not null)
            if (objAudit == null)
            {
                throw new InvalidDataException("objAudit is a required property for UserResponseAllOf and cannot be null");
            }
            else
            {
                this.ObjAudit = objAudit;
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="EzsignfolderResponseCompound" /> class.
 /// </summary>
 /// <param name="fkiEzsignfoldertypeID">The unique ID of the Ezsignfoldertype.    This value can be queried by the API and is also visible in the admin interface.    There are two types of Ezsignfoldertype. **User** and **Shared**. **User** can only be seen by the user who created the folder or its assistants. Access to **Shared** folders are configurable for access and email delivery. You should typically choose a **Shared** type here. (required).</param>
 /// <param name="fkiEzsigntsarequirementID">The unique ID of the Ezsigntsarequirement.  Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values:  |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server&#39;s time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server&#39;s time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| (required).</param>
 /// <param name="sEzsignfolderDescription">The description of the Ezsign Folder (required).</param>
 /// <param name="tEzsignfolderNote">Somes extra notes about the eZsign Folder (required).</param>
 /// <param name="eEzsignfolderSendreminderfrequency">eEzsignfolderSendreminderfrequency (required).</param>
 /// <param name="pkiEzsignfolderID">The unique ID of the Ezsignfolder (required).</param>
 /// <param name="dtEzsignfolderSentdate">The date and time at which the Ezsign folder was sent the last time. (required).</param>
 /// <param name="eEzsignfolderStep">eEzsignfolderStep (required).</param>
 /// <param name="dtEzsignfolderClose">The date and time at which the folder was closed. Either by applying the last signature or by completing it prematurely. (required).</param>
 /// <param name="objAudit">objAudit (required).</param>
 public EzsignfolderResponseCompound(int fkiEzsignfoldertypeID = default(int), int fkiEzsigntsarequirementID = default(int), string sEzsignfolderDescription = default(string), string tEzsignfolderNote = default(string), FieldEEzsignfolderSendreminderfrequency eEzsignfolderSendreminderfrequency = default(FieldEEzsignfolderSendreminderfrequency), int pkiEzsignfolderID = default(int), string dtEzsignfolderSentdate = default(string), FieldEEzsignfolderStep eEzsignfolderStep = default(FieldEEzsignfolderStep), string dtEzsignfolderClose = default(string), CommonAudit objAudit = default(CommonAudit))
 {
     this.FkiEzsignfoldertypeID     = fkiEzsignfoldertypeID;
     this.FkiEzsigntsarequirementID = fkiEzsigntsarequirementID;
     // to ensure "sEzsignfolderDescription" is required (not null)
     this.SEzsignfolderDescription = sEzsignfolderDescription ?? throw new ArgumentNullException("sEzsignfolderDescription is a required property for EzsignfolderResponseCompound and cannot be null");
     // to ensure "tEzsignfolderNote" is required (not null)
     this.TEzsignfolderNote = tEzsignfolderNote ?? throw new ArgumentNullException("tEzsignfolderNote is a required property for EzsignfolderResponseCompound and cannot be null");
     // to ensure "eEzsignfolderSendreminderfrequency" is required (not null)
     this.EEzsignfolderSendreminderfrequency = eEzsignfolderSendreminderfrequency ?? throw new ArgumentNullException("eEzsignfolderSendreminderfrequency is a required property for EzsignfolderResponseCompound and cannot be null");
     this.PkiEzsignfolderID = pkiEzsignfolderID;
     // to ensure "dtEzsignfolderSentdate" is required (not null)
     this.DtEzsignfolderSentdate = dtEzsignfolderSentdate ?? throw new ArgumentNullException("dtEzsignfolderSentdate is a required property for EzsignfolderResponseCompound and cannot be null");
     // to ensure "eEzsignfolderStep" is required (not null)
     this.EEzsignfolderStep = eEzsignfolderStep ?? throw new ArgumentNullException("eEzsignfolderStep is a required property for EzsignfolderResponseCompound and cannot be null");
     // to ensure "dtEzsignfolderClose" is required (not null)
     this.DtEzsignfolderClose = dtEzsignfolderClose ?? throw new ArgumentNullException("dtEzsignfolderClose is a required property for EzsignfolderResponseCompound and cannot be null");
     // to ensure "objAudit" is required (not null)
     this.ObjAudit = objAudit ?? throw new ArgumentNullException("objAudit is a required property for EzsignfolderResponseCompound and cannot be null");
 }
예제 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ApikeyResponse" /> class.
        /// </summary>
        /// <param name="objApikeyDescription">objApikeyDescription (required).</param>
        /// <param name="sComputedToken">The secret token for the API key.  This will be returned only on creation..</param>
        /// <param name="pkiApikeyID">The unique ID of the Apikey (required).</param>
        /// <param name="objAudit">objAudit (required).</param>
        public ApikeyResponse(MultilingualApikeyDescription objApikeyDescription = default(MultilingualApikeyDescription), string sComputedToken = default(string), int pkiApikeyID = default(int), CommonAudit objAudit = default(CommonAudit))
        {
            // to ensure "objApikeyDescription" is required (not null)
            if (objApikeyDescription == null)
            {
                throw new InvalidDataException("objApikeyDescription is a required property for ApikeyResponse and cannot be null");
            }
            else
            {
                this.ObjApikeyDescription = objApikeyDescription;
            }

            // to ensure "pkiApikeyID" is required (not null)
            if (pkiApikeyID == null)
            {
                throw new InvalidDataException("pkiApikeyID is a required property for ApikeyResponse and cannot be null");
            }
            else
            {
                this.PkiApikeyID = pkiApikeyID;
            }

            // to ensure "objAudit" is required (not null)
            if (objAudit == null)
            {
                throw new InvalidDataException("objAudit is a required property for ApikeyResponse and cannot be null");
            }
            else
            {
                this.ObjAudit = objAudit;
            }

            this.SComputedToken = sComputedToken;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserResponseAllOf" /> class.
 /// </summary>
 /// <param name="pkiUserID">The unique ID of the User (required).</param>
 /// <param name="fkiLanguageID">The unique ID of the Language.  Valid values:  |Value|Description| |-|-| |1|French| |2|English| (required).</param>
 /// <param name="eUserType">eUserType (required).</param>
 /// <param name="sUserFirstname">The First name of the user (required).</param>
 /// <param name="sUserLastname">The Last name of the user (required).</param>
 /// <param name="sUserLoginname">The Login name of the User. (required).</param>
 /// <param name="objAudit">objAudit (required).</param>
 public UserResponseAllOf(int pkiUserID = default(int), int fkiLanguageID = default(int), FieldEUserType eUserType = default(FieldEUserType), string sUserFirstname = default(string), string sUserLastname = default(string), string sUserLoginname = default(string), CommonAudit objAudit = default(CommonAudit))
 {
     this.PkiUserID     = pkiUserID;
     this.FkiLanguageID = fkiLanguageID;
     // to ensure "eUserType" is required (not null)
     this.EUserType = eUserType ?? throw new ArgumentNullException("eUserType is a required property for UserResponseAllOf and cannot be null");
     // to ensure "sUserFirstname" is required (not null)
     this.SUserFirstname = sUserFirstname ?? throw new ArgumentNullException("sUserFirstname is a required property for UserResponseAllOf and cannot be null");
     // to ensure "sUserLastname" is required (not null)
     this.SUserLastname = sUserLastname ?? throw new ArgumentNullException("sUserLastname is a required property for UserResponseAllOf and cannot be null");
     // to ensure "sUserLoginname" is required (not null)
     this.SUserLoginname = sUserLoginname ?? throw new ArgumentNullException("sUserLoginname is a required property for UserResponseAllOf and cannot be null");
     // to ensure "objAudit" is required (not null)
     this.ObjAudit = objAudit ?? throw new ArgumentNullException("objAudit is a required property for UserResponseAllOf and cannot be null");
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApikeyResponse" /> class.
 /// </summary>
 /// <param name="objApikeyDescription">objApikeyDescription (required).</param>
 /// <param name="sComputedToken">The secret token for the API key.  This will be returned only on creation..</param>
 /// <param name="pkiApikeyID">The unique ID of the Apikey (required).</param>
 /// <param name="objAudit">objAudit (required).</param>
 public ApikeyResponse(MultilingualApikeyDescription objApikeyDescription = default(MultilingualApikeyDescription), string sComputedToken = default(string), int pkiApikeyID = default(int), CommonAudit objAudit = default(CommonAudit))
 {
     // to ensure "objApikeyDescription" is required (not null)
     this.ObjApikeyDescription = objApikeyDescription ?? throw new ArgumentNullException("objApikeyDescription is a required property for ApikeyResponse and cannot be null");
     this.PkiApikeyID          = pkiApikeyID;
     // to ensure "objAudit" is required (not null)
     this.ObjAudit       = objAudit ?? throw new ArgumentNullException("objAudit is a required property for ApikeyResponse and cannot be null");
     this.SComputedToken = sComputedToken;
 }