microsoft.dynamics.crm.entity.collection.request.EntityrelationshipCollectionRequest 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.Entityrelationship;
import microsoft.dynamics.crm.entity.request.EntityrelationshipRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentrelationshipconfigurationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class EntityrelationshipCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public EntityrelationshipCollectionRequest(ContextPath contextPath) {
super(contextPath, Entityrelationship.class, cp -> new EntityrelationshipRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SolutioncomponentrelationshipconfigurationCollectionRequest entityrelationship_config() {
return new SolutioncomponentrelationshipconfigurationCollectionRequest(contextPath.addSegment("entityrelationship_config"));
}
public SolutioncomponentrelationshipconfigurationRequest entityrelationship_config(String solutioncomponentrelationshipconfigurationid) {
return new SolutioncomponentrelationshipconfigurationRequest(contextPath.addSegment("entityrelationship_config").addKeys(new NameValue(solutioncomponentrelationshipconfigurationid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy