code: public Observable<ServiceResponse<ListPathsResponseInner>> listPathsWithServiceResponseAsync(String resourceGroupName, String accountName, String streamingLocatorName) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (accountName == null) {
              throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
          }
          if (streamingLocatorName == null) {
              throw new IllegalArgumentException("Parameter streamingLocatorName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          return service.listPaths(this.client.subscriptionId(), resourceGroupName, accountName, streamingLocatorName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ListPathsResponseInner>>>() {
                  @Override
                  public Observable<ServiceResponse<ListPathsResponseInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<ListPathsResponseInner> clientResponse = listPathsDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: List Paths.
  List Paths supported by this Streaming Locator.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param streamingLocatorName The Streaming Locator name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ListPathsResponseInner object