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

microsoft.dynamics.crm.entity.collection.request.SolutioncomponentCollectionRequest Maven / Gradle / Ivy

The 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 java.lang.Object;
import java.util.Optional;
import java.util.UUID;

import microsoft.dynamics.crm.entity.Solutioncomponent;
import microsoft.dynamics.crm.entity.request.SolutioncomponentRequest;

public class SolutioncomponentCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

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

    public SolutioncomponentRequest solutioncomponent_parent_solutioncomponent(UUID solutioncomponentid) {
        return new SolutioncomponentRequest(contextPath.addSegment("solutioncomponent_parent_solutioncomponent").addKeys(new NameValue(solutioncomponentid, UUID.class)), Optional.empty());
    }

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

}