notificationtemplate

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the notificationtemplate type in the database.
	Label = "notification_template"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldSystemOwned holds the string denoting the system_owned field in the database.
	FieldSystemOwned = "system_owned"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldFormat holds the string denoting the format field in the database.
	FieldFormat = "format"
	// FieldLocale holds the string denoting the locale field in the database.
	FieldLocale = "locale"
	// FieldTopicPattern holds the string denoting the topic_pattern field in the database.
	FieldTopicPattern = "topic_pattern"
	// FieldIntegrationID holds the string denoting the integration_id field in the database.
	FieldIntegrationID = "integration_id"
	// FieldWorkflowDefinitionID holds the string denoting the workflow_definition_id field in the database.
	FieldWorkflowDefinitionID = "workflow_definition_id"
	// FieldEmailTemplateID holds the string denoting the email_template_id field in the database.
	FieldEmailTemplateID = "email_template_id"
	// FieldTitleTemplate holds the string denoting the title_template field in the database.
	FieldTitleTemplate = "title_template"
	// FieldSubjectTemplate holds the string denoting the subject_template field in the database.
	FieldSubjectTemplate = "subject_template"
	// FieldBodyTemplate holds the string denoting the body_template field in the database.
	FieldBodyTemplate = "body_template"
	// FieldBlocks holds the string denoting the blocks field in the database.
	FieldBlocks = "blocks"
	// FieldJsonconfig holds the string denoting the jsonconfig field in the database.
	FieldJsonconfig = "jsonconfig"
	// FieldUischema holds the string denoting the uischema field in the database.
	FieldUischema = "uischema"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeIntegration holds the string denoting the integration edge name in mutations.
	EdgeIntegration = "integration"
	// EdgeWorkflowDefinition holds the string denoting the workflow_definition edge name in mutations.
	EdgeWorkflowDefinition = "workflow_definition"
	// EdgeEmailTemplate holds the string denoting the email_template edge name in mutations.
	EdgeEmailTemplate = "email_template"
	// EdgeNotifications holds the string denoting the notifications edge name in mutations.
	EdgeNotifications = "notifications"
	// Table holds the table name of the notificationtemplate in the database.
	Table = "notification_templates"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "notification_templates"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// IntegrationTable is the table that holds the integration relation/edge.
	IntegrationTable = "notification_templates"
	// IntegrationInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationInverseTable = "integrations"
	// IntegrationColumn is the table column denoting the integration relation/edge.
	IntegrationColumn = "integration_id"
	// WorkflowDefinitionTable is the table that holds the workflow_definition relation/edge.
	WorkflowDefinitionTable = "notification_templates"
	// WorkflowDefinitionInverseTable is the table name for the WorkflowDefinition entity.
	// It exists in this package in order to avoid circular dependency with the "workflowdefinition" package.
	WorkflowDefinitionInverseTable = "workflow_definitions"
	// WorkflowDefinitionColumn is the table column denoting the workflow_definition relation/edge.
	WorkflowDefinitionColumn = "workflow_definition_id"
	// EmailTemplateTable is the table that holds the email_template relation/edge.
	EmailTemplateTable = "notification_templates"
	// EmailTemplateInverseTable is the table name for the EmailTemplate entity.
	// It exists in this package in order to avoid circular dependency with the "emailtemplate" package.
	EmailTemplateInverseTable = "email_templates"
	// EmailTemplateColumn is the table column denoting the email_template relation/edge.
	EmailTemplateColumn = "email_template_id"
	// NotificationsTable is the table that holds the notifications relation/edge.
	NotificationsTable = "notifications"
	// NotificationsInverseTable is the table name for the Notification entity.
	// It exists in this package in order to avoid circular dependency with the "notification" package.
	NotificationsInverseTable = "notifications"
	// NotificationsColumn is the table column denoting the notifications relation/edge.
	NotificationsColumn = "template_id"
)
View Source
const DefaultFormat enums.NotificationTemplateFormat = "MARKDOWN"

Variables

View Source
var (
	Hooks        [7]ent.Hook
	Interceptors [3]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultLocale holds the default value on creation for the "locale" field.
	DefaultLocale string
	// TopicPatternValidator is a validator for the "topic_pattern" field. It is called by the builders before save.
	TopicPatternValidator func(string) error
	// DefaultActive holds the default value on creation for the "active" field.
	DefaultActive bool
	// DefaultVersion holds the default value on creation for the "version" field.
	DefaultVersion int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for notificationtemplate fields.

Functions

func Active

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.NotificationTemplate

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

And groups predicates with the AND operator between them.

func BlocksIsNil

func BlocksIsNil() predicate.NotificationTemplate

BlocksIsNil applies the IsNil predicate on the "blocks" field.

func BlocksNotNil

func BlocksNotNil() predicate.NotificationTemplate

BlocksNotNil applies the NotNil predicate on the "blocks" field.

func BodyTemplate

func BodyTemplate(v string) predicate.NotificationTemplate

BodyTemplate applies equality check predicate on the "body_template" field. It's identical to BodyTemplateEQ.

func BodyTemplateContains

func BodyTemplateContains(v string) predicate.NotificationTemplate

BodyTemplateContains applies the Contains predicate on the "body_template" field.

func BodyTemplateContainsFold

func BodyTemplateContainsFold(v string) predicate.NotificationTemplate

BodyTemplateContainsFold applies the ContainsFold predicate on the "body_template" field.

func BodyTemplateEQ

func BodyTemplateEQ(v string) predicate.NotificationTemplate

BodyTemplateEQ applies the EQ predicate on the "body_template" field.

func BodyTemplateEqualFold

func BodyTemplateEqualFold(v string) predicate.NotificationTemplate

BodyTemplateEqualFold applies the EqualFold predicate on the "body_template" field.

func BodyTemplateGT

func BodyTemplateGT(v string) predicate.NotificationTemplate

BodyTemplateGT applies the GT predicate on the "body_template" field.

func BodyTemplateGTE

func BodyTemplateGTE(v string) predicate.NotificationTemplate

BodyTemplateGTE applies the GTE predicate on the "body_template" field.

func BodyTemplateHasPrefix

func BodyTemplateHasPrefix(v string) predicate.NotificationTemplate

BodyTemplateHasPrefix applies the HasPrefix predicate on the "body_template" field.

func BodyTemplateHasSuffix

func BodyTemplateHasSuffix(v string) predicate.NotificationTemplate

BodyTemplateHasSuffix applies the HasSuffix predicate on the "body_template" field.

func BodyTemplateIn

func BodyTemplateIn(vs ...string) predicate.NotificationTemplate

BodyTemplateIn applies the In predicate on the "body_template" field.

func BodyTemplateIsNil

func BodyTemplateIsNil() predicate.NotificationTemplate

BodyTemplateIsNil applies the IsNil predicate on the "body_template" field.

func BodyTemplateLT

func BodyTemplateLT(v string) predicate.NotificationTemplate

BodyTemplateLT applies the LT predicate on the "body_template" field.

func BodyTemplateLTE

func BodyTemplateLTE(v string) predicate.NotificationTemplate

BodyTemplateLTE applies the LTE predicate on the "body_template" field.

func BodyTemplateNEQ

func BodyTemplateNEQ(v string) predicate.NotificationTemplate

BodyTemplateNEQ applies the NEQ predicate on the "body_template" field.

func BodyTemplateNotIn

func BodyTemplateNotIn(vs ...string) predicate.NotificationTemplate

BodyTemplateNotIn applies the NotIn predicate on the "body_template" field.

func BodyTemplateNotNil

func BodyTemplateNotNil() predicate.NotificationTemplate

BodyTemplateNotNil applies the NotNil predicate on the "body_template" field.

func ChannelEQ

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelIn

ChannelIn applies the In predicate on the "channel" field.

func ChannelNEQ

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...enums.Channel) predicate.NotificationTemplate

ChannelNotIn applies the NotIn predicate on the "channel" field.

func ChannelValidator

func ChannelValidator(c enums.Channel) error

ChannelValidator is a validator for the "channel" field enum values. It is called by the builders before save.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NotificationTemplate

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NotificationTemplate

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NotificationTemplate

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.NotificationTemplate

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.NotificationTemplate

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NotificationTemplate

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NotificationTemplate

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NotificationTemplate

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.NotificationTemplate

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.NotificationTemplate

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.NotificationTemplate

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.NotificationTemplate

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.NotificationTemplate

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.NotificationTemplate

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.NotificationTemplate

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.NotificationTemplate

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.NotificationTemplate

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.NotificationTemplate

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.NotificationTemplate

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.NotificationTemplate

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.NotificationTemplate

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.NotificationTemplate

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.NotificationTemplate

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.NotificationTemplate

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.NotificationTemplate

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.NotificationTemplate

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.NotificationTemplate

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.NotificationTemplate

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.NotificationTemplate

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.NotificationTemplate

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.NotificationTemplate

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.NotificationTemplate

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.NotificationTemplate

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.NotificationTemplate

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.NotificationTemplate

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.NotificationTemplate

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.NotificationTemplate

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.NotificationTemplate

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.NotificationTemplate

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.NotificationTemplate

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.NotificationTemplate

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.NotificationTemplate

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.NotificationTemplate

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.NotificationTemplate

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.NotificationTemplate

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.NotificationTemplate

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.NotificationTemplate

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.NotificationTemplate

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.NotificationTemplate

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.NotificationTemplate

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.NotificationTemplate

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.NotificationTemplate

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.NotificationTemplate

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.NotificationTemplate

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.NotificationTemplate

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.NotificationTemplate

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.NotificationTemplate

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.NotificationTemplate

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.NotificationTemplate

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.NotificationTemplate

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.NotificationTemplate

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.NotificationTemplate

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.NotificationTemplate

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.NotificationTemplate

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.NotificationTemplate

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.NotificationTemplate

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EmailTemplateID

func EmailTemplateID(v string) predicate.NotificationTemplate

EmailTemplateID applies equality check predicate on the "email_template_id" field. It's identical to EmailTemplateIDEQ.

func EmailTemplateIDContains

func EmailTemplateIDContains(v string) predicate.NotificationTemplate

EmailTemplateIDContains applies the Contains predicate on the "email_template_id" field.

func EmailTemplateIDContainsFold

func EmailTemplateIDContainsFold(v string) predicate.NotificationTemplate

EmailTemplateIDContainsFold applies the ContainsFold predicate on the "email_template_id" field.

func EmailTemplateIDEQ

func EmailTemplateIDEQ(v string) predicate.NotificationTemplate

EmailTemplateIDEQ applies the EQ predicate on the "email_template_id" field.

func EmailTemplateIDEqualFold

func EmailTemplateIDEqualFold(v string) predicate.NotificationTemplate

EmailTemplateIDEqualFold applies the EqualFold predicate on the "email_template_id" field.

func EmailTemplateIDGT

func EmailTemplateIDGT(v string) predicate.NotificationTemplate

EmailTemplateIDGT applies the GT predicate on the "email_template_id" field.

func EmailTemplateIDGTE

func EmailTemplateIDGTE(v string) predicate.NotificationTemplate

EmailTemplateIDGTE applies the GTE predicate on the "email_template_id" field.

func EmailTemplateIDHasPrefix

func EmailTemplateIDHasPrefix(v string) predicate.NotificationTemplate

EmailTemplateIDHasPrefix applies the HasPrefix predicate on the "email_template_id" field.

func EmailTemplateIDHasSuffix

func EmailTemplateIDHasSuffix(v string) predicate.NotificationTemplate

EmailTemplateIDHasSuffix applies the HasSuffix predicate on the "email_template_id" field.

func EmailTemplateIDIn

func EmailTemplateIDIn(vs ...string) predicate.NotificationTemplate

EmailTemplateIDIn applies the In predicate on the "email_template_id" field.

func EmailTemplateIDIsNil

func EmailTemplateIDIsNil() predicate.NotificationTemplate

EmailTemplateIDIsNil applies the IsNil predicate on the "email_template_id" field.

func EmailTemplateIDLT

func EmailTemplateIDLT(v string) predicate.NotificationTemplate

EmailTemplateIDLT applies the LT predicate on the "email_template_id" field.

func EmailTemplateIDLTE

func EmailTemplateIDLTE(v string) predicate.NotificationTemplate

EmailTemplateIDLTE applies the LTE predicate on the "email_template_id" field.

func EmailTemplateIDNEQ

func EmailTemplateIDNEQ(v string) predicate.NotificationTemplate

EmailTemplateIDNEQ applies the NEQ predicate on the "email_template_id" field.

func EmailTemplateIDNotIn

func EmailTemplateIDNotIn(vs ...string) predicate.NotificationTemplate

EmailTemplateIDNotIn applies the NotIn predicate on the "email_template_id" field.

func EmailTemplateIDNotNil

func EmailTemplateIDNotNil() predicate.NotificationTemplate

EmailTemplateIDNotNil applies the NotNil predicate on the "email_template_id" field.

func FormatEQ

FormatEQ applies the EQ predicate on the "format" field.

func FormatIn

FormatIn applies the In predicate on the "format" field.

func FormatNEQ

FormatNEQ applies the NEQ predicate on the "format" field.

func FormatNotIn

FormatNotIn applies the NotIn predicate on the "format" field.

func FormatValidator

func FormatValidator(f enums.NotificationTemplateFormat) error

FormatValidator is a validator for the "format" field enum values. It is called by the builders before save.

func HasEmailTemplate

func HasEmailTemplate() predicate.NotificationTemplate

HasEmailTemplate applies the HasEdge predicate on the "email_template" edge.

func HasEmailTemplateWith

func HasEmailTemplateWith(preds ...predicate.EmailTemplate) predicate.NotificationTemplate

HasEmailTemplateWith applies the HasEdge predicate on the "email_template" edge with a given conditions (other predicates).

func HasIntegration

func HasIntegration() predicate.NotificationTemplate

HasIntegration applies the HasEdge predicate on the "integration" edge.

func HasIntegrationWith

func HasIntegrationWith(preds ...predicate.Integration) predicate.NotificationTemplate

HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).

func HasNotifications

func HasNotifications() predicate.NotificationTemplate

HasNotifications applies the HasEdge predicate on the "notifications" edge.

func HasNotificationsWith

func HasNotificationsWith(preds ...predicate.Notification) predicate.NotificationTemplate

HasNotificationsWith applies the HasEdge predicate on the "notifications" edge with a given conditions (other predicates).

func HasOwner

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func HasWorkflowDefinition

func HasWorkflowDefinition() predicate.NotificationTemplate

HasWorkflowDefinition applies the HasEdge predicate on the "workflow_definition" edge.

func HasWorkflowDefinitionWith

func HasWorkflowDefinitionWith(preds ...predicate.WorkflowDefinition) predicate.NotificationTemplate

HasWorkflowDefinitionWith applies the HasEdge predicate on the "workflow_definition" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.NotificationTemplate

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.NotificationTemplate

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.NotificationTemplate

IDNotIn applies the NotIn predicate on the ID field.

func IntegrationID

func IntegrationID(v string) predicate.NotificationTemplate

IntegrationID applies equality check predicate on the "integration_id" field. It's identical to IntegrationIDEQ.

func IntegrationIDContains

func IntegrationIDContains(v string) predicate.NotificationTemplate

IntegrationIDContains applies the Contains predicate on the "integration_id" field.

func IntegrationIDContainsFold

func IntegrationIDContainsFold(v string) predicate.NotificationTemplate

IntegrationIDContainsFold applies the ContainsFold predicate on the "integration_id" field.

func IntegrationIDEQ

func IntegrationIDEQ(v string) predicate.NotificationTemplate

IntegrationIDEQ applies the EQ predicate on the "integration_id" field.

func IntegrationIDEqualFold

func IntegrationIDEqualFold(v string) predicate.NotificationTemplate

IntegrationIDEqualFold applies the EqualFold predicate on the "integration_id" field.

func IntegrationIDGT

func IntegrationIDGT(v string) predicate.NotificationTemplate

IntegrationIDGT applies the GT predicate on the "integration_id" field.

func IntegrationIDGTE

func IntegrationIDGTE(v string) predicate.NotificationTemplate

IntegrationIDGTE applies the GTE predicate on the "integration_id" field.

func IntegrationIDHasPrefix

func IntegrationIDHasPrefix(v string) predicate.NotificationTemplate

IntegrationIDHasPrefix applies the HasPrefix predicate on the "integration_id" field.

func IntegrationIDHasSuffix

func IntegrationIDHasSuffix(v string) predicate.NotificationTemplate

IntegrationIDHasSuffix applies the HasSuffix predicate on the "integration_id" field.

func IntegrationIDIn

func IntegrationIDIn(vs ...string) predicate.NotificationTemplate

IntegrationIDIn applies the In predicate on the "integration_id" field.

func IntegrationIDIsNil

func IntegrationIDIsNil() predicate.NotificationTemplate

IntegrationIDIsNil applies the IsNil predicate on the "integration_id" field.

func IntegrationIDLT

func IntegrationIDLT(v string) predicate.NotificationTemplate

IntegrationIDLT applies the LT predicate on the "integration_id" field.

func IntegrationIDLTE

func IntegrationIDLTE(v string) predicate.NotificationTemplate

IntegrationIDLTE applies the LTE predicate on the "integration_id" field.

func IntegrationIDNEQ

func IntegrationIDNEQ(v string) predicate.NotificationTemplate

IntegrationIDNEQ applies the NEQ predicate on the "integration_id" field.

func IntegrationIDNotIn

func IntegrationIDNotIn(vs ...string) predicate.NotificationTemplate

IntegrationIDNotIn applies the NotIn predicate on the "integration_id" field.

func IntegrationIDNotNil

func IntegrationIDNotNil() predicate.NotificationTemplate

IntegrationIDNotNil applies the NotNil predicate on the "integration_id" field.

func InternalNotes

func InternalNotes(v string) predicate.NotificationTemplate

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains

func InternalNotesContains(v string) predicate.NotificationTemplate

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold

func InternalNotesContainsFold(v string) predicate.NotificationTemplate

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ

func InternalNotesEQ(v string) predicate.NotificationTemplate

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold

func InternalNotesEqualFold(v string) predicate.NotificationTemplate

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT

func InternalNotesGT(v string) predicate.NotificationTemplate

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE

func InternalNotesGTE(v string) predicate.NotificationTemplate

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix

func InternalNotesHasPrefix(v string) predicate.NotificationTemplate

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix

func InternalNotesHasSuffix(v string) predicate.NotificationTemplate

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn

func InternalNotesIn(vs ...string) predicate.NotificationTemplate

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil

func InternalNotesIsNil() predicate.NotificationTemplate

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT

func InternalNotesLT(v string) predicate.NotificationTemplate

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE

func InternalNotesLTE(v string) predicate.NotificationTemplate

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ

func InternalNotesNEQ(v string) predicate.NotificationTemplate

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn

func InternalNotesNotIn(vs ...string) predicate.NotificationTemplate

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil

func InternalNotesNotNil() predicate.NotificationTemplate

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.

func JsonconfigIsNil

func JsonconfigIsNil() predicate.NotificationTemplate

JsonconfigIsNil applies the IsNil predicate on the "jsonconfig" field.

func JsonconfigNotNil

func JsonconfigNotNil() predicate.NotificationTemplate

JsonconfigNotNil applies the NotNil predicate on the "jsonconfig" field.

func Key

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.NotificationTemplate

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.NotificationTemplate

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.NotificationTemplate

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.NotificationTemplate

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.NotificationTemplate

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

KeyIn applies the In predicate on the "key" field.

func KeyLT

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.NotificationTemplate

KeyNotIn applies the NotIn predicate on the "key" field.

func Locale

Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.

func LocaleContains

func LocaleContains(v string) predicate.NotificationTemplate

LocaleContains applies the Contains predicate on the "locale" field.

func LocaleContainsFold

func LocaleContainsFold(v string) predicate.NotificationTemplate

LocaleContainsFold applies the ContainsFold predicate on the "locale" field.

func LocaleEQ

LocaleEQ applies the EQ predicate on the "locale" field.

func LocaleEqualFold

func LocaleEqualFold(v string) predicate.NotificationTemplate

LocaleEqualFold applies the EqualFold predicate on the "locale" field.

func LocaleGT

LocaleGT applies the GT predicate on the "locale" field.

func LocaleGTE

LocaleGTE applies the GTE predicate on the "locale" field.

func LocaleHasPrefix

func LocaleHasPrefix(v string) predicate.NotificationTemplate

LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.

func LocaleHasSuffix

func LocaleHasSuffix(v string) predicate.NotificationTemplate

LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.

func LocaleIn

func LocaleIn(vs ...string) predicate.NotificationTemplate

LocaleIn applies the In predicate on the "locale" field.

func LocaleLT

LocaleLT applies the LT predicate on the "locale" field.

func LocaleLTE

LocaleLTE applies the LTE predicate on the "locale" field.

func LocaleNEQ

LocaleNEQ applies the NEQ predicate on the "locale" field.

func LocaleNotIn

func LocaleNotIn(vs ...string) predicate.NotificationTemplate

LocaleNotIn applies the NotIn predicate on the "locale" field.

func MetadataIsNil

func MetadataIsNil() predicate.NotificationTemplate

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.NotificationTemplate

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.NotificationTemplate

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.NotificationTemplate

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.NotificationTemplate

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.NotificationTemplate

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.NotificationTemplate

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.NotificationTemplate

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.NotificationTemplate

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.NotificationTemplate

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.NotificationTemplate

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.NotificationTemplate

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.NotificationTemplate

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.NotificationTemplate

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.NotificationTemplate

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.NotificationTemplate

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.NotificationTemplate

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func SubjectTemplate

func SubjectTemplate(v string) predicate.NotificationTemplate

SubjectTemplate applies equality check predicate on the "subject_template" field. It's identical to SubjectTemplateEQ.

func SubjectTemplateContains

func SubjectTemplateContains(v string) predicate.NotificationTemplate

SubjectTemplateContains applies the Contains predicate on the "subject_template" field.

func SubjectTemplateContainsFold

func SubjectTemplateContainsFold(v string) predicate.NotificationTemplate

SubjectTemplateContainsFold applies the ContainsFold predicate on the "subject_template" field.

func SubjectTemplateEQ

func SubjectTemplateEQ(v string) predicate.NotificationTemplate

SubjectTemplateEQ applies the EQ predicate on the "subject_template" field.

func SubjectTemplateEqualFold

func SubjectTemplateEqualFold(v string) predicate.NotificationTemplate

SubjectTemplateEqualFold applies the EqualFold predicate on the "subject_template" field.

func SubjectTemplateGT

func SubjectTemplateGT(v string) predicate.NotificationTemplate

SubjectTemplateGT applies the GT predicate on the "subject_template" field.

func SubjectTemplateGTE

func SubjectTemplateGTE(v string) predicate.NotificationTemplate

SubjectTemplateGTE applies the GTE predicate on the "subject_template" field.

func SubjectTemplateHasPrefix

func SubjectTemplateHasPrefix(v string) predicate.NotificationTemplate

SubjectTemplateHasPrefix applies the HasPrefix predicate on the "subject_template" field.

func SubjectTemplateHasSuffix

func SubjectTemplateHasSuffix(v string) predicate.NotificationTemplate

SubjectTemplateHasSuffix applies the HasSuffix predicate on the "subject_template" field.

func SubjectTemplateIn

func SubjectTemplateIn(vs ...string) predicate.NotificationTemplate

SubjectTemplateIn applies the In predicate on the "subject_template" field.

func SubjectTemplateIsNil

func SubjectTemplateIsNil() predicate.NotificationTemplate

SubjectTemplateIsNil applies the IsNil predicate on the "subject_template" field.

func SubjectTemplateLT

func SubjectTemplateLT(v string) predicate.NotificationTemplate

SubjectTemplateLT applies the LT predicate on the "subject_template" field.

func SubjectTemplateLTE

func SubjectTemplateLTE(v string) predicate.NotificationTemplate

SubjectTemplateLTE applies the LTE predicate on the "subject_template" field.

func SubjectTemplateNEQ

func SubjectTemplateNEQ(v string) predicate.NotificationTemplate

SubjectTemplateNEQ applies the NEQ predicate on the "subject_template" field.

func SubjectTemplateNotIn

func SubjectTemplateNotIn(vs ...string) predicate.NotificationTemplate

SubjectTemplateNotIn applies the NotIn predicate on the "subject_template" field.

func SubjectTemplateNotNil

func SubjectTemplateNotNil() predicate.NotificationTemplate

SubjectTemplateNotNil applies the NotNil predicate on the "subject_template" field.

func SystemInternalID

func SystemInternalID(v string) predicate.NotificationTemplate

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains

func SystemInternalIDContains(v string) predicate.NotificationTemplate

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold

func SystemInternalIDContainsFold(v string) predicate.NotificationTemplate

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ

func SystemInternalIDEQ(v string) predicate.NotificationTemplate

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold

func SystemInternalIDEqualFold(v string) predicate.NotificationTemplate

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT

func SystemInternalIDGT(v string) predicate.NotificationTemplate

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE

func SystemInternalIDGTE(v string) predicate.NotificationTemplate

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix

func SystemInternalIDHasPrefix(v string) predicate.NotificationTemplate

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix

func SystemInternalIDHasSuffix(v string) predicate.NotificationTemplate

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn

func SystemInternalIDIn(vs ...string) predicate.NotificationTemplate

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil

func SystemInternalIDIsNil() predicate.NotificationTemplate

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT

func SystemInternalIDLT(v string) predicate.NotificationTemplate

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE

func SystemInternalIDLTE(v string) predicate.NotificationTemplate

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ

func SystemInternalIDNEQ(v string) predicate.NotificationTemplate

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn

func SystemInternalIDNotIn(vs ...string) predicate.NotificationTemplate

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil

func SystemInternalIDNotNil() predicate.NotificationTemplate

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned

func SystemOwned(v bool) predicate.NotificationTemplate

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.NotificationTemplate

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.NotificationTemplate

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.NotificationTemplate

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.NotificationTemplate

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TitleTemplate

func TitleTemplate(v string) predicate.NotificationTemplate

TitleTemplate applies equality check predicate on the "title_template" field. It's identical to TitleTemplateEQ.

func TitleTemplateContains

func TitleTemplateContains(v string) predicate.NotificationTemplate

TitleTemplateContains applies the Contains predicate on the "title_template" field.

func TitleTemplateContainsFold

func TitleTemplateContainsFold(v string) predicate.NotificationTemplate

TitleTemplateContainsFold applies the ContainsFold predicate on the "title_template" field.

func TitleTemplateEQ

func TitleTemplateEQ(v string) predicate.NotificationTemplate

TitleTemplateEQ applies the EQ predicate on the "title_template" field.

func TitleTemplateEqualFold

func TitleTemplateEqualFold(v string) predicate.NotificationTemplate

TitleTemplateEqualFold applies the EqualFold predicate on the "title_template" field.

func TitleTemplateGT

func TitleTemplateGT(v string) predicate.NotificationTemplate

TitleTemplateGT applies the GT predicate on the "title_template" field.

func TitleTemplateGTE

func TitleTemplateGTE(v string) predicate.NotificationTemplate

TitleTemplateGTE applies the GTE predicate on the "title_template" field.

func TitleTemplateHasPrefix

func TitleTemplateHasPrefix(v string) predicate.NotificationTemplate

TitleTemplateHasPrefix applies the HasPrefix predicate on the "title_template" field.

func TitleTemplateHasSuffix

func TitleTemplateHasSuffix(v string) predicate.NotificationTemplate

TitleTemplateHasSuffix applies the HasSuffix predicate on the "title_template" field.

func TitleTemplateIn

func TitleTemplateIn(vs ...string) predicate.NotificationTemplate

TitleTemplateIn applies the In predicate on the "title_template" field.

func TitleTemplateIsNil

func TitleTemplateIsNil() predicate.NotificationTemplate

TitleTemplateIsNil applies the IsNil predicate on the "title_template" field.

func TitleTemplateLT

func TitleTemplateLT(v string) predicate.NotificationTemplate

TitleTemplateLT applies the LT predicate on the "title_template" field.

func TitleTemplateLTE

func TitleTemplateLTE(v string) predicate.NotificationTemplate

TitleTemplateLTE applies the LTE predicate on the "title_template" field.

func TitleTemplateNEQ

func TitleTemplateNEQ(v string) predicate.NotificationTemplate

TitleTemplateNEQ applies the NEQ predicate on the "title_template" field.

func TitleTemplateNotIn

func TitleTemplateNotIn(vs ...string) predicate.NotificationTemplate

TitleTemplateNotIn applies the NotIn predicate on the "title_template" field.

func TitleTemplateNotNil

func TitleTemplateNotNil() predicate.NotificationTemplate

TitleTemplateNotNil applies the NotNil predicate on the "title_template" field.

func TopicPattern

func TopicPattern(v string) predicate.NotificationTemplate

TopicPattern applies equality check predicate on the "topic_pattern" field. It's identical to TopicPatternEQ.

func TopicPatternContains

func TopicPatternContains(v string) predicate.NotificationTemplate

TopicPatternContains applies the Contains predicate on the "topic_pattern" field.

func TopicPatternContainsFold

func TopicPatternContainsFold(v string) predicate.NotificationTemplate

TopicPatternContainsFold applies the ContainsFold predicate on the "topic_pattern" field.

func TopicPatternEQ

func TopicPatternEQ(v string) predicate.NotificationTemplate

TopicPatternEQ applies the EQ predicate on the "topic_pattern" field.

func TopicPatternEqualFold

func TopicPatternEqualFold(v string) predicate.NotificationTemplate

TopicPatternEqualFold applies the EqualFold predicate on the "topic_pattern" field.

func TopicPatternGT

func TopicPatternGT(v string) predicate.NotificationTemplate

TopicPatternGT applies the GT predicate on the "topic_pattern" field.

func TopicPatternGTE

func TopicPatternGTE(v string) predicate.NotificationTemplate

TopicPatternGTE applies the GTE predicate on the "topic_pattern" field.

func TopicPatternHasPrefix

func TopicPatternHasPrefix(v string) predicate.NotificationTemplate

TopicPatternHasPrefix applies the HasPrefix predicate on the "topic_pattern" field.

func TopicPatternHasSuffix

func TopicPatternHasSuffix(v string) predicate.NotificationTemplate

TopicPatternHasSuffix applies the HasSuffix predicate on the "topic_pattern" field.

func TopicPatternIn

func TopicPatternIn(vs ...string) predicate.NotificationTemplate

TopicPatternIn applies the In predicate on the "topic_pattern" field.

func TopicPatternLT

func TopicPatternLT(v string) predicate.NotificationTemplate

TopicPatternLT applies the LT predicate on the "topic_pattern" field.

func TopicPatternLTE

func TopicPatternLTE(v string) predicate.NotificationTemplate

TopicPatternLTE applies the LTE predicate on the "topic_pattern" field.

func TopicPatternNEQ

func TopicPatternNEQ(v string) predicate.NotificationTemplate

TopicPatternNEQ applies the NEQ predicate on the "topic_pattern" field.

func TopicPatternNotIn

func TopicPatternNotIn(vs ...string) predicate.NotificationTemplate

TopicPatternNotIn applies the NotIn predicate on the "topic_pattern" field.

func UischemaIsNil

func UischemaIsNil() predicate.NotificationTemplate

UischemaIsNil applies the IsNil predicate on the "uischema" field.

func UischemaNotNil

func UischemaNotNil() predicate.NotificationTemplate

UischemaNotNil applies the NotNil predicate on the "uischema" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NotificationTemplate

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NotificationTemplate

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NotificationTemplate

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.NotificationTemplate

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.NotificationTemplate

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NotificationTemplate

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NotificationTemplate

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NotificationTemplate

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.NotificationTemplate

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.NotificationTemplate

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.NotificationTemplate

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.NotificationTemplate

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.NotificationTemplate

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.NotificationTemplate

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.NotificationTemplate

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.NotificationTemplate

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.NotificationTemplate

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.NotificationTemplate

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.NotificationTemplate

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.NotificationTemplate

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.NotificationTemplate

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.NotificationTemplate

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.NotificationTemplate

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.NotificationTemplate

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.NotificationTemplate

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int) predicate.NotificationTemplate

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int) predicate.NotificationTemplate

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int) predicate.NotificationTemplate

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int) predicate.NotificationTemplate

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v int) predicate.NotificationTemplate

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int) predicate.NotificationTemplate

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int) predicate.NotificationTemplate

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int) predicate.NotificationTemplate

VersionNotIn applies the NotIn predicate on the "version" field.

func WorkflowDefinitionID

func WorkflowDefinitionID(v string) predicate.NotificationTemplate

WorkflowDefinitionID applies equality check predicate on the "workflow_definition_id" field. It's identical to WorkflowDefinitionIDEQ.

func WorkflowDefinitionIDContains

func WorkflowDefinitionIDContains(v string) predicate.NotificationTemplate

WorkflowDefinitionIDContains applies the Contains predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDContainsFold

func WorkflowDefinitionIDContainsFold(v string) predicate.NotificationTemplate

WorkflowDefinitionIDContainsFold applies the ContainsFold predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDEQ

func WorkflowDefinitionIDEQ(v string) predicate.NotificationTemplate

WorkflowDefinitionIDEQ applies the EQ predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDEqualFold

func WorkflowDefinitionIDEqualFold(v string) predicate.NotificationTemplate

WorkflowDefinitionIDEqualFold applies the EqualFold predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDGT

func WorkflowDefinitionIDGT(v string) predicate.NotificationTemplate

WorkflowDefinitionIDGT applies the GT predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDGTE

func WorkflowDefinitionIDGTE(v string) predicate.NotificationTemplate

WorkflowDefinitionIDGTE applies the GTE predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDHasPrefix

func WorkflowDefinitionIDHasPrefix(v string) predicate.NotificationTemplate

WorkflowDefinitionIDHasPrefix applies the HasPrefix predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDHasSuffix

func WorkflowDefinitionIDHasSuffix(v string) predicate.NotificationTemplate

WorkflowDefinitionIDHasSuffix applies the HasSuffix predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDIn

func WorkflowDefinitionIDIn(vs ...string) predicate.NotificationTemplate

WorkflowDefinitionIDIn applies the In predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDIsNil

func WorkflowDefinitionIDIsNil() predicate.NotificationTemplate

WorkflowDefinitionIDIsNil applies the IsNil predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDLT

func WorkflowDefinitionIDLT(v string) predicate.NotificationTemplate

WorkflowDefinitionIDLT applies the LT predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDLTE

func WorkflowDefinitionIDLTE(v string) predicate.NotificationTemplate

WorkflowDefinitionIDLTE applies the LTE predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDNEQ

func WorkflowDefinitionIDNEQ(v string) predicate.NotificationTemplate

WorkflowDefinitionIDNEQ applies the NEQ predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDNotIn

func WorkflowDefinitionIDNotIn(vs ...string) predicate.NotificationTemplate

WorkflowDefinitionIDNotIn applies the NotIn predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDNotNil

func WorkflowDefinitionIDNotNil() predicate.NotificationTemplate

WorkflowDefinitionIDNotNil applies the NotNil predicate on the "workflow_definition_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NotificationTemplate queries.

func ByActive

func ByActive(opts ...sql.OrderTermOption) OrderOption

ByActive orders the results by the active field.

func ByBodyTemplate

func ByBodyTemplate(opts ...sql.OrderTermOption) OrderOption

ByBodyTemplate orders the results by the body_template field.

func ByChannel

func ByChannel(opts ...sql.OrderTermOption) OrderOption

ByChannel orders the results by the channel field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByEmailTemplateField

func ByEmailTemplateField(field string, opts ...sql.OrderTermOption) OrderOption

ByEmailTemplateField orders the results by email_template field.

func ByEmailTemplateID

func ByEmailTemplateID(opts ...sql.OrderTermOption) OrderOption

ByEmailTemplateID orders the results by the email_template_id field.

func ByFormat

func ByFormat(opts ...sql.OrderTermOption) OrderOption

ByFormat orders the results by the format field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIntegrationField

func ByIntegrationField(field string, opts ...sql.OrderTermOption) OrderOption

ByIntegrationField orders the results by integration field.

func ByIntegrationID

func ByIntegrationID(opts ...sql.OrderTermOption) OrderOption

ByIntegrationID orders the results by the integration_id field.

func ByInternalNotes

func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption

ByInternalNotes orders the results by the internal_notes field.

func ByKey

func ByKey(opts ...sql.OrderTermOption) OrderOption

ByKey orders the results by the key field.

func ByLocale

func ByLocale(opts ...sql.OrderTermOption) OrderOption

ByLocale orders the results by the locale field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNotifications

func ByNotifications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByNotifications orders the results by notifications terms.

func ByNotificationsCount

func ByNotificationsCount(opts ...sql.OrderTermOption) OrderOption

ByNotificationsCount orders the results by notifications count.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func BySubjectTemplate

func BySubjectTemplate(opts ...sql.OrderTermOption) OrderOption

BySubjectTemplate orders the results by the subject_template field.

func BySystemInternalID

func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned

func BySystemOwned(opts ...sql.OrderTermOption) OrderOption

BySystemOwned orders the results by the system_owned field.

func ByTitleTemplate

func ByTitleTemplate(opts ...sql.OrderTermOption) OrderOption

ByTitleTemplate orders the results by the title_template field.

func ByTopicPattern

func ByTopicPattern(opts ...sql.OrderTermOption) OrderOption

ByTopicPattern orders the results by the topic_pattern field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

func ByWorkflowDefinitionField

func ByWorkflowDefinitionField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowDefinitionField orders the results by workflow_definition field.

func ByWorkflowDefinitionID

func ByWorkflowDefinitionID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowDefinitionID orders the results by the workflow_definition_id field.

Jump to

Keyboard shortcuts

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