docs: func (s *CreateScriptInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreateScriptInput"}
  	if s.DagEdges != nil {
  		for i, v := range s.DagEdges {
  			if v == nil {
  				continue
  			}
  			if err := v.Validate(); err != nil {
  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagEdges", i), err.(request.ErrInvalidParams))
  			}
  		}
  	}
  	if s.DagNodes != nil {
  		for i, v := range s.DagNodes {
  			if v == nil {
  				continue
  			}
  			if err := v.Validate(); err != nil {
  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DagNodes", i), err.(request.ErrInvalidParams))
  			}
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }