Skip to content

Commit

Permalink
.NET SDK Resource Provider:'EventGrid'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5584'
REST Spec PR Author 'kapil-ms'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Apr 9, 2019
1 parent 862ca43 commit 9a193e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
namespace Microsoft.Azure.EventGrid.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand Down Expand Up @@ -39,7 +41,7 @@ public DeviceTelemetryEventProperties()
/// optional.</param>
/// <param name="systemProperties">System properties help identify
/// contents and source of the messages.</param>
public DeviceTelemetryEventProperties(object body = default(object), object properties = default(object), object systemProperties = default(object))
public DeviceTelemetryEventProperties(object body = default(object), IDictionary<string, string> properties = default(IDictionary<string, string>), IDictionary<string, string> systemProperties = default(IDictionary<string, string>))
{
Body = body;
Properties = properties;
Expand All @@ -63,14 +65,14 @@ public DeviceTelemetryEventProperties()
/// can be added to the message. These fields are optional.
/// </summary>
[JsonProperty(PropertyName = "properties")]
public object Properties { get; set; }
public IDictionary<string, string> Properties { get; set; }

/// <summary>
/// Gets or sets system properties help identify contents and source of
/// the messages.
/// </summary>
[JsonProperty(PropertyName = "systemProperties")]
public object SystemProperties { get; set; }
public IDictionary<string, string> SystemProperties { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

namespace Microsoft.Azure.EventGrid.Models
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand Down Expand Up @@ -37,7 +39,7 @@ public IotHubDeviceTelemetryEventData()
/// optional.</param>
/// <param name="systemProperties">System properties help identify
/// contents and source of the messages.</param>
public IotHubDeviceTelemetryEventData(object body = default(object), object properties = default(object), object systemProperties = default(object))
public IotHubDeviceTelemetryEventData(object body = default(object), IDictionary<string, string> properties = default(IDictionary<string, string>), IDictionary<string, string> systemProperties = default(IDictionary<string, string>))
: base(body, properties, systemProperties)
{
CustomInit();
Expand Down

0 comments on commit 9a193e0

Please sign in to comment.