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

microsoft.dynamics.crm.entity.collection.request.ProcesstriggerCollectionRequest 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.Processtrigger;
import microsoft.dynamics.crm.entity.request.ProcesstriggerRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ProcesstriggerCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ProcesstriggerCollectionRequest(ContextPath contextPath) {
        super(contextPath, Processtrigger.class, cp -> new ProcesstriggerRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy