@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
47 lines (46 loc) • 1.83 kB
TypeScript
/**
* 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.
*/
import { IoK8sApiFlowcontrolV1GroupSubject, IoK8sApiFlowcontrolV1ServiceAccountSubject, IoK8sApiFlowcontrolV1UserSubject } from './';
/**
* Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
* @export
* @interface IoK8sApiFlowcontrolV1Subject
*/
export interface IoK8sApiFlowcontrolV1Subject {
/**
*
* @type {IoK8sApiFlowcontrolV1GroupSubject}
* @memberof IoK8sApiFlowcontrolV1Subject
*/
group?: IoK8sApiFlowcontrolV1GroupSubject;
/**
* `kind` indicates which one of the other fields is non-empty. Required
* @type {string}
* @memberof IoK8sApiFlowcontrolV1Subject
*/
kind: string;
/**
*
* @type {IoK8sApiFlowcontrolV1ServiceAccountSubject}
* @memberof IoK8sApiFlowcontrolV1Subject
*/
serviceAccount?: IoK8sApiFlowcontrolV1ServiceAccountSubject;
/**
*
* @type {IoK8sApiFlowcontrolV1UserSubject}
* @memberof IoK8sApiFlowcontrolV1Subject
*/
user?: IoK8sApiFlowcontrolV1UserSubject;
}
export declare function IoK8sApiFlowcontrolV1SubjectFromJSON(json: any): IoK8sApiFlowcontrolV1Subject;
export declare function IoK8sApiFlowcontrolV1SubjectFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiFlowcontrolV1Subject;
export declare function IoK8sApiFlowcontrolV1SubjectToJSON(value?: IoK8sApiFlowcontrolV1Subject | null): any;