vsphere/internal/helper/structure/structure_helper.go
func SetInt64Ptr(d *schema.ResourceData, key string, val *int64) error {
	if val == nil {
		return nil
	}
	err := d.Set(key, val)
	return err
}
func SetInt64Ptr(d *schema.ResourceData, key string, val *int64) error {
	if val == nil {
		return nil
	}
	err := d.Set(key, val)
	return err
}
func SetInt64Ptr ( d * schema . ResourceData , key string , val * int64 ) error { if val == nil { return nil } err := d . Set ( key , val ) return err }
// SetInt64Ptr sets a ResourceData field depending on if an *int64 exists or
// not.  The field is not set if it's nil.
SetInt64Ptr sets a ResourceData field depending on if an * int64 exists or not . The field is not set if it s nil .