svix
Version:
Svix webhooks API client and webhook verification library
37 lines (33 loc) • 931 B
text/typescript
// this file is @generated
/* eslint @typescript-eslint/no-explicit-any: 0 */
export interface EventTypePatch {
archived?: boolean;
deprecated?: boolean;
description?: string;
featureFlag?: string | null;
/** The event type group's name */
groupName?: string | null;
schemas?: any | null;
}
export const EventTypePatchSerializer = {
_fromJsonObject(object: any): EventTypePatch {
return {
archived: object["archived"],
deprecated: object["deprecated"],
description: object["description"],
featureFlag: object["featureFlag"],
groupName: object["groupName"],
schemas: object["schemas"],
};
},
_toJsonObject(self: EventTypePatch): any {
return {
archived: self.archived,
deprecated: self.deprecated,
description: self.description,
featureFlag: self.featureFlag,
groupName: self.groupName,
schemas: self.schemas,
};
},
};