SetNillableReferenceCount sets the "reference_count" field if the given value is not nil.
(i *int)
| 95 | |
| 96 | // SetNillableReferenceCount sets the "reference_count" field if the given value is not nil. |
| 97 | func (ec *EntityCreate) SetNillableReferenceCount(i *int) *EntityCreate { |
| 98 | if i != nil { |
| 99 | ec.SetReferenceCount(*i) |
| 100 | } |
| 101 | return ec |
| 102 | } |
| 103 | |
| 104 | // SetStoragePolicyEntities sets the "storage_policy_entities" field. |
| 105 | func (ec *EntityCreate) SetStoragePolicyEntities(i int) *EntityCreate { |
nothing calls this directly
no test coverage detected