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

microsoft.dynamics.crm.entity.request.TaskRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package microsoft.dynamics.crm.entity.request;

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;

import microsoft.dynamics.crm.entity.Task;
import microsoft.dynamics.crm.entity.collection.request.ActioncardCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitypartyCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostfollowCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostregardingCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.QueueitemCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SlakpiinstanceCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class TaskRequest extends EntityRequest {

    public TaskRequest(ContextPath contextPath) {
        super(Task.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

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

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

    public KnowledgebaserecordRequest regardingobjectid_knowledgebaserecord_task() {
        return new KnowledgebaserecordRequest(contextPath.addSegment("regardingobjectid_knowledgebaserecord_task"));
    }

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

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

    public SlaRequest sla_task_sla() {
        return new SlaRequest(contextPath.addSegment("sla_task_sla"));
    }

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

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

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

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

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

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

    public ContactRequest regardingobjectid_contact_task() {
        return new ContactRequest(contextPath.addSegment("regardingobjectid_contact_task"));
    }

    public TeamRequest owningteam_task() {
        return new TeamRequest(contextPath.addSegment("owningteam_task"));
    }

    public BusinessunitRequest owningbusinessunit_task() {
        return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit_task"));
    }

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

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

    public SlaRequest slainvokedid_task_sla() {
        return new SlaRequest(contextPath.addSegment("slainvokedid_task_sla"));
    }

    public TransactioncurrencyRequest transactioncurrencyid_task() {
        return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid_task"));
    }

    public ProcessstageRequest stageid_processstage() {
        return new ProcessstageRequest(contextPath.addSegment("stageid_processstage"));
    }

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

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

    public AccountRequest regardingobjectid_account_task() {
        return new AccountRequest(contextPath.addSegment("regardingobjectid_account_task"));
    }

    public AnnotationCollectionRequest task_Annotation() {
        return new AnnotationCollectionRequest(
                        contextPath.addSegment("Task_Annotation"));
    }

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

    public SystemuserRequest modifiedby_task() {
        return new SystemuserRequest(contextPath.addSegment("modifiedby_task"));
    }

    public SystemuserRequest createdby_task() {
        return new SystemuserRequest(contextPath.addSegment("createdby_task"));
    }

    public ActivitypointerRequest activityid_activitypointer() {
        return new ActivitypointerRequest(contextPath.addSegment("activityid_activitypointer"));
    }

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

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

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

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

    public KnowledgearticleRequest regardingobjectid_knowledgearticle_task() {
        return new KnowledgearticleRequest(contextPath.addSegment("regardingobjectid_knowledgearticle_task"));
    }

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

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

    public SystemuserRequest createdonbehalfby_task() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby_task"));
    }

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

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

    public SystemuserRequest owninguser_task() {
        return new SystemuserRequest(contextPath.addSegment("owninguser_task"));
    }

    public SystemuserRequest modifiedonbehalfby_task() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby_task"));
    }

    public QueueitemCollectionRequest task_QueueItem() {
        return new QueueitemCollectionRequest(
                        contextPath.addSegment("Task_QueueItem"));
    }

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

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

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

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

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

    public PrincipalRequest ownerid_task() {
        return new PrincipalRequest(contextPath.addSegment("ownerid_task"));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy