Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/PowerBI.Api/Source/Models/AdminDataset.Serialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
}
if (Optional.IsDefined(Encryption))
{
writer.WritePropertyName("Encryption"u8);
writer.WritePropertyName("encryption"u8);
writer.WriteObjectValue(Encryption);
}
if (Optional.IsCollectionDefined(Users))
Expand Down Expand Up @@ -208,7 +208,7 @@ internal static AdminDataset DeserializeAdminDataset(JsonElement element)
isOnPremGatewayRequired = property.Value.GetBoolean();
continue;
}
if (property.NameEquals("Encryption"u8))
if (property.NameEquals("encryption"u8))
{
if (property.Value.ValueKind == JsonValueKind.Null)
{
Expand Down
4 changes: 2 additions & 2 deletions sdk/PowerBI.Api/Source/Models/Dataset.Serialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
}
if (Optional.IsDefined(Encryption))
{
writer.WritePropertyName("Encryption"u8);
writer.WritePropertyName("encryption"u8);
writer.WriteObjectValue(Encryption);
}
if (Optional.IsCollectionDefined(Users))
Expand Down Expand Up @@ -202,7 +202,7 @@ internal static Dataset DeserializeDataset(JsonElement element)
isOnPremGatewayRequired = property.Value.GetBoolean();
continue;
}
if (property.NameEquals("Encryption"u8))
if (property.NameEquals("encryption"u8))
{
if (property.Value.ValueKind == JsonValueKind.Null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
}
if (Optional.IsDefined(Encryption))
{
writer.WritePropertyName("Encryption"u8);
writer.WritePropertyName("encryption"u8);
writer.WriteObjectValue(Encryption);
}
writer.WriteEndObject();
Expand Down Expand Up @@ -78,7 +78,7 @@ internal static DatasetSecurityProperties DeserializeDatasetSecurityProperties(J
isOnPremGatewayRequired = property.Value.GetBoolean();
continue;
}
if (property.NameEquals("Encryption"u8))
if (property.NameEquals("encryption"u8))
{
if (property.Value.ValueKind == JsonValueKind.Null)
{
Expand Down
2 changes: 1 addition & 1 deletion sdk/swaggers/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -23228,7 +23228,7 @@
"type": "boolean",
"description": "Whether the dataset requires an on-premises data gateway"
},
"Encryption": {
"encryption": {
"$ref": "#/definitions/Encryption",
"description": "Dataset encryption information. Only applicable when `$expand` is specified."
}
Expand Down