/// <summary> /// Gets a list of email addresses of the authenticated user. /// </summary> /// <param name="page">The page to be returned.</param> /// <param name="pageLength">The maximum amount of email addresses to be returned by each page.</param> /// <returns>Returns an instance of <see cref="BitBucketGetUserEmailsResponse"/> representing the raw response.</returns> public BitBucketGetUserEmailsResponse GetEmails(int page, int pageLength) { return(BitBucketGetUserEmailsResponse.ParseResponse(Raw.GetEmails(page, pageLength))); }
/// <summary> /// Gets a list of emails of the authenticated user. /// </summary> /// <returns>Returns an instance of <see cref="BitBucketGetUserEmailsResponse"/> representing the response.</returns> public BitBucketGetUserEmailsResponse GetEmails() { return(BitBucketGetUserEmailsResponse.ParseResponse(Raw.GetEmails())); }