From 8120e7b69382ccfd577bace04d13b8cded515d15 Mon Sep 17 00:00:00 2001 From: Magic73 Date: Thu, 15 Oct 2020 19:42:19 +0200 Subject: [PATCH] Add files via upload Added two missing properties to the Report Model --- sdk/PowerBI.Api/Source/Models/Report.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sdk/PowerBI.Api/Source/Models/Report.cs b/sdk/PowerBI.Api/Source/Models/Report.cs index 15ceab4c..2d643b02 100644 --- a/sdk/PowerBI.Api/Source/Models/Report.cs +++ b/sdk/PowerBI.Api/Source/Models/Report.cs @@ -73,7 +73,19 @@ public Report() /// Gets or sets the dataset id /// [JsonProperty(PropertyName = "datasetId")] - public string DatasetId { get; set; } + public string DatasetId { get; set; } + + /// + /// Gets or sets if the report is a custom one (true) or a system one (false) + /// + [JsonProperty(PropertyName = "isFromPbix")] + public string IsFromPbix { get; set; } + + /// + /// Gets or sets if the report is owned by the user + /// + [JsonProperty(PropertyName = "isOwnedByMe")] + public string IsOwnedByMe { get; set; } /// /// Validate the object.