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

microsoft.dynamics.crm.entity.collection.request.InteractionforemailCollectionRequest 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.Interactionforemail;
import microsoft.dynamics.crm.entity.request.ActivitypointerRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.InteractionforemailRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class InteractionforemailCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public InteractionforemailCollectionRequest(ContextPath contextPath) {
        super(contextPath, Interactionforemail.class, cp -> new InteractionforemailRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public ActivitypointerCollectionRequest new_interactionforemail_ActivityPointers() {
        return new ActivitypointerCollectionRequest(contextPath.addSegment("new_interactionforemail_ActivityPointers"));
    }

    public ActivitypointerRequest new_interactionforemail_ActivityPointers(String activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("new_interactionforemail_ActivityPointers").addKeys(new NameValue(activityid.toString())));
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy