SetNillableStoragePolicyFiles sets the "storage_policy_files" field if the given value is not nil.
(i *int)
| 145 | |
| 146 | // SetNillableStoragePolicyFiles sets the "storage_policy_files" field if the given value is not nil. |
| 147 | func (fc *FileCreate) SetNillableStoragePolicyFiles(i *int) *FileCreate { |
| 148 | if i != nil { |
| 149 | fc.SetStoragePolicyFiles(*i) |
| 150 | } |
| 151 | return fc |
| 152 | } |
| 153 | |
| 154 | // SetOwner sets the "owner" edge to the User entity. |
| 155 | func (fc *FileCreate) SetOwner(u *User) *FileCreate { |
nothing calls this directly
no test coverage detected