Versions in this module Expand all Collapse all v2 v2.0.3 Feb 23, 2025 Changes in this version type Client + func NewClientWithVersion(baseUrl string, credentials sdkgen.CredentialsInterface, version string) (*Client, error) v2.0.2 Nov 5, 2024 Changes in this version + type BinaryException struct + Payload []byte + Previous error + func (e *BinaryException) Error() string + type Client struct + func Build(token string) (*Client, error) + func BuildAnonymous() (*Client, error) + func NewClient(baseUrl string, credentials sdkgen.CredentialsInterface) (*Client, error) + func (client *Client) Product() *ProductTag + type FormException struct + Payload url.Values + Previous error + func (e *FormException) Error() string + type JsonException struct + Payload any + Previous error + func (e *JsonException) Error() string + type MultipartException struct + Payload *sdkgen.Multipart + Previous error + func (e *MultipartException) Error() string + type ProductTag struct + func NewProductTag(httpClient *http.Client, parser *sdkgen.Parser) *ProductTag + func (client *ProductTag) Binary(payload []byte) (TestResponse, error) + func (client *ProductTag) Create(payload TestRequest) (TestResponse, error) + func (client *ProductTag) Delete(id int) (TestResponse, error) + func (client *ProductTag) Form(payload url.Values) (TestResponse, error) + func (client *ProductTag) GetAll(startIndex int, count int, search string) (TestResponse, error) + func (client *ProductTag) Json(payload any) (TestResponse, error) + func (client *ProductTag) Multipart(payload *sdkgen.Multipart) (TestResponse, error) + func (client *ProductTag) Patch(id int, payload TestRequest) (TestResponse, error) + func (client *ProductTag) Text(payload string) (TestResponse, error) + func (client *ProductTag) Update(id int, payload TestRequest) (TestResponse, error) + func (client *ProductTag) Xml(payload string) (TestResponse, error) + type TestMapObject = map[string]TestObject + type TestMapScalar = map[string]string + type TestObject struct + Id int + Name string + type TestRequest struct + ArrayObject []TestObject + ArrayScalar []string + Bool bool + DateString string + DateTimeString string + Float float64 + Int int + MapObject *TestMapObject + MapScalar *TestMapScalar + Object *TestObject + String string + TimeString string + type TestResponse struct + Args *TestMapScalar + Data string + Files *TestMapScalar + Form *TestMapScalar + Headers *TestMapScalar + Json *TestRequest + Method string + type TestResponseException struct + Payload TestResponse + Previous error + func (e *TestResponseException) Error() string + type TextException struct + Payload string + Previous error + func (e *TextException) Error() string + type XmlException struct + Payload string + Previous error + func (e *XmlException) Error() string