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

microsoft.dynamics.crm.entity.collection.request.PhonecallCollectionRequest 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.Phonecall;
import microsoft.dynamics.crm.entity.request.ActioncardRequest;
import microsoft.dynamics.crm.entity.request.ActivitypartyRequest;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ConnectionRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.PhonecallRequest;
import microsoft.dynamics.crm.entity.request.PostfollowRequest;
import microsoft.dynamics.crm.entity.request.PostregardingRequest;
import microsoft.dynamics.crm.entity.request.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.QueueitemRequest;
import microsoft.dynamics.crm.entity.request.SlakpiinstanceRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class PhonecallCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public PhonecallCollectionRequest(ContextPath contextPath) {
        super(contextPath, Phonecall.class, cp -> new PhonecallRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public PostregardingCollectionRequest phonecall_PostRegardings() {
        return new PostregardingCollectionRequest(contextPath.addSegment("phonecall_PostRegardings"));
    }

    public PostregardingRequest phonecall_PostRegardings(String postregardingid) {
        return new PostregardingRequest(contextPath.addSegment("phonecall_PostRegardings").addKeys(new NameValue(postregardingid.toString())));
    }

    public PostfollowCollectionRequest phonecall_PostFollows() {
        return new PostfollowCollectionRequest(contextPath.addSegment("phonecall_PostFollows"));
    }

    public PostfollowRequest phonecall_PostFollows(String postfollowid) {
        return new PostfollowRequest(contextPath.addSegment("phonecall_PostFollows").addKeys(new NameValue(postfollowid.toString())));
    }

    public ActioncardCollectionRequest phonecall_actioncard() {
        return new ActioncardCollectionRequest(contextPath.addSegment("phonecall_actioncard"));
    }

    public ActioncardRequest phonecall_actioncard(String actioncardid) {
        return new ActioncardRequest(contextPath.addSegment("phonecall_actioncard").addKeys(new NameValue(actioncardid.toString())));
    }

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

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

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

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

    public ActivitypartyCollectionRequest phonecall_activity_parties() {
        return new ActivitypartyCollectionRequest(contextPath.addSegment("phonecall_activity_parties"));
    }

    public ActivitypartyRequest phonecall_activity_parties(String activitypartyid) {
        return new ActivitypartyRequest(contextPath.addSegment("phonecall_activity_parties").addKeys(new NameValue(activitypartyid.toString())));
    }

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

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

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

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

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

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

    public ConnectionCollectionRequest phonecall_connections1() {
        return new ConnectionCollectionRequest(contextPath.addSegment("phonecall_connections1"));
    }

    public ConnectionRequest phonecall_connections1(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("phonecall_connections1").addKeys(new NameValue(connectionid.toString())));
    }

    public SlakpiinstanceCollectionRequest slakpiinstance_phonecall() {
        return new SlakpiinstanceCollectionRequest(contextPath.addSegment("slakpiinstance_phonecall"));
    }

    public SlakpiinstanceRequest slakpiinstance_phonecall(String slakpiinstanceid) {
        return new SlakpiinstanceRequest(contextPath.addSegment("slakpiinstance_phonecall").addKeys(new NameValue(slakpiinstanceid.toString())));
    }

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

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

    public QueueitemCollectionRequest phoneCall_QueueItem() {
        return new QueueitemCollectionRequest(contextPath.addSegment("PhoneCall_QueueItem"));
    }

    public QueueitemRequest phoneCall_QueueItem(String queueitemid) {
        return new QueueitemRequest(contextPath.addSegment("PhoneCall_QueueItem").addKeys(new NameValue(queueitemid.toString())));
    }

    public AnnotationCollectionRequest phoneCall_Annotation() {
        return new AnnotationCollectionRequest(contextPath.addSegment("PhoneCall_Annotation"));
    }

    public AnnotationRequest phoneCall_Annotation(String annotationid) {
        return new AnnotationRequest(contextPath.addSegment("PhoneCall_Annotation").addKeys(new NameValue(annotationid.toString())));
    }

    public ConnectionCollectionRequest phonecall_connections2() {
        return new ConnectionCollectionRequest(contextPath.addSegment("phonecall_connections2"));
    }

    public ConnectionRequest phonecall_connections2(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("phonecall_connections2").addKeys(new NameValue(connectionid.toString())));
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy