@@ -34,6 +34,7 @@ namespace Adobe.Target.Delivery.Model
3434 [ DataContract ( Name = "Context" ) ]
3535 public partial class Context : IEquatable < Context > , IValidatableObject
3636 {
37+
3738 /// <summary>
3839 /// Gets or Sets Channel
3940 /// </summary>
@@ -58,7 +59,7 @@ protected Context() { }
5859 /// <param name="timeOffsetInMinutes">Specifies minutes from UTC for specific client.</param>
5960 /// <param name="userAgent">User-Agent should be sent only via this property. HTTP header User-Agent is ignored..</param>
6061 /// <param name="beacon">In case beacon = true is provided in the request, the server will return a 204 No Content response with no response body. (default to false).</param>
61- public Context ( ChannelType channel = default ( ChannelType ) , MobilePlatform mobilePlatform = default ( MobilePlatform ) , Application application = default ( Application ) , Screen screen = default ( Screen ) , Window window = default ( Window ) , Browser browser = default ( Browser ) , Address address = default ( Address ) , Geo geo = default ( Geo ) , double timeOffsetInMinutes = default ( double ) , string userAgent = default ( string ) , bool beacon = false )
62+ public Context ( ChannelType channel = default ( ChannelType ) , MobilePlatform mobilePlatform = default ( MobilePlatform ) , Application application = default ( Application ) , Screen screen = default ( Screen ) , Window window = default ( Window ) , Browser browser = default ( Browser ) , Address address = default ( Address ) , Geo geo = default ( Geo ) , double ? timeOffsetInMinutes = default ( double ? ) , string userAgent = default ( string ) , bool beacon = false )
6263 {
6364 this . Channel = channel ;
6465 this . MobilePlatform = mobilePlatform ;
@@ -120,7 +121,7 @@ protected Context() { }
120121 /// </summary>
121122 /// <value>Specifies minutes from UTC for specific client</value>
122123 [ DataMember ( Name = "timeOffsetInMinutes" , EmitDefaultValue = false ) ]
123- public double TimeOffsetInMinutes { get ; set ; }
124+ public double ? TimeOffsetInMinutes { get ; set ; }
124125
125126 /// <summary>
126127 /// User-Agent should be sent only via this property. HTTP header User-Agent is ignored.
@@ -133,7 +134,7 @@ protected Context() { }
133134 /// In case beacon = true is provided in the request, the server will return a 204 No Content response with no response body.
134135 /// </summary>
135136 /// <value>In case beacon = true is provided in the request, the server will return a 204 No Content response with no response body. </value>
136- [ DataMember ( Name = "beacon" , EmitDefaultValue = false ) ]
137+ [ DataMember ( Name = "beacon" , EmitDefaultValue = true ) ]
137138 public bool Beacon { get ; set ; }
138139
139140 /// <summary>
0 commit comments