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