func (client *Client) GetIndexSetStatsContext(
	ctx context.Context, id string,
) (*graylog.IndexSetStats, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	indexSetStats := &graylog.IndexSetStats{}
	u, err := client.Endpoints().IndexSetStats(id)
	if err != nil {
		return nil, nil, err
	}
	ei, err := client.callGet(
		ctx, u.String(), nil, indexSetStats)
	return indexSetStats, ei, err
}
// GetIndexSetStatsContext returns a given Index Set statistics with a context.
GetIndexSetStatsContext returns a given Index Set statistics with a context.
// GetIndexSetStatsContext returns a given Index Set statistics with a context .
func (client *Client) GetIndexSetStatsContext(
	ctx context.Context, id string,
) (*graylog.IndexSetStats, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	indexSetStats := &graylog.IndexSetStats{}
	u, err := client.Endpoints().IndexSetStats(id)
	if err != nil {
		return nil, nil, err
	}
	ei, err := client.callGet(
		ctx, u.String(), nil, indexSetStats)
	return indexSetStats, ei, err
}
func ( client * Client ) GetIndexSetStatsContext ( ctx context . Context , id string , ) ( * graylog . IndexSetStats , * ErrorInfo , error ) { if id == " " { return nil , nil , errors . New ( " " ) } indexSetStats := & graylog . IndexSetStats { } u , err := client . Endpoints ( ) . IndexSetStats ( id ) if err != nil { return nil , nil , err } ei , err := client . callGet ( ctx , u . String ( ) , nil , indexSetStats ) return indexSetStats , ei , err }
GetIndexSetStatsContext returns a given Index Set statistics with a context.
GetIndexSetStatsContext returns a given Index Set statistics with a context .