diff --git a/sdk/PowerBI.Api/Source/Models/Expression.cs b/sdk/PowerBI.Api/Source/Models/Expression.cs
index de1bab8a..f5d17ff8 100644
--- a/sdk/PowerBI.Api/Source/Models/Expression.cs
+++ b/sdk/PowerBI.Api/Source/Models/Expression.cs
@@ -28,7 +28,8 @@ public Expression()
///
/// The expression name
/// The expression description
- public Expression(ASMashupExpression expressionProperty, string name = default(string), string description = default(string))
+ /// The expression
+ public Expression(string expressionProperty = default(string), string name = default(string), string description = default(string))
{
ExpressionProperty = expressionProperty;
Name = name;
@@ -44,7 +45,7 @@ public Expression()
///
///
[JsonProperty(PropertyName = "expression")]
- public ASMashupExpression ExpressionProperty { get; set; }
+ public string ExpressionProperty { get; set; }
///
/// Gets or sets the expression name
@@ -57,23 +58,5 @@ public Expression()
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (ExpressionProperty == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "ExpressionProperty");
- }
- if (ExpressionProperty != null)
- {
- ExpressionProperty.Validate();
- }
- }
}
}