notificationeventdeliverystatus

package
v1.0.0-beta.174 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the notificationeventdeliverystatus type in the database.
	Label = "notification_event_delivery_status"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// 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"
	// FieldEventID holds the string denoting the event_id field in the database.
	FieldEventID = "event_id"
	// FieldChannelID holds the string denoting the channel_id field in the database.
	FieldChannelID = "channel_id"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// Table holds the table name of the notificationeventdeliverystatus in the database.
	Table = "notification_event_delivery_status"
	// EventsTable is the table that holds the events relation/edge. The primary key declared below.
	EventsTable = "notification_event_delivery_status_events"
	// EventsInverseTable is the table name for the NotificationEvent entity.
	// It exists in this package in order to avoid circular dependency with the "notificationevent" package.
	EventsInverseTable = "notification_events"
)
View Source
const DefaultState notification.EventDeliveryStatusState = "PENDING"

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// 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
	// EventIDValidator is a validator for the "event_id" field. It is called by the builders before save.
	EventIDValidator func(string) error
	// ChannelIDValidator is a validator for the "channel_id" field. It is called by the builders before save.
	ChannelIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for notificationeventdeliverystatus fields.

View Source
var (
	// EventsPrimaryKey and EventsColumn2 are the table columns denoting the
	// primary key for the events relation (M2M).
	EventsPrimaryKey = []string{"notification_event_delivery_status_id", "notification_event_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func ChannelID

ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.

func ChannelIDContains

ChannelIDContains applies the Contains predicate on the "channel_id" field.

func ChannelIDContainsFold

func ChannelIDContainsFold(v string) predicate.NotificationEventDeliveryStatus

ChannelIDContainsFold applies the ContainsFold predicate on the "channel_id" field.

func ChannelIDEQ

ChannelIDEQ applies the EQ predicate on the "channel_id" field.

func ChannelIDEqualFold

func ChannelIDEqualFold(v string) predicate.NotificationEventDeliveryStatus

ChannelIDEqualFold applies the EqualFold predicate on the "channel_id" field.

func ChannelIDGT

ChannelIDGT applies the GT predicate on the "channel_id" field.

func ChannelIDGTE

ChannelIDGTE applies the GTE predicate on the "channel_id" field.

func ChannelIDHasPrefix

func ChannelIDHasPrefix(v string) predicate.NotificationEventDeliveryStatus

ChannelIDHasPrefix applies the HasPrefix predicate on the "channel_id" field.

func ChannelIDHasSuffix

func ChannelIDHasSuffix(v string) predicate.NotificationEventDeliveryStatus

ChannelIDHasSuffix applies the HasSuffix predicate on the "channel_id" field.

func ChannelIDIn

ChannelIDIn applies the In predicate on the "channel_id" field.

func ChannelIDLT

ChannelIDLT applies the LT predicate on the "channel_id" field.

func ChannelIDLTE

ChannelIDLTE applies the LTE predicate on the "channel_id" field.

func ChannelIDNEQ

ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.

func ChannelIDNotIn

func ChannelIDNotIn(vs ...string) predicate.NotificationEventDeliveryStatus

ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func EventID

EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.

func EventIDContains

EventIDContains applies the Contains predicate on the "event_id" field.

func EventIDContainsFold

func EventIDContainsFold(v string) predicate.NotificationEventDeliveryStatus

EventIDContainsFold applies the ContainsFold predicate on the "event_id" field.

func EventIDEQ

EventIDEQ applies the EQ predicate on the "event_id" field.

func EventIDEqualFold

EventIDEqualFold applies the EqualFold predicate on the "event_id" field.

func EventIDGT

EventIDGT applies the GT predicate on the "event_id" field.

func EventIDGTE

EventIDGTE applies the GTE predicate on the "event_id" field.

func EventIDHasPrefix

EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field.

func EventIDHasSuffix

EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field.

func EventIDIn

EventIDIn applies the In predicate on the "event_id" field.

func EventIDLT

EventIDLT applies the LT predicate on the "event_id" field.

func EventIDLTE

EventIDLTE applies the LTE predicate on the "event_id" field.

func EventIDNEQ

EventIDNEQ applies the NEQ predicate on the "event_id" field.

func EventIDNotIn

EventIDNotIn applies the NotIn predicate on the "event_id" field.

func HasEvents

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

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

IDNotIn applies the NotIn predicate on the ID field.

func Namespace

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.NotificationEventDeliveryStatus

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.NotificationEventDeliveryStatus

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.NotificationEventDeliveryStatus

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.NotificationEventDeliveryStatus

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.NotificationEventDeliveryStatus

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Reason

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.NotificationEventDeliveryStatus

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

ReasonIn applies the In predicate on the "reason" field.

func ReasonIsNil

ReasonIsNil applies the IsNil predicate on the "reason" field.

func ReasonLT

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

ReasonNotIn applies the NotIn predicate on the "reason" field.

func ReasonNotNil

ReasonNotNil applies the NotNil predicate on the "reason" field.

func StateEQ

StateEQ applies the EQ predicate on the "state" field.

func StateIn

StateIn applies the In predicate on the "state" field.

func StateNEQ

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

StateNotIn applies the NotIn predicate on the "state" field.

func StateValidator

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

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NotificationEventDeliveryStatus queries.

func ByChannelID

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

ByChannelID orders the results by the channel_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEventID

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

ByEventID orders the results by the event_id field.

func ByEvents

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

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByID

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

ByID orders the results by the id field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByReason

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

ByReason orders the results by the reason field.

func ByState

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

ByState orders the results by the state field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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