microsoft.dynamics.crm.entity.collection.request.DuplicateruleCollectionRequest 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.Duplicaterule;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.DuplicateruleRequest;
import microsoft.dynamics.crm.entity.request.DuplicateruleconditionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class DuplicateruleCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public DuplicateruleCollectionRequest(ContextPath contextPath) {
super(contextPath, Duplicaterule.class, cp -> new DuplicateruleRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SyncerrorCollectionRequest duplicateRule_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("DuplicateRule_SyncErrors"));
}
public SyncerrorRequest duplicateRule_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("DuplicateRule_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public DuplicateruleconditionCollectionRequest duplicateRule_DuplicateRuleConditions() {
return new DuplicateruleconditionCollectionRequest(contextPath.addSegment("DuplicateRule_DuplicateRuleConditions"));
}
public DuplicateruleconditionRequest duplicateRule_DuplicateRuleConditions(String duplicateruleconditionid) {
return new DuplicateruleconditionRequest(contextPath.addSegment("DuplicateRule_DuplicateRuleConditions").addKeys(new NameValue(duplicateruleconditionid.toString())));
}
public AnnotationCollectionRequest duplicateRule_Annotation() {
return new AnnotationCollectionRequest(contextPath.addSegment("DuplicateRule_Annotation"));
}
public AnnotationRequest duplicateRule_Annotation(String annotationid) {
return new AnnotationRequest(contextPath.addSegment("DuplicateRule_Annotation").addKeys(new NameValue(annotationid.toString())));
}
public DuplicaterecordCollectionRequest duplicateRule_DuplicateBaseRecord() {
return new DuplicaterecordCollectionRequest(contextPath.addSegment("DuplicateRule_DuplicateBaseRecord"));
}
public DuplicaterecordRequest duplicateRule_DuplicateBaseRecord(String duplicateid) {
return new DuplicaterecordRequest(contextPath.addSegment("DuplicateRule_DuplicateBaseRecord").addKeys(new NameValue(duplicateid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy