Package io.fathom.cloud.compute.api.os.model

Examples of io.fathom.cloud.compute.api.os.model.WrappedSecurityGroup


        SecurityGroupData data = securityGroups.find(getProject(), id);
        if (data == null) {
            throw new WebApplicationException(Status.NOT_FOUND);
        }

        WrappedSecurityGroup response = new WrappedSecurityGroup();
        response.securityGroup = toModel(data, true);

        return response;
    }
View Full Code Here


    }

    @POST
    @Produces({ JSON })
    public WrappedSecurityGroup create(WrappedSecurityGroup request) throws CloudException {
        WrappedSecurityGroup response = new WrappedSecurityGroup();

        String name = request.securityGroup.name;
        if (Strings.isNullOrEmpty(name)) {
            throw new IllegalArgumentException();
        }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.compute.api.os.model.WrappedSecurityGroup

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.