/// <summary> /// Initializes a new instance of the <see cref="SsprUnlockAccountRequestV1Request" /> class. /// </summary> /// <param name="pksCustomerCode">The customer code assigned to your account (required).</param> /// <param name="fkiLanguageID">The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| (required).</param> /// <param name="eUserTypeSSPR">eUserTypeSSPR (required).</param> /// <param name="sEmailAddress">The email address..</param> /// <param name="sUserLoginname">The Login name of the User..</param> public SsprUnlockAccountRequestV1Request(string pksCustomerCode = default(string), int fkiLanguageID = default(int), FieldEUserTypeSSPR eUserTypeSSPR = default(FieldEUserTypeSSPR), string sEmailAddress = default(string), string sUserLoginname = default(string)) { // to ensure "pksCustomerCode" is required (not null) if (pksCustomerCode == null) { throw new InvalidDataException("pksCustomerCode is a required property for SsprUnlockAccountRequestV1Request and cannot be null"); } else { this.PksCustomerCode = pksCustomerCode; } // to ensure "fkiLanguageID" is required (not null) if (fkiLanguageID == null) { throw new InvalidDataException("fkiLanguageID is a required property for SsprUnlockAccountRequestV1Request and cannot be null"); } else { this.FkiLanguageID = fkiLanguageID; } // to ensure "eUserTypeSSPR" is required (not null) if (eUserTypeSSPR == null) { throw new InvalidDataException("eUserTypeSSPR is a required property for SsprUnlockAccountRequestV1Request and cannot be null"); } else { this.EUserTypeSSPR = eUserTypeSSPR; } this.SEmailAddress = sEmailAddress; this.SUserLoginname = sUserLoginname; }
/// <summary> /// Initializes a new instance of the <see cref="SsprSendUsernamesV1Request" /> class. /// </summary> /// <param name="pksCustomerCode">The customer code assigned to your account (required).</param> /// <param name="fkiLanguageID">The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| (required).</param> /// <param name="eUserTypeSSPR">eUserTypeSSPR (required).</param> /// <param name="sEmailAddress">The email address. (required).</param> public SsprSendUsernamesV1Request(string pksCustomerCode = default(string), int fkiLanguageID = default(int), FieldEUserTypeSSPR eUserTypeSSPR = default(FieldEUserTypeSSPR), string sEmailAddress = default(string)) { // to ensure "pksCustomerCode" is required (not null) this.PksCustomerCode = pksCustomerCode ?? throw new ArgumentNullException("pksCustomerCode is a required property for SsprSendUsernamesV1Request and cannot be null"); this.FkiLanguageID = fkiLanguageID; // to ensure "eUserTypeSSPR" is required (not null) this.EUserTypeSSPR = eUserTypeSSPR ?? throw new ArgumentNullException("eUserTypeSSPR is a required property for SsprSendUsernamesV1Request and cannot be null"); // to ensure "sEmailAddress" is required (not null) this.SEmailAddress = sEmailAddress ?? throw new ArgumentNullException("sEmailAddress is a required property for SsprSendUsernamesV1Request and cannot be null"); }
/// <summary> /// Initializes a new instance of the <see cref="SsprResetPasswordV1Request" /> class. /// </summary> /// <param name="pksCustomerCode">The customer code assigned to your account (required).</param> /// <param name="fkiLanguageID">The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| (required).</param> /// <param name="eUserTypeSSPR">eUserTypeSSPR (required).</param> /// <param name="sEmailAddress">The email address..</param> /// <param name="sUserLoginname">The Login name of the User..</param> /// <param name="binUserSSPRtoken">Hex Encoded Secret SSPR token (required).</param> /// <param name="sPassword">A Password. Must meet complexity requirements (required).</param> public SsprResetPasswordV1Request(string pksCustomerCode = default(string), int fkiLanguageID = default(int), FieldEUserTypeSSPR eUserTypeSSPR = default(FieldEUserTypeSSPR), string sEmailAddress = default(string), string sUserLoginname = default(string), string binUserSSPRtoken = default(string), string sPassword = default(string)) { // to ensure "pksCustomerCode" is required (not null) this.PksCustomerCode = pksCustomerCode ?? throw new ArgumentNullException("pksCustomerCode is a required property for SsprResetPasswordV1Request and cannot be null"); this.FkiLanguageID = fkiLanguageID; // to ensure "eUserTypeSSPR" is required (not null) this.EUserTypeSSPR = eUserTypeSSPR ?? throw new ArgumentNullException("eUserTypeSSPR is a required property for SsprResetPasswordV1Request and cannot be null"); // to ensure "binUserSSPRtoken" is required (not null) this.BinUserSSPRtoken = binUserSSPRtoken ?? throw new ArgumentNullException("binUserSSPRtoken is a required property for SsprResetPasswordV1Request and cannot be null"); // to ensure "sPassword" is required (not null) this.SPassword = sPassword ?? throw new ArgumentNullException("sPassword is a required property for SsprResetPasswordV1Request and cannot be null"); this.SEmailAddress = sEmailAddress; this.SUserLoginname = sUserLoginname; }
/// <summary> /// Initializes a new instance of the <see cref="SsprResetPasswordV1Request" /> class. /// </summary> /// <param name="pksCustomerCode">The customer code assigned to your account (required).</param> /// <param name="fkiLanguageID">The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| (required).</param> /// <param name="eUserTypeSSPR">eUserTypeSSPR (required).</param> /// <param name="sEmailAddress">The email address..</param> /// <param name="sUserLoginname">The Login name of the User..</param> /// <param name="binUserSSPRtoken">Hex Encoded Secret SSPR token (required).</param> /// <param name="sPassword">A Password. Must meet complexity requirements (required).</param> public SsprResetPasswordV1Request(string pksCustomerCode = default(string), int fkiLanguageID = default(int), FieldEUserTypeSSPR eUserTypeSSPR = default(FieldEUserTypeSSPR), string sEmailAddress = default(string), string sUserLoginname = default(string), string binUserSSPRtoken = default(string), string sPassword = default(string)) { // to ensure "pksCustomerCode" is required (not null) if (pksCustomerCode == null) { throw new InvalidDataException("pksCustomerCode is a required property for SsprResetPasswordV1Request and cannot be null"); } else { this.PksCustomerCode = pksCustomerCode; } // to ensure "fkiLanguageID" is required (not null) if (fkiLanguageID == null) { throw new InvalidDataException("fkiLanguageID is a required property for SsprResetPasswordV1Request and cannot be null"); } else { this.FkiLanguageID = fkiLanguageID; } // to ensure "eUserTypeSSPR" is required (not null) if (eUserTypeSSPR == null) { throw new InvalidDataException("eUserTypeSSPR is a required property for SsprResetPasswordV1Request and cannot be null"); } else { this.EUserTypeSSPR = eUserTypeSSPR; } // to ensure "binUserSSPRtoken" is required (not null) if (binUserSSPRtoken == null) { throw new InvalidDataException("binUserSSPRtoken is a required property for SsprResetPasswordV1Request and cannot be null"); } else { this.BinUserSSPRtoken = binUserSSPRtoken; } // to ensure "sPassword" is required (not null) if (sPassword == null) { throw new InvalidDataException("sPassword is a required property for SsprResetPasswordV1Request and cannot be null"); } else { this.SPassword = sPassword; } this.SEmailAddress = sEmailAddress; this.SUserLoginname = sUserLoginname; }