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