import { ModelData, Model } from "@kubernetes-models/base"; export interface IEventAttributeDefinition { /** * Name is the name of the CloudEvents attribute. */ "name": string; /** * Required determines whether this attribute must be set on corresponding CloudEvents. */ "required": boolean; /** * Value is a string representing the allowable values for the EventType attribute. * It may be a single value such as "/apis/v1/namespaces/default/pingsource/ps", or it could be a template * for the allowed values, such as "/apis/v1/namespaces/{namespace}/pingsource/{sourceName}. * To specify a section of the string value which may change between different CloudEvents * you can use curly brackets {} and optionally a variable name between them. */ "value"?: string; } export declare class EventAttributeDefinition extends Model implements IEventAttributeDefinition { "name": string; "required": boolean; "value"?: string; constructor(data?: ModelData); } export type { IEventAttributeDefinition as IDevKnativeEventingPkgApisEventingV1beta3EventAttributeDefinition, EventAttributeDefinition as DevKnativeEventingPkgApisEventingV1beta3EventAttributeDefinition };