UNPKG

netsparker-cloud

Version:

JavaScript client for consuming the Netsparker Cloud API.

165 lines (158 loc) 4.66 kB
/** * Invicti Enterprise API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; import { RoleWebsiteGroupMappingApiModel } from './roleWebsiteGroupMappingApiModel'; /** * Represents a model for carrying out user data. */ export class NewMemberApiModel { /** * Gets or sets the display name of the user. */ 'name': string; /** * Gets or sets the email. */ 'email': string; /** * Gets or sets the password. */ 'password'?: string; /** * Gets or sets the confirmation password. */ 'confirmPassword'?: string; /** * Gets or sets a value indicating whether the Password will be generated automatically by system. If AutoGeneratePassword is true you should leave Password field blank. */ 'autoGeneratePassword'?: boolean; /** * Gets or sets the phone number. */ 'phoneNumber'?: string; /** * Gets or sets a value indicating whether this user is enforced for SSO. */ 'onlySsoLogin'?: boolean; /** * Gets or sets the alternative login email. */ 'alternateLoginEmail'?: string; /** * Gets or sets a value indicating whether the notification will send after user is created. */ 'sendNotification'?: boolean; /** * Gets or sets the user\'s time zone. You can check out following endpoint to see all of time zones. Api endpoint : /api/1.0/teams/gettimezones. Default : GMT Standard Time. */ 'timezoneId': string; /** * Gets or sets user date format that defines the culturally appropriate format of displaying dates and times. You can use these values ; dd/MM/yyyy and MM/dd/yyyy. Default : dd/MM/yyyy. */ 'dateTimeFormat': string; /** * Gets or sets a value indicating whether api access is enabled for user. */ 'isApiAccessEnabled'?: boolean; /** * Gets or sets the allowed site limit. */ 'allowedWebsiteLimit'?: number; /** * Selected users */ 'teams'?: Array<string>; /** * Selected Role Website Groups Mappings */ 'roleWebsiteGroupMappings'?: Array<RoleWebsiteGroupMappingApiModel>; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "Name", "type": "string" }, { "name": "email", "baseName": "Email", "type": "string" }, { "name": "password", "baseName": "Password", "type": "string" }, { "name": "confirmPassword", "baseName": "ConfirmPassword", "type": "string" }, { "name": "autoGeneratePassword", "baseName": "AutoGeneratePassword", "type": "boolean" }, { "name": "phoneNumber", "baseName": "PhoneNumber", "type": "string" }, { "name": "onlySsoLogin", "baseName": "OnlySsoLogin", "type": "boolean" }, { "name": "alternateLoginEmail", "baseName": "AlternateLoginEmail", "type": "string" }, { "name": "sendNotification", "baseName": "SendNotification", "type": "boolean" }, { "name": "timezoneId", "baseName": "TimezoneId", "type": "string" }, { "name": "dateTimeFormat", "baseName": "DateTimeFormat", "type": "string" }, { "name": "isApiAccessEnabled", "baseName": "IsApiAccessEnabled", "type": "boolean" }, { "name": "allowedWebsiteLimit", "baseName": "AllowedWebsiteLimit", "type": "number" }, { "name": "teams", "baseName": "Teams", "type": "Array<string>" }, { "name": "roleWebsiteGroupMappings", "baseName": "RoleWebsiteGroupMappings", "type": "Array<RoleWebsiteGroupMappingApiModel>" } ]; static getAttributeTypeMap() { return NewMemberApiModel.attributeTypeMap; } }