Package org.jclouds.ultradns.ws.domain

Examples of org.jclouds.ultradns.ws.domain.DirectionalPoolRecord


public class DirectionalRecordAndGeoGroupToXML implements MapBinder {

   @SuppressWarnings("unchecked")
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      DirectionalPoolRecord record = DirectionalPoolRecord.class.cast(postParams.get("record"));
      DirectionalGroup group = DirectionalGroup.class.cast(postParams.get("group"));
      String xml = toXML(postParams.get("poolId"), record, group, postParams.get("dirPoolRecordId"),
            postParams.get("groupId"));
      return (R) request.toBuilder().payload(xml).build();
   }
View Full Code Here


public class DirectionalRecordAndGeoGroupToXML implements MapBinder {

   @SuppressWarnings("unchecked")
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      DirectionalPoolRecord record = DirectionalPoolRecord.class.cast(postParams.get("record"));
      DirectionalGroup group = DirectionalGroup.class.cast(postParams.get("group"));
      String xml = toXML(postParams.get("poolId"), record, group, postParams.get("dirPoolRecordId"),
            postParams.get("groupId"));
      return (R) request.toBuilder().payload(xml).build();
   }
View Full Code Here

public class DirectionalRecordAndGeoGroupToXML implements MapBinder {

   @SuppressWarnings("unchecked")
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      DirectionalPoolRecord record = DirectionalPoolRecord.class.cast(postParams.get("record"));
      DirectionalGroup group = DirectionalGroup.class.cast(postParams.get("group"));
      String xml = toXML(postParams.get("poolId"), record, group, postParams.get("dirPoolRecordId"),
            postParams.get("groupId"));
      return (R) request.toBuilder().payload(xml).build();
   }
View Full Code Here

TOP

Related Classes of org.jclouds.ultradns.ws.domain.DirectionalPoolRecord

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.