code: public Observable<RoleInner> getAsync(String deviceName, String name, String resourceGroupName) {
          return getWithServiceResponseAsync(deviceName, name, resourceGroupName).map(new Func1<ServiceResponse<RoleInner>, RoleInner>() {
              @Override
              public RoleInner call(ServiceResponse<RoleInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets a specific role by name.
  
  @param deviceName The device name.
  @param name The role name.
  @param resourceGroupName The resource group name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the RoleInner object