Documentation ¶
Index ¶
- type ContactEmailCallbackWithBuilder
- type ContactEmailMutationBuilder
- func (b *ContactEmailMutationBuilder) Entity() ent.Entity
- func (b *ContactEmailMutationBuilder) ExistingEnt() ent.Entity
- func (b *ContactEmailMutationBuilder) GetChangeset() (ent.Changeset, error)
- func (b *ContactEmailMutationBuilder) GetContactEmail() *models.ContactEmail
- func (b *ContactEmailMutationBuilder) GetContactID() string
- func (b *ContactEmailMutationBuilder) GetContactIDBuilder() ent.MutationBuilder
- func (b *ContactEmailMutationBuilder) GetEmailAddress() string
- func (b *ContactEmailMutationBuilder) GetFields() ent.FieldMap
- func (b *ContactEmailMutationBuilder) GetLabel() string
- func (b *ContactEmailMutationBuilder) GetOperation() ent.WriteOperation
- func (b *ContactEmailMutationBuilder) GetPlaceholderID() string
- func (b *ContactEmailMutationBuilder) GetViewer() viewer.ViewerContext
- func (b *ContactEmailMutationBuilder) SetContactID(contactID string) *ContactEmailMutationBuilder
- func (b *ContactEmailMutationBuilder) SetContactIDBuilder(builder ent.MutationBuilder) *ContactEmailMutationBuilder
- func (b *ContactEmailMutationBuilder) SetEmailAddress(emailAddress string) *ContactEmailMutationBuilder
- func (b *ContactEmailMutationBuilder) SetLabel(label string) *ContactEmailMutationBuilder
- func (b *ContactEmailMutationBuilder) SetObservers(observers []actions.Observer)
- func (b *ContactEmailMutationBuilder) SetTriggers(triggers []actions.Trigger)
- func (b *ContactEmailMutationBuilder) SetValidators(validators []actions.Validator)
- func (b *ContactEmailMutationBuilder) Validate() error
- type ContactEmailMutationCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactEmailCallbackWithBuilder ¶
type ContactEmailCallbackWithBuilder interface {
SetBuilder(*ContactEmailMutationBuilder)
}
type ContactEmailMutationBuilder ¶
type ContactEmailMutationBuilder struct {
// contains filtered or unexported fields
}
func NewMutationBuilder ¶
func NewMutationBuilder( v viewer.ViewerContext, operation ent.WriteOperation, requiredFields []string, opts ...func(*actions.EntMutationBuilder), ) *ContactEmailMutationBuilder
func (*ContactEmailMutationBuilder) Entity ¶
func (b *ContactEmailMutationBuilder) Entity() ent.Entity
func (*ContactEmailMutationBuilder) ExistingEnt ¶
func (b *ContactEmailMutationBuilder) ExistingEnt() ent.Entity
func (*ContactEmailMutationBuilder) GetChangeset ¶
func (b *ContactEmailMutationBuilder) GetChangeset() (ent.Changeset, error)
TODO rename from GetChangeset to Build() A Builder builds.
func (*ContactEmailMutationBuilder) GetContactEmail ¶
func (b *ContactEmailMutationBuilder) GetContactEmail() *models.ContactEmail
func (*ContactEmailMutationBuilder) GetContactID ¶
func (b *ContactEmailMutationBuilder) GetContactID() string
func (*ContactEmailMutationBuilder) GetContactIDBuilder ¶
func (b *ContactEmailMutationBuilder) GetContactIDBuilder() ent.MutationBuilder
func (*ContactEmailMutationBuilder) GetEmailAddress ¶
func (b *ContactEmailMutationBuilder) GetEmailAddress() string
func (*ContactEmailMutationBuilder) GetFields ¶
func (b *ContactEmailMutationBuilder) GetFields() ent.FieldMap
GetFields returns the field configuration for this mutation builder
func (*ContactEmailMutationBuilder) GetLabel ¶
func (b *ContactEmailMutationBuilder) GetLabel() string
func (*ContactEmailMutationBuilder) GetOperation ¶
func (b *ContactEmailMutationBuilder) GetOperation() ent.WriteOperation
func (*ContactEmailMutationBuilder) GetPlaceholderID ¶
func (b *ContactEmailMutationBuilder) GetPlaceholderID() string
func (*ContactEmailMutationBuilder) GetViewer ¶
func (b *ContactEmailMutationBuilder) GetViewer() viewer.ViewerContext
func (*ContactEmailMutationBuilder) SetContactID ¶
func (b *ContactEmailMutationBuilder) SetContactID(contactID string) *ContactEmailMutationBuilder
func (*ContactEmailMutationBuilder) SetContactIDBuilder ¶
func (b *ContactEmailMutationBuilder) SetContactIDBuilder(builder ent.MutationBuilder) *ContactEmailMutationBuilder
func (*ContactEmailMutationBuilder) SetEmailAddress ¶
func (b *ContactEmailMutationBuilder) SetEmailAddress(emailAddress string) *ContactEmailMutationBuilder
func (*ContactEmailMutationBuilder) SetLabel ¶
func (b *ContactEmailMutationBuilder) SetLabel(label string) *ContactEmailMutationBuilder
func (*ContactEmailMutationBuilder) SetObservers ¶
func (b *ContactEmailMutationBuilder) SetObservers(observers []actions.Observer)
SetObservers sets the builder on the observers.
func (*ContactEmailMutationBuilder) SetTriggers ¶
func (b *ContactEmailMutationBuilder) SetTriggers(triggers []actions.Trigger)
SetTriggers sets the builder on the triggers.
func (*ContactEmailMutationBuilder) SetValidators ¶
func (b *ContactEmailMutationBuilder) SetValidators(validators []actions.Validator)
SetValidators sets the builder on validators.
func (*ContactEmailMutationBuilder) Validate ¶
func (b *ContactEmailMutationBuilder) Validate() error
Call Validate (should be Valid) at any point to validate that builder is valid
type ContactEmailMutationCallback ¶
type ContactEmailMutationCallback struct {
Builder *ContactEmailMutationBuilder
}
func (*ContactEmailMutationCallback) SetBuilder ¶
func (callback *ContactEmailMutationCallback) SetBuilder(b *ContactEmailMutationBuilder)
Click to show internal directories.
Click to hide internal directories.