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

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


        if (isIp) {
            RecordList response = listRecordsByIp(domainName, nameOrIp);
            return Response.ok().entity(response).build();
        } else {
            WrappedRecord response = findRecordByFqdn(domainName, nameOrIp);
            return Response.ok().entity(response).build();
        }
    }
View Full Code Here


        String fqdn = name + "." + domainName;
        DnsService.Recordset recordset = dnsService.createRecordset(project, domain, fqdn, request.type, ips);
        DnsService.Record record = recordset.getRecords().get(0);

        WrappedRecord response = new WrappedRecord();
        response.dns_entry = toModel(recordset, record);
        return response;
    }
View Full Code Here

        }
        notFoundIfNull(found);

        DnsService.Record record = found.getRecords().get(0);

        WrappedRecord response = new WrappedRecord();
        response.dns_entry = toModel(found, record);
        return response;
    }
View Full Code Here

TOP

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

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.