@asposecloud/aspose-email-cloud
Version:
Aspose.Email Cloud Node.js SDK
118 lines (117 loc) • 4.17 kB
TypeScript
/**
* Refers to the group of properties that define physical address for a contact.
*/
export declare class MapiContactPhysicalAddressDto {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Gets or sets a value indicating whether this address is mailing address
*/
isMailingAddress: boolean;
/**
* Specifies the street portion of the contact's address
*/
street: string;
/**
* Specifies the city or locality portion of the contact's address
*/
city: string;
/**
* Specifies the state or province portion of the contact's address
*/
stateOrProvince: string;
/**
* Specifies the postal code (ZIP code) portion of the contact's address
*/
postalCode: string;
/**
* Specifies the country or region portion of the contact's address
*/
country: string;
/**
* Specifies the country code portion of the contact's address
*/
countryCode: string;
/**
* Specifies the complete address of the contact's address
*/
address: string;
/**
* Gets or sets the post office box
*/
postOfficeBox: string;
/**
* Refers to the group of properties that define physical address for a contact.
* @param isMailingAddress Gets or sets a value indicating whether this address is mailing address
* @param street Specifies the street portion of the contact's address
* @param city Specifies the city or locality portion of the contact's address
* @param stateOrProvince Specifies the state or province portion of the contact's address
* @param postalCode Specifies the postal code (ZIP code) portion of the contact's address
* @param country Specifies the country or region portion of the contact's address
* @param countryCode Specifies the country code portion of the contact's address
* @param address Specifies the complete address of the contact's address
* @param postOfficeBox Gets or sets the post office box
*/
constructor(isMailingAddress?: boolean, street?: string, city?: string, stateOrProvince?: string, postalCode?: string, country?: string, countryCode?: string, address?: string, postOfficeBox?: string);
}
/**
* MapiContactPhysicalAddressDto model builder
*/
export declare class MapiContactPhysicalAddressDtoBuilder {
private readonly model;
constructor(model: MapiContactPhysicalAddressDto);
/**
* Build model.
*/
build(): MapiContactPhysicalAddressDto;
/**
* Gets or sets a value indicating whether this address is mailing address
*/
isMailingAddress(isMailingAddress: boolean): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the street portion of the contact's address
*/
street(street: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the city or locality portion of the contact's address
*/
city(city: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the state or province portion of the contact's address
*/
stateOrProvince(stateOrProvince: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the postal code (ZIP code) portion of the contact's address
*/
postalCode(postalCode: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the country or region portion of the contact's address
*/
country(country: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the country code portion of the contact's address
*/
countryCode(countryCode: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Specifies the complete address of the contact's address
*/
address(address: string): MapiContactPhysicalAddressDtoBuilder;
/**
* Gets or sets the post office box
*/
postOfficeBox(postOfficeBox: string): MapiContactPhysicalAddressDtoBuilder;
}