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

microsoft.dynamics.crm.entity.collection.request.TransformationparametermappingCollectionRequest 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.Transformationparametermapping;
import microsoft.dynamics.crm.entity.request.LookupmappingRequest;
import microsoft.dynamics.crm.entity.request.TransformationparametermappingRequest;

public class TransformationparametermappingCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public TransformationparametermappingCollectionRequest(ContextPath contextPath, Optional value) {
        super(contextPath, Transformationparametermapping.class, cp -> new TransformationparametermappingRequest(cp, Optional.empty()), value);
        this.contextPath = contextPath;
    }

    public LookupmappingRequest lookUpMapping_TransformationParameterMapping(UUID lookupmappingid) {
        return new LookupmappingRequest(contextPath.addSegment("LookUpMapping_TransformationParameterMapping").addKeys(new NameValue(lookupmappingid, UUID.class)), Optional.empty());
    }

    public LookupmappingCollectionRequest lookUpMapping_TransformationParameterMapping() {
        return new LookupmappingCollectionRequest(contextPath.addSegment("LookUpMapping_TransformationParameterMapping"), Optional.empty());
    }

}