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

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


                rb.setWeight(record.weight);
            }
        }
        DnsRecordset created = dnsService.createRecordset(getProject(), zone, b);

        WrappedRecordset response = new WrappedRecordset();
        response.recordset = toModel(zone, created, true);
        return response;
    }
View Full Code Here


        DnsZone zone = getZone();

        DnsService.Recordset record = dnsService.findRecordset(getProject(), zone, recordsetId);
        notFoundIfNull(record);

        WrappedRecordset response = new WrappedRecordset();
        response.recordset = toModel(zone, (DnsRecordset) record, true);

        return response;
    }
View Full Code Here

    }

    public Recordset createRecordset(String zoneId, Recordset recordset) throws RestClientException {
        String url = "v2/zones/" + zoneId + "/recordsets";

        WrappedRecordset data = new WrappedRecordset();
        data.recordset = recordset;

        WrappedRecordset response = doPost(url, data, WrappedRecordset.class);
        return response.recordset;
    }
View Full Code Here

TOP

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

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.