UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

71 lines (70 loc) 2.43 kB
/** * 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 { UserLinkDTO } from './'; /** * * @export * @interface UserDTO */ export interface UserDTO { /** * The accountId of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. * @type {string} * @memberof UserDTO */ accountId?: 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 UserDTO */ 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 UserDTO */ key?: string; /** * Customer\'s email address. Depending on the customer’s privacy settings, this may be returned as null. * @type {string} * @memberof UserDTO */ emailAddress?: string; /** * Customer\'s name for display in a UI. Depending on the customer’s privacy settings, this may return an alternative value. * @type {string} * @memberof UserDTO */ displayName?: string; /** * Indicates if the customer is active (true) or inactive (false) * @type {boolean} * @memberof UserDTO */ active?: boolean; /** * Customer time zone. Depending on the customer’s privacy settings, this may be returned as null. * @type {string} * @memberof UserDTO */ timeZone?: string; /** * URLs for the customer record and related items. * @type {UserLinkDTO} * @memberof UserDTO */ _links?: UserLinkDTO; } export declare function UserDTOFromJSON(json: any): UserDTO; export declare function UserDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDTO; export declare function UserDTOToJSON(value?: UserDTO): any;