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

microsoft.dynamics.crm.entity.collection.request.InteractionforemailCollectionRequest Maven / Gradle / Ivy

The 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 java.lang.Object;
import java.util.Optional;
import java.util.UUID;

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;

public class InteractionforemailCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

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

    public ActivitypointerRequest new_interactionforemail_ActivityPointers(UUID activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("new_interactionforemail_ActivityPointers").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public AsyncoperationRequest new_interactionforemail_AsyncOperations(UUID asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("new_interactionforemail_AsyncOperations").addKeys(new NameValue(asyncoperationid, UUID.class)), Optional.empty());
    }

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

}