/** * Netsparker 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'; /** * Represents a model for carrying out user data. */ export class UserApiModel { /** * Gets or sets the account identifier. */ 'accountId'?: string; /** * Gets or sets a value indicating whether this instance can manage application/settings. */ 'canManageApplication'?: boolean; /** * Gets or sets a value indicating whether this instance can edit issues for the SelectedGroups. */ 'canManageIssues'?: boolean; /** * Gets or sets a value indicating whether this instance can update fixed(unconfirmed) issues for the SelectedGroups. */ 'canManageIssuesAsRestricted'?: boolean; /** * Gets or sets a value indicating whether this instance can manage users. */ 'canManageTeam'?: boolean; /** * Gets or sets a value indicating whether this instance can manage websites. */ 'canManageWebsites'?: boolean; /** * Gets or sets a value indicating whether this instance can start a website scan for the SelectedGroups. */ 'canStartScan'?: boolean; /** * Gets or sets a value indicating whether this instance can view scan reports for the SelectedGroups. */ 'canViewScanReports'?: boolean; /** * Gets or sets the date which this website was created at. */ 'createdAt'?: Date; /** * Gets or sets the date time format. */ 'dateTimeFormat'?: string; /** * Gets or sets the user\'s email. */ 'email'?: string; /** * Gets or sets the user identifier. */ 'id'?: string; /** * Gets or sets a value indicating whether two factor authentication is enabled for this user. */ 'isTwoFactorAuthenticationEnabled'?: boolean; /** * Gets or sets the display name of the user. */ 'name'?: string; /** * Gets or sets the phone number. */ 'phoneNumber'?: string; /** * Gets or sets the role to which this user belongs. */ 'role'?: UserApiModel.RoleEnum; /** * Gets or sets the selected groups. */ 'selectedGroups'?: Array; /** * Gets or sets the user\'s time zone. */ 'timezoneId'?: string; /** * Gets or sets the date which this website was updated at. */ 'updatedAt'?: Date; /** * Gets or sets the user\'s state. */ 'userState'?: UserApiModel.UserStateEnum; /** * Gets or sets a value indicating whether api access is enabled for the user. */ 'isApiAccessEnabled'?: boolean; /** * Gets or sets the allowed site limit. */ 'allowedWebsiteLimit'?: number; /** * Gets or sets the modification timestamp which is used for concurrency checking. */ 'lastLoginDate'?: Date; /** * If your SSO configuration settings and the use alternate login email option are active, you can use this feature. Alternative login email is used for mails with extensions such as ex: test@subdomain.onmicrosoft.com. When this option is active, view the alternative mail field that you can enter in Team Management> Edit and New pages. When you fill in this field, verification is made with this e-mail address for SSO login. */ 'alternateLoginEmail'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accountId", "baseName": "AccountId", "type": "string" }, { "name": "canManageApplication", "baseName": "CanManageApplication", "type": "boolean" }, { "name": "canManageIssues", "baseName": "CanManageIssues", "type": "boolean" }, { "name": "canManageIssuesAsRestricted", "baseName": "CanManageIssuesAsRestricted", "type": "boolean" }, { "name": "canManageTeam", "baseName": "CanManageTeam", "type": "boolean" }, { "name": "canManageWebsites", "baseName": "CanManageWebsites", "type": "boolean" }, { "name": "canStartScan", "baseName": "CanStartScan", "type": "boolean" }, { "name": "canViewScanReports", "baseName": "CanViewScanReports", "type": "boolean" }, { "name": "createdAt", "baseName": "CreatedAt", "type": "Date" }, { "name": "dateTimeFormat", "baseName": "DateTimeFormat", "type": "string" }, { "name": "email", "baseName": "Email", "type": "string" }, { "name": "id", "baseName": "Id", "type": "string" }, { "name": "isTwoFactorAuthenticationEnabled", "baseName": "IsTwoFactorAuthenticationEnabled", "type": "boolean" }, { "name": "name", "baseName": "Name", "type": "string" }, { "name": "phoneNumber", "baseName": "PhoneNumber", "type": "string" }, { "name": "role", "baseName": "Role", "type": "UserApiModel.RoleEnum" }, { "name": "selectedGroups", "baseName": "SelectedGroups", "type": "Array" }, { "name": "timezoneId", "baseName": "TimezoneId", "type": "string" }, { "name": "updatedAt", "baseName": "UpdatedAt", "type": "Date" }, { "name": "userState", "baseName": "UserState", "type": "UserApiModel.UserStateEnum" }, { "name": "isApiAccessEnabled", "baseName": "IsApiAccessEnabled", "type": "boolean" }, { "name": "allowedWebsiteLimit", "baseName": "AllowedWebsiteLimit", "type": "number" }, { "name": "lastLoginDate", "baseName": "LastLoginDate", "type": "Date" }, { "name": "alternateLoginEmail", "baseName": "AlternateLoginEmail", "type": "string" } ]; static getAttributeTypeMap() { return UserApiModel.attributeTypeMap; } } export namespace UserApiModel { export enum RoleEnum { None = 'None', AccountMember = 'AccountMember', AccountOwner = 'AccountOwner' } export enum UserStateEnum { Enabled = 'Enabled', Disabled = 'Disabled' } }