SetFileNameRule sets the "file_name_rule" field.
(s string)
| 920 | |
| 921 | // SetFileNameRule sets the "file_name_rule" field. |
| 922 | func (spuo *StoragePolicyUpdateOne) SetFileNameRule(s string) *StoragePolicyUpdateOne { |
| 923 | spuo.mutation.SetFileNameRule(s) |
| 924 | return spuo |
| 925 | } |
| 926 | |
| 927 | // SetNillableFileNameRule sets the "file_name_rule" field if the given value is not nil. |
| 928 | func (spuo *StoragePolicyUpdateOne) SetNillableFileNameRule(s *string) *StoragePolicyUpdateOne { |
no test coverage detected