fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
127 lines (126 loc) • 3.4 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 { IncludedFields, IssueTransition, IssueUpdateMetadata, JsonTypeBean, Operations, PageOfChangelogs } from './';
/**
*
* @export
* @interface IssueBean
*/
export interface IssueBean {
/**
* Expand options that include additional issue details in the response.
* @type {string}
* @memberof IssueBean
*/
readonly expand?: string;
/**
* The ID of the issue.
* @type {string}
* @memberof IssueBean
*/
readonly id?: string;
/**
* The URL of the issue details.
* @type {string}
* @memberof IssueBean
*/
readonly self?: string;
/**
* The key of the issue.
* @type {string}
* @memberof IssueBean
*/
readonly key?: string;
/**
* The rendered value of each field present on the issue.
* @type {{ [key: string]: object; }}
* @memberof IssueBean
*/
readonly renderedFields?: {
[key: string]: object;
};
/**
* Details of the issue properties identified in the request.
* @type {{ [key: string]: object; }}
* @memberof IssueBean
*/
readonly properties?: {
[key: string]: object;
};
/**
* The ID and name of each field present on the issue.
* @type {{ [key: string]: string; }}
* @memberof IssueBean
*/
readonly names?: {
[key: string]: string;
};
/**
* The schema describing each field present on the issue.
* @type {{ [key: string]: JsonTypeBean; }}
* @memberof IssueBean
*/
readonly schema?: {
[key: string]: JsonTypeBean;
};
/**
* The transitions that can be performed on the issue.
* @type {Array<IssueTransition>}
* @memberof IssueBean
*/
readonly transitions?: Array<IssueTransition>;
/**
* The operations that can be performed on the issue.
* @type {Operations}
* @memberof IssueBean
*/
readonly operations?: Operations;
/**
* The metadata for the fields on the issue that can be amended.
* @type {IssueUpdateMetadata}
* @memberof IssueBean
*/
readonly editmeta?: IssueUpdateMetadata;
/**
* Details of changelogs associated with the issue.
* @type {PageOfChangelogs}
* @memberof IssueBean
*/
readonly changelog?: PageOfChangelogs;
/**
* The versions of each field on the issue.
* @type {{ [key: string]: { [key: string]: object; }; }}
* @memberof IssueBean
*/
readonly versionedRepresentations?: {
[key: string]: {
[key: string]: object;
};
};
/**
*
* @type {IncludedFields}
* @memberof IssueBean
*/
fieldsToInclude?: IncludedFields;
/**
*
* @type {{ [key: string]: object; }}
* @memberof IssueBean
*/
fields?: {
[key: string]: object;
};
}
export declare function IssueBeanFromJSON(json: any): IssueBean;
export declare function IssueBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueBean;
export declare function IssueBeanToJSON(value?: IssueBean): any;