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

microsoft.dynamics.crm.entity.collection.request.BulkdeleteoperationCollectionRequest 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.Bulkdeleteoperation;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.BulkdeleteoperationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class BulkdeleteoperationCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public BulkdeleteoperationCollectionRequest(ContextPath contextPath) {
        super(contextPath, Bulkdeleteoperation.class, cp -> new BulkdeleteoperationRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public BulkdeletefailureCollectionRequest bulkDeleteOperation_BulkDeleteFailure() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("BulkDeleteOperation_BulkDeleteFailure"));
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy