docs: func (s *HlsOutputSettings) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "HlsOutputSettings"}
  	if s.HlsSettings == nil {
  		invalidParams.Add(request.NewErrParamRequired("HlsSettings"))
  	}
  	if s.NameModifier != nil && len(*s.NameModifier) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("NameModifier", 1))
  	}
  	if s.HlsSettings != nil {
  		if err := s.HlsSettings.Validate(); err != nil {
  			invalidParams.AddNested("HlsSettings", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }