Package io.fathom.cloud.network.api.os.models

Examples of io.fathom.cloud.network.api.os.models.Subnets


    @GET
    @Produces({ JSON })
    public Subnets listSubnets() throws CloudException {
        List<SubnetData> subnets = networkService.listSubnets(getAuth());

        Subnets model = new Subnets();
        model.subnets = Lists.newArrayList();
        for (SubnetData subnet : subnets) {
            model.subnets.add(toModel(subnet));
        }
        return model;
View Full Code Here

TOP

Related Classes of io.fathom.cloud.network.api.os.models.Subnets

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.