Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DncList" /> class.
 /// </summary>
 /// <param name="Name">The name of the DncList. (required).</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="ImportStatus">The status of the import process.</param>
 /// <param name="LoginId">A dnc.com loginId. Required if the dncSourceType is dnc.com..</param>
 /// <param name="DncCodes">The list of dnc.com codes to be treated as DNC. Required if the dncSourceType is dnc.com..</param>
 /// <param name="LicenseId">A gryphon license number. Required if the dncSourceType is gryphon..</param>
 /// <param name="Division">The division this DncList belongs to..</param>
 public DncList(string Name = null, int?Version = null, ImportStatus ImportStatus = null, string LoginId = null, List <string> DncCodes = null, string LicenseId = null, DomainEntityRef Division = null)
 {
     this.Name         = Name;
     this.Version      = Version;
     this.ImportStatus = ImportStatus;
     this.LoginId      = LoginId;
     this.DncCodes     = DncCodes;
     this.LicenseId    = LicenseId;
     this.Division     = Division;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DncListCreate" /> class.
 /// </summary>
 /// <param name="Name">The name of the DncList. (required).</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="ImportStatus">The status of the import process.</param>
 /// <param name="DncSourceType">The type of the DncList. (required).</param>
 /// <param name="LoginId">A dnc.com loginId. Required if the dncSourceType is dnc.com..</param>
 /// <param name="DncCodes">The list of dnc.com codes to be treated as DNC. Required if the dncSourceType is dnc.com..</param>
 /// <param name="LicenseId">A gryphon license number. Required if the dncSourceType is gryphon..</param>
 /// <param name="Division">The division this DncList belongs to..</param>
 public DncListCreate(string Name = null, int?Version = null, ImportStatus ImportStatus = null, DncSourceTypeEnum?DncSourceType = null, string LoginId = null, List <string> DncCodes = null, string LicenseId = null, UriReference Division = null)
 {
     this.Name          = Name;
     this.Version       = Version;
     this.ImportStatus  = ImportStatus;
     this.DncSourceType = DncSourceType;
     this.LoginId       = LoginId;
     this.DncCodes      = DncCodes;
     this.LicenseId     = LicenseId;
     this.Division      = Division;
 }
Beispiel #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DncList" /> class.
        /// </summary>



        /// <param name="Name">The name of the DncList. (required).</param>



        /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>



        /// <param name="ImportStatus">The status of the import process.</param>



        /// <param name="DncSourceType">The type of the DncList. (required).</param>



        /// <param name="LoginId">A dnc.com loginId. Required if the dncSourceType is dnc.com..</param>



        /// <param name="DncCodes">The list of dnc.com codes to be treated as DNC. Required if the dncSourceType is dnc.com..</param>



        /// <param name="LicenseId">A gryphon license number. Required if the dncSourceType is gryphon..</param>



        public DncList(string Name = null, int?Version = null, ImportStatus ImportStatus = null, DncSourceTypeEnum?DncSourceType = null, string LoginId = null, List <string> DncCodes = null, string LicenseId = null)
        {
            // to ensure "Name" is required (not null)
            if (Name == null)
            {
                throw new InvalidDataException("Name is a required property for DncList and cannot be null");
            }
            else
            {
                this.Name = Name;
            }



            // to ensure "DncSourceType" is required (not null)
            if (DncSourceType == null)
            {
                throw new InvalidDataException("DncSourceType is a required property for DncList and cannot be null");
            }
            else
            {
                this.DncSourceType = DncSourceType;
            }



            this.Version = Version;



            this.ImportStatus = ImportStatus;



            this.LoginId = LoginId;



            this.DncCodes = DncCodes;



            this.LicenseId = LicenseId;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContactList" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>
 /// <param name="Division">The division this entity belongs to..</param>
 /// <param name="ColumnNames">The names of the contact data columns. (required).</param>
 /// <param name="PhoneColumns">Indicates which columns are phone numbers. (required).</param>
 /// <param name="ImportStatus">The status of the import process..</param>
 /// <param name="PreviewModeColumnName">A column to check if a contact should always be dialed in preview mode..</param>
 /// <param name="PreviewModeAcceptedValues">The values in the previewModeColumnName column that indicate a contact should always be dialed in preview mode..</param>
 /// <param name="AttemptLimits">AttemptLimits for this ContactList..</param>
 /// <param name="AutomaticTimeZoneMapping">Indicates if automatic time zone mapping is to be used for this ContactList..</param>
 /// <param name="ZipCodeColumnName">The name of contact list column containing the zip code for use with automatic time zone mapping. Only allowed if &#39;automaticTimeZoneMapping&#39; is set to true..</param>
 public ContactList(string Name = null, int?Version = null, UriReference Division = null, List <string> ColumnNames = null, List <ContactPhoneNumberColumn> PhoneColumns = null, ImportStatus ImportStatus = null, string PreviewModeColumnName = null, List <string> PreviewModeAcceptedValues = null, UriReference AttemptLimits = null, bool?AutomaticTimeZoneMapping = null, string ZipCodeColumnName = null)
 {
     this.Name                      = Name;
     this.Version                   = Version;
     this.Division                  = Division;
     this.ColumnNames               = ColumnNames;
     this.PhoneColumns              = PhoneColumns;
     this.ImportStatus              = ImportStatus;
     this.PreviewModeColumnName     = PreviewModeColumnName;
     this.PreviewModeAcceptedValues = PreviewModeAcceptedValues;
     this.AttemptLimits             = AttemptLimits;
     this.AutomaticTimeZoneMapping  = AutomaticTimeZoneMapping;
     this.ZipCodeColumnName         = ZipCodeColumnName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContactListDivisionView" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="ColumnNames">The names of the contact data columns. (required).</param>
 /// <param name="PhoneColumns">Indicates which columns are phone numbers. (required).</param>
 /// <param name="ImportStatus">The status of the import process..</param>
 public ContactListDivisionView(string Name = null, Division Division = null, List <string> ColumnNames = null, List <ContactPhoneNumberColumn> PhoneColumns = null, ImportStatus ImportStatus = null)
 {
     this.Name         = Name;
     this.Division     = Division;
     this.ColumnNames  = ColumnNames;
     this.PhoneColumns = PhoneColumns;
     this.ImportStatus = ImportStatus;
 }
Beispiel #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ContactList" /> class.
        /// </summary>



        /// <param name="Name">Name.</param>



        /// <param name="Version">Required for updates, must match the version number of the most recent update.</param>



        /// <param name="ColumnNames">The names of the contact data columns. (required).</param>



        /// <param name="PhoneColumns">Indicates which columns are phone numbers. (required).</param>



        /// <param name="ImportStatus">The status of the import process..</param>



        /// <param name="PreviewModeColumnName">A column to check if a contact should always be dialed in preview mode..</param>



        /// <param name="PreviewModeAcceptedValues">The values in the previewModeColumnName column that indicate a contact should always be dialed in preview mode..</param>



        /// <param name="AttemptLimits">AttemptLimits for this ContactList.</param>



        public ContactList(string Name = null, int?Version = null, List <string> ColumnNames = null, List <ContactPhoneNumberColumn> PhoneColumns = null, ImportStatus ImportStatus = null, string PreviewModeColumnName = null, List <string> PreviewModeAcceptedValues = null, UriReference AttemptLimits = null)
        {
            // to ensure "ColumnNames" is required (not null)
            if (ColumnNames == null)
            {
                throw new InvalidDataException("ColumnNames is a required property for ContactList and cannot be null");
            }
            else
            {
                this.ColumnNames = ColumnNames;
            }



            // to ensure "PhoneColumns" is required (not null)
            if (PhoneColumns == null)
            {
                throw new InvalidDataException("PhoneColumns is a required property for ContactList and cannot be null");
            }
            else
            {
                this.PhoneColumns = PhoneColumns;
            }



            this.Name = Name;



            this.Version = Version;



            this.ImportStatus = ImportStatus;



            this.PreviewModeColumnName = PreviewModeColumnName;



            this.PreviewModeAcceptedValues = PreviewModeAcceptedValues;



            this.AttemptLimits = AttemptLimits;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="DncListDivisionView" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="ImportStatus">The status of the import process..</param>
 public DncListDivisionView(string Name = null, Division Division = null, ImportStatus ImportStatus = null)
 {
     this.Name         = Name;
     this.Division     = Division;
     this.ImportStatus = ImportStatus;
 }