Professional Applications Programmers/Consultants برمجة واستشارات تطبيقات الإنترنت
Skip Navigation LinksHome » Code Library » SubParty

Public general use code classes and xml files that we've compiled and used over the years:

SubParty Entity Framework class for Next Generation Network (NGN) entity model.

   1:  using System;
   2:  using System.Collections.Generic;
   3:  using System.Linq;
   4:  using System.Web;
   5:  using System.Web.Security;
   6:  using System.ComponentModel.DataAnnotations;
   7:  using System.ComponentModel.DataAnnotations.Schema;
   8:  using System.Text.RegularExpressions;
   9:  using System.Data.Entity;
  10:   
  11:  namespace Ia.Ngn.Cl.Model.Nokia
  12:  {
  13:      ////////////////////////////////////////////////////////////////////////////
  14:   
  15:      /// <summary publish="true">
  16:      /// SubParty Entity Framework class for Next Generation Network (NGN) entity model.
  17:      /// </summary>
  18:      /// 
  19:      /// <remarks> 
  20:      /// Copyright � 2014-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  21:      ///
  22:      /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
  23:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  24:      ///
  25:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  26:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  27:      /// 
  28:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  29:      /// 
  30:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  31:      /// </remarks> 
  32:      public partial class SubParty
  33:      {
  34:          /// <summary>
  35:          /// 1360 COM WebAPI User Guide 255-400-419R3.X
  36:          /// ngfs-subparty-v2(rtrv)
  37:          /// </summary>
  38:          public SubParty() { }
  39:   
  40:          /// <summary/>
  41:          [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
  42:          public string Id { get; set; }
  43:   
  44:          /// <summary>
  45:          /// PartyId (req for ent,req for ed). LCP Name for Party record. String (1-27) [+0-9a-zA-Z:@&amp;=!,|-_.!~*()%]* Before CTS R5.0: [+0-9a-zA-Z:@&amp;=!,-_.!~*'()%]* LCP-CTS R6.1 From CTS R6.1: [+0-9a-zA-Z:@&amp;=,|-_.!~*'()%#?/$][]* If the String Ends with '[AutoSelect]', '[AutoSelectSTAS]', or '[AutoSelectDTAS]' The Subscriber will be automatically distributed to the TASs. When [AutoSelect],[AutoSelectDTAS] or [AutoSelectSTAS] is used in ent- request, AssocOtasRealm should be empty. And the OTAS which has fewest subscriber will be chosen as AssocOtasRealm. For non-ICS subscriber request (do not include iHss private id info), [AutoSelect] can be used. For the subscriber request which include iHss Private Id info, [AutoSelectDTAS] and [AutoSelectSTAS] can be used. And the Realm in OTAS must match the "ApplicateionServer" defined in iHss Global IFC and this IFC must be used by iHss Service profile. Otherwise, error will be reported thant no service profile for this OTAS. String length does not include length of '[AutoSelect]', '[AutoSelectSTAS]', and '[AutoSelectDTAS]'. LCP-CTS R6.2.1 The new partyId. Used for changing partyId. Only used for ed command. Range same as PartyId.
  46:          /// </summary>
  47:          public string PartyId { get; set; }
  48:          /// <summary>
  49:          /// DisplayName (opt for ent,opt for ed). LCP DisplayName that is displayed on a Caller ID String (0-15).[+0-9a-zA-Z(),':@&amp;=!\-_\.!~\*%#&gt;&lt;$^\|?{}\[\];/`]*
  50:          /// </summary>
  51:          public string DisplayName { get; set; }
  52:   
  53:          /// <summary>
  54:          /// Category (req for ent,opt for ed). LCP String containing the Feature Set the party is assigned. The category is the feature bundle.
  55:          /// </summary>
  56:          public string Category { get; set; }
  57:   
  58:          /// <summary>
  59:          /// NewPartyId (opt for ent,opt for ed). LCP-CTS R9.1 Starting in COM 4.1, deprecated for switches on release CTS R9.1 and later. Use exec-ngfs-subscriber-changekey-v2.
  60:          /// </summary>
  61:          public string NewPartyId { get; set; }
  62:   
  63:          /// <summary>
  64:          /// PrimaryPUID (req for ent,opt for ed). LCP Primary Phone number of endpoint. String (1-32) [+0-9a-zA-Z:,\-_\.()]* LCP-CTS R6.1 From CTS R6.1: String(1-252) [+0-9a-zA-Z:,-_.()&=?~/$'!*]* LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
  65:          /// </summary>
  66:          public string PrimaryPUID { get; set; }
  67:   
  68:          /// <summary>
  69:          /// NewPrimaryPUID (opt for ent,opt for ed). LCP-CTS R6.2.1 The new PrimaryPUId. Used for changing PrimaryPUID. Only used for ed command. Range same as PrimaryPUID. LCP-CTS R9.1 Starting in COM 4.1, deprecated for switches on release CTS R9.1 and later. Use exec-ngfs-subscriber-changekey-v2.
  70:          /// </summary>
  71:          public string NewPrimaryPUID { get; set; }
  72:   
  73:          /// <summary>
  74:          /// PrimaryPUIDDomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false). Default false.
  75:          /// </summary>
  76:          public bool PrimaryPUIDDomainRequired { get; set; }
  77:   
  78:          /// <summary>
  79:          /// PrimaryPUIDCPEProfileNumber (req for ent,opt for ed). LCP Identifies type of CPE Int (0-255)
  80:          /// </summary>
  81:          public int PrimaryPUIDCPEProfileNumber { get; set; }
  82:   
  83:          /// <summary>
  84:          /// PrimaryPUIDFlashable (opt for ent,opt for ed). LCP Has flash capabilities. Boolean (true or false)
  85:          /// </summary>
  86:          public bool PrimaryPUIDFlashable { get; set; }
  87:   
  88:          /// <summary>
  89:          /// AssocOtasRealm (opt for ent,opt for ed). LCP The TAS that supports this party. String (0-63) [0-9a-zA-Z\.\-]*
  90:          /// </summary>
  91:          public string AssocOtasRealm { get; set; }
  92:   
  93:          /// <summary>
  94:          /// NetworkProfileName (opt for ent,opt for ed). LCP-CTS R7.1.1 Name of the Network Profile String (0-20) [0-9a-zA-Z\-_]* When a subparty is associated with a template, any conflicting field will be silently overridden by the template's value.
  95:          /// </summary>
  96:          public string NetworkProfileName { get; set; }
  97:   
  98:          /// <summary>
  99:          /// NetworkProfileVersion (opt for ent,opt for ed). LCP-CTS R7.1.1 Version of the Network Profile int (1-99)
 100:          /// </summary>
 101:          public int NetworkProfileVersion { get; set; }
 102:   
 103:          /// <summary>
 104:          /// ServiceProfileName (opt for ent,opt for ed). LCP-CTS R7.1.1 Name of the Service Profile String (0-20) [0-9a-zA-Z\-_]* When a subparty is associated with a template, any conflicting field will be silently overridden by the template's value.
 105:          /// </summary>
 106:          public string ServiceProfileName { get; set; }
 107:   
 108:          /// <summary>
 109:          /// ServiceProfileVersion (opt for ent,opt for ed). LCP-CTS R7.1.1 Version of the Service Profile int (1-99)
 110:          /// </summary>
 111:          public int ServiceProfileVersion { get; set; }
 112:   
 113:          /// <summary>
 114:          /// IsReducedServiceProfile (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false). Default is false. This field indicates whether the Service Profile is a Reduced Service Profile or a regular Service Profile profile type.
 115:          /// </summary>
 116:          public bool IsReducedServiceProfile { get; set; }
 117:   
 118:          /// <summary>
 119:          /// CallLimit (opt for ent,opt for ed). LCP Maximum number of simultaneous calls permitted for this subscriber. Integer(1-1024) For CTS R9.1 and later, Integer(1-1920) LCP-CTS R10.2 Integer(1-2500)
 120:          /// </summary>
 121:          public int CallLimit { get; set; }
 122:   
 123:          /// <summary>
 124:          /// ServiceSuspension (opt for ent,opt for ed). LCP Suspend services Boolean (true or false)
 125:          /// </summary>
 126:          public bool ServiceSuspension { get; set; }
 127:   
 128:          /// <summary>
 129:          /// OriginationSuspension (opt for ent,opt for ed). LCP-CTS R9.2.1 Boolean (true or false). Default false. Only the ability to originate a call is suspended.
 130:          /// </summary>
 131:          public bool OriginationSuspension { get; set; }
 132:   
 133:          /// <summary>
 134:          /// TerminationSuspension (opt for ent,opt for ed). LCP-CTS R9.2.1 Boolean (true or false). Default false. Only the ability to receive a call is suspended.
 135:          /// </summary>
 136:          public bool TerminationSuspension { get; set; }
 137:   
 138:          /// <summary>
 139:          /// SuspensionNotification (opt for ent,opt for ed). LCP-CTS R9.2.1 Boolean (true or false). Default false. Neither originating or terminating service is barred or blocked; however any originating attempt results in a announcement being played that is intended to warn the subscriber that their service may soon be suspended due to non-payment.
 140:          /// </summary>
 141:          public bool SuspensionNotification { get; set; }
 142:   
 143:          /// <summary>
 144:          /// UserOrigSuspension (opt for ent,opt for ed). LCP-CTS R9.2.1 Boolean (true or false). Default false. This indicates that the subscriber requested the suspension of their own service for originations (during which time they pay a reduced fee). 
 145:          /// </summary>
 146:          public bool UserOrigSuspension { get; set; }
 147:   
 148:          /// <summary>
 149:          /// UserTermSuspension (opt for ent,opt for ed). LCP-CTS R9.2.1 Boolean (true or false). Default false. This indicates that the subscriber requested the suspension of their own service for terminations (during which time they pay a reduced fee).
 150:          /// </summary>
 151:          public bool UserTermSuspension { get; set; }
 152:   
 153:          /// <summary>
 154:          /// AssocWpifRealm (opt for ent,opt for ed). LCP Web portal interface URI. String(0-63) [0-9a-zA-Z\.\-]*
 155:          /// </summary>
 156:          public string AssocWpifRealm { get; set; }
 157:   
 158:          /// <summary>
 159:          /// IddPrefix (opt for ent,opt for ed). LCP-CTS R3.0 IDD Prefix. Number string(0-5)
 160:          /// </summary>
 161:          public string IddPrefix { get; set; }
 162:   
 163:          /// <summary>
 164:          /// AlternateFsdbFqdn (opt for ent,opt for ed). LCP-CTS R3.0 Alternate Fsdb fully qualified domain name.If there is no Primary/Protection Geographic Redundancy this field shall not be populated. String(0-63) [0-9a-zA-Z:-_.]*
 165:          /// </summary>
 166:          public string AlternateFsdbFqdn { get; set; }
 167:   
 168:          /// <summary>
 169:          /// SharedHssData (opt for ent,opt for ed). LCP-CTS R3.0 Has Shared Hss Data or not. Boolean(true or false)
 170:          /// </summary>
 171:          public bool SharedHssData { get; set; }
 172:   
 173:          /// <summary>
 174:          /// Pin (opt for ent,opt for ed). LCP-CTS R4.0 String(0 or 4-10) [0-9]* Pin is required for the User Control options under the CallBarring/CallBlocking feature. Note: If you change this pin field you must also change the associated PSI Extension and PSI User pins LCP-CTS R9.0 Deprecated since CTS R9.0.
 175:          /// </summary>
 176:          public string Pin { get; set; }
 177:   
 178:          /// <summary>
 179:          /// MsnCapability (opt for ent,opt for ed). LCP-CTS R6.1 Boolean (true or false) Indicates that the subscriber is allowed to utilize Multiple Subscriber Number Service. MSN service provides additional service support on a per PUID basis, i.e. ACR will be capable of assigning to each PUID in the party when MsnCapability is set. Default false
 180:          /// </summary>
 181:          public bool MsnCapability { get; set; }
 182:   
 183:          /// <summary>
 184:          /// VideoProhibit (opt for ent,opt for ed). LCP-CTS R9.0 Boolean(true or false) Default: false
 185:          /// </summary>
 186:          public bool VideoProhibit { get; set; }
 187:   
 188:          /// <summary>
 189:          /// MaxFwdHops (opt for ent,opt for ed). LCP-CTS R4.1 Maximum number of Call Forwarding Hops Integer (1-20) Default 10
 190:          /// </summary>
 191:          public int MaxFwdHops { get; set; }
 192:   
 193:          /// <summary>
 194:          /// CsdFlavor (opt for ent,opt for ed). LCP-CTS R5.0 Valid values: TAS_CSD_NONE, TAS_CSD_AIMS_P0, TAS_CSD_ALU_P2
 195:          /// </summary>
 196:          public int CsdFlavor { get; set; }
 197:   
 198:          /// <summary>
 199:          /// CsdDynamic (opt for ent,opt for ed). LCP-CTS R6.1 Boolean (true or false) Indicates that the subscriber is allowed to utilize the Centralized Subscriber Database. Default false
 200:          /// </summary>
 201:          public bool CsdDynamic { get; set; }
 202:   
 203:          /// <summary>
 204:          /// SipErrorTableId (opt for ent,opt for ed). LCP-CTS R5.0 SIP error handling table ID which can be assigned on a per Party basis to provide the flexibility to support individual customization for handling SIP error responses. Integer (1- 255) Default: 0: the system table LCP-CTS R7.1 SIP error handling table ID which can be assigned on a per Party basis to provide the flexibility to support individual customization for handling SIP error responses on the originating side. Integer (1- 255) Default: 0: the system table
 205:          /// </summary>
 206:          public int SipErrorTableId { get; set; }
 207:   
 208:          /// <summary>
 209:          /// TreatmentTableId (opt for ent,opt for ed). LCP-CTS R5.0 Treatment table ID which can be assigned on a per Party basis to provide the flexibility to support individual treatment tables for Wholesaling and VPN type services. Integer (120-1145) Default: 0: the default treatment table 
 210:          /// </summary>
 211:          public int TreatmentTableId { get; set; }
 212:   
 213:          /// <summary>
 214:          /// Locale (opt for ent,opt for ed). LCP-CTS R5.0 The locale of the subscriber which is used to override the system locale on a per Party basis. ([a-zA-Z]{2}([a-zA-Z]) ?_[a-zA-Z]{2}([a-zA-Z])?)? For example: en_us LCP-CTS R9.2 From CTS R9.2, deprecated.
 215:          /// </summary>
 216:          public string Locale { get; set; }
 217:   
 218:          /// <summary>
 219:          /// CliPrefixList (opt for ent,opt for ed). LCP-CTS R5.0 A comma separated list of prefixes which are to be stripped off before presenting calling or called numbers. String (0-35) [0-9,]*
 220:          /// </summary>
 221:          public string CliPrefixList { get; set; }
 222:   
 223:          /// <summary>
 224:          /// IsGroupCPE (opt for ent,opt for ed). LCP-CTS R5.0 Boolean (true or false) A party cannot require Group CPE processing and also be marked as a flashable endpoint.
 225:          /// </summary>
 226:          public bool IsGroupCPE { get; set; }
 227:   
 228:          /// <summary>
 229:          /// Receive181Mode (opt for ent,opt for ed). LCP-CTS R5.0 Valid value: TAS_181_NONE, TAS_181_WITH_FWINFO Default is TAS_181_NONE
 230:          /// </summary>
 231:          public int Receive181Mode { get; set; }
 232:   
 233:          /// <summary>
 234:          /// CcNdcLength (opt for ent,opt for ed). LCP-CTS R6.0 0 or integer (3-10) default 0
 235:          /// </summary>
 236:          public int CcNdcLength { get; set; }
 237:   
 238:          /// <summary>
 239:          /// MaxActiveCalls (opt for ent,opt for ed). LCP-CTS R6.0 Integer (0-2500) default 0 The value should not be greater than Call Limit.
 240:          /// </summary>
 241:          public int MaxActiveCalls { get; set; }
 242:   
 243:          /// <summary>
 244:          /// CallingPartyCategory (opt for ent,opt for ed). LCP-CTS R6.1 String indicates the Party Type. Valid Values: CPC_ORDINARY, CPC_OPERATOR, CPC_PRIORITY, CPC_DATA, CPC_TEST, CPC_PAYPHONE, CPC_CELLULAR, CPC_PRISON, CPC_HOTEL, CPC_POLICE, CPC_UNKNOWN, CPC_HOSPITAL, CPC_SPARE14, CPC_SPARE15, CPC_SPARE16, CPC_SPARE17, CPC_SPARE18, CPC_SPARE19, CPC_SPARE20, CPC_SPARE21, CPC_SPARE22, CPC_SPARE23, CPC_SPARE24, CPC_SPARE25, CPC_SPARE26, CPC_SPARE27, CPC_SPARE28, CPC_SPARE29, CPC_SPARE30, CPC_SPARE31, Default CPC_ORDINARY
 245:          /// </summary>
 246:          public int CallingPartyCategory { get; set; }
 247:   
 248:          /// <summary>
 249:          /// PublicUID1 (opt for ent,opt for ed). LCP Secondary Phone number of endpoint. String (1-32) [+0-9a-zA-Z:,\-_\.()]* LCP-CTS R6.1 From CTS R6.1: String(1-252) [+0-9a-zA-Z:,-_.()&=?~/$'!*]* LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported. All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 250:          /// </summary>
 251:          public string PublicUID1 { get; set; }
 252:   
 253:          /// <summary>
 254:          /// PublicUID2 (opt for ent,opt for ed). LCP The same as PublicUID1 LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 255:          /// </summary>
 256:          public string PublicUID2 { get; set; }
 257:   
 258:          /// <summary>
 259:          /// PublicUID3 (opt for ent,opt for ed). LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All LCP The same as PublicUID1 features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 260:          /// </summary>
 261:          public string PublicUID3 { get; set; }
 262:   
 263:          /// <summary>
 264:          /// PublicUID4 (opt for ent,opt for ed). LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All LCP The same as PublicUID1 features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 265:          /// </summary>
 266:          public string PublicUID4 { get; set; }
 267:   
 268:          /// <summary>
 269:          /// PublicUID5 (opt for ent,opt for ed). LCP The same as PublicUID1 LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 270:          /// </summary>
 271:          public string PublicUID5 { get; set; }
 272:   
 273:          /// <summary>
 274:          /// PublicUID6 (opt for ent,opt for ed). LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All LCP The same as PublicUID1 features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 275:          /// </summary>
 276:          public string PublicUID6 { get; set; }
 277:   
 278:          /// <summary>
 279:          /// PublicUID7 (opt for ent,opt for ed) LCP The same as PublicUID1 LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All LCP The same as PublicUID1 features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 280:          /// </summary>
 281:          public string PublicUID7 { get; set; }
 282:   
 283:          /// <summary>
 284:          /// PublicUID8 (opt for ent,opt for ed). LCP-CTS R6.0 The same as PublicUID1 LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 285:          /// </summary>
 286:          public string PublicUID8 { get; set; }
 287:   
 288:          /// <summary>
 289:          /// PublicUID9 (opt for ent,opt for ed). LCP-CTS R6.0 The same as PublicUID1 LCP-CTS R9.0 From CTS 9.0, format puid@Domain is supported.All features assigned to this PUID also support @domain. puid length (1-32) [0-9a-zA-Z&amp;=\+$,\?/\-_\.!~\*'()]* domain is predefined in subscriber home domain, max length 219
 290:          /// </summary>
 291:          public string PublicUID9 { get; set; }
 292:   
 293:          /// <summary>
 294:          /// PublicUID1DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false).Default false.
 295:          /// </summary>
 296:          public bool PublicUID1DomainRequired { get; set; }
 297:   
 298:          /// <summary>
 299:          /// PublicUID2DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false).Default false.
 300:          /// </summary>
 301:          public bool PublicUID2DomainRequired { get; set; }
 302:   
 303:          /// <summary>
 304:          /// PublicUID3DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false) Default false.
 305:          /// </summary>
 306:          public bool PublicUID3DomainRequired { get; set; }
 307:   
 308:          /// <summary>
 309:          /// PublicUID4DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false) Default false.
 310:          /// </summary>
 311:          public bool PublicUID4DomainRequired { get; set; }
 312:   
 313:          /// <summary>
 314:          /// PublicUID5DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false) Default false.
 315:          /// </summary>
 316:          public bool PublicUID5DomainRequired { get; set; }
 317:   
 318:          /// <summary>
 319:          /// PublicUID6DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false) Default false.
 320:          /// </summary>
 321:          public bool PublicUID6DomainRequired { get; set; }
 322:   
 323:          /// <summary>
 324:          /// PublicUID7DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false)Default false.
 325:          /// </summary>
 326:          public bool PublicUID7DomainRequired { get; set; }
 327:   
 328:          /// <summary>
 329:          /// PublicUID8DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false)Default false.
 330:          /// </summary>
 331:          public bool PublicUID8DomainRequired { get; set; }
 332:   
 333:          /// <summary>
 334:          /// PublicUID9DomainRequired (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false)Default false.
 335:          /// </summary>
 336:          public bool PublicUID9DomainRequired { get; set; }
 337:   
 338:          /// <summary>
 339:          /// WildCardPUIDStr (opt for ent,opt for ed). LCP-CTS R6.0 Format as: WildCardPUID1` WildCardPUID2`...... The max number for WildCardPUID is 31. Wild-card Puids have a different format than regular PUID. They are numbers with the wild-card part at the end delimited by '!'. Few examples of wildcard PUIDs: 163000![1-9]! Range 1630001 - 1630009 16300![1-9][0-9]! Range 1630010 - 1630099 1630![1-9][0-9].! Range 1630100 - 1630999 String(3-64) (+)?[0-9]*(!)[0-9-.*[]]+(!)
 340:          /// </summary>
 341:          public string WildCardPUIDStr { get; set; }
 342:   
 343:          /// <summary>
 344:          /// AllowCustomAnnouncement (opt for ent,opt for ed). LCP-CTS R6.1 Boolean (true or false) Indicates if the subscriber is allowed to use custom announcements. Default false
 345:          /// </summary>
 346:          public bool AllowCustomAnnouncement { get; set; }
 347:   
 348:          /// <summary>
 349:          /// PtySpareLong1 (opt for ent,opt for ed). LCP-CTS R6.1a (0-4294967295) default 0 The following party level spare fields are not stored in CTS database now.
 350:          /// </summary>
 351:          public long PtySpareLong1 { get; set; }
 352:   
 353:          /// <summary>
 354:          /// PtySpareString (opt for ent,opt for ed). LCP-CTS R6.1a The length is between 0 and 252. 
 355:          /// </summary>
 356:          public string PtySpareString { get; set; }
 357:   
 358:          /// <summary>
 359:          /// PtySpareString2 (opt for ent,opt for ed). LCP-CTS R10.0 The length is between 0 and 252.
 360:          /// </summary>
 361:          public string PtySpareString2 { get; set; }
 362:   
 363:          /// <summary>
 364:          /// PtySpareShort1 (opt for ent,opt for ed). LCP-CTS R6.1a (0-65535) default 0
 365:          /// </summary>
 366:          public int PtySpareShort1 { get; set; }
 367:   
 368:          /// <summary>
 369:          /// PtySpareShort2 (opt for ent,opt for ed). LCP-CTS R6.1a (0-65535) default 0
 370:          /// </summary>
 371:          public int PtySpareShort2 { get; set; }
 372:   
 373:          /// <summary>
 374:          /// PtySpareBool1 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 375:          /// </summary>
 376:          public bool PtySpareBool1 { get; set; }
 377:   
 378:          /// <summary>
 379:          /// PtySpareBool2 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 380:          /// </summary>
 381:          public bool PtySpareBool2 { get; set; }
 382:   
 383:          /// <summary>
 384:          /// PtySpareBool3 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 385:          /// </summary>
 386:          public bool PtySpareBool3 { get; set; }
 387:   
 388:          /// <summary>
 389:          /// PtySpareBool4 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 390:          /// </summary>
 391:          public bool PtySpareBool4 { get; set; }
 392:   
 393:          /// <summary>
 394:          /// PtySpareBool5 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 395:          /// </summary>
 396:          public bool PtySpareBool5 { get; set; }
 397:   
 398:          /// <summary>
 399:          /// PtySpareBool6 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 400:          /// </summary>
 401:          public bool PtySpareBool6 { get; set; }
 402:   
 403:          /// <summary>
 404:          /// PtySpareBool7 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 405:          /// </summary>
 406:          public bool PtySpareBool7 { get; set; }
 407:   
 408:          /// <summary>
 409:          /// PtySpareBool8 (opt for ent,opt for ed). LCP-CTS R6.1a Boolean (true or false) default false
 410:          /// </summary>
 411:          public bool PtySpareBool8 { get; set; }
 412:   
 413:          /// <summary>
 414:          /// TerminatingTableId (opt for ent,opt for ed). LCP-CTS R7.1 Terminating SIP error handling table ID which can be assigned on a per Party basis to provide the flexibility to support individual customization for handling terminating SIP error responses on the terminating side. Integer (1- 255) Default: 0: the system table
 415:          /// </summary>
 416:          public int TerminatingTableId { get; set; }
 417:   
 418:          /// <summary>
 419:          /// AllowNonSipTelUri (opt for ent,opt for ed). LCP-CTS R8.0 Boolean (true or false) Default false
 420:          /// </summary>
 421:          public bool AllowNonSipTelUri { get; set; }
 422:   
 423:          /// <summary>
 424:          /// LocationType (opt for ent,opt for ed). LCP-CTS R8.1.1 One of: - None - EHRPD - LTE - 3G-1X (1) If we set "None" to "LocationType", "RncID", "LteMcc", "LteMnc", "LteTac", "MarketSID" and "SwitchNumber" could be only set null value. (2) If we set "EHRPD" to "LocationType", "RncID" could be inputted with value. Meanwhile, null could only be set to "LteMcc", "LteMnc", "LteTac", "MarketSID" and "SwitchNumber". (3) If we set "LTE" to "LocationType", "LteMcc", "LteMnc" and "LteTac" could be inputed with value. Meanwhile, null could only be set to "MarketSID", "SwitchNumber"and "RncID". (4) If we set "3G-1X" to "LocationType", "MarketSID" and "SwitchNumber" could be inputted with value. Meanwhile, null could only be set to "RncID", "LteMcc", "LteMnc" and "LteTac".
 425:          /// </summary>
 426:          public int LocationType { get; set; }
 427:   
 428:          /// <summary>
 429:          /// RncID (opt for ent,opt for ed). LCP-CTS R8.1.1 String (3..15) Required when LocationType=EHRPD
 430:          /// </summary>
 431:          public string RncID { get; set; }
 432:   
 433:          /// <summary>
 434:          /// LteMcc (opt for ent,opt for ed). LCP-CTS R8.1.1 string(3) Required when LocationType=LTE
 435:          /// </summary>
 436:          public string LteMcc { get; set; }
 437:   
 438:          /// <summary>
 439:          /// LteMnc (opt for ent,opt for ed). LCP-CTS R8.1.1 string(2..3) Required when LocationType=LTE
 440:          /// </summary>
 441:          public string LteMnc { get; set; }
 442:   
 443:          /// <summary>
 444:          /// LteTac (opt for ent,opt for ed). LCP-CTS R8.1.1 number 0..65535 Required when LocationType=LTE
 445:          /// </summary>
 446:          public int LteTac { get; set; }
 447:   
 448:          /// <summary>
 449:          /// MarketSID (opt for ent,opt for ed). LCP-CTS R8.1.1 number 0..65535 Required when LocationType=3G-1X
 450:          /// </summary>
 451:          public int MarketSID { get; set; }
 452:   
 453:          /// <summary>
 454:          /// SwitchNumber (opt for ent,opt for ed). LCP-CTS R8.1.1 Number 0..255 Required when LocationType=3G-1X
 455:          /// </summary>
 456:          public int SwitchNumber { get; set; }
 457:   
 458:          /// <summary>
 459:          /// CallsToWebUserProhibited (opt for ent,opt for ed). LCP-CTS R9.0 Boolean (true or false). Default false
 460:          /// </summary>
 461:          public bool CallsToWebUserProhibited { get; set; }
 462:   
 463:          /// <summary>
 464:          /// IMSI (opt for ent,opt for ed). LCP-CTS R10.1 String:blank or 6-15 digits Default blank
 465:          /// </summary>
 466:          public string IMSI { get; set; }
 467:   
 468:          /// <summary>
 469:          /// IMSNotSupported (opt for ent,opt for ed). LCP-CTS R10.1 Boolean: true or false Default: false
 470:          /// </summary>
 471:          public bool IMSNotSupported { get; set; }
 472:   
 473:          /// <summary>
 474:          /// ValidateCellID (opt for ent,opt for ed). LCP-CTS R10.1 Boolean(true or false) Default: false
 475:          /// </summary>
 476:          public bool ValidateCellID { get; set; }
 477:   
 478:          /// <summary>
 479:          /// OperatorID (opt for ent,opt for ed). LCP-CTS R10.1 Integer (0-999) default 0
 480:          /// </summary>
 481:          public int OperatorID { get; set; }
 482:   
 483:          /// <summary>
 484:          /// HomeMTA (opt for ent,opt for ed). LCP-CTS R10.1 Integer (0-99) default 0
 485:          /// </summary>
 486:          public int HomeMTA { get; set; }
 487:   
 488:          /// <summary>
 489:          /// ForwardDenyNumbers (opt for ent,opt for ed). LCP-CTS R10.1 Boolean (true or false). Default is false. 
 490:          /// </summary>
 491:          public bool ForwardDenyNumbers { get; set; }
 492:   
 493:          /// <summary>
 494:          /// PlayAnnoFailNotForward (opt for ent,opt for ed). LCP-CTS R10.1 Boolean (true or false). Default false.
 495:          /// </summary>
 496:          public bool PlayAnnoFailNotForward { get; set; }
 497:   
 498:          /// <summary>
 499:          /// MrfPoolID (opt for ent,opt for ed). LCP-CTS R10.0 Integer (0-31) default 0 
 500:          /// </summary>
 501:          public int MrfPoolID { get; set; }
 502:   
 503:          /// <summary>
 504:          /// Custom120x (opt for ent,opt for ed). LCP-CTS R10.1(COM 3.0.X) Boolean (true or false). Default is false.
 505:          /// </summary>
 506:          public bool Custom120x { get; set; }
 507:   
 508:          /// <summary>
 509:          ///
 510:          /// </summary>
 511:          public virtual AgcfEndpoint AgcfEndpoint { get; set; }
 512:   
 513:          /// <summary/>
 514:          public virtual ICollection<Subscriber> Subscribers { get; set; }
 515:   
 516:          /// <summary/>
 517:          public DateTime Created { get; set; }
 518:          /// <summary/>
 519:          public DateTime Updated { get; set; }
 520:          /// <summary/>
 521:          public System.Guid UserId { get; set; }
 522:   
 523:          ////////////////////////////////////////////////////////////////////////////
 524:   
 525:          /// <summary>
 526:          ///
 527:          /// </summary>
 528:          public static string SubPartyId(string partyId)
 529:          {
 530:              return partyId;
 531:          }
 532:   
 533:          ////////////////////////////////////////////////////////////////////////////
 534:   
 535:          /// <summary>
 536:          ///
 537:          /// </summary>
 538:          public bool IsSip
 539:          {
 540:              get
 541:              {
 542:                  bool isSip;
 543:   
 544:                  isSip = Ia.Ngn.Cl.Model.Business.Nokia.SubParty.IsSip(this.PrimaryPUIDCPEProfileNumber);
 545:   
 546:                  return isSip;
 547:              }
 548:          }
 549:          
 550:          ////////////////////////////////////////////////////////////////////////////
 551:   
 552:          /// <summary>
 553:          ///
 554:          /// </summary>
 555:          public bool Equal(SubParty b)
 556:          {
 557:              // below: this will not check the Id, Created, Updated fields
 558:              bool areEqual;
 559:   
 560:              //if (this.BatteryBackupAvailable != b.BatteryBackupAvailable) areEqual = false;
 561:              //else areEqual = true;
 562:   
 563:              areEqual = false;
 564:   
 565:              return areEqual;
 566:          }
 567:   
 568:          ////////////////////////////////////////////////////////////////////////////
 569:   
 570:          /// <summary>
 571:          ///
 572:          /// </summary>
 573:          public bool Update(SubParty updatedSubParty)
 574:          {
 575:              // below: this will not update Id, Created
 576:              bool updated;
 577:   
 578:              updated = false;
 579:   
 580:              if (this.PartyId != updatedSubParty.PartyId) { this.PartyId = updatedSubParty.PartyId; updated = true; }
 581:              if (this.DisplayName != updatedSubParty.DisplayName) { this.DisplayName = updatedSubParty.DisplayName; updated = true; }
 582:              if (this.Category != updatedSubParty.Category) { this.Category = updatedSubParty.Category; updated = true; }
 583:              if (this.NewPartyId != updatedSubParty.NewPartyId) { this.NewPartyId = updatedSubParty.NewPartyId; updated = true; }
 584:              if (this.PrimaryPUID != updatedSubParty.PrimaryPUID) { this.PrimaryPUID = updatedSubParty.PrimaryPUID; updated = true; }
 585:              if (this.NewPrimaryPUID != updatedSubParty.NewPrimaryPUID) { this.NewPrimaryPUID = updatedSubParty.NewPrimaryPUID; updated = true; }
 586:              if (this.PrimaryPUIDDomainRequired != updatedSubParty.PrimaryPUIDDomainRequired) { this.PrimaryPUIDDomainRequired = updatedSubParty.PrimaryPUIDDomainRequired; updated = true; }
 587:              if (this.PrimaryPUIDCPEProfileNumber != updatedSubParty.PrimaryPUIDCPEProfileNumber) { this.PrimaryPUIDCPEProfileNumber = updatedSubParty.PrimaryPUIDCPEProfileNumber; updated = true; }
 588:              if (this.PrimaryPUIDFlashable != updatedSubParty.PrimaryPUIDFlashable) { this.PrimaryPUIDFlashable = updatedSubParty.PrimaryPUIDFlashable; updated = true; }
 589:              if (this.AssocOtasRealm != updatedSubParty.AssocOtasRealm) { this.AssocOtasRealm = updatedSubParty.AssocOtasRealm; updated = true; }
 590:              if (this.NetworkProfileName != updatedSubParty.NetworkProfileName) { this.NetworkProfileName = updatedSubParty.NetworkProfileName; updated = true; }
 591:              if (this.NetworkProfileVersion != updatedSubParty.NetworkProfileVersion) { this.NetworkProfileVersion = updatedSubParty.NetworkProfileVersion; updated = true; }
 592:              if (this.ServiceProfileName != updatedSubParty.ServiceProfileName) { this.ServiceProfileName = updatedSubParty.ServiceProfileName; updated = true; }
 593:              if (this.ServiceProfileVersion != updatedSubParty.ServiceProfileVersion) { this.ServiceProfileVersion = updatedSubParty.ServiceProfileVersion; updated = true; }
 594:              if (this.IsReducedServiceProfile != updatedSubParty.IsReducedServiceProfile) { this.IsReducedServiceProfile = updatedSubParty.IsReducedServiceProfile; updated = true; }
 595:              if (this.CallLimit != updatedSubParty.CallLimit) { this.CallLimit = updatedSubParty.CallLimit; updated = true; }
 596:              if (this.ServiceSuspension != updatedSubParty.ServiceSuspension) { this.ServiceSuspension = updatedSubParty.ServiceSuspension; updated = true; }
 597:              if (this.OriginationSuspension != updatedSubParty.OriginationSuspension) { this.OriginationSuspension = updatedSubParty.OriginationSuspension; updated = true; }
 598:              if (this.TerminationSuspension != updatedSubParty.TerminationSuspension) { this.TerminationSuspension = updatedSubParty.TerminationSuspension; updated = true; }
 599:              if (this.SuspensionNotification != updatedSubParty.SuspensionNotification) { this.SuspensionNotification = updatedSubParty.SuspensionNotification; updated = true; }
 600:              if (this.UserOrigSuspension != updatedSubParty.UserOrigSuspension) { this.UserOrigSuspension = updatedSubParty.UserOrigSuspension; updated = true; }
 601:              if (this.UserTermSuspension != updatedSubParty.UserTermSuspension) { this.UserTermSuspension = updatedSubParty.UserTermSuspension; updated = true; }
 602:              if (this.AssocWpifRealm != updatedSubParty.AssocWpifRealm) { this.AssocWpifRealm = updatedSubParty.AssocWpifRealm; updated = true; }
 603:              if (this.IddPrefix != updatedSubParty.IddPrefix) { this.IddPrefix = updatedSubParty.IddPrefix; updated = true; }
 604:              if (this.AlternateFsdbFqdn != updatedSubParty.AlternateFsdbFqdn) { this.AlternateFsdbFqdn = updatedSubParty.AlternateFsdbFqdn; updated = true; }
 605:              if (this.SharedHssData != updatedSubParty.SharedHssData) { this.SharedHssData = updatedSubParty.SharedHssData; updated = true; }
 606:              if (this.Pin != updatedSubParty.Pin) { this.Pin = updatedSubParty.Pin; updated = true; }
 607:              if (this.MsnCapability != updatedSubParty.MsnCapability) { this.MsnCapability = updatedSubParty.MsnCapability; updated = true; }
 608:              if (this.VideoProhibit != updatedSubParty.VideoProhibit) { this.VideoProhibit = updatedSubParty.VideoProhibit; updated = true; }
 609:              if (this.MaxFwdHops != updatedSubParty.MaxFwdHops) { this.MaxFwdHops = updatedSubParty.MaxFwdHops; updated = true; }
 610:              if (this.CsdFlavor != updatedSubParty.CsdFlavor) { this.CsdFlavor = updatedSubParty.CsdFlavor; updated = true; }
 611:              if (this.CsdDynamic != updatedSubParty.CsdDynamic) { this.CsdDynamic = updatedSubParty.CsdDynamic; updated = true; }
 612:              if (this.SipErrorTableId != updatedSubParty.SipErrorTableId) { this.SipErrorTableId = updatedSubParty.SipErrorTableId; updated = true; }
 613:              if (this.TreatmentTableId != updatedSubParty.TreatmentTableId) { this.TreatmentTableId = updatedSubParty.TreatmentTableId; updated = true; }
 614:              if (this.Locale != updatedSubParty.Locale) { this.Locale = updatedSubParty.Locale; updated = true; }
 615:              if (this.CliPrefixList != updatedSubParty.CliPrefixList) { this.CliPrefixList = updatedSubParty.CliPrefixList; updated = true; }
 616:              if (this.IsGroupCPE != updatedSubParty.IsGroupCPE) { this.IsGroupCPE = updatedSubParty.IsGroupCPE; updated = true; }
 617:              if (this.Receive181Mode != updatedSubParty.Receive181Mode) { this.Receive181Mode = updatedSubParty.Receive181Mode; updated = true; }
 618:              if (this.CcNdcLength != updatedSubParty.CcNdcLength) { this.CcNdcLength = updatedSubParty.CcNdcLength; updated = true; }
 619:              if (this.MaxActiveCalls != updatedSubParty.MaxActiveCalls) { this.MaxActiveCalls = updatedSubParty.MaxActiveCalls; updated = true; }
 620:              if (this.CallingPartyCategory != updatedSubParty.CallingPartyCategory) { this.CallingPartyCategory = updatedSubParty.CallingPartyCategory; updated = true; }
 621:              if (this.PublicUID1 != updatedSubParty.PublicUID1) { this.PublicUID1 = updatedSubParty.PublicUID1; updated = true; }
 622:              if (this.PublicUID2 != updatedSubParty.PublicUID2) { this.PublicUID2 = updatedSubParty.PublicUID2; updated = true; }
 623:              if (this.PublicUID3 != updatedSubParty.PublicUID3) { this.PublicUID3 = updatedSubParty.PublicUID3; updated = true; }
 624:              if (this.PublicUID4 != updatedSubParty.PublicUID4) { this.PublicUID4 = updatedSubParty.PublicUID4; updated = true; }
 625:              if (this.PublicUID5 != updatedSubParty.PublicUID5) { this.PublicUID5 = updatedSubParty.PublicUID5; updated = true; }
 626:              if (this.PublicUID6 != updatedSubParty.PublicUID6) { this.PublicUID6 = updatedSubParty.PublicUID6; updated = true; }
 627:              if (this.PublicUID7 != updatedSubParty.PublicUID7) { this.PublicUID7 = updatedSubParty.PublicUID7; updated = true; }
 628:              if (this.PublicUID8 != updatedSubParty.PublicUID8) { this.PublicUID8 = updatedSubParty.PublicUID8; updated = true; }
 629:              if (this.PublicUID9 != updatedSubParty.PublicUID9) { this.PublicUID9 = updatedSubParty.PublicUID9; updated = true; }
 630:              if (this.PublicUID1DomainRequired != updatedSubParty.PublicUID1DomainRequired) { this.PublicUID1DomainRequired = updatedSubParty.PublicUID1DomainRequired; updated = true; }
 631:              if (this.PublicUID2DomainRequired != updatedSubParty.PublicUID2DomainRequired) { this.PublicUID2DomainRequired = updatedSubParty.PublicUID2DomainRequired; updated = true; }
 632:              if (this.PublicUID3DomainRequired != updatedSubParty.PublicUID3DomainRequired) { this.PublicUID3DomainRequired = updatedSubParty.PublicUID3DomainRequired; updated = true; }
 633:              if (this.PublicUID4DomainRequired != updatedSubParty.PublicUID4DomainRequired) { this.PublicUID4DomainRequired = updatedSubParty.PublicUID4DomainRequired; updated = true; }
 634:              if (this.PublicUID5DomainRequired != updatedSubParty.PublicUID5DomainRequired) { this.PublicUID5DomainRequired = updatedSubParty.PublicUID5DomainRequired; updated = true; }
 635:              if (this.PublicUID6DomainRequired != updatedSubParty.PublicUID6DomainRequired) { this.PublicUID6DomainRequired = updatedSubParty.PublicUID6DomainRequired; updated = true; }
 636:              if (this.PublicUID7DomainRequired != updatedSubParty.PublicUID7DomainRequired) { this.PublicUID7DomainRequired = updatedSubParty.PublicUID7DomainRequired; updated = true; }
 637:              if (this.PublicUID8DomainRequired != updatedSubParty.PublicUID8DomainRequired) { this.PublicUID8DomainRequired = updatedSubParty.PublicUID8DomainRequired; updated = true; }
 638:              if (this.PublicUID9DomainRequired != updatedSubParty.PublicUID9DomainRequired) { this.PublicUID9DomainRequired = updatedSubParty.PublicUID9DomainRequired; updated = true; }
 639:              if (this.WildCardPUIDStr != updatedSubParty.WildCardPUIDStr) { this.WildCardPUIDStr = updatedSubParty.WildCardPUIDStr; updated = true; }
 640:              if (this.AllowCustomAnnouncement != updatedSubParty.AllowCustomAnnouncement) { this.AllowCustomAnnouncement = updatedSubParty.AllowCustomAnnouncement; updated = true; }
 641:              if (this.PtySpareLong1 != updatedSubParty.PtySpareLong1) { this.PtySpareLong1 = updatedSubParty.PtySpareLong1; updated = true; }
 642:              if (this.PtySpareString != updatedSubParty.PtySpareString) { this.PtySpareString = updatedSubParty.PtySpareString; updated = true; }
 643:              if (this.PtySpareString2 != updatedSubParty.PtySpareString2) { this.PtySpareString2 = updatedSubParty.PtySpareString2; updated = true; }
 644:              if (this.PtySpareShort1 != updatedSubParty.PtySpareShort1) { this.PtySpareShort1 = updatedSubParty.PtySpareShort1; updated = true; }
 645:              if (this.PtySpareShort2 != updatedSubParty.PtySpareShort2) { this.PtySpareShort2 = updatedSubParty.PtySpareShort2; updated = true; }
 646:              if (this.PtySpareBool1 != updatedSubParty.PtySpareBool1) { this.PtySpareBool1 = updatedSubParty.PtySpareBool1; updated = true; }
 647:              if (this.PtySpareBool2 != updatedSubParty.PtySpareBool2) { this.PtySpareBool2 = updatedSubParty.PtySpareBool2; updated = true; }
 648:              if (this.PtySpareBool3 != updatedSubParty.PtySpareBool3) { this.PtySpareBool3 = updatedSubParty.PtySpareBool3; updated = true; }
 649:              if (this.PtySpareBool4 != updatedSubParty.PtySpareBool4) { this.PtySpareBool4 = updatedSubParty.PtySpareBool4; updated = true; }
 650:              if (this.PtySpareBool5 != updatedSubParty.PtySpareBool5) { this.PtySpareBool5 = updatedSubParty.PtySpareBool5; updated = true; }
 651:              if (this.PtySpareBool6 != updatedSubParty.PtySpareBool6) { this.PtySpareBool6 = updatedSubParty.PtySpareBool6; updated = true; }
 652:              if (this.PtySpareBool7 != updatedSubParty.PtySpareBool7) { this.PtySpareBool7 = updatedSubParty.PtySpareBool7; updated = true; }
 653:              if (this.PtySpareBool8 != updatedSubParty.PtySpareBool8) { this.PtySpareBool8 = updatedSubParty.PtySpareBool8; updated = true; }
 654:              if (this.TerminatingTableId != updatedSubParty.TerminatingTableId) { this.TerminatingTableId = updatedSubParty.TerminatingTableId; updated = true; }
 655:              if (this.AllowNonSipTelUri != updatedSubParty.AllowNonSipTelUri) { this.AllowNonSipTelUri = updatedSubParty.AllowNonSipTelUri; updated = true; }
 656:              if (this.LocationType != updatedSubParty.LocationType) { this.LocationType = updatedSubParty.LocationType; updated = true; }
 657:              if (this.RncID != updatedSubParty.RncID) { this.RncID = updatedSubParty.RncID; updated = true; }
 658:              if (this.LteMcc != updatedSubParty.LteMcc) { this.LteMcc = updatedSubParty.LteMcc; updated = true; }
 659:              if (this.LteMnc != updatedSubParty.LteMnc) { this.LteMnc = updatedSubParty.LteMnc; updated = true; }
 660:              if (this.LteTac != updatedSubParty.LteTac) { this.LteTac = updatedSubParty.LteTac; updated = true; }
 661:              if (this.MarketSID != updatedSubParty.MarketSID) { this.MarketSID = updatedSubParty.MarketSID; updated = true; }
 662:              if (this.SwitchNumber != updatedSubParty.SwitchNumber) { this.SwitchNumber = updatedSubParty.SwitchNumber; updated = true; }
 663:              if (this.CallsToWebUserProhibited != updatedSubParty.CallsToWebUserProhibited) { this.CallsToWebUserProhibited = updatedSubParty.CallsToWebUserProhibited; updated = true; }
 664:              if (this.IMSI != updatedSubParty.IMSI) { this.IMSI = updatedSubParty.IMSI; updated = true; }
 665:              if (this.IMSNotSupported != updatedSubParty.IMSNotSupported) { this.IMSNotSupported = updatedSubParty.IMSNotSupported; updated = true; }
 666:              if (this.ValidateCellID != updatedSubParty.ValidateCellID) { this.ValidateCellID = updatedSubParty.ValidateCellID; updated = true; }
 667:              if (this.OperatorID != updatedSubParty.OperatorID) { this.OperatorID = updatedSubParty.OperatorID; updated = true; }
 668:              if (this.HomeMTA != updatedSubParty.HomeMTA) { this.HomeMTA = updatedSubParty.HomeMTA; updated = true; }
 669:              if (this.ForwardDenyNumbers != updatedSubParty.ForwardDenyNumbers) { this.ForwardDenyNumbers = updatedSubParty.ForwardDenyNumbers; updated = true; }
 670:              if (this.PlayAnnoFailNotForward != updatedSubParty.PlayAnnoFailNotForward) { this.PlayAnnoFailNotForward = updatedSubParty.PlayAnnoFailNotForward; updated = true; }
 671:              if (this.MrfPoolID != updatedSubParty.MrfPoolID) { this.MrfPoolID = updatedSubParty.MrfPoolID; updated = true; }
 672:              if (this.Custom120x != updatedSubParty.Custom120x) { this.Custom120x = updatedSubParty.Custom120x; updated = true; }
 673:   
 674:              if (this.AgcfEndpoint != updatedSubParty.AgcfEndpoint) { this.AgcfEndpoint = updatedSubParty.AgcfEndpoint; updated = true; }
 675:   
 676:              if (this.UserId != updatedSubParty.UserId) { this.UserId = updatedSubParty.UserId; updated = true; }
 677:   
 678:              if (updated) this.Updated = DateTime.UtcNow.AddHours(3);
 679:   
 680:              return updated;
 681:          }
 682:   
 683:          ////////////////////////////////////////////////////////////////////////////
 684:          ////////////////////////////////////////////////////////////////////////////
 685:      }
 686:   
 687:      ////////////////////////////////////////////////////////////////////////////
 688:      ////////////////////////////////////////////////////////////////////////////
 689:  }