public Account(AnalyticsAccount account) { this.Id = account.Id; this.Name = account.Name; this.Created = account.Created; this.Updated = account.Updated; }
/// <summary> /// Gets a list of all profiles for the specified account. The result will profiles of all web properties of the account. /// </summary> /// <param name="account">The parent account.</param> /// <param name="maxResults">The maximum number of views (profiles) to include in this response.</param> /// <param name="startIndex">An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.</param> public AnalyticsProfilesResponse GetProfiles(AnalyticsAccount account, int maxResults = 0, int startIndex = 0) { return AnalyticsProfilesResponse.ParseJson(Service.Client.Analytics.GetProfiles(account.Id, "~all", maxResults, startIndex)); }
/// <summary> /// Get a list of all web propeties of the specified account. /// </summary> /// <param name="account">The parent account.</param> /// <param name="maxResults">The maximum number of results per page (default is 1000).</param> /// <param name="startIndex">The start index (default is 1).</param> public AnalyticsWebPropertiesResponse GetWebProperties(AnalyticsAccount account, int maxResults = 0, int startIndex = 0) { return AnalyticsWebPropertiesResponse.ParseJson(Service.Client.Analytics.GetWebProperties(account.Id, maxResults, startIndex)); }
public string GetWebProperties(AnalyticsAccount account, int maxResults = 0, int startIndex = 0) { return GetWebProperties(account.Id, maxResults, startIndex); }
/// <summary> /// Gets a list of all profiles for the specified account. The result will profiles of all web properties of the account. /// </summary> /// <param name="account">The parent account.</param> /// <param name="maxResults">The maximum number of views (profiles) to include in this response.</param> /// <param name="startIndex">An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.</param> public string GetProfiles(AnalyticsAccount account, int maxResults = 0, int startIndex = 0) { return GetProfiles(account.Id, "~all", maxResults, startIndex); }
public Account(AnalyticsAccount account) { Id = account.Id; Name = account.Name; Created = account.Created; Updated = account.Updated; }