@@ -8,7 +8,9 @@ namespace Microsoft.Azure.Management.DataFactory.Models
8
8
using System . Linq ;
9
9
10
10
/// <summary>
11
- /// QuickBooks server linked service.
11
+ /// QuickBooks server linked service. This linked service has supported version
12
+ /// property. The Version 1.0 is scheduled for deprecation while your pipeline
13
+ /// will continue to run after EOL but without any bug fix or new features.
12
14
/// </summary>
13
15
[ Newtonsoft . Json . JsonObject ( "QuickBooks" ) ]
14
16
[ Microsoft . Rest . Serialization . JsonTransformation ]
@@ -55,26 +57,30 @@ public QuickBooksLinkedService()
55
57
/// <param name="companyId">The company ID of the QuickBooks company to authorize.
56
58
/// </param>
57
59
58
- /// <param name="consumerKey">The consumer key for OAuth 1 .0 authentication.
60
+ /// <param name="consumerKey">The consumer key for OAuth 2 .0 authentication.
59
61
/// </param>
60
62
61
- /// <param name="consumerSecret">The consumer secret for OAuth 1 .0 authentication.
63
+ /// <param name="consumerSecret">The consumer secret for OAuth 2 .0 authentication.
62
64
/// </param>
63
65
64
- /// <param name="accessToken">The access token for OAuth 1 .0 authentication.
66
+ /// <param name="accessToken">The access token for OAuth 2 .0 authentication.
65
67
/// </param>
66
68
67
- /// <param name="accessTokenSecret">The access token secret for OAuth 1.0 authentication.
69
+ /// <param name="accessTokenSecret">The access token secret is deprecated for OAuth 1.0 authentication. Only
70
+ /// used for version 1.0.
71
+ /// </param>
72
+
73
+ /// <param name="refreshToken">The refresh token for OAuth 2.0 authentication.
68
74
/// </param>
69
75
70
76
/// <param name="useEncryptedEndpoints">Specifies whether the data source endpoints are encrypted using HTTPS. The
71
- /// default value is true.
77
+ /// default value is true. Only used for version 1.0.
72
78
/// </param>
73
79
74
80
/// <param name="encryptedCredential">The encrypted credential used for authentication. Credentials are encrypted
75
81
/// using the integration runtime credential manager. Type: string.
76
82
/// </param>
77
- public QuickBooksLinkedService ( System . Collections . Generic . IDictionary < string , object > additionalProperties = default ( System . Collections . Generic . IDictionary < string , object > ) , string version = default ( string ) , IntegrationRuntimeReference connectVia = default ( IntegrationRuntimeReference ) , string description = default ( string ) , System . Collections . Generic . IDictionary < string , ParameterSpecification > parameters = default ( System . Collections . Generic . IDictionary < string , ParameterSpecification > ) , System . Collections . Generic . IList < object > annotations = default ( System . Collections . Generic . IList < object > ) , object connectionProperties = default ( object ) , object endpoint = default ( object ) , object companyId = default ( object ) , object consumerKey = default ( object ) , SecretBase consumerSecret = default ( SecretBase ) , SecretBase accessToken = default ( SecretBase ) , SecretBase accessTokenSecret = default ( SecretBase ) , object useEncryptedEndpoints = default ( object ) , string encryptedCredential = default ( string ) )
83
+ public QuickBooksLinkedService ( System . Collections . Generic . IDictionary < string , object > additionalProperties = default ( System . Collections . Generic . IDictionary < string , object > ) , string version = default ( string ) , IntegrationRuntimeReference connectVia = default ( IntegrationRuntimeReference ) , string description = default ( string ) , System . Collections . Generic . IDictionary < string , ParameterSpecification > parameters = default ( System . Collections . Generic . IDictionary < string , ParameterSpecification > ) , System . Collections . Generic . IList < object > annotations = default ( System . Collections . Generic . IList < object > ) , object connectionProperties = default ( object ) , object endpoint = default ( object ) , object companyId = default ( object ) , object consumerKey = default ( object ) , SecretBase consumerSecret = default ( SecretBase ) , SecretBase accessToken = default ( SecretBase ) , SecretBase accessTokenSecret = default ( SecretBase ) , SecretBase refreshToken = default ( SecretBase ) , object useEncryptedEndpoints = default ( object ) , string encryptedCredential = default ( string ) )
78
84
79
85
: base ( additionalProperties , version , connectVia , description , parameters , annotations )
80
86
{
@@ -85,6 +91,7 @@ public QuickBooksLinkedService()
85
91
this . ConsumerSecret = consumerSecret ;
86
92
this . AccessToken = accessToken ;
87
93
this . AccessTokenSecret = accessTokenSecret ;
94
+ this . RefreshToken = refreshToken ;
88
95
this . UseEncryptedEndpoints = useEncryptedEndpoints ;
89
96
this . EncryptedCredential = encryptedCredential ;
90
97
CustomInit ( ) ;
@@ -117,32 +124,39 @@ public QuickBooksLinkedService()
117
124
public object CompanyId { get ; set ; }
118
125
119
126
/// <summary>
120
- /// Gets or sets the consumer key for OAuth 1 .0 authentication.
127
+ /// Gets or sets the consumer key for OAuth 2 .0 authentication.
121
128
/// </summary>
122
129
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.consumerKey" ) ]
123
130
public object ConsumerKey { get ; set ; }
124
131
125
132
/// <summary>
126
- /// Gets or sets the consumer secret for OAuth 1 .0 authentication.
133
+ /// Gets or sets the consumer secret for OAuth 2 .0 authentication.
127
134
/// </summary>
128
135
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.consumerSecret" ) ]
129
136
public SecretBase ConsumerSecret { get ; set ; }
130
137
131
138
/// <summary>
132
- /// Gets or sets the access token for OAuth 1 .0 authentication.
139
+ /// Gets or sets the access token for OAuth 2 .0 authentication.
133
140
/// </summary>
134
141
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.accessToken" ) ]
135
142
public SecretBase AccessToken { get ; set ; }
136
143
137
144
/// <summary>
138
- /// Gets or sets the access token secret for OAuth 1.0 authentication.
145
+ /// Gets or sets the access token secret is deprecated for OAuth 1.0
146
+ /// authentication. Only used for version 1.0.
139
147
/// </summary>
140
148
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.accessTokenSecret" ) ]
141
149
public SecretBase AccessTokenSecret { get ; set ; }
142
150
151
+ /// <summary>
152
+ /// Gets or sets the refresh token for OAuth 2.0 authentication.
153
+ /// </summary>
154
+ [ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.refreshToken" ) ]
155
+ public SecretBase RefreshToken { get ; set ; }
156
+
143
157
/// <summary>
144
158
/// Gets or sets specifies whether the data source endpoints are encrypted
145
- /// using HTTPS. The default value is true.
159
+ /// using HTTPS. The default value is true. Only used for version 1.0.
146
160
/// </summary>
147
161
[ Newtonsoft . Json . JsonProperty ( PropertyName = "typeProperties.useEncryptedEndpoints" ) ]
148
162
public object UseEncryptedEndpoints { get ; set ; }
@@ -172,6 +186,7 @@ public override void Validate()
172
186
173
187
174
188
189
+
175
190
}
176
191
}
177
192
}
0 commit comments