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

microsoft.dynamics.crm.entity.collection.request.EntityrelationshipCollectionRequest 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.Entityrelationship;
import microsoft.dynamics.crm.entity.request.EntityrelationshipRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentrelationshipconfigurationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class EntityrelationshipCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public EntityrelationshipCollectionRequest(ContextPath contextPath) {
        super(contextPath, Entityrelationship.class, cp -> new EntityrelationshipRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SolutioncomponentrelationshipconfigurationCollectionRequest entityrelationship_config() {
        return new SolutioncomponentrelationshipconfigurationCollectionRequest(contextPath.addSegment("entityrelationship_config"));
    }

    public SolutioncomponentrelationshipconfigurationRequest entityrelationship_config(String solutioncomponentrelationshipconfigurationid) {
        return new SolutioncomponentrelationshipconfigurationRequest(contextPath.addSegment("entityrelationship_config").addKeys(new NameValue(solutioncomponentrelationshipconfigurationid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy