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

microsoft.dynamics.crm.entity.request.FeedbackRequest 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.Feedback;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.FeedbackCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class FeedbackRequest extends EntityRequest {

    public FeedbackRequest(ContextPath contextPath) {
        super(Feedback.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    public FeedbackRequest feedbackId() {
        return new FeedbackRequest(contextPath.addSegment("FeedbackId"));
    }

    public FeedbackCollectionRequest feedback_feedback() {
        return new FeedbackCollectionRequest(
                        contextPath.addSegment("feedback_feedback"));
    }

    public FeedbackRequest feedback_feedback(String feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("feedback_feedback").addKeys(new NameValue(feedbackid.toString())));
    }

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

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy