umbraco-management-api-client
Version:
TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)
77 lines (76 loc) • 2.14 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 CreateWebhookRequestModel
*/
export interface CreateWebhookRequestModel {
/**
*
* @type {boolean}
* @memberof CreateWebhookRequestModel
*/
enabled: boolean;
/**
*
* @type {string}
* @memberof CreateWebhookRequestModel
*/
name?: string | null;
/**
*
* @type {string}
* @memberof CreateWebhookRequestModel
*/
description?: string | null;
/**
*
* @type {string}
* @memberof CreateWebhookRequestModel
*/
url: string;
/**
*
* @type {Array<string>}
* @memberof CreateWebhookRequestModel
*/
contentTypeKeys: Array<string>;
/**
*
* @type {{ [key: string]: string; }}
* @memberof CreateWebhookRequestModel
*/
headers: {
[key: string]: string;
};
/**
*
* @type {string}
* @memberof CreateWebhookRequestModel
*/
id?: string | null;
/**
*
* @type {Array<string>}
* @memberof CreateWebhookRequestModel
*/
events: Array<string>;
}
/**
* Check if a given object implements the CreateWebhookRequestModel interface.
*/
export declare function instanceOfCreateWebhookRequestModel(value: object): value is CreateWebhookRequestModel;
export declare function CreateWebhookRequestModelFromJSON(json: any): CreateWebhookRequestModel;
export declare function CreateWebhookRequestModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWebhookRequestModel;
export declare function CreateWebhookRequestModelToJSON(json: any): CreateWebhookRequestModel;
export declare function CreateWebhookRequestModelToJSONTyped(value?: CreateWebhookRequestModel | null, ignoreDiscriminator?: boolean): any;