func (a *Client) GetRelationTuples(params *GetRelationTuplesParams, opts ...ClientOption) (*GetRelationTuplesOK, error) {
	if params == nil {
		params = NewGetRelationTuplesParams()
	}
	op := &runtime.ClientOperation{
		ID:                 "getRelationTuples",
		Method:             "GET",
		PathPattern:        "/relation-tuples",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/x-www-form-urlencoded"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetRelationTuplesReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	}
	for _, opt := range opts {
		opt(op)
	}
	result, err := a.transport.Submit(op)
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetRelationTuplesOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for getRelationTuples: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
/*
GetRelationTuples queries relation tuples

Get all relation tuples that match the query. Only the namespace field is required.
package read
import (
	"fmt"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
type ClientOption func(*runtime.ClientOperation)
type ClientService interface {
	GetCheck(params *GetCheckParams, opts ...ClientOption) (*GetCheckOK, error)
	GetExpand(params *GetExpandParams, opts ...ClientOption) (*GetExpandOK, error)
	GetRelationTuples(params *GetRelationTuplesParams, opts ...ClientOption) (*GetRelationTuplesOK, error)
	PostCheck(params *PostCheckParams, opts ...ClientOption) (*PostCheckOK, error)
	SetTransport(transport runtime.ClientTransport)
}
func (a *Client) GetCheck(params *GetCheckParams, opts ...ClientOption) (*GetCheckOK, error) {
	if params == nil {
		params = NewGetCheckParams()
	}
	op := &runtime.ClientOperation{
		ID:                 "getCheck",
		Method:             "GET",
		PathPattern:        "/check",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/x-www-form-urlencoded"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetCheckReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	}
	for _, opt := range opts {
		opt(op)
	}
	result, err := a.transport.Submit(op)
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetCheckOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for getCheck: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetExpand(params *GetExpandParams, opts ...ClientOption) (*GetExpandOK, error) {
	if params == nil {
		params = NewGetExpandParams()
	}
	op := &runtime.ClientOperation{
		ID:                 "getExpand",
		Method:             "GET",
		PathPattern:        "/expand",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/x-www-form-urlencoded"},
		Schemes:            []string{"http", "https"},
		Params:             params,
		Reader:             &GetExpandReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	}
	for _, opt := range opts {
		opt(op)
	}
	result, err := a.transport.Submit(op)
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetExpandOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for getExpand: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}