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

microsoft.dynamics.crm.entity.collection.request.ConnectorCollectionRequest 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.Connector;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ConnectionreferenceRequest;
import microsoft.dynamics.crm.entity.request.ConnectorRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
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.schema.SchemaInfo;

public class ConnectorCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ConnectorCollectionRequest(ContextPath contextPath) {
        super(contextPath, Connector.class, cp -> new ConnectorRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SyncerrorCollectionRequest connector_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("connector_SyncErrors"));
    }

    public SyncerrorRequest connector_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("connector_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

    public DuplicaterecordCollectionRequest connector_DuplicateMatchingRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("connector_DuplicateMatchingRecord"));
    }

    public DuplicaterecordRequest connector_DuplicateMatchingRecord(String duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("connector_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid.toString())));
    }

    public DuplicaterecordCollectionRequest connector_DuplicateBaseRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("connector_DuplicateBaseRecord"));
    }

    public DuplicaterecordRequest connector_DuplicateBaseRecord(String duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("connector_DuplicateBaseRecord").addKeys(new NameValue(duplicateid.toString())));
    }

    public AsyncoperationCollectionRequest connector_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("connector_AsyncOperations"));
    }

    public AsyncoperationRequest connector_AsyncOperations(String asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("connector_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
    }

    public MailboxtrackingfolderCollectionRequest connector_MailboxTrackingFolders() {
        return new MailboxtrackingfolderCollectionRequest(contextPath.addSegment("connector_MailboxTrackingFolders"));
    }

    public MailboxtrackingfolderRequest connector_MailboxTrackingFolders(String mailboxtrackingfolderid) {
        return new MailboxtrackingfolderRequest(contextPath.addSegment("connector_MailboxTrackingFolders").addKeys(new NameValue(mailboxtrackingfolderid.toString())));
    }

    public ProcesssessionCollectionRequest connector_ProcessSession() {
        return new ProcesssessionCollectionRequest(contextPath.addSegment("connector_ProcessSession"));
    }

    public ProcesssessionRequest connector_ProcessSession(String processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("connector_ProcessSession").addKeys(new NameValue(processsessionid.toString())));
    }

    public BulkdeletefailureCollectionRequest connector_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("connector_BulkDeleteFailures"));
    }

    public BulkdeletefailureRequest connector_BulkDeleteFailures(String bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("connector_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
    }

    public PrincipalobjectattributeaccessCollectionRequest connector_PrincipalObjectAttributeAccesses() {
        return new PrincipalobjectattributeaccessCollectionRequest(contextPath.addSegment("connector_PrincipalObjectAttributeAccesses"));
    }

    public PrincipalobjectattributeaccessRequest connector_PrincipalObjectAttributeAccesses(String principalobjectattributeaccessid) {
        return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("connector_PrincipalObjectAttributeAccesses").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
    }

    public ConnectionreferenceCollectionRequest connector_connectionreference() {
        return new ConnectionreferenceCollectionRequest(contextPath.addSegment("connector_connectionreference"));
    }

    public ConnectionreferenceRequest connector_connectionreference(String connectionreferenceid) {
        return new ConnectionreferenceRequest(contextPath.addSegment("connector_connectionreference").addKeys(new NameValue(connectionreferenceid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy