UNPKG

@asposecloud/aspose-email-cloud

Version:
330 lines (326 loc) 11.7 kB
"use strict"; /* * MIT License * Copyright (c) 2018-2020 Aspose Pty Ltd * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MapiContactTelephonePropertySetDtoBuilder = exports.MapiContactTelephonePropertySetDto = void 0; /** * Specify optional telephone numbers for the contact. */ class MapiContactTelephonePropertySetDto { /** * Specify optional telephone numbers for the contact. * @param isEmpty Shows if MapiContactTelephonePropertySet is empty * @param defaultTelephoneNumber Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' * @param useAutocomplete Indicates that one electronic address is completed automatically in case if user does not set any electronic address * @param callbackTelephoneNumber Gets or sets the callback telephone number * @param businessTelephoneNumber Gets or sets the business telephone number * @param homeTelephoneNumber Gets or sets the home telephone number * @param primaryTelephoneNumber Gets or sets the primary telephone number * @param business2TelephoneNumber Gets or sets the second business telephone number * @param mobileTelephoneNumber Gets or sets the mobile telephone number * @param radioTelephoneNumber Gets or sets the radio telephone number * @param carTelephoneNumber Gets or sets the car telephone number * @param otherTelephoneNumber Gets or sets an alternate telephone number * @param assistantTelephoneNumber Gets or sets the telephone number of the contact's assistant * @param home2TelephoneNumber Gets or sets a second home telephone number * @param ttyTddPhoneNumber Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) * @param companyMainTelephoneNumber Gets or sets the company phone number * @param telexNumber Gets or sets the telex number * @param isdnNumber Gets or sets the integrated services digital network (ISDN) number * @param pagerTelephoneNumber Gets or sets a pager telephone number */ constructor(isEmpty, defaultTelephoneNumber, useAutocomplete, callbackTelephoneNumber, businessTelephoneNumber, homeTelephoneNumber, primaryTelephoneNumber, business2TelephoneNumber, mobileTelephoneNumber, radioTelephoneNumber, carTelephoneNumber, otherTelephoneNumber, assistantTelephoneNumber, home2TelephoneNumber, ttyTddPhoneNumber, companyMainTelephoneNumber, telexNumber, isdnNumber, pagerTelephoneNumber) { this.isEmpty = isEmpty; this.defaultTelephoneNumber = defaultTelephoneNumber; this.useAutocomplete = useAutocomplete; this.callbackTelephoneNumber = callbackTelephoneNumber; this.businessTelephoneNumber = businessTelephoneNumber; this.homeTelephoneNumber = homeTelephoneNumber; this.primaryTelephoneNumber = primaryTelephoneNumber; this.business2TelephoneNumber = business2TelephoneNumber; this.mobileTelephoneNumber = mobileTelephoneNumber; this.radioTelephoneNumber = radioTelephoneNumber; this.carTelephoneNumber = carTelephoneNumber; this.otherTelephoneNumber = otherTelephoneNumber; this.assistantTelephoneNumber = assistantTelephoneNumber; this.home2TelephoneNumber = home2TelephoneNumber; this.ttyTddPhoneNumber = ttyTddPhoneNumber; this.companyMainTelephoneNumber = companyMainTelephoneNumber; this.telexNumber = telexNumber; this.isdnNumber = isdnNumber; this.pagerTelephoneNumber = pagerTelephoneNumber; } /** * Returns attribute type map */ static getAttributeTypeMap() { return MapiContactTelephonePropertySetDto.attributeTypeMap; } } exports.MapiContactTelephonePropertySetDto = MapiContactTelephonePropertySetDto; /** * Attribute type map */ MapiContactTelephonePropertySetDto.attributeTypeMap = [ { name: "isEmpty", baseName: "isEmpty", type: "boolean", }, { name: "defaultTelephoneNumber", baseName: "defaultTelephoneNumber", type: "string", }, { name: "useAutocomplete", baseName: "useAutocomplete", type: "boolean", }, { name: "callbackTelephoneNumber", baseName: "callbackTelephoneNumber", type: "string", }, { name: "businessTelephoneNumber", baseName: "businessTelephoneNumber", type: "string", }, { name: "homeTelephoneNumber", baseName: "homeTelephoneNumber", type: "string", }, { name: "primaryTelephoneNumber", baseName: "primaryTelephoneNumber", type: "string", }, { name: "business2TelephoneNumber", baseName: "business2TelephoneNumber", type: "string", }, { name: "mobileTelephoneNumber", baseName: "mobileTelephoneNumber", type: "string", }, { name: "radioTelephoneNumber", baseName: "radioTelephoneNumber", type: "string", }, { name: "carTelephoneNumber", baseName: "carTelephoneNumber", type: "string", }, { name: "otherTelephoneNumber", baseName: "otherTelephoneNumber", type: "string", }, { name: "assistantTelephoneNumber", baseName: "assistantTelephoneNumber", type: "string", }, { name: "home2TelephoneNumber", baseName: "home2TelephoneNumber", type: "string", }, { name: "ttyTddPhoneNumber", baseName: "ttyTddPhoneNumber", type: "string", }, { name: "companyMainTelephoneNumber", baseName: "companyMainTelephoneNumber", type: "string", }, { name: "telexNumber", baseName: "telexNumber", type: "string", }, { name: "isdnNumber", baseName: "isdnNumber", type: "string", }, { name: "pagerTelephoneNumber", baseName: "pagerTelephoneNumber", type: "string", } ]; /** * MapiContactTelephonePropertySetDto model builder */ class MapiContactTelephonePropertySetDtoBuilder { constructor(model) { this.model = model; } /** * Build model. */ build() { return this.model; } /** * Shows if MapiContactTelephonePropertySet is empty */ isEmpty(isEmpty) { this.model.isEmpty = isEmpty; return this; } /** * Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' */ defaultTelephoneNumber(defaultTelephoneNumber) { this.model.defaultTelephoneNumber = defaultTelephoneNumber; return this; } /** * Indicates that one electronic address is completed automatically in case if user does not set any electronic address */ useAutocomplete(useAutocomplete) { this.model.useAutocomplete = useAutocomplete; return this; } /** * Gets or sets the callback telephone number */ callbackTelephoneNumber(callbackTelephoneNumber) { this.model.callbackTelephoneNumber = callbackTelephoneNumber; return this; } /** * Gets or sets the business telephone number */ businessTelephoneNumber(businessTelephoneNumber) { this.model.businessTelephoneNumber = businessTelephoneNumber; return this; } /** * Gets or sets the home telephone number */ homeTelephoneNumber(homeTelephoneNumber) { this.model.homeTelephoneNumber = homeTelephoneNumber; return this; } /** * Gets or sets the primary telephone number */ primaryTelephoneNumber(primaryTelephoneNumber) { this.model.primaryTelephoneNumber = primaryTelephoneNumber; return this; } /** * Gets or sets the second business telephone number */ business2TelephoneNumber(business2TelephoneNumber) { this.model.business2TelephoneNumber = business2TelephoneNumber; return this; } /** * Gets or sets the mobile telephone number */ mobileTelephoneNumber(mobileTelephoneNumber) { this.model.mobileTelephoneNumber = mobileTelephoneNumber; return this; } /** * Gets or sets the radio telephone number */ radioTelephoneNumber(radioTelephoneNumber) { this.model.radioTelephoneNumber = radioTelephoneNumber; return this; } /** * Gets or sets the car telephone number */ carTelephoneNumber(carTelephoneNumber) { this.model.carTelephoneNumber = carTelephoneNumber; return this; } /** * Gets or sets an alternate telephone number */ otherTelephoneNumber(otherTelephoneNumber) { this.model.otherTelephoneNumber = otherTelephoneNumber; return this; } /** * Gets or sets the telephone number of the contact's assistant */ assistantTelephoneNumber(assistantTelephoneNumber) { this.model.assistantTelephoneNumber = assistantTelephoneNumber; return this; } /** * Gets or sets a second home telephone number */ home2TelephoneNumber(home2TelephoneNumber) { this.model.home2TelephoneNumber = home2TelephoneNumber; return this; } /** * Gets or sets the telephone number for the contact's text telephone (TTY) or telecommunication device for the deaf (TDD) */ ttyTddPhoneNumber(ttyTddPhoneNumber) { this.model.ttyTddPhoneNumber = ttyTddPhoneNumber; return this; } /** * Gets or sets the company phone number */ companyMainTelephoneNumber(companyMainTelephoneNumber) { this.model.companyMainTelephoneNumber = companyMainTelephoneNumber; return this; } /** * Gets or sets the telex number */ telexNumber(telexNumber) { this.model.telexNumber = telexNumber; return this; } /** * Gets or sets the integrated services digital network (ISDN) number */ isdnNumber(isdnNumber) { this.model.isdnNumber = isdnNumber; return this; } /** * Gets or sets a pager telephone number */ pagerTelephoneNumber(pagerTelephoneNumber) { this.model.pagerTelephoneNumber = pagerTelephoneNumber; return this; } } exports.MapiContactTelephonePropertySetDtoBuilder = MapiContactTelephonePropertySetDtoBuilder; //# sourceMappingURL=mapi-contact-telephone-property-set-dto.js.map