/// <summary>
 /// Initializes a new instance of the <see cref="StoreAlertProperty" /> class.
 /// </summary>
 /// <param name="PropertyId">PropertyId (required).</param>
 /// <param name="PropertyValue">PropertyValue (required).</param>
 public StoreAlertProperty(AlertPropertyId PropertyId = default(AlertPropertyId), AlertPropertyValue PropertyValue = default(AlertPropertyValue))
 {
     // to ensure "PropertyId" is required (not null)
     if (PropertyId == null)
     {
         throw new InvalidDataException("PropertyId is a required property for StoreAlertProperty and cannot be null");
     }
     else
     {
         this.PropertyId = PropertyId;
     }
     // to ensure "PropertyValue" is required (not null)
     if (PropertyValue == null)
     {
         throw new InvalidDataException("PropertyValue is a required property for StoreAlertProperty and cannot be null");
     }
     else
     {
         this.PropertyValue = PropertyValue;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StoreAlertPropertyInfo" /> class.
 /// </summary>
 /// <param name="PropertyId">PropertyId (required).</param>
 /// <param name="PropertyValue">PropertyValue (required).</param>
 /// <param name="PropertyName">The property name of the alert (required).</param>
 /// <param name="PropertyValidationExpression">The regular expression related to the alert property.</param>
 public StoreAlertPropertyInfo(AlertPropertyId PropertyId = default(AlertPropertyId), AlertPropertyValue PropertyValue = default(AlertPropertyValue), string PropertyName = default(string), string PropertyValidationExpression = default(string))
 {
     // to ensure "PropertyId" is required (not null)
     if (PropertyId == null)
     {
         throw new InvalidDataException("PropertyId is a required property for StoreAlertPropertyInfo and cannot be null");
     }
     else
     {
         this.PropertyId = PropertyId;
     }
     // to ensure "PropertyValue" is required (not null)
     if (PropertyValue == null)
     {
         throw new InvalidDataException("PropertyValue is a required property for StoreAlertPropertyInfo and cannot be null");
     }
     else
     {
         this.PropertyValue = PropertyValue;
     }
     // to ensure "PropertyName" is required (not null)
     if (PropertyName == null)
     {
         throw new InvalidDataException("PropertyName is a required property for StoreAlertPropertyInfo and cannot be null");
     }
     else
     {
         this.PropertyName = PropertyName;
     }
     this.PropertyValidationExpression = PropertyValidationExpression;
 }