@asposecloud/aspose-email-cloud
Version:
Aspose.Email Cloud Node.js SDK
73 lines (72 loc) • 2.88 kB
TypeScript
/**
* Parsed name component
*/
export declare class AiNameComponent {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Component value
*/
value: string;
/**
* Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah
*/
category: string;
/**
* Score from 0.0 to 1.0
*/
score: number;
/**
* Component position from 0
*/
position: number;
/**
* Parsed name component
* @param value Component value
* @param category Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah
* @param score Score from 0.0 to 1.0
* @param position Component position from 0
*/
constructor(value?: string, category?: string, score?: number, position?: number);
}
/**
* AiNameComponent model builder
*/
export declare class AiNameComponentBuilder {
private readonly model;
constructor(model: AiNameComponent);
/**
* Build model.
*/
build(): AiNameComponent;
/**
* Component value
*/
value(value: string): AiNameComponentBuilder;
/**
* Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah
*/
category(category: string): AiNameComponentBuilder;
/**
* Score from 0.0 to 1.0
*/
score(score: number): AiNameComponentBuilder;
/**
* Component position from 0
*/
position(position: number): AiNameComponentBuilder;
}