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

microsoft.dynamics.crm.entity.request.CustomcontrolRequest 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.Customcontrol;
import microsoft.dynamics.crm.entity.collection.request.CustomcontrolresourceCollectionRequest;

@JsonIgnoreType
public class CustomcontrolRequest extends EntityRequest {

    public CustomcontrolRequest(ContextPath contextPath, Optional value) {
        super(Customcontrol.class, contextPath, value, false);
    }

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

    public CustomcontrolresourceRequest customcontrol_resource_id(UUID customcontrolresourceid) {
        return new CustomcontrolresourceRequest(contextPath.addSegment("customcontrol_resource_id").addKeys(new NameValue(customcontrolresourceid, UUID.class)), Optional.empty());
    }

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

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

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

    public OrganizationRequest organizationid() {
        return new OrganizationRequest(contextPath.addSegment("organizationid"), Optional.empty());
    }

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

}