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

microsoft.dynamics.crm.entity.collection.request.ConnectionroleCollectionRequest 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.Connectionrole;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.ConnectionRequest;
import microsoft.dynamics.crm.entity.request.ConnectionroleRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ConnectionroleCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ConnectionroleCollectionRequest(ContextPath contextPath) {
        super(contextPath, Connectionrole.class, cp -> new ConnectionroleRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

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

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

    public ConnectionCollectionRequest connection_role_connections2() {
        return new ConnectionCollectionRequest(contextPath.addSegment("connection_role_connections2"));
    }

    public ConnectionRequest connection_role_connections2(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("connection_role_connections2").addKeys(new NameValue(connectionid.toString())));
    }

    public SyncerrorCollectionRequest connectionRole_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("ConnectionRole_SyncErrors"));
    }

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

    public ConnectionCollectionRequest connection_role_connections1() {
        return new ConnectionCollectionRequest(contextPath.addSegment("connection_role_connections1"));
    }

    public ConnectionRequest connection_role_connections1(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("connection_role_connections1").addKeys(new NameValue(connectionid.toString())));
    }

    public ConnectionroleCollectionRequest connectionroleassociation_association() {
        return new ConnectionroleCollectionRequest(contextPath.addSegment("connectionroleassociation_association"));
    }

    public ConnectionroleRequest connectionroleassociation_association(String connectionroleid) {
        return new ConnectionroleRequest(contextPath.addSegment("connectionroleassociation_association").addKeys(new NameValue(connectionroleid.toString())));
    }

    public ConnectionroleCollectionRequest connectionroleassociation_association_referenced() {
        return new ConnectionroleCollectionRequest(contextPath.addSegment("connectionroleassociation_association_referenced"));
    }

    public ConnectionroleRequest connectionroleassociation_association_referenced(String connectionroleid) {
        return new ConnectionroleRequest(contextPath.addSegment("connectionroleassociation_association_referenced").addKeys(new NameValue(connectionroleid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy