/// <summary>
 /// Initializes a new instance of the <see cref="ChangeCustomColumnRequest" /> class.
 /// </summary>
 /// <param name="EncryptedExpression">EncryptedExpression (required).</param>
 /// <param name="EncryptedBlocklyExpression">EncryptedBlocklyExpression (required).</param>
 /// <param name="UserColumName">UserColumName (required).</param>
 public ChangeCustomColumnRequest(EncryptedExpression EncryptedExpression = default(EncryptedExpression), EncryptedBlocklyExpression EncryptedBlocklyExpression = default(EncryptedBlocklyExpression), UserColumName UserColumName = default(UserColumName))
 {
     // to ensure "EncryptedExpression" is required (not null)
     if (EncryptedExpression == null)
     {
         throw new InvalidDataException("EncryptedExpression is a required property for ChangeCustomColumnRequest and cannot be null");
     }
     else
     {
         this.EncryptedExpression = EncryptedExpression;
     }
     // to ensure "EncryptedBlocklyExpression" is required (not null)
     if (EncryptedBlocklyExpression == null)
     {
         throw new InvalidDataException("EncryptedBlocklyExpression is a required property for ChangeCustomColumnRequest and cannot be null");
     }
     else
     {
         this.EncryptedBlocklyExpression = EncryptedBlocklyExpression;
     }
     // to ensure "UserColumName" is required (not null)
     if (UserColumName == null)
     {
         throw new InvalidDataException("UserColumName is a required property for ChangeCustomColumnRequest and cannot be null");
     }
     else
     {
         this.UserColumName = UserColumName;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputeExpressionRequest" /> class.
 /// </summary>
 /// <param name="ProductValues">ProductValues (required).</param>
 /// <param name="EncryptedExpression">EncryptedExpression (required).</param>
 public ComputeExpressionRequest(ProductValues ProductValues = default(ProductValues), EncryptedExpression EncryptedExpression = default(EncryptedExpression))
 {
     // to ensure "ProductValues" is required (not null)
     if (ProductValues == null)
     {
         throw new InvalidDataException("ProductValues is a required property for ComputeExpressionRequest and cannot be null");
     }
     else
     {
         this.ProductValues = ProductValues;
     }
     // to ensure "EncryptedExpression" is required (not null)
     if (EncryptedExpression == null)
     {
         throw new InvalidDataException("EncryptedExpression is a required property for ComputeExpressionRequest and cannot be null");
     }
     else
     {
         this.EncryptedExpression = EncryptedExpression;
     }
 }