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

Method SetAccessKey

ent/storagepolicy_create.go:127–130  ·  view source on GitHub ↗

SetAccessKey sets the "access_key" field.

(s string)

Source from the content-addressed store, hash-verified

125
126// SetAccessKey sets the "access_key" field.
127func (spc *StoragePolicyCreate) SetAccessKey(s string) *StoragePolicyCreate {
128 spc.mutation.SetAccessKey(s)
129 return spc
130}
131
132// SetNillableAccessKey sets the "access_key" field if the given value is not nil.
133func (spc *StoragePolicyCreate) SetNillableAccessKey(s *string) *StoragePolicyCreate {

Callers 1

SetNillableAccessKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected