func NewClient(service ihttp.Service) *Client {
	client := Client{
		service: service,
	}
	return &client
}
Creates a new Client, with reasonable defaults
package domain
import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"net/url"
	"strings"
	"gopkg.in/yaml.v2"
	"github.com/deepmap/oapi-codegen/pkg/runtime"
	ihttp "github.com/influxdata/influxdb-client-go/v2/api/http"
)
type Client struct {
	service ihttp.Service
}