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

microsoft.dynamics.crm.entity.collection.request.Msdyn_slakpiCollectionRequest 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.Msdyn_slakpi;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.MailboxtrackingfolderRequest;
import microsoft.dynamics.crm.entity.request.Msdyn_slakpiRequest;
import microsoft.dynamics.crm.entity.request.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.SlaitemRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;

public class Msdyn_slakpiCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public Msdyn_slakpiCollectionRequest(ContextPath contextPath, Optional value) {
        super(contextPath, Msdyn_slakpi.class, cp -> new Msdyn_slakpiRequest(cp, Optional.empty()), value);
        this.contextPath = contextPath;
    }

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

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

    public DuplicaterecordRequest msdyn_slakpi_DuplicateMatchingRecord(UUID duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("msdyn_slakpi_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid, UUID.class)), Optional.empty());
    }

    public DuplicaterecordCollectionRequest msdyn_slakpi_DuplicateMatchingRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("msdyn_slakpi_DuplicateMatchingRecord"), Optional.empty());
    }

    public DuplicaterecordRequest msdyn_slakpi_DuplicateBaseRecord(UUID duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("msdyn_slakpi_DuplicateBaseRecord").addKeys(new NameValue(duplicateid, UUID.class)), Optional.empty());
    }

    public DuplicaterecordCollectionRequest msdyn_slakpi_DuplicateBaseRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("msdyn_slakpi_DuplicateBaseRecord"), Optional.empty());
    }

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

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

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

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

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

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

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

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

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

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

    public SlaitemRequest msdyn_msdyn_slakpi_slaitem(UUID slaitemid) {
        return new SlaitemRequest(contextPath.addSegment("msdyn_msdyn_slakpi_slaitem").addKeys(new NameValue(slaitemid, UUID.class)), Optional.empty());
    }

    public SlaitemCollectionRequest msdyn_msdyn_slakpi_slaitem() {
        return new SlaitemCollectionRequest(contextPath.addSegment("msdyn_msdyn_slakpi_slaitem"), Optional.empty());
    }

}