package
0.0.0-20240405104727-3fc460ca096e
Repository: https://github.com/brandedtech/sp-api-sdk.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateUploadDestinationForResourceRequest generates requests for CreateUploadDestinationForResource.
ParseCreateUploadDestinationForResourceResp parses an HTTP response from a CreateUploadDestinationForResourceWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestBefore allows setting up a callback function, which will be called right before sending the request.
WithResponseAfter allows setting up a callback function, which will be called right after get response the request.
WithUserAgent set up useragent add user agent to every request automatically.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CreateUploadDestinationForResourceParams defines parameters for CreateUploadDestinationForResource.
No description provided by the author
CreateUploadDestinationResponse defines model for CreateUploadDestinationResponse.
Error defines model for Error.
UploadDestination defines model for UploadDestination.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
ErrorList defines model for ErrorList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.