@@ -71,7 +71,7 @@ You supply either an IAM service **API key** or an **access token**:
7171void Example ()
7272{
7373 IamConfig iamConfig = new IamConfig (
74- Apikey : " {iam-apikey}"
74+ apikey : " {iam-apikey}"
7575 );
7676 service = new AssistantService (" {versionDate}" , iamConfig );
7777 service .SetEndpoint (" {service-endpoint}" );
@@ -83,7 +83,7 @@ void Example()
8383void Example ()
8484{
8585 IamConfig iamConfig = new IamConfig (
86- UserManagedAccessToken : " {iam-access-token}"
86+ userManagedAccessToken : " {iam-access-token}"
8787 );
8888 service = new AssistantService (" {versionDate}" , iamConfig );
8989 service .SetEndpoint (" {service-endpoint}" );
@@ -95,8 +95,8 @@ void Example()
9595void Example ()
9696{
9797 BasicAuthConfig basicAuthConfig = new BasicAuthConfig (
98- Username : " {username}" ,
99- Password : " {password}"
98+ username : " {username}" ,
99+ password : " {password}"
100100 );
101101 service = new AssistantService (" {versionDate}" , basicAuthConfig );
102102 service .SetEndpoint (" {service-endpoint}" );
@@ -111,9 +111,9 @@ Like IAM, you can pass in credentials to let the SDK manage an access token for
111111void Example ()
112112{
113113 Icp4dConfig icp4dConfig = new Icp4dConfig (
114- Username : " {username}" ,
115- Password : " {password}" ,
116- Url : " https://{icp4d_cluster_host}{:port}"
114+ username : " {username}" ,
115+ password : " {password}" ,
116+ url : " https://{icp4d_cluster_host}{:port}"
117117 );
118118 AssistantService assistant = new AssistantService (" {version-date}" , icp4dConfig );
119119 service .SetEndpoint (" {service-endpoint}" );
@@ -126,8 +126,8 @@ void Example()
126126void Example ()
127127{
128128 Icp4dConfig icp4dConfig = new Icp4dConfig (
129- UserManagedAccessToken : " {access-token}" ,
130- Url : " https://{icp4d_cluster_host}{:port}"
129+ userManagedAccessToken : " {access-token}" ,
130+ url : " https://{icp4d_cluster_host}{:port}"
131131 );
132132 AssistantService assistant = new AssistantService (" {version-date}" , icp4dConfig );
133133 service .SetEndpoint (" {service-endpoint}" );
@@ -178,7 +178,7 @@ You can send custom request headers by adding them to the service using `.WithHe
178178void Example ()
179179{
180180 IamConfig iamConfig = new IamConfig (
181- Apikey : " {iam-apikey}"
181+ apikey : " {iam-apikey}"
182182 );
183183 AssistantService assistant = new AssistantService (" {version-date}" , iamConfig );
184184 service .SetEndpoint (" {service-endpoint}" );
@@ -193,7 +193,7 @@ You can get the response headers, status code and the raw json response in the r
193193void Example ()
194194{
195195 IamConfig iamConfig = new IamConfig (
196- Apikey : " {iam-apikey}"
196+ apikey : " {iam-apikey}"
197197 );
198198 AssistantService assistant = new AssistantService (" {version-date}" , iamConfig );
199199 service .SetEndpoint (" {service-endpoint}" );
@@ -211,10 +211,10 @@ You can disable SSL verification on calls to Watson (only do this if you really
211211void Example ()
212212{
213213 Icp4dConfig icp4dConfig = new Icp4dConfig (
214- Username : " {username}" ,
215- Password : " {password}" ,
216- Url : " https://{icp4d_cluster_host}{:port}" ,
217- DisableSslVerification : true
214+ username : " {username}" ,
215+ password : " {password}" ,
216+ url : " https://{icp4d_cluster_host}{:port}" ,
217+ disableSslVerification : true
218218 );
219219 AssistantService assistant = new AssistantService (" {version-date}" , icp4dConfig );
220220 service .SetEndpoint (" {service-endpoint}" );
0 commit comments