svix
Version:
Svix webhooks API client and webhook verification library
23 lines (19 loc) • 466 B
text/typescript
// this file is @generated
export interface EndpointTransformationPatch {
code?: string | null;
enabled?: boolean;
}
export const EndpointTransformationPatchSerializer = {
_fromJsonObject(object: any): EndpointTransformationPatch {
return {
code: object["code"],
enabled: object["enabled"],
};
},
_toJsonObject(self: EndpointTransformationPatch): any {
return {
code: self.code,
enabled: self.enabled,
};
},
};