SetFileNameRule sets the "file_name_rule" field.
(v string)
| 1046 | |
| 1047 | // SetFileNameRule sets the "file_name_rule" field. |
| 1048 | func (u *StoragePolicyUpsertOne) SetFileNameRule(v string) *StoragePolicyUpsertOne { |
| 1049 | return u.Update(func(s *StoragePolicyUpsert) { |
| 1050 | s.SetFileNameRule(v) |
| 1051 | }) |
| 1052 | } |
| 1053 | |
| 1054 | // UpdateFileNameRule sets the "file_name_rule" field to the value that was provided on create. |
| 1055 | func (u *StoragePolicyUpsertOne) UpdateFileNameRule() *StoragePolicyUpsertOne { |