Versions in this module Expand all Collapse all v0 v0.20.0 Dec 9, 2025 Changes in this version + func Bool(b bool) param.Opt[bool] + func BoolPtr(v bool) *bool + func DefaultClientOptions() []option.RequestOption + func File(rdr io.Reader, filename string, contentType string) file + func Float(f float64) param.Opt[float64] + func FloatPtr(v float64) *float64 + func Int(i int64) param.Opt[int64] + func IntPtr(v int64) *int64 + func Opt[T comparable](v T) param.Opt[T] + func Ptr[T any](v T) *T + func String(s string) param.Opt[string] + func StringPtr(v string) *string + func Time(t time.Time) param.Opt[time.Time] + func TimePtr(v time.Time) *time.Time + type Client struct + Options []option.RequestOption + func NewClient(opts ...option.RequestOption) (r Client) + func (r *Client) Delete(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Execute(ctx context.Context, method string, path string, params any, res any, ...) error + func (r *Client) FormTest(ctx context.Context, userID string, params FormTestParams, ...) (err error) + func (r *Client) Get(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) JsonTest(ctx context.Context, userID string, params JsonTestParams, ...) (err error) + func (r *Client) ListFoos(ctx context.Context, query ListFoosParams, opts ...option.RequestOption) (res *pagination.PageNumber[ListFoosResponse], err error) + func (r *Client) ListFoosAutoPaging(ctx context.Context, query ListFoosParams, opts ...option.RequestOption) *pagination.PageNumberAutoPager[ListFoosResponse] + func (r *Client) Patch(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Post(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) Put(ctx context.Context, path string, params any, res any, ...) error + func (r *Client) UpdateCount(ctx context.Context, body UpdateCountParams, opts ...option.RequestOption) (err error) + type Error = apierror.Error + type FormTestParams struct + Blorp param.Opt[string] + Date time.Time + Datetime time.Time + Filter FormTestParamsFilter + Limit param.Opt[int64] + Preferences FormTestParamsPreferences + Tags []string + Time string + Version int64 + XFlags []string + XTraceID param.Opt[string] + func (r FormTestParams) MarshalMultipart() (data []byte, contentType string, err error) + func (r FormTestParams) URLQuery() (v url.Values, err error) + type FormTestParamsFilter struct + Meta FormTestParamsFilterMeta + Status param.Opt[string] + func (r FormTestParamsFilter) URLQuery() (v url.Values, err error) + type FormTestParamsFilterMeta struct + Level param.Opt[int64] + func (r FormTestParamsFilterMeta) URLQuery() (v url.Values, err error) + type FormTestParamsPreferences struct + Alerts param.Opt[bool] + Theme param.Opt[string] + func (r *FormTestParamsPreferences) UnmarshalJSON(data []byte) error + func (r FormTestParamsPreferences) MarshalJSON() (data []byte, err error) + type JsonTestParams struct + Blorp param.Opt[string] + Date time.Time + Datetime time.Time + Filter JsonTestParamsFilter + Limit param.Opt[int64] + Preferences JsonTestParamsPreferences + Tags []string + Time string + Version int64 + XFlags []string + XTraceID param.Opt[string] + func (r *JsonTestParams) UnmarshalJSON(data []byte) error + func (r JsonTestParams) MarshalJSON() (data []byte, err error) + func (r JsonTestParams) URLQuery() (v url.Values, err error) + type JsonTestParamsFilter struct + Meta JsonTestParamsFilterMeta + Status param.Opt[string] + func (r JsonTestParamsFilter) URLQuery() (v url.Values, err error) + type JsonTestParamsFilterMeta struct + Level param.Opt[int64] + func (r JsonTestParamsFilterMeta) URLQuery() (v url.Values, err error) + type JsonTestParamsPreferences struct + Alerts param.Opt[bool] + Theme param.Opt[string] + func (r *JsonTestParamsPreferences) UnmarshalJSON(data []byte) error + func (r JsonTestParamsPreferences) MarshalJSON() (data []byte, err error) + type ListFoosParams struct + Page param.Opt[int64] + Size param.Opt[int64] + Tags []string + func (r ListFoosParams) URLQuery() (v url.Values, err error) + type ListFoosResponse struct + Baz int64 + Foo string + JSON struct{ ... } + func (r *ListFoosResponse) UnmarshalJSON(data []byte) error + func (r ListFoosResponse) RawJSON() string + type UpdateCountParams struct + Body int64 + func (r *UpdateCountParams) UnmarshalJSON(data []byte) error + func (r UpdateCountParams) MarshalJSON() (data []byte, err error)