Help us shape the future of Go! Take the 2026 Go Developer Survey

workspace

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workspace type in the database.
	Label = "workspace"
	// 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"
	// FieldDiscardedAt holds the string denoting the discarded_at field in the database.
	FieldDiscardedAt = "discarded_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldPublicID holds the string denoting the public_id field in the database.
	FieldPublicID = "public_id"
	// FieldCollectKey holds the string denoting the collect_key field in the database.
	FieldCollectKey = "collect_key"
	// FieldRequireConfirmedOptIn holds the string denoting the require_confirmed_opt_in field in the database.
	FieldRequireConfirmedOptIn = "require_confirmed_opt_in"
	// FieldPostalAddress holds the string denoting the postal_address field in the database.
	FieldPostalAddress = "postal_address"
	// FieldRetentionDays holds the string denoting the retention_days field in the database.
	FieldRetentionDays = "retention_days"
	// FieldTimezone holds the string denoting the timezone field in the database.
	FieldTimezone = "timezone"
	// FieldDomainJoinEnabled holds the string denoting the domain_join_enabled field in the database.
	FieldDomainJoinEnabled = "domain_join_enabled"
	// FieldSecondFactorRequiredAt holds the string denoting the second_factor_required_at field in the database.
	FieldSecondFactorRequiredAt = "second_factor_required_at"
	// FieldFeedPosition holds the string denoting the feed_position field in the database.
	FieldFeedPosition = "feed_position"
	// FieldErasedAt holds the string denoting the erased_at field in the database.
	FieldErasedAt = "erased_at"
	// FieldSuspendedAt holds the string denoting the suspended_at field in the database.
	FieldSuspendedAt = "suspended_at"
	// FieldSuspendedByKind holds the string denoting the suspended_by_kind field in the database.
	FieldSuspendedByKind = "suspended_by_kind"
	// FieldSuspendedByID holds the string denoting the suspended_by_id field in the database.
	FieldSuspendedByID = "suspended_by_id"
	// FieldSuspensionReason holds the string denoting the suspension_reason field in the database.
	FieldSuspensionReason = "suspension_reason"
	// FieldClearedAt holds the string denoting the cleared_at field in the database.
	FieldClearedAt = "cleared_at"
	// FieldAbuseExempt holds the string denoting the abuse_exempt field in the database.
	FieldAbuseExempt = "abuse_exempt"
	// FieldAbuseWarningNotifiedAt holds the string denoting the abuse_warning_notified_at field in the database.
	FieldAbuseWarningNotifiedAt = "abuse_warning_notified_at"
	// FieldAbuseFreezeNotifiedAt holds the string denoting the abuse_freeze_notified_at field in the database.
	FieldAbuseFreezeNotifiedAt = "abuse_freeze_notified_at"
	// EdgeContacts holds the string denoting the contacts edge name in mutations.
	EdgeContacts = "contacts"
	// EdgeCustomFields holds the string denoting the custom_fields edge name in mutations.
	EdgeCustomFields = "custom_fields"
	// EdgeTags holds the string denoting the tags edge name in mutations.
	EdgeTags = "tags"
	// EdgeSegments holds the string denoting the segments edge name in mutations.
	EdgeSegments = "segments"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeVisitors holds the string denoting the visitors edge name in mutations.
	EdgeVisitors = "visitors"
	// EdgeAPITokens holds the string denoting the api_tokens edge name in mutations.
	EdgeAPITokens = "api_tokens"
	// EdgeIntegrations holds the string denoting the integrations edge name in mutations.
	EdgeIntegrations = "integrations"
	// EdgeSendingDomains holds the string denoting the sending_domains edge name in mutations.
	EdgeSendingDomains = "sending_domains"
	// EdgeJoinDomains holds the string denoting the join_domains edge name in mutations.
	EdgeJoinDomains = "join_domains"
	// EdgeSendLimiters holds the string denoting the send_limiters edge name in mutations.
	EdgeSendLimiters = "send_limiters"
	// EdgeHolds holds the string denoting the holds edge name in mutations.
	EdgeHolds = "holds"
	// EdgeBroadcasts holds the string denoting the broadcasts edge name in mutations.
	EdgeBroadcasts = "broadcasts"
	// EdgeBroadcastRecipients holds the string denoting the broadcast_recipients edge name in mutations.
	EdgeBroadcastRecipients = "broadcast_recipients"
	// EdgeEmailTemplates holds the string denoting the email_templates edge name in mutations.
	EdgeEmailTemplates = "email_templates"
	// EdgeBrandKits holds the string denoting the brand_kits edge name in mutations.
	EdgeBrandKits = "brand_kits"
	// EdgeAutomations holds the string denoting the automations edge name in mutations.
	EdgeAutomations = "automations"
	// EdgeAutomationVersions holds the string denoting the automation_versions edge name in mutations.
	EdgeAutomationVersions = "automation_versions"
	// EdgeAutomationRuns holds the string denoting the automation_runs edge name in mutations.
	EdgeAutomationRuns = "automation_runs"
	// EdgeRules holds the string denoting the rules edge name in mutations.
	EdgeRules = "rules"
	// EdgeRuleTriggers holds the string denoting the rule_triggers edge name in mutations.
	EdgeRuleTriggers = "rule_triggers"
	// EdgeRuleFirings holds the string denoting the rule_firings edge name in mutations.
	EdgeRuleFirings = "rule_firings"
	// EdgeWebhookEndpoints holds the string denoting the webhook_endpoints edge name in mutations.
	EdgeWebhookEndpoints = "webhook_endpoints"
	// EdgeSuppressions holds the string denoting the suppressions edge name in mutations.
	EdgeSuppressions = "suppressions"
	// EdgeUnsubscribes holds the string denoting the unsubscribes edge name in mutations.
	EdgeUnsubscribes = "unsubscribes"
	// EdgeConfirmations holds the string denoting the confirmations edge name in mutations.
	EdgeConfirmations = "confirmations"
	// EdgeOutboundMessages holds the string denoting the outbound_messages edge name in mutations.
	EdgeOutboundMessages = "outbound_messages"
	// EdgeMemberships holds the string denoting the memberships edge name in mutations.
	EdgeMemberships = "memberships"
	// EdgeInvitations holds the string denoting the invitations edge name in mutations.
	EdgeInvitations = "invitations"
	// EdgeAuditEntries holds the string denoting the audit_entries edge name in mutations.
	EdgeAuditEntries = "audit_entries"
	// EdgeErasures holds the string denoting the erasures edge name in mutations.
	EdgeErasures = "erasures"
	// EdgeUsages holds the string denoting the usages edge name in mutations.
	EdgeUsages = "usages"
	// Table holds the table name of the workspace in the database.
	Table = "workspaces"
	// ContactsTable is the table that holds the contacts relation/edge.
	ContactsTable = "contacts"
	// ContactsInverseTable is the table name for the Contact entity.
	// It exists in this package in order to avoid circular dependency with the "contact" package.
	ContactsInverseTable = "contacts"
	// ContactsColumn is the table column denoting the contacts relation/edge.
	ContactsColumn = "workspace_id"
	// CustomFieldsTable is the table that holds the custom_fields relation/edge.
	CustomFieldsTable = "custom_fields"
	// CustomFieldsInverseTable is the table name for the CustomField entity.
	// It exists in this package in order to avoid circular dependency with the "customfield" package.
	CustomFieldsInverseTable = "custom_fields"
	// CustomFieldsColumn is the table column denoting the custom_fields relation/edge.
	CustomFieldsColumn = "workspace_id"
	// TagsTable is the table that holds the tags relation/edge.
	TagsTable = "tags"
	// TagsInverseTable is the table name for the Tag entity.
	// It exists in this package in order to avoid circular dependency with the "tag" package.
	TagsInverseTable = "tags"
	// TagsColumn is the table column denoting the tags relation/edge.
	TagsColumn = "workspace_id"
	// SegmentsTable is the table that holds the segments relation/edge.
	SegmentsTable = "segments"
	// SegmentsInverseTable is the table name for the Segment entity.
	// It exists in this package in order to avoid circular dependency with the "segment" package.
	SegmentsInverseTable = "segments"
	// SegmentsColumn is the table column denoting the segments relation/edge.
	SegmentsColumn = "workspace_id"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "workspace_id"
	// VisitorsTable is the table that holds the visitors relation/edge.
	VisitorsTable = "visitors"
	// VisitorsInverseTable is the table name for the Visitor entity.
	// It exists in this package in order to avoid circular dependency with the "visitor" package.
	VisitorsInverseTable = "visitors"
	// VisitorsColumn is the table column denoting the visitors relation/edge.
	VisitorsColumn = "workspace_id"
	// APITokensTable is the table that holds the api_tokens relation/edge.
	APITokensTable = "api_tokens"
	// APITokensInverseTable is the table name for the ApiToken entity.
	// It exists in this package in order to avoid circular dependency with the "apitoken" package.
	APITokensInverseTable = "api_tokens"
	// APITokensColumn is the table column denoting the api_tokens relation/edge.
	APITokensColumn = "workspace_id"
	// IntegrationsTable is the table that holds the integrations relation/edge.
	IntegrationsTable = "integrations"
	// IntegrationsInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationsInverseTable = "integrations"
	// IntegrationsColumn is the table column denoting the integrations relation/edge.
	IntegrationsColumn = "workspace_id"
	// SendingDomainsTable is the table that holds the sending_domains relation/edge.
	SendingDomainsTable = "sending_domains"
	// SendingDomainsInverseTable is the table name for the SendingDomain entity.
	// It exists in this package in order to avoid circular dependency with the "sendingdomain" package.
	SendingDomainsInverseTable = "sending_domains"
	// SendingDomainsColumn is the table column denoting the sending_domains relation/edge.
	SendingDomainsColumn = "workspace_id"
	// JoinDomainsTable is the table that holds the join_domains relation/edge.
	JoinDomainsTable = "join_domains"
	// JoinDomainsInverseTable is the table name for the JoinDomain entity.
	// It exists in this package in order to avoid circular dependency with the "joindomain" package.
	JoinDomainsInverseTable = "join_domains"
	// JoinDomainsColumn is the table column denoting the join_domains relation/edge.
	JoinDomainsColumn = "workspace_id"
	// SendLimitersTable is the table that holds the send_limiters relation/edge.
	SendLimitersTable = "send_limiters"
	// SendLimitersInverseTable is the table name for the SendLimiter entity.
	// It exists in this package in order to avoid circular dependency with the "sendlimiter" package.
	SendLimitersInverseTable = "send_limiters"
	// SendLimitersColumn is the table column denoting the send_limiters relation/edge.
	SendLimitersColumn = "workspace_id"
	// HoldsTable is the table that holds the holds relation/edge.
	HoldsTable = "holds"
	// HoldsInverseTable is the table name for the Hold entity.
	// It exists in this package in order to avoid circular dependency with the "hold" package.
	HoldsInverseTable = "holds"
	// HoldsColumn is the table column denoting the holds relation/edge.
	HoldsColumn = "workspace_id"
	// BroadcastsTable is the table that holds the broadcasts relation/edge.
	BroadcastsTable = "broadcasts"
	// BroadcastsInverseTable is the table name for the Broadcast entity.
	// It exists in this package in order to avoid circular dependency with the "broadcast" package.
	BroadcastsInverseTable = "broadcasts"
	// BroadcastsColumn is the table column denoting the broadcasts relation/edge.
	BroadcastsColumn = "workspace_id"
	// BroadcastRecipientsTable is the table that holds the broadcast_recipients relation/edge.
	BroadcastRecipientsTable = "broadcast_recipients"
	// BroadcastRecipientsInverseTable is the table name for the BroadcastRecipient entity.
	// It exists in this package in order to avoid circular dependency with the "broadcastrecipient" package.
	BroadcastRecipientsInverseTable = "broadcast_recipients"
	// BroadcastRecipientsColumn is the table column denoting the broadcast_recipients relation/edge.
	BroadcastRecipientsColumn = "workspace_id"
	// EmailTemplatesTable is the table that holds the email_templates relation/edge.
	EmailTemplatesTable = "email_templates"
	// EmailTemplatesInverseTable is the table name for the EmailTemplate entity.
	// It exists in this package in order to avoid circular dependency with the "emailtemplate" package.
	EmailTemplatesInverseTable = "email_templates"
	// EmailTemplatesColumn is the table column denoting the email_templates relation/edge.
	EmailTemplatesColumn = "workspace_id"
	// BrandKitsTable is the table that holds the brand_kits relation/edge.
	BrandKitsTable = "brand_kits"
	// BrandKitsInverseTable is the table name for the BrandKit entity.
	// It exists in this package in order to avoid circular dependency with the "brandkit" package.
	BrandKitsInverseTable = "brand_kits"
	// BrandKitsColumn is the table column denoting the brand_kits relation/edge.
	BrandKitsColumn = "workspace_id"
	// AutomationsTable is the table that holds the automations relation/edge.
	AutomationsTable = "automations"
	// AutomationsInverseTable is the table name for the Automation entity.
	// It exists in this package in order to avoid circular dependency with the "automation" package.
	AutomationsInverseTable = "automations"
	// AutomationsColumn is the table column denoting the automations relation/edge.
	AutomationsColumn = "workspace_id"
	// AutomationVersionsTable is the table that holds the automation_versions relation/edge.
	AutomationVersionsTable = "automation_versions"
	// AutomationVersionsInverseTable is the table name for the AutomationVersion entity.
	// It exists in this package in order to avoid circular dependency with the "automationversion" package.
	AutomationVersionsInverseTable = "automation_versions"
	// AutomationVersionsColumn is the table column denoting the automation_versions relation/edge.
	AutomationVersionsColumn = "workspace_id"
	// AutomationRunsTable is the table that holds the automation_runs relation/edge.
	AutomationRunsTable = "automation_runs"
	// AutomationRunsInverseTable is the table name for the AutomationRun entity.
	// It exists in this package in order to avoid circular dependency with the "automationrun" package.
	AutomationRunsInverseTable = "automation_runs"
	// AutomationRunsColumn is the table column denoting the automation_runs relation/edge.
	AutomationRunsColumn = "workspace_id"
	// RulesTable is the table that holds the rules relation/edge.
	RulesTable = "rules"
	// RulesInverseTable is the table name for the Rule entity.
	// It exists in this package in order to avoid circular dependency with the "rule" package.
	RulesInverseTable = "rules"
	// RulesColumn is the table column denoting the rules relation/edge.
	RulesColumn = "workspace_id"
	// RuleTriggersTable is the table that holds the rule_triggers relation/edge.
	RuleTriggersTable = "rule_triggers"
	// RuleTriggersInverseTable is the table name for the RuleTrigger entity.
	// It exists in this package in order to avoid circular dependency with the "ruletrigger" package.
	RuleTriggersInverseTable = "rule_triggers"
	// RuleTriggersColumn is the table column denoting the rule_triggers relation/edge.
	RuleTriggersColumn = "workspace_id"
	// RuleFiringsTable is the table that holds the rule_firings relation/edge.
	RuleFiringsTable = "rule_firings"
	// RuleFiringsInverseTable is the table name for the RuleFiring entity.
	// It exists in this package in order to avoid circular dependency with the "rulefiring" package.
	RuleFiringsInverseTable = "rule_firings"
	// RuleFiringsColumn is the table column denoting the rule_firings relation/edge.
	RuleFiringsColumn = "workspace_id"
	// WebhookEndpointsTable is the table that holds the webhook_endpoints relation/edge.
	WebhookEndpointsTable = "webhook_endpoints"
	// WebhookEndpointsInverseTable is the table name for the WebhookEndpoint entity.
	// It exists in this package in order to avoid circular dependency with the "webhookendpoint" package.
	WebhookEndpointsInverseTable = "webhook_endpoints"
	// WebhookEndpointsColumn is the table column denoting the webhook_endpoints relation/edge.
	WebhookEndpointsColumn = "workspace_id"
	// SuppressionsTable is the table that holds the suppressions relation/edge.
	SuppressionsTable = "suppressions"
	// SuppressionsInverseTable is the table name for the Suppression entity.
	// It exists in this package in order to avoid circular dependency with the "suppression" package.
	SuppressionsInverseTable = "suppressions"
	// SuppressionsColumn is the table column denoting the suppressions relation/edge.
	SuppressionsColumn = "workspace_id"
	// UnsubscribesTable is the table that holds the unsubscribes relation/edge.
	UnsubscribesTable = "unsubscribes"
	// UnsubscribesInverseTable is the table name for the Unsubscribe entity.
	// It exists in this package in order to avoid circular dependency with the "unsubscribe" package.
	UnsubscribesInverseTable = "unsubscribes"
	// UnsubscribesColumn is the table column denoting the unsubscribes relation/edge.
	UnsubscribesColumn = "workspace_id"
	// ConfirmationsTable is the table that holds the confirmations relation/edge.
	ConfirmationsTable = "confirmations"
	// ConfirmationsInverseTable is the table name for the Confirmation entity.
	// It exists in this package in order to avoid circular dependency with the "confirmation" package.
	ConfirmationsInverseTable = "confirmations"
	// ConfirmationsColumn is the table column denoting the confirmations relation/edge.
	ConfirmationsColumn = "workspace_id"
	// OutboundMessagesTable is the table that holds the outbound_messages relation/edge.
	OutboundMessagesTable = "outbound_messages"
	// OutboundMessagesInverseTable is the table name for the OutboundMessage entity.
	// It exists in this package in order to avoid circular dependency with the "outboundmessage" package.
	OutboundMessagesInverseTable = "outbound_messages"
	// OutboundMessagesColumn is the table column denoting the outbound_messages relation/edge.
	OutboundMessagesColumn = "workspace_id"
	// MembershipsTable is the table that holds the memberships relation/edge.
	MembershipsTable = "memberships"
	// MembershipsInverseTable is the table name for the Membership entity.
	// It exists in this package in order to avoid circular dependency with the "membership" package.
	MembershipsInverseTable = "memberships"
	// MembershipsColumn is the table column denoting the memberships relation/edge.
	MembershipsColumn = "workspace_id"
	// InvitationsTable is the table that holds the invitations relation/edge.
	InvitationsTable = "invitations"
	// InvitationsInverseTable is the table name for the Invitation entity.
	// It exists in this package in order to avoid circular dependency with the "invitation" package.
	InvitationsInverseTable = "invitations"
	// InvitationsColumn is the table column denoting the invitations relation/edge.
	InvitationsColumn = "workspace_id"
	// AuditEntriesTable is the table that holds the audit_entries relation/edge.
	AuditEntriesTable = "audit_entries"
	// AuditEntriesInverseTable is the table name for the AuditEntry entity.
	// It exists in this package in order to avoid circular dependency with the "auditentry" package.
	AuditEntriesInverseTable = "audit_entries"
	// AuditEntriesColumn is the table column denoting the audit_entries relation/edge.
	AuditEntriesColumn = "workspace_id"
	// ErasuresTable is the table that holds the erasures relation/edge.
	ErasuresTable = "erasures"
	// ErasuresInverseTable is the table name for the Erasure entity.
	// It exists in this package in order to avoid circular dependency with the "erasure" package.
	ErasuresInverseTable = "erasures"
	// ErasuresColumn is the table column denoting the erasures relation/edge.
	ErasuresColumn = "workspace_id"
	// UsagesTable is the table that holds the usages relation/edge.
	UsagesTable = "usages"
	// UsagesInverseTable is the table name for the Usage entity.
	// It exists in this package in order to avoid circular dependency with the "usage" package.
	UsagesInverseTable = "usages"
	// UsagesColumn is the table column denoting the usages relation/edge.
	UsagesColumn = "workspace_id"
)

Variables

View Source
var (
	// 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
	// PublicIDValidator is a validator for the "public_id" field. It is called by the builders before save.
	PublicIDValidator func(string) error
	// CollectKeyValidator is a validator for the "collect_key" field. It is called by the builders before save.
	CollectKeyValidator func(string) error
	// DefaultRequireConfirmedOptIn holds the default value on creation for the "require_confirmed_opt_in" field.
	DefaultRequireConfirmedOptIn bool
	// DefaultPostalAddress holds the default value on creation for the "postal_address" field.
	DefaultPostalAddress string
	// RetentionDaysValidator is a validator for the "retention_days" field. It is called by the builders before save.
	RetentionDaysValidator func(int) error
	// TimezoneValidator is a validator for the "timezone" field. It is called by the builders before save.
	TimezoneValidator func(string) error
	// DefaultDomainJoinEnabled holds the default value on creation for the "domain_join_enabled" field.
	DefaultDomainJoinEnabled bool
	// DefaultFeedPosition holds the default value on creation for the "feed_position" field.
	DefaultFeedPosition int64
	// DefaultAbuseExempt holds the default value on creation for the "abuse_exempt" field.
	DefaultAbuseExempt bool
)

Columns holds all SQL columns for workspace fields.

Functions

func AbuseExempt

func AbuseExempt(v bool) predicate.Workspace

AbuseExempt applies equality check predicate on the "abuse_exempt" field. It's identical to AbuseExemptEQ.

func AbuseExemptEQ

func AbuseExemptEQ(v bool) predicate.Workspace

AbuseExemptEQ applies the EQ predicate on the "abuse_exempt" field.

func AbuseExemptNEQ

func AbuseExemptNEQ(v bool) predicate.Workspace

AbuseExemptNEQ applies the NEQ predicate on the "abuse_exempt" field.

func AbuseFreezeNotifiedAt

func AbuseFreezeNotifiedAt(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAt applies equality check predicate on the "abuse_freeze_notified_at" field. It's identical to AbuseFreezeNotifiedAtEQ.

func AbuseFreezeNotifiedAtEQ

func AbuseFreezeNotifiedAtEQ(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtEQ applies the EQ predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtGT

func AbuseFreezeNotifiedAtGT(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtGT applies the GT predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtGTE

func AbuseFreezeNotifiedAtGTE(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtGTE applies the GTE predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtIn

func AbuseFreezeNotifiedAtIn(vs ...time.Time) predicate.Workspace

AbuseFreezeNotifiedAtIn applies the In predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtIsNil

func AbuseFreezeNotifiedAtIsNil() predicate.Workspace

AbuseFreezeNotifiedAtIsNil applies the IsNil predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtLT

func AbuseFreezeNotifiedAtLT(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtLT applies the LT predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtLTE

func AbuseFreezeNotifiedAtLTE(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtLTE applies the LTE predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtNEQ

func AbuseFreezeNotifiedAtNEQ(v time.Time) predicate.Workspace

AbuseFreezeNotifiedAtNEQ applies the NEQ predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtNotIn

func AbuseFreezeNotifiedAtNotIn(vs ...time.Time) predicate.Workspace

AbuseFreezeNotifiedAtNotIn applies the NotIn predicate on the "abuse_freeze_notified_at" field.

func AbuseFreezeNotifiedAtNotNil

func AbuseFreezeNotifiedAtNotNil() predicate.Workspace

AbuseFreezeNotifiedAtNotNil applies the NotNil predicate on the "abuse_freeze_notified_at" field.

func AbuseWarningNotifiedAt

func AbuseWarningNotifiedAt(v time.Time) predicate.Workspace

AbuseWarningNotifiedAt applies equality check predicate on the "abuse_warning_notified_at" field. It's identical to AbuseWarningNotifiedAtEQ.

func AbuseWarningNotifiedAtEQ

func AbuseWarningNotifiedAtEQ(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtEQ applies the EQ predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtGT

func AbuseWarningNotifiedAtGT(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtGT applies the GT predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtGTE

func AbuseWarningNotifiedAtGTE(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtGTE applies the GTE predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtIn

func AbuseWarningNotifiedAtIn(vs ...time.Time) predicate.Workspace

AbuseWarningNotifiedAtIn applies the In predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtIsNil

func AbuseWarningNotifiedAtIsNil() predicate.Workspace

AbuseWarningNotifiedAtIsNil applies the IsNil predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtLT

func AbuseWarningNotifiedAtLT(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtLT applies the LT predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtLTE

func AbuseWarningNotifiedAtLTE(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtLTE applies the LTE predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtNEQ

func AbuseWarningNotifiedAtNEQ(v time.Time) predicate.Workspace

AbuseWarningNotifiedAtNEQ applies the NEQ predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtNotIn

func AbuseWarningNotifiedAtNotIn(vs ...time.Time) predicate.Workspace

AbuseWarningNotifiedAtNotIn applies the NotIn predicate on the "abuse_warning_notified_at" field.

func AbuseWarningNotifiedAtNotNil

func AbuseWarningNotifiedAtNotNil() predicate.Workspace

AbuseWarningNotifiedAtNotNil applies the NotNil predicate on the "abuse_warning_notified_at" field.

func And

func And(predicates ...predicate.Workspace) predicate.Workspace

And groups predicates with the AND operator between them.

func ClearedAt

func ClearedAt(v time.Time) predicate.Workspace

ClearedAt applies equality check predicate on the "cleared_at" field. It's identical to ClearedAtEQ.

func ClearedAtEQ

func ClearedAtEQ(v time.Time) predicate.Workspace

ClearedAtEQ applies the EQ predicate on the "cleared_at" field.

func ClearedAtGT

func ClearedAtGT(v time.Time) predicate.Workspace

ClearedAtGT applies the GT predicate on the "cleared_at" field.

func ClearedAtGTE

func ClearedAtGTE(v time.Time) predicate.Workspace

ClearedAtGTE applies the GTE predicate on the "cleared_at" field.

func ClearedAtIn

func ClearedAtIn(vs ...time.Time) predicate.Workspace

ClearedAtIn applies the In predicate on the "cleared_at" field.

func ClearedAtIsNil

func ClearedAtIsNil() predicate.Workspace

ClearedAtIsNil applies the IsNil predicate on the "cleared_at" field.

func ClearedAtLT

func ClearedAtLT(v time.Time) predicate.Workspace

ClearedAtLT applies the LT predicate on the "cleared_at" field.

func ClearedAtLTE

func ClearedAtLTE(v time.Time) predicate.Workspace

ClearedAtLTE applies the LTE predicate on the "cleared_at" field.

func ClearedAtNEQ

func ClearedAtNEQ(v time.Time) predicate.Workspace

ClearedAtNEQ applies the NEQ predicate on the "cleared_at" field.

func ClearedAtNotIn

func ClearedAtNotIn(vs ...time.Time) predicate.Workspace

ClearedAtNotIn applies the NotIn predicate on the "cleared_at" field.

func ClearedAtNotNil

func ClearedAtNotNil() predicate.Workspace

ClearedAtNotNil applies the NotNil predicate on the "cleared_at" field.

func CollectKey

func CollectKey(v string) predicate.Workspace

CollectKey applies equality check predicate on the "collect_key" field. It's identical to CollectKeyEQ.

func CollectKeyContains

func CollectKeyContains(v string) predicate.Workspace

CollectKeyContains applies the Contains predicate on the "collect_key" field.

func CollectKeyContainsFold

func CollectKeyContainsFold(v string) predicate.Workspace

CollectKeyContainsFold applies the ContainsFold predicate on the "collect_key" field.

func CollectKeyEQ

func CollectKeyEQ(v string) predicate.Workspace

CollectKeyEQ applies the EQ predicate on the "collect_key" field.

func CollectKeyEqualFold

func CollectKeyEqualFold(v string) predicate.Workspace

CollectKeyEqualFold applies the EqualFold predicate on the "collect_key" field.

func CollectKeyGT

func CollectKeyGT(v string) predicate.Workspace

CollectKeyGT applies the GT predicate on the "collect_key" field.

func CollectKeyGTE

func CollectKeyGTE(v string) predicate.Workspace

CollectKeyGTE applies the GTE predicate on the "collect_key" field.

func CollectKeyHasPrefix

func CollectKeyHasPrefix(v string) predicate.Workspace

CollectKeyHasPrefix applies the HasPrefix predicate on the "collect_key" field.

func CollectKeyHasSuffix

func CollectKeyHasSuffix(v string) predicate.Workspace

CollectKeyHasSuffix applies the HasSuffix predicate on the "collect_key" field.

func CollectKeyIn

func CollectKeyIn(vs ...string) predicate.Workspace

CollectKeyIn applies the In predicate on the "collect_key" field.

func CollectKeyLT

func CollectKeyLT(v string) predicate.Workspace

CollectKeyLT applies the LT predicate on the "collect_key" field.

func CollectKeyLTE

func CollectKeyLTE(v string) predicate.Workspace

CollectKeyLTE applies the LTE predicate on the "collect_key" field.

func CollectKeyNEQ

func CollectKeyNEQ(v string) predicate.Workspace

CollectKeyNEQ applies the NEQ predicate on the "collect_key" field.

func CollectKeyNotIn

func CollectKeyNotIn(vs ...string) predicate.Workspace

CollectKeyNotIn applies the NotIn predicate on the "collect_key" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Workspace

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Workspace

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Workspace

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Workspace

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Workspace

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Workspace

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Workspace

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

func CreatedAtNotIn

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

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

func DiscardedAt

func DiscardedAt(v time.Time) predicate.Workspace

DiscardedAt applies equality check predicate on the "discarded_at" field. It's identical to DiscardedAtEQ.

func DiscardedAtEQ

func DiscardedAtEQ(v time.Time) predicate.Workspace

DiscardedAtEQ applies the EQ predicate on the "discarded_at" field.

func DiscardedAtGT

func DiscardedAtGT(v time.Time) predicate.Workspace

DiscardedAtGT applies the GT predicate on the "discarded_at" field.

func DiscardedAtGTE

func DiscardedAtGTE(v time.Time) predicate.Workspace

DiscardedAtGTE applies the GTE predicate on the "discarded_at" field.

func DiscardedAtIn

func DiscardedAtIn(vs ...time.Time) predicate.Workspace

DiscardedAtIn applies the In predicate on the "discarded_at" field.

func DiscardedAtIsNil

func DiscardedAtIsNil() predicate.Workspace

DiscardedAtIsNil applies the IsNil predicate on the "discarded_at" field.

func DiscardedAtLT

func DiscardedAtLT(v time.Time) predicate.Workspace

DiscardedAtLT applies the LT predicate on the "discarded_at" field.

func DiscardedAtLTE

func DiscardedAtLTE(v time.Time) predicate.Workspace

DiscardedAtLTE applies the LTE predicate on the "discarded_at" field.

func DiscardedAtNEQ

func DiscardedAtNEQ(v time.Time) predicate.Workspace

DiscardedAtNEQ applies the NEQ predicate on the "discarded_at" field.

func DiscardedAtNotIn

func DiscardedAtNotIn(vs ...time.Time) predicate.Workspace

DiscardedAtNotIn applies the NotIn predicate on the "discarded_at" field.

func DiscardedAtNotNil

func DiscardedAtNotNil() predicate.Workspace

DiscardedAtNotNil applies the NotNil predicate on the "discarded_at" field.

func DomainJoinEnabled

func DomainJoinEnabled(v bool) predicate.Workspace

DomainJoinEnabled applies equality check predicate on the "domain_join_enabled" field. It's identical to DomainJoinEnabledEQ.

func DomainJoinEnabledEQ

func DomainJoinEnabledEQ(v bool) predicate.Workspace

DomainJoinEnabledEQ applies the EQ predicate on the "domain_join_enabled" field.

func DomainJoinEnabledNEQ

func DomainJoinEnabledNEQ(v bool) predicate.Workspace

DomainJoinEnabledNEQ applies the NEQ predicate on the "domain_join_enabled" field.

func ErasedAt

func ErasedAt(v time.Time) predicate.Workspace

ErasedAt applies equality check predicate on the "erased_at" field. It's identical to ErasedAtEQ.

func ErasedAtEQ

func ErasedAtEQ(v time.Time) predicate.Workspace

ErasedAtEQ applies the EQ predicate on the "erased_at" field.

func ErasedAtGT

func ErasedAtGT(v time.Time) predicate.Workspace

ErasedAtGT applies the GT predicate on the "erased_at" field.

func ErasedAtGTE

func ErasedAtGTE(v time.Time) predicate.Workspace

ErasedAtGTE applies the GTE predicate on the "erased_at" field.

func ErasedAtIn

func ErasedAtIn(vs ...time.Time) predicate.Workspace

ErasedAtIn applies the In predicate on the "erased_at" field.

func ErasedAtIsNil

func ErasedAtIsNil() predicate.Workspace

ErasedAtIsNil applies the IsNil predicate on the "erased_at" field.

func ErasedAtLT

func ErasedAtLT(v time.Time) predicate.Workspace

ErasedAtLT applies the LT predicate on the "erased_at" field.

func ErasedAtLTE

func ErasedAtLTE(v time.Time) predicate.Workspace

ErasedAtLTE applies the LTE predicate on the "erased_at" field.

func ErasedAtNEQ

func ErasedAtNEQ(v time.Time) predicate.Workspace

ErasedAtNEQ applies the NEQ predicate on the "erased_at" field.

func ErasedAtNotIn

func ErasedAtNotIn(vs ...time.Time) predicate.Workspace

ErasedAtNotIn applies the NotIn predicate on the "erased_at" field.

func ErasedAtNotNil

func ErasedAtNotNil() predicate.Workspace

ErasedAtNotNil applies the NotNil predicate on the "erased_at" field.

func FeedPosition

func FeedPosition(v int64) predicate.Workspace

FeedPosition applies equality check predicate on the "feed_position" field. It's identical to FeedPositionEQ.

func FeedPositionEQ

func FeedPositionEQ(v int64) predicate.Workspace

FeedPositionEQ applies the EQ predicate on the "feed_position" field.

func FeedPositionGT

func FeedPositionGT(v int64) predicate.Workspace

FeedPositionGT applies the GT predicate on the "feed_position" field.

func FeedPositionGTE

func FeedPositionGTE(v int64) predicate.Workspace

FeedPositionGTE applies the GTE predicate on the "feed_position" field.

func FeedPositionIn

func FeedPositionIn(vs ...int64) predicate.Workspace

FeedPositionIn applies the In predicate on the "feed_position" field.

func FeedPositionLT

func FeedPositionLT(v int64) predicate.Workspace

FeedPositionLT applies the LT predicate on the "feed_position" field.

func FeedPositionLTE

func FeedPositionLTE(v int64) predicate.Workspace

FeedPositionLTE applies the LTE predicate on the "feed_position" field.

func FeedPositionNEQ

func FeedPositionNEQ(v int64) predicate.Workspace

FeedPositionNEQ applies the NEQ predicate on the "feed_position" field.

func FeedPositionNotIn

func FeedPositionNotIn(vs ...int64) predicate.Workspace

FeedPositionNotIn applies the NotIn predicate on the "feed_position" field.

func HasAPITokens

func HasAPITokens() predicate.Workspace

HasAPITokens applies the HasEdge predicate on the "api_tokens" edge.

func HasAPITokensWith

func HasAPITokensWith(preds ...predicate.ApiToken) predicate.Workspace

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

func HasAuditEntries

func HasAuditEntries() predicate.Workspace

HasAuditEntries applies the HasEdge predicate on the "audit_entries" edge.

func HasAuditEntriesWith

func HasAuditEntriesWith(preds ...predicate.AuditEntry) predicate.Workspace

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

func HasAutomationRuns

func HasAutomationRuns() predicate.Workspace

HasAutomationRuns applies the HasEdge predicate on the "automation_runs" edge.

func HasAutomationRunsWith

func HasAutomationRunsWith(preds ...predicate.AutomationRun) predicate.Workspace

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

func HasAutomationVersions

func HasAutomationVersions() predicate.Workspace

HasAutomationVersions applies the HasEdge predicate on the "automation_versions" edge.

func HasAutomationVersionsWith

func HasAutomationVersionsWith(preds ...predicate.AutomationVersion) predicate.Workspace

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

func HasAutomations

func HasAutomations() predicate.Workspace

HasAutomations applies the HasEdge predicate on the "automations" edge.

func HasAutomationsWith

func HasAutomationsWith(preds ...predicate.Automation) predicate.Workspace

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

func HasBrandKits

func HasBrandKits() predicate.Workspace

HasBrandKits applies the HasEdge predicate on the "brand_kits" edge.

func HasBrandKitsWith

func HasBrandKitsWith(preds ...predicate.BrandKit) predicate.Workspace

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

func HasBroadcastRecipients

func HasBroadcastRecipients() predicate.Workspace

HasBroadcastRecipients applies the HasEdge predicate on the "broadcast_recipients" edge.

func HasBroadcastRecipientsWith

func HasBroadcastRecipientsWith(preds ...predicate.BroadcastRecipient) predicate.Workspace

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

func HasBroadcasts

func HasBroadcasts() predicate.Workspace

HasBroadcasts applies the HasEdge predicate on the "broadcasts" edge.

func HasBroadcastsWith

func HasBroadcastsWith(preds ...predicate.Broadcast) predicate.Workspace

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

func HasConfirmations

func HasConfirmations() predicate.Workspace

HasConfirmations applies the HasEdge predicate on the "confirmations" edge.

func HasConfirmationsWith

func HasConfirmationsWith(preds ...predicate.Confirmation) predicate.Workspace

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

func HasContacts

func HasContacts() predicate.Workspace

HasContacts applies the HasEdge predicate on the "contacts" edge.

func HasContactsWith

func HasContactsWith(preds ...predicate.Contact) predicate.Workspace

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

func HasCustomFields

func HasCustomFields() predicate.Workspace

HasCustomFields applies the HasEdge predicate on the "custom_fields" edge.

func HasCustomFieldsWith

func HasCustomFieldsWith(preds ...predicate.CustomField) predicate.Workspace

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

func HasEmailTemplates

func HasEmailTemplates() predicate.Workspace

HasEmailTemplates applies the HasEdge predicate on the "email_templates" edge.

func HasEmailTemplatesWith

func HasEmailTemplatesWith(preds ...predicate.EmailTemplate) predicate.Workspace

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

func HasErasures

func HasErasures() predicate.Workspace

HasErasures applies the HasEdge predicate on the "erasures" edge.

func HasErasuresWith

func HasErasuresWith(preds ...predicate.Erasure) predicate.Workspace

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

func HasEvents

func HasEvents() predicate.Workspace

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

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Workspace

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

func HasHolds

func HasHolds() predicate.Workspace

HasHolds applies the HasEdge predicate on the "holds" edge.

func HasHoldsWith

func HasHoldsWith(preds ...predicate.Hold) predicate.Workspace

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

func HasIntegrations

func HasIntegrations() predicate.Workspace

HasIntegrations applies the HasEdge predicate on the "integrations" edge.

func HasIntegrationsWith

func HasIntegrationsWith(preds ...predicate.Integration) predicate.Workspace

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

func HasInvitations

func HasInvitations() predicate.Workspace

HasInvitations applies the HasEdge predicate on the "invitations" edge.

func HasInvitationsWith

func HasInvitationsWith(preds ...predicate.Invitation) predicate.Workspace

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

func HasJoinDomains

func HasJoinDomains() predicate.Workspace

HasJoinDomains applies the HasEdge predicate on the "join_domains" edge.

func HasJoinDomainsWith

func HasJoinDomainsWith(preds ...predicate.JoinDomain) predicate.Workspace

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

func HasMemberships

func HasMemberships() predicate.Workspace

HasMemberships applies the HasEdge predicate on the "memberships" edge.

func HasMembershipsWith

func HasMembershipsWith(preds ...predicate.Membership) predicate.Workspace

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

func HasOutboundMessages

func HasOutboundMessages() predicate.Workspace

HasOutboundMessages applies the HasEdge predicate on the "outbound_messages" edge.

func HasOutboundMessagesWith

func HasOutboundMessagesWith(preds ...predicate.OutboundMessage) predicate.Workspace

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

func HasRuleFirings

func HasRuleFirings() predicate.Workspace

HasRuleFirings applies the HasEdge predicate on the "rule_firings" edge.

func HasRuleFiringsWith

func HasRuleFiringsWith(preds ...predicate.RuleFiring) predicate.Workspace

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

func HasRuleTriggers

func HasRuleTriggers() predicate.Workspace

HasRuleTriggers applies the HasEdge predicate on the "rule_triggers" edge.

func HasRuleTriggersWith

func HasRuleTriggersWith(preds ...predicate.RuleTrigger) predicate.Workspace

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

func HasRules

func HasRules() predicate.Workspace

HasRules applies the HasEdge predicate on the "rules" edge.

func HasRulesWith

func HasRulesWith(preds ...predicate.Rule) predicate.Workspace

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

func HasSegments

func HasSegments() predicate.Workspace

HasSegments applies the HasEdge predicate on the "segments" edge.

func HasSegmentsWith

func HasSegmentsWith(preds ...predicate.Segment) predicate.Workspace

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

func HasSendLimiters

func HasSendLimiters() predicate.Workspace

HasSendLimiters applies the HasEdge predicate on the "send_limiters" edge.

func HasSendLimitersWith

func HasSendLimitersWith(preds ...predicate.SendLimiter) predicate.Workspace

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

func HasSendingDomains

func HasSendingDomains() predicate.Workspace

HasSendingDomains applies the HasEdge predicate on the "sending_domains" edge.

func HasSendingDomainsWith

func HasSendingDomainsWith(preds ...predicate.SendingDomain) predicate.Workspace

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

func HasSuppressions

func HasSuppressions() predicate.Workspace

HasSuppressions applies the HasEdge predicate on the "suppressions" edge.

func HasSuppressionsWith

func HasSuppressionsWith(preds ...predicate.Suppression) predicate.Workspace

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

func HasTags

func HasTags() predicate.Workspace

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.Tag) predicate.Workspace

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

func HasUnsubscribes

func HasUnsubscribes() predicate.Workspace

HasUnsubscribes applies the HasEdge predicate on the "unsubscribes" edge.

func HasUnsubscribesWith

func HasUnsubscribesWith(preds ...predicate.Unsubscribe) predicate.Workspace

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

func HasUsages

func HasUsages() predicate.Workspace

HasUsages applies the HasEdge predicate on the "usages" edge.

func HasUsagesWith

func HasUsagesWith(preds ...predicate.Usage) predicate.Workspace

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

func HasVisitors

func HasVisitors() predicate.Workspace

HasVisitors applies the HasEdge predicate on the "visitors" edge.

func HasVisitorsWith

func HasVisitorsWith(preds ...predicate.Visitor) predicate.Workspace

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

func HasWebhookEndpoints

func HasWebhookEndpoints() predicate.Workspace

HasWebhookEndpoints applies the HasEdge predicate on the "webhook_endpoints" edge.

func HasWebhookEndpointsWith

func HasWebhookEndpointsWith(preds ...predicate.WebhookEndpoint) predicate.Workspace

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

func ID

func ID(id int64) predicate.Workspace

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Workspace

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Workspace

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Workspace

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.Workspace

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Workspace

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Workspace

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Workspace

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.Workspace

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Workspace

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

func NameContains

func NameContains(v string) predicate.Workspace

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

func NameContainsFold

func NameContainsFold(v string) predicate.Workspace

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

func NameEQ

func NameEQ(v string) predicate.Workspace

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

func NameEqualFold

func NameEqualFold(v string) predicate.Workspace

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

func NameGT

func NameGT(v string) predicate.Workspace

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

func NameGTE

func NameGTE(v string) predicate.Workspace

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Workspace

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Workspace

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

func NameIn

func NameIn(vs ...string) predicate.Workspace

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

func NameLT

func NameLT(v string) predicate.Workspace

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

func NameLTE

func NameLTE(v string) predicate.Workspace

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

func NameNEQ

func NameNEQ(v string) predicate.Workspace

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Workspace) predicate.Workspace

Or groups predicates with the OR operator between them.

func PostalAddress

func PostalAddress(v string) predicate.Workspace

PostalAddress applies equality check predicate on the "postal_address" field. It's identical to PostalAddressEQ.

func PostalAddressContains

func PostalAddressContains(v string) predicate.Workspace

PostalAddressContains applies the Contains predicate on the "postal_address" field.

func PostalAddressContainsFold

func PostalAddressContainsFold(v string) predicate.Workspace

PostalAddressContainsFold applies the ContainsFold predicate on the "postal_address" field.

func PostalAddressEQ

func PostalAddressEQ(v string) predicate.Workspace

PostalAddressEQ applies the EQ predicate on the "postal_address" field.

func PostalAddressEqualFold

func PostalAddressEqualFold(v string) predicate.Workspace

PostalAddressEqualFold applies the EqualFold predicate on the "postal_address" field.

func PostalAddressGT

func PostalAddressGT(v string) predicate.Workspace

PostalAddressGT applies the GT predicate on the "postal_address" field.

func PostalAddressGTE

func PostalAddressGTE(v string) predicate.Workspace

PostalAddressGTE applies the GTE predicate on the "postal_address" field.

func PostalAddressHasPrefix

func PostalAddressHasPrefix(v string) predicate.Workspace

PostalAddressHasPrefix applies the HasPrefix predicate on the "postal_address" field.

func PostalAddressHasSuffix

func PostalAddressHasSuffix(v string) predicate.Workspace

PostalAddressHasSuffix applies the HasSuffix predicate on the "postal_address" field.

func PostalAddressIn

func PostalAddressIn(vs ...string) predicate.Workspace

PostalAddressIn applies the In predicate on the "postal_address" field.

func PostalAddressIsNil

func PostalAddressIsNil() predicate.Workspace

PostalAddressIsNil applies the IsNil predicate on the "postal_address" field.

func PostalAddressLT

func PostalAddressLT(v string) predicate.Workspace

PostalAddressLT applies the LT predicate on the "postal_address" field.

func PostalAddressLTE

func PostalAddressLTE(v string) predicate.Workspace

PostalAddressLTE applies the LTE predicate on the "postal_address" field.

func PostalAddressNEQ

func PostalAddressNEQ(v string) predicate.Workspace

PostalAddressNEQ applies the NEQ predicate on the "postal_address" field.

func PostalAddressNotIn

func PostalAddressNotIn(vs ...string) predicate.Workspace

PostalAddressNotIn applies the NotIn predicate on the "postal_address" field.

func PostalAddressNotNil

func PostalAddressNotNil() predicate.Workspace

PostalAddressNotNil applies the NotNil predicate on the "postal_address" field.

func PublicID

func PublicID(v string) predicate.Workspace

PublicID applies equality check predicate on the "public_id" field. It's identical to PublicIDEQ.

func PublicIDContains

func PublicIDContains(v string) predicate.Workspace

PublicIDContains applies the Contains predicate on the "public_id" field.

func PublicIDContainsFold

func PublicIDContainsFold(v string) predicate.Workspace

PublicIDContainsFold applies the ContainsFold predicate on the "public_id" field.

func PublicIDEQ

func PublicIDEQ(v string) predicate.Workspace

PublicIDEQ applies the EQ predicate on the "public_id" field.

func PublicIDEqualFold

func PublicIDEqualFold(v string) predicate.Workspace

PublicIDEqualFold applies the EqualFold predicate on the "public_id" field.

func PublicIDGT

func PublicIDGT(v string) predicate.Workspace

PublicIDGT applies the GT predicate on the "public_id" field.

func PublicIDGTE

func PublicIDGTE(v string) predicate.Workspace

PublicIDGTE applies the GTE predicate on the "public_id" field.

func PublicIDHasPrefix

func PublicIDHasPrefix(v string) predicate.Workspace

PublicIDHasPrefix applies the HasPrefix predicate on the "public_id" field.

func PublicIDHasSuffix

func PublicIDHasSuffix(v string) predicate.Workspace

PublicIDHasSuffix applies the HasSuffix predicate on the "public_id" field.

func PublicIDIn

func PublicIDIn(vs ...string) predicate.Workspace

PublicIDIn applies the In predicate on the "public_id" field.

func PublicIDLT

func PublicIDLT(v string) predicate.Workspace

PublicIDLT applies the LT predicate on the "public_id" field.

func PublicIDLTE

func PublicIDLTE(v string) predicate.Workspace

PublicIDLTE applies the LTE predicate on the "public_id" field.

func PublicIDNEQ

func PublicIDNEQ(v string) predicate.Workspace

PublicIDNEQ applies the NEQ predicate on the "public_id" field.

func PublicIDNotIn

func PublicIDNotIn(vs ...string) predicate.Workspace

PublicIDNotIn applies the NotIn predicate on the "public_id" field.

func RequireConfirmedOptIn

func RequireConfirmedOptIn(v bool) predicate.Workspace

RequireConfirmedOptIn applies equality check predicate on the "require_confirmed_opt_in" field. It's identical to RequireConfirmedOptInEQ.

func RequireConfirmedOptInEQ

func RequireConfirmedOptInEQ(v bool) predicate.Workspace

RequireConfirmedOptInEQ applies the EQ predicate on the "require_confirmed_opt_in" field.

func RequireConfirmedOptInNEQ

func RequireConfirmedOptInNEQ(v bool) predicate.Workspace

RequireConfirmedOptInNEQ applies the NEQ predicate on the "require_confirmed_opt_in" field.

func RetentionDays

func RetentionDays(v int) predicate.Workspace

RetentionDays applies equality check predicate on the "retention_days" field. It's identical to RetentionDaysEQ.

func RetentionDaysEQ

func RetentionDaysEQ(v int) predicate.Workspace

RetentionDaysEQ applies the EQ predicate on the "retention_days" field.

func RetentionDaysGT

func RetentionDaysGT(v int) predicate.Workspace

RetentionDaysGT applies the GT predicate on the "retention_days" field.

func RetentionDaysGTE

func RetentionDaysGTE(v int) predicate.Workspace

RetentionDaysGTE applies the GTE predicate on the "retention_days" field.

func RetentionDaysIn

func RetentionDaysIn(vs ...int) predicate.Workspace

RetentionDaysIn applies the In predicate on the "retention_days" field.

func RetentionDaysIsNil

func RetentionDaysIsNil() predicate.Workspace

RetentionDaysIsNil applies the IsNil predicate on the "retention_days" field.

func RetentionDaysLT

func RetentionDaysLT(v int) predicate.Workspace

RetentionDaysLT applies the LT predicate on the "retention_days" field.

func RetentionDaysLTE

func RetentionDaysLTE(v int) predicate.Workspace

RetentionDaysLTE applies the LTE predicate on the "retention_days" field.

func RetentionDaysNEQ

func RetentionDaysNEQ(v int) predicate.Workspace

RetentionDaysNEQ applies the NEQ predicate on the "retention_days" field.

func RetentionDaysNotIn

func RetentionDaysNotIn(vs ...int) predicate.Workspace

RetentionDaysNotIn applies the NotIn predicate on the "retention_days" field.

func RetentionDaysNotNil

func RetentionDaysNotNil() predicate.Workspace

RetentionDaysNotNil applies the NotNil predicate on the "retention_days" field.

func SecondFactorRequiredAt

func SecondFactorRequiredAt(v time.Time) predicate.Workspace

SecondFactorRequiredAt applies equality check predicate on the "second_factor_required_at" field. It's identical to SecondFactorRequiredAtEQ.

func SecondFactorRequiredAtEQ

func SecondFactorRequiredAtEQ(v time.Time) predicate.Workspace

SecondFactorRequiredAtEQ applies the EQ predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtGT

func SecondFactorRequiredAtGT(v time.Time) predicate.Workspace

SecondFactorRequiredAtGT applies the GT predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtGTE

func SecondFactorRequiredAtGTE(v time.Time) predicate.Workspace

SecondFactorRequiredAtGTE applies the GTE predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtIn

func SecondFactorRequiredAtIn(vs ...time.Time) predicate.Workspace

SecondFactorRequiredAtIn applies the In predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtIsNil

func SecondFactorRequiredAtIsNil() predicate.Workspace

SecondFactorRequiredAtIsNil applies the IsNil predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtLT

func SecondFactorRequiredAtLT(v time.Time) predicate.Workspace

SecondFactorRequiredAtLT applies the LT predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtLTE

func SecondFactorRequiredAtLTE(v time.Time) predicate.Workspace

SecondFactorRequiredAtLTE applies the LTE predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtNEQ

func SecondFactorRequiredAtNEQ(v time.Time) predicate.Workspace

SecondFactorRequiredAtNEQ applies the NEQ predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtNotIn

func SecondFactorRequiredAtNotIn(vs ...time.Time) predicate.Workspace

SecondFactorRequiredAtNotIn applies the NotIn predicate on the "second_factor_required_at" field.

func SecondFactorRequiredAtNotNil

func SecondFactorRequiredAtNotNil() predicate.Workspace

SecondFactorRequiredAtNotNil applies the NotNil predicate on the "second_factor_required_at" field.

func SuspendedAt

func SuspendedAt(v time.Time) predicate.Workspace

SuspendedAt applies equality check predicate on the "suspended_at" field. It's identical to SuspendedAtEQ.

func SuspendedAtEQ

func SuspendedAtEQ(v time.Time) predicate.Workspace

SuspendedAtEQ applies the EQ predicate on the "suspended_at" field.

func SuspendedAtGT

func SuspendedAtGT(v time.Time) predicate.Workspace

SuspendedAtGT applies the GT predicate on the "suspended_at" field.

func SuspendedAtGTE

func SuspendedAtGTE(v time.Time) predicate.Workspace

SuspendedAtGTE applies the GTE predicate on the "suspended_at" field.

func SuspendedAtIn

func SuspendedAtIn(vs ...time.Time) predicate.Workspace

SuspendedAtIn applies the In predicate on the "suspended_at" field.

func SuspendedAtIsNil

func SuspendedAtIsNil() predicate.Workspace

SuspendedAtIsNil applies the IsNil predicate on the "suspended_at" field.

func SuspendedAtLT

func SuspendedAtLT(v time.Time) predicate.Workspace

SuspendedAtLT applies the LT predicate on the "suspended_at" field.

func SuspendedAtLTE

func SuspendedAtLTE(v time.Time) predicate.Workspace

SuspendedAtLTE applies the LTE predicate on the "suspended_at" field.

func SuspendedAtNEQ

func SuspendedAtNEQ(v time.Time) predicate.Workspace

SuspendedAtNEQ applies the NEQ predicate on the "suspended_at" field.

func SuspendedAtNotIn

func SuspendedAtNotIn(vs ...time.Time) predicate.Workspace

SuspendedAtNotIn applies the NotIn predicate on the "suspended_at" field.

func SuspendedAtNotNil

func SuspendedAtNotNil() predicate.Workspace

SuspendedAtNotNil applies the NotNil predicate on the "suspended_at" field.

func SuspendedByID

func SuspendedByID(v string) predicate.Workspace

SuspendedByID applies equality check predicate on the "suspended_by_id" field. It's identical to SuspendedByIDEQ.

func SuspendedByIDContains

func SuspendedByIDContains(v string) predicate.Workspace

SuspendedByIDContains applies the Contains predicate on the "suspended_by_id" field.

func SuspendedByIDContainsFold

func SuspendedByIDContainsFold(v string) predicate.Workspace

SuspendedByIDContainsFold applies the ContainsFold predicate on the "suspended_by_id" field.

func SuspendedByIDEQ

func SuspendedByIDEQ(v string) predicate.Workspace

SuspendedByIDEQ applies the EQ predicate on the "suspended_by_id" field.

func SuspendedByIDEqualFold

func SuspendedByIDEqualFold(v string) predicate.Workspace

SuspendedByIDEqualFold applies the EqualFold predicate on the "suspended_by_id" field.

func SuspendedByIDGT

func SuspendedByIDGT(v string) predicate.Workspace

SuspendedByIDGT applies the GT predicate on the "suspended_by_id" field.

func SuspendedByIDGTE

func SuspendedByIDGTE(v string) predicate.Workspace

SuspendedByIDGTE applies the GTE predicate on the "suspended_by_id" field.

func SuspendedByIDHasPrefix

func SuspendedByIDHasPrefix(v string) predicate.Workspace

SuspendedByIDHasPrefix applies the HasPrefix predicate on the "suspended_by_id" field.

func SuspendedByIDHasSuffix

func SuspendedByIDHasSuffix(v string) predicate.Workspace

SuspendedByIDHasSuffix applies the HasSuffix predicate on the "suspended_by_id" field.

func SuspendedByIDIn

func SuspendedByIDIn(vs ...string) predicate.Workspace

SuspendedByIDIn applies the In predicate on the "suspended_by_id" field.

func SuspendedByIDIsNil

func SuspendedByIDIsNil() predicate.Workspace

SuspendedByIDIsNil applies the IsNil predicate on the "suspended_by_id" field.

func SuspendedByIDLT

func SuspendedByIDLT(v string) predicate.Workspace

SuspendedByIDLT applies the LT predicate on the "suspended_by_id" field.

func SuspendedByIDLTE

func SuspendedByIDLTE(v string) predicate.Workspace

SuspendedByIDLTE applies the LTE predicate on the "suspended_by_id" field.

func SuspendedByIDNEQ

func SuspendedByIDNEQ(v string) predicate.Workspace

SuspendedByIDNEQ applies the NEQ predicate on the "suspended_by_id" field.

func SuspendedByIDNotIn

func SuspendedByIDNotIn(vs ...string) predicate.Workspace

SuspendedByIDNotIn applies the NotIn predicate on the "suspended_by_id" field.

func SuspendedByIDNotNil

func SuspendedByIDNotNil() predicate.Workspace

SuspendedByIDNotNil applies the NotNil predicate on the "suspended_by_id" field.

func SuspendedByKindEQ

func SuspendedByKindEQ(v SuspendedByKind) predicate.Workspace

SuspendedByKindEQ applies the EQ predicate on the "suspended_by_kind" field.

func SuspendedByKindIn

func SuspendedByKindIn(vs ...SuspendedByKind) predicate.Workspace

SuspendedByKindIn applies the In predicate on the "suspended_by_kind" field.

func SuspendedByKindIsNil

func SuspendedByKindIsNil() predicate.Workspace

SuspendedByKindIsNil applies the IsNil predicate on the "suspended_by_kind" field.

func SuspendedByKindNEQ

func SuspendedByKindNEQ(v SuspendedByKind) predicate.Workspace

SuspendedByKindNEQ applies the NEQ predicate on the "suspended_by_kind" field.

func SuspendedByKindNotIn

func SuspendedByKindNotIn(vs ...SuspendedByKind) predicate.Workspace

SuspendedByKindNotIn applies the NotIn predicate on the "suspended_by_kind" field.

func SuspendedByKindNotNil

func SuspendedByKindNotNil() predicate.Workspace

SuspendedByKindNotNil applies the NotNil predicate on the "suspended_by_kind" field.

func SuspendedByKindValidator

func SuspendedByKindValidator(sbk SuspendedByKind) error

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

func SuspensionReason

func SuspensionReason(v string) predicate.Workspace

SuspensionReason applies equality check predicate on the "suspension_reason" field. It's identical to SuspensionReasonEQ.

func SuspensionReasonContains

func SuspensionReasonContains(v string) predicate.Workspace

SuspensionReasonContains applies the Contains predicate on the "suspension_reason" field.

func SuspensionReasonContainsFold

func SuspensionReasonContainsFold(v string) predicate.Workspace

SuspensionReasonContainsFold applies the ContainsFold predicate on the "suspension_reason" field.

func SuspensionReasonEQ

func SuspensionReasonEQ(v string) predicate.Workspace

SuspensionReasonEQ applies the EQ predicate on the "suspension_reason" field.

func SuspensionReasonEqualFold

func SuspensionReasonEqualFold(v string) predicate.Workspace

SuspensionReasonEqualFold applies the EqualFold predicate on the "suspension_reason" field.

func SuspensionReasonGT

func SuspensionReasonGT(v string) predicate.Workspace

SuspensionReasonGT applies the GT predicate on the "suspension_reason" field.

func SuspensionReasonGTE

func SuspensionReasonGTE(v string) predicate.Workspace

SuspensionReasonGTE applies the GTE predicate on the "suspension_reason" field.

func SuspensionReasonHasPrefix

func SuspensionReasonHasPrefix(v string) predicate.Workspace

SuspensionReasonHasPrefix applies the HasPrefix predicate on the "suspension_reason" field.

func SuspensionReasonHasSuffix

func SuspensionReasonHasSuffix(v string) predicate.Workspace

SuspensionReasonHasSuffix applies the HasSuffix predicate on the "suspension_reason" field.

func SuspensionReasonIn

func SuspensionReasonIn(vs ...string) predicate.Workspace

SuspensionReasonIn applies the In predicate on the "suspension_reason" field.

func SuspensionReasonIsNil

func SuspensionReasonIsNil() predicate.Workspace

SuspensionReasonIsNil applies the IsNil predicate on the "suspension_reason" field.

func SuspensionReasonLT

func SuspensionReasonLT(v string) predicate.Workspace

SuspensionReasonLT applies the LT predicate on the "suspension_reason" field.

func SuspensionReasonLTE

func SuspensionReasonLTE(v string) predicate.Workspace

SuspensionReasonLTE applies the LTE predicate on the "suspension_reason" field.

func SuspensionReasonNEQ

func SuspensionReasonNEQ(v string) predicate.Workspace

SuspensionReasonNEQ applies the NEQ predicate on the "suspension_reason" field.

func SuspensionReasonNotIn

func SuspensionReasonNotIn(vs ...string) predicate.Workspace

SuspensionReasonNotIn applies the NotIn predicate on the "suspension_reason" field.

func SuspensionReasonNotNil

func SuspensionReasonNotNil() predicate.Workspace

SuspensionReasonNotNil applies the NotNil predicate on the "suspension_reason" field.

func Timezone

func Timezone(v string) predicate.Workspace

Timezone applies equality check predicate on the "timezone" field. It's identical to TimezoneEQ.

func TimezoneContains

func TimezoneContains(v string) predicate.Workspace

TimezoneContains applies the Contains predicate on the "timezone" field.

func TimezoneContainsFold

func TimezoneContainsFold(v string) predicate.Workspace

TimezoneContainsFold applies the ContainsFold predicate on the "timezone" field.

func TimezoneEQ

func TimezoneEQ(v string) predicate.Workspace

TimezoneEQ applies the EQ predicate on the "timezone" field.

func TimezoneEqualFold

func TimezoneEqualFold(v string) predicate.Workspace

TimezoneEqualFold applies the EqualFold predicate on the "timezone" field.

func TimezoneGT

func TimezoneGT(v string) predicate.Workspace

TimezoneGT applies the GT predicate on the "timezone" field.

func TimezoneGTE

func TimezoneGTE(v string) predicate.Workspace

TimezoneGTE applies the GTE predicate on the "timezone" field.

func TimezoneHasPrefix

func TimezoneHasPrefix(v string) predicate.Workspace

TimezoneHasPrefix applies the HasPrefix predicate on the "timezone" field.

func TimezoneHasSuffix

func TimezoneHasSuffix(v string) predicate.Workspace

TimezoneHasSuffix applies the HasSuffix predicate on the "timezone" field.

func TimezoneIn

func TimezoneIn(vs ...string) predicate.Workspace

TimezoneIn applies the In predicate on the "timezone" field.

func TimezoneIsNil

func TimezoneIsNil() predicate.Workspace

TimezoneIsNil applies the IsNil predicate on the "timezone" field.

func TimezoneLT

func TimezoneLT(v string) predicate.Workspace

TimezoneLT applies the LT predicate on the "timezone" field.

func TimezoneLTE

func TimezoneLTE(v string) predicate.Workspace

TimezoneLTE applies the LTE predicate on the "timezone" field.

func TimezoneNEQ

func TimezoneNEQ(v string) predicate.Workspace

TimezoneNEQ applies the NEQ predicate on the "timezone" field.

func TimezoneNotIn

func TimezoneNotIn(vs ...string) predicate.Workspace

TimezoneNotIn applies the NotIn predicate on the "timezone" field.

func TimezoneNotNil

func TimezoneNotNil() predicate.Workspace

TimezoneNotNil applies the NotNil predicate on the "timezone" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Workspace

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Workspace

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Workspace

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Workspace

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Workspace

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Workspace

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Workspace

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

func UpdatedAtNotIn

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

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 Workspace queries.

func ByAPITokens

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

ByAPITokens orders the results by api_tokens terms.

func ByAPITokensCount

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

ByAPITokensCount orders the results by api_tokens count.

func ByAbuseExempt

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

ByAbuseExempt orders the results by the abuse_exempt field.

func ByAbuseFreezeNotifiedAt

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

ByAbuseFreezeNotifiedAt orders the results by the abuse_freeze_notified_at field.

func ByAbuseWarningNotifiedAt

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

ByAbuseWarningNotifiedAt orders the results by the abuse_warning_notified_at field.

func ByAuditEntries

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

ByAuditEntries orders the results by audit_entries terms.

func ByAuditEntriesCount

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

ByAuditEntriesCount orders the results by audit_entries count.

func ByAutomationRuns

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

ByAutomationRuns orders the results by automation_runs terms.

func ByAutomationRunsCount

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

ByAutomationRunsCount orders the results by automation_runs count.

func ByAutomationVersions

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

ByAutomationVersions orders the results by automation_versions terms.

func ByAutomationVersionsCount

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

ByAutomationVersionsCount orders the results by automation_versions count.

func ByAutomations

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

ByAutomations orders the results by automations terms.

func ByAutomationsCount

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

ByAutomationsCount orders the results by automations count.

func ByBrandKits

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

ByBrandKits orders the results by brand_kits terms.

func ByBrandKitsCount

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

ByBrandKitsCount orders the results by brand_kits count.

func ByBroadcastRecipients

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

ByBroadcastRecipients orders the results by broadcast_recipients terms.

func ByBroadcastRecipientsCount

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

ByBroadcastRecipientsCount orders the results by broadcast_recipients count.

func ByBroadcasts

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

ByBroadcasts orders the results by broadcasts terms.

func ByBroadcastsCount

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

ByBroadcastsCount orders the results by broadcasts count.

func ByClearedAt

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

ByClearedAt orders the results by the cleared_at field.

func ByCollectKey

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

ByCollectKey orders the results by the collect_key field.

func ByConfirmations

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

ByConfirmations orders the results by confirmations terms.

func ByConfirmationsCount

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

ByConfirmationsCount orders the results by confirmations count.

func ByContacts

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

ByContacts orders the results by contacts terms.

func ByContactsCount

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

ByContactsCount orders the results by contacts count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCustomFields

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

ByCustomFields orders the results by custom_fields terms.

func ByCustomFieldsCount

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

ByCustomFieldsCount orders the results by custom_fields count.

func ByDiscardedAt

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

ByDiscardedAt orders the results by the discarded_at field.

func ByDomainJoinEnabled

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

ByDomainJoinEnabled orders the results by the domain_join_enabled field.

func ByEmailTemplates

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

ByEmailTemplates orders the results by email_templates terms.

func ByEmailTemplatesCount

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

ByEmailTemplatesCount orders the results by email_templates count.

func ByErasedAt

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

ByErasedAt orders the results by the erased_at field.

func ByErasures

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

ByErasures orders the results by erasures terms.

func ByErasuresCount

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

ByErasuresCount orders the results by erasures count.

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 ByFeedPosition

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

ByFeedPosition orders the results by the feed_position field.

func ByHolds

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

ByHolds orders the results by holds terms.

func ByHoldsCount

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

ByHoldsCount orders the results by holds count.

func ByID

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

ByID orders the results by the id field.

func ByIntegrations

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

ByIntegrations orders the results by integrations terms.

func ByIntegrationsCount

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

ByIntegrationsCount orders the results by integrations count.

func ByInvitations

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

ByInvitations orders the results by invitations terms.

func ByInvitationsCount

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

ByInvitationsCount orders the results by invitations count.

func ByJoinDomains

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

ByJoinDomains orders the results by join_domains terms.

func ByJoinDomainsCount

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

ByJoinDomainsCount orders the results by join_domains count.

func ByMemberships

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

ByMemberships orders the results by memberships terms.

func ByMembershipsCount

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

ByMembershipsCount orders the results by memberships count.

func ByName

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

ByName orders the results by the name field.

func ByOutboundMessages

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

ByOutboundMessages orders the results by outbound_messages terms.

func ByOutboundMessagesCount

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

ByOutboundMessagesCount orders the results by outbound_messages count.

func ByPostalAddress

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

ByPostalAddress orders the results by the postal_address field.

func ByPublicID

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

ByPublicID orders the results by the public_id field.

func ByRequireConfirmedOptIn

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

ByRequireConfirmedOptIn orders the results by the require_confirmed_opt_in field.

func ByRetentionDays

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

ByRetentionDays orders the results by the retention_days field.

func ByRuleFirings

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

ByRuleFirings orders the results by rule_firings terms.

func ByRuleFiringsCount

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

ByRuleFiringsCount orders the results by rule_firings count.

func ByRuleTriggers

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

ByRuleTriggers orders the results by rule_triggers terms.

func ByRuleTriggersCount

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

ByRuleTriggersCount orders the results by rule_triggers count.

func ByRules

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

ByRules orders the results by rules terms.

func ByRulesCount

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

ByRulesCount orders the results by rules count.

func BySecondFactorRequiredAt

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

BySecondFactorRequiredAt orders the results by the second_factor_required_at field.

func BySegments

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

BySegments orders the results by segments terms.

func BySegmentsCount

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

BySegmentsCount orders the results by segments count.

func BySendLimiters

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

BySendLimiters orders the results by send_limiters terms.

func BySendLimitersCount

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

BySendLimitersCount orders the results by send_limiters count.

func BySendingDomains

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

BySendingDomains orders the results by sending_domains terms.

func BySendingDomainsCount

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

BySendingDomainsCount orders the results by sending_domains count.

func BySuppressions

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

BySuppressions orders the results by suppressions terms.

func BySuppressionsCount

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

BySuppressionsCount orders the results by suppressions count.

func BySuspendedAt

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

BySuspendedAt orders the results by the suspended_at field.

func BySuspendedByID

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

BySuspendedByID orders the results by the suspended_by_id field.

func BySuspendedByKind

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

BySuspendedByKind orders the results by the suspended_by_kind field.

func BySuspensionReason

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

BySuspensionReason orders the results by the suspension_reason field.

func ByTags

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

ByTags orders the results by tags terms.

func ByTagsCount

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

ByTagsCount orders the results by tags count.

func ByTimezone

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

ByTimezone orders the results by the timezone field.

func ByUnsubscribes

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

ByUnsubscribes orders the results by unsubscribes terms.

func ByUnsubscribesCount

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

ByUnsubscribesCount orders the results by unsubscribes count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsages

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

ByUsages orders the results by usages terms.

func ByUsagesCount

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

ByUsagesCount orders the results by usages count.

func ByVisitors

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

ByVisitors orders the results by visitors terms.

func ByVisitorsCount

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

ByVisitorsCount orders the results by visitors count.

func ByWebhookEndpoints

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

ByWebhookEndpoints orders the results by webhook_endpoints terms.

func ByWebhookEndpointsCount

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

ByWebhookEndpointsCount orders the results by webhook_endpoints count.

type SuspendedByKind

type SuspendedByKind string

SuspendedByKind defines the type for the "suspended_by_kind" enum field.

const (
	SuspendedByKindSystem SuspendedByKind = "system"
	SuspendedByKindCli    SuspendedByKind = "cli"
	SuspendedByKindStaff  SuspendedByKind = "staff"
)

SuspendedByKind values.

func (SuspendedByKind) String

func (sbk SuspendedByKind) String() string

Jump to

Keyboard shortcuts

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