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

microsoft.dynamics.crm.entity.request.SolutioncomponentRequest Maven / Gradle / Ivy

The newest version!
package microsoft.dynamics.crm.entity.request;

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
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.collection.request.SolutioncomponentCollectionRequest;

@JsonIgnoreType
public class SolutioncomponentRequest extends EntityRequest {

    public SolutioncomponentRequest(ContextPath contextPath, Optional value) {
        super(Solutioncomponent.class, contextPath, value, false);
    }

    public SolutionRequest solutionid() {
        return new SolutionRequest(contextPath.addSegment("solutionid"), Optional.empty());
    }

    public SystemuserRequest createdonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"), Optional.empty());
    }

    public SystemuserRequest modifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"), Optional.empty());
    }

    public SolutioncomponentRequest rootsolutioncomponentid_solutioncomponent() {
        return new SolutioncomponentRequest(contextPath.addSegment("rootsolutioncomponentid_solutioncomponent"), Optional.empty());
    }

    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());
    }

}