/
model_replace_docx_paragraph_request.go
24 lines (22 loc) · 1.19 KB
/
model_replace_docx_paragraph_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* API version: v1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package GoCloudmersiveDocumentConvertApiClient
// Input to a request to replace matching paragraphs in a Word DOCX document
type ReplaceDocxParagraphRequest struct {
// Optional: Bytes of the input file to operate on
InputFileBytes string `json:"InputFileBytes,omitempty"`
// Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
InputFileUrl string `json:"InputFileUrl,omitempty"`
// Required: The target string to search for in the paragraphs of the document
FindString string `json:"FindString,omitempty"`
// Optional: True to match case, false to ignore case when matching
MatchCase bool `json:"MatchCase,omitempty"`
// Optional: Image to replace the paragraph with; note that most of the fields in this object are optional and do not need to be supplied
ReplacementImage *DocxImage `json:"Replacement_Image,omitempty"`
}