MCPcopy
hub / github.com/cloudreve/cloudreve / SetIsEnabled

Method SetIsEnabled

ent/mutation.go:8742–8744  ·  view source on GitHub ↗

SetIsEnabled sets the "is_enabled" field.

(b bool)

Source from the content-addressed store, hash-verified

8740
8741// SetIsEnabled sets the "is_enabled" field.
8742func (m *OAuthClientMutation) SetIsEnabled(b bool) {
8743 m.is_enabled = &b
8744}
8745
8746// IsEnabled returns the value of the "is_enabled" field in the mutation.
8747func (m *OAuthClientMutation) IsEnabled() (r bool, exists bool) {

Callers 5

SetFieldMethod · 0.95
CreateMethod · 0.45
UpdateMethod · 0.45
migrateOAuthClientiOSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected