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

microsoft.dynamics.crm.entity.request.PublisherRequest 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.Publisher;
import microsoft.dynamics.crm.entity.collection.request.AppmoduleCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PublisheraddressCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SolutionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class PublisherRequest extends EntityRequest {

    public PublisherRequest(ContextPath contextPath) {
        super(Publisher.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

    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 SystemuserRequest modifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
    }

    public OrganizationRequest organizationid() {
        return new OrganizationRequest(contextPath.addSegment("organizationid"));
    }

    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())));
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy