microsoft.dynamics.crm.entity.collection.request.EntityCollectionRequest 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.Entity;
import microsoft.dynamics.crm.entity.request.EntityRequest;
import microsoft.dynamics.crm.entity.request.EntityanalyticsconfigRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentconfigurationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class EntityCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public EntityCollectionRequest(ContextPath contextPath) {
super(contextPath, Entity.class, cp -> new EntityRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SolutioncomponentconfigurationCollectionRequest entity_solutioncomponentconfiguration() {
return new SolutioncomponentconfigurationCollectionRequest(contextPath.addSegment("entity_solutioncomponentconfiguration"));
}
public SolutioncomponentconfigurationRequest entity_solutioncomponentconfiguration(String solutioncomponentconfigurationid) {
return new SolutioncomponentconfigurationRequest(contextPath.addSegment("entity_solutioncomponentconfiguration").addKeys(new NameValue(solutioncomponentconfigurationid.toString())));
}
public EntityanalyticsconfigCollectionRequest entity_entityanalyticsconfig() {
return new EntityanalyticsconfigCollectionRequest(contextPath.addSegment("entity_entityanalyticsconfig"));
}
public EntityanalyticsconfigRequest entity_entityanalyticsconfig(String entityanalyticsconfigid) {
return new EntityanalyticsconfigRequest(contextPath.addSegment("entity_entityanalyticsconfig").addKeys(new NameValue(entityanalyticsconfigid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy