fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
89 lines (88 loc) • 2.47 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 { CustomerRequestCreateMetaDTO, RequestTypeIconDTO, SelfLinkDTO } from './';
/**
*
* @export
* @interface RequestTypeDTO
*/
export interface RequestTypeDTO {
/**
* ID for the request type.
* @type {string}
* @memberof RequestTypeDTO
*/
id?: string;
/**
* Short name for the request type.
* @type {string}
* @memberof RequestTypeDTO
*/
name?: string;
/**
* Description of the request type.
* @type {string}
* @memberof RequestTypeDTO
*/
description?: string;
/**
* Help text for the request type.
* @type {string}
* @memberof RequestTypeDTO
*/
helpText?: string;
/**
* ID of the issue type the request type is based upon.
* @type {string}
* @memberof RequestTypeDTO
*/
issueTypeId?: string;
/**
* ID of the service desk the request type belongs to.
* @type {string}
* @memberof RequestTypeDTO
*/
serviceDeskId?: string;
/**
* List of the request type groups the request type belongs to.
* @type {Array<string>}
* @memberof RequestTypeDTO
*/
groupIds?: Array<string>;
/**
* Links to the request type\'s icons.
* @type {RequestTypeIconDTO}
* @memberof RequestTypeDTO
*/
icon?: RequestTypeIconDTO;
/**
* Fields and additional metadata for creating a request that uses the request type
* @type {CustomerRequestCreateMetaDTO}
* @memberof RequestTypeDTO
*/
fields?: CustomerRequestCreateMetaDTO;
/**
* List of items that can be expanded in the response by specifying the expand query parameter.
* @type {Array<string>}
* @memberof RequestTypeDTO
*/
_expands?: Array<string>;
/**
* REST API URL for the request type.
* @type {SelfLinkDTO}
* @memberof RequestTypeDTO
*/
_links?: SelfLinkDTO;
}
export declare function RequestTypeDTOFromJSON(json: any): RequestTypeDTO;
export declare function RequestTypeDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestTypeDTO;
export declare function RequestTypeDTOToJSON(value?: RequestTypeDTO): any;