notification

package
v0.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertNotificationModelToData added in v0.3.7

func ConvertNotificationModelToData(model NotificationResourceModel) dbt_cloud.Notification

func NotificationDataSource

func NotificationDataSource() datasource.DataSource

func NotificationResource

func NotificationResource() resource.Resource

Types

type NotificationDataSourceModel

type NotificationDataSourceModel struct {
	NotificationID   types.Int64  `tfsdk:"notification_id"`
	UserID           types.Int64  `tfsdk:"user_id"`
	OnCancel         types.Set    `tfsdk:"on_cancel"`
	OnFailure        types.Set    `tfsdk:"on_failure"`
	OnSuccess        types.Set    `tfsdk:"on_success"`
	State            types.Int64  `tfsdk:"state"`
	NotificationType types.Int64  `tfsdk:"notification_type"`
	ExternalEmail    types.String `tfsdk:"external_email"`
	SlackChannelID   types.String `tfsdk:"slack_channel_id"`
	SlackChannelName types.String `tfsdk:"slack_channel_name"`
}

type NotificationResourceModel

type NotificationResourceModel struct {
	ID               types.String `tfsdk:"id"`
	UserID           types.Int64  `tfsdk:"user_id"`
	OnCancel         types.Set    `tfsdk:"on_cancel"`
	OnFailure        types.Set    `tfsdk:"on_failure"`
	OnSuccess        types.Set    `tfsdk:"on_success"`
	State            types.Int64  `tfsdk:"state"`
	NotificationType types.Int64  `tfsdk:"notification_type"`
	ExternalEmail    types.String `tfsdk:"external_email"`
	SlackChannelID   types.String `tfsdk:"slack_channel_id"`
	SlackChannelName types.String `tfsdk:"slack_channel_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL