SetFileNameRule sets the "file_name_rule" field.
(s string)
| 181 | |
| 182 | // SetFileNameRule sets the "file_name_rule" field. |
| 183 | func (spc *StoragePolicyCreate) SetFileNameRule(s string) *StoragePolicyCreate { |
| 184 | spc.mutation.SetFileNameRule(s) |
| 185 | return spc |
| 186 | } |
| 187 | |
| 188 | // SetNillableFileNameRule sets the "file_name_rule" field if the given value is not nil. |
| 189 | func (spc *StoragePolicyCreate) SetNillableFileNameRule(s *string) *StoragePolicyCreate { |
no outgoing calls
no test coverage detected