fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
83 lines (82 loc) • 2.94 kB
TypeScript
/**
* Service Desk Public REST API
* Public REST API for Jira Service Desk
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
*
*
* 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 } from './';
/**
* User details.
* @export
* @interface UserDetails
*/
export interface UserDetails {
/**
* The URL of the user.
* @type {string}
* @memberof UserDetails
*/
readonly self?: 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 UserDetails
*/
readonly name?: 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 UserDetails
*/
readonly key?: string;
/**
* The accountId of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
* @type {string}
* @memberof UserDetails
*/
accountId?: string;
/**
* The email address of the user. Depending on the user’s privacy settings, this may be returned as null.
* @type {string}
* @memberof UserDetails
*/
readonly emailAddress?: string;
/**
* The avatars of the user.
* @type {AvatarUrlsBean}
* @memberof UserDetails
*/
readonly avatarUrls?: AvatarUrlsBean;
/**
* The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
* @type {string}
* @memberof UserDetails
*/
readonly displayName?: string;
/**
* Whether the user is active.
* @type {boolean}
* @memberof UserDetails
*/
readonly active?: boolean;
/**
* The time zone specified in the user\'s profile. Depending on the user’s privacy settings, this may be returned as null.
* @type {string}
* @memberof UserDetails
*/
readonly timeZone?: string;
/**
* The type of account represented by this user. This will be one of \'atlassian\' (normal users), \'app\' (application user) or \'customer\' (Jira Service Desk customer user)
* @type {string}
* @memberof UserDetails
*/
readonly accountType?: string;
}
export declare function UserDetailsFromJSON(json: any): UserDetails;
export declare function UserDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetails;
export declare function UserDetailsToJSON(value?: UserDetails): any;