code: public Observable<Page<TldLegalAgreementInner>> listAgreementsAsync(final String name, final TopLevelDomainAgreementOption agreementOption) {
          return listAgreementsWithServiceResponseAsync(name, agreementOption)
              .map(new Func1<ServiceResponse<Page<TldLegalAgreementInner>>, Page<TldLegalAgreementInner>>() {
                  @Override
                  public Page<TldLegalAgreementInner> call(ServiceResponse<Page<TldLegalAgreementInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Gets all legal agreements that user needs to accept before purchasing a domain.
  Gets all legal agreements that user needs to accept before purchasing a domain.
  
  @param name Name of the top-level domain.
  @param agreementOption Domain agreement options.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;TldLegalAgreementInner&gt; object