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

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

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 java.lang.Object;
import java.util.Optional;
import java.util.UUID;

import microsoft.dynamics.crm.entity.Workflowbinary;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.FileattachmentRequest;
import microsoft.dynamics.crm.entity.request.MailboxtrackingfolderRequest;
import microsoft.dynamics.crm.entity.request.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.WorkflowbinaryRequest;

public class WorkflowbinaryCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public WorkflowbinaryCollectionRequest(ContextPath contextPath, Optional value) {
        super(contextPath, Workflowbinary.class, cp -> new WorkflowbinaryRequest(cp, Optional.empty()), value);
        this.contextPath = contextPath;
    }

    public SyncerrorRequest workflowbinary_SyncErrors(UUID syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("workflowbinary_SyncErrors").addKeys(new NameValue(syncerrorid, UUID.class)), Optional.empty());
    }

    public SyncerrorCollectionRequest workflowbinary_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("workflowbinary_SyncErrors"), Optional.empty());
    }

    public AsyncoperationRequest workflowbinary_AsyncOperations(UUID asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("workflowbinary_AsyncOperations").addKeys(new NameValue(asyncoperationid, UUID.class)), Optional.empty());
    }

    public AsyncoperationCollectionRequest workflowbinary_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("workflowbinary_AsyncOperations"), Optional.empty());
    }

    public MailboxtrackingfolderRequest workflowbinary_MailboxTrackingFolders(UUID mailboxtrackingfolderid) {
        return new MailboxtrackingfolderRequest(contextPath.addSegment("workflowbinary_MailboxTrackingFolders").addKeys(new NameValue(mailboxtrackingfolderid, UUID.class)), Optional.empty());
    }

    public MailboxtrackingfolderCollectionRequest workflowbinary_MailboxTrackingFolders() {
        return new MailboxtrackingfolderCollectionRequest(contextPath.addSegment("workflowbinary_MailboxTrackingFolders"), Optional.empty());
    }

    public ProcesssessionRequest workflowbinary_ProcessSession(UUID processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("workflowbinary_ProcessSession").addKeys(new NameValue(processsessionid, UUID.class)), Optional.empty());
    }

    public ProcesssessionCollectionRequest workflowbinary_ProcessSession() {
        return new ProcesssessionCollectionRequest(contextPath.addSegment("workflowbinary_ProcessSession"), Optional.empty());
    }

    public BulkdeletefailureRequest workflowbinary_BulkDeleteFailures(UUID bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("workflowbinary_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid, UUID.class)), Optional.empty());
    }

    public BulkdeletefailureCollectionRequest workflowbinary_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("workflowbinary_BulkDeleteFailures"), Optional.empty());
    }

    public PrincipalobjectattributeaccessRequest workflowbinary_PrincipalObjectAttributeAccesses(UUID principalobjectattributeaccessid) {
        return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("workflowbinary_PrincipalObjectAttributeAccesses").addKeys(new NameValue(principalobjectattributeaccessid, UUID.class)), Optional.empty());
    }

    public PrincipalobjectattributeaccessCollectionRequest workflowbinary_PrincipalObjectAttributeAccesses() {
        return new PrincipalobjectattributeaccessCollectionRequest(contextPath.addSegment("workflowbinary_PrincipalObjectAttributeAccesses"), Optional.empty());
    }

    public FileattachmentRequest workflowbinary_FileAttachments(UUID fileattachmentid) {
        return new FileattachmentRequest(contextPath.addSegment("workflowbinary_FileAttachments").addKeys(new NameValue(fileattachmentid, UUID.class)), Optional.empty());
    }

    public FileattachmentCollectionRequest workflowbinary_FileAttachments() {
        return new FileattachmentCollectionRequest(contextPath.addSegment("workflowbinary_FileAttachments"), Optional.empty());
    }

}