@asposecloud/aspose-email-cloud
Version:
Aspose.Email Cloud Node.js SDK
55 lines (54 loc) • 1.04 kB
TypeScript
/**
* Name-Value property
*/
export declare class NameValuePair {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Property name
*/
name: string;
/**
* Property value
*/
value: string;
/**
* Name-Value property
* @param name Property name
* @param value Property value
*/
constructor(name?: string, value?: string);
}
/**
* NameValuePair model builder
*/
export declare class NameValuePairBuilder {
private readonly model;
constructor(model: NameValuePair);
/**
* Build model.
*/
build(): NameValuePair;
/**
* Property name
*/
name(name: string): NameValuePairBuilder;
/**
* Property value
*/
value(value: string): NameValuePairBuilder;
}