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

microsoft.dynamics.crm.entity.collection.request.CustomcontrolCollectionRequest 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.Customcontrol;
import microsoft.dynamics.crm.entity.request.CustomcontrolRequest;
import microsoft.dynamics.crm.entity.request.CustomcontrolresourceRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class CustomcontrolCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public CustomcontrolCollectionRequest(ContextPath contextPath) {
        super(contextPath, Customcontrol.class, cp -> new CustomcontrolRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public CustomcontrolresourceCollectionRequest customcontrol_resource_id() {
        return new CustomcontrolresourceCollectionRequest(contextPath.addSegment("customcontrol_resource_id"));
    }

    public CustomcontrolresourceRequest customcontrol_resource_id(String customcontrolresourceid) {
        return new CustomcontrolresourceRequest(contextPath.addSegment("customcontrol_resource_id").addKeys(new NameValue(customcontrolresourceid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy