code: public Observable<NetworkSettingsInner> getNetworkSettingsAsync(String deviceName, String resourceGroupName) {
          return getNetworkSettingsWithServiceResponseAsync(deviceName, resourceGroupName).map(new Func1<ServiceResponse<NetworkSettingsInner>, NetworkSettingsInner>() {
              @Override
              public NetworkSettingsInner call(ServiceResponse<NetworkSettingsInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets the network settings of the specified data box edge/gateway device.
  
  @param deviceName The device name.
  @param resourceGroupName The resource group name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the NetworkSettingsInner object