// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ImageTranslationPlusRequest extends $dara.Model { /** * @remarks * The ID of the intervention glossary. This parameter is optional. * * @example * glossary-001 */ glossary?: string; /** * @remarks * The URL of the original image. This parameter is required. * * This parameter is required. * * @example * https://img.alicdn.com/example.png */ imageUrl?: string; /** * @remarks * Specifies whether to translate text on the product body. This parameter is optional. Default value: false. * * @example * false */ includingProductArea?: boolean; /** * @remarks * The source language. This parameter is required. * * This parameter is required. * * @example * zh */ sourceLanguage?: string; /** * @remarks * The target language. This parameter is required. * * This parameter is required. * * @example * en */ targetLanguage?: string; /** * @remarks * Specifies whether to translate brand text on the product. This parameter is optional. Default value: false. * * @example * false */ translatingBrandInTheProduct?: boolean; /** * @remarks * Specifies whether to use the image translation editor protocol. This parameter is optional. * * @example * false */ useImageEditor?: boolean; static names(): { [key: string]: string } { return { glossary: 'Glossary', imageUrl: 'ImageUrl', includingProductArea: 'IncludingProductArea', sourceLanguage: 'SourceLanguage', targetLanguage: 'TargetLanguage', translatingBrandInTheProduct: 'TranslatingBrandInTheProduct', useImageEditor: 'UseImageEditor', }; } static types(): { [key: string]: any } { return { glossary: 'string', imageUrl: 'string', includingProductArea: 'boolean', sourceLanguage: 'string', targetLanguage: 'string', translatingBrandInTheProduct: 'boolean', useImageEditor: 'boolean', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }