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

microsoft.dynamics.crm.entity.collection.request.UsermappingCollectionRequest 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.Usermapping;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.UsermappingRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class UsermappingCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public UsermappingCollectionRequest(ContextPath contextPath) {
        super(contextPath, Usermapping.class, cp -> new UsermappingRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

    public ProcesssessionCollectionRequest usermapping_ProcessSession() {
        return new ProcesssessionCollectionRequest(contextPath.addSegment("usermapping_ProcessSession"));
    }

    public ProcesssessionRequest usermapping_ProcessSession(String processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("usermapping_ProcessSession").addKeys(new NameValue(processsessionid.toString())));
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy