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

Method SetNillableGUID

ent/oauthclient_update.go:430–435  ·  view source on GitHub ↗

SetNillableGUID sets the "guid" field if the given value is not nil.

(s *string)

Source from the content-addressed store, hash-verified

428
429// SetNillableGUID sets the "guid" field if the given value is not nil.
430func (ocuo *OAuthClientUpdateOne) SetNillableGUID(s *string) *OAuthClientUpdateOne {
431 if s != nil {
432 ocuo.SetGUID(*s)
433 }
434 return ocuo
435}
436
437// SetSecret sets the "secret" field.
438func (ocuo *OAuthClientUpdateOne) SetSecret(s string) *OAuthClientUpdateOne {

Callers

nothing calls this directly

Calls 1

SetGUIDMethod · 0.95

Tested by

no test coverage detected