docs: func (s *UserDefinedFunctionInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "UserDefinedFunctionInput"}
  	if s.ClassName != nil && len(*s.ClassName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("ClassName", 1))
  	}
  	if s.FunctionName != nil && len(*s.FunctionName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1))
  	}
  	if s.OwnerName != nil && len(*s.OwnerName) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("OwnerName", 1))
  	}
  	if s.ResourceUris != nil {
  		for i, v := range s.ResourceUris {
  			if v == nil {
  				continue
  			}
  			if err := v.Validate(); err != nil {
  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceUris", i), err.(request.ErrInvalidParams))
  			}
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }