Package io.fathom.cloud.openstack.client.dns.model

Examples of io.fathom.cloud.openstack.client.dns.model.RecordsetList


    public RecordsetList list() throws CloudException {
        return list(false);
    }

    RecordsetList list(boolean details) throws CloudException {
        RecordsetList recordsets = new RecordsetList();
        recordsets.recordsets = Lists.newArrayList();

        DnsZone domain = getZone();
        for (DnsService.Recordset record : dnsService.listRecordsets(getProject(), domain)) {
            recordsets.recordsets.add(toModel(domain, (DnsRecordset) record, true));
View Full Code Here


        String url = "v2/zones/" + zoneId + "/recordsets";
        if (details) {
            url += "/details";
        }
        HttpRequest request = buildGet(url);
        RecordsetList recordsets = doRequest(request, RecordsetList.class);
        return recordsets.recordsets;
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.openstack.client.dns.model.RecordsetList

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.