code: public Observable<OrderInner> createOrUpdateAsync(String deviceName, String resourceGroupName, OrderInner order) {
          return createOrUpdateWithServiceResponseAsync(deviceName, resourceGroupName, order).map(new Func1<ServiceResponse<OrderInner>, OrderInner>() {
              @Override
              public OrderInner call(ServiceResponse<OrderInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates an order.
  
  @param deviceName The device name.
  @param resourceGroupName The resource group name.
  @param order The order to be created or updated.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request