@@ -49,13 +49,14 @@ protected WidgetRequest() { }
4949 /// <param name="includeIdentity">includeIdentity.</param>
5050 /// <param name="includeTransactions">includeTransactions.</param>
5151 /// <param name="isMobileWebview">isMobileWebview.</param>
52+ /// <param name="microwidgetInstanceId">microwidgetInstanceId.</param>
5253 /// <param name="mode">mode.</param>
5354 /// <param name="oauthReferralSource">oauthReferralSource.</param>
5455 /// <param name="uiMessageVersion">uiMessageVersion.</param>
5556 /// <param name="uiMessageWebviewUrlScheme">uiMessageWebviewUrlScheme.</param>
5657 /// <param name="updateCredentials">updateCredentials.</param>
5758 /// <param name="widgetType">widgetType (required).</param>
58- public WidgetRequest ( string clientRedirectUrl = default ( string ) , string colorScheme = default ( string ) , string currentInstitutionCode = default ( string ) , string currentInstitutionGuid = default ( string ) , string currentMemberGuid = default ( string ) , bool disableBackgroundAgg = default ( bool ) , bool disableInstitutionSearch = default ( bool ) , bool includeIdentity = default ( bool ) , bool includeTransactions = default ( bool ) , bool isMobileWebview = default ( bool ) , string mode = default ( string ) , string oauthReferralSource = default ( string ) , int uiMessageVersion = default ( int ) , string uiMessageWebviewUrlScheme = default ( string ) , bool updateCredentials = default ( bool ) , string widgetType = default ( string ) )
59+ public WidgetRequest ( string clientRedirectUrl = default ( string ) , string colorScheme = default ( string ) , string currentInstitutionCode = default ( string ) , string currentInstitutionGuid = default ( string ) , string currentMemberGuid = default ( string ) , bool disableBackgroundAgg = default ( bool ) , bool disableInstitutionSearch = default ( bool ) , bool includeIdentity = default ( bool ) , bool includeTransactions = default ( bool ) , bool isMobileWebview = default ( bool ) , string microwidgetInstanceId = default ( string ) , string mode = default ( string ) , string oauthReferralSource = default ( string ) , int uiMessageVersion = default ( int ) , string uiMessageWebviewUrlScheme = default ( string ) , bool updateCredentials = default ( bool ) , string widgetType = default ( string ) )
5960 {
6061 // to ensure "widgetType" is required (not null)
6162 if ( widgetType == null )
@@ -73,6 +74,7 @@ protected WidgetRequest() { }
7374 this . IncludeIdentity = includeIdentity ;
7475 this . IncludeTransactions = includeTransactions ;
7576 this . IsMobileWebview = isMobileWebview ;
77+ this . MicrowidgetInstanceId = microwidgetInstanceId ;
7678 this . Mode = mode ;
7779 this . OauthReferralSource = oauthReferralSource ;
7880 this . UiMessageVersion = uiMessageVersion ;
@@ -150,6 +152,13 @@ protected WidgetRequest() { }
150152 [ DataMember ( Name = "is_mobile_webview" , EmitDefaultValue = true ) ]
151153 public bool IsMobileWebview { get ; set ; }
152154
155+ /// <summary>
156+ /// Gets or Sets MicrowidgetInstanceId
157+ /// </summary>
158+ /// <example>false</example>
159+ [ DataMember ( Name = "microwidget_instance_id" , EmitDefaultValue = false ) ]
160+ public string MicrowidgetInstanceId { get ; set ; }
161+
153162 /// <summary>
154163 /// Gets or Sets Mode
155164 /// </summary>
@@ -210,6 +219,7 @@ public override string ToString()
210219 sb . Append ( " IncludeIdentity: " ) . Append ( IncludeIdentity ) . Append ( "\n " ) ;
211220 sb . Append ( " IncludeTransactions: " ) . Append ( IncludeTransactions ) . Append ( "\n " ) ;
212221 sb . Append ( " IsMobileWebview: " ) . Append ( IsMobileWebview ) . Append ( "\n " ) ;
222+ sb . Append ( " MicrowidgetInstanceId: " ) . Append ( MicrowidgetInstanceId ) . Append ( "\n " ) ;
213223 sb . Append ( " Mode: " ) . Append ( Mode ) . Append ( "\n " ) ;
214224 sb . Append ( " OauthReferralSource: " ) . Append ( OauthReferralSource ) . Append ( "\n " ) ;
215225 sb . Append ( " UiMessageVersion: " ) . Append ( UiMessageVersion ) . Append ( "\n " ) ;
@@ -296,6 +306,11 @@ public bool Equals(WidgetRequest input)
296306 this . IsMobileWebview == input . IsMobileWebview ||
297307 this . IsMobileWebview . Equals ( input . IsMobileWebview )
298308 ) &&
309+ (
310+ this . MicrowidgetInstanceId == input . MicrowidgetInstanceId ||
311+ ( this . MicrowidgetInstanceId != null &&
312+ this . MicrowidgetInstanceId . Equals ( input . MicrowidgetInstanceId ) )
313+ ) &&
299314 (
300315 this . Mode == input . Mode ||
301316 ( this . Mode != null &&
@@ -360,6 +375,10 @@ public override int GetHashCode()
360375 hashCode = ( hashCode * 59 ) + this . IncludeIdentity . GetHashCode ( ) ;
361376 hashCode = ( hashCode * 59 ) + this . IncludeTransactions . GetHashCode ( ) ;
362377 hashCode = ( hashCode * 59 ) + this . IsMobileWebview . GetHashCode ( ) ;
378+ if ( this . MicrowidgetInstanceId != null )
379+ {
380+ hashCode = ( hashCode * 59 ) + this . MicrowidgetInstanceId . GetHashCode ( ) ;
381+ }
363382 if ( this . Mode != null )
364383 {
365384 hashCode = ( hashCode * 59 ) + this . Mode . GetHashCode ( ) ;
0 commit comments