/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AvatarUrlsBean, SimpleListWrapperApplicationRole, SimpleListWrapperGroupName } from './'; /** * A user. * @export * @interface User */ export interface User { /** * Indicates whether the user is active. * @type {boolean} * @memberof User */ readonly active?: boolean; /** * The groups that the user belongs to. * @type {SimpleListWrapperGroupName} * @memberof User */ readonly groups?: SimpleListWrapperGroupName; /** * The time zone specified in the user\'s profile. Depending on the user’s privacy setting, this may be returned as null. * @type {string} * @memberof User */ readonly timeZone?: string; /** * The URL of the user. * @type {string} * @memberof User */ readonly self?: string; /** * The avatars of the user. * @type {AvatarUrlsBean} * @memberof User */ readonly avatarUrls?: AvatarUrlsBean; /** * Expand options that include additional user details in the response. * @type {string} * @memberof User */ readonly expand?: string; /** * This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. * @type {string} * @memberof User */ name?: string; /** * The user account type. Can take the following values: * `atlassian` regular Atlassian user account * `app` system account used for Connect applications and OAuth to represent external systems * `customer` Jira Service Desk account representing an external service desk * @type {string} * @memberof User */ readonly accountType?: UserAccountTypeEnum; /** * The locale of the user. Depending on the user’s privacy setting, this may be returned as null. * @type {string} * @memberof User */ readonly locale?: string; /** * The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. * @type {string} * @memberof User */ readonly displayName?: string; /** * This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. * @type {string} * @memberof User */ key?: string; /** * The application roles the user is assigned to. * @type {SimpleListWrapperApplicationRole} * @memberof User */ readonly applicationRoles?: SimpleListWrapperApplicationRole; /** * The email address of the user. Depending on the user’s privacy setting, this may be returned as null. * @type {string} * @memberof User */ readonly emailAddress?: string; /** * The accountId of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required in requests. * @type {string} * @memberof User */ accountId?: 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 UserAccountTypeEnum { Atlassian = "atlassian", App = "app", Customer = "customer", Unknown = "unknown" }