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

microsoft.dynamics.crm.entity.collection.request.SolutioncomponentCollectionRequest 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.Solutioncomponent;
import microsoft.dynamics.crm.entity.request.SolutioncomponentRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class SolutioncomponentCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public SolutioncomponentCollectionRequest(ContextPath contextPath) {
        super(contextPath, Solutioncomponent.class, cp -> new SolutioncomponentRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SolutioncomponentCollectionRequest solutioncomponent_parent_solutioncomponent() {
        return new SolutioncomponentCollectionRequest(contextPath.addSegment("solutioncomponent_parent_solutioncomponent"));
    }

    public SolutioncomponentRequest solutioncomponent_parent_solutioncomponent(String solutioncomponentid) {
        return new SolutioncomponentRequest(contextPath.addSegment("solutioncomponent_parent_solutioncomponent").addKeys(new NameValue(solutioncomponentid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy