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

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


    @Path("{domain}/entries/{name}")
    public WrappedRecord createRecord(@PathParam("domain") String domainName, @PathParam("name") String name,
            WrappedRecord wrappedRequest) throws CloudException {
        Project project = getProject();

        Record request = wrappedRequest.dns_entry;
        if (request == null) {
            throw new IllegalArgumentException();
        }

        // Sanity
View Full Code Here


    //
    // return model;
    // }

    private Record toModel(DnsService.Recordset recordset, DnsService.Record record) {
        Record model = new Record();
        model.domain = recordset.getZone().getName();

        model.ip = record.getTarget();

        model.type = recordset.getType();
View Full Code Here

TOP

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

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.