SetNillableServer sets the "server" field if the given value is not nil.
(s *string)
| 89 | |
| 90 | // SetNillableServer sets the "server" field if the given value is not nil. |
| 91 | func (spc *StoragePolicyCreate) SetNillableServer(s *string) *StoragePolicyCreate { |
| 92 | if s != nil { |
| 93 | spc.SetServer(*s) |
| 94 | } |
| 95 | return spc |
| 96 | } |
| 97 | |
| 98 | // SetBucketName sets the "bucket_name" field. |
| 99 | func (spc *StoragePolicyCreate) SetBucketName(s string) *StoragePolicyCreate { |