Versions in this module Expand all Collapse all v1 v1.12.5 Apr 19, 2023 Changes in this version + const OpenIdScopes + func NewGetBothRequest(server string) (*http.Request, error) + func NewGetJsonRequest(server string) (*http.Request, error) + func NewGetJsonWithTrailingSlashRequest(server string) (*http.Request, error) + func NewGetOtherRequest(server string) (*http.Request, error) + func NewPostBothRequest(server string, body PostBothJSONRequestBody) (*http.Request, error) + func NewPostBothRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostJsonRequest(server string, body PostJsonJSONRequestBody) (*http.Request, error) + func NewPostJsonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostOtherRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostVendorJsonRequest(server string, body PostVendorJsonJSONRequestBody) (*http.Request, error) + func NewPostVendorJsonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetBoth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetJson(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetJsonWithTrailingSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetOther(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PostBoth(ctx context.Context, body PostBothJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostBothWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostJson(ctx context.Context, body PostJsonJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostJsonWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostOtherWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostVendorJson(ctx context.Context, body PostVendorJsonJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PostVendorJsonWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + GetBoth func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetJson func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetJsonWithTrailingSlash func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetOther func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PostBoth func(ctx context.Context, body PostBothJSONRequestBody, ...) (*http.Response, error) + PostBothWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostJson func(ctx context.Context, body PostJsonJSONRequestBody, ...) (*http.Response, error) + PostJsonWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostOtherWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PostVendorJson func(ctx context.Context, body PostVendorJsonJSONRequestBody, ...) (*http.Response, error) + PostVendorJsonWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetBothWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBothResponse, error) + func (c *ClientWithResponses) GetJsonWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetJsonResponse, error) + func (c *ClientWithResponses) GetJsonWithTrailingSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetJsonWithTrailingSlashResponse, error) + func (c *ClientWithResponses) GetOtherWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOtherResponse, error) + func (c *ClientWithResponses) PostBothWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostBothResponse, error) + func (c *ClientWithResponses) PostBothWithResponse(ctx context.Context, body PostBothJSONRequestBody, ...) (*PostBothResponse, error) + func (c *ClientWithResponses) PostJsonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostJsonResponse, error) + func (c *ClientWithResponses) PostJsonWithResponse(ctx context.Context, body PostJsonJSONRequestBody, ...) (*PostJsonResponse, error) + func (c *ClientWithResponses) PostOtherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostOtherResponse, error) + func (c *ClientWithResponses) PostVendorJsonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVendorJsonResponse, error) + func (c *ClientWithResponses) PostVendorJsonWithResponse(ctx context.Context, body PostVendorJsonJSONRequestBody, ...) (*PostVendorJsonResponse, error) + type ClientWithResponsesInterface interface + GetBothWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBothResponse, error) + GetJsonWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetJsonResponse, error) + GetJsonWithTrailingSlashWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetJsonWithTrailingSlashResponse, error) + GetOtherWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOtherResponse, error) + PostBothWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostBothResponse, error) + PostBothWithResponse func(ctx context.Context, body PostBothJSONRequestBody, ...) (*PostBothResponse, error) + PostJsonWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostJsonResponse, error) + PostJsonWithResponse func(ctx context.Context, body PostJsonJSONRequestBody, ...) (*PostJsonResponse, error) + PostOtherWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostOtherResponse, error) + PostVendorJsonWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PostVendorJsonResponse, error) + PostVendorJsonWithResponse func(ctx context.Context, body PostVendorJsonJSONRequestBody, ...) (*PostVendorJsonResponse, error) + type GetBothResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetBothResponse(rsp *http.Response) (*GetBothResponse, error) + func (r GetBothResponse) Status() string + func (r GetBothResponse) StatusCode() int + type GetJsonResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetJsonResponse(rsp *http.Response) (*GetJsonResponse, error) + func (r GetJsonResponse) Status() string + func (r GetJsonResponse) StatusCode() int + type GetJsonWithTrailingSlashResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetJsonWithTrailingSlashResponse(rsp *http.Response) (*GetJsonWithTrailingSlashResponse, error) + func (r GetJsonWithTrailingSlashResponse) Status() string + func (r GetJsonWithTrailingSlashResponse) StatusCode() int + type GetOtherResponse struct + Body []byte + HTTPResponse *http.Response + func ParseGetOtherResponse(rsp *http.Response) (*GetOtherResponse, error) + func (r GetOtherResponse) Status() string + func (r GetOtherResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type PostBothJSONRequestBody = SchemaObject + type PostBothResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostBothResponse(rsp *http.Response) (*PostBothResponse, error) + func (r PostBothResponse) Status() string + func (r PostBothResponse) StatusCode() int + type PostJsonJSONRequestBody = SchemaObject + type PostJsonResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostJsonResponse(rsp *http.Response) (*PostJsonResponse, error) + func (r PostJsonResponse) Status() string + func (r PostJsonResponse) StatusCode() int + type PostOtherResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostOtherResponse(rsp *http.Response) (*PostOtherResponse, error) + func (r PostOtherResponse) Status() string + func (r PostOtherResponse) StatusCode() int + type PostVendorJsonJSONBody = map[string]interface + type PostVendorJsonJSONRequestBody = PostVendorJsonJSONBody + type PostVendorJsonResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePostVendorJsonResponse(rsp *http.Response) (*PostVendorJsonResponse, error) + func (r PostVendorJsonResponse) Status() string + func (r PostVendorJsonResponse) StatusCode() int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type SchemaObject struct + FirstName string + Role string