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

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


            domain = dnsService.createZone(project, zoneSpec);
        } catch (DuplicateValueException e) {
            throw new WebApplicationException(Status.CONFLICT);
        }

        WrappedZone response = new WrappedZone();
        response.zone = toModel((DnsZone) domain);
        return response;
    }
View Full Code Here


        ZoneList zones = doRequest(request, ZoneList.class);
        return zones.zones;
    }

    public Zone createZone(Zone zone) throws RestClientException {
        WrappedZone request = new WrappedZone();
        request.zone = zone;

        WrappedZone response = doPost("v2/zones", request, WrappedZone.class);
        return response.zone;
    }
View Full Code Here

TOP

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

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.