/// <summary> /// Initializes a new instance of the <see cref="CreatePhoneNumberParams" /> class. /// </summary> /// <param name="PhoneNumber">Phone number.</param> /// <param name="Route">Route lookup object.</param> /// <param name="Name">Phone Name.</param> /// <param name="BlockIncoming">Block incoming calls.</param> /// <param name="BlockAnonymous">Block anonymous calls.</param> /// <param name="CallerId">CallerId.</param> /// <param name="SmsForwarding">SmsForwarding.</param> /// <param name="CallNotifications">CallNotifications.</param> public CreatePhoneNumberParams(Object PhoneNumber = default(Object), Object Route = default(Object), string Name = default(string), string BlockIncoming = default(string), string BlockAnonymous = default(string), CallerIdPhoneNumber CallerId = default(CallerIdPhoneNumber), SmsForwardingParams SmsForwarding = default(SmsForwardingParams), CallNotifications CallNotifications = default(CallNotifications)) { this.PhoneNumber = PhoneNumber; this.Route = Route; this.Name = Name; this.BlockIncoming = BlockIncoming; this.BlockAnonymous = BlockAnonymous; this.CallerId = CallerId; this.SmsForwarding = SmsForwarding; this.CallNotifications = CallNotifications; }
/// <summary> /// Initializes a new instance of the <see cref="PhoneNumberFull" /> class. /// </summary> /// <param name="Id">Integer Phone number ID. This is the internal Phone.com ID for this number, not the phone number itself. Read-only..</param> /// <param name="Name">Name.</param> /// <param name="PhoneNumber">Phone number, in E.164 format.</param> /// <param name="BlockIncoming">Whether to block incoming calls. Boolean..</param> /// <param name="BlockAnonymous">Whether to block anonymous calls. Boolean..</param> /// <param name="Route">The Route assigned to handle incoming calls for this number, if any. Output is a Route Summary Object, or NULL if not set. Input can be a Route Lookup Object or NULL to unset..</param> /// <param name="CallerId">CallerId.</param> /// <param name="SmsForwarding">SmsForwarding.</param> /// <param name="CallNotifications">CallNotifications.</param> public PhoneNumberFull(int?Id = default(int?), string Name = default(string), string PhoneNumber = default(string), bool?BlockIncoming = default(bool?), bool?BlockAnonymous = default(bool?), RouteSummary Route = default(RouteSummary), CallerIdPhoneNumber CallerId = default(CallerIdPhoneNumber), SmsForwarding SmsForwarding = default(SmsForwarding), CallNotifications CallNotifications = default(CallNotifications)) { this.Id = Id; this.Name = Name; this.PhoneNumber = PhoneNumber; this.BlockIncoming = BlockIncoming; this.BlockAnonymous = BlockAnonymous; this.Route = Route; this.CallerId = CallerId; this.SmsForwarding = SmsForwarding; this.CallNotifications = CallNotifications; }