package com.linkedin.restli.examples.greetings.client;
import javax.annotation.Generated;
import com.linkedin.restli.client.RestliRequestOptions;
import com.linkedin.restli.client.base.ActionRequestBuilderBase;
import com.linkedin.restli.common.CompoundKey;
import com.linkedin.restli.common.ResourceSpec;
@Generated(value = "com.linkedin.pegasus.generator.JavaCodeUtil", comments = "Rest.li Request Builder", date = "Thu Mar 31 14:16:20 PDT 2016")
public class AssociationsSubDoActionBuilder
extends ActionRequestBuilderBase<Void, Integer, AssociationsSubDoActionBuilder>
{
private CompoundKey associationsId = new CompoundKey();
public AssociationsSubDoActionBuilder(java.lang.String baseUriTemplate, Class<Integer> returnClass, ResourceSpec resourceSpec, RestliRequestOptions requestOptions) {
super(baseUriTemplate, returnClass, resourceSpec, requestOptions);
super.name("action");
}
public AssociationsSubDoActionBuilder srcKey(java.lang.String key) {
associationsId.append("src", key);
super.pathKey("src", key);
super.pathKey("associationsId", associationsId);
return this;
}
public AssociationsSubDoActionBuilder destKey(java.lang.String key) {
associationsId.append("dest", key);
super.pathKey("dest", key);
super.pathKey("associationsId", associationsId);
return this;
}
}