svix
Version:
Svix webhooks API client and webhook verification library
31 lines (27 loc) • 620 B
text/typescript
// this file is @generated
export interface CronConfig {
/**
* Override the default content-type.
*
* Recommended if the payload is not JSON.
*/
contentType?: string | null;
payload: string;
schedule: string;
}
export const CronConfigSerializer = {
_fromJsonObject(object: any): CronConfig {
return {
contentType: object["contentType"],
payload: object["payload"],
schedule: object["schedule"],
};
},
_toJsonObject(self: CronConfig): any {
return {
contentType: self.contentType,
payload: self.payload,
schedule: self.schedule,
};
},
};