MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetType

Method SetType

ent/task_create.go:558–562  ·  view source on GitHub ↗

SetType sets the "type" field.

(v string)

Source from the content-addressed store, hash-verified

556
557// SetType sets the "type" field.
558func (u *TaskUpsertOne) SetType(v string) *TaskUpsertOne {
559 return u.Update(func(s *TaskUpsert) {
560 s.SetType(v)
561 })
562}
563
564// UpdateType sets the "type" field to the value that was provided on create.
565func (u *TaskUpsertOne) UpdateType() *TaskUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected