SetSecretKey sets the "secret_key" field.
(s string)
| 139 | |
| 140 | // SetSecretKey sets the "secret_key" field. |
| 141 | func (spc *StoragePolicyCreate) SetSecretKey(s string) *StoragePolicyCreate { |
| 142 | spc.mutation.SetSecretKey(s) |
| 143 | return spc |
| 144 | } |
| 145 | |
| 146 | // SetNillableSecretKey sets the "secret_key" field if the given value is not nil. |
| 147 | func (spc *StoragePolicyCreate) SetNillableSecretKey(s *string) *StoragePolicyCreate { |
no outgoing calls
no test coverage detected