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