SetFileNameRule sets the "file_name_rule" field.
(v string)
| 730 | |
| 731 | // SetFileNameRule sets the "file_name_rule" field. |
| 732 | func (u *StoragePolicyUpsert) SetFileNameRule(v string) *StoragePolicyUpsert { |
| 733 | u.Set(storagepolicy.FieldFileNameRule, v) |
| 734 | return u |
| 735 | } |
| 736 | |
| 737 | // UpdateFileNameRule sets the "file_name_rule" field to the value that was provided on create. |
| 738 | func (u *StoragePolicyUpsert) UpdateFileNameRule() *StoragePolicyUpsert { |