@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
59 lines (58 loc) • 3.18 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.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 { K8sIoApimachineryPkgApisMetaV1StatusCause } from './';
/**
* StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
* @export
* @interface K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
export interface K8sIoApimachineryPkgApisMetaV1StatusDetails {
/**
* The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
* @type {Array<K8sIoApimachineryPkgApisMetaV1StatusCause>}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
causes?: Array<K8sIoApimachineryPkgApisMetaV1StatusCause>;
/**
* The group attribute of the resource associated with the status StatusReason.
* @type {string}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
group?: string;
/**
* The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
kind?: string;
/**
* The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
* @type {string}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
name?: string;
/**
* If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
* @type {number}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
retryAfterSeconds?: number;
/**
* UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
* @type {string}
* @memberof K8sIoApimachineryPkgApisMetaV1StatusDetails
*/
uid?: string;
}
export declare function K8sIoApimachineryPkgApisMetaV1StatusDetailsFromJSON(json: any): K8sIoApimachineryPkgApisMetaV1StatusDetails;
export declare function K8sIoApimachineryPkgApisMetaV1StatusDetailsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): K8sIoApimachineryPkgApisMetaV1StatusDetails;
export declare function K8sIoApimachineryPkgApisMetaV1StatusDetailsToJSON(value?: K8sIoApimachineryPkgApisMetaV1StatusDetails | null): any;