docs: func (s *InputLossBehavior) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "InputLossBehavior"}
  	if s.InputLossImageColor != nil && len(*s.InputLossImageColor) < 6 {
  		invalidParams.Add(request.NewErrParamMinLen("InputLossImageColor", 6))
  	}
  	if s.InputLossImageSlate != nil {
  		if err := s.InputLossImageSlate.Validate(); err != nil {
  			invalidParams.AddNested("InputLossImageSlate", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }