@@ -155,9 +155,9 @@ public bool GetEnvironments(SuccessCallback<GetEnvironmentsResponse> successCall
155155 req . SuccessCallback = successCallback ;
156156 req . FailCallback = failCallback ;
157157 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
158- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
158+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
159159 {
160- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
160+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
161161 {
162162 req . Headers . Add ( kvp . Key , kvp . Value ) ;
163163 }
@@ -277,9 +277,9 @@ public bool AddEnvironment(SuccessCallback<Environment> successCallback, FailCal
277277 req . SuccessCallback = successCallback ;
278278 req . FailCallback = failCallback ;
279279 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
280- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
280+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
281281 {
282- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
282+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
283283 {
284284 req . Headers . Add ( kvp . Key , kvp . Value ) ;
285285 }
@@ -378,9 +378,9 @@ public bool GetEnvironment(SuccessCallback<Environment> successCallback, FailCal
378378 req . SuccessCallback = successCallback ;
379379 req . FailCallback = failCallback ;
380380 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
381- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
381+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
382382 {
383- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
383+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
384384 {
385385 req . Headers . Add ( kvp . Key , kvp . Value ) ;
386386 }
@@ -475,9 +475,9 @@ public bool DeleteEnvironment(SuccessCallback<DeleteEnvironmentResponse> success
475475 req . SuccessCallback = successCallback ;
476476 req . FailCallback = failCallback ;
477477 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
478- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
478+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
479479 {
480- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
480+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
481481 {
482482 req . Headers . Add ( kvp . Key , kvp . Value ) ;
483483 }
@@ -574,9 +574,9 @@ private void OnDeleteEnvironmentResponse(RESTConnector.Request req, RESTConnecto
574574 req . SuccessCallback = successCallback ;
575575 req . FailCallback = failCallback ;
576576 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
577- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
577+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
578578 {
579- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
579+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
580580 {
581581 req . Headers . Add ( kvp . Key , kvp . Value ) ;
582582 }
@@ -712,9 +712,9 @@ public bool AddConfiguration(SuccessCallback<Configuration> successCallback, Fai
712712 req . SuccessCallback = successCallback ;
713713 req . FailCallback = failCallback ;
714714 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
715- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
715+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
716716 {
717- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
717+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
718718 {
719719 req . Headers . Add ( kvp . Key , kvp . Value ) ;
720720 }
@@ -815,9 +815,9 @@ public bool GetConfiguration(SuccessCallback<Configuration> successCallback, Fai
815815 req . SuccessCallback = successCallback ;
816816 req . FailCallback = failCallback ;
817817 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
818- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
818+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
819819 {
820- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
820+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
821821 {
822822 req . Headers . Add ( kvp . Key , kvp . Value ) ;
823823 }
@@ -915,9 +915,9 @@ public bool DeleteConfiguration(SuccessCallback<DeleteConfigurationResponse> suc
915915 req . SuccessCallback = successCallback ;
916916 req . FailCallback = failCallback ;
917917 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
918- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
918+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
919919 {
920- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
920+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
921921 {
922922 req . Headers . Add ( kvp . Key , kvp . Value ) ;
923923 }
@@ -1084,9 +1084,9 @@ private void OnDeleteConfigurationResponse(RESTConnector.Request req, RESTConnec
10841084 req . SuccessCallback = successCallback ;
10851085 req . FailCallback = failCallback ;
10861086 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1087- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1087+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
10881088 {
1089- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1089+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
10901090 {
10911091 req . Headers . Add ( kvp . Key , kvp . Value ) ;
10921092 }
@@ -1207,9 +1207,9 @@ private void OnPreviewConfigurationResponse(RESTConnector.Request req, RESTConne
12071207 req . SuccessCallback = successCallback ;
12081208 req . FailCallback = failCallback ;
12091209 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1210- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1210+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
12111211 {
1212- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1212+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
12131213 {
12141214 req . Headers . Add ( kvp . Key , kvp . Value ) ;
12151215 }
@@ -1341,9 +1341,9 @@ public bool AddCollection(SuccessCallback<CollectionRef> successCallback, FailCa
13411341 req . SuccessCallback = successCallback ;
13421342 req . FailCallback = failCallback ;
13431343 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1344- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1344+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
13451345 {
1346- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1346+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
13471347 {
13481348 req . Headers . Add ( kvp . Key , kvp . Value ) ;
13491349 }
@@ -1444,9 +1444,9 @@ public bool GetCollection(SuccessCallback<Collection> successCallback, FailCallb
14441444 req . SuccessCallback = successCallback ;
14451445 req . FailCallback = failCallback ;
14461446 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1447- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1447+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
14481448 {
1449- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1449+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
14501450 {
14511451 req . Headers . Add ( kvp . Key , kvp . Value ) ;
14521452 }
@@ -1544,9 +1544,9 @@ public bool DeleteCollection(SuccessCallback<DeleteCollectionResponse> successCa
15441544 req . SuccessCallback = successCallback ;
15451545 req . FailCallback = failCallback ;
15461546 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1547- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1547+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
15481548 {
1549- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1549+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
15501550 {
15511551 req . Headers . Add ( kvp . Key , kvp . Value ) ;
15521552 }
@@ -1645,9 +1645,9 @@ public bool GetFields(SuccessCallback<GetFieldsResponse> successCallback, FailCa
16451645 req . SuccessCallback = successCallback ;
16461646 req . FailCallback = failCallback ;
16471647 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1648- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1648+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
16491649 {
1650- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1650+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
16511651 {
16521652 req . Headers . Add ( kvp . Key , kvp . Value ) ;
16531653 }
@@ -1918,9 +1918,9 @@ private void OnGetFieldsResponse(RESTConnector.Request req, RESTConnector.Respon
19181918 req . SuccessCallback = successCallback ;
19191919 req . FailCallback = failCallback ;
19201920 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
1921- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
1921+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
19221922 {
1923- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
1923+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
19241924 {
19251925 req . Headers . Add ( kvp . Key , kvp . Value ) ;
19261926 }
@@ -2033,9 +2033,9 @@ public bool DeleteDocument(SuccessCallback<DeleteDocumentResponse> successCallba
20332033 req . SuccessCallback = successCallback ;
20342034 req . FailCallback = failCallback ;
20352035 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
2036- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
2036+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
20372037 {
2038- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
2038+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
20392039 {
20402040 req . Headers . Add ( kvp . Key , kvp . Value ) ;
20412041 }
@@ -2137,9 +2137,9 @@ public bool GetDocument(SuccessCallback<DocumentStatus> successCallback, FailCal
21372137 req . SuccessCallback = successCallback ;
21382138 req . FailCallback = failCallback ;
21392139 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
2140- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
2140+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
21412141 {
2142- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
2142+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
21432143 {
21442144 req . Headers . Add ( kvp . Key , kvp . Value ) ;
21452145 }
@@ -2404,9 +2404,9 @@ private void OnGetDocumentResponse(RESTConnector.Request req, RESTConnector.Resp
24042404 req . SuccessCallback = successCallback ;
24052405 req . FailCallback = failCallback ;
24062406 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
2407- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
2407+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
24082408 {
2409- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
2409+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
24102410 {
24112411 req . Headers . Add ( kvp . Key , kvp . Value ) ;
24122412 }
@@ -2531,9 +2531,9 @@ public bool Query(SuccessCallback<QueryResponse> successCallback, FailCallback f
25312531 req . SuccessCallback = successCallback ;
25322532 req . FailCallback = failCallback ;
25332533 req . CustomData = customData == null ? new Dictionary < string , object > ( ) : customData ;
2534- if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
2534+ if ( req . CustomData . ContainsKey ( Constants . String . CUSTOM_REQUEST_HEADERS ) )
25352535 {
2536- foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
2536+ foreach ( KeyValuePair < string , string > kvp in req . CustomData [ Constants . String . CUSTOM_REQUEST_HEADERS ] as Dictionary < string , string > )
25372537 {
25382538 req . Headers . Add ( kvp . Key , kvp . Value ) ;
25392539 }
0 commit comments