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

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


    @PUT
    @Path("{name}")
    public WrappedDomain createDomain(@PathParam("name") String name, WrappedDomain domain) throws CloudException {
        Project project = getProject();

        Domain request = domain.domain_entry;
        if (request == null) {
            throw new IllegalArgumentException();
        }

        request.domain = name;
View Full Code Here


        response.domain_entry = toModel(created);
        return response;
    }

    private Domain toModel(DnsService.Zone domain) {
        Domain model = new Domain();
        model.domain = domain.getName();
        model.scope = "public";
        return model;
    }
View Full Code Here

TOP

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

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.