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

# Functions

NewCancelFeedRequest generates requests for CancelFeed.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateFeedDocumentRequest calls the generic CreateFeedDocument builder with application/json body.
NewCreateFeedDocumentRequestWithBody generates requests for CreateFeedDocument with any type of body.
NewCreateFeedRequest calls the generic CreateFeed builder with application/json body.
NewCreateFeedRequestWithBody generates requests for CreateFeed with any type of body.
NewGetFeedDocumentRequest generates requests for GetFeedDocument.
NewGetFeedRequest generates requests for GetFeed.
NewGetFeedsRequest generates requests for GetFeeds.
ParseCancelFeedResp parses an HTTP response from a CancelFeedWithResponse call.
ParseCreateFeedDocumentResp parses an HTTP response from a CreateFeedDocumentWithResponse call.
ParseCreateFeedResp parses an HTTP response from a CreateFeedWithResponse call.
ParseGetFeedDocumentResp parses an HTTP response from a GetFeedDocumentWithResponse call.
ParseGetFeedResp parses an HTTP response from a GetFeedWithResponse call.
ParseGetFeedsResp parses an HTTP response from a GetFeedsWithResponse 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

No description provided by the author
CancelFeedResponse defines model for CancelFeedResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
CreateFeedDocumentResponse defines model for CreateFeedDocumentResponse.
CreateFeedDocumentResult defines model for CreateFeedDocumentResult.
CreateFeedDocumentSpecification defines model for CreateFeedDocumentSpecification.
No description provided by the author
CreateFeedResponse defines model for CreateFeedResponse.
CreateFeedResult defines model for CreateFeedResult.
CreateFeedSpecification defines model for CreateFeedSpecification.
Error defines model for Error.
Feed defines model for Feed.
FeedDocument defines model for FeedDocument.
FeedDocumentEncryptionDetails defines model for FeedDocumentEncryptionDetails.
FeedOptions defines model for FeedOptions.
No description provided by the author
GetFeedDocumentResponse defines model for GetFeedDocumentResponse.
No description provided by the author
GetFeedResponse defines model for GetFeedResponse.
GetFeedsParams defines parameters for GetFeeds.
No description provided by the author
GetFeedsResponse defines model for GetFeedsResponse.

# 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.
CreateFeedDocumentJSONBody defines parameters for CreateFeedDocument.
CreateFeedDocumentRequestBody defines body for CreateFeedDocument for application/json ContentType.
CreateFeedJSONBody defines parameters for CreateFeed.
CreateFeedRequestBody defines body for CreateFeed for application/json ContentType.
ErrorList defines model for ErrorList.
FeedList defines model for FeedList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.