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

microsoft.dynamics.crm.entity.collection.request.ServiceplanCollectionRequest 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.Serviceplan;
import microsoft.dynamics.crm.entity.request.AppmoduleRequest;
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.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.ServiceplanRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ServiceplanCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ServiceplanCollectionRequest(ContextPath contextPath) {
        super(contextPath, Serviceplan.class, cp -> new ServiceplanRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public AppmoduleCollectionRequest serviceplan_appmodule_association() {
        return new AppmoduleCollectionRequest(contextPath.addSegment("serviceplan_appmodule_association"));
    }

    public AppmoduleRequest serviceplan_appmodule_association(String appmoduleid) {
        return new AppmoduleRequest(contextPath.addSegment("serviceplan_appmodule_association").addKeys(new NameValue(appmoduleid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy