communicationinteraction

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the communicationinteraction type in the database.
	Label = "communication_interaction"
	// 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"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSourceAccountID holds the string denoting the source_account_id field in the database.
	FieldSourceAccountID = "source_account_id"
	// FieldProviderObjectID holds the string denoting the provider_object_id field in the database.
	FieldProviderObjectID = "provider_object_id"
	// FieldSourceVersion holds the string denoting the source_version field in the database.
	FieldSourceVersion = "source_version"
	// FieldInteractionType holds the string denoting the interaction_type field in the database.
	FieldInteractionType = "interaction_type"
	// FieldDirection holds the string denoting the direction field in the database.
	FieldDirection = "direction"
	// FieldSubject holds the string denoting the subject field in the database.
	FieldSubject = "subject"
	// FieldOccurredAt holds the string denoting the occurred_at field in the database.
	FieldOccurredAt = "occurred_at"
	// FieldReceivedAt holds the string denoting the received_at field in the database.
	FieldReceivedAt = "received_at"
	// FieldVisibility holds the string denoting the visibility field in the database.
	FieldVisibility = "visibility"
	// FieldDeleted holds the string denoting the deleted field in the database.
	FieldDeleted = "deleted"
	// FieldContentHash holds the string denoting the content_hash field in the database.
	FieldContentHash = "content_hash"
	// FieldMetadataJSON holds the string denoting the metadata_json field in the database.
	FieldMetadataJSON = "metadata_json"
	// EdgeWorkspace holds the string denoting the workspace edge name in mutations.
	EdgeWorkspace = "workspace"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeRelationship holds the string denoting the relationship edge name in mutations.
	EdgeRelationship = "relationship"
	// EdgeParticipants holds the string denoting the participants edge name in mutations.
	EdgeParticipants = "participants"
	// EdgeAttachments holds the string denoting the attachments edge name in mutations.
	EdgeAttachments = "attachments"
	// Table holds the table name of the communicationinteraction in the database.
	Table = "communication_interactions"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "communication_interactions"
	// WorkspaceInverseTable is the table name for the RevenueWorkspace entity.
	// It exists in this package in order to avoid circular dependency with the "revenueworkspace" package.
	WorkspaceInverseTable = "revenue_workspaces"
	// WorkspaceColumn is the table column denoting the workspace relation/edge.
	WorkspaceColumn = "revenue_workspace_id"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "communication_interactions"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "user_owned_communication_interactions"
	// RelationshipTable is the table that holds the relationship relation/edge.
	RelationshipTable = "communication_interactions"
	// RelationshipInverseTable is the table name for the Relationship entity.
	// It exists in this package in order to avoid circular dependency with the "relationship" package.
	RelationshipInverseTable = "relationships"
	// RelationshipColumn is the table column denoting the relationship relation/edge.
	RelationshipColumn = "relationship_id"
	// ParticipantsTable is the table that holds the participants relation/edge.
	ParticipantsTable = "communication_participants"
	// ParticipantsInverseTable is the table name for the CommunicationParticipant entity.
	// It exists in this package in order to avoid circular dependency with the "communicationparticipant" package.
	ParticipantsInverseTable = "communication_participants"
	// ParticipantsColumn is the table column denoting the participants relation/edge.
	ParticipantsColumn = "communication_interaction_id"
	// AttachmentsTable is the table that holds the attachments relation/edge.
	AttachmentsTable = "communication_attachments"
	// AttachmentsInverseTable is the table name for the CommunicationAttachment entity.
	// It exists in this package in order to avoid circular dependency with the "communicationattachment" package.
	AttachmentsInverseTable = "communication_attachments"
	// AttachmentsColumn is the table column denoting the attachments relation/edge.
	AttachmentsColumn = "communication_interaction_id"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	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
	// SourceValidator is a validator for the "source" field. It is called by the builders before save.
	SourceValidator func(string) error
	// SourceAccountIDValidator is a validator for the "source_account_id" field. It is called by the builders before save.
	SourceAccountIDValidator func(string) error
	// ProviderObjectIDValidator is a validator for the "provider_object_id" field. It is called by the builders before save.
	ProviderObjectIDValidator func(string) error
	// DefaultSourceVersion holds the default value on creation for the "source_version" field.
	DefaultSourceVersion string
	// InteractionTypeValidator is a validator for the "interaction_type" field. It is called by the builders before save.
	InteractionTypeValidator func(string) error
	// DirectionValidator is a validator for the "direction" field. It is called by the builders before save.
	DirectionValidator func(string) error
	// DefaultVisibility holds the default value on creation for the "visibility" field.
	DefaultVisibility string
	// VisibilityValidator is a validator for the "visibility" field. It is called by the builders before save.
	VisibilityValidator func(string) error
	// DefaultDeleted holds the default value on creation for the "deleted" field.
	DefaultDeleted bool
	// ContentHashValidator is a validator for the "content_hash" field. It is called by the builders before save.
	ContentHashValidator func(string) error
	// DefaultMetadataJSON holds the default value on creation for the "metadata_json" field.
	DefaultMetadataJSON string
	// MetadataJSONValidator is a validator for the "metadata_json" field. It is called by the builders before save.
	MetadataJSONValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for communicationinteraction fields.

View Source
var ForeignKeys = []string{
	"relationship_id",
	"revenue_workspace_id",
	"user_owned_communication_interactions",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "communication_interactions" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func ContentHash

ContentHash applies equality check predicate on the "content_hash" field. It's identical to ContentHashEQ.

func ContentHashContains

func ContentHashContains(v string) predicate.CommunicationInteraction

ContentHashContains applies the Contains predicate on the "content_hash" field.

func ContentHashContainsFold

func ContentHashContainsFold(v string) predicate.CommunicationInteraction

ContentHashContainsFold applies the ContainsFold predicate on the "content_hash" field.

func ContentHashEQ

func ContentHashEQ(v string) predicate.CommunicationInteraction

ContentHashEQ applies the EQ predicate on the "content_hash" field.

func ContentHashEqualFold

func ContentHashEqualFold(v string) predicate.CommunicationInteraction

ContentHashEqualFold applies the EqualFold predicate on the "content_hash" field.

func ContentHashGT

func ContentHashGT(v string) predicate.CommunicationInteraction

ContentHashGT applies the GT predicate on the "content_hash" field.

func ContentHashGTE

func ContentHashGTE(v string) predicate.CommunicationInteraction

ContentHashGTE applies the GTE predicate on the "content_hash" field.

func ContentHashHasPrefix

func ContentHashHasPrefix(v string) predicate.CommunicationInteraction

ContentHashHasPrefix applies the HasPrefix predicate on the "content_hash" field.

func ContentHashHasSuffix

func ContentHashHasSuffix(v string) predicate.CommunicationInteraction

ContentHashHasSuffix applies the HasSuffix predicate on the "content_hash" field.

func ContentHashIn

func ContentHashIn(vs ...string) predicate.CommunicationInteraction

ContentHashIn applies the In predicate on the "content_hash" field.

func ContentHashLT

func ContentHashLT(v string) predicate.CommunicationInteraction

ContentHashLT applies the LT predicate on the "content_hash" field.

func ContentHashLTE

func ContentHashLTE(v string) predicate.CommunicationInteraction

ContentHashLTE applies the LTE predicate on the "content_hash" field.

func ContentHashNEQ

func ContentHashNEQ(v string) predicate.CommunicationInteraction

ContentHashNEQ applies the NEQ predicate on the "content_hash" field.

func ContentHashNotIn

func ContentHashNotIn(vs ...string) predicate.CommunicationInteraction

ContentHashNotIn applies the NotIn predicate on the "content_hash" 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

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

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.CommunicationInteraction

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

func Deleted

Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.

func DeletedEQ

DeletedEQ applies the EQ predicate on the "deleted" field.

func DeletedNEQ

DeletedNEQ applies the NEQ predicate on the "deleted" field.

func Direction

Direction applies equality check predicate on the "direction" field. It's identical to DirectionEQ.

func DirectionContains

func DirectionContains(v string) predicate.CommunicationInteraction

DirectionContains applies the Contains predicate on the "direction" field.

func DirectionContainsFold

func DirectionContainsFold(v string) predicate.CommunicationInteraction

DirectionContainsFold applies the ContainsFold predicate on the "direction" field.

func DirectionEQ

DirectionEQ applies the EQ predicate on the "direction" field.

func DirectionEqualFold

func DirectionEqualFold(v string) predicate.CommunicationInteraction

DirectionEqualFold applies the EqualFold predicate on the "direction" field.

func DirectionGT

DirectionGT applies the GT predicate on the "direction" field.

func DirectionGTE

DirectionGTE applies the GTE predicate on the "direction" field.

func DirectionHasPrefix

func DirectionHasPrefix(v string) predicate.CommunicationInteraction

DirectionHasPrefix applies the HasPrefix predicate on the "direction" field.

func DirectionHasSuffix

func DirectionHasSuffix(v string) predicate.CommunicationInteraction

DirectionHasSuffix applies the HasSuffix predicate on the "direction" field.

func DirectionIn

func DirectionIn(vs ...string) predicate.CommunicationInteraction

DirectionIn applies the In predicate on the "direction" field.

func DirectionIsNil

func DirectionIsNil() predicate.CommunicationInteraction

DirectionIsNil applies the IsNil predicate on the "direction" field.

func DirectionLT

DirectionLT applies the LT predicate on the "direction" field.

func DirectionLTE

DirectionLTE applies the LTE predicate on the "direction" field.

func DirectionNEQ

DirectionNEQ applies the NEQ predicate on the "direction" field.

func DirectionNotIn

func DirectionNotIn(vs ...string) predicate.CommunicationInteraction

DirectionNotIn applies the NotIn predicate on the "direction" field.

func DirectionNotNil

func DirectionNotNil() predicate.CommunicationInteraction

DirectionNotNil applies the NotNil predicate on the "direction" field.

func HasAttachments

func HasAttachments() predicate.CommunicationInteraction

HasAttachments applies the HasEdge predicate on the "attachments" edge.

func HasAttachmentsWith

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

func HasOwner

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.CommunicationInteraction

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

func HasParticipants

func HasParticipants() predicate.CommunicationInteraction

HasParticipants applies the HasEdge predicate on the "participants" edge.

func HasParticipantsWith

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

func HasRelationship

func HasRelationship() predicate.CommunicationInteraction

HasRelationship applies the HasEdge predicate on the "relationship" edge.

func HasRelationshipWith

func HasRelationshipWith(preds ...predicate.Relationship) predicate.CommunicationInteraction

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

func HasWorkspace

func HasWorkspace() predicate.CommunicationInteraction

HasWorkspace applies the HasEdge predicate on the "workspace" edge.

func HasWorkspaceWith

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ 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 InteractionType

func InteractionType(v string) predicate.CommunicationInteraction

InteractionType applies equality check predicate on the "interaction_type" field. It's identical to InteractionTypeEQ.

func InteractionTypeContains

func InteractionTypeContains(v string) predicate.CommunicationInteraction

InteractionTypeContains applies the Contains predicate on the "interaction_type" field.

func InteractionTypeContainsFold

func InteractionTypeContainsFold(v string) predicate.CommunicationInteraction

InteractionTypeContainsFold applies the ContainsFold predicate on the "interaction_type" field.

func InteractionTypeEQ

func InteractionTypeEQ(v string) predicate.CommunicationInteraction

InteractionTypeEQ applies the EQ predicate on the "interaction_type" field.

func InteractionTypeEqualFold

func InteractionTypeEqualFold(v string) predicate.CommunicationInteraction

InteractionTypeEqualFold applies the EqualFold predicate on the "interaction_type" field.

func InteractionTypeGT

func InteractionTypeGT(v string) predicate.CommunicationInteraction

InteractionTypeGT applies the GT predicate on the "interaction_type" field.

func InteractionTypeGTE

func InteractionTypeGTE(v string) predicate.CommunicationInteraction

InteractionTypeGTE applies the GTE predicate on the "interaction_type" field.

func InteractionTypeHasPrefix

func InteractionTypeHasPrefix(v string) predicate.CommunicationInteraction

InteractionTypeHasPrefix applies the HasPrefix predicate on the "interaction_type" field.

func InteractionTypeHasSuffix

func InteractionTypeHasSuffix(v string) predicate.CommunicationInteraction

InteractionTypeHasSuffix applies the HasSuffix predicate on the "interaction_type" field.

func InteractionTypeIn

func InteractionTypeIn(vs ...string) predicate.CommunicationInteraction

InteractionTypeIn applies the In predicate on the "interaction_type" field.

func InteractionTypeLT

func InteractionTypeLT(v string) predicate.CommunicationInteraction

InteractionTypeLT applies the LT predicate on the "interaction_type" field.

func InteractionTypeLTE

func InteractionTypeLTE(v string) predicate.CommunicationInteraction

InteractionTypeLTE applies the LTE predicate on the "interaction_type" field.

func InteractionTypeNEQ

func InteractionTypeNEQ(v string) predicate.CommunicationInteraction

InteractionTypeNEQ applies the NEQ predicate on the "interaction_type" field.

func InteractionTypeNotIn

func InteractionTypeNotIn(vs ...string) predicate.CommunicationInteraction

InteractionTypeNotIn applies the NotIn predicate on the "interaction_type" field.

func MetadataJSON

MetadataJSON applies equality check predicate on the "metadata_json" field. It's identical to MetadataJSONEQ.

func MetadataJSONContains

func MetadataJSONContains(v string) predicate.CommunicationInteraction

MetadataJSONContains applies the Contains predicate on the "metadata_json" field.

func MetadataJSONContainsFold

func MetadataJSONContainsFold(v string) predicate.CommunicationInteraction

MetadataJSONContainsFold applies the ContainsFold predicate on the "metadata_json" field.

func MetadataJSONEQ

func MetadataJSONEQ(v string) predicate.CommunicationInteraction

MetadataJSONEQ applies the EQ predicate on the "metadata_json" field.

func MetadataJSONEqualFold

func MetadataJSONEqualFold(v string) predicate.CommunicationInteraction

MetadataJSONEqualFold applies the EqualFold predicate on the "metadata_json" field.

func MetadataJSONGT

func MetadataJSONGT(v string) predicate.CommunicationInteraction

MetadataJSONGT applies the GT predicate on the "metadata_json" field.

func MetadataJSONGTE

func MetadataJSONGTE(v string) predicate.CommunicationInteraction

MetadataJSONGTE applies the GTE predicate on the "metadata_json" field.

func MetadataJSONHasPrefix

func MetadataJSONHasPrefix(v string) predicate.CommunicationInteraction

MetadataJSONHasPrefix applies the HasPrefix predicate on the "metadata_json" field.

func MetadataJSONHasSuffix

func MetadataJSONHasSuffix(v string) predicate.CommunicationInteraction

MetadataJSONHasSuffix applies the HasSuffix predicate on the "metadata_json" field.

func MetadataJSONIn

func MetadataJSONIn(vs ...string) predicate.CommunicationInteraction

MetadataJSONIn applies the In predicate on the "metadata_json" field.

func MetadataJSONLT

func MetadataJSONLT(v string) predicate.CommunicationInteraction

MetadataJSONLT applies the LT predicate on the "metadata_json" field.

func MetadataJSONLTE

func MetadataJSONLTE(v string) predicate.CommunicationInteraction

MetadataJSONLTE applies the LTE predicate on the "metadata_json" field.

func MetadataJSONNEQ

func MetadataJSONNEQ(v string) predicate.CommunicationInteraction

MetadataJSONNEQ applies the NEQ predicate on the "metadata_json" field.

func MetadataJSONNotIn

func MetadataJSONNotIn(vs ...string) predicate.CommunicationInteraction

MetadataJSONNotIn applies the NotIn predicate on the "metadata_json" field.

func Not

Not applies the not operator on the given predicate.

func OccurredAt

OccurredAt applies equality check predicate on the "occurred_at" field. It's identical to OccurredAtEQ.

func OccurredAtEQ

OccurredAtEQ applies the EQ predicate on the "occurred_at" field.

func OccurredAtGT

OccurredAtGT applies the GT predicate on the "occurred_at" field.

func OccurredAtGTE

OccurredAtGTE applies the GTE predicate on the "occurred_at" field.

func OccurredAtIn

func OccurredAtIn(vs ...time.Time) predicate.CommunicationInteraction

OccurredAtIn applies the In predicate on the "occurred_at" field.

func OccurredAtLT

OccurredAtLT applies the LT predicate on the "occurred_at" field.

func OccurredAtLTE

OccurredAtLTE applies the LTE predicate on the "occurred_at" field.

func OccurredAtNEQ

OccurredAtNEQ applies the NEQ predicate on the "occurred_at" field.

func OccurredAtNotIn

func OccurredAtNotIn(vs ...time.Time) predicate.CommunicationInteraction

OccurredAtNotIn applies the NotIn predicate on the "occurred_at" field.

func Or

Or groups predicates with the OR operator between them.

func ProviderObjectID

func ProviderObjectID(v string) predicate.CommunicationInteraction

ProviderObjectID applies equality check predicate on the "provider_object_id" field. It's identical to ProviderObjectIDEQ.

func ProviderObjectIDContains

func ProviderObjectIDContains(v string) predicate.CommunicationInteraction

ProviderObjectIDContains applies the Contains predicate on the "provider_object_id" field.

func ProviderObjectIDContainsFold

func ProviderObjectIDContainsFold(v string) predicate.CommunicationInteraction

ProviderObjectIDContainsFold applies the ContainsFold predicate on the "provider_object_id" field.

func ProviderObjectIDEQ

func ProviderObjectIDEQ(v string) predicate.CommunicationInteraction

ProviderObjectIDEQ applies the EQ predicate on the "provider_object_id" field.

func ProviderObjectIDEqualFold

func ProviderObjectIDEqualFold(v string) predicate.CommunicationInteraction

ProviderObjectIDEqualFold applies the EqualFold predicate on the "provider_object_id" field.

func ProviderObjectIDGT

func ProviderObjectIDGT(v string) predicate.CommunicationInteraction

ProviderObjectIDGT applies the GT predicate on the "provider_object_id" field.

func ProviderObjectIDGTE

func ProviderObjectIDGTE(v string) predicate.CommunicationInteraction

ProviderObjectIDGTE applies the GTE predicate on the "provider_object_id" field.

func ProviderObjectIDHasPrefix

func ProviderObjectIDHasPrefix(v string) predicate.CommunicationInteraction

ProviderObjectIDHasPrefix applies the HasPrefix predicate on the "provider_object_id" field.

func ProviderObjectIDHasSuffix

func ProviderObjectIDHasSuffix(v string) predicate.CommunicationInteraction

ProviderObjectIDHasSuffix applies the HasSuffix predicate on the "provider_object_id" field.

func ProviderObjectIDIn

func ProviderObjectIDIn(vs ...string) predicate.CommunicationInteraction

ProviderObjectIDIn applies the In predicate on the "provider_object_id" field.

func ProviderObjectIDLT

func ProviderObjectIDLT(v string) predicate.CommunicationInteraction

ProviderObjectIDLT applies the LT predicate on the "provider_object_id" field.

func ProviderObjectIDLTE

func ProviderObjectIDLTE(v string) predicate.CommunicationInteraction

ProviderObjectIDLTE applies the LTE predicate on the "provider_object_id" field.

func ProviderObjectIDNEQ

func ProviderObjectIDNEQ(v string) predicate.CommunicationInteraction

ProviderObjectIDNEQ applies the NEQ predicate on the "provider_object_id" field.

func ProviderObjectIDNotIn

func ProviderObjectIDNotIn(vs ...string) predicate.CommunicationInteraction

ProviderObjectIDNotIn applies the NotIn predicate on the "provider_object_id" field.

func ReceivedAt

ReceivedAt applies equality check predicate on the "received_at" field. It's identical to ReceivedAtEQ.

func ReceivedAtEQ

ReceivedAtEQ applies the EQ predicate on the "received_at" field.

func ReceivedAtGT

ReceivedAtGT applies the GT predicate on the "received_at" field.

func ReceivedAtGTE

ReceivedAtGTE applies the GTE predicate on the "received_at" field.

func ReceivedAtIn

func ReceivedAtIn(vs ...time.Time) predicate.CommunicationInteraction

ReceivedAtIn applies the In predicate on the "received_at" field.

func ReceivedAtLT

ReceivedAtLT applies the LT predicate on the "received_at" field.

func ReceivedAtLTE

ReceivedAtLTE applies the LTE predicate on the "received_at" field.

func ReceivedAtNEQ

ReceivedAtNEQ applies the NEQ predicate on the "received_at" field.

func ReceivedAtNotIn

func ReceivedAtNotIn(vs ...time.Time) predicate.CommunicationInteraction

ReceivedAtNotIn applies the NotIn predicate on the "received_at" field.

func Source

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceAccountID

func SourceAccountID(v string) predicate.CommunicationInteraction

SourceAccountID applies equality check predicate on the "source_account_id" field. It's identical to SourceAccountIDEQ.

func SourceAccountIDContains

func SourceAccountIDContains(v string) predicate.CommunicationInteraction

SourceAccountIDContains applies the Contains predicate on the "source_account_id" field.

func SourceAccountIDContainsFold

func SourceAccountIDContainsFold(v string) predicate.CommunicationInteraction

SourceAccountIDContainsFold applies the ContainsFold predicate on the "source_account_id" field.

func SourceAccountIDEQ

func SourceAccountIDEQ(v string) predicate.CommunicationInteraction

SourceAccountIDEQ applies the EQ predicate on the "source_account_id" field.

func SourceAccountIDEqualFold

func SourceAccountIDEqualFold(v string) predicate.CommunicationInteraction

SourceAccountIDEqualFold applies the EqualFold predicate on the "source_account_id" field.

func SourceAccountIDGT

func SourceAccountIDGT(v string) predicate.CommunicationInteraction

SourceAccountIDGT applies the GT predicate on the "source_account_id" field.

func SourceAccountIDGTE

func SourceAccountIDGTE(v string) predicate.CommunicationInteraction

SourceAccountIDGTE applies the GTE predicate on the "source_account_id" field.

func SourceAccountIDHasPrefix

func SourceAccountIDHasPrefix(v string) predicate.CommunicationInteraction

SourceAccountIDHasPrefix applies the HasPrefix predicate on the "source_account_id" field.

func SourceAccountIDHasSuffix

func SourceAccountIDHasSuffix(v string) predicate.CommunicationInteraction

SourceAccountIDHasSuffix applies the HasSuffix predicate on the "source_account_id" field.

func SourceAccountIDIn

func SourceAccountIDIn(vs ...string) predicate.CommunicationInteraction

SourceAccountIDIn applies the In predicate on the "source_account_id" field.

func SourceAccountIDLT

func SourceAccountIDLT(v string) predicate.CommunicationInteraction

SourceAccountIDLT applies the LT predicate on the "source_account_id" field.

func SourceAccountIDLTE

func SourceAccountIDLTE(v string) predicate.CommunicationInteraction

SourceAccountIDLTE applies the LTE predicate on the "source_account_id" field.

func SourceAccountIDNEQ

func SourceAccountIDNEQ(v string) predicate.CommunicationInteraction

SourceAccountIDNEQ applies the NEQ predicate on the "source_account_id" field.

func SourceAccountIDNotIn

func SourceAccountIDNotIn(vs ...string) predicate.CommunicationInteraction

SourceAccountIDNotIn applies the NotIn predicate on the "source_account_id" field.

func SourceContains

func SourceContains(v string) predicate.CommunicationInteraction

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.CommunicationInteraction

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.CommunicationInteraction

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.CommunicationInteraction

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.CommunicationInteraction

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceLT

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.CommunicationInteraction

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceVersion

func SourceVersion(v string) predicate.CommunicationInteraction

SourceVersion applies equality check predicate on the "source_version" field. It's identical to SourceVersionEQ.

func SourceVersionContains

func SourceVersionContains(v string) predicate.CommunicationInteraction

SourceVersionContains applies the Contains predicate on the "source_version" field.

func SourceVersionContainsFold

func SourceVersionContainsFold(v string) predicate.CommunicationInteraction

SourceVersionContainsFold applies the ContainsFold predicate on the "source_version" field.

func SourceVersionEQ

func SourceVersionEQ(v string) predicate.CommunicationInteraction

SourceVersionEQ applies the EQ predicate on the "source_version" field.

func SourceVersionEqualFold

func SourceVersionEqualFold(v string) predicate.CommunicationInteraction

SourceVersionEqualFold applies the EqualFold predicate on the "source_version" field.

func SourceVersionGT

func SourceVersionGT(v string) predicate.CommunicationInteraction

SourceVersionGT applies the GT predicate on the "source_version" field.

func SourceVersionGTE

func SourceVersionGTE(v string) predicate.CommunicationInteraction

SourceVersionGTE applies the GTE predicate on the "source_version" field.

func SourceVersionHasPrefix

func SourceVersionHasPrefix(v string) predicate.CommunicationInteraction

SourceVersionHasPrefix applies the HasPrefix predicate on the "source_version" field.

func SourceVersionHasSuffix

func SourceVersionHasSuffix(v string) predicate.CommunicationInteraction

SourceVersionHasSuffix applies the HasSuffix predicate on the "source_version" field.

func SourceVersionIn

func SourceVersionIn(vs ...string) predicate.CommunicationInteraction

SourceVersionIn applies the In predicate on the "source_version" field.

func SourceVersionLT

func SourceVersionLT(v string) predicate.CommunicationInteraction

SourceVersionLT applies the LT predicate on the "source_version" field.

func SourceVersionLTE

func SourceVersionLTE(v string) predicate.CommunicationInteraction

SourceVersionLTE applies the LTE predicate on the "source_version" field.

func SourceVersionNEQ

func SourceVersionNEQ(v string) predicate.CommunicationInteraction

SourceVersionNEQ applies the NEQ predicate on the "source_version" field.

func SourceVersionNotIn

func SourceVersionNotIn(vs ...string) predicate.CommunicationInteraction

SourceVersionNotIn applies the NotIn predicate on the "source_version" field.

func Subject

Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.

func SubjectContains

func SubjectContains(v string) predicate.CommunicationInteraction

SubjectContains applies the Contains predicate on the "subject" field.

func SubjectContainsFold

func SubjectContainsFold(v string) predicate.CommunicationInteraction

SubjectContainsFold applies the ContainsFold predicate on the "subject" field.

func SubjectEQ

SubjectEQ applies the EQ predicate on the "subject" field.

func SubjectEqualFold

func SubjectEqualFold(v string) predicate.CommunicationInteraction

SubjectEqualFold applies the EqualFold predicate on the "subject" field.

func SubjectGT

SubjectGT applies the GT predicate on the "subject" field.

func SubjectGTE

SubjectGTE applies the GTE predicate on the "subject" field.

func SubjectHasPrefix

func SubjectHasPrefix(v string) predicate.CommunicationInteraction

SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.

func SubjectHasSuffix

func SubjectHasSuffix(v string) predicate.CommunicationInteraction

SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.

func SubjectIn

func SubjectIn(vs ...string) predicate.CommunicationInteraction

SubjectIn applies the In predicate on the "subject" field.

func SubjectIsNil

func SubjectIsNil() predicate.CommunicationInteraction

SubjectIsNil applies the IsNil predicate on the "subject" field.

func SubjectLT

SubjectLT applies the LT predicate on the "subject" field.

func SubjectLTE

SubjectLTE applies the LTE predicate on the "subject" field.

func SubjectNEQ

SubjectNEQ applies the NEQ predicate on the "subject" field.

func SubjectNotIn

func SubjectNotIn(vs ...string) predicate.CommunicationInteraction

SubjectNotIn applies the NotIn predicate on the "subject" field.

func SubjectNotNil

func SubjectNotNil() predicate.CommunicationInteraction

SubjectNotNil applies the NotNil predicate on the "subject" field.

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

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

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.CommunicationInteraction

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).

func Visibility

Visibility applies equality check predicate on the "visibility" field. It's identical to VisibilityEQ.

func VisibilityContains

func VisibilityContains(v string) predicate.CommunicationInteraction

VisibilityContains applies the Contains predicate on the "visibility" field.

func VisibilityContainsFold

func VisibilityContainsFold(v string) predicate.CommunicationInteraction

VisibilityContainsFold applies the ContainsFold predicate on the "visibility" field.

func VisibilityEQ

VisibilityEQ applies the EQ predicate on the "visibility" field.

func VisibilityEqualFold

func VisibilityEqualFold(v string) predicate.CommunicationInteraction

VisibilityEqualFold applies the EqualFold predicate on the "visibility" field.

func VisibilityGT

VisibilityGT applies the GT predicate on the "visibility" field.

func VisibilityGTE

func VisibilityGTE(v string) predicate.CommunicationInteraction

VisibilityGTE applies the GTE predicate on the "visibility" field.

func VisibilityHasPrefix

func VisibilityHasPrefix(v string) predicate.CommunicationInteraction

VisibilityHasPrefix applies the HasPrefix predicate on the "visibility" field.

func VisibilityHasSuffix

func VisibilityHasSuffix(v string) predicate.CommunicationInteraction

VisibilityHasSuffix applies the HasSuffix predicate on the "visibility" field.

func VisibilityIn

func VisibilityIn(vs ...string) predicate.CommunicationInteraction

VisibilityIn applies the In predicate on the "visibility" field.

func VisibilityLT

VisibilityLT applies the LT predicate on the "visibility" field.

func VisibilityLTE

func VisibilityLTE(v string) predicate.CommunicationInteraction

VisibilityLTE applies the LTE predicate on the "visibility" field.

func VisibilityNEQ

func VisibilityNEQ(v string) predicate.CommunicationInteraction

VisibilityNEQ applies the NEQ predicate on the "visibility" field.

func VisibilityNotIn

func VisibilityNotIn(vs ...string) predicate.CommunicationInteraction

VisibilityNotIn applies the NotIn predicate on the "visibility" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CommunicationInteraction queries.

func ByAttachments

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

ByAttachments orders the results by attachments terms.

func ByAttachmentsCount

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

ByAttachmentsCount orders the results by attachments count.

func ByContentHash

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

ByContentHash orders the results by the content_hash field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeleted

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

ByDeleted orders the results by the deleted field.

func ByDirection

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

ByDirection orders the results by the direction field.

func ByID

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

ByID orders the results by the id field.

func ByInteractionType

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

ByInteractionType orders the results by the interaction_type field.

func ByMetadataJSON

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

ByMetadataJSON orders the results by the metadata_json field.

func ByOccurredAt

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

ByOccurredAt orders the results by the occurred_at field.

func ByOwnerField

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

ByOwnerField orders the results by owner field.

func ByParticipants

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

ByParticipants orders the results by participants terms.

func ByParticipantsCount

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

ByParticipantsCount orders the results by participants count.

func ByProviderObjectID

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

ByProviderObjectID orders the results by the provider_object_id field.

func ByReceivedAt

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

ByReceivedAt orders the results by the received_at field.

func ByRelationshipField

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

ByRelationshipField orders the results by relationship field.

func BySource

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

BySource orders the results by the source field.

func BySourceAccountID

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

BySourceAccountID orders the results by the source_account_id field.

func BySourceVersion

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

BySourceVersion orders the results by the source_version field.

func BySubject

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

BySubject orders the results by the subject field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVisibility

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

ByVisibility orders the results by the visibility field.

func ByWorkspaceField

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

ByWorkspaceField orders the results by workspace field.

Jump to

Keyboard shortcuts

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