class NetworkAdapterResources {

    public Optional<CreateNetworkResponse> createNetwork(RequestContext requestContext, CloudRegion cloudRegion,
            OrchestrationContext orchestrationContext, ServiceInstance serviceInstance, L3Network l3Network,
            Map<String, String> userInput, String cloudRegionPo, Customer customer)
            throws UnsupportedEncodingException, NetworkAdapterClientException {

        CreateNetworkRequest createNetworkRequest =
                networkAdapterObjectMapper.createNetworkRequestMapper(requestContext, cloudRegion, orchestrationContext,
                        serviceInstance, l3Network, userInput, cloudRegionPo, customer);
        return Optional.of(networkAdapterClient.createNetwork(createNetworkRequest));
    }

}