/// <summary> /// Initializes a new instance of the <see cref="ScimV2User" /> class. /// </summary> /// <param name="Schemas">The list of supported schemas..</param> /// <param name="Active">Indicates whether the user's administrative status is active..</param> /// <param name="UserName">The user's PureCloud email address. Must be unique..</param> /// <param name="DisplayName">The display name for the user..</param> /// <param name="Password">A new password for a PureCloud user. Does not return an existing password..</param> /// <param name="Title">The user's title..</param> /// <param name="PhoneNumbers">A list of the user's phone numbers..</param> /// <param name="Emails">A list of the user's email addresses..</param> /// <param name="Photos">A list of the user's photos..</param> /// <param name="ExternalId">The external ID of the user. Set by the provisioning client. caseExact is set to true. mutability is set to readWrite..</param> /// <param name="Groups">A list of groups that the user is a member of..</param> /// <param name="Roles">A list of roles assigned to the user..</param> /// <param name="Urnietfparamsscimschemasextensionenterprise20User">Urnietfparamsscimschemasextensionenterprise20User.</param> /// <param name="Meta">Resource SCIM meta.</param> public ScimV2User(List <string> Schemas = null, bool?Active = null, string UserName = null, string DisplayName = null, string Password = null, string Title = null, List <ScimPhoneNumber> PhoneNumbers = null, List <ScimEmail> Emails = null, List <Photo> Photos = null, string ExternalId = null, List <ScimV2GroupReference> Groups = null, List <string> Roles = null, ScimV2EnterpriseUser Urnietfparamsscimschemasextensionenterprise20User = null, ScimMetadata Meta = null) { this.Schemas = Schemas; this.Active = Active; this.UserName = UserName; this.DisplayName = DisplayName; this.Password = Password; this.Title = Title; this.PhoneNumbers = PhoneNumbers; this.Emails = Emails; this.Photos = Photos; this.ExternalId = ExternalId; this.Groups = Groups; this.Roles = Roles; this.Urnietfparamsscimschemasextensionenterprise20User = Urnietfparamsscimschemasextensionenterprise20User; this.Meta = Meta; }
/// <summary> /// Initializes a new instance of the <see cref="ScimV2CreateUser" /> class. /// </summary> /// <param name="Active">Indicates whether the user's administrative status is active..</param> /// <param name="UserName">The user's Genesys Cloud email address. Must be unique. (required).</param> /// <param name="DisplayName">The display name of the user. (required).</param> /// <param name="Password">The new password for the Genesys Cloud user. Does not return an existing password. When creating a user, if a password is not supplied, then a password will be randomly generated that is 40 characters in length and contains five characters from each of the password policy groups..</param> /// <param name="Title">The user's title..</param> /// <param name="PhoneNumbers">The list of the user's phone numbers..</param> /// <param name="Emails">The list of the user's email addresses..</param> /// <param name="ExternalId">The external ID of the user. Set by the provisioning client. \"caseExact\" is set to \"true\". \"mutability\" is set to \"readWrite\"..</param> /// <param name="Groups">The list of groups that the user is a member of..</param> /// <param name="Roles">The list of roles assigned to the user..</param> /// <param name="Urnietfparamsscimschemasextensionenterprise20User">The URI of the schema for the enterprise user..</param> /// <param name="Urnietfparamsscimschemasextensiongenesyspurecloud20User">The URI of the schema for the Genesys Cloud user..</param> public ScimV2CreateUser(bool?Active = null, string UserName = null, string DisplayName = null, string Password = null, string Title = null, List <ScimPhoneNumber> PhoneNumbers = null, List <ScimEmail> Emails = null, string ExternalId = null, List <ScimV2GroupReference> Groups = null, List <ScimUserRole> Roles = null, ScimV2EnterpriseUser Urnietfparamsscimschemasextensionenterprise20User = null, ScimUserExtensions Urnietfparamsscimschemasextensiongenesyspurecloud20User = null) { this.Active = Active; this.UserName = UserName; this.DisplayName = DisplayName; this.Password = Password; this.Title = Title; this.PhoneNumbers = PhoneNumbers; this.Emails = Emails; this.ExternalId = ExternalId; this.Groups = Groups; this.Roles = Roles; this.Urnietfparamsscimschemasextensionenterprise20User = Urnietfparamsscimschemasextensionenterprise20User; this.Urnietfparamsscimschemasextensiongenesyspurecloud20User = Urnietfparamsscimschemasextensiongenesyspurecloud20User; }