docs: func (s *InputAttachment) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "InputAttachment"}
  	if s.InputSettings != nil {
  		if err := s.InputSettings.Validate(); err != nil {
  			invalidParams.AddNested("InputSettings", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }