docs: func (s *Segment) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "Segment"}
  	if s.SegmentNumber == nil {
  		invalidParams.Add(request.NewErrParamRequired("SegmentNumber"))
  	}
  	if s.TotalSegments == nil {
  		invalidParams.Add(request.NewErrParamRequired("TotalSegments"))
  	}
  	if s.TotalSegments != nil && *s.TotalSegments < 1 {
  		invalidParams.Add(request.NewErrParamMinValue("TotalSegments", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }