class AAINetworkResources {

    public Optional<org.onap.aai.domain.yang.L3Network> queryNetworkById(L3Network l3network) {
        AAIResourceUri uri = AAIUriFactory
                .createResourceUri(AAIFluentTypeBuilder.network().l3Network(l3network.getNetworkId())).depth(Depth.ALL);
        AAIResultWrapper aaiWrapper = injectionHelper.getAaiClient().get(uri);
        return aaiWrapper.asBean(org.onap.aai.domain.yang.L3Network.class);
    }

}