ToNotificationChannelMetadataObject
Home > @gooddata/sdk-model > ToNotificationChannelMetadataObject
ToNotificationChannelMetadataObject type
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Utility type to transform INotificationChannelMetadataObjectDefinition to relevant INotificationChannelMetadataObject.
Signature:
export type ToNotificationChannelMetadataObject<T extends INotificationChannelMetadataObjectDefinition> = T extends IWebhookNotificationChannelMetadataObjectDefinition ? IWebhookNotificationChannelMetadataObject : T extends ISmtpNotificationChannelMetadataObjectDefinition ? ISmtpNotificationChannelMetadataObject : T extends IInPlatformNotificationChannelMetadataObjectDefinition ? IInPlatformNotificationChannelMetadataObject : never;
References: INotificationChannelMetadataObjectDefinition, IWebhookNotificationChannelMetadataObjectDefinition, IWebhookNotificationChannelMetadataObject, ISmtpNotificationChannelMetadataObjectDefinition, ISmtpNotificationChannelMetadataObject, IInPlatformNotificationChannelMetadataObjectDefinition, IInPlatformNotificationChannelMetadataObject