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

microsoft.dynamics.crm.entity.collection.request.ImportmapCollectionRequest 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.Importmap;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ColumnmappingRequest;
import microsoft.dynamics.crm.entity.request.ImportentitymappingRequest;
import microsoft.dynamics.crm.entity.request.ImportfileRequest;
import microsoft.dynamics.crm.entity.request.ImportmapRequest;
import microsoft.dynamics.crm.entity.request.OwnermappingRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.TransformationmappingRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ImportmapCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ImportmapCollectionRequest(ContextPath contextPath) {
        super(contextPath, Importmap.class, cp -> new ImportmapRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SyncerrorCollectionRequest importMap_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("ImportMap_SyncErrors"));
    }

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

    public ColumnmappingCollectionRequest columnMapping_ImportMap() {
        return new ColumnmappingCollectionRequest(contextPath.addSegment("ColumnMapping_ImportMap"));
    }

    public ColumnmappingRequest columnMapping_ImportMap(String columnmappingid) {
        return new ColumnmappingRequest(contextPath.addSegment("ColumnMapping_ImportMap").addKeys(new NameValue(columnmappingid.toString())));
    }

    public AsyncoperationCollectionRequest importMap_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("ImportMap_AsyncOperations"));
    }

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

    public ImportentitymappingCollectionRequest importEntityMapping_ImportMap() {
        return new ImportentitymappingCollectionRequest(contextPath.addSegment("ImportEntityMapping_ImportMap"));
    }

    public ImportentitymappingRequest importEntityMapping_ImportMap(String importentitymappingid) {
        return new ImportentitymappingRequest(contextPath.addSegment("ImportEntityMapping_ImportMap").addKeys(new NameValue(importentitymappingid.toString())));
    }

    public BulkdeletefailureCollectionRequest importMap_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("ImportMap_BulkDeleteFailures"));
    }

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

    public OwnermappingCollectionRequest ownerMapping_ImportMap() {
        return new OwnermappingCollectionRequest(contextPath.addSegment("OwnerMapping_ImportMap"));
    }

    public OwnermappingRequest ownerMapping_ImportMap(String ownermappingid) {
        return new OwnermappingRequest(contextPath.addSegment("OwnerMapping_ImportMap").addKeys(new NameValue(ownermappingid.toString())));
    }

    public ImportfileCollectionRequest importMap_ImportFile() {
        return new ImportfileCollectionRequest(contextPath.addSegment("ImportMap_ImportFile"));
    }

    public ImportfileRequest importMap_ImportFile(String importfileid) {
        return new ImportfileRequest(contextPath.addSegment("ImportMap_ImportFile").addKeys(new NameValue(importfileid.toString())));
    }

    public TransformationmappingCollectionRequest transformationMapping_ImportMap() {
        return new TransformationmappingCollectionRequest(contextPath.addSegment("TransformationMapping_ImportMap"));
    }

    public TransformationmappingRequest transformationMapping_ImportMap(String transformationmappingid) {
        return new TransformationmappingRequest(contextPath.addSegment("TransformationMapping_ImportMap").addKeys(new NameValue(transformationmappingid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy