UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

44 lines (43 loc) 2.08 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. * @export * @interface IoK8sApimachineryPkgApisMetaV1StatusCause */ export interface IoK8sApimachineryPkgApisMetaV1StatusCause { /** * The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" * @type {string} * @memberof IoK8sApimachineryPkgApisMetaV1StatusCause */ field?: string; /** * A human-readable description of the cause of the error. This field may be presented as-is to a reader. * @type {string} * @memberof IoK8sApimachineryPkgApisMetaV1StatusCause */ message?: string; /** * A machine-readable description of the cause of the error. If this value is empty there is no information available. * @type {string} * @memberof IoK8sApimachineryPkgApisMetaV1StatusCause */ reason?: string; } export declare function IoK8sApimachineryPkgApisMetaV1StatusCauseFromJSON(json: any): IoK8sApimachineryPkgApisMetaV1StatusCause; export declare function IoK8sApimachineryPkgApisMetaV1StatusCauseFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApimachineryPkgApisMetaV1StatusCause; export declare function IoK8sApimachineryPkgApisMetaV1StatusCauseToJSON(value?: IoK8sApimachineryPkgApisMetaV1StatusCause | null): any;