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

microsoft.dynamics.crm.entity.collection.request.PublisherCollectionRequest 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.Publisher;
import microsoft.dynamics.crm.entity.request.AppmoduleRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.PublisherRequest;
import microsoft.dynamics.crm.entity.request.PublisheraddressRequest;
import microsoft.dynamics.crm.entity.request.SolutionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class PublisherCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public PublisherCollectionRequest(ContextPath contextPath) {
        super(contextPath, Publisher.class, cp -> new PublisherRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

    public SyncerrorCollectionRequest publisher_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("Publisher_SyncErrors"));
    }

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

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

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

    public SolutionCollectionRequest publisher_solution() {
        return new SolutionCollectionRequest(contextPath.addSegment("publisher_solution"));
    }

    public SolutionRequest publisher_solution(String solutionid) {
        return new SolutionRequest(contextPath.addSegment("publisher_solution").addKeys(new NameValue(solutionid.toString())));
    }

    public AppmoduleCollectionRequest publisher_appmodule() {
        return new AppmoduleCollectionRequest(contextPath.addSegment("publisher_appmodule"));
    }

    public AppmoduleRequest publisher_appmodule(String appmoduleid) {
        return new AppmoduleRequest(contextPath.addSegment("publisher_appmodule").addKeys(new NameValue(appmoduleid.toString())));
    }

    public PublisheraddressCollectionRequest publisher_PublisherAddress() {
        return new PublisheraddressCollectionRequest(contextPath.addSegment("Publisher_PublisherAddress"));
    }

    public PublisheraddressRequest publisher_PublisherAddress(String publisheraddressid) {
        return new PublisheraddressRequest(contextPath.addSegment("Publisher_PublisherAddress").addKeys(new NameValue(publisheraddressid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy