Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserInformation" /> class.
 /// </summary>
 /// <param name="AccountManagementGranular">AccountManagementGranular.</param>
 /// <param name="ActivationAccessCode">The activation code the new user must enter when activating their account..</param>
 /// <param name="CountryCode">.</param>
 /// <param name="CreatedDateTime">Indicates the date and time the item was created..</param>
 /// <param name="CustomSettings">The name/value pair information for the user custom setting..</param>
 /// <param name="Email">.</param>
 /// <param name="EnableConnectForUser">Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false..</param>
 /// <param name="ErrorDetails">ErrorDetails.</param>
 /// <param name="FirstName">The user&#39;s first name.  Maximum Length: 50 characters..</param>
 /// <param name="ForgottenPasswordInfo">ForgottenPasswordInfo.</param>
 /// <param name="GroupList">A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId.   The parameters are:  * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. .</param>
 /// <param name="HomeAddress">HomeAddress.</param>
 /// <param name="InitialsImageUri">Contains the URI for an endpoint that you can use to retrieve the initials image..</param>
 /// <param name="IsAdmin">Determines if the feature set is actively set as part of the plan..</param>
 /// <param name="JobTitle">.</param>
 /// <param name="LastLogin">Shows the date-time when the user last logged on to the system..</param>
 /// <param name="LastName">The user&#39;s last name.  Maximum Length: 50 characters..</param>
 /// <param name="LoginStatus">Shows the current status of the user&#39;s password. Possible values are:   * password_reset * password_active * password_expired * password_locked * password_reset_failed  .</param>
 /// <param name="MiddleName">The user&#39;s middle name.  Maximum Length: 50 characters..</param>
 /// <param name="Password">.</param>
 /// <param name="PasswordExpiration">.</param>
 /// <param name="PermissionProfileId">.</param>
 /// <param name="PermissionProfileName">.</param>
 /// <param name="ProfileImageUri">.</param>
 /// <param name="SendActivationEmail">.</param>
 /// <param name="SendActivationOnInvalidLogin">When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. .</param>
 /// <param name="SignatureImageUri">Contains the URI for an endpoint that you can use to retrieve the signature image..</param>
 /// <param name="Subscribe">.</param>
 /// <param name="SuffixName">The suffix for the user&#39;s name.   Maximum Length: 50 characters. .</param>
 /// <param name="Title">The title of the user..</param>
 /// <param name="Uri">.</param>
 /// <param name="UserId">.</param>
 /// <param name="UserName">.</param>
 /// <param name="UserProfileLastModifiedDate">.</param>
 /// <param name="UserSettings"> The name/value pair information for user settings. These determine the actions that a user can take in the account. The &#x60;[ML:userSettings]&#x60; are listed and described below..</param>
 /// <param name="UserStatus">.</param>
 /// <param name="UserType">.</param>
 /// <param name="WorkAddress">WorkAddress.</param>
 public UserInformation(UserAccountManagementGranularInformation AccountManagementGranular = default(UserAccountManagementGranularInformation), string ActivationAccessCode = default(string), string CountryCode = default(string), string CreatedDateTime = default(string), List <NameValue> CustomSettings = default(List <NameValue>), string Email = default(string), string EnableConnectForUser = default(string), ErrorDetails ErrorDetails = default(ErrorDetails), string FirstName = default(string), ForgottenPasswordInformation ForgottenPasswordInfo = default(ForgottenPasswordInformation), List <Group> GroupList = default(List <Group>), AddressInformationV2 HomeAddress = default(AddressInformationV2), string InitialsImageUri = default(string), string IsAdmin = default(string), string JobTitle = default(string), string LastLogin = default(string), string LastName = default(string), string LoginStatus = default(string), string MiddleName = default(string), string Password = default(string), string PasswordExpiration = default(string), string PermissionProfileId = default(string), string PermissionProfileName = default(string), string ProfileImageUri = default(string), string SendActivationEmail = default(string), string SendActivationOnInvalidLogin = default(string), string SignatureImageUri = default(string), string Subscribe = default(string), string SuffixName = default(string), string Title = default(string), string Uri = default(string), string UserId = default(string), string UserName = default(string), string UserProfileLastModifiedDate = default(string), List <NameValue> UserSettings = default(List <NameValue>), string UserStatus = default(string), string UserType = default(string), AddressInformationV2 WorkAddress = default(AddressInformationV2))
 {
     this.AccountManagementGranular = AccountManagementGranular;
     this.ActivationAccessCode      = ActivationAccessCode;
     this.CountryCode                  = CountryCode;
     this.CreatedDateTime              = CreatedDateTime;
     this.CustomSettings               = CustomSettings;
     this.Email                        = Email;
     this.EnableConnectForUser         = EnableConnectForUser;
     this.ErrorDetails                 = ErrorDetails;
     this.FirstName                    = FirstName;
     this.ForgottenPasswordInfo        = ForgottenPasswordInfo;
     this.GroupList                    = GroupList;
     this.HomeAddress                  = HomeAddress;
     this.InitialsImageUri             = InitialsImageUri;
     this.IsAdmin                      = IsAdmin;
     this.JobTitle                     = JobTitle;
     this.LastLogin                    = LastLogin;
     this.LastName                     = LastName;
     this.LoginStatus                  = LoginStatus;
     this.MiddleName                   = MiddleName;
     this.Password                     = Password;
     this.PasswordExpiration           = PasswordExpiration;
     this.PermissionProfileId          = PermissionProfileId;
     this.PermissionProfileName        = PermissionProfileName;
     this.ProfileImageUri              = ProfileImageUri;
     this.SendActivationEmail          = SendActivationEmail;
     this.SendActivationOnInvalidLogin = SendActivationOnInvalidLogin;
     this.SignatureImageUri            = SignatureImageUri;
     this.Subscribe                    = Subscribe;
     this.SuffixName                   = SuffixName;
     this.Title                        = Title;
     this.Uri      = Uri;
     this.UserId   = UserId;
     this.UserName = UserName;
     this.UserProfileLastModifiedDate = UserProfileLastModifiedDate;
     this.UserSettings = UserSettings;
     this.UserStatus   = UserStatus;
     this.UserType     = UserType;
     this.WorkAddress  = WorkAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserInformation" /> class.
 /// </summary>
 /// <param name="ActivationAccessCode">The activation code the new user must enter when activating their account..</param>
 /// <param name="Company">Company.</param>
 /// <param name="ConnectConfigurations">ConnectConfigurations.</param>
 /// <param name="CountryCode">CountryCode.</param>
 /// <param name="CreatedDateTime">Indicates the date and time the item was created..</param>
 /// <param name="CustomSettings">The name/value pair information for the user custom setting..</param>
 /// <param name="DefaultAccountId">DefaultAccountId.</param>
 /// <param name="Email">Email.</param>
 /// <param name="EnableConnectForUser">Specifies whether the user is enabled for updates from DocuSign Connect. Valid values: true or false..</param>
 /// <param name="ErrorDetails">ErrorDetails.</param>
 /// <param name="FirstName">The user&#39;s first name.  Maximum Length: 50 characters..</param>
 /// <param name="ForgottenPasswordInfo">ForgottenPasswordInfo.</param>
 /// <param name="GroupList">A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId.   The parameters are:  * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. .</param>
 /// <param name="HasRemoteNotary">HasRemoteNotary.</param>
 /// <param name="HomeAddress">HomeAddress.</param>
 /// <param name="InitialsImageUri">Contains the URI for an endpoint that you can use to retrieve the initials image..</param>
 /// <param name="IsAdmin">Determines if the feature set is actively set as part of the plan..</param>
 /// <param name="IsNAREnabled">IsNAREnabled.</param>
 /// <param name="JobTitle">JobTitle.</param>
 /// <param name="LastLogin">Shows the date-time when the user last logged on to the system..</param>
 /// <param name="LastName">The user&#39;s last name.  Maximum Length: 50 characters..</param>
 /// <param name="LoginStatus">Shows the current status of the user&#39;s password. Possible values are:   * password_reset * password_active * password_expired * password_locked * password_reset_failed  .</param>
 /// <param name="MiddleName">The user&#39;s middle name.  Maximum Length: 50 characters..</param>
 /// <param name="Password">Password.</param>
 /// <param name="PasswordExpiration">PasswordExpiration.</param>
 /// <param name="PermissionProfileId">PermissionProfileId.</param>
 /// <param name="PermissionProfileName">PermissionProfileName.</param>
 /// <param name="ProfileImageUri">ProfileImageUri.</param>
 /// <param name="SendActivationEmail">SendActivationEmail.</param>
 /// <param name="SendActivationOnInvalidLogin">When set to **true**, specifies that an additional activation email is sent to the user if they fail a log on before activating their account. .</param>
 /// <param name="SignatureImageUri">Contains the URI for an endpoint that you can use to retrieve the signature image..</param>
 /// <param name="Subscribe">Subscribe.</param>
 /// <param name="SuffixName">The suffix for the user&#39;s name.   Maximum Length: 50 characters. .</param>
 /// <param name="Title">The title of the user..</param>
 /// <param name="Uri">Uri.</param>
 /// <param name="UserAddedToAccountDateTime">UserAddedToAccountDateTime.</param>
 /// <param name="UserId">UserId.</param>
 /// <param name="UserName">UserName.</param>
 /// <param name="UserProfileLastModifiedDate">UserProfileLastModifiedDate.</param>
 /// <param name="UserSettings">UserSettings.</param>
 /// <param name="UserStatus">UserStatus.</param>
 /// <param name="UserType">UserType.</param>
 /// <param name="WorkAddress">WorkAddress.</param>
 public UserInformation(string ActivationAccessCode = default(string), string Company = default(string), List <ConnectUserObject> ConnectConfigurations = default(List <ConnectUserObject>), string CountryCode = default(string), string CreatedDateTime = default(string), List <NameValue> CustomSettings = default(List <NameValue>), string DefaultAccountId = default(string), string Email = default(string), string EnableConnectForUser = default(string), ErrorDetails ErrorDetails = default(ErrorDetails), string FirstName = default(string), ForgottenPasswordInformation ForgottenPasswordInfo = default(ForgottenPasswordInformation), List <Group> GroupList = default(List <Group>), bool?HasRemoteNotary = default(bool?), AddressInformation HomeAddress = default(AddressInformation), string InitialsImageUri = default(string), string IsAdmin = default(string), string IsNAREnabled = default(string), string JobTitle = default(string), string LastLogin = default(string), string LastName = default(string), string LoginStatus = default(string), string MiddleName = default(string), string Password = default(string), string PasswordExpiration = default(string), string PermissionProfileId = default(string), string PermissionProfileName = default(string), string ProfileImageUri = default(string), string SendActivationEmail = default(string), string SendActivationOnInvalidLogin = default(string), string SignatureImageUri = default(string), string Subscribe = default(string), string SuffixName = default(string), string Title = default(string), string Uri = default(string), string UserAddedToAccountDateTime = default(string), string UserId = default(string), string UserName = default(string), string UserProfileLastModifiedDate = default(string), UserSettingsInformation UserSettings = default(UserSettingsInformation), string UserStatus = default(string), string UserType = default(string), AddressInformation WorkAddress = default(AddressInformation))
 {
     this.ActivationAccessCode = ActivationAccessCode;
     this.Company = Company;
     this.ConnectConfigurations = ConnectConfigurations;
     this.CountryCode           = CountryCode;
     this.CreatedDateTime       = CreatedDateTime;
     this.CustomSettings        = CustomSettings;
     this.DefaultAccountId      = DefaultAccountId;
     this.Email = Email;
     this.EnableConnectForUser  = EnableConnectForUser;
     this.ErrorDetails          = ErrorDetails;
     this.FirstName             = FirstName;
     this.ForgottenPasswordInfo = ForgottenPasswordInfo;
     this.GroupList             = GroupList;
     this.HasRemoteNotary       = HasRemoteNotary;
     this.HomeAddress           = HomeAddress;
     this.InitialsImageUri      = InitialsImageUri;
     this.IsAdmin                      = IsAdmin;
     this.IsNAREnabled                 = IsNAREnabled;
     this.JobTitle                     = JobTitle;
     this.LastLogin                    = LastLogin;
     this.LastName                     = LastName;
     this.LoginStatus                  = LoginStatus;
     this.MiddleName                   = MiddleName;
     this.Password                     = Password;
     this.PasswordExpiration           = PasswordExpiration;
     this.PermissionProfileId          = PermissionProfileId;
     this.PermissionProfileName        = PermissionProfileName;
     this.ProfileImageUri              = ProfileImageUri;
     this.SendActivationEmail          = SendActivationEmail;
     this.SendActivationOnInvalidLogin = SendActivationOnInvalidLogin;
     this.SignatureImageUri            = SignatureImageUri;
     this.Subscribe                    = Subscribe;
     this.SuffixName                   = SuffixName;
     this.Title = Title;
     this.Uri   = Uri;
     this.UserAddedToAccountDateTime = UserAddedToAccountDateTime;
     this.UserId   = UserId;
     this.UserName = UserName;
     this.UserProfileLastModifiedDate = UserProfileLastModifiedDate;
     this.UserSettings = UserSettings;
     this.UserStatus   = UserStatus;
     this.UserType     = UserType;
     this.WorkAddress  = WorkAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserPasswordInformation" /> class.
 /// </summary>
 /// <param name="CurrentPassword">The user&#39;s current password to be changed..</param>
 /// <param name="Email">The user&#39;s email address for the associated account..</param>
 /// <param name="ForgottenPasswordInfo">ForgottenPasswordInfo.</param>
 /// <param name="NewPassword">The user&#39;s new password..</param>
 public UserPasswordInformation(string CurrentPassword = default(string), string Email = default(string), ForgottenPasswordInformation ForgottenPasswordInfo = default(ForgottenPasswordInformation), string NewPassword = default(string))
 {
     this.CurrentPassword       = CurrentPassword;
     this.Email                 = Email;
     this.ForgottenPasswordInfo = ForgottenPasswordInfo;
     this.NewPassword           = NewPassword;
 }