code: public Observable<DomainAvailablilityCheckResultInner> checkAvailabilityAsync(String name) {
          return checkAvailabilityWithServiceResponseAsync(name).map(new Func1<ServiceResponse<DomainAvailablilityCheckResultInner>, DomainAvailablilityCheckResultInner>() {
              @Override
              public DomainAvailablilityCheckResultInner call(ServiceResponse<DomainAvailablilityCheckResultInner> response) {
                  return response.body();
              }
          });
      }
docs: Check if a domain is available for registration.
  Check if a domain is available for registration.
  
  @param name Name of the object.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the DomainAvailablilityCheckResultInner object