umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
71 lines (70 loc) • 2.03 kB
TypeScript
/**
* Umbraco Management API
* This shows all APIs available in this version of Umbraco - including all the legacy apis that are available for backward compatibility
*
* The version of the OpenAPI document: Latest
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface UpdateWebhookRequestModel
*/
export interface UpdateWebhookRequestModel {
/**
*
* @type {boolean}
* @memberof UpdateWebhookRequestModel
*/
enabled: boolean;
/**
*
* @type {string}
* @memberof UpdateWebhookRequestModel
*/
name?: string | null;
/**
*
* @type {string}
* @memberof UpdateWebhookRequestModel
*/
description?: string | null;
/**
*
* @type {string}
* @memberof UpdateWebhookRequestModel
*/
url: string;
/**
*
* @type {Array<string>}
* @memberof UpdateWebhookRequestModel
*/
contentTypeKeys: Array<string>;
/**
*
* @type {{ [key: string]: string; }}
* @memberof UpdateWebhookRequestModel
*/
headers: {
[key: string]: string;
};
/**
*
* @type {Array<string>}
* @memberof UpdateWebhookRequestModel
*/
events: Array<string>;
}
/**
* Check if a given object implements the UpdateWebhookRequestModel interface.
*/
export declare function instanceOfUpdateWebhookRequestModel(value: object): value is UpdateWebhookRequestModel;
export declare function UpdateWebhookRequestModelFromJSON(json: any): UpdateWebhookRequestModel;
export declare function UpdateWebhookRequestModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWebhookRequestModel;
export declare function UpdateWebhookRequestModelToJSON(json: any): UpdateWebhookRequestModel;
export declare function UpdateWebhookRequestModelToJSONTyped(value?: UpdateWebhookRequestModel | null, ignoreDiscriminator?: boolean): any;