/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { BulkUserLookupExpandable, Icon, OperationCheckResult, Space, UserDetails } from './'; /** * * @export * @interface User */ export interface User { /** * * @type {string} * @memberof User */ type: UserTypeEnum; /** * This property has been deprecated in favor of `accountId`, due to privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user. For example, _admin_. * @type {string} * @memberof User */ username: string; /** * This property has been deprecated in favor of `accountId`, due to privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. The user key of the user. * @type {string} * @memberof User */ userKey: string; /** * The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`. * @type {string} * @memberof User */ accountId: string; /** * The account type of the user, may return empty string if unavailable. * @type {string} * @memberof User */ accountType: UserAccountTypeEnum; /** * The email address of the user. Depending on the user\'s privacy setting, this may return an empty string. * @type {string} * @memberof User */ email: string; /** * The public name or nickname of the user. Will always contain a value. * @type {string} * @memberof User */ publicName: string; /** * * @type {Icon} * @memberof User */ profilePicture: Icon; /** * The display name of the user. Depending on the user\'s privacy setting, this may be the same as publicName. * @type {string} * @memberof User */ displayName: string; /** * * @type {Array} * @memberof User */ operations?: Array; /** * * @type {UserDetails} * @memberof User */ details?: UserDetails; /** * * @type {Space} * @memberof User */ personalSpace?: Space; /** * * @type {BulkUserLookupExpandable} * @memberof User */ _expandable: BulkUserLookupExpandable; /** * * @type {{ [key: string]: string; }} * @memberof User */ _links: { [key: string]: string; }; } export declare function UserFromJSON(json: any): User; export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User; export declare function UserToJSON(value?: User): any; /** * @export * @enum {string} */ export declare enum UserTypeEnum { Known = "known", Unknown = "unknown", Anonymous = "anonymous", User = "user" } /** * @export * @enum {string} */ export declare enum UserAccountTypeEnum { Atlassian = "atlassian", AppIfThisUserIsABotUserCreatedOnBehalfOfAnAtlassianApp = "app (if this user is a bot user created on behalf of an Atlassian app)" }