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

microsoft.dynamics.crm.entity.collection.request.ImportdataCollectionRequest 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.Importdata;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ImportdataRequest;
import microsoft.dynamics.crm.entity.request.ImportlogRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ImportdataCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ImportdataCollectionRequest(ContextPath contextPath) {
        super(contextPath, Importdata.class, cp -> new ImportdataRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public AsyncoperationCollectionRequest importData_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("ImportData_AsyncOperations"));
    }

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

    public ImportlogCollectionRequest importLog_ImportData() {
        return new ImportlogCollectionRequest(contextPath.addSegment("ImportLog_ImportData"));
    }

    public ImportlogRequest importLog_ImportData(String importlogid) {
        return new ImportlogRequest(contextPath.addSegment("ImportLog_ImportData").addKeys(new NameValue(importlogid.toString())));
    }

    public BulkdeletefailureCollectionRequest importData_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("ImportData_BulkDeleteFailures"));
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy