SetNillableAccessKey sets the "access_key" field if the given value is not nil.
(s *string)
| 131 | |
| 132 | // SetNillableAccessKey sets the "access_key" field if the given value is not nil. |
| 133 | func (spc *StoragePolicyCreate) SetNillableAccessKey(s *string) *StoragePolicyCreate { |
| 134 | if s != nil { |
| 135 | spc.SetAccessKey(*s) |
| 136 | } |
| 137 | return spc |
| 138 | } |
| 139 | |
| 140 | // SetSecretKey sets the "secret_key" field. |
| 141 | func (spc *StoragePolicyCreate) SetSecretKey(s string) *StoragePolicyCreate { |
nothing calls this directly
no test coverage detected