subscriptionpause

package
v1.1.59 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionpause type in the database.
	Label = "subscription_pause"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_id"
	// FieldPauseStatus holds the string denoting the pause_status field in the database.
	FieldPauseStatus = "pause_status"
	// FieldPauseMode holds the string denoting the pause_mode field in the database.
	FieldPauseMode = "pause_mode"
	// FieldResumeMode holds the string denoting the resume_mode field in the database.
	FieldResumeMode = "resume_mode"
	// FieldPauseStart holds the string denoting the pause_start field in the database.
	FieldPauseStart = "pause_start"
	// FieldPauseEnd holds the string denoting the pause_end field in the database.
	FieldPauseEnd = "pause_end"
	// FieldResumedAt holds the string denoting the resumed_at field in the database.
	FieldResumedAt = "resumed_at"
	// FieldOriginalPeriodStart holds the string denoting the original_period_start field in the database.
	FieldOriginalPeriodStart = "original_period_start"
	// FieldOriginalPeriodEnd holds the string denoting the original_period_end field in the database.
	FieldOriginalPeriodEnd = "original_period_end"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgeSubscription holds the string denoting the subscription edge name in mutations.
	EdgeSubscription = "subscription"
	// Table holds the table name of the subscriptionpause in the database.
	Table = "subscription_pauses"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "subscription_pauses"
	// SubscriptionInverseTable is the table name for the Subscription entity.
	// It exists in this package in order to avoid circular dependency with the "subscription" package.
	SubscriptionInverseTable = "subscriptions"
	// SubscriptionColumn is the table column denoting the subscription relation/edge.
	SubscriptionColumn = "subscription_id"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// SubscriptionIDValidator is a validator for the "subscription_id" field. It is called by the builders before save.
	SubscriptionIDValidator func(string) error
	// PauseStatusValidator is a validator for the "pause_status" field. It is called by the builders before save.
	PauseStatusValidator func(string) error
	// DefaultPauseMode holds the default value on creation for the "pause_mode" field.
	DefaultPauseMode string
	// PauseModeValidator is a validator for the "pause_mode" field. It is called by the builders before save.
	PauseModeValidator func(string) error
	// DefaultPauseStart holds the default value on creation for the "pause_start" field.
	DefaultPauseStart func() time.Time
	// DefaultOriginalPeriodStart holds the default value on creation for the "original_period_start" field.
	DefaultOriginalPeriodStart func() time.Time
	// DefaultOriginalPeriodEnd holds the default value on creation for the "original_period_end" field.
	DefaultOriginalPeriodEnd func() time.Time
)

Columns holds all SQL columns for subscriptionpause fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SubscriptionPause

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SubscriptionPause

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SubscriptionPause

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SubscriptionPause

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SubscriptionPause

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SubscriptionPause

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SubscriptionPause

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.SubscriptionPause

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

func CreatedByContains

func CreatedByContains(v string) predicate.SubscriptionPause

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SubscriptionPause

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.SubscriptionPause

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SubscriptionPause

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

func CreatedByGT

func CreatedByGT(v string) predicate.SubscriptionPause

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.SubscriptionPause

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SubscriptionPause

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SubscriptionPause

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.SubscriptionPause

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

func CreatedByLT

func CreatedByLT(v string) predicate.SubscriptionPause

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.SubscriptionPause

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.SubscriptionPause

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.SubscriptionPause

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

func EnvironmentID

func EnvironmentID(v string) predicate.SubscriptionPause

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.SubscriptionPause

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.SubscriptionPause

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.SubscriptionPause

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.SubscriptionPause

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.SubscriptionPause

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.SubscriptionPause

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.SubscriptionPause

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.SubscriptionPause

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.SubscriptionPause

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.SubscriptionPause

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.SubscriptionPause

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.SubscriptionPause

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.SubscriptionPause

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.SubscriptionPause

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.SubscriptionPause

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func HasSubscription

func HasSubscription() predicate.SubscriptionPause

HasSubscription applies the HasEdge predicate on the "subscription" edge.

func HasSubscriptionWith

func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionPause

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SubscriptionPause

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.SubscriptionPause

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.SubscriptionPause

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.SubscriptionPause

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

func MetadataNotNil

func MetadataNotNil() predicate.SubscriptionPause

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OriginalPeriodEnd

func OriginalPeriodEnd(v time.Time) predicate.SubscriptionPause

OriginalPeriodEnd applies equality check predicate on the "original_period_end" field. It's identical to OriginalPeriodEndEQ.

func OriginalPeriodEndEQ

func OriginalPeriodEndEQ(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndEQ applies the EQ predicate on the "original_period_end" field.

func OriginalPeriodEndGT

func OriginalPeriodEndGT(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndGT applies the GT predicate on the "original_period_end" field.

func OriginalPeriodEndGTE

func OriginalPeriodEndGTE(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndGTE applies the GTE predicate on the "original_period_end" field.

func OriginalPeriodEndIn

func OriginalPeriodEndIn(vs ...time.Time) predicate.SubscriptionPause

OriginalPeriodEndIn applies the In predicate on the "original_period_end" field.

func OriginalPeriodEndLT

func OriginalPeriodEndLT(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndLT applies the LT predicate on the "original_period_end" field.

func OriginalPeriodEndLTE

func OriginalPeriodEndLTE(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndLTE applies the LTE predicate on the "original_period_end" field.

func OriginalPeriodEndNEQ

func OriginalPeriodEndNEQ(v time.Time) predicate.SubscriptionPause

OriginalPeriodEndNEQ applies the NEQ predicate on the "original_period_end" field.

func OriginalPeriodEndNotIn

func OriginalPeriodEndNotIn(vs ...time.Time) predicate.SubscriptionPause

OriginalPeriodEndNotIn applies the NotIn predicate on the "original_period_end" field.

func OriginalPeriodStart

func OriginalPeriodStart(v time.Time) predicate.SubscriptionPause

OriginalPeriodStart applies equality check predicate on the "original_period_start" field. It's identical to OriginalPeriodStartEQ.

func OriginalPeriodStartEQ

func OriginalPeriodStartEQ(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartEQ applies the EQ predicate on the "original_period_start" field.

func OriginalPeriodStartGT

func OriginalPeriodStartGT(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartGT applies the GT predicate on the "original_period_start" field.

func OriginalPeriodStartGTE

func OriginalPeriodStartGTE(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartGTE applies the GTE predicate on the "original_period_start" field.

func OriginalPeriodStartIn

func OriginalPeriodStartIn(vs ...time.Time) predicate.SubscriptionPause

OriginalPeriodStartIn applies the In predicate on the "original_period_start" field.

func OriginalPeriodStartLT

func OriginalPeriodStartLT(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartLT applies the LT predicate on the "original_period_start" field.

func OriginalPeriodStartLTE

func OriginalPeriodStartLTE(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartLTE applies the LTE predicate on the "original_period_start" field.

func OriginalPeriodStartNEQ

func OriginalPeriodStartNEQ(v time.Time) predicate.SubscriptionPause

OriginalPeriodStartNEQ applies the NEQ predicate on the "original_period_start" field.

func OriginalPeriodStartNotIn

func OriginalPeriodStartNotIn(vs ...time.Time) predicate.SubscriptionPause

OriginalPeriodStartNotIn applies the NotIn predicate on the "original_period_start" field.

func PauseEnd

PauseEnd applies equality check predicate on the "pause_end" field. It's identical to PauseEndEQ.

func PauseEndEQ

func PauseEndEQ(v time.Time) predicate.SubscriptionPause

PauseEndEQ applies the EQ predicate on the "pause_end" field.

func PauseEndGT

func PauseEndGT(v time.Time) predicate.SubscriptionPause

PauseEndGT applies the GT predicate on the "pause_end" field.

func PauseEndGTE

func PauseEndGTE(v time.Time) predicate.SubscriptionPause

PauseEndGTE applies the GTE predicate on the "pause_end" field.

func PauseEndIn

func PauseEndIn(vs ...time.Time) predicate.SubscriptionPause

PauseEndIn applies the In predicate on the "pause_end" field.

func PauseEndIsNil

func PauseEndIsNil() predicate.SubscriptionPause

PauseEndIsNil applies the IsNil predicate on the "pause_end" field.

func PauseEndLT

func PauseEndLT(v time.Time) predicate.SubscriptionPause

PauseEndLT applies the LT predicate on the "pause_end" field.

func PauseEndLTE

func PauseEndLTE(v time.Time) predicate.SubscriptionPause

PauseEndLTE applies the LTE predicate on the "pause_end" field.

func PauseEndNEQ

func PauseEndNEQ(v time.Time) predicate.SubscriptionPause

PauseEndNEQ applies the NEQ predicate on the "pause_end" field.

func PauseEndNotIn

func PauseEndNotIn(vs ...time.Time) predicate.SubscriptionPause

PauseEndNotIn applies the NotIn predicate on the "pause_end" field.

func PauseEndNotNil

func PauseEndNotNil() predicate.SubscriptionPause

PauseEndNotNil applies the NotNil predicate on the "pause_end" field.

func PauseMode

func PauseMode(v string) predicate.SubscriptionPause

PauseMode applies equality check predicate on the "pause_mode" field. It's identical to PauseModeEQ.

func PauseModeContains

func PauseModeContains(v string) predicate.SubscriptionPause

PauseModeContains applies the Contains predicate on the "pause_mode" field.

func PauseModeContainsFold

func PauseModeContainsFold(v string) predicate.SubscriptionPause

PauseModeContainsFold applies the ContainsFold predicate on the "pause_mode" field.

func PauseModeEQ

func PauseModeEQ(v string) predicate.SubscriptionPause

PauseModeEQ applies the EQ predicate on the "pause_mode" field.

func PauseModeEqualFold

func PauseModeEqualFold(v string) predicate.SubscriptionPause

PauseModeEqualFold applies the EqualFold predicate on the "pause_mode" field.

func PauseModeGT

func PauseModeGT(v string) predicate.SubscriptionPause

PauseModeGT applies the GT predicate on the "pause_mode" field.

func PauseModeGTE

func PauseModeGTE(v string) predicate.SubscriptionPause

PauseModeGTE applies the GTE predicate on the "pause_mode" field.

func PauseModeHasPrefix

func PauseModeHasPrefix(v string) predicate.SubscriptionPause

PauseModeHasPrefix applies the HasPrefix predicate on the "pause_mode" field.

func PauseModeHasSuffix

func PauseModeHasSuffix(v string) predicate.SubscriptionPause

PauseModeHasSuffix applies the HasSuffix predicate on the "pause_mode" field.

func PauseModeIn

func PauseModeIn(vs ...string) predicate.SubscriptionPause

PauseModeIn applies the In predicate on the "pause_mode" field.

func PauseModeLT

func PauseModeLT(v string) predicate.SubscriptionPause

PauseModeLT applies the LT predicate on the "pause_mode" field.

func PauseModeLTE

func PauseModeLTE(v string) predicate.SubscriptionPause

PauseModeLTE applies the LTE predicate on the "pause_mode" field.

func PauseModeNEQ

func PauseModeNEQ(v string) predicate.SubscriptionPause

PauseModeNEQ applies the NEQ predicate on the "pause_mode" field.

func PauseModeNotIn

func PauseModeNotIn(vs ...string) predicate.SubscriptionPause

PauseModeNotIn applies the NotIn predicate on the "pause_mode" field.

func PauseStart

func PauseStart(v time.Time) predicate.SubscriptionPause

PauseStart applies equality check predicate on the "pause_start" field. It's identical to PauseStartEQ.

func PauseStartEQ

func PauseStartEQ(v time.Time) predicate.SubscriptionPause

PauseStartEQ applies the EQ predicate on the "pause_start" field.

func PauseStartGT

func PauseStartGT(v time.Time) predicate.SubscriptionPause

PauseStartGT applies the GT predicate on the "pause_start" field.

func PauseStartGTE

func PauseStartGTE(v time.Time) predicate.SubscriptionPause

PauseStartGTE applies the GTE predicate on the "pause_start" field.

func PauseStartIn

func PauseStartIn(vs ...time.Time) predicate.SubscriptionPause

PauseStartIn applies the In predicate on the "pause_start" field.

func PauseStartLT

func PauseStartLT(v time.Time) predicate.SubscriptionPause

PauseStartLT applies the LT predicate on the "pause_start" field.

func PauseStartLTE

func PauseStartLTE(v time.Time) predicate.SubscriptionPause

PauseStartLTE applies the LTE predicate on the "pause_start" field.

func PauseStartNEQ

func PauseStartNEQ(v time.Time) predicate.SubscriptionPause

PauseStartNEQ applies the NEQ predicate on the "pause_start" field.

func PauseStartNotIn

func PauseStartNotIn(vs ...time.Time) predicate.SubscriptionPause

PauseStartNotIn applies the NotIn predicate on the "pause_start" field.

func PauseStatus

func PauseStatus(v string) predicate.SubscriptionPause

PauseStatus applies equality check predicate on the "pause_status" field. It's identical to PauseStatusEQ.

func PauseStatusContains

func PauseStatusContains(v string) predicate.SubscriptionPause

PauseStatusContains applies the Contains predicate on the "pause_status" field.

func PauseStatusContainsFold

func PauseStatusContainsFold(v string) predicate.SubscriptionPause

PauseStatusContainsFold applies the ContainsFold predicate on the "pause_status" field.

func PauseStatusEQ

func PauseStatusEQ(v string) predicate.SubscriptionPause

PauseStatusEQ applies the EQ predicate on the "pause_status" field.

func PauseStatusEqualFold

func PauseStatusEqualFold(v string) predicate.SubscriptionPause

PauseStatusEqualFold applies the EqualFold predicate on the "pause_status" field.

func PauseStatusGT

func PauseStatusGT(v string) predicate.SubscriptionPause

PauseStatusGT applies the GT predicate on the "pause_status" field.

func PauseStatusGTE

func PauseStatusGTE(v string) predicate.SubscriptionPause

PauseStatusGTE applies the GTE predicate on the "pause_status" field.

func PauseStatusHasPrefix

func PauseStatusHasPrefix(v string) predicate.SubscriptionPause

PauseStatusHasPrefix applies the HasPrefix predicate on the "pause_status" field.

func PauseStatusHasSuffix

func PauseStatusHasSuffix(v string) predicate.SubscriptionPause

PauseStatusHasSuffix applies the HasSuffix predicate on the "pause_status" field.

func PauseStatusIn

func PauseStatusIn(vs ...string) predicate.SubscriptionPause

PauseStatusIn applies the In predicate on the "pause_status" field.

func PauseStatusLT

func PauseStatusLT(v string) predicate.SubscriptionPause

PauseStatusLT applies the LT predicate on the "pause_status" field.

func PauseStatusLTE

func PauseStatusLTE(v string) predicate.SubscriptionPause

PauseStatusLTE applies the LTE predicate on the "pause_status" field.

func PauseStatusNEQ

func PauseStatusNEQ(v string) predicate.SubscriptionPause

PauseStatusNEQ applies the NEQ predicate on the "pause_status" field.

func PauseStatusNotIn

func PauseStatusNotIn(vs ...string) predicate.SubscriptionPause

PauseStatusNotIn applies the NotIn predicate on the "pause_status" field.

func Reason

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

func ReasonContains

func ReasonContains(v string) predicate.SubscriptionPause

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

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.SubscriptionPause

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

func ReasonEQ

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

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.SubscriptionPause

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

func ReasonGT

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

func ReasonGTE

func ReasonGTE(v string) predicate.SubscriptionPause

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

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.SubscriptionPause

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

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.SubscriptionPause

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

func ReasonIn

func ReasonIn(vs ...string) predicate.SubscriptionPause

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

func ReasonIsNil

func ReasonIsNil() predicate.SubscriptionPause

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

func ReasonLT

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

func ReasonLTE

func ReasonLTE(v string) predicate.SubscriptionPause

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

func ReasonNEQ

func ReasonNEQ(v string) predicate.SubscriptionPause

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

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.SubscriptionPause

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

func ReasonNotNil

func ReasonNotNil() predicate.SubscriptionPause

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

func ResumeMode

func ResumeMode(v string) predicate.SubscriptionPause

ResumeMode applies equality check predicate on the "resume_mode" field. It's identical to ResumeModeEQ.

func ResumeModeContains

func ResumeModeContains(v string) predicate.SubscriptionPause

ResumeModeContains applies the Contains predicate on the "resume_mode" field.

func ResumeModeContainsFold

func ResumeModeContainsFold(v string) predicate.SubscriptionPause

ResumeModeContainsFold applies the ContainsFold predicate on the "resume_mode" field.

func ResumeModeEQ

func ResumeModeEQ(v string) predicate.SubscriptionPause

ResumeModeEQ applies the EQ predicate on the "resume_mode" field.

func ResumeModeEqualFold

func ResumeModeEqualFold(v string) predicate.SubscriptionPause

ResumeModeEqualFold applies the EqualFold predicate on the "resume_mode" field.

func ResumeModeGT

func ResumeModeGT(v string) predicate.SubscriptionPause

ResumeModeGT applies the GT predicate on the "resume_mode" field.

func ResumeModeGTE

func ResumeModeGTE(v string) predicate.SubscriptionPause

ResumeModeGTE applies the GTE predicate on the "resume_mode" field.

func ResumeModeHasPrefix

func ResumeModeHasPrefix(v string) predicate.SubscriptionPause

ResumeModeHasPrefix applies the HasPrefix predicate on the "resume_mode" field.

func ResumeModeHasSuffix

func ResumeModeHasSuffix(v string) predicate.SubscriptionPause

ResumeModeHasSuffix applies the HasSuffix predicate on the "resume_mode" field.

func ResumeModeIn

func ResumeModeIn(vs ...string) predicate.SubscriptionPause

ResumeModeIn applies the In predicate on the "resume_mode" field.

func ResumeModeIsNil

func ResumeModeIsNil() predicate.SubscriptionPause

ResumeModeIsNil applies the IsNil predicate on the "resume_mode" field.

func ResumeModeLT

func ResumeModeLT(v string) predicate.SubscriptionPause

ResumeModeLT applies the LT predicate on the "resume_mode" field.

func ResumeModeLTE

func ResumeModeLTE(v string) predicate.SubscriptionPause

ResumeModeLTE applies the LTE predicate on the "resume_mode" field.

func ResumeModeNEQ

func ResumeModeNEQ(v string) predicate.SubscriptionPause

ResumeModeNEQ applies the NEQ predicate on the "resume_mode" field.

func ResumeModeNotIn

func ResumeModeNotIn(vs ...string) predicate.SubscriptionPause

ResumeModeNotIn applies the NotIn predicate on the "resume_mode" field.

func ResumeModeNotNil

func ResumeModeNotNil() predicate.SubscriptionPause

ResumeModeNotNil applies the NotNil predicate on the "resume_mode" field.

func ResumedAt

func ResumedAt(v time.Time) predicate.SubscriptionPause

ResumedAt applies equality check predicate on the "resumed_at" field. It's identical to ResumedAtEQ.

func ResumedAtEQ

func ResumedAtEQ(v time.Time) predicate.SubscriptionPause

ResumedAtEQ applies the EQ predicate on the "resumed_at" field.

func ResumedAtGT

func ResumedAtGT(v time.Time) predicate.SubscriptionPause

ResumedAtGT applies the GT predicate on the "resumed_at" field.

func ResumedAtGTE

func ResumedAtGTE(v time.Time) predicate.SubscriptionPause

ResumedAtGTE applies the GTE predicate on the "resumed_at" field.

func ResumedAtIn

func ResumedAtIn(vs ...time.Time) predicate.SubscriptionPause

ResumedAtIn applies the In predicate on the "resumed_at" field.

func ResumedAtIsNil

func ResumedAtIsNil() predicate.SubscriptionPause

ResumedAtIsNil applies the IsNil predicate on the "resumed_at" field.

func ResumedAtLT

func ResumedAtLT(v time.Time) predicate.SubscriptionPause

ResumedAtLT applies the LT predicate on the "resumed_at" field.

func ResumedAtLTE

func ResumedAtLTE(v time.Time) predicate.SubscriptionPause

ResumedAtLTE applies the LTE predicate on the "resumed_at" field.

func ResumedAtNEQ

func ResumedAtNEQ(v time.Time) predicate.SubscriptionPause

ResumedAtNEQ applies the NEQ predicate on the "resumed_at" field.

func ResumedAtNotIn

func ResumedAtNotIn(vs ...time.Time) predicate.SubscriptionPause

ResumedAtNotIn applies the NotIn predicate on the "resumed_at" field.

func ResumedAtNotNil

func ResumedAtNotNil() predicate.SubscriptionPause

ResumedAtNotNil applies the NotNil predicate on the "resumed_at" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.SubscriptionPause

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.SubscriptionPause

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.SubscriptionPause

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.SubscriptionPause

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.SubscriptionPause

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.SubscriptionPause

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.SubscriptionPause

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.SubscriptionPause

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.SubscriptionPause

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.SubscriptionPause

StatusNotIn applies the NotIn predicate on the "status" field.

func SubscriptionID

func SubscriptionID(v string) predicate.SubscriptionPause

SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.SubscriptionPause

SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.SubscriptionPause

SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.SubscriptionPause

SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.SubscriptionPause

SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.SubscriptionPause

SubscriptionIDGT applies the GT predicate on the "subscription_id" field.

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.SubscriptionPause

SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.SubscriptionPause

SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.SubscriptionPause

SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.

func SubscriptionIDIn

func SubscriptionIDIn(vs ...string) predicate.SubscriptionPause

SubscriptionIDIn applies the In predicate on the "subscription_id" field.

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.SubscriptionPause

SubscriptionIDLT applies the LT predicate on the "subscription_id" field.

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.SubscriptionPause

SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.SubscriptionPause

SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.

func SubscriptionIDNotIn

func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionPause

SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.

func TenantID

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.SubscriptionPause

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.SubscriptionPause

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.SubscriptionPause

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.SubscriptionPause

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.SubscriptionPause

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.SubscriptionPause

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.SubscriptionPause

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.SubscriptionPause

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.SubscriptionPause

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.SubscriptionPause

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.SubscriptionPause

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.SubscriptionPause

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.SubscriptionPause

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SubscriptionPause

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.SubscriptionPause

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.SubscriptionPause

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SubscriptionPause

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.SubscriptionPause

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SubscriptionPause

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.SubscriptionPause

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.SubscriptionPause

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SubscriptionPause

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SubscriptionPause

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SubscriptionPause

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.SubscriptionPause

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.SubscriptionPause

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.SubscriptionPause

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SubscriptionPause

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SubscriptionPause queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByID

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

ByID orders the results by the id field.

func ByOriginalPeriodEnd

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

ByOriginalPeriodEnd orders the results by the original_period_end field.

func ByOriginalPeriodStart

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

ByOriginalPeriodStart orders the results by the original_period_start field.

func ByPauseEnd

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

ByPauseEnd orders the results by the pause_end field.

func ByPauseMode

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

ByPauseMode orders the results by the pause_mode field.

func ByPauseStart

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

ByPauseStart orders the results by the pause_start field.

func ByPauseStatus

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

ByPauseStatus orders the results by the pause_status field.

func ByReason

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

ByReason orders the results by the reason field.

func ByResumeMode

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

ByResumeMode orders the results by the resume_mode field.

func ByResumedAt

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

ByResumedAt orders the results by the resumed_at field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySubscriptionField

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

BySubscriptionField orders the results by subscription field.

func BySubscriptionID

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

BySubscriptionID orders the results by the subscription_id field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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