コード例 #1
0
 /// <summary>
 /// Gets a list of Analytics accounts of the authenticated user.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="IHttpResponse"/> representing the response.</returns>
 public IHttpResponse GetAccounts(AnalyticsGetAccountsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.GetResponse(options));
 }
コード例 #2
0
 /// <summary>
 /// Gets a list of Analytics accounts of the authenticated user matching the specified <paramref name="options"/>.
 /// </summary>
 public AnalyticsGetAccountsResponse GetAccounts(AnalyticsGetAccountsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(AnalyticsGetAccountsResponse.ParseResponse(Raw.GetAccounts(options)));
 }