class TranslateDocumentRequest extends Model (View source)

Properties

string $customizedAttribution
protected $documentInputConfigType
protected $documentInputConfigDataType
protected $documentOutputConfigType
protected $documentOutputConfigDataType
bool $enableRotationCorrection
bool $enableShadowRemovalNativePdf
protected $glossaryConfigType
protected $glossaryConfigDataType
bool $isTranslateNativePdfOnly
string[] $labels
string $model
string $sourceLanguageCode
string $targetLanguageCode

Methods

setCustomizedAttribution($customizedAttribution)

No description

string
getCustomizedAttribution()

No description

setDocumentInputConfig(DocumentInputConfig $documentInputConfig)

No description

setDocumentOutputConfig(DocumentOutputConfig $documentOutputConfig)

No description

setEnableRotationCorrection($enableRotationCorrection)

No description

bool
getEnableRotationCorrection()

No description

setEnableShadowRemovalNativePdf($enableShadowRemovalNativePdf)

No description

bool
setGlossaryConfig(TranslateTextGlossaryConfig $glossaryConfig)

No description

setIsTranslateNativePdfOnly($isTranslateNativePdfOnly)

No description

bool
getIsTranslateNativePdfOnly()

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setModel($model)

No description

string
getModel()

No description

setSourceLanguageCode($sourceLanguageCode)

No description

string
getSourceLanguageCode()

No description

setTargetLanguageCode($targetLanguageCode)

No description

string
getTargetLanguageCode()

No description

Details

setCustomizedAttribution($customizedAttribution)

No description

Parameters

$customizedAttribution

string getCustomizedAttribution()

No description

Return Value

string

setDocumentInputConfig(DocumentInputConfig $documentInputConfig)

No description

Parameters

DocumentInputConfig $documentInputConfig

DocumentInputConfig getDocumentInputConfig()

No description

Return Value

DocumentInputConfig

setDocumentOutputConfig(DocumentOutputConfig $documentOutputConfig)

No description

Parameters

DocumentOutputConfig $documentOutputConfig

DocumentOutputConfig getDocumentOutputConfig()

No description

Return Value

DocumentOutputConfig

setEnableRotationCorrection($enableRotationCorrection)

No description

Parameters

$enableRotationCorrection

bool getEnableRotationCorrection()

No description

Return Value

bool

setEnableShadowRemovalNativePdf($enableShadowRemovalNativePdf)

No description

Parameters

$enableShadowRemovalNativePdf

bool getEnableShadowRemovalNativePdf()

No description

Return Value

bool

setGlossaryConfig(TranslateTextGlossaryConfig $glossaryConfig)

No description

Parameters

TranslateTextGlossaryConfig $glossaryConfig

TranslateTextGlossaryConfig getGlossaryConfig()

No description

setIsTranslateNativePdfOnly($isTranslateNativePdfOnly)

No description

Parameters

$isTranslateNativePdfOnly

bool getIsTranslateNativePdfOnly()

No description

Return Value

bool

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setModel($model)

No description

Parameters

$model

string getModel()

No description

Return Value

string

setSourceLanguageCode($sourceLanguageCode)

No description

Parameters

$sourceLanguageCode

string getSourceLanguageCode()

No description

Return Value

string

setTargetLanguageCode($targetLanguageCode)

No description

Parameters

$targetLanguageCode

string getTargetLanguageCode()

No description

Return Value

string