func (client *Client) CreateIndexSetContext(
	ctx context.Context, is *graylog.IndexSet,
) (*ErrorInfo, error) {
	if is == nil {
		return nil, fmt.Errorf("index set is nil")
	}
	is.SetCreateDefaultValues()

	return client.callPost(ctx, client.Endpoints().IndexSets(), is, is)
}
// CreateIndexSetContext creates a Index Set with a context.
CreateIndexSetContext creates a Index Set with a context.
// CreateIndexSetContext creates a Index Set with a context .
func (client *Client) CreateIndexSetContext(
	ctx context.Context, is *graylog.IndexSet,
) (*ErrorInfo, error) {
	if is == nil {
		return nil, fmt.Errorf("index set is nil")
	}
	is.SetCreateDefaultValues()
	return client.callPost(ctx, client.Endpoints().IndexSets(), is, is)
}
func ( client * Client ) CreateIndexSetContext ( ctx context . Context , is * graylog . IndexSet , ) ( * ErrorInfo , error ) { if is == nil { return nil , fmt . Errorf ( " " ) } is . SetCreateDefaultValues ( ) return client . callPost ( ctx , client . Endpoints ( ) . IndexSets ( ) , is , is ) }
CreateIndexSetContext creates a Index Set with a context.
CreateIndexSetContext creates a Index Set with a context .