fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
65 lines (64 loc) • 1.87 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 { JsonTypeBean, RequestTypeFieldValueDTO } from './';
/**
*
* @export
* @interface RequestTypeFieldDTO
*/
export interface RequestTypeFieldDTO {
/**
* ID of the field.
* @type {string}
* @memberof RequestTypeFieldDTO
*/
fieldId?: string;
/**
* Name of the field.
* @type {string}
* @memberof RequestTypeFieldDTO
*/
name?: string;
/**
* Description of the field.
* @type {string}
* @memberof RequestTypeFieldDTO
*/
description?: string;
/**
* Indicates if the field is required (true) or not (false).
* @type {boolean}
* @memberof RequestTypeFieldDTO
*/
required?: boolean;
/**
* List of default values for the field.
* @type {Array<RequestTypeFieldValueDTO>}
* @memberof RequestTypeFieldDTO
*/
defaultValues?: Array<RequestTypeFieldValueDTO>;
/**
* List of valid values for the field.
* @type {Array<RequestTypeFieldValueDTO>}
* @memberof RequestTypeFieldDTO
*/
validValues?: Array<RequestTypeFieldValueDTO>;
/**
* Jira specific implementation details for the field in the UI.
* @type {JsonTypeBean}
* @memberof RequestTypeFieldDTO
*/
jiraSchema?: JsonTypeBean;
}
export declare function RequestTypeFieldDTOFromJSON(json: any): RequestTypeFieldDTO;
export declare function RequestTypeFieldDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestTypeFieldDTO;
export declare function RequestTypeFieldDTOToJSON(value?: RequestTypeFieldDTO): any;