import { IDevKnativePkgApisDuckV1KReference } from "../../duck.knative.dev/v1/KReference.js"; import { IDevKnativePkgApisURL } from "../../knative.dev/pkg/apis/URL.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IEventTypeSpec { /** * Broker refers to the Broker that can provide the EventType. * Deprecated: This field is deprecated and will be removed in a future release. */ "broker"?: string; /** * Description is an optional field used to describe the EventType, in any meaningful way. */ "description"?: string; /** * Reference is a KReference to the belonging addressable. * For example, this could be a pointer to a Broker. */ "reference"?: IDevKnativePkgApisDuckV1KReference; /** * Schema is a URI, it represents the CloudEvents schemaurl extension attribute. * It may be a JSON schema, a protobuf schema, etc. It is optional. */ "schema"?: IDevKnativePkgApisURL; /** * SchemaData allows the CloudEvents schema to be stored directly in the * EventType. Content is dependent on the encoding. Optional attribute. * The contents are not validated or manipulated by the system. */ "schemaData"?: string; /** * Source is a URI, it represents the CloudEvents source. */ "source"?: IDevKnativePkgApisURL; /** * Type represents the CloudEvents type. It is authoritative. */ "type": string; } export declare class EventTypeSpec extends Model implements IEventTypeSpec { "broker"?: string; "description"?: string; "reference"?: IDevKnativePkgApisDuckV1KReference; "schema"?: IDevKnativePkgApisURL; "schemaData"?: string; "source"?: IDevKnativePkgApisURL; "type": string; constructor(data?: ModelData); } export type { IEventTypeSpec as IDevKnativeEventingPkgApisEventingV1beta2EventTypeSpec, EventTypeSpec as DevKnativeEventingPkgApisEventingV1beta2EventTypeSpec };