SetNillableSecretKey sets the "secret_key" field if the given value is not nil.
(s *string)
| 145 | |
| 146 | // SetNillableSecretKey sets the "secret_key" field if the given value is not nil. |
| 147 | func (spc *StoragePolicyCreate) SetNillableSecretKey(s *string) *StoragePolicyCreate { |
| 148 | if s != nil { |
| 149 | spc.SetSecretKey(*s) |
| 150 | } |
| 151 | return spc |
| 152 | } |
| 153 | |
| 154 | // SetMaxSize sets the "max_size" field. |
| 155 | func (spc *StoragePolicyCreate) SetMaxSize(i int64) *StoragePolicyCreate { |
nothing calls this directly
no test coverage detected