// Code generated by ent, DO NOT EDIT. package idempotencyrecord import ( "time" "entgo.io/ent/dialect/sql" "github.com/Wei-Shaw/sub2api/ent/predicate" ) // ID filters vertices based on their ID field. func ID(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int64) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldID, id)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldCreatedAt, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldUpdatedAt, v)) } // Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ. func Scope(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldScope, v)) } // IdempotencyKeyHash applies equality check predicate on the "idempotency_key_hash" field. It's identical to IdempotencyKeyHashEQ. func IdempotencyKeyHash(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldIdempotencyKeyHash, v)) } // RequestFingerprint applies equality check predicate on the "request_fingerprint" field. It's identical to RequestFingerprintEQ. func RequestFingerprint(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldRequestFingerprint, v)) } // Status applies equality check predicate on the "status" field. It's identical to StatusEQ. func Status(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldStatus, v)) } // ResponseStatus applies equality check predicate on the "response_status" field. It's identical to ResponseStatusEQ. func ResponseStatus(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseStatus, v)) } // ResponseBody applies equality check predicate on the "response_body" field. It's identical to ResponseBodyEQ. func ResponseBody(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseBody, v)) } // ErrorReason applies equality check predicate on the "error_reason" field. It's identical to ErrorReasonEQ. func ErrorReason(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldErrorReason, v)) } // LockedUntil applies equality check predicate on the "locked_until" field. It's identical to LockedUntilEQ. func LockedUntil(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldLockedUntil, v)) } // ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ. func ExpiresAt(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldExpiresAt, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldUpdatedAt, v)) } // ScopeEQ applies the EQ predicate on the "scope" field. func ScopeEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldScope, v)) } // ScopeNEQ applies the NEQ predicate on the "scope" field. func ScopeNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldScope, v)) } // ScopeIn applies the In predicate on the "scope" field. func ScopeIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldScope, vs...)) } // ScopeNotIn applies the NotIn predicate on the "scope" field. func ScopeNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldScope, vs...)) } // ScopeGT applies the GT predicate on the "scope" field. func ScopeGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldScope, v)) } // ScopeGTE applies the GTE predicate on the "scope" field. func ScopeGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldScope, v)) } // ScopeLT applies the LT predicate on the "scope" field. func ScopeLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldScope, v)) } // ScopeLTE applies the LTE predicate on the "scope" field. func ScopeLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldScope, v)) } // ScopeContains applies the Contains predicate on the "scope" field. func ScopeContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldScope, v)) } // ScopeHasPrefix applies the HasPrefix predicate on the "scope" field. func ScopeHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldScope, v)) } // ScopeHasSuffix applies the HasSuffix predicate on the "scope" field. func ScopeHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldScope, v)) } // ScopeEqualFold applies the EqualFold predicate on the "scope" field. func ScopeEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldScope, v)) } // ScopeContainsFold applies the ContainsFold predicate on the "scope" field. func ScopeContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldScope, v)) } // IdempotencyKeyHashEQ applies the EQ predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashNEQ applies the NEQ predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashIn applies the In predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldIdempotencyKeyHash, vs...)) } // IdempotencyKeyHashNotIn applies the NotIn predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldIdempotencyKeyHash, vs...)) } // IdempotencyKeyHashGT applies the GT predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashGTE applies the GTE predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashLT applies the LT predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashLTE applies the LTE predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashContains applies the Contains predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashHasPrefix applies the HasPrefix predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashHasSuffix applies the HasSuffix predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashEqualFold applies the EqualFold predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldIdempotencyKeyHash, v)) } // IdempotencyKeyHashContainsFold applies the ContainsFold predicate on the "idempotency_key_hash" field. func IdempotencyKeyHashContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldIdempotencyKeyHash, v)) } // RequestFingerprintEQ applies the EQ predicate on the "request_fingerprint" field. func RequestFingerprintEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldRequestFingerprint, v)) } // RequestFingerprintNEQ applies the NEQ predicate on the "request_fingerprint" field. func RequestFingerprintNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldRequestFingerprint, v)) } // RequestFingerprintIn applies the In predicate on the "request_fingerprint" field. func RequestFingerprintIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldRequestFingerprint, vs...)) } // RequestFingerprintNotIn applies the NotIn predicate on the "request_fingerprint" field. func RequestFingerprintNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldRequestFingerprint, vs...)) } // RequestFingerprintGT applies the GT predicate on the "request_fingerprint" field. func RequestFingerprintGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldRequestFingerprint, v)) } // RequestFingerprintGTE applies the GTE predicate on the "request_fingerprint" field. func RequestFingerprintGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldRequestFingerprint, v)) } // RequestFingerprintLT applies the LT predicate on the "request_fingerprint" field. func RequestFingerprintLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldRequestFingerprint, v)) } // RequestFingerprintLTE applies the LTE predicate on the "request_fingerprint" field. func RequestFingerprintLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldRequestFingerprint, v)) } // RequestFingerprintContains applies the Contains predicate on the "request_fingerprint" field. func RequestFingerprintContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldRequestFingerprint, v)) } // RequestFingerprintHasPrefix applies the HasPrefix predicate on the "request_fingerprint" field. func RequestFingerprintHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldRequestFingerprint, v)) } // RequestFingerprintHasSuffix applies the HasSuffix predicate on the "request_fingerprint" field. func RequestFingerprintHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldRequestFingerprint, v)) } // RequestFingerprintEqualFold applies the EqualFold predicate on the "request_fingerprint" field. func RequestFingerprintEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldRequestFingerprint, v)) } // RequestFingerprintContainsFold applies the ContainsFold predicate on the "request_fingerprint" field. func RequestFingerprintContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldRequestFingerprint, v)) } // StatusEQ applies the EQ predicate on the "status" field. func StatusEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldStatus, v)) } // StatusNEQ applies the NEQ predicate on the "status" field. func StatusNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldStatus, v)) } // StatusIn applies the In predicate on the "status" field. func StatusIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldStatus, vs...)) } // StatusNotIn applies the NotIn predicate on the "status" field. func StatusNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldStatus, vs...)) } // StatusGT applies the GT predicate on the "status" field. func StatusGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldStatus, v)) } // StatusGTE applies the GTE predicate on the "status" field. func StatusGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldStatus, v)) } // StatusLT applies the LT predicate on the "status" field. func StatusLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldStatus, v)) } // StatusLTE applies the LTE predicate on the "status" field. func StatusLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldStatus, v)) } // StatusContains applies the Contains predicate on the "status" field. func StatusContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldStatus, v)) } // StatusHasPrefix applies the HasPrefix predicate on the "status" field. func StatusHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldStatus, v)) } // StatusHasSuffix applies the HasSuffix predicate on the "status" field. func StatusHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldStatus, v)) } // StatusEqualFold applies the EqualFold predicate on the "status" field. func StatusEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldStatus, v)) } // StatusContainsFold applies the ContainsFold predicate on the "status" field. func StatusContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldStatus, v)) } // ResponseStatusEQ applies the EQ predicate on the "response_status" field. func ResponseStatusEQ(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseStatus, v)) } // ResponseStatusNEQ applies the NEQ predicate on the "response_status" field. func ResponseStatusNEQ(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldResponseStatus, v)) } // ResponseStatusIn applies the In predicate on the "response_status" field. func ResponseStatusIn(vs ...int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldResponseStatus, vs...)) } // ResponseStatusNotIn applies the NotIn predicate on the "response_status" field. func ResponseStatusNotIn(vs ...int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldResponseStatus, vs...)) } // ResponseStatusGT applies the GT predicate on the "response_status" field. func ResponseStatusGT(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldResponseStatus, v)) } // ResponseStatusGTE applies the GTE predicate on the "response_status" field. func ResponseStatusGTE(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldResponseStatus, v)) } // ResponseStatusLT applies the LT predicate on the "response_status" field. func ResponseStatusLT(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldResponseStatus, v)) } // ResponseStatusLTE applies the LTE predicate on the "response_status" field. func ResponseStatusLTE(v int) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldResponseStatus, v)) } // ResponseStatusIsNil applies the IsNil predicate on the "response_status" field. func ResponseStatusIsNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIsNull(FieldResponseStatus)) } // ResponseStatusNotNil applies the NotNil predicate on the "response_status" field. func ResponseStatusNotNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotNull(FieldResponseStatus)) } // ResponseBodyEQ applies the EQ predicate on the "response_body" field. func ResponseBodyEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseBody, v)) } // ResponseBodyNEQ applies the NEQ predicate on the "response_body" field. func ResponseBodyNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldResponseBody, v)) } // ResponseBodyIn applies the In predicate on the "response_body" field. func ResponseBodyIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldResponseBody, vs...)) } // ResponseBodyNotIn applies the NotIn predicate on the "response_body" field. func ResponseBodyNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldResponseBody, vs...)) } // ResponseBodyGT applies the GT predicate on the "response_body" field. func ResponseBodyGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldResponseBody, v)) } // ResponseBodyGTE applies the GTE predicate on the "response_body" field. func ResponseBodyGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldResponseBody, v)) } // ResponseBodyLT applies the LT predicate on the "response_body" field. func ResponseBodyLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldResponseBody, v)) } // ResponseBodyLTE applies the LTE predicate on the "response_body" field. func ResponseBodyLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldResponseBody, v)) } // ResponseBodyContains applies the Contains predicate on the "response_body" field. func ResponseBodyContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldResponseBody, v)) } // ResponseBodyHasPrefix applies the HasPrefix predicate on the "response_body" field. func ResponseBodyHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldResponseBody, v)) } // ResponseBodyHasSuffix applies the HasSuffix predicate on the "response_body" field. func ResponseBodyHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldResponseBody, v)) } // ResponseBodyIsNil applies the IsNil predicate on the "response_body" field. func ResponseBodyIsNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIsNull(FieldResponseBody)) } // ResponseBodyNotNil applies the NotNil predicate on the "response_body" field. func ResponseBodyNotNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotNull(FieldResponseBody)) } // ResponseBodyEqualFold applies the EqualFold predicate on the "response_body" field. func ResponseBodyEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldResponseBody, v)) } // ResponseBodyContainsFold applies the ContainsFold predicate on the "response_body" field. func ResponseBodyContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldResponseBody, v)) } // ErrorReasonEQ applies the EQ predicate on the "error_reason" field. func ErrorReasonEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldErrorReason, v)) } // ErrorReasonNEQ applies the NEQ predicate on the "error_reason" field. func ErrorReasonNEQ(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldErrorReason, v)) } // ErrorReasonIn applies the In predicate on the "error_reason" field. func ErrorReasonIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldErrorReason, vs...)) } // ErrorReasonNotIn applies the NotIn predicate on the "error_reason" field. func ErrorReasonNotIn(vs ...string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldErrorReason, vs...)) } // ErrorReasonGT applies the GT predicate on the "error_reason" field. func ErrorReasonGT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldErrorReason, v)) } // ErrorReasonGTE applies the GTE predicate on the "error_reason" field. func ErrorReasonGTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldErrorReason, v)) } // ErrorReasonLT applies the LT predicate on the "error_reason" field. func ErrorReasonLT(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldErrorReason, v)) } // ErrorReasonLTE applies the LTE predicate on the "error_reason" field. func ErrorReasonLTE(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldErrorReason, v)) } // ErrorReasonContains applies the Contains predicate on the "error_reason" field. func ErrorReasonContains(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContains(FieldErrorReason, v)) } // ErrorReasonHasPrefix applies the HasPrefix predicate on the "error_reason" field. func ErrorReasonHasPrefix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldErrorReason, v)) } // ErrorReasonHasSuffix applies the HasSuffix predicate on the "error_reason" field. func ErrorReasonHasSuffix(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldErrorReason, v)) } // ErrorReasonIsNil applies the IsNil predicate on the "error_reason" field. func ErrorReasonIsNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIsNull(FieldErrorReason)) } // ErrorReasonNotNil applies the NotNil predicate on the "error_reason" field. func ErrorReasonNotNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotNull(FieldErrorReason)) } // ErrorReasonEqualFold applies the EqualFold predicate on the "error_reason" field. func ErrorReasonEqualFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldErrorReason, v)) } // ErrorReasonContainsFold applies the ContainsFold predicate on the "error_reason" field. func ErrorReasonContainsFold(v string) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldErrorReason, v)) } // LockedUntilEQ applies the EQ predicate on the "locked_until" field. func LockedUntilEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldLockedUntil, v)) } // LockedUntilNEQ applies the NEQ predicate on the "locked_until" field. func LockedUntilNEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldLockedUntil, v)) } // LockedUntilIn applies the In predicate on the "locked_until" field. func LockedUntilIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldLockedUntil, vs...)) } // LockedUntilNotIn applies the NotIn predicate on the "locked_until" field. func LockedUntilNotIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldLockedUntil, vs...)) } // LockedUntilGT applies the GT predicate on the "locked_until" field. func LockedUntilGT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldLockedUntil, v)) } // LockedUntilGTE applies the GTE predicate on the "locked_until" field. func LockedUntilGTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldLockedUntil, v)) } // LockedUntilLT applies the LT predicate on the "locked_until" field. func LockedUntilLT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldLockedUntil, v)) } // LockedUntilLTE applies the LTE predicate on the "locked_until" field. func LockedUntilLTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldLockedUntil, v)) } // LockedUntilIsNil applies the IsNil predicate on the "locked_until" field. func LockedUntilIsNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIsNull(FieldLockedUntil)) } // LockedUntilNotNil applies the NotNil predicate on the "locked_until" field. func LockedUntilNotNil() predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotNull(FieldLockedUntil)) } // ExpiresAtEQ applies the EQ predicate on the "expires_at" field. func ExpiresAtEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldEQ(FieldExpiresAt, v)) } // ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field. func ExpiresAtNEQ(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNEQ(FieldExpiresAt, v)) } // ExpiresAtIn applies the In predicate on the "expires_at" field. func ExpiresAtIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldIn(FieldExpiresAt, vs...)) } // ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field. func ExpiresAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldNotIn(FieldExpiresAt, vs...)) } // ExpiresAtGT applies the GT predicate on the "expires_at" field. func ExpiresAtGT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGT(FieldExpiresAt, v)) } // ExpiresAtGTE applies the GTE predicate on the "expires_at" field. func ExpiresAtGTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldGTE(FieldExpiresAt, v)) } // ExpiresAtLT applies the LT predicate on the "expires_at" field. func ExpiresAtLT(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLT(FieldExpiresAt, v)) } // ExpiresAtLTE applies the LTE predicate on the "expires_at" field. func ExpiresAtLTE(v time.Time) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.FieldLTE(FieldExpiresAt, v)) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.IdempotencyRecord) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.IdempotencyRecord) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.IdempotencyRecord) predicate.IdempotencyRecord { return predicate.IdempotencyRecord(sql.NotPredicates(p)) }