fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
60 lines (59 loc) • 1.69 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.
*/
/**
* The schema of a field.
* @export
* @interface JsonTypeBean
*/
export interface JsonTypeBean {
/**
* The data type of the field.
* @type {string}
* @memberof JsonTypeBean
*/
readonly type: string;
/**
* When the data type is an array, the name of the field items within the array.
* @type {string}
* @memberof JsonTypeBean
*/
readonly items?: string;
/**
* If the field is a system field, the name of the field.
* @type {string}
* @memberof JsonTypeBean
*/
readonly system?: string;
/**
* If the field is a custom field, the URI of the field.
* @type {string}
* @memberof JsonTypeBean
*/
readonly custom?: string;
/**
* If the field is a custom field, the custom ID of the field.
* @type {number}
* @memberof JsonTypeBean
*/
readonly customId?: number;
/**
* If the field is a custom field, the configuration of the field.
* @type {{ [key: string]: object; }}
* @memberof JsonTypeBean
*/
readonly _configuration?: {
[key: string]: object;
};
}
export declare function JsonTypeBeanFromJSON(json: any): JsonTypeBean;
export declare function JsonTypeBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonTypeBean;
export declare function JsonTypeBeanToJSON(value?: JsonTypeBean): any;