microsoft.dynamics.crm.entity.collection.request.ImportfileCollectionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
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.Importfile;
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.ImportfileRequest;
import microsoft.dynamics.crm.entity.request.ImportlogRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class ImportfileCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public ImportfileCollectionRequest(ContextPath contextPath) {
super(contextPath, Importfile.class, cp -> new ImportfileRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public AsyncoperationCollectionRequest importFile_AsyncOperations() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("ImportFile_AsyncOperations"));
}
public AsyncoperationRequest importFile_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("ImportFile_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public BulkdeletefailureCollectionRequest importFile_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(contextPath.addSegment("ImportFile_BulkDeleteFailures"));
}
public BulkdeletefailureRequest importFile_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("ImportFile_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public ImportdataCollectionRequest importFile_ImportData() {
return new ImportdataCollectionRequest(contextPath.addSegment("ImportFile_ImportData"));
}
public ImportdataRequest importFile_ImportData(String importdataid) {
return new ImportdataRequest(contextPath.addSegment("ImportFile_ImportData").addKeys(new NameValue(importdataid.toString())));
}
public ImportlogCollectionRequest importLog_ImportFile() {
return new ImportlogCollectionRequest(contextPath.addSegment("ImportLog_ImportFile"));
}
public ImportlogRequest importLog_ImportFile(String importlogid) {
return new ImportlogRequest(contextPath.addSegment("ImportLog_ImportFile").addKeys(new NameValue(importlogid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy