PlumsailModelFactory Class

Definition

Model factory for creating instances of Plumsail models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

public static class PlumsailModelFactory
type PlumsailModelFactory = class
Public Class PlumsailModelFactory
Inheritance
PlumsailModelFactory

Methods

Name Description
AddPowerAutomateWebhookData(String)

Creates a new instance of AddPowerAutomateWebhookData(String).

Any2PdfRequest(String)

Creates a new instance of Any2PdfRequest(String).

ApplyDocxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>, Nullable<Engine>)

Creates a new instance of ApplyDocxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>, Nullable<Engine>).

ApplyHtmlFlowTemplateRequest(String, Nullable<JsonElement>, Nullable<Locale>, Nullable<Timezone>)

Creates a new instance of ApplyHtmlFlowTemplateRequest(String, Nullable<JsonElement>, Nullable<Locale>, Nullable<Timezone>).

ApplyHtmlTemplateResponse(String)

Creates a new instance of ApplyHtmlTemplateResponse(String).

ApplyPptxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>)

Creates a new instance of ApplyPptxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>).

ApplyXlsxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>)

Creates a new instance of ApplyXlsxTemplateRequest(Byte[], Nullable<JsonElement>, String, Nullable<Locale>, Nullable<Timezone>).

BooleanResultResponse(Nullable<Boolean>)

Creates a new instance of BooleanResultResponse(Nullable<Boolean>).

CompressPdfRequest(String, Nullable<LosslessMode>, String)

Creates a new instance of CompressPdfRequest(String, Nullable<LosslessMode>, String).

CreateArchiveRequest(String, List<FileData>, String)

Creates a new instance of CreateArchiveRequest(String, List<FileData>, String).

Csv2XlsxColumnMapping(String, Nullable<XlsxColumnType>, String)

Creates a new instance of Csv2XlsxColumnMapping(String, Nullable<XlsxColumnType>, String).

Csv2XlsxRequest(String, Nullable<Delimiter>, Nullable<Locale>, Nullable<Int32>, Nullable<Boolean>, List<Csv2XlsxColumnMapping>)

Creates a new instance of Csv2XlsxRequest(String, Nullable<Delimiter>, Nullable<Locale>, Nullable<Int32>, Nullable<Boolean>, List<Csv2XlsxColumnMapping>).

Doc2DocxRequest(String)

Creates a new instance of Doc2DocxRequest(String).

DocumentContentWithFilenameResponse(String, String)

Creates a new instance of DocumentContentWithFilenameResponse(String, String).

DocumentProcessingResponse(String)

Creates a new instance of DocumentProcessingResponse(String).

DocumentsWithFilenamesResponse(List<DocumentContentWithFilenameResponse>)

Creates a new instance of DocumentsWithFilenamesResponse(List<DocumentContentWithFilenameResponse>).

Docx2PdfRequest(String)

Creates a new instance of Docx2PdfRequest(String).

Email2PdfRequest(String, Nullable<Boolean>)

Creates a new instance of Email2PdfRequest(String, Nullable<Boolean>).

ExtractArchiveRequest(String, Nullable<Boolean>, String)

Creates a new instance of ExtractArchiveRequest(String, Nullable<Boolean>, String).

FileData(String, Byte[])

Creates a new instance of FileData(String, Byte[]).

FillInPdfFormRequest(String, Nullable<JsonElement>, Nullable<Boolean>, String)

Creates a new instance of FillInPdfFormRequest(String, Nullable<JsonElement>, Nullable<Boolean>, String).

GetPdfFormRequest(String, String)

Creates a new instance of GetPdfFormRequest(String, String).

GetPdfProtectionInfoResponse(Nullable<Boolean>)

Creates a new instance of GetPdfProtectionInfoResponse(Nullable<Boolean>).

Html2DocxFlowRequest(Byte[], String, String, Nullable<PaperSize>, Nullable<Orientation>, Nullable<Boolean>, String)

Creates a new instance of Html2DocxFlowRequest(Byte[], String, String, Nullable<PaperSize>, Nullable<Orientation>, Nullable<Boolean>, String).

Html2PdfFlowRequest(String, Nullable<Engine>, Nullable<Size>, Nullable<Orientation>, String, String, String)

Creates a new instance of Html2PdfFlowRequest(String, Nullable<Engine>, Nullable<Size>, Nullable<Orientation>, String, String, String).

Image2PdfRequest(Nullable<Boolean>, List<String>)

Creates a new instance of Image2PdfRequest(Nullable<Boolean>, List<String>).

Json2CsvRequest(String, String, Nullable<Locale>, String, Nullable<Delimiter>)

Creates a new instance of Json2CsvRequest(String, String, Nullable<Locale>, String, Nullable<Delimiter>).

Json2XlsxColumnMapping(String, Nullable<XlsxColumnType>, String)

Creates a new instance of Json2XlsxColumnMapping(String, Nullable<XlsxColumnType>, String).

Json2XlsxRequest(String, String, Nullable<Locale>, String, List<Json2XlsxColumnMapping>)

Creates a new instance of Json2XlsxRequest(String, String, Nullable<Locale>, String, List<Json2XlsxColumnMapping>).

LicenseInfo(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>)

Creates a new instance of LicenseInfo(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>).

MergeAny2PdfRequest(List<Byte[]>, Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of MergeAny2PdfRequest(List<Byte[]>, Nullable<Boolean>, Nullable<Boolean>).

MergeDocxRequest(List<Byte[]>, Nullable<Boolean>, Nullable<Boolean>)

Creates a new instance of MergeDocxRequest(List<Byte[]>, Nullable<Boolean>, Nullable<Boolean>).

MergeFieldsTemplateRequest(String, Nullable<JsonElement>)

Creates a new instance of MergeFieldsTemplateRequest(String, Nullable<JsonElement>).

MergeXlsxRequest(List<Byte[]>)

Creates a new instance of MergeXlsxRequest(List<Byte[]>).

ParseCsvFlowRequest(String, Nullable<Delimiter>, Nullable<Locale>, Nullable<Int32>, String, Nullable<Boolean>)

Creates a new instance of ParseCsvFlowRequest(String, Nullable<Delimiter>, Nullable<Locale>, Nullable<Int32>, String, Nullable<Boolean>).

Pdf2ImageRequest(String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Format>, Nullable<Int32>, String)

Creates a new instance of Pdf2ImageRequest(String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Format>, Nullable<Int32>, String).

Pdf2TextRequest(String, Nullable<Int32>, Nullable<Int32>, Nullable<ResultType>, String)

Creates a new instance of Pdf2TextRequest(String, Nullable<Int32>, Nullable<Int32>, Nullable<ResultType>, String).

PdfProtectionInfoRequest(String)

Creates a new instance of PdfProtectionInfoRequest(String).

Ppt2PptxRequest(String)

Creates a new instance of Ppt2PptxRequest(String).

Pptx2PdfRequest(String)

Creates a new instance of Pptx2PdfRequest(String).

ProcessJsonData(Nullable<JsonElement>)

Creates a new instance of ProcessJsonData(Nullable<JsonElement>).

ProfileInfo(String, String, String, String, LicenseInfo, String)

Creates a new instance of ProfileInfo(String, String, String, String, LicenseInfo, String).

ProtectPdfRequest(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Creates a new instance of ProtectPdfRequest(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String).

RegExpMatchRequest(String, String)

Creates a new instance of RegExpMatchRequest(String, String).

RegExpReplaceRequest(String, String, String)

Creates a new instance of RegExpReplaceRequest(String, String, String).

RegExpTestRequest(String, String)

Creates a new instance of RegExpTestRequest(String, String).

StringResultResponse(String)

Creates a new instance of StringResultResponse(String).

Xls2XlsxRequest(String)

Creates a new instance of Xls2XlsxRequest(String).

Xlsx2PdfRequest(String)

Creates a new instance of Xlsx2PdfRequest(String).

Applies to