microsoft.dynamics.crm.entity.collection.request.SimilarityruleCollectionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
package microsoft.dynamics.crm.entity.collection.request;
import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;
import microsoft.dynamics.crm.entity.Similarityrule;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.SimilarityruleRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class SimilarityruleCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public SimilarityruleCollectionRequest(ContextPath contextPath) {
super(contextPath, Similarityrule.class, cp -> new SimilarityruleRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public AsyncoperationCollectionRequest similarityrule_AsyncOperations() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("similarityrule_AsyncOperations"));
}
public AsyncoperationRequest similarityrule_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("similarityrule_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy