All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.collection.request.WorkflowlogCollectionRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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