Documentation
¶
Overview ¶
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- Constants
- func NewBlendAsyncPostRequest(server string, body BlendAsyncPostJSONRequestBody) (*http.Request, error)
- func NewBlendAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBlendSyncPostRequest(server string, body BlendSyncPostJSONRequestBody) (*http.Request, error)
- func NewBlendSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBlurAsyncGetRequest(server string, params *BlurAsyncGetParams) (*http.Request, error)
- func NewBlurAsyncPostRequestWithBody(server string, params *BlurAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewBlurSyncGetRequest(server string, params *BlurSyncGetParams) (*http.Request, error)
- func NewBlurSyncPostRequestWithBody(server string, params *BlurSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewBlurhashAsyncGetRequest(server string, params *BlurhashAsyncGetParams) (*http.Request, error)
- func NewBlurhashAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBlurhashSyncGetRequest(server string, params *BlurhashSyncGetParams) (*http.Request, error)
- func NewBlurhashSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBlurpartialAsyncGetRequest(server string, params *BlurpartialAsyncGetParams) (*http.Request, error)
- func NewBlurpartialAsyncPostRequestWithBody(server string, params *BlurpartialAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewBlurpartialSyncGetRequest(server string, params *BlurpartialSyncGetParams) (*http.Request, error)
- func NewBlurpartialSyncPostRequestWithBody(server string, params *BlurpartialSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewBrightnessAsyncGetRequest(server string, params *BrightnessAsyncGetParams) (*http.Request, error)
- func NewBrightnessAsyncPostRequestWithBody(server string, params *BrightnessAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewBrightnessSyncGetRequest(server string, params *BrightnessSyncGetParams) (*http.Request, error)
- func NewBrightnessSyncPostRequestWithBody(server string, params *BrightnessSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewCompressAsyncGetRequest(server string, params *CompressAsyncGetParams) (*http.Request, error)
- func NewCompressAsyncPostRequestWithBody(server string, params *CompressAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewCompressSyncGetRequest(server string, params *CompressSyncGetParams) (*http.Request, error)
- func NewCompressSyncPostRequestWithBody(server string, params *CompressSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewConcatAsyncPostRequest(server string, body ConcatAsyncPostJSONRequestBody) (*http.Request, error)
- func NewConcatAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConcatSyncPostRequest(server string, body ConcatSyncPostJSONRequestBody) (*http.Request, error)
- func NewConcatSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewContrastAsyncGetRequest(server string, params *ContrastAsyncGetParams) (*http.Request, error)
- func NewContrastAsyncPostRequestWithBody(server string, params *ContrastAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewContrastSyncGetRequest(server string, params *ContrastSyncGetParams) (*http.Request, error)
- func NewContrastSyncPostRequestWithBody(server string, params *ContrastSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewConvertAsyncGetRequest(server string, params *ConvertAsyncGetParams) (*http.Request, error)
- func NewConvertAsyncPostRequestWithBody(server string, params *ConvertAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewConvertSyncGetRequest(server string, params *ConvertSyncGetParams) (*http.Request, error)
- func NewConvertSyncPostRequestWithBody(server string, params *ConvertSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewCropAsyncGetRequest(server string, params *CropAsyncGetParams) (*http.Request, error)
- func NewCropAsyncPostRequestWithBody(server string, params *CropAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCropSyncGetRequest(server string, params *CropSyncGetParams) (*http.Request, error)
- func NewCropSyncPostRequestWithBody(server string, params *CropSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewEqualizeAsyncGetRequest(server string, params *EqualizeAsyncGetParams) (*http.Request, error)
- func NewEqualizeAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEqualizeSyncGetRequest(server string, params *EqualizeSyncGetParams) (*http.Request, error)
- func NewEqualizeSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGrayscaleAsyncGetRequest(server string, params *GrayscaleAsyncGetParams) (*http.Request, error)
- func NewGrayscaleAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGrayscaleSyncGetRequest(server string, params *GrayscaleSyncGetParams) (*http.Request, error)
- func NewGrayscaleSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewImageinfoSyncGetRequest(server string, params *ImageinfoSyncGetParams) (*http.Request, error)
- func NewImageinfoSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPipelineGetRequest(server string, name string, params *PipelineGetParams) (*http.Request, error)
- func NewPipelineGetStatusRequest(server string, executionId string) (*http.Request, error)
- func NewPipelinePostRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewResizeAsyncGetRequest(server string, params *ResizeAsyncGetParams) (*http.Request, error)
- func NewResizeAsyncPostRequestWithBody(server string, params *ResizeAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewResizeSyncGetRequest(server string, params *ResizeSyncGetParams) (*http.Request, error)
- func NewResizeSyncPostRequestWithBody(server string, params *ResizeSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewRotateAsyncGetRequest(server string, params *RotateAsyncGetParams) (*http.Request, error)
- func NewRotateAsyncPostRequestWithBody(server string, params *RotateAsyncPostParams, contentType string, ...) (*http.Request, error)
- func NewRotateSyncGetRequest(server string, params *RotateSyncGetParams) (*http.Request, error)
- func NewRotateSyncPostRequestWithBody(server string, params *RotateSyncPostParams, contentType string, ...) (*http.Request, error)
- func NewTextAsyncGetRequest(server string, params *TextAsyncGetParams) (*http.Request, error)
- func NewTextAsyncPostRequestWithBody(server string, params *TextAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- func NewTextSyncGetRequest(server string, params *TextSyncGetParams) (*http.Request, error)
- func NewTextSyncPostRequestWithBody(server string, params *TextSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
- type BlendAsyncPostJSONRequestBody
- type BlendAsyncPostResponse
- type BlendRequest
- type BlendRequestMode
- type BlendRequestTargetFormat
- type BlendSyncPostJSONRequestBody
- type BlendSyncPostResponse
- type BlurAsyncGetParams
- type BlurAsyncGetResponse
- type BlurAsyncPostParams
- type BlurAsyncPostResponse
- type BlurSyncGetParams
- type BlurSyncGetResponse
- type BlurSyncPostParams
- type BlurSyncPostResponse
- type BlurhashAsyncGetParams
- type BlurhashAsyncGetResponse
- type BlurhashAsyncPostResponse
- type BlurhashSyncGetParams
- type BlurhashSyncGetResponse
- type BlurhashSyncPostResponse
- type BlurpartialAsyncGetParams
- type BlurpartialAsyncGetResponse
- type BlurpartialAsyncPostParams
- type BlurpartialAsyncPostResponse
- type BlurpartialSyncGetParams
- type BlurpartialSyncGetResponse
- type BlurpartialSyncPostParams
- type BlurpartialSyncPostResponse
- type BrightnessAsyncGetParams
- type BrightnessAsyncGetResponse
- type BrightnessAsyncPostParams
- type BrightnessAsyncPostResponse
- type BrightnessSyncGetParams
- type BrightnessSyncGetResponse
- type BrightnessSyncPostParams
- type BrightnessSyncPostResponse
- type Client
- func (c *Client) BlendAsyncPost(ctx context.Context, body BlendAsyncPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BlendAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BlendSyncPost(ctx context.Context, body BlendSyncPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BlendSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BlurAsyncGet(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BlurAsyncPostWithBody(ctx context.Context, params *BlurAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BlurSyncGet(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BlurSyncPostWithBody(ctx context.Context, params *BlurSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BlurhashAsyncGet(ctx context.Context, params *BlurhashAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) BlurhashAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BlurhashSyncGet(ctx context.Context, params *BlurhashSyncGetParams, ...) (*http.Response, error)
- func (c *Client) BlurhashSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BlurpartialAsyncGet(ctx context.Context, params *BlurpartialAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) BlurpartialAsyncPostWithBody(ctx context.Context, params *BlurpartialAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BlurpartialSyncGet(ctx context.Context, params *BlurpartialSyncGetParams, ...) (*http.Response, error)
- func (c *Client) BlurpartialSyncPostWithBody(ctx context.Context, params *BlurpartialSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BrightnessAsyncGet(ctx context.Context, params *BrightnessAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) BrightnessAsyncPostWithBody(ctx context.Context, params *BrightnessAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BrightnessSyncGet(ctx context.Context, params *BrightnessSyncGetParams, ...) (*http.Response, error)
- func (c *Client) BrightnessSyncPostWithBody(ctx context.Context, params *BrightnessSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CompressAsyncGet(ctx context.Context, params *CompressAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) CompressAsyncPostWithBody(ctx context.Context, params *CompressAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CompressSyncGet(ctx context.Context, params *CompressSyncGetParams, ...) (*http.Response, error)
- func (c *Client) CompressSyncPostWithBody(ctx context.Context, params *CompressSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ConcatAsyncPost(ctx context.Context, body ConcatAsyncPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConcatAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConcatSyncPost(ctx context.Context, body ConcatSyncPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConcatSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ContrastAsyncGet(ctx context.Context, params *ContrastAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) ContrastAsyncPostWithBody(ctx context.Context, params *ContrastAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ContrastSyncGet(ctx context.Context, params *ContrastSyncGetParams, ...) (*http.Response, error)
- func (c *Client) ContrastSyncPostWithBody(ctx context.Context, params *ContrastSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ConvertAsyncGet(ctx context.Context, params *ConvertAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) ConvertAsyncPostWithBody(ctx context.Context, params *ConvertAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ConvertSyncGet(ctx context.Context, params *ConvertSyncGetParams, ...) (*http.Response, error)
- func (c *Client) ConvertSyncPostWithBody(ctx context.Context, params *ConvertSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CropAsyncGet(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CropAsyncPostWithBody(ctx context.Context, params *CropAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CropSyncGet(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CropSyncPostWithBody(ctx context.Context, params *CropSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) EqualizeAsyncGet(ctx context.Context, params *EqualizeAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) EqualizeAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EqualizeSyncGet(ctx context.Context, params *EqualizeSyncGetParams, ...) (*http.Response, error)
- func (c *Client) EqualizeSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GrayscaleAsyncGet(ctx context.Context, params *GrayscaleAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) GrayscaleAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GrayscaleSyncGet(ctx context.Context, params *GrayscaleSyncGetParams, ...) (*http.Response, error)
- func (c *Client) GrayscaleSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ImageinfoSyncGet(ctx context.Context, params *ImageinfoSyncGetParams, ...) (*http.Response, error)
- func (c *Client) ImageinfoSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PipelineGet(ctx context.Context, name string, params *PipelineGetParams, ...) (*http.Response, error)
- func (c *Client) PipelineGetStatus(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PipelinePostWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResizeAsyncGet(ctx context.Context, params *ResizeAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) ResizeAsyncPostWithBody(ctx context.Context, params *ResizeAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ResizeSyncGet(ctx context.Context, params *ResizeSyncGetParams, ...) (*http.Response, error)
- func (c *Client) ResizeSyncPostWithBody(ctx context.Context, params *ResizeSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RotateAsyncGet(ctx context.Context, params *RotateAsyncGetParams, ...) (*http.Response, error)
- func (c *Client) RotateAsyncPostWithBody(ctx context.Context, params *RotateAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RotateSyncGet(ctx context.Context, params *RotateSyncGetParams, ...) (*http.Response, error)
- func (c *Client) RotateSyncPostWithBody(ctx context.Context, params *RotateSyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) TextAsyncGet(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TextAsyncPostWithBody(ctx context.Context, params *TextAsyncPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) TextSyncGet(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TextSyncPostWithBody(ctx context.Context, params *TextSyncPostParams, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) BlendAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BlendAsyncPostResponse, error)
- func (c *ClientWithResponses) BlendAsyncPostWithResponse(ctx context.Context, body BlendAsyncPostJSONRequestBody, ...) (*BlendAsyncPostResponse, error)
- func (c *ClientWithResponses) BlendSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BlendSyncPostResponse, error)
- func (c *ClientWithResponses) BlendSyncPostWithResponse(ctx context.Context, body BlendSyncPostJSONRequestBody, ...) (*BlendSyncPostResponse, error)
- func (c *ClientWithResponses) BlurAsyncGetWithResponse(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurAsyncGetResponse, error)
- func (c *ClientWithResponses) BlurAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurAsyncPostParams, contentType string, ...) (*BlurAsyncPostResponse, error)
- func (c *ClientWithResponses) BlurSyncGetWithResponse(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*BlurSyncGetResponse, error)
- func (c *ClientWithResponses) BlurSyncPostWithBodyWithResponse(ctx context.Context, params *BlurSyncPostParams, contentType string, ...) (*BlurSyncPostResponse, error)
- func (c *ClientWithResponses) BlurhashAsyncGetWithResponse(ctx context.Context, params *BlurhashAsyncGetParams, ...) (*BlurhashAsyncGetResponse, error)
- func (c *ClientWithResponses) BlurhashAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BlurhashAsyncPostResponse, error)
- func (c *ClientWithResponses) BlurhashSyncGetWithResponse(ctx context.Context, params *BlurhashSyncGetParams, ...) (*BlurhashSyncGetResponse, error)
- func (c *ClientWithResponses) BlurhashSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BlurhashSyncPostResponse, error)
- func (c *ClientWithResponses) BlurpartialAsyncGetWithResponse(ctx context.Context, params *BlurpartialAsyncGetParams, ...) (*BlurpartialAsyncGetResponse, error)
- func (c *ClientWithResponses) BlurpartialAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialAsyncPostParams, contentType string, ...) (*BlurpartialAsyncPostResponse, error)
- func (c *ClientWithResponses) BlurpartialSyncGetWithResponse(ctx context.Context, params *BlurpartialSyncGetParams, ...) (*BlurpartialSyncGetResponse, error)
- func (c *ClientWithResponses) BlurpartialSyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialSyncPostParams, contentType string, ...) (*BlurpartialSyncPostResponse, error)
- func (c *ClientWithResponses) BrightnessAsyncGetWithResponse(ctx context.Context, params *BrightnessAsyncGetParams, ...) (*BrightnessAsyncGetResponse, error)
- func (c *ClientWithResponses) BrightnessAsyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessAsyncPostParams, contentType string, ...) (*BrightnessAsyncPostResponse, error)
- func (c *ClientWithResponses) BrightnessSyncGetWithResponse(ctx context.Context, params *BrightnessSyncGetParams, ...) (*BrightnessSyncGetResponse, error)
- func (c *ClientWithResponses) BrightnessSyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessSyncPostParams, contentType string, ...) (*BrightnessSyncPostResponse, error)
- func (c *ClientWithResponses) CompressAsyncGetWithResponse(ctx context.Context, params *CompressAsyncGetParams, ...) (*CompressAsyncGetResponse, error)
- func (c *ClientWithResponses) CompressAsyncPostWithBodyWithResponse(ctx context.Context, params *CompressAsyncPostParams, contentType string, ...) (*CompressAsyncPostResponse, error)
- func (c *ClientWithResponses) CompressSyncGetWithResponse(ctx context.Context, params *CompressSyncGetParams, ...) (*CompressSyncGetResponse, error)
- func (c *ClientWithResponses) CompressSyncPostWithBodyWithResponse(ctx context.Context, params *CompressSyncPostParams, contentType string, ...) (*CompressSyncPostResponse, error)
- func (c *ClientWithResponses) ConcatAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConcatAsyncPostResponse, error)
- func (c *ClientWithResponses) ConcatAsyncPostWithResponse(ctx context.Context, body ConcatAsyncPostJSONRequestBody, ...) (*ConcatAsyncPostResponse, error)
- func (c *ClientWithResponses) ConcatSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConcatSyncPostResponse, error)
- func (c *ClientWithResponses) ConcatSyncPostWithResponse(ctx context.Context, body ConcatSyncPostJSONRequestBody, ...) (*ConcatSyncPostResponse, error)
- func (c *ClientWithResponses) ContrastAsyncGetWithResponse(ctx context.Context, params *ContrastAsyncGetParams, ...) (*ContrastAsyncGetResponse, error)
- func (c *ClientWithResponses) ContrastAsyncPostWithBodyWithResponse(ctx context.Context, params *ContrastAsyncPostParams, contentType string, ...) (*ContrastAsyncPostResponse, error)
- func (c *ClientWithResponses) ContrastSyncGetWithResponse(ctx context.Context, params *ContrastSyncGetParams, ...) (*ContrastSyncGetResponse, error)
- func (c *ClientWithResponses) ContrastSyncPostWithBodyWithResponse(ctx context.Context, params *ContrastSyncPostParams, contentType string, ...) (*ContrastSyncPostResponse, error)
- func (c *ClientWithResponses) ConvertAsyncGetWithResponse(ctx context.Context, params *ConvertAsyncGetParams, ...) (*ConvertAsyncGetResponse, error)
- func (c *ClientWithResponses) ConvertAsyncPostWithBodyWithResponse(ctx context.Context, params *ConvertAsyncPostParams, contentType string, ...) (*ConvertAsyncPostResponse, error)
- func (c *ClientWithResponses) ConvertSyncGetWithResponse(ctx context.Context, params *ConvertSyncGetParams, ...) (*ConvertSyncGetResponse, error)
- func (c *ClientWithResponses) ConvertSyncPostWithBodyWithResponse(ctx context.Context, params *ConvertSyncPostParams, contentType string, ...) (*ConvertSyncPostResponse, error)
- func (c *ClientWithResponses) CropAsyncGetWithResponse(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*CropAsyncGetResponse, error)
- func (c *ClientWithResponses) CropAsyncPostWithBodyWithResponse(ctx context.Context, params *CropAsyncPostParams, contentType string, ...) (*CropAsyncPostResponse, error)
- func (c *ClientWithResponses) CropSyncGetWithResponse(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*CropSyncGetResponse, error)
- func (c *ClientWithResponses) CropSyncPostWithBodyWithResponse(ctx context.Context, params *CropSyncPostParams, contentType string, ...) (*CropSyncPostResponse, error)
- func (c *ClientWithResponses) EqualizeAsyncGetWithResponse(ctx context.Context, params *EqualizeAsyncGetParams, ...) (*EqualizeAsyncGetResponse, error)
- func (c *ClientWithResponses) EqualizeAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EqualizeAsyncPostResponse, error)
- func (c *ClientWithResponses) EqualizeSyncGetWithResponse(ctx context.Context, params *EqualizeSyncGetParams, ...) (*EqualizeSyncGetResponse, error)
- func (c *ClientWithResponses) EqualizeSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EqualizeSyncPostResponse, error)
- func (c *ClientWithResponses) GrayscaleAsyncGetWithResponse(ctx context.Context, params *GrayscaleAsyncGetParams, ...) (*GrayscaleAsyncGetResponse, error)
- func (c *ClientWithResponses) GrayscaleAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GrayscaleAsyncPostResponse, error)
- func (c *ClientWithResponses) GrayscaleSyncGetWithResponse(ctx context.Context, params *GrayscaleSyncGetParams, ...) (*GrayscaleSyncGetResponse, error)
- func (c *ClientWithResponses) GrayscaleSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GrayscaleSyncPostResponse, error)
- func (c *ClientWithResponses) ImageinfoSyncGetWithResponse(ctx context.Context, params *ImageinfoSyncGetParams, ...) (*ImageinfoSyncGetResponse, error)
- func (c *ClientWithResponses) ImageinfoSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ImageinfoSyncPostResponse, error)
- func (c *ClientWithResponses) PipelineGetStatusWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*PipelineGetStatusResponse, error)
- func (c *ClientWithResponses) PipelineGetWithResponse(ctx context.Context, name string, params *PipelineGetParams, ...) (*PipelineGetResponse, error)
- func (c *ClientWithResponses) PipelinePostWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PipelinePostResponse, error)
- func (c *ClientWithResponses) ResizeAsyncGetWithResponse(ctx context.Context, params *ResizeAsyncGetParams, ...) (*ResizeAsyncGetResponse, error)
- func (c *ClientWithResponses) ResizeAsyncPostWithBodyWithResponse(ctx context.Context, params *ResizeAsyncPostParams, contentType string, ...) (*ResizeAsyncPostResponse, error)
- func (c *ClientWithResponses) ResizeSyncGetWithResponse(ctx context.Context, params *ResizeSyncGetParams, ...) (*ResizeSyncGetResponse, error)
- func (c *ClientWithResponses) ResizeSyncPostWithBodyWithResponse(ctx context.Context, params *ResizeSyncPostParams, contentType string, ...) (*ResizeSyncPostResponse, error)
- func (c *ClientWithResponses) RotateAsyncGetWithResponse(ctx context.Context, params *RotateAsyncGetParams, ...) (*RotateAsyncGetResponse, error)
- func (c *ClientWithResponses) RotateAsyncPostWithBodyWithResponse(ctx context.Context, params *RotateAsyncPostParams, contentType string, ...) (*RotateAsyncPostResponse, error)
- func (c *ClientWithResponses) RotateSyncGetWithResponse(ctx context.Context, params *RotateSyncGetParams, ...) (*RotateSyncGetResponse, error)
- func (c *ClientWithResponses) RotateSyncPostWithBodyWithResponse(ctx context.Context, params *RotateSyncPostParams, contentType string, ...) (*RotateSyncPostResponse, error)
- func (c *ClientWithResponses) TextAsyncGetWithResponse(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*TextAsyncGetResponse, error)
- func (c *ClientWithResponses) TextAsyncPostWithBodyWithResponse(ctx context.Context, params *TextAsyncPostParams, contentType string, ...) (*TextAsyncPostResponse, error)
- func (c *ClientWithResponses) TextSyncGetWithResponse(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*TextSyncGetResponse, error)
- func (c *ClientWithResponses) TextSyncPostWithBodyWithResponse(ctx context.Context, params *TextSyncPostParams, contentType string, ...) (*TextSyncPostResponse, error)
- type ClientWithResponsesInterface
- type CompressAsyncGetParams
- type CompressAsyncGetResponse
- type CompressAsyncPostParams
- type CompressAsyncPostResponse
- type CompressSyncGetParams
- type CompressSyncGetResponse
- type CompressSyncPostParams
- type CompressSyncPostResponse
- type ConcatAsyncPostJSONRequestBody
- type ConcatAsyncPostResponse
- type ConcatRequest
- type ConcatRequestConcatMode
- type ConcatRequestDirection
- type ConcatRequestTargetFormat
- type ConcatSyncPostJSONRequestBody
- type ConcatSyncPostResponse
- type ContrastAsyncGetParams
- type ContrastAsyncGetResponse
- type ContrastAsyncPostParams
- type ContrastAsyncPostResponse
- type ContrastSyncGetParams
- type ContrastSyncGetResponse
- type ContrastSyncPostParams
- type ContrastSyncPostResponse
- type ConvertAsyncGetParams
- type ConvertAsyncGetParamsTargetFormat
- type ConvertAsyncGetResponse
- type ConvertAsyncPostParams
- type ConvertAsyncPostParamsTargetFormat
- type ConvertAsyncPostResponse
- type ConvertSyncGetParams
- type ConvertSyncGetParamsTargetFormat
- type ConvertSyncGetResponse
- type ConvertSyncPostParams
- type ConvertSyncPostParamsTargetFormat
- type ConvertSyncPostResponse
- type CropAsyncGetParams
- type CropAsyncGetResponse
- type CropAsyncPostParams
- type CropAsyncPostResponse
- type CropSyncGetParams
- type CropSyncGetResponse
- type CropSyncPostParams
- type CropSyncPostResponse
- type EqualizeAsyncGetParams
- type EqualizeAsyncGetResponse
- type EqualizeAsyncPostResponse
- type EqualizeSyncGetParams
- type EqualizeSyncGetResponse
- type EqualizeSyncPostResponse
- type ErrorResponse
- type GrayscaleAsyncGetParams
- type GrayscaleAsyncGetResponse
- type GrayscaleAsyncPostResponse
- type GrayscaleSyncGetParams
- type GrayscaleSyncGetResponse
- type GrayscaleSyncPostResponse
- type HttpRequestDoer
- type ImageMetadata
- type ImageinfoSyncGetParams
- type ImageinfoSyncGetResponse
- type ImageinfoSyncPostResponse
- type InfoResponse
- type PipelineExecutionResult
- type PipelineGetParams
- type PipelineGetResponse
- type PipelineGetStatusResponse
- type PipelinePostResponse
- type PipelineStatus
- type RequestEditorFn
- type ResizeAsyncGetParams
- type ResizeAsyncGetParamsResamplingAlgorithm
- type ResizeAsyncGetResponse
- type ResizeAsyncPostParams
- type ResizeAsyncPostParamsResamplingAlgorithm
- type ResizeAsyncPostResponse
- type ResizeSyncGetParams
- type ResizeSyncGetParamsResamplingAlgorithm
- type ResizeSyncGetResponse
- type ResizeSyncPostParams
- type ResizeSyncPostParamsResamplingAlgorithm
- type ResizeSyncPostResponse
- type RotateAsyncGetParams
- type RotateAsyncGetResponse
- type RotateAsyncPostParams
- type RotateAsyncPostResponse
- type RotateSyncGetParams
- type RotateSyncGetResponse
- type RotateSyncPostParams
- type RotateSyncPostResponse
- type SuccessResponse
- type TextAsyncGetParams
- type TextAsyncGetResponse
- type TextAsyncPostParams
- type TextAsyncPostResponse
- type TextSyncGetParams
- type TextSyncGetResponse
- type TextSyncPostParams
- type TextSyncPostResponse
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewBlendAsyncPostRequest ¶
func NewBlendAsyncPostRequest(server string, body BlendAsyncPostJSONRequestBody) (*http.Request, error)
NewBlendAsyncPostRequest calls the generic BlendAsyncPost builder with application/json body
func NewBlendAsyncPostRequestWithBody ¶
func NewBlendAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBlendAsyncPostRequestWithBody generates requests for BlendAsyncPost with any type of body
func NewBlendSyncPostRequest ¶
func NewBlendSyncPostRequest(server string, body BlendSyncPostJSONRequestBody) (*http.Request, error)
NewBlendSyncPostRequest calls the generic BlendSyncPost builder with application/json body
func NewBlendSyncPostRequestWithBody ¶
func NewBlendSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBlendSyncPostRequestWithBody generates requests for BlendSyncPost with any type of body
func NewBlurAsyncGetRequest ¶
func NewBlurAsyncGetRequest(server string, params *BlurAsyncGetParams) (*http.Request, error)
NewBlurAsyncGetRequest generates requests for BlurAsyncGet
func NewBlurAsyncPostRequestWithBody ¶
func NewBlurAsyncPostRequestWithBody(server string, params *BlurAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBlurAsyncPostRequestWithBody generates requests for BlurAsyncPost with any type of body
func NewBlurSyncGetRequest ¶
func NewBlurSyncGetRequest(server string, params *BlurSyncGetParams) (*http.Request, error)
NewBlurSyncGetRequest generates requests for BlurSyncGet
func NewBlurSyncPostRequestWithBody ¶
func NewBlurSyncPostRequestWithBody(server string, params *BlurSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBlurSyncPostRequestWithBody generates requests for BlurSyncPost with any type of body
func NewBlurhashAsyncGetRequest ¶
func NewBlurhashAsyncGetRequest(server string, params *BlurhashAsyncGetParams) (*http.Request, error)
NewBlurhashAsyncGetRequest generates requests for BlurhashAsyncGet
func NewBlurhashAsyncPostRequestWithBody ¶
func NewBlurhashAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBlurhashAsyncPostRequestWithBody generates requests for BlurhashAsyncPost with any type of body
func NewBlurhashSyncGetRequest ¶
func NewBlurhashSyncGetRequest(server string, params *BlurhashSyncGetParams) (*http.Request, error)
NewBlurhashSyncGetRequest generates requests for BlurhashSyncGet
func NewBlurhashSyncPostRequestWithBody ¶
func NewBlurhashSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBlurhashSyncPostRequestWithBody generates requests for BlurhashSyncPost with any type of body
func NewBlurpartialAsyncGetRequest ¶
func NewBlurpartialAsyncGetRequest(server string, params *BlurpartialAsyncGetParams) (*http.Request, error)
NewBlurpartialAsyncGetRequest generates requests for BlurpartialAsyncGet
func NewBlurpartialAsyncPostRequestWithBody ¶
func NewBlurpartialAsyncPostRequestWithBody(server string, params *BlurpartialAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBlurpartialAsyncPostRequestWithBody generates requests for BlurpartialAsyncPost with any type of body
func NewBlurpartialSyncGetRequest ¶
func NewBlurpartialSyncGetRequest(server string, params *BlurpartialSyncGetParams) (*http.Request, error)
NewBlurpartialSyncGetRequest generates requests for BlurpartialSyncGet
func NewBlurpartialSyncPostRequestWithBody ¶
func NewBlurpartialSyncPostRequestWithBody(server string, params *BlurpartialSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBlurpartialSyncPostRequestWithBody generates requests for BlurpartialSyncPost with any type of body
func NewBrightnessAsyncGetRequest ¶
func NewBrightnessAsyncGetRequest(server string, params *BrightnessAsyncGetParams) (*http.Request, error)
NewBrightnessAsyncGetRequest generates requests for BrightnessAsyncGet
func NewBrightnessAsyncPostRequestWithBody ¶
func NewBrightnessAsyncPostRequestWithBody(server string, params *BrightnessAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBrightnessAsyncPostRequestWithBody generates requests for BrightnessAsyncPost with any type of body
func NewBrightnessSyncGetRequest ¶
func NewBrightnessSyncGetRequest(server string, params *BrightnessSyncGetParams) (*http.Request, error)
NewBrightnessSyncGetRequest generates requests for BrightnessSyncGet
func NewBrightnessSyncPostRequestWithBody ¶
func NewBrightnessSyncPostRequestWithBody(server string, params *BrightnessSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewBrightnessSyncPostRequestWithBody generates requests for BrightnessSyncPost with any type of body
func NewCompressAsyncGetRequest ¶
func NewCompressAsyncGetRequest(server string, params *CompressAsyncGetParams) (*http.Request, error)
NewCompressAsyncGetRequest generates requests for CompressAsyncGet
func NewCompressAsyncPostRequestWithBody ¶
func NewCompressAsyncPostRequestWithBody(server string, params *CompressAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewCompressAsyncPostRequestWithBody generates requests for CompressAsyncPost with any type of body
func NewCompressSyncGetRequest ¶
func NewCompressSyncGetRequest(server string, params *CompressSyncGetParams) (*http.Request, error)
NewCompressSyncGetRequest generates requests for CompressSyncGet
func NewCompressSyncPostRequestWithBody ¶
func NewCompressSyncPostRequestWithBody(server string, params *CompressSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewCompressSyncPostRequestWithBody generates requests for CompressSyncPost with any type of body
func NewConcatAsyncPostRequest ¶
func NewConcatAsyncPostRequest(server string, body ConcatAsyncPostJSONRequestBody) (*http.Request, error)
NewConcatAsyncPostRequest calls the generic ConcatAsyncPost builder with application/json body
func NewConcatAsyncPostRequestWithBody ¶
func NewConcatAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConcatAsyncPostRequestWithBody generates requests for ConcatAsyncPost with any type of body
func NewConcatSyncPostRequest ¶
func NewConcatSyncPostRequest(server string, body ConcatSyncPostJSONRequestBody) (*http.Request, error)
NewConcatSyncPostRequest calls the generic ConcatSyncPost builder with application/json body
func NewConcatSyncPostRequestWithBody ¶
func NewConcatSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConcatSyncPostRequestWithBody generates requests for ConcatSyncPost with any type of body
func NewContrastAsyncGetRequest ¶
func NewContrastAsyncGetRequest(server string, params *ContrastAsyncGetParams) (*http.Request, error)
NewContrastAsyncGetRequest generates requests for ContrastAsyncGet
func NewContrastAsyncPostRequestWithBody ¶
func NewContrastAsyncPostRequestWithBody(server string, params *ContrastAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewContrastAsyncPostRequestWithBody generates requests for ContrastAsyncPost with any type of body
func NewContrastSyncGetRequest ¶
func NewContrastSyncGetRequest(server string, params *ContrastSyncGetParams) (*http.Request, error)
NewContrastSyncGetRequest generates requests for ContrastSyncGet
func NewContrastSyncPostRequestWithBody ¶
func NewContrastSyncPostRequestWithBody(server string, params *ContrastSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewContrastSyncPostRequestWithBody generates requests for ContrastSyncPost with any type of body
func NewConvertAsyncGetRequest ¶
func NewConvertAsyncGetRequest(server string, params *ConvertAsyncGetParams) (*http.Request, error)
NewConvertAsyncGetRequest generates requests for ConvertAsyncGet
func NewConvertAsyncPostRequestWithBody ¶
func NewConvertAsyncPostRequestWithBody(server string, params *ConvertAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewConvertAsyncPostRequestWithBody generates requests for ConvertAsyncPost with any type of body
func NewConvertSyncGetRequest ¶
func NewConvertSyncGetRequest(server string, params *ConvertSyncGetParams) (*http.Request, error)
NewConvertSyncGetRequest generates requests for ConvertSyncGet
func NewConvertSyncPostRequestWithBody ¶
func NewConvertSyncPostRequestWithBody(server string, params *ConvertSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewConvertSyncPostRequestWithBody generates requests for ConvertSyncPost with any type of body
func NewCropAsyncGetRequest ¶
func NewCropAsyncGetRequest(server string, params *CropAsyncGetParams) (*http.Request, error)
NewCropAsyncGetRequest generates requests for CropAsyncGet
func NewCropAsyncPostRequestWithBody ¶
func NewCropAsyncPostRequestWithBody(server string, params *CropAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewCropAsyncPostRequestWithBody generates requests for CropAsyncPost with any type of body
func NewCropSyncGetRequest ¶
func NewCropSyncGetRequest(server string, params *CropSyncGetParams) (*http.Request, error)
NewCropSyncGetRequest generates requests for CropSyncGet
func NewCropSyncPostRequestWithBody ¶
func NewCropSyncPostRequestWithBody(server string, params *CropSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewCropSyncPostRequestWithBody generates requests for CropSyncPost with any type of body
func NewEqualizeAsyncGetRequest ¶
func NewEqualizeAsyncGetRequest(server string, params *EqualizeAsyncGetParams) (*http.Request, error)
NewEqualizeAsyncGetRequest generates requests for EqualizeAsyncGet
func NewEqualizeAsyncPostRequestWithBody ¶
func NewEqualizeAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEqualizeAsyncPostRequestWithBody generates requests for EqualizeAsyncPost with any type of body
func NewEqualizeSyncGetRequest ¶
func NewEqualizeSyncGetRequest(server string, params *EqualizeSyncGetParams) (*http.Request, error)
NewEqualizeSyncGetRequest generates requests for EqualizeSyncGet
func NewEqualizeSyncPostRequestWithBody ¶
func NewEqualizeSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEqualizeSyncPostRequestWithBody generates requests for EqualizeSyncPost with any type of body
func NewGrayscaleAsyncGetRequest ¶
func NewGrayscaleAsyncGetRequest(server string, params *GrayscaleAsyncGetParams) (*http.Request, error)
NewGrayscaleAsyncGetRequest generates requests for GrayscaleAsyncGet
func NewGrayscaleAsyncPostRequestWithBody ¶
func NewGrayscaleAsyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGrayscaleAsyncPostRequestWithBody generates requests for GrayscaleAsyncPost with any type of body
func NewGrayscaleSyncGetRequest ¶
func NewGrayscaleSyncGetRequest(server string, params *GrayscaleSyncGetParams) (*http.Request, error)
NewGrayscaleSyncGetRequest generates requests for GrayscaleSyncGet
func NewGrayscaleSyncPostRequestWithBody ¶
func NewGrayscaleSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGrayscaleSyncPostRequestWithBody generates requests for GrayscaleSyncPost with any type of body
func NewImageinfoSyncGetRequest ¶
func NewImageinfoSyncGetRequest(server string, params *ImageinfoSyncGetParams) (*http.Request, error)
NewImageinfoSyncGetRequest generates requests for ImageinfoSyncGet
func NewImageinfoSyncPostRequestWithBody ¶
func NewImageinfoSyncPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewImageinfoSyncPostRequestWithBody generates requests for ImageinfoSyncPost with any type of body
func NewPipelineGetRequest ¶
func NewPipelineGetRequest(server string, name string, params *PipelineGetParams) (*http.Request, error)
NewPipelineGetRequest generates requests for PipelineGet
func NewPipelineGetStatusRequest ¶
NewPipelineGetStatusRequest generates requests for PipelineGetStatus
func NewPipelinePostRequestWithBody ¶
func NewPipelinePostRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewPipelinePostRequestWithBody generates requests for PipelinePost with any type of body
func NewResizeAsyncGetRequest ¶
func NewResizeAsyncGetRequest(server string, params *ResizeAsyncGetParams) (*http.Request, error)
NewResizeAsyncGetRequest generates requests for ResizeAsyncGet
func NewResizeAsyncPostRequestWithBody ¶
func NewResizeAsyncPostRequestWithBody(server string, params *ResizeAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeAsyncPostRequestWithBody generates requests for ResizeAsyncPost with any type of body
func NewResizeSyncGetRequest ¶
func NewResizeSyncGetRequest(server string, params *ResizeSyncGetParams) (*http.Request, error)
NewResizeSyncGetRequest generates requests for ResizeSyncGet
func NewResizeSyncPostRequestWithBody ¶
func NewResizeSyncPostRequestWithBody(server string, params *ResizeSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeSyncPostRequestWithBody generates requests for ResizeSyncPost with any type of body
func NewRotateAsyncGetRequest ¶
func NewRotateAsyncGetRequest(server string, params *RotateAsyncGetParams) (*http.Request, error)
NewRotateAsyncGetRequest generates requests for RotateAsyncGet
func NewRotateAsyncPostRequestWithBody ¶
func NewRotateAsyncPostRequestWithBody(server string, params *RotateAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewRotateAsyncPostRequestWithBody generates requests for RotateAsyncPost with any type of body
func NewRotateSyncGetRequest ¶
func NewRotateSyncGetRequest(server string, params *RotateSyncGetParams) (*http.Request, error)
NewRotateSyncGetRequest generates requests for RotateSyncGet
func NewRotateSyncPostRequestWithBody ¶
func NewRotateSyncPostRequestWithBody(server string, params *RotateSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewRotateSyncPostRequestWithBody generates requests for RotateSyncPost with any type of body
func NewTextAsyncGetRequest ¶
func NewTextAsyncGetRequest(server string, params *TextAsyncGetParams) (*http.Request, error)
NewTextAsyncGetRequest generates requests for TextAsyncGet
func NewTextAsyncPostRequestWithBody ¶
func NewTextAsyncPostRequestWithBody(server string, params *TextAsyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewTextAsyncPostRequestWithBody generates requests for TextAsyncPost with any type of body
func NewTextSyncGetRequest ¶
func NewTextSyncGetRequest(server string, params *TextSyncGetParams) (*http.Request, error)
NewTextSyncGetRequest generates requests for TextSyncGet
func NewTextSyncPostRequestWithBody ¶
func NewTextSyncPostRequestWithBody(server string, params *TextSyncPostParams, contentType string, body io.Reader) (*http.Request, error)
NewTextSyncPostRequestWithBody generates requests for TextSyncPost with any type of body
Types ¶
type BlendAsyncPostJSONRequestBody ¶
type BlendAsyncPostJSONRequestBody = BlendRequest
BlendAsyncPostJSONRequestBody defines body for BlendAsyncPost for application/json ContentType.
type BlendAsyncPostResponse ¶
type BlendAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlendAsyncPostResponse ¶
func ParseBlendAsyncPostResponse(rsp *http.Response) (*BlendAsyncPostResponse, error)
ParseBlendAsyncPostResponse parses an HTTP response from a BlendAsyncPostWithResponse call
func (BlendAsyncPostResponse) Status ¶
func (r BlendAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlendAsyncPostResponse) StatusCode ¶
func (r BlendAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlendRequest ¶
type BlendRequest struct {
Alpha *float32 `json:"alpha,omitempty"`
Image1 string `json:"image1"`
Image2 string `json:"image2"`
Mode *BlendRequestMode `json:"mode,omitempty"`
TargetFormat *BlendRequestTargetFormat `json:"targetFormat,omitempty"`
}
BlendRequest defines model for blend.Request.
type BlendRequestMode ¶
type BlendRequestMode string
BlendRequestMode defines model for BlendRequest.Mode.
const ( BlendRequestModeRtl BlendRequestMode = "rtl" BlendRequestModeRts BlendRequestMode = "rts" )
Defines values for BlendRequestMode.
type BlendRequestTargetFormat ¶
type BlendRequestTargetFormat string
BlendRequestTargetFormat defines model for BlendRequest.TargetFormat.
const ( BlendRequestTargetFormatBmp BlendRequestTargetFormat = "bmp" BlendRequestTargetFormatJpeg BlendRequestTargetFormat = "jpeg" BlendRequestTargetFormatPng BlendRequestTargetFormat = "png" )
Defines values for BlendRequestTargetFormat.
type BlendSyncPostJSONRequestBody ¶
type BlendSyncPostJSONRequestBody = BlendRequest
BlendSyncPostJSONRequestBody defines body for BlendSyncPost for application/json ContentType.
type BlendSyncPostResponse ¶
type BlendSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlendSyncPostResponse ¶
func ParseBlendSyncPostResponse(rsp *http.Response) (*BlendSyncPostResponse, error)
ParseBlendSyncPostResponse parses an HTTP response from a BlendSyncPostWithResponse call
func (BlendSyncPostResponse) Status ¶
func (r BlendSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlendSyncPostResponse) StatusCode ¶
func (r BlendSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurAsyncGetParams ¶
type BlurAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
}
BlurAsyncGetParams defines parameters for BlurAsyncGet.
type BlurAsyncGetResponse ¶
type BlurAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurAsyncGetResponse ¶
func ParseBlurAsyncGetResponse(rsp *http.Response) (*BlurAsyncGetResponse, error)
ParseBlurAsyncGetResponse parses an HTTP response from a BlurAsyncGetWithResponse call
func (BlurAsyncGetResponse) Status ¶
func (r BlurAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurAsyncGetResponse) StatusCode ¶
func (r BlurAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurAsyncPostParams ¶
type BlurAsyncPostParams struct {
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
}
BlurAsyncPostParams defines parameters for BlurAsyncPost.
type BlurAsyncPostResponse ¶
type BlurAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurAsyncPostResponse ¶
func ParseBlurAsyncPostResponse(rsp *http.Response) (*BlurAsyncPostResponse, error)
ParseBlurAsyncPostResponse parses an HTTP response from a BlurAsyncPostWithResponse call
func (BlurAsyncPostResponse) Status ¶
func (r BlurAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurAsyncPostResponse) StatusCode ¶
func (r BlurAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurSyncGetParams ¶
type BlurSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
}
BlurSyncGetParams defines parameters for BlurSyncGet.
type BlurSyncGetResponse ¶
type BlurSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurSyncGetResponse ¶
func ParseBlurSyncGetResponse(rsp *http.Response) (*BlurSyncGetResponse, error)
ParseBlurSyncGetResponse parses an HTTP response from a BlurSyncGetWithResponse call
func (BlurSyncGetResponse) Status ¶
func (r BlurSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurSyncGetResponse) StatusCode ¶
func (r BlurSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurSyncPostParams ¶
type BlurSyncPostParams struct {
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
}
BlurSyncPostParams defines parameters for BlurSyncPost.
type BlurSyncPostResponse ¶
type BlurSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurSyncPostResponse ¶
func ParseBlurSyncPostResponse(rsp *http.Response) (*BlurSyncPostResponse, error)
ParseBlurSyncPostResponse parses an HTTP response from a BlurSyncPostWithResponse call
func (BlurSyncPostResponse) Status ¶
func (r BlurSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurSyncPostResponse) StatusCode ¶
func (r BlurSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurhashAsyncGetParams ¶
type BlurhashAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
}
BlurhashAsyncGetParams defines parameters for BlurhashAsyncGet.
type BlurhashAsyncGetResponse ¶
type BlurhashAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurhashAsyncGetResponse ¶
func ParseBlurhashAsyncGetResponse(rsp *http.Response) (*BlurhashAsyncGetResponse, error)
ParseBlurhashAsyncGetResponse parses an HTTP response from a BlurhashAsyncGetWithResponse call
func (BlurhashAsyncGetResponse) Status ¶
func (r BlurhashAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurhashAsyncGetResponse) StatusCode ¶
func (r BlurhashAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurhashAsyncPostResponse ¶
type BlurhashAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurhashAsyncPostResponse ¶
func ParseBlurhashAsyncPostResponse(rsp *http.Response) (*BlurhashAsyncPostResponse, error)
ParseBlurhashAsyncPostResponse parses an HTTP response from a BlurhashAsyncPostWithResponse call
func (BlurhashAsyncPostResponse) Status ¶
func (r BlurhashAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurhashAsyncPostResponse) StatusCode ¶
func (r BlurhashAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurhashSyncGetParams ¶
type BlurhashSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
}
BlurhashSyncGetParams defines parameters for BlurhashSyncGet.
type BlurhashSyncGetResponse ¶
type BlurhashSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurhashSyncGetResponse ¶
func ParseBlurhashSyncGetResponse(rsp *http.Response) (*BlurhashSyncGetResponse, error)
ParseBlurhashSyncGetResponse parses an HTTP response from a BlurhashSyncGetWithResponse call
func (BlurhashSyncGetResponse) Status ¶
func (r BlurhashSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurhashSyncGetResponse) StatusCode ¶
func (r BlurhashSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurhashSyncPostResponse ¶
type BlurhashSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurhashSyncPostResponse ¶
func ParseBlurhashSyncPostResponse(rsp *http.Response) (*BlurhashSyncPostResponse, error)
ParseBlurhashSyncPostResponse parses an HTTP response from a BlurhashSyncPostWithResponse call
func (BlurhashSyncPostResponse) Status ¶
func (r BlurhashSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurhashSyncPostResponse) StatusCode ¶
func (r BlurhashSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurpartialAsyncGetParams ¶
type BlurpartialAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
// X0 defines the x coordinate of the first point of the rectangle to blur
X0 int `form:"x0" json:"x0"`
// X1 defines the x coordinate of the second point of the rectangle to blur
X1 int `form:"x1" json:"x1"`
// Y0 defines the y coordinate of the first point of the rectangle to blur
Y0 int `form:"y0" json:"y0"`
// Y1 defines the y coordinate of the second point of the rectangle to blur.
Y1 int `form:"y1" json:"y1"`
}
BlurpartialAsyncGetParams defines parameters for BlurpartialAsyncGet.
type BlurpartialAsyncGetResponse ¶
type BlurpartialAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurpartialAsyncGetResponse ¶
func ParseBlurpartialAsyncGetResponse(rsp *http.Response) (*BlurpartialAsyncGetResponse, error)
ParseBlurpartialAsyncGetResponse parses an HTTP response from a BlurpartialAsyncGetWithResponse call
func (BlurpartialAsyncGetResponse) Status ¶
func (r BlurpartialAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurpartialAsyncGetResponse) StatusCode ¶
func (r BlurpartialAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurpartialAsyncPostParams ¶
type BlurpartialAsyncPostParams struct {
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
// X0 defines the x coordinate of the first point of the rectangle to blur
X0 int `form:"x0" json:"x0"`
// X1 defines the x coordinate of the second point of the rectangle to blur
X1 int `form:"x1" json:"x1"`
// Y0 defines the y coordinate of the first point of the rectangle to blur
Y0 int `form:"y0" json:"y0"`
// Y1 defines the y coordinate of the second point of the rectangle to blur.
Y1 int `form:"y1" json:"y1"`
}
BlurpartialAsyncPostParams defines parameters for BlurpartialAsyncPost.
type BlurpartialAsyncPostResponse ¶
type BlurpartialAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBlurpartialAsyncPostResponse ¶
func ParseBlurpartialAsyncPostResponse(rsp *http.Response) (*BlurpartialAsyncPostResponse, error)
ParseBlurpartialAsyncPostResponse parses an HTTP response from a BlurpartialAsyncPostWithResponse call
func (BlurpartialAsyncPostResponse) Status ¶
func (r BlurpartialAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurpartialAsyncPostResponse) StatusCode ¶
func (r BlurpartialAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurpartialSyncGetParams ¶
type BlurpartialSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
// X0 defines the x coordinate of the first point of the rectangle to blur
X0 int `form:"x0" json:"x0"`
// X1 defines the x coordinate of the second point of the rectangle to blur
X1 int `form:"x1" json:"x1"`
// Y0 defines the y coordinate of the first point of the rectangle to blur
Y0 int `form:"y0" json:"y0"`
// Y1 defines the y coordinate of the second point of the rectangle to blur.
Y1 int `form:"y1" json:"y1"`
}
BlurpartialSyncGetParams defines parameters for BlurpartialSyncGet.
type BlurpartialSyncGetResponse ¶
type BlurpartialSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurpartialSyncGetResponse ¶
func ParseBlurpartialSyncGetResponse(rsp *http.Response) (*BlurpartialSyncGetResponse, error)
ParseBlurpartialSyncGetResponse parses an HTTP response from a BlurpartialSyncGetWithResponse call
func (BlurpartialSyncGetResponse) Status ¶
func (r BlurpartialSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BlurpartialSyncGetResponse) StatusCode ¶
func (r BlurpartialSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlurpartialSyncPostParams ¶
type BlurpartialSyncPostParams struct {
// Sigma controls the strength of the blur
Sigma *float32 `form:"sigma,omitempty" json:"sigma,omitempty"`
// X0 defines the x coordinate of the first point of the rectangle to blur
X0 int `form:"x0" json:"x0"`
// X1 defines the x coordinate of the second point of the rectangle to blur
X1 int `form:"x1" json:"x1"`
// Y0 defines the y coordinate of the first point of the rectangle to blur
Y0 int `form:"y0" json:"y0"`
// Y1 defines the y coordinate of the second point of the rectangle to blur.
Y1 int `form:"y1" json:"y1"`
}
BlurpartialSyncPostParams defines parameters for BlurpartialSyncPost.
type BlurpartialSyncPostResponse ¶
type BlurpartialSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBlurpartialSyncPostResponse ¶
func ParseBlurpartialSyncPostResponse(rsp *http.Response) (*BlurpartialSyncPostResponse, error)
ParseBlurpartialSyncPostResponse parses an HTTP response from a BlurpartialSyncPostWithResponse call
func (BlurpartialSyncPostResponse) Status ¶
func (r BlurpartialSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BlurpartialSyncPostResponse) StatusCode ¶
func (r BlurpartialSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrightnessAsyncGetParams ¶
type BrightnessAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Percentage controls the brightness level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
BrightnessAsyncGetParams defines parameters for BrightnessAsyncGet.
type BrightnessAsyncGetResponse ¶
type BrightnessAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBrightnessAsyncGetResponse ¶
func ParseBrightnessAsyncGetResponse(rsp *http.Response) (*BrightnessAsyncGetResponse, error)
ParseBrightnessAsyncGetResponse parses an HTTP response from a BrightnessAsyncGetWithResponse call
func (BrightnessAsyncGetResponse) Status ¶
func (r BrightnessAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BrightnessAsyncGetResponse) StatusCode ¶
func (r BrightnessAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrightnessAsyncPostParams ¶
type BrightnessAsyncPostParams struct {
// Percentage controls the brightness level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
BrightnessAsyncPostParams defines parameters for BrightnessAsyncPost.
type BrightnessAsyncPostResponse ¶
type BrightnessAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseBrightnessAsyncPostResponse ¶
func ParseBrightnessAsyncPostResponse(rsp *http.Response) (*BrightnessAsyncPostResponse, error)
ParseBrightnessAsyncPostResponse parses an HTTP response from a BrightnessAsyncPostWithResponse call
func (BrightnessAsyncPostResponse) Status ¶
func (r BrightnessAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BrightnessAsyncPostResponse) StatusCode ¶
func (r BrightnessAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrightnessSyncGetParams ¶
type BrightnessSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Percentage controls the brightness level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
BrightnessSyncGetParams defines parameters for BrightnessSyncGet.
type BrightnessSyncGetResponse ¶
type BrightnessSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBrightnessSyncGetResponse ¶
func ParseBrightnessSyncGetResponse(rsp *http.Response) (*BrightnessSyncGetResponse, error)
ParseBrightnessSyncGetResponse parses an HTTP response from a BrightnessSyncGetWithResponse call
func (BrightnessSyncGetResponse) Status ¶
func (r BrightnessSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (BrightnessSyncGetResponse) StatusCode ¶
func (r BrightnessSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrightnessSyncPostParams ¶
type BrightnessSyncPostParams struct {
// Percentage controls the brightness level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
BrightnessSyncPostParams defines parameters for BrightnessSyncPost.
type BrightnessSyncPostResponse ¶
type BrightnessSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseBrightnessSyncPostResponse ¶
func ParseBrightnessSyncPostResponse(rsp *http.Response) (*BrightnessSyncPostResponse, error)
ParseBrightnessSyncPostResponse parses an HTTP response from a BrightnessSyncPostWithResponse call
func (BrightnessSyncPostResponse) Status ¶
func (r BrightnessSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (BrightnessSyncPostResponse) StatusCode ¶
func (r BrightnessSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) BlendAsyncPost ¶
func (c *Client) BlendAsyncPost(ctx context.Context, body BlendAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlendAsyncPostWithBody ¶
func (*Client) BlendSyncPost ¶
func (c *Client) BlendSyncPost(ctx context.Context, body BlendSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlendSyncPostWithBody ¶
func (*Client) BlurAsyncGet ¶
func (c *Client) BlurAsyncGet(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurAsyncPostWithBody ¶
func (*Client) BlurSyncGet ¶
func (c *Client) BlurSyncGet(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurSyncPostWithBody ¶
func (*Client) BlurhashAsyncGet ¶
func (c *Client) BlurhashAsyncGet(ctx context.Context, params *BlurhashAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurhashAsyncPostWithBody ¶
func (*Client) BlurhashSyncGet ¶
func (c *Client) BlurhashSyncGet(ctx context.Context, params *BlurhashSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurhashSyncPostWithBody ¶
func (*Client) BlurpartialAsyncGet ¶
func (c *Client) BlurpartialAsyncGet(ctx context.Context, params *BlurpartialAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurpartialAsyncPostWithBody ¶
func (*Client) BlurpartialSyncGet ¶
func (c *Client) BlurpartialSyncGet(ctx context.Context, params *BlurpartialSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BlurpartialSyncPostWithBody ¶
func (*Client) BrightnessAsyncGet ¶
func (c *Client) BrightnessAsyncGet(ctx context.Context, params *BrightnessAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BrightnessAsyncPostWithBody ¶
func (*Client) BrightnessSyncGet ¶
func (c *Client) BrightnessSyncGet(ctx context.Context, params *BrightnessSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BrightnessSyncPostWithBody ¶
func (*Client) CompressAsyncGet ¶
func (c *Client) CompressAsyncGet(ctx context.Context, params *CompressAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CompressAsyncPostWithBody ¶
func (*Client) CompressSyncGet ¶
func (c *Client) CompressSyncGet(ctx context.Context, params *CompressSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CompressSyncPostWithBody ¶
func (*Client) ConcatAsyncPost ¶
func (c *Client) ConcatAsyncPost(ctx context.Context, body ConcatAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConcatAsyncPostWithBody ¶
func (*Client) ConcatSyncPost ¶
func (c *Client) ConcatSyncPost(ctx context.Context, body ConcatSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConcatSyncPostWithBody ¶
func (*Client) ContrastAsyncGet ¶
func (c *Client) ContrastAsyncGet(ctx context.Context, params *ContrastAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ContrastAsyncPostWithBody ¶
func (*Client) ContrastSyncGet ¶
func (c *Client) ContrastSyncGet(ctx context.Context, params *ContrastSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ContrastSyncPostWithBody ¶
func (*Client) ConvertAsyncGet ¶
func (c *Client) ConvertAsyncGet(ctx context.Context, params *ConvertAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConvertAsyncPostWithBody ¶
func (*Client) ConvertSyncGet ¶
func (c *Client) ConvertSyncGet(ctx context.Context, params *ConvertSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConvertSyncPostWithBody ¶
func (*Client) CropAsyncGet ¶
func (c *Client) CropAsyncGet(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CropAsyncPostWithBody ¶
func (*Client) CropSyncGet ¶
func (c *Client) CropSyncGet(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CropSyncPostWithBody ¶
func (*Client) EqualizeAsyncGet ¶
func (c *Client) EqualizeAsyncGet(ctx context.Context, params *EqualizeAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EqualizeAsyncPostWithBody ¶
func (*Client) EqualizeSyncGet ¶
func (c *Client) EqualizeSyncGet(ctx context.Context, params *EqualizeSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EqualizeSyncPostWithBody ¶
func (*Client) GrayscaleAsyncGet ¶
func (c *Client) GrayscaleAsyncGet(ctx context.Context, params *GrayscaleAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GrayscaleAsyncPostWithBody ¶
func (*Client) GrayscaleSyncGet ¶
func (c *Client) GrayscaleSyncGet(ctx context.Context, params *GrayscaleSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GrayscaleSyncPostWithBody ¶
func (*Client) ImageinfoSyncGet ¶
func (c *Client) ImageinfoSyncGet(ctx context.Context, params *ImageinfoSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ImageinfoSyncPostWithBody ¶
func (*Client) PipelineGet ¶
func (c *Client) PipelineGet(ctx context.Context, name string, params *PipelineGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PipelineGetStatus ¶
func (*Client) PipelinePostWithBody ¶
func (*Client) ResizeAsyncGet ¶
func (c *Client) ResizeAsyncGet(ctx context.Context, params *ResizeAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeAsyncPostWithBody ¶
func (*Client) ResizeSyncGet ¶
func (c *Client) ResizeSyncGet(ctx context.Context, params *ResizeSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeSyncPostWithBody ¶
func (*Client) RotateAsyncGet ¶
func (c *Client) RotateAsyncGet(ctx context.Context, params *RotateAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RotateAsyncPostWithBody ¶
func (*Client) RotateSyncGet ¶
func (c *Client) RotateSyncGet(ctx context.Context, params *RotateSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RotateSyncPostWithBody ¶
func (*Client) TextAsyncGet ¶
func (c *Client) TextAsyncGet(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TextAsyncPostWithBody ¶
func (*Client) TextSyncGet ¶
func (c *Client) TextSyncGet(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TextSyncPostWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// BlendAsyncPostWithBody request with any body
BlendAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BlendAsyncPost(ctx context.Context, body BlendAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlendSyncPostWithBody request with any body
BlendSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BlendSyncPost(ctx context.Context, body BlendSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurAsyncGet request
BlurAsyncGet(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurAsyncPostWithBody request with any body
BlurAsyncPostWithBody(ctx context.Context, params *BlurAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurSyncGet request
BlurSyncGet(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurSyncPostWithBody request with any body
BlurSyncPostWithBody(ctx context.Context, params *BlurSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurhashAsyncGet request
BlurhashAsyncGet(ctx context.Context, params *BlurhashAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurhashAsyncPostWithBody request with any body
BlurhashAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurhashSyncGet request
BlurhashSyncGet(ctx context.Context, params *BlurhashSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurhashSyncPostWithBody request with any body
BlurhashSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurpartialAsyncGet request
BlurpartialAsyncGet(ctx context.Context, params *BlurpartialAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurpartialAsyncPostWithBody request with any body
BlurpartialAsyncPostWithBody(ctx context.Context, params *BlurpartialAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurpartialSyncGet request
BlurpartialSyncGet(ctx context.Context, params *BlurpartialSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BlurpartialSyncPostWithBody request with any body
BlurpartialSyncPostWithBody(ctx context.Context, params *BlurpartialSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BrightnessAsyncGet request
BrightnessAsyncGet(ctx context.Context, params *BrightnessAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BrightnessAsyncPostWithBody request with any body
BrightnessAsyncPostWithBody(ctx context.Context, params *BrightnessAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BrightnessSyncGet request
BrightnessSyncGet(ctx context.Context, params *BrightnessSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BrightnessSyncPostWithBody request with any body
BrightnessSyncPostWithBody(ctx context.Context, params *BrightnessSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompressAsyncGet request
CompressAsyncGet(ctx context.Context, params *CompressAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompressAsyncPostWithBody request with any body
CompressAsyncPostWithBody(ctx context.Context, params *CompressAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompressSyncGet request
CompressSyncGet(ctx context.Context, params *CompressSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompressSyncPostWithBody request with any body
CompressSyncPostWithBody(ctx context.Context, params *CompressSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConcatAsyncPostWithBody request with any body
ConcatAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConcatAsyncPost(ctx context.Context, body ConcatAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConcatSyncPostWithBody request with any body
ConcatSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConcatSyncPost(ctx context.Context, body ConcatSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ContrastAsyncGet request
ContrastAsyncGet(ctx context.Context, params *ContrastAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ContrastAsyncPostWithBody request with any body
ContrastAsyncPostWithBody(ctx context.Context, params *ContrastAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ContrastSyncGet request
ContrastSyncGet(ctx context.Context, params *ContrastSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ContrastSyncPostWithBody request with any body
ContrastSyncPostWithBody(ctx context.Context, params *ContrastSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConvertAsyncGet request
ConvertAsyncGet(ctx context.Context, params *ConvertAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConvertAsyncPostWithBody request with any body
ConvertAsyncPostWithBody(ctx context.Context, params *ConvertAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConvertSyncGet request
ConvertSyncGet(ctx context.Context, params *ConvertSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConvertSyncPostWithBody request with any body
ConvertSyncPostWithBody(ctx context.Context, params *ConvertSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CropAsyncGet request
CropAsyncGet(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CropAsyncPostWithBody request with any body
CropAsyncPostWithBody(ctx context.Context, params *CropAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CropSyncGet request
CropSyncGet(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CropSyncPostWithBody request with any body
CropSyncPostWithBody(ctx context.Context, params *CropSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EqualizeAsyncGet request
EqualizeAsyncGet(ctx context.Context, params *EqualizeAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EqualizeAsyncPostWithBody request with any body
EqualizeAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EqualizeSyncGet request
EqualizeSyncGet(ctx context.Context, params *EqualizeSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EqualizeSyncPostWithBody request with any body
EqualizeSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrayscaleAsyncGet request
GrayscaleAsyncGet(ctx context.Context, params *GrayscaleAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrayscaleAsyncPostWithBody request with any body
GrayscaleAsyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrayscaleSyncGet request
GrayscaleSyncGet(ctx context.Context, params *GrayscaleSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrayscaleSyncPostWithBody request with any body
GrayscaleSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImageinfoSyncGet request
ImageinfoSyncGet(ctx context.Context, params *ImageinfoSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImageinfoSyncPostWithBody request with any body
ImageinfoSyncPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PipelineGetStatus request
PipelineGetStatus(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PipelineGet request
PipelineGet(ctx context.Context, name string, params *PipelineGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PipelinePostWithBody request with any body
PipelinePostWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeAsyncGet request
ResizeAsyncGet(ctx context.Context, params *ResizeAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeAsyncPostWithBody request with any body
ResizeAsyncPostWithBody(ctx context.Context, params *ResizeAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeSyncGet request
ResizeSyncGet(ctx context.Context, params *ResizeSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeSyncPostWithBody request with any body
ResizeSyncPostWithBody(ctx context.Context, params *ResizeSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateAsyncGet request
RotateAsyncGet(ctx context.Context, params *RotateAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateAsyncPostWithBody request with any body
RotateAsyncPostWithBody(ctx context.Context, params *RotateAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateSyncGet request
RotateSyncGet(ctx context.Context, params *RotateSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateSyncPostWithBody request with any body
RotateSyncPostWithBody(ctx context.Context, params *RotateSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TextAsyncGet request
TextAsyncGet(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TextAsyncPostWithBody request with any body
TextAsyncPostWithBody(ctx context.Context, params *TextAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TextSyncGet request
TextSyncGet(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TextSyncPostWithBody request with any body
TextSyncPostWithBody(ctx context.Context, params *TextSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) BlendAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlendAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlendAsyncPostResponse, error)
BlendAsyncPostWithBodyWithResponse request with arbitrary body returning *BlendAsyncPostResponse
func (*ClientWithResponses) BlendAsyncPostWithResponse ¶
func (c *ClientWithResponses) BlendAsyncPostWithResponse(ctx context.Context, body BlendAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BlendAsyncPostResponse, error)
func (*ClientWithResponses) BlendSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlendSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlendSyncPostResponse, error)
BlendSyncPostWithBodyWithResponse request with arbitrary body returning *BlendSyncPostResponse
func (*ClientWithResponses) BlendSyncPostWithResponse ¶
func (c *ClientWithResponses) BlendSyncPostWithResponse(ctx context.Context, body BlendSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BlendSyncPostResponse, error)
func (*ClientWithResponses) BlurAsyncGetWithResponse ¶
func (c *ClientWithResponses) BlurAsyncGetWithResponse(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurAsyncGetResponse, error)
BlurAsyncGetWithResponse request returning *BlurAsyncGetResponse
func (*ClientWithResponses) BlurAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurAsyncPostResponse, error)
BlurAsyncPostWithBodyWithResponse request with arbitrary body returning *BlurAsyncPostResponse
func (*ClientWithResponses) BlurSyncGetWithResponse ¶
func (c *ClientWithResponses) BlurSyncGetWithResponse(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*BlurSyncGetResponse, error)
BlurSyncGetWithResponse request returning *BlurSyncGetResponse
func (*ClientWithResponses) BlurSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurSyncPostWithBodyWithResponse(ctx context.Context, params *BlurSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurSyncPostResponse, error)
BlurSyncPostWithBodyWithResponse request with arbitrary body returning *BlurSyncPostResponse
func (*ClientWithResponses) BlurhashAsyncGetWithResponse ¶
func (c *ClientWithResponses) BlurhashAsyncGetWithResponse(ctx context.Context, params *BlurhashAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurhashAsyncGetResponse, error)
BlurhashAsyncGetWithResponse request returning *BlurhashAsyncGetResponse
func (*ClientWithResponses) BlurhashAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurhashAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurhashAsyncPostResponse, error)
BlurhashAsyncPostWithBodyWithResponse request with arbitrary body returning *BlurhashAsyncPostResponse
func (*ClientWithResponses) BlurhashSyncGetWithResponse ¶
func (c *ClientWithResponses) BlurhashSyncGetWithResponse(ctx context.Context, params *BlurhashSyncGetParams, reqEditors ...RequestEditorFn) (*BlurhashSyncGetResponse, error)
BlurhashSyncGetWithResponse request returning *BlurhashSyncGetResponse
func (*ClientWithResponses) BlurhashSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurhashSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurhashSyncPostResponse, error)
BlurhashSyncPostWithBodyWithResponse request with arbitrary body returning *BlurhashSyncPostResponse
func (*ClientWithResponses) BlurpartialAsyncGetWithResponse ¶
func (c *ClientWithResponses) BlurpartialAsyncGetWithResponse(ctx context.Context, params *BlurpartialAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurpartialAsyncGetResponse, error)
BlurpartialAsyncGetWithResponse request returning *BlurpartialAsyncGetResponse
func (*ClientWithResponses) BlurpartialAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurpartialAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurpartialAsyncPostResponse, error)
BlurpartialAsyncPostWithBodyWithResponse request with arbitrary body returning *BlurpartialAsyncPostResponse
func (*ClientWithResponses) BlurpartialSyncGetWithResponse ¶
func (c *ClientWithResponses) BlurpartialSyncGetWithResponse(ctx context.Context, params *BlurpartialSyncGetParams, reqEditors ...RequestEditorFn) (*BlurpartialSyncGetResponse, error)
BlurpartialSyncGetWithResponse request returning *BlurpartialSyncGetResponse
func (*ClientWithResponses) BlurpartialSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BlurpartialSyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurpartialSyncPostResponse, error)
BlurpartialSyncPostWithBodyWithResponse request with arbitrary body returning *BlurpartialSyncPostResponse
func (*ClientWithResponses) BrightnessAsyncGetWithResponse ¶
func (c *ClientWithResponses) BrightnessAsyncGetWithResponse(ctx context.Context, params *BrightnessAsyncGetParams, reqEditors ...RequestEditorFn) (*BrightnessAsyncGetResponse, error)
BrightnessAsyncGetWithResponse request returning *BrightnessAsyncGetResponse
func (*ClientWithResponses) BrightnessAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BrightnessAsyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BrightnessAsyncPostResponse, error)
BrightnessAsyncPostWithBodyWithResponse request with arbitrary body returning *BrightnessAsyncPostResponse
func (*ClientWithResponses) BrightnessSyncGetWithResponse ¶
func (c *ClientWithResponses) BrightnessSyncGetWithResponse(ctx context.Context, params *BrightnessSyncGetParams, reqEditors ...RequestEditorFn) (*BrightnessSyncGetResponse, error)
BrightnessSyncGetWithResponse request returning *BrightnessSyncGetResponse
func (*ClientWithResponses) BrightnessSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BrightnessSyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BrightnessSyncPostResponse, error)
BrightnessSyncPostWithBodyWithResponse request with arbitrary body returning *BrightnessSyncPostResponse
func (*ClientWithResponses) CompressAsyncGetWithResponse ¶
func (c *ClientWithResponses) CompressAsyncGetWithResponse(ctx context.Context, params *CompressAsyncGetParams, reqEditors ...RequestEditorFn) (*CompressAsyncGetResponse, error)
CompressAsyncGetWithResponse request returning *CompressAsyncGetResponse
func (*ClientWithResponses) CompressAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CompressAsyncPostWithBodyWithResponse(ctx context.Context, params *CompressAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompressAsyncPostResponse, error)
CompressAsyncPostWithBodyWithResponse request with arbitrary body returning *CompressAsyncPostResponse
func (*ClientWithResponses) CompressSyncGetWithResponse ¶
func (c *ClientWithResponses) CompressSyncGetWithResponse(ctx context.Context, params *CompressSyncGetParams, reqEditors ...RequestEditorFn) (*CompressSyncGetResponse, error)
CompressSyncGetWithResponse request returning *CompressSyncGetResponse
func (*ClientWithResponses) CompressSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CompressSyncPostWithBodyWithResponse(ctx context.Context, params *CompressSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompressSyncPostResponse, error)
CompressSyncPostWithBodyWithResponse request with arbitrary body returning *CompressSyncPostResponse
func (*ClientWithResponses) ConcatAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ConcatAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConcatAsyncPostResponse, error)
ConcatAsyncPostWithBodyWithResponse request with arbitrary body returning *ConcatAsyncPostResponse
func (*ClientWithResponses) ConcatAsyncPostWithResponse ¶
func (c *ClientWithResponses) ConcatAsyncPostWithResponse(ctx context.Context, body ConcatAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ConcatAsyncPostResponse, error)
func (*ClientWithResponses) ConcatSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ConcatSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConcatSyncPostResponse, error)
ConcatSyncPostWithBodyWithResponse request with arbitrary body returning *ConcatSyncPostResponse
func (*ClientWithResponses) ConcatSyncPostWithResponse ¶
func (c *ClientWithResponses) ConcatSyncPostWithResponse(ctx context.Context, body ConcatSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ConcatSyncPostResponse, error)
func (*ClientWithResponses) ContrastAsyncGetWithResponse ¶
func (c *ClientWithResponses) ContrastAsyncGetWithResponse(ctx context.Context, params *ContrastAsyncGetParams, reqEditors ...RequestEditorFn) (*ContrastAsyncGetResponse, error)
ContrastAsyncGetWithResponse request returning *ContrastAsyncGetResponse
func (*ClientWithResponses) ContrastAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ContrastAsyncPostWithBodyWithResponse(ctx context.Context, params *ContrastAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ContrastAsyncPostResponse, error)
ContrastAsyncPostWithBodyWithResponse request with arbitrary body returning *ContrastAsyncPostResponse
func (*ClientWithResponses) ContrastSyncGetWithResponse ¶
func (c *ClientWithResponses) ContrastSyncGetWithResponse(ctx context.Context, params *ContrastSyncGetParams, reqEditors ...RequestEditorFn) (*ContrastSyncGetResponse, error)
ContrastSyncGetWithResponse request returning *ContrastSyncGetResponse
func (*ClientWithResponses) ContrastSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ContrastSyncPostWithBodyWithResponse(ctx context.Context, params *ContrastSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ContrastSyncPostResponse, error)
ContrastSyncPostWithBodyWithResponse request with arbitrary body returning *ContrastSyncPostResponse
func (*ClientWithResponses) ConvertAsyncGetWithResponse ¶
func (c *ClientWithResponses) ConvertAsyncGetWithResponse(ctx context.Context, params *ConvertAsyncGetParams, reqEditors ...RequestEditorFn) (*ConvertAsyncGetResponse, error)
ConvertAsyncGetWithResponse request returning *ConvertAsyncGetResponse
func (*ClientWithResponses) ConvertAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ConvertAsyncPostWithBodyWithResponse(ctx context.Context, params *ConvertAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertAsyncPostResponse, error)
ConvertAsyncPostWithBodyWithResponse request with arbitrary body returning *ConvertAsyncPostResponse
func (*ClientWithResponses) ConvertSyncGetWithResponse ¶
func (c *ClientWithResponses) ConvertSyncGetWithResponse(ctx context.Context, params *ConvertSyncGetParams, reqEditors ...RequestEditorFn) (*ConvertSyncGetResponse, error)
ConvertSyncGetWithResponse request returning *ConvertSyncGetResponse
func (*ClientWithResponses) ConvertSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ConvertSyncPostWithBodyWithResponse(ctx context.Context, params *ConvertSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertSyncPostResponse, error)
ConvertSyncPostWithBodyWithResponse request with arbitrary body returning *ConvertSyncPostResponse
func (*ClientWithResponses) CropAsyncGetWithResponse ¶
func (c *ClientWithResponses) CropAsyncGetWithResponse(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*CropAsyncGetResponse, error)
CropAsyncGetWithResponse request returning *CropAsyncGetResponse
func (*ClientWithResponses) CropAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CropAsyncPostWithBodyWithResponse(ctx context.Context, params *CropAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CropAsyncPostResponse, error)
CropAsyncPostWithBodyWithResponse request with arbitrary body returning *CropAsyncPostResponse
func (*ClientWithResponses) CropSyncGetWithResponse ¶
func (c *ClientWithResponses) CropSyncGetWithResponse(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*CropSyncGetResponse, error)
CropSyncGetWithResponse request returning *CropSyncGetResponse
func (*ClientWithResponses) CropSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CropSyncPostWithBodyWithResponse(ctx context.Context, params *CropSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CropSyncPostResponse, error)
CropSyncPostWithBodyWithResponse request with arbitrary body returning *CropSyncPostResponse
func (*ClientWithResponses) EqualizeAsyncGetWithResponse ¶
func (c *ClientWithResponses) EqualizeAsyncGetWithResponse(ctx context.Context, params *EqualizeAsyncGetParams, reqEditors ...RequestEditorFn) (*EqualizeAsyncGetResponse, error)
EqualizeAsyncGetWithResponse request returning *EqualizeAsyncGetResponse
func (*ClientWithResponses) EqualizeAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) EqualizeAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EqualizeAsyncPostResponse, error)
EqualizeAsyncPostWithBodyWithResponse request with arbitrary body returning *EqualizeAsyncPostResponse
func (*ClientWithResponses) EqualizeSyncGetWithResponse ¶
func (c *ClientWithResponses) EqualizeSyncGetWithResponse(ctx context.Context, params *EqualizeSyncGetParams, reqEditors ...RequestEditorFn) (*EqualizeSyncGetResponse, error)
EqualizeSyncGetWithResponse request returning *EqualizeSyncGetResponse
func (*ClientWithResponses) EqualizeSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) EqualizeSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EqualizeSyncPostResponse, error)
EqualizeSyncPostWithBodyWithResponse request with arbitrary body returning *EqualizeSyncPostResponse
func (*ClientWithResponses) GrayscaleAsyncGetWithResponse ¶
func (c *ClientWithResponses) GrayscaleAsyncGetWithResponse(ctx context.Context, params *GrayscaleAsyncGetParams, reqEditors ...RequestEditorFn) (*GrayscaleAsyncGetResponse, error)
GrayscaleAsyncGetWithResponse request returning *GrayscaleAsyncGetResponse
func (*ClientWithResponses) GrayscaleAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GrayscaleAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrayscaleAsyncPostResponse, error)
GrayscaleAsyncPostWithBodyWithResponse request with arbitrary body returning *GrayscaleAsyncPostResponse
func (*ClientWithResponses) GrayscaleSyncGetWithResponse ¶
func (c *ClientWithResponses) GrayscaleSyncGetWithResponse(ctx context.Context, params *GrayscaleSyncGetParams, reqEditors ...RequestEditorFn) (*GrayscaleSyncGetResponse, error)
GrayscaleSyncGetWithResponse request returning *GrayscaleSyncGetResponse
func (*ClientWithResponses) GrayscaleSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GrayscaleSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrayscaleSyncPostResponse, error)
GrayscaleSyncPostWithBodyWithResponse request with arbitrary body returning *GrayscaleSyncPostResponse
func (*ClientWithResponses) ImageinfoSyncGetWithResponse ¶
func (c *ClientWithResponses) ImageinfoSyncGetWithResponse(ctx context.Context, params *ImageinfoSyncGetParams, reqEditors ...RequestEditorFn) (*ImageinfoSyncGetResponse, error)
ImageinfoSyncGetWithResponse request returning *ImageinfoSyncGetResponse
func (*ClientWithResponses) ImageinfoSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ImageinfoSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImageinfoSyncPostResponse, error)
ImageinfoSyncPostWithBodyWithResponse request with arbitrary body returning *ImageinfoSyncPostResponse
func (*ClientWithResponses) PipelineGetStatusWithResponse ¶
func (c *ClientWithResponses) PipelineGetStatusWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*PipelineGetStatusResponse, error)
PipelineGetStatusWithResponse request returning *PipelineGetStatusResponse
func (*ClientWithResponses) PipelineGetWithResponse ¶
func (c *ClientWithResponses) PipelineGetWithResponse(ctx context.Context, name string, params *PipelineGetParams, reqEditors ...RequestEditorFn) (*PipelineGetResponse, error)
PipelineGetWithResponse request returning *PipelineGetResponse
func (*ClientWithResponses) PipelinePostWithBodyWithResponse ¶
func (c *ClientWithResponses) PipelinePostWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PipelinePostResponse, error)
PipelinePostWithBodyWithResponse request with arbitrary body returning *PipelinePostResponse
func (*ClientWithResponses) ResizeAsyncGetWithResponse ¶
func (c *ClientWithResponses) ResizeAsyncGetWithResponse(ctx context.Context, params *ResizeAsyncGetParams, reqEditors ...RequestEditorFn) (*ResizeAsyncGetResponse, error)
ResizeAsyncGetWithResponse request returning *ResizeAsyncGetResponse
func (*ClientWithResponses) ResizeAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeAsyncPostWithBodyWithResponse(ctx context.Context, params *ResizeAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeAsyncPostResponse, error)
ResizeAsyncPostWithBodyWithResponse request with arbitrary body returning *ResizeAsyncPostResponse
func (*ClientWithResponses) ResizeSyncGetWithResponse ¶
func (c *ClientWithResponses) ResizeSyncGetWithResponse(ctx context.Context, params *ResizeSyncGetParams, reqEditors ...RequestEditorFn) (*ResizeSyncGetResponse, error)
ResizeSyncGetWithResponse request returning *ResizeSyncGetResponse
func (*ClientWithResponses) ResizeSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeSyncPostWithBodyWithResponse(ctx context.Context, params *ResizeSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeSyncPostResponse, error)
ResizeSyncPostWithBodyWithResponse request with arbitrary body returning *ResizeSyncPostResponse
func (*ClientWithResponses) RotateAsyncGetWithResponse ¶
func (c *ClientWithResponses) RotateAsyncGetWithResponse(ctx context.Context, params *RotateAsyncGetParams, reqEditors ...RequestEditorFn) (*RotateAsyncGetResponse, error)
RotateAsyncGetWithResponse request returning *RotateAsyncGetResponse
func (*ClientWithResponses) RotateAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) RotateAsyncPostWithBodyWithResponse(ctx context.Context, params *RotateAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateAsyncPostResponse, error)
RotateAsyncPostWithBodyWithResponse request with arbitrary body returning *RotateAsyncPostResponse
func (*ClientWithResponses) RotateSyncGetWithResponse ¶
func (c *ClientWithResponses) RotateSyncGetWithResponse(ctx context.Context, params *RotateSyncGetParams, reqEditors ...RequestEditorFn) (*RotateSyncGetResponse, error)
RotateSyncGetWithResponse request returning *RotateSyncGetResponse
func (*ClientWithResponses) RotateSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) RotateSyncPostWithBodyWithResponse(ctx context.Context, params *RotateSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateSyncPostResponse, error)
RotateSyncPostWithBodyWithResponse request with arbitrary body returning *RotateSyncPostResponse
func (*ClientWithResponses) TextAsyncGetWithResponse ¶
func (c *ClientWithResponses) TextAsyncGetWithResponse(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*TextAsyncGetResponse, error)
TextAsyncGetWithResponse request returning *TextAsyncGetResponse
func (*ClientWithResponses) TextAsyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TextAsyncPostWithBodyWithResponse(ctx context.Context, params *TextAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextAsyncPostResponse, error)
TextAsyncPostWithBodyWithResponse request with arbitrary body returning *TextAsyncPostResponse
func (*ClientWithResponses) TextSyncGetWithResponse ¶
func (c *ClientWithResponses) TextSyncGetWithResponse(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*TextSyncGetResponse, error)
TextSyncGetWithResponse request returning *TextSyncGetResponse
func (*ClientWithResponses) TextSyncPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TextSyncPostWithBodyWithResponse(ctx context.Context, params *TextSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextSyncPostResponse, error)
TextSyncPostWithBodyWithResponse request with arbitrary body returning *TextSyncPostResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// BlendAsyncPostWithBodyWithResponse request with any body
BlendAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlendAsyncPostResponse, error)
BlendAsyncPostWithResponse(ctx context.Context, body BlendAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BlendAsyncPostResponse, error)
// BlendSyncPostWithBodyWithResponse request with any body
BlendSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlendSyncPostResponse, error)
BlendSyncPostWithResponse(ctx context.Context, body BlendSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BlendSyncPostResponse, error)
// BlurAsyncGetWithResponse request
BlurAsyncGetWithResponse(ctx context.Context, params *BlurAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurAsyncGetResponse, error)
// BlurAsyncPostWithBodyWithResponse request with any body
BlurAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurAsyncPostResponse, error)
// BlurSyncGetWithResponse request
BlurSyncGetWithResponse(ctx context.Context, params *BlurSyncGetParams, reqEditors ...RequestEditorFn) (*BlurSyncGetResponse, error)
// BlurSyncPostWithBodyWithResponse request with any body
BlurSyncPostWithBodyWithResponse(ctx context.Context, params *BlurSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurSyncPostResponse, error)
// BlurhashAsyncGetWithResponse request
BlurhashAsyncGetWithResponse(ctx context.Context, params *BlurhashAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurhashAsyncGetResponse, error)
// BlurhashAsyncPostWithBodyWithResponse request with any body
BlurhashAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurhashAsyncPostResponse, error)
// BlurhashSyncGetWithResponse request
BlurhashSyncGetWithResponse(ctx context.Context, params *BlurhashSyncGetParams, reqEditors ...RequestEditorFn) (*BlurhashSyncGetResponse, error)
// BlurhashSyncPostWithBodyWithResponse request with any body
BlurhashSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurhashSyncPostResponse, error)
// BlurpartialAsyncGetWithResponse request
BlurpartialAsyncGetWithResponse(ctx context.Context, params *BlurpartialAsyncGetParams, reqEditors ...RequestEditorFn) (*BlurpartialAsyncGetResponse, error)
// BlurpartialAsyncPostWithBodyWithResponse request with any body
BlurpartialAsyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurpartialAsyncPostResponse, error)
// BlurpartialSyncGetWithResponse request
BlurpartialSyncGetWithResponse(ctx context.Context, params *BlurpartialSyncGetParams, reqEditors ...RequestEditorFn) (*BlurpartialSyncGetResponse, error)
// BlurpartialSyncPostWithBodyWithResponse request with any body
BlurpartialSyncPostWithBodyWithResponse(ctx context.Context, params *BlurpartialSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlurpartialSyncPostResponse, error)
// BrightnessAsyncGetWithResponse request
BrightnessAsyncGetWithResponse(ctx context.Context, params *BrightnessAsyncGetParams, reqEditors ...RequestEditorFn) (*BrightnessAsyncGetResponse, error)
// BrightnessAsyncPostWithBodyWithResponse request with any body
BrightnessAsyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BrightnessAsyncPostResponse, error)
// BrightnessSyncGetWithResponse request
BrightnessSyncGetWithResponse(ctx context.Context, params *BrightnessSyncGetParams, reqEditors ...RequestEditorFn) (*BrightnessSyncGetResponse, error)
// BrightnessSyncPostWithBodyWithResponse request with any body
BrightnessSyncPostWithBodyWithResponse(ctx context.Context, params *BrightnessSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BrightnessSyncPostResponse, error)
// CompressAsyncGetWithResponse request
CompressAsyncGetWithResponse(ctx context.Context, params *CompressAsyncGetParams, reqEditors ...RequestEditorFn) (*CompressAsyncGetResponse, error)
// CompressAsyncPostWithBodyWithResponse request with any body
CompressAsyncPostWithBodyWithResponse(ctx context.Context, params *CompressAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompressAsyncPostResponse, error)
// CompressSyncGetWithResponse request
CompressSyncGetWithResponse(ctx context.Context, params *CompressSyncGetParams, reqEditors ...RequestEditorFn) (*CompressSyncGetResponse, error)
// CompressSyncPostWithBodyWithResponse request with any body
CompressSyncPostWithBodyWithResponse(ctx context.Context, params *CompressSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompressSyncPostResponse, error)
// ConcatAsyncPostWithBodyWithResponse request with any body
ConcatAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConcatAsyncPostResponse, error)
ConcatAsyncPostWithResponse(ctx context.Context, body ConcatAsyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ConcatAsyncPostResponse, error)
// ConcatSyncPostWithBodyWithResponse request with any body
ConcatSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConcatSyncPostResponse, error)
ConcatSyncPostWithResponse(ctx context.Context, body ConcatSyncPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ConcatSyncPostResponse, error)
// ContrastAsyncGetWithResponse request
ContrastAsyncGetWithResponse(ctx context.Context, params *ContrastAsyncGetParams, reqEditors ...RequestEditorFn) (*ContrastAsyncGetResponse, error)
// ContrastAsyncPostWithBodyWithResponse request with any body
ContrastAsyncPostWithBodyWithResponse(ctx context.Context, params *ContrastAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ContrastAsyncPostResponse, error)
// ContrastSyncGetWithResponse request
ContrastSyncGetWithResponse(ctx context.Context, params *ContrastSyncGetParams, reqEditors ...RequestEditorFn) (*ContrastSyncGetResponse, error)
// ContrastSyncPostWithBodyWithResponse request with any body
ContrastSyncPostWithBodyWithResponse(ctx context.Context, params *ContrastSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ContrastSyncPostResponse, error)
// ConvertAsyncGetWithResponse request
ConvertAsyncGetWithResponse(ctx context.Context, params *ConvertAsyncGetParams, reqEditors ...RequestEditorFn) (*ConvertAsyncGetResponse, error)
// ConvertAsyncPostWithBodyWithResponse request with any body
ConvertAsyncPostWithBodyWithResponse(ctx context.Context, params *ConvertAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertAsyncPostResponse, error)
// ConvertSyncGetWithResponse request
ConvertSyncGetWithResponse(ctx context.Context, params *ConvertSyncGetParams, reqEditors ...RequestEditorFn) (*ConvertSyncGetResponse, error)
// ConvertSyncPostWithBodyWithResponse request with any body
ConvertSyncPostWithBodyWithResponse(ctx context.Context, params *ConvertSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertSyncPostResponse, error)
// CropAsyncGetWithResponse request
CropAsyncGetWithResponse(ctx context.Context, params *CropAsyncGetParams, reqEditors ...RequestEditorFn) (*CropAsyncGetResponse, error)
// CropAsyncPostWithBodyWithResponse request with any body
CropAsyncPostWithBodyWithResponse(ctx context.Context, params *CropAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CropAsyncPostResponse, error)
// CropSyncGetWithResponse request
CropSyncGetWithResponse(ctx context.Context, params *CropSyncGetParams, reqEditors ...RequestEditorFn) (*CropSyncGetResponse, error)
// CropSyncPostWithBodyWithResponse request with any body
CropSyncPostWithBodyWithResponse(ctx context.Context, params *CropSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CropSyncPostResponse, error)
// EqualizeAsyncGetWithResponse request
EqualizeAsyncGetWithResponse(ctx context.Context, params *EqualizeAsyncGetParams, reqEditors ...RequestEditorFn) (*EqualizeAsyncGetResponse, error)
// EqualizeAsyncPostWithBodyWithResponse request with any body
EqualizeAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EqualizeAsyncPostResponse, error)
// EqualizeSyncGetWithResponse request
EqualizeSyncGetWithResponse(ctx context.Context, params *EqualizeSyncGetParams, reqEditors ...RequestEditorFn) (*EqualizeSyncGetResponse, error)
// EqualizeSyncPostWithBodyWithResponse request with any body
EqualizeSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EqualizeSyncPostResponse, error)
// GrayscaleAsyncGetWithResponse request
GrayscaleAsyncGetWithResponse(ctx context.Context, params *GrayscaleAsyncGetParams, reqEditors ...RequestEditorFn) (*GrayscaleAsyncGetResponse, error)
// GrayscaleAsyncPostWithBodyWithResponse request with any body
GrayscaleAsyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrayscaleAsyncPostResponse, error)
// GrayscaleSyncGetWithResponse request
GrayscaleSyncGetWithResponse(ctx context.Context, params *GrayscaleSyncGetParams, reqEditors ...RequestEditorFn) (*GrayscaleSyncGetResponse, error)
// GrayscaleSyncPostWithBodyWithResponse request with any body
GrayscaleSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrayscaleSyncPostResponse, error)
// ImageinfoSyncGetWithResponse request
ImageinfoSyncGetWithResponse(ctx context.Context, params *ImageinfoSyncGetParams, reqEditors ...RequestEditorFn) (*ImageinfoSyncGetResponse, error)
// ImageinfoSyncPostWithBodyWithResponse request with any body
ImageinfoSyncPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImageinfoSyncPostResponse, error)
// PipelineGetStatusWithResponse request
PipelineGetStatusWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*PipelineGetStatusResponse, error)
// PipelineGetWithResponse request
PipelineGetWithResponse(ctx context.Context, name string, params *PipelineGetParams, reqEditors ...RequestEditorFn) (*PipelineGetResponse, error)
// PipelinePostWithBodyWithResponse request with any body
PipelinePostWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PipelinePostResponse, error)
// ResizeAsyncGetWithResponse request
ResizeAsyncGetWithResponse(ctx context.Context, params *ResizeAsyncGetParams, reqEditors ...RequestEditorFn) (*ResizeAsyncGetResponse, error)
// ResizeAsyncPostWithBodyWithResponse request with any body
ResizeAsyncPostWithBodyWithResponse(ctx context.Context, params *ResizeAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeAsyncPostResponse, error)
// ResizeSyncGetWithResponse request
ResizeSyncGetWithResponse(ctx context.Context, params *ResizeSyncGetParams, reqEditors ...RequestEditorFn) (*ResizeSyncGetResponse, error)
// ResizeSyncPostWithBodyWithResponse request with any body
ResizeSyncPostWithBodyWithResponse(ctx context.Context, params *ResizeSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeSyncPostResponse, error)
// RotateAsyncGetWithResponse request
RotateAsyncGetWithResponse(ctx context.Context, params *RotateAsyncGetParams, reqEditors ...RequestEditorFn) (*RotateAsyncGetResponse, error)
// RotateAsyncPostWithBodyWithResponse request with any body
RotateAsyncPostWithBodyWithResponse(ctx context.Context, params *RotateAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateAsyncPostResponse, error)
// RotateSyncGetWithResponse request
RotateSyncGetWithResponse(ctx context.Context, params *RotateSyncGetParams, reqEditors ...RequestEditorFn) (*RotateSyncGetResponse, error)
// RotateSyncPostWithBodyWithResponse request with any body
RotateSyncPostWithBodyWithResponse(ctx context.Context, params *RotateSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RotateSyncPostResponse, error)
// TextAsyncGetWithResponse request
TextAsyncGetWithResponse(ctx context.Context, params *TextAsyncGetParams, reqEditors ...RequestEditorFn) (*TextAsyncGetResponse, error)
// TextAsyncPostWithBodyWithResponse request with any body
TextAsyncPostWithBodyWithResponse(ctx context.Context, params *TextAsyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextAsyncPostResponse, error)
// TextSyncGetWithResponse request
TextSyncGetWithResponse(ctx context.Context, params *TextSyncGetParams, reqEditors ...RequestEditorFn) (*TextSyncGetResponse, error)
// TextSyncPostWithBodyWithResponse request with any body
TextSyncPostWithBodyWithResponse(ctx context.Context, params *TextSyncPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextSyncPostResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CompressAsyncGetParams ¶
type CompressAsyncGetParams struct {
// Url image url, supported formats jpeg,png
Url string `form:"url" json:"url"`
// JpegQuality defines the jpeg quality level (the higher is the value, the better quality of the image). Only applied if the image is of type jpeg. (uses MozJPEG behind the curtains)
JpegQuality *int `form:"jpegQuality,omitempty" json:"jpegQuality,omitempty"`
// PngOptimizationLevel defines the png optimization level (higher value means a smaller size and longer compression time). Only applied if image is of type png.
PngOptimizationLevel *int `form:"pngOptimizationLevel,omitempty" json:"pngOptimizationLevel,omitempty"`
// ProgressiveJpeg It toggles the generation of a progressive JPEG. A "false" value generates a baseline JPEG
ProgressiveJpeg *bool `form:"progressiveJpeg,omitempty" json:"progressiveJpeg,omitempty"`
}
CompressAsyncGetParams defines parameters for CompressAsyncGet.
type CompressAsyncGetResponse ¶
type CompressAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseCompressAsyncGetResponse ¶
func ParseCompressAsyncGetResponse(rsp *http.Response) (*CompressAsyncGetResponse, error)
ParseCompressAsyncGetResponse parses an HTTP response from a CompressAsyncGetWithResponse call
func (CompressAsyncGetResponse) Status ¶
func (r CompressAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (CompressAsyncGetResponse) StatusCode ¶
func (r CompressAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompressAsyncPostParams ¶
type CompressAsyncPostParams struct {
// JpegQuality defines the jpeg quality level (the higher is the value, the better quality of the image). Only applied if the image is of type jpeg. (uses MozJPEG behind the curtains)
JpegQuality *int `form:"jpegQuality,omitempty" json:"jpegQuality,omitempty"`
// PngOptimizationLevel defines the png optimization level (higher value means a smaller size and longer compression time). Only applied if image is of type png.
PngOptimizationLevel *int `form:"pngOptimizationLevel,omitempty" json:"pngOptimizationLevel,omitempty"`
// ProgressiveJpeg It toggles the generation of a progressive JPEG. A "false" value generates a baseline JPEG
ProgressiveJpeg *bool `form:"progressiveJpeg,omitempty" json:"progressiveJpeg,omitempty"`
}
CompressAsyncPostParams defines parameters for CompressAsyncPost.
type CompressAsyncPostResponse ¶
type CompressAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseCompressAsyncPostResponse ¶
func ParseCompressAsyncPostResponse(rsp *http.Response) (*CompressAsyncPostResponse, error)
ParseCompressAsyncPostResponse parses an HTTP response from a CompressAsyncPostWithResponse call
func (CompressAsyncPostResponse) Status ¶
func (r CompressAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (CompressAsyncPostResponse) StatusCode ¶
func (r CompressAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompressSyncGetParams ¶
type CompressSyncGetParams struct {
// Url image url, supported formats jpeg,png
Url string `form:"url" json:"url"`
// JpegQuality defines the jpeg quality level (the higher is the value, the better quality of the image). Only applied if the image is of type jpeg. (uses MozJPEG behind the curtains)
JpegQuality *int `form:"jpegQuality,omitempty" json:"jpegQuality,omitempty"`
// PngOptimizationLevel defines the png optimization level (higher value means a smaller size and longer compression time). Only applied if image is of type png.
PngOptimizationLevel *int `form:"pngOptimizationLevel,omitempty" json:"pngOptimizationLevel,omitempty"`
// ProgressiveJpeg It toggles the generation of a progressive JPEG. A "false" value generates a baseline JPEG
ProgressiveJpeg *bool `form:"progressiveJpeg,omitempty" json:"progressiveJpeg,omitempty"`
}
CompressSyncGetParams defines parameters for CompressSyncGet.
type CompressSyncGetResponse ¶
type CompressSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseCompressSyncGetResponse ¶
func ParseCompressSyncGetResponse(rsp *http.Response) (*CompressSyncGetResponse, error)
ParseCompressSyncGetResponse parses an HTTP response from a CompressSyncGetWithResponse call
func (CompressSyncGetResponse) Status ¶
func (r CompressSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (CompressSyncGetResponse) StatusCode ¶
func (r CompressSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompressSyncPostParams ¶
type CompressSyncPostParams struct {
// JpegQuality defines the jpeg quality level (the higher is the value, the better quality of the image). Only applied if the image is of type jpeg. (uses MozJPEG behind the curtains)
JpegQuality *int `form:"jpegQuality,omitempty" json:"jpegQuality,omitempty"`
// PngOptimizationLevel defines the png optimization level (higher value means a smaller size and longer compression time). Only applied if image is of type png.
PngOptimizationLevel *int `form:"pngOptimizationLevel,omitempty" json:"pngOptimizationLevel,omitempty"`
// ProgressiveJpeg It toggles the generation of a progressive JPEG. A "false" value generates a baseline JPEG
ProgressiveJpeg *bool `form:"progressiveJpeg,omitempty" json:"progressiveJpeg,omitempty"`
}
CompressSyncPostParams defines parameters for CompressSyncPost.
type CompressSyncPostResponse ¶
type CompressSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseCompressSyncPostResponse ¶
func ParseCompressSyncPostResponse(rsp *http.Response) (*CompressSyncPostResponse, error)
ParseCompressSyncPostResponse parses an HTTP response from a CompressSyncPostWithResponse call
func (CompressSyncPostResponse) Status ¶
func (r CompressSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (CompressSyncPostResponse) StatusCode ¶
func (r CompressSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConcatAsyncPostJSONRequestBody ¶
type ConcatAsyncPostJSONRequestBody = ConcatRequest
ConcatAsyncPostJSONRequestBody defines body for ConcatAsyncPost for application/json ContentType.
type ConcatAsyncPostResponse ¶
type ConcatAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseConcatAsyncPostResponse ¶
func ParseConcatAsyncPostResponse(rsp *http.Response) (*ConcatAsyncPostResponse, error)
ParseConcatAsyncPostResponse parses an HTTP response from a ConcatAsyncPostWithResponse call
func (ConcatAsyncPostResponse) Status ¶
func (r ConcatAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConcatAsyncPostResponse) StatusCode ¶
func (r ConcatAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConcatRequest ¶
type ConcatRequest struct {
// ConcatMode Defines whether the result image will be resized to the smaller one or the larger one in case both images have different dimensions. It has not effect if images have the same dimensions.
ConcatMode *ConcatRequestConcatMode `json:"concatMode,omitempty"`
// Direction This parameter defines how the images will be concatenated. horizontal means that the images will concatenated one beside the other from left to right. vertical means that images will be concatenated one on the top of the other
Direction *ConcatRequestDirection `json:"direction,omitempty"`
Image1 *string `json:"image1,omitempty"`
Image2 *string `json:"image2,omitempty"`
TargetFormat *ConcatRequestTargetFormat `json:"targetFormat,omitempty"`
}
ConcatRequest defines model for concat.Request.
type ConcatRequestConcatMode ¶
type ConcatRequestConcatMode string
ConcatRequestConcatMode Defines whether the result image will be resized to the smaller one or the larger one in case both images have different dimensions. It has not effect if images have the same dimensions.
const ( ConcatRequestConcatModeNone ConcatRequestConcatMode = "none" ConcatRequestConcatModeRtl ConcatRequestConcatMode = "rtl" ConcatRequestConcatModeRts ConcatRequestConcatMode = "rts" )
Defines values for ConcatRequestConcatMode.
type ConcatRequestDirection ¶
type ConcatRequestDirection string
ConcatRequestDirection This parameter defines how the images will be concatenated. horizontal means that the images will concatenated one beside the other from left to right. vertical means that images will be concatenated one on the top of the other
const ( Hor ConcatRequestDirection = "hor" Ver ConcatRequestDirection = "ver" )
Defines values for ConcatRequestDirection.
type ConcatRequestTargetFormat ¶
type ConcatRequestTargetFormat string
ConcatRequestTargetFormat defines model for ConcatRequest.TargetFormat.
const ( ConcatRequestTargetFormatBmp ConcatRequestTargetFormat = "bmp" ConcatRequestTargetFormatGif ConcatRequestTargetFormat = "gif" ConcatRequestTargetFormatJpeg ConcatRequestTargetFormat = "jpeg" ConcatRequestTargetFormatPng ConcatRequestTargetFormat = "png" )
Defines values for ConcatRequestTargetFormat.
type ConcatSyncPostJSONRequestBody ¶
type ConcatSyncPostJSONRequestBody = ConcatRequest
ConcatSyncPostJSONRequestBody defines body for ConcatSyncPost for application/json ContentType.
type ConcatSyncPostResponse ¶
type ConcatSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseConcatSyncPostResponse ¶
func ParseConcatSyncPostResponse(rsp *http.Response) (*ConcatSyncPostResponse, error)
ParseConcatSyncPostResponse parses an HTTP response from a ConcatSyncPostWithResponse call
func (ConcatSyncPostResponse) Status ¶
func (r ConcatSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConcatSyncPostResponse) StatusCode ¶
func (r ConcatSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ContrastAsyncGetParams ¶
type ContrastAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Percentage controls the contrast level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
ContrastAsyncGetParams defines parameters for ContrastAsyncGet.
type ContrastAsyncGetResponse ¶
type ContrastAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseContrastAsyncGetResponse ¶
func ParseContrastAsyncGetResponse(rsp *http.Response) (*ContrastAsyncGetResponse, error)
ParseContrastAsyncGetResponse parses an HTTP response from a ContrastAsyncGetWithResponse call
func (ContrastAsyncGetResponse) Status ¶
func (r ContrastAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ContrastAsyncGetResponse) StatusCode ¶
func (r ContrastAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ContrastAsyncPostParams ¶
type ContrastAsyncPostParams struct {
// Percentage controls the contrast level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
ContrastAsyncPostParams defines parameters for ContrastAsyncPost.
type ContrastAsyncPostResponse ¶
type ContrastAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseContrastAsyncPostResponse ¶
func ParseContrastAsyncPostResponse(rsp *http.Response) (*ContrastAsyncPostResponse, error)
ParseContrastAsyncPostResponse parses an HTTP response from a ContrastAsyncPostWithResponse call
func (ContrastAsyncPostResponse) Status ¶
func (r ContrastAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ContrastAsyncPostResponse) StatusCode ¶
func (r ContrastAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ContrastSyncGetParams ¶
type ContrastSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Percentage controls the contrast level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
ContrastSyncGetParams defines parameters for ContrastSyncGet.
type ContrastSyncGetResponse ¶
type ContrastSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseContrastSyncGetResponse ¶
func ParseContrastSyncGetResponse(rsp *http.Response) (*ContrastSyncGetResponse, error)
ParseContrastSyncGetResponse parses an HTTP response from a ContrastSyncGetWithResponse call
func (ContrastSyncGetResponse) Status ¶
func (r ContrastSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ContrastSyncGetResponse) StatusCode ¶
func (r ContrastSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ContrastSyncPostParams ¶
type ContrastSyncPostParams struct {
// Percentage controls the contrast level
Percentage *float32 `form:"percentage,omitempty" json:"percentage,omitempty"`
}
ContrastSyncPostParams defines parameters for ContrastSyncPost.
type ContrastSyncPostResponse ¶
type ContrastSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseContrastSyncPostResponse ¶
func ParseContrastSyncPostResponse(rsp *http.Response) (*ContrastSyncPostResponse, error)
ParseContrastSyncPostResponse parses an HTTP response from a ContrastSyncPostWithResponse call
func (ContrastSyncPostResponse) Status ¶
func (r ContrastSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ContrastSyncPostResponse) StatusCode ¶
func (r ContrastSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertAsyncGetParams ¶
type ConvertAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
TargetFormat *ConvertAsyncGetParamsTargetFormat `form:"targetFormat,omitempty" json:"targetFormat,omitempty"`
}
ConvertAsyncGetParams defines parameters for ConvertAsyncGet.
type ConvertAsyncGetParamsTargetFormat ¶
type ConvertAsyncGetParamsTargetFormat string
ConvertAsyncGetParamsTargetFormat defines parameters for ConvertAsyncGet.
const ( ConvertAsyncGetParamsTargetFormatBmp ConvertAsyncGetParamsTargetFormat = "bmp" ConvertAsyncGetParamsTargetFormatGif ConvertAsyncGetParamsTargetFormat = "gif" ConvertAsyncGetParamsTargetFormatIco ConvertAsyncGetParamsTargetFormat = "ico" ConvertAsyncGetParamsTargetFormatJpeg ConvertAsyncGetParamsTargetFormat = "jpeg" ConvertAsyncGetParamsTargetFormatPng ConvertAsyncGetParamsTargetFormat = "png" )
Defines values for ConvertAsyncGetParamsTargetFormat.
type ConvertAsyncGetResponse ¶
type ConvertAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseConvertAsyncGetResponse ¶
func ParseConvertAsyncGetResponse(rsp *http.Response) (*ConvertAsyncGetResponse, error)
ParseConvertAsyncGetResponse parses an HTTP response from a ConvertAsyncGetWithResponse call
func (ConvertAsyncGetResponse) Status ¶
func (r ConvertAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertAsyncGetResponse) StatusCode ¶
func (r ConvertAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertAsyncPostParams ¶
type ConvertAsyncPostParams struct {
TargetFormat *ConvertAsyncPostParamsTargetFormat `form:"targetFormat,omitempty" json:"targetFormat,omitempty"`
}
ConvertAsyncPostParams defines parameters for ConvertAsyncPost.
type ConvertAsyncPostParamsTargetFormat ¶
type ConvertAsyncPostParamsTargetFormat string
ConvertAsyncPostParamsTargetFormat defines parameters for ConvertAsyncPost.
const ( ConvertAsyncPostParamsTargetFormatBmp ConvertAsyncPostParamsTargetFormat = "bmp" ConvertAsyncPostParamsTargetFormatGif ConvertAsyncPostParamsTargetFormat = "gif" ConvertAsyncPostParamsTargetFormatIco ConvertAsyncPostParamsTargetFormat = "ico" ConvertAsyncPostParamsTargetFormatJpeg ConvertAsyncPostParamsTargetFormat = "jpeg" ConvertAsyncPostParamsTargetFormatPng ConvertAsyncPostParamsTargetFormat = "png" )
Defines values for ConvertAsyncPostParamsTargetFormat.
type ConvertAsyncPostResponse ¶
type ConvertAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseConvertAsyncPostResponse ¶
func ParseConvertAsyncPostResponse(rsp *http.Response) (*ConvertAsyncPostResponse, error)
ParseConvertAsyncPostResponse parses an HTTP response from a ConvertAsyncPostWithResponse call
func (ConvertAsyncPostResponse) Status ¶
func (r ConvertAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertAsyncPostResponse) StatusCode ¶
func (r ConvertAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertSyncGetParams ¶
type ConvertSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
TargetFormat *ConvertSyncGetParamsTargetFormat `form:"targetFormat,omitempty" json:"targetFormat,omitempty"`
}
ConvertSyncGetParams defines parameters for ConvertSyncGet.
type ConvertSyncGetParamsTargetFormat ¶
type ConvertSyncGetParamsTargetFormat string
ConvertSyncGetParamsTargetFormat defines parameters for ConvertSyncGet.
const ( ConvertSyncGetParamsTargetFormatBmp ConvertSyncGetParamsTargetFormat = "bmp" ConvertSyncGetParamsTargetFormatGif ConvertSyncGetParamsTargetFormat = "gif" ConvertSyncGetParamsTargetFormatIco ConvertSyncGetParamsTargetFormat = "ico" ConvertSyncGetParamsTargetFormatJpeg ConvertSyncGetParamsTargetFormat = "jpeg" ConvertSyncGetParamsTargetFormatPng ConvertSyncGetParamsTargetFormat = "png" )
Defines values for ConvertSyncGetParamsTargetFormat.
type ConvertSyncGetResponse ¶
type ConvertSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseConvertSyncGetResponse ¶
func ParseConvertSyncGetResponse(rsp *http.Response) (*ConvertSyncGetResponse, error)
ParseConvertSyncGetResponse parses an HTTP response from a ConvertSyncGetWithResponse call
func (ConvertSyncGetResponse) Status ¶
func (r ConvertSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertSyncGetResponse) StatusCode ¶
func (r ConvertSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertSyncPostParams ¶
type ConvertSyncPostParams struct {
TargetFormat *ConvertSyncPostParamsTargetFormat `form:"targetFormat,omitempty" json:"targetFormat,omitempty"`
}
ConvertSyncPostParams defines parameters for ConvertSyncPost.
type ConvertSyncPostParamsTargetFormat ¶
type ConvertSyncPostParamsTargetFormat string
ConvertSyncPostParamsTargetFormat defines parameters for ConvertSyncPost.
const ( ConvertSyncPostParamsTargetFormatBmp ConvertSyncPostParamsTargetFormat = "bmp" ConvertSyncPostParamsTargetFormatGif ConvertSyncPostParamsTargetFormat = "gif" ConvertSyncPostParamsTargetFormatIco ConvertSyncPostParamsTargetFormat = "ico" ConvertSyncPostParamsTargetFormatJpeg ConvertSyncPostParamsTargetFormat = "jpeg" ConvertSyncPostParamsTargetFormatPng ConvertSyncPostParamsTargetFormat = "png" )
Defines values for ConvertSyncPostParamsTargetFormat.
type ConvertSyncPostResponse ¶
type ConvertSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseConvertSyncPostResponse ¶
func ParseConvertSyncPostResponse(rsp *http.Response) (*ConvertSyncPostResponse, error)
ParseConvertSyncPostResponse parses an HTTP response from a ConvertSyncPostWithResponse call
func (ConvertSyncPostResponse) Status ¶
func (r ConvertSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertSyncPostResponse) StatusCode ¶
func (r ConvertSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CropAsyncGetParams ¶
type CropAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// X0 the x coordinate of the first point of the rectangle to crop.
X0 int `form:"x0" json:"x0"`
// X1 the x coordinate of the second point of the rectangle to crop.
X1 int `form:"x1" json:"x1"`
// Y0 the y coordinate of the first point of the rectangle to crop.
Y0 int `form:"y0" json:"y0"`
// Y1 the y coordinate of the second point of the rectangle to crop.
Y1 int `form:"y1" json:"y1"`
}
CropAsyncGetParams defines parameters for CropAsyncGet.
type CropAsyncGetResponse ¶
type CropAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseCropAsyncGetResponse ¶
func ParseCropAsyncGetResponse(rsp *http.Response) (*CropAsyncGetResponse, error)
ParseCropAsyncGetResponse parses an HTTP response from a CropAsyncGetWithResponse call
func (CropAsyncGetResponse) Status ¶
func (r CropAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (CropAsyncGetResponse) StatusCode ¶
func (r CropAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CropAsyncPostParams ¶
type CropAsyncPostParams struct {
// X0 the x coordinate of the first point of the rectangle to crop.
X0 int `form:"x0" json:"x0"`
// X1 the x coordinate of the second point of the rectangle to crop.
X1 int `form:"x1" json:"x1"`
// Y0 the y coordinate of the first point of the rectangle to crop.
Y0 int `form:"y0" json:"y0"`
// Y1 the y coordinate of the second point of the rectangle to crop.
Y1 int `form:"y1" json:"y1"`
}
CropAsyncPostParams defines parameters for CropAsyncPost.
type CropAsyncPostResponse ¶
type CropAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseCropAsyncPostResponse ¶
func ParseCropAsyncPostResponse(rsp *http.Response) (*CropAsyncPostResponse, error)
ParseCropAsyncPostResponse parses an HTTP response from a CropAsyncPostWithResponse call
func (CropAsyncPostResponse) Status ¶
func (r CropAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (CropAsyncPostResponse) StatusCode ¶
func (r CropAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CropSyncGetParams ¶
type CropSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// X0 the x coordinate of the first point of the rectangle to crop.
X0 int `form:"x0" json:"x0"`
// X1 the x coordinate of the second point of the rectangle to crop.
X1 int `form:"x1" json:"x1"`
// Y0 the y coordinate of the first point of the rectangle to crop.
Y0 int `form:"y0" json:"y0"`
// Y1 the y coordinate of the second point of the rectangle to crop.
Y1 int `form:"y1" json:"y1"`
}
CropSyncGetParams defines parameters for CropSyncGet.
type CropSyncGetResponse ¶
type CropSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseCropSyncGetResponse ¶
func ParseCropSyncGetResponse(rsp *http.Response) (*CropSyncGetResponse, error)
ParseCropSyncGetResponse parses an HTTP response from a CropSyncGetWithResponse call
func (CropSyncGetResponse) Status ¶
func (r CropSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (CropSyncGetResponse) StatusCode ¶
func (r CropSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CropSyncPostParams ¶
type CropSyncPostParams struct {
// X0 the x coordinate of the first point of the rectangle to crop.
X0 int `form:"x0" json:"x0"`
// X1 the x coordinate of the second point of the rectangle to crop.
X1 int `form:"x1" json:"x1"`
// Y0 the y coordinate of the first point of the rectangle to crop.
Y0 int `form:"y0" json:"y0"`
// Y1 the y coordinate of the second point of the rectangle to crop.
Y1 int `form:"y1" json:"y1"`
}
CropSyncPostParams defines parameters for CropSyncPost.
type CropSyncPostResponse ¶
type CropSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseCropSyncPostResponse ¶
func ParseCropSyncPostResponse(rsp *http.Response) (*CropSyncPostResponse, error)
ParseCropSyncPostResponse parses an HTTP response from a CropSyncPostWithResponse call
func (CropSyncPostResponse) Status ¶
func (r CropSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (CropSyncPostResponse) StatusCode ¶
func (r CropSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EqualizeAsyncGetParams ¶
type EqualizeAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
}
EqualizeAsyncGetParams defines parameters for EqualizeAsyncGet.
type EqualizeAsyncGetResponse ¶
type EqualizeAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseEqualizeAsyncGetResponse ¶
func ParseEqualizeAsyncGetResponse(rsp *http.Response) (*EqualizeAsyncGetResponse, error)
ParseEqualizeAsyncGetResponse parses an HTTP response from a EqualizeAsyncGetWithResponse call
func (EqualizeAsyncGetResponse) Status ¶
func (r EqualizeAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (EqualizeAsyncGetResponse) StatusCode ¶
func (r EqualizeAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EqualizeAsyncPostResponse ¶
type EqualizeAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseEqualizeAsyncPostResponse ¶
func ParseEqualizeAsyncPostResponse(rsp *http.Response) (*EqualizeAsyncPostResponse, error)
ParseEqualizeAsyncPostResponse parses an HTTP response from a EqualizeAsyncPostWithResponse call
func (EqualizeAsyncPostResponse) Status ¶
func (r EqualizeAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (EqualizeAsyncPostResponse) StatusCode ¶
func (r EqualizeAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EqualizeSyncGetParams ¶
type EqualizeSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
}
EqualizeSyncGetParams defines parameters for EqualizeSyncGet.
type EqualizeSyncGetResponse ¶
type EqualizeSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseEqualizeSyncGetResponse ¶
func ParseEqualizeSyncGetResponse(rsp *http.Response) (*EqualizeSyncGetResponse, error)
ParseEqualizeSyncGetResponse parses an HTTP response from a EqualizeSyncGetWithResponse call
func (EqualizeSyncGetResponse) Status ¶
func (r EqualizeSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (EqualizeSyncGetResponse) StatusCode ¶
func (r EqualizeSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EqualizeSyncPostResponse ¶
type EqualizeSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseEqualizeSyncPostResponse ¶
func ParseEqualizeSyncPostResponse(rsp *http.Response) (*EqualizeSyncPostResponse, error)
ParseEqualizeSyncPostResponse parses an HTTP response from a EqualizeSyncPostWithResponse call
func (EqualizeSyncPostResponse) Status ¶
func (r EqualizeSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (EqualizeSyncPostResponse) StatusCode ¶
func (r EqualizeSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorResponse ¶
type ErrorResponse struct {
Details *string `json:"details,omitempty"`
Message *string `json:"message,omitempty"`
RequestId *string `json:"requestId,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type GrayscaleAsyncGetParams ¶
type GrayscaleAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
}
GrayscaleAsyncGetParams defines parameters for GrayscaleAsyncGet.
type GrayscaleAsyncGetResponse ¶
type GrayscaleAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseGrayscaleAsyncGetResponse ¶
func ParseGrayscaleAsyncGetResponse(rsp *http.Response) (*GrayscaleAsyncGetResponse, error)
ParseGrayscaleAsyncGetResponse parses an HTTP response from a GrayscaleAsyncGetWithResponse call
func (GrayscaleAsyncGetResponse) Status ¶
func (r GrayscaleAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (GrayscaleAsyncGetResponse) StatusCode ¶
func (r GrayscaleAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrayscaleAsyncPostResponse ¶
type GrayscaleAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseGrayscaleAsyncPostResponse ¶
func ParseGrayscaleAsyncPostResponse(rsp *http.Response) (*GrayscaleAsyncPostResponse, error)
ParseGrayscaleAsyncPostResponse parses an HTTP response from a GrayscaleAsyncPostWithResponse call
func (GrayscaleAsyncPostResponse) Status ¶
func (r GrayscaleAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (GrayscaleAsyncPostResponse) StatusCode ¶
func (r GrayscaleAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrayscaleSyncGetParams ¶
type GrayscaleSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
}
GrayscaleSyncGetParams defines parameters for GrayscaleSyncGet.
type GrayscaleSyncGetResponse ¶
type GrayscaleSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseGrayscaleSyncGetResponse ¶
func ParseGrayscaleSyncGetResponse(rsp *http.Response) (*GrayscaleSyncGetResponse, error)
ParseGrayscaleSyncGetResponse parses an HTTP response from a GrayscaleSyncGetWithResponse call
func (GrayscaleSyncGetResponse) Status ¶
func (r GrayscaleSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (GrayscaleSyncGetResponse) StatusCode ¶
func (r GrayscaleSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrayscaleSyncPostResponse ¶
type GrayscaleSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseGrayscaleSyncPostResponse ¶
func ParseGrayscaleSyncPostResponse(rsp *http.Response) (*GrayscaleSyncPostResponse, error)
ParseGrayscaleSyncPostResponse parses an HTTP response from a GrayscaleSyncPostWithResponse call
func (GrayscaleSyncPostResponse) Status ¶
func (r GrayscaleSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (GrayscaleSyncPostResponse) StatusCode ¶
func (r GrayscaleSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageMetadata ¶
type ImageMetadata struct {
BackgroundColor *string `json:"backgroundColor,omitempty"`
BorderColor *string `json:"borderColor,omitempty"`
Class *string `json:"class,omitempty"`
Colorspace *string `json:"colorspace,omitempty"`
Compose *string `json:"compose,omitempty"`
Compression *string `json:"compression,omitempty"`
DepthInBits *float32 `json:"depthInBits,omitempty"`
Dispose *string `json:"dispose,omitempty"`
Endianness *string `json:"endianness,omitempty"`
Format *string `json:"format,omitempty"`
Gamma *float32 `json:"gamma,omitempty"`
Geometry *string `json:"geometry,omitempty"`
Intensity *string `json:"intensity,omitempty"`
Interlace *string `json:"interlace,omitempty"`
Iterations *float32 `json:"iterations,omitempty"`
MatteColor *string `json:"matteColor,omitempty"`
NumberOfPixels *float32 `json:"numberOfPixels,omitempty"`
Orientation *string `json:"orientation,omitempty"`
PageGeometry *string `json:"pageGeometry,omitempty"`
RenderingIntent *string `json:"renderingIntent,omitempty"`
SizeInBytes *float32 `json:"sizeInBytes,omitempty"`
Tainted *string `json:"tainted,omitempty"`
TransparentColor *string `json:"transparentColor,omitempty"`
Type *string `json:"type,omitempty"`
Units *string `json:"units,omitempty"`
}
ImageMetadata defines model for ImageMetadata.
type ImageinfoSyncGetParams ¶
type ImageinfoSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
}
ImageinfoSyncGetParams defines parameters for ImageinfoSyncGet.
type ImageinfoSyncGetResponse ¶
type ImageinfoSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageMetadata
JSON400 *ErrorResponse
}
func ParseImageinfoSyncGetResponse ¶
func ParseImageinfoSyncGetResponse(rsp *http.Response) (*ImageinfoSyncGetResponse, error)
ParseImageinfoSyncGetResponse parses an HTTP response from a ImageinfoSyncGetWithResponse call
func (ImageinfoSyncGetResponse) Status ¶
func (r ImageinfoSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ImageinfoSyncGetResponse) StatusCode ¶
func (r ImageinfoSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ImageinfoSyncPostResponse ¶
type ImageinfoSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageMetadata
JSON400 *ErrorResponse
}
func ParseImageinfoSyncPostResponse ¶
func ParseImageinfoSyncPostResponse(rsp *http.Response) (*ImageinfoSyncPostResponse, error)
ParseImageinfoSyncPostResponse parses an HTTP response from a ImageinfoSyncPostWithResponse call
func (ImageinfoSyncPostResponse) Status ¶
func (r ImageinfoSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ImageinfoSyncPostResponse) StatusCode ¶
func (r ImageinfoSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InfoResponse ¶
type InfoResponse struct {
Info *string `json:"info,omitempty"`
}
InfoResponse defines model for InfoResponse.
type PipelineExecutionResult ¶
type PipelineExecutionResult struct {
Created *int `json:"created,omitempty"`
FailureStep *int `json:"failure_step,omitempty"`
Name *string `json:"name,omitempty"`
SizeInMegabytes *float32 `json:"size_in_megabytes,omitempty"`
Status *PipelineStatus `json:"status,omitempty"`
Success *bool `json:"success,omitempty"`
}
PipelineExecutionResult defines model for PipelineExecutionResult.
type PipelineGetParams ¶
type PipelineGetParams struct {
// Url image url, supported formats jpeg,png,bmp
Url string `form:"url" json:"url"`
}
PipelineGetParams defines parameters for PipelineGet.
type PipelineGetResponse ¶
type PipelineGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SuccessResponse
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParsePipelineGetResponse ¶
func ParsePipelineGetResponse(rsp *http.Response) (*PipelineGetResponse, error)
ParsePipelineGetResponse parses an HTTP response from a PipelineGetWithResponse call
func (PipelineGetResponse) Status ¶
func (r PipelineGetResponse) Status() string
Status returns HTTPResponse.Status
func (PipelineGetResponse) StatusCode ¶
func (r PipelineGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PipelineGetStatusResponse ¶
type PipelineGetStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PipelineExecutionResult
}
func ParsePipelineGetStatusResponse ¶
func ParsePipelineGetStatusResponse(rsp *http.Response) (*PipelineGetStatusResponse, error)
ParsePipelineGetStatusResponse parses an HTTP response from a PipelineGetStatusWithResponse call
func (PipelineGetStatusResponse) Status ¶
func (r PipelineGetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (PipelineGetStatusResponse) StatusCode ¶
func (r PipelineGetStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PipelinePostResponse ¶
type PipelinePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SuccessResponse
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParsePipelinePostResponse ¶
func ParsePipelinePostResponse(rsp *http.Response) (*PipelinePostResponse, error)
ParsePipelinePostResponse parses an HTTP response from a PipelinePostWithResponse call
func (PipelinePostResponse) Status ¶
func (r PipelinePostResponse) Status() string
Status returns HTTPResponse.Status
func (PipelinePostResponse) StatusCode ¶
func (r PipelinePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PipelineStatus ¶
type PipelineStatus string
PipelineStatus defines model for PipelineStatus.
const ( Finished PipelineStatus = "finished" InProgress PipelineStatus = "in progress" )
Defines values for PipelineStatus.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResizeAsyncGetParams ¶
type ResizeAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
Height int `form:"height" json:"height"`
// ResamplingAlgorithm It allows changing the resampling algorithm used when resizing (resampling) the image.
ResamplingAlgorithm *ResizeAsyncGetParamsResamplingAlgorithm `form:"resamplingAlgorithm,omitempty" json:"resamplingAlgorithm,omitempty"`
Width int `form:"width" json:"width"`
}
ResizeAsyncGetParams defines parameters for ResizeAsyncGet.
type ResizeAsyncGetParamsResamplingAlgorithm ¶
type ResizeAsyncGetParamsResamplingAlgorithm string
ResizeAsyncGetParamsResamplingAlgorithm defines parameters for ResizeAsyncGet.
const ( ResizeAsyncGetParamsResamplingAlgorithmBox ResizeAsyncGetParamsResamplingAlgorithm = "box" ResizeAsyncGetParamsResamplingAlgorithmCatmullRom ResizeAsyncGetParamsResamplingAlgorithm = "catmull_rom" ResizeAsyncGetParamsResamplingAlgorithmLanczos ResizeAsyncGetParamsResamplingAlgorithm = "lanczos" ResizeAsyncGetParamsResamplingAlgorithmLinear ResizeAsyncGetParamsResamplingAlgorithm = "linear" ResizeAsyncGetParamsResamplingAlgorithmNearestNeighbor ResizeAsyncGetParamsResamplingAlgorithm = "nearest_neighbor" )
Defines values for ResizeAsyncGetParamsResamplingAlgorithm.
type ResizeAsyncGetResponse ¶
type ResizeAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseResizeAsyncGetResponse ¶
func ParseResizeAsyncGetResponse(rsp *http.Response) (*ResizeAsyncGetResponse, error)
ParseResizeAsyncGetResponse parses an HTTP response from a ResizeAsyncGetWithResponse call
func (ResizeAsyncGetResponse) Status ¶
func (r ResizeAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeAsyncGetResponse) StatusCode ¶
func (r ResizeAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeAsyncPostParams ¶
type ResizeAsyncPostParams struct {
Height int `form:"height" json:"height"`
// ResamplingAlgorithm It allows changing the resampling algorithm used when resizing (resampling) the image.
ResamplingAlgorithm *ResizeAsyncPostParamsResamplingAlgorithm `form:"resamplingAlgorithm,omitempty" json:"resamplingAlgorithm,omitempty"`
Width int `form:"width" json:"width"`
}
ResizeAsyncPostParams defines parameters for ResizeAsyncPost.
type ResizeAsyncPostParamsResamplingAlgorithm ¶
type ResizeAsyncPostParamsResamplingAlgorithm string
ResizeAsyncPostParamsResamplingAlgorithm defines parameters for ResizeAsyncPost.
const ( ResizeAsyncPostParamsResamplingAlgorithmBox ResizeAsyncPostParamsResamplingAlgorithm = "box" ResizeAsyncPostParamsResamplingAlgorithmCatmullRom ResizeAsyncPostParamsResamplingAlgorithm = "catmull_rom" ResizeAsyncPostParamsResamplingAlgorithmLanczos ResizeAsyncPostParamsResamplingAlgorithm = "lanczos" ResizeAsyncPostParamsResamplingAlgorithmLinear ResizeAsyncPostParamsResamplingAlgorithm = "linear" ResizeAsyncPostParamsResamplingAlgorithmNearestNeighbor ResizeAsyncPostParamsResamplingAlgorithm = "nearest_neighbor" )
Defines values for ResizeAsyncPostParamsResamplingAlgorithm.
type ResizeAsyncPostResponse ¶
type ResizeAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseResizeAsyncPostResponse ¶
func ParseResizeAsyncPostResponse(rsp *http.Response) (*ResizeAsyncPostResponse, error)
ParseResizeAsyncPostResponse parses an HTTP response from a ResizeAsyncPostWithResponse call
func (ResizeAsyncPostResponse) Status ¶
func (r ResizeAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeAsyncPostResponse) StatusCode ¶
func (r ResizeAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeSyncGetParams ¶
type ResizeSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
Height int `form:"height" json:"height"`
// ResamplingAlgorithm It allows changing the resampling algorithm used when resizing (resampling) the image.
ResamplingAlgorithm *ResizeSyncGetParamsResamplingAlgorithm `form:"resamplingAlgorithm,omitempty" json:"resamplingAlgorithm,omitempty"`
Width int `form:"width" json:"width"`
}
ResizeSyncGetParams defines parameters for ResizeSyncGet.
type ResizeSyncGetParamsResamplingAlgorithm ¶
type ResizeSyncGetParamsResamplingAlgorithm string
ResizeSyncGetParamsResamplingAlgorithm defines parameters for ResizeSyncGet.
const ( ResizeSyncGetParamsResamplingAlgorithmBox ResizeSyncGetParamsResamplingAlgorithm = "box" ResizeSyncGetParamsResamplingAlgorithmCatmullRom ResizeSyncGetParamsResamplingAlgorithm = "catmull_rom" ResizeSyncGetParamsResamplingAlgorithmLanczos ResizeSyncGetParamsResamplingAlgorithm = "lanczos" ResizeSyncGetParamsResamplingAlgorithmLinear ResizeSyncGetParamsResamplingAlgorithm = "linear" ResizeSyncGetParamsResamplingAlgorithmNearestNeighbor ResizeSyncGetParamsResamplingAlgorithm = "nearest_neighbor" )
Defines values for ResizeSyncGetParamsResamplingAlgorithm.
type ResizeSyncGetResponse ¶
type ResizeSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseResizeSyncGetResponse ¶
func ParseResizeSyncGetResponse(rsp *http.Response) (*ResizeSyncGetResponse, error)
ParseResizeSyncGetResponse parses an HTTP response from a ResizeSyncGetWithResponse call
func (ResizeSyncGetResponse) Status ¶
func (r ResizeSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeSyncGetResponse) StatusCode ¶
func (r ResizeSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeSyncPostParams ¶
type ResizeSyncPostParams struct {
Height int `form:"height" json:"height"`
// ResamplingAlgorithm It allows changing the resampling algorithm used when resizing (resampling) the image.
ResamplingAlgorithm *ResizeSyncPostParamsResamplingAlgorithm `form:"resamplingAlgorithm,omitempty" json:"resamplingAlgorithm,omitempty"`
Width int `form:"width" json:"width"`
}
ResizeSyncPostParams defines parameters for ResizeSyncPost.
type ResizeSyncPostParamsResamplingAlgorithm ¶
type ResizeSyncPostParamsResamplingAlgorithm string
ResizeSyncPostParamsResamplingAlgorithm defines parameters for ResizeSyncPost.
const ( ResizeSyncPostParamsResamplingAlgorithmBox ResizeSyncPostParamsResamplingAlgorithm = "box" ResizeSyncPostParamsResamplingAlgorithmCatmullRom ResizeSyncPostParamsResamplingAlgorithm = "catmull_rom" ResizeSyncPostParamsResamplingAlgorithmLanczos ResizeSyncPostParamsResamplingAlgorithm = "lanczos" ResizeSyncPostParamsResamplingAlgorithmLinear ResizeSyncPostParamsResamplingAlgorithm = "linear" ResizeSyncPostParamsResamplingAlgorithmNearestNeighbor ResizeSyncPostParamsResamplingAlgorithm = "nearest_neighbor" )
Defines values for ResizeSyncPostParamsResamplingAlgorithm.
type ResizeSyncPostResponse ¶
type ResizeSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseResizeSyncPostResponse ¶
func ParseResizeSyncPostResponse(rsp *http.Response) (*ResizeSyncPostResponse, error)
ParseResizeSyncPostResponse parses an HTTP response from a ResizeSyncPostWithResponse call
func (ResizeSyncPostResponse) Status ¶
func (r ResizeSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeSyncPostResponse) StatusCode ¶
func (r ResizeSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateAsyncGetParams ¶
type RotateAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Angle rotation angle in degrees
Angle *float32 `form:"angle,omitempty" json:"angle,omitempty"`
// BackgroundColor the color that should be used to fill the empty surfaces after rotating the image. Must be a valid color name (supported names are specified [here](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
BackgroundColor *string `form:"backgroundColor,omitempty" json:"backgroundColor,omitempty"`
}
RotateAsyncGetParams defines parameters for RotateAsyncGet.
type RotateAsyncGetResponse ¶
type RotateAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseRotateAsyncGetResponse ¶
func ParseRotateAsyncGetResponse(rsp *http.Response) (*RotateAsyncGetResponse, error)
ParseRotateAsyncGetResponse parses an HTTP response from a RotateAsyncGetWithResponse call
func (RotateAsyncGetResponse) Status ¶
func (r RotateAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (RotateAsyncGetResponse) StatusCode ¶
func (r RotateAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateAsyncPostParams ¶
type RotateAsyncPostParams struct {
// Angle rotation angle in degrees
Angle *float32 `form:"angle,omitempty" json:"angle,omitempty"`
// BackgroundColor the color that should be used to fill the empty surfaces after rotating the image. Must be a valid color name (supported names are specified [here](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
BackgroundColor *string `form:"backgroundColor,omitempty" json:"backgroundColor,omitempty"`
}
RotateAsyncPostParams defines parameters for RotateAsyncPost.
type RotateAsyncPostResponse ¶
type RotateAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseRotateAsyncPostResponse ¶
func ParseRotateAsyncPostResponse(rsp *http.Response) (*RotateAsyncPostResponse, error)
ParseRotateAsyncPostResponse parses an HTTP response from a RotateAsyncPostWithResponse call
func (RotateAsyncPostResponse) Status ¶
func (r RotateAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (RotateAsyncPostResponse) StatusCode ¶
func (r RotateAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateSyncGetParams ¶
type RotateSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Angle rotation angle in degrees
Angle *float32 `form:"angle,omitempty" json:"angle,omitempty"`
// BackgroundColor the color that should be used to fill the empty surfaces after rotating the image. Must be a valid color name (supported names are specified [here](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
BackgroundColor *string `form:"backgroundColor,omitempty" json:"backgroundColor,omitempty"`
}
RotateSyncGetParams defines parameters for RotateSyncGet.
type RotateSyncGetResponse ¶
type RotateSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseRotateSyncGetResponse ¶
func ParseRotateSyncGetResponse(rsp *http.Response) (*RotateSyncGetResponse, error)
ParseRotateSyncGetResponse parses an HTTP response from a RotateSyncGetWithResponse call
func (RotateSyncGetResponse) Status ¶
func (r RotateSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (RotateSyncGetResponse) StatusCode ¶
func (r RotateSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateSyncPostParams ¶
type RotateSyncPostParams struct {
// Angle rotation angle in degrees
Angle *float32 `form:"angle,omitempty" json:"angle,omitempty"`
// BackgroundColor the color that should be used to fill the empty surfaces after rotating the image. Must be a valid color name (supported names are specified [here](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
BackgroundColor *string `form:"backgroundColor,omitempty" json:"backgroundColor,omitempty"`
}
RotateSyncPostParams defines parameters for RotateSyncPost.
type RotateSyncPostResponse ¶
type RotateSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseRotateSyncPostResponse ¶
func ParseRotateSyncPostResponse(rsp *http.Response) (*RotateSyncPostResponse, error)
ParseRotateSyncPostResponse parses an HTTP response from a RotateSyncPostWithResponse call
func (RotateSyncPostResponse) Status ¶
func (r RotateSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (RotateSyncPostResponse) StatusCode ¶
func (r RotateSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SuccessResponse ¶
type SuccessResponse struct {
// ExecutionId this is important for the tracking of the execution of the pipeline, it can be used with the /pipeline/{execution_id}/status
ExecutionId *string `json:"executionId,omitempty"`
Message *string `json:"message,omitempty"`
}
SuccessResponse defines model for SuccessResponse.
type TextAsyncGetParams ¶
type TextAsyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Color defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
Color *string `form:"color,omitempty" json:"color,omitempty"`
// Font defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)
Font *string `form:"font,omitempty" json:"font,omitempty"`
// Size the text size in pixels.
Size *float32 `form:"size,omitempty" json:"size,omitempty"`
// Text the text to be added.
Text string `form:"text" json:"text"`
// X the x coordinate in pixels of the point where the text will be added.
X *int `form:"x,omitempty" json:"x,omitempty"`
// Y the y coordinate in pixels of the point where the text will be added.
Y *int `form:"y,omitempty" json:"y,omitempty"`
}
TextAsyncGetParams defines parameters for TextAsyncGet.
type TextAsyncGetResponse ¶
type TextAsyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseTextAsyncGetResponse ¶
func ParseTextAsyncGetResponse(rsp *http.Response) (*TextAsyncGetResponse, error)
ParseTextAsyncGetResponse parses an HTTP response from a TextAsyncGetWithResponse call
func (TextAsyncGetResponse) Status ¶
func (r TextAsyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (TextAsyncGetResponse) StatusCode ¶
func (r TextAsyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextAsyncPostParams ¶
type TextAsyncPostParams struct {
// Color defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
Color *string `form:"color,omitempty" json:"color,omitempty"`
// Font defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)
Font *string `form:"font,omitempty" json:"font,omitempty"`
// Size the text size in pixels.
Size *float32 `form:"size,omitempty" json:"size,omitempty"`
// Text the text to be added.
Text string `form:"text" json:"text"`
// X the x coordinate in pixels of the point where the text will be added.
X *int `form:"x,omitempty" json:"x,omitempty"`
// Y the y coordinate in pixels of the point where the text will be added.
Y *int `form:"y,omitempty" json:"y,omitempty"`
}
TextAsyncPostParams defines parameters for TextAsyncPost.
type TextAsyncPostResponse ¶
type TextAsyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InfoResponse
JSON400 *ErrorResponse
}
func ParseTextAsyncPostResponse ¶
func ParseTextAsyncPostResponse(rsp *http.Response) (*TextAsyncPostResponse, error)
ParseTextAsyncPostResponse parses an HTTP response from a TextAsyncPostWithResponse call
func (TextAsyncPostResponse) Status ¶
func (r TextAsyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (TextAsyncPostResponse) StatusCode ¶
func (r TextAsyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextSyncGetParams ¶
type TextSyncGetParams struct {
// Url image url, supported formats jpeg,png,bmp,gif
Url string `form:"url" json:"url"`
// Color defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
Color *string `form:"color,omitempty" json:"color,omitempty"`
// Font defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)
Font *string `form:"font,omitempty" json:"font,omitempty"`
// Size the text size in pixels.
Size *float32 `form:"size,omitempty" json:"size,omitempty"`
// Text the text to be added.
Text string `form:"text" json:"text"`
// X the x coordinate in pixels of the point where the text will be added.
X *int `form:"x,omitempty" json:"x,omitempty"`
// Y the y coordinate in pixels of the point where the text will be added.
Y *int `form:"y,omitempty" json:"y,omitempty"`
}
TextSyncGetParams defines parameters for TextSyncGet.
type TextSyncGetResponse ¶
type TextSyncGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseTextSyncGetResponse ¶
func ParseTextSyncGetResponse(rsp *http.Response) (*TextSyncGetResponse, error)
ParseTextSyncGetResponse parses an HTTP response from a TextSyncGetWithResponse call
func (TextSyncGetResponse) Status ¶
func (r TextSyncGetResponse) Status() string
Status returns HTTPResponse.Status
func (TextSyncGetResponse) StatusCode ¶
func (r TextSyncGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextSyncPostParams ¶
type TextSyncPostParams struct {
// Color defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.
Color *string `form:"color,omitempty" json:"color,omitempty"`
// Font defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)
Font *string `form:"font,omitempty" json:"font,omitempty"`
// Size the text size in pixels.
Size *float32 `form:"size,omitempty" json:"size,omitempty"`
// Text the text to be added.
Text string `form:"text" json:"text"`
// X the x coordinate in pixels of the point where the text will be added.
X *int `form:"x,omitempty" json:"x,omitempty"`
// Y the y coordinate in pixels of the point where the text will be added.
Y *int `form:"y,omitempty" json:"y,omitempty"`
}
TextSyncPostParams defines parameters for TextSyncPost.
type TextSyncPostResponse ¶
type TextSyncPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseTextSyncPostResponse ¶
func ParseTextSyncPostResponse(rsp *http.Response) (*TextSyncPostResponse, error)
ParseTextSyncPostResponse parses an HTTP response from a TextSyncPostWithResponse call
func (TextSyncPostResponse) Status ¶
func (r TextSyncPostResponse) Status() string
Status returns HTTPResponse.Status
func (TextSyncPostResponse) StatusCode ¶
func (r TextSyncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode