@asposecloud/aspose-email-cloud
Version:
Aspose.Email Cloud Node.js SDK
55 lines (54 loc) • 1.01 kB
TypeScript
/**
* Name with score
*/
export declare class AiNameWeighted {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Name
*/
name: string;
/**
* Score of name
*/
score: number;
/**
* Name with score
* @param name Name
* @param score Score of name
*/
constructor(name?: string, score?: number);
}
/**
* AiNameWeighted model builder
*/
export declare class AiNameWeightedBuilder {
private readonly model;
constructor(model: AiNameWeighted);
/**
* Build model.
*/
build(): AiNameWeighted;
/**
* Name
*/
name(name: string): AiNameWeightedBuilder;
/**
* Score of name
*/
score(score: number): AiNameWeightedBuilder;
}