UNPKG

@asposecloud/aspose-email-cloud

Version:
57 lines (56 loc) 2.1 kB
/** * Request model for AiNameApi.match operation. */ export declare class AiNameMatchRequest { /** * A name to match. */ name: string; /** * Another name to match. */ otherName: string; /** * An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). */ language: string; /** * A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. */ location: string; /** * A character encoding name. */ encoding: string; /** * A writing system code; starts with the ISO-15924 script name. */ script: string; /** * Name writing style. Enum, available values: Formal, Informal, Legal, Academic */ style: string; /** * Request model for aiNameMatch operation. * @param name A name to match. * @param otherName Another name to match. * @param language An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian). * @param location A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France. * @param encoding A character encoding name. * @param script A writing system code; starts with the ISO-15924 script name. * @param style Name writing style. Enum, available values: Formal, Informal, Legal, Academic */ constructor(name?: string, otherName?: string, language?: string, location?: string, encoding?: string, script?: string, style?: string); } export declare class AiNameMatchRequestBuilder { private model; constructor(model: AiNameMatchRequest); build(): AiNameMatchRequest; name(name: string): AiNameMatchRequestBuilder; otherName(otherName: string): AiNameMatchRequestBuilder; language(language: string): AiNameMatchRequestBuilder; location(location: string): AiNameMatchRequestBuilder; encoding(encoding: string): AiNameMatchRequestBuilder; script(script: string): AiNameMatchRequestBuilder; style(style: string): AiNameMatchRequestBuilder; }