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

microsoft.dynamics.crm.entity.collection.request.MailmergetemplateCollectionRequest 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.Mailmergetemplate;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.MailmergetemplateRequest;
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 MailmergetemplateCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public MailmergetemplateCollectionRequest(ContextPath contextPath) {
        super(contextPath, Mailmergetemplate.class, cp -> new MailmergetemplateRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy