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

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


        return response;
    }

    private Image toModel(ImageService.Image image, boolean details) {
        Image model = new Image();
        model.id = "" + image.getId();
        model.name = image.getName();

        if (details) {
            model.status = image.getStatus();
View Full Code Here


            server.addresses = new Addresses();
            server.addresses.privateAddresses = Lists.newArrayList();
            server.addresses.publicAddresses = Lists.newArrayList();

            server.image = new Image();
            server.image.id = "" + instance.getImageId();

            server.metadata = MetadataServices.toMap(instance.getMetadata());

            if (instance.hasNetwork()) {
View Full Code Here

TOP

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

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.