@apideck/node
Version:
Apideck Node.js SDK
54 lines (53 loc) • 1.53 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ApiResourceLinkedResources } from './ApiResourceLinkedResources';
import { ResourceStatus } from './ResourceStatus';
/**
*
* @export
* @interface ApiResource
*/
export interface ApiResource {
/**
* ID of the resource, typically a lowercased version of name.
* @type {string}
* @memberof ApiResource
*/
id?: string;
/**
* Name of the resource (plural)
* @type {string}
* @memberof ApiResource
*/
name?: string;
/**
*
* @type {ResourceStatus}
* @memberof ApiResource
*/
status?: ResourceStatus;
/**
* List of linked resources.
* @type {Array<ApiResourceLinkedResources>}
* @memberof ApiResource
*/
linked_resources?: Array<ApiResourceLinkedResources>;
/**
* JSON Schema of the resource in our Unified API
* @type {object}
* @memberof ApiResource
*/
schema?: object;
}
export declare function ApiResourceFromJSON(json: any): ApiResource;
export declare function ApiResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiResource;
export declare function ApiResourceToJSON(value?: ApiResource | null): any;