code: func (env *EnvironmentItemModel) FillMissingDefaults() error {
  	options, err := env.GetOptions()
  	if err != nil {
  		return err
  	}
  	if options.Title == nil {
  		options.Title = pointers.NewStringPtr("")
  	}
  	if options.Description == nil {
  		options.Description = pointers.NewStringPtr("")
  	}
  	if options.Summary == nil {
  		options.Summary = pointers.NewStringPtr("")
  	}
  	if options.Category == nil {
  		options.Category = pointers.NewStringPtr("")
  	}
  	if options.ValueOptions == nil {
  		options.ValueOptions = []string{}
  	}
  	if options.IsRequired == nil {
  		options.IsRequired = pointers.NewBoolPtr(DefaultIsRequired)
  	}
  	if options.IsExpand == nil {
  		options.IsExpand = pointers.NewBoolPtr(DefaultIsExpand)
  	}
  	if options.IsSensitive == nil {
  		options.IsSensitive = pointers.NewBoolPtr(DefaultIsSensitive)
  	}
  	if options.IsDontChangeValue == nil {
  		options.IsDontChangeValue = pointers.NewBoolPtr(DefaultIsDontChangeValue)
  	}
  	if options.IsTemplate == nil {
  		options.IsTemplate = pointers.NewBoolPtr(DefaultIsTemplate)
  	}
  	if options.SkipIfEmpty == nil {
  		options.SkipIfEmpty = pointers.NewBoolPtr(DefaultSkipIfEmpty)
  	}
  	if options.Meta == nil {
  		options.Meta = map[string]interface{}{}
  	}
  	if options.Unset == nil {
  		options.Unset = pointers.NewBoolPtr(DefaultUnset)
  	}
  
  	(*env)[OptionsKey] = options
  	return nil
  }
docs: // FillMissingDefaults ...