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

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

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.Sla;
import microsoft.dynamics.crm.entity.collection.request.AccountCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitypointerCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AppointmentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ContactCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.EmailCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.FaxCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.LetterCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PhonecallCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SlaitemCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SocialactivityCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.TaskCollectionRequest;

@JsonIgnoreType
public class SlaRequest extends EntityRequest {

    public SlaRequest(ContextPath contextPath, Optional value) {
        super(Sla.class, contextPath, value, false);
    }

    public WorkflowRequest workflowid() {
        return new WorkflowRequest(contextPath.addSegment("workflowid"), Optional.empty());
    }

    public AccountRequest manualsla_account(UUID accountid) {
        return new AccountRequest(contextPath.addSegment("manualsla_account").addKeys(new NameValue(accountid, UUID.class)), Optional.empty());
    }

    public AccountCollectionRequest manualsla_account() {
        return new AccountCollectionRequest(
                        contextPath.addSegment("manualsla_account"), Optional.empty());
    }

    public TaskRequest manualsla_task(UUID activityid) {
        return new TaskRequest(contextPath.addSegment("manualsla_task").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public TaskCollectionRequest manualsla_task() {
        return new TaskCollectionRequest(
                        contextPath.addSegment("manualsla_task"), Optional.empty());
    }

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

    public CalendarRequest businesshoursid() {
        return new CalendarRequest(contextPath.addSegment("businesshoursid"), Optional.empty());
    }

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

    public EmailRequest manualsla_email(UUID activityid) {
        return new EmailRequest(contextPath.addSegment("manualsla_email").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public EmailCollectionRequest manualsla_email() {
        return new EmailCollectionRequest(
                        contextPath.addSegment("manualsla_email"), Optional.empty());
    }

    public AnnotationRequest sla_Annotation(UUID annotationid) {
        return new AnnotationRequest(contextPath.addSegment("sla_Annotation").addKeys(new NameValue(annotationid, UUID.class)), Optional.empty());
    }

    public AnnotationCollectionRequest sla_Annotation() {
        return new AnnotationCollectionRequest(
                        contextPath.addSegment("sla_Annotation"), Optional.empty());
    }

    public SyncerrorRequest sLA_SyncErrors(UUID syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("SLA_SyncErrors").addKeys(new NameValue(syncerrorid, UUID.class)), Optional.empty());
    }

    public SyncerrorCollectionRequest sLA_SyncErrors() {
        return new SyncerrorCollectionRequest(
                        contextPath.addSegment("SLA_SyncErrors"), Optional.empty());
    }

    public PhonecallRequest manualsla_phonecall(UUID activityid) {
        return new PhonecallRequest(contextPath.addSegment("manualsla_phonecall").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public PhonecallCollectionRequest manualsla_phonecall() {
        return new PhonecallCollectionRequest(
                        contextPath.addSegment("manualsla_phonecall"), Optional.empty());
    }

    public ContactRequest sla_contact(UUID contactid) {
        return new ContactRequest(contextPath.addSegment("sla_contact").addKeys(new NameValue(contactid, UUID.class)), Optional.empty());
    }

    public ContactCollectionRequest sla_contact() {
        return new ContactCollectionRequest(
                        contextPath.addSegment("sla_contact"), Optional.empty());
    }

    public ContactRequest manualsla_contact(UUID contactid) {
        return new ContactRequest(contextPath.addSegment("manualsla_contact").addKeys(new NameValue(contactid, UUID.class)), Optional.empty());
    }

    public ContactCollectionRequest manualsla_contact() {
        return new ContactCollectionRequest(
                        contextPath.addSegment("manualsla_contact"), Optional.empty());
    }

    public ActivitypointerRequest manualsla_activitypointer(UUID activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("manualsla_activitypointer").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public ActivitypointerCollectionRequest manualsla_activitypointer() {
        return new ActivitypointerCollectionRequest(
                        contextPath.addSegment("manualsla_activitypointer"), Optional.empty());
    }

    public TaskRequest sla_task(UUID activityid) {
        return new TaskRequest(contextPath.addSegment("sla_task").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public TaskCollectionRequest sla_task() {
        return new TaskCollectionRequest(
                        contextPath.addSegment("sla_task"), Optional.empty());
    }

    public ProcesssessionRequest slabase_ProcessSessions(UUID processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("slabase_ProcessSessions").addKeys(new NameValue(processsessionid, UUID.class)), Optional.empty());
    }

    public ProcesssessionCollectionRequest slabase_ProcessSessions() {
        return new ProcesssessionCollectionRequest(
                        contextPath.addSegment("slabase_ProcessSessions"), Optional.empty());
    }

    public FaxRequest manualsla_fax(UUID activityid) {
        return new FaxRequest(contextPath.addSegment("manualsla_fax").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public FaxCollectionRequest manualsla_fax() {
        return new FaxCollectionRequest(
                        contextPath.addSegment("manualsla_fax"), Optional.empty());
    }

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

    public LetterRequest sla_letter(UUID activityid) {
        return new LetterRequest(contextPath.addSegment("sla_letter").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public LetterCollectionRequest sla_letter() {
        return new LetterCollectionRequest(
                        contextPath.addSegment("sla_letter"), Optional.empty());
    }

    public EmailRequest sla_email(UUID activityid) {
        return new EmailRequest(contextPath.addSegment("sla_email").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public EmailCollectionRequest sla_email() {
        return new EmailCollectionRequest(
                        contextPath.addSegment("sla_email"), Optional.empty());
    }

    public SocialactivityRequest manualsla_socialactivity(UUID activityid) {
        return new SocialactivityRequest(contextPath.addSegment("manualsla_socialactivity").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public SocialactivityCollectionRequest manualsla_socialactivity() {
        return new SocialactivityCollectionRequest(
                        contextPath.addSegment("manualsla_socialactivity"), Optional.empty());
    }

    public FaxRequest sla_fax(UUID activityid) {
        return new FaxRequest(contextPath.addSegment("sla_fax").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public FaxCollectionRequest sla_fax() {
        return new FaxCollectionRequest(
                        contextPath.addSegment("sla_fax"), Optional.empty());
    }

    public AccountRequest sla_account(UUID accountid) {
        return new AccountRequest(contextPath.addSegment("sla_account").addKeys(new NameValue(accountid, UUID.class)), Optional.empty());
    }

    public AccountCollectionRequest sla_account() {
        return new AccountCollectionRequest(
                        contextPath.addSegment("sla_account"), Optional.empty());
    }

    public TransactioncurrencyRequest transactioncurrencyid() {
        return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"), Optional.empty());
    }

    public AsyncoperationRequest slabase_AsyncOperations(UUID asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("slabase_AsyncOperations").addKeys(new NameValue(asyncoperationid, UUID.class)), Optional.empty());
    }

    public AsyncoperationCollectionRequest slabase_AsyncOperations() {
        return new AsyncoperationCollectionRequest(
                        contextPath.addSegment("slabase_AsyncOperations"), Optional.empty());
    }

    public PrincipalRequest ownerid() {
        return new PrincipalRequest(contextPath.addSegment("ownerid"), Optional.empty());
    }

    public AppointmentRequest manualsla_appointment(UUID activityid) {
        return new AppointmentRequest(contextPath.addSegment("manualsla_appointment").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public AppointmentCollectionRequest manualsla_appointment() {
        return new AppointmentCollectionRequest(
                        contextPath.addSegment("manualsla_appointment"), Optional.empty());
    }

    public PhonecallRequest sla_phonecall(UUID activityid) {
        return new PhonecallRequest(contextPath.addSegment("sla_phonecall").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public PhonecallCollectionRequest sla_phonecall() {
        return new PhonecallCollectionRequest(
                        contextPath.addSegment("sla_phonecall"), Optional.empty());
    }

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

    public SocialactivityRequest sla_socialactivity(UUID activityid) {
        return new SocialactivityRequest(contextPath.addSegment("sla_socialactivity").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public SocialactivityCollectionRequest sla_socialactivity() {
        return new SocialactivityCollectionRequest(
                        contextPath.addSegment("sla_socialactivity"), Optional.empty());
    }

    public TeamRequest owningteam() {
        return new TeamRequest(contextPath.addSegment("owningteam"), Optional.empty());
    }

    public BulkdeletefailureRequest slabase_BulkDeleteFailures(UUID bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("slabase_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid, UUID.class)), Optional.empty());
    }

    public BulkdeletefailureCollectionRequest slabase_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(
                        contextPath.addSegment("slabase_BulkDeleteFailures"), Optional.empty());
    }

    public AppointmentRequest sla_appointment(UUID activityid) {
        return new AppointmentRequest(contextPath.addSegment("sla_appointment").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public AppointmentCollectionRequest sla_appointment() {
        return new AppointmentCollectionRequest(
                        contextPath.addSegment("sla_appointment"), Optional.empty());
    }

    public SlaitemRequest sla_slaitem_slaId(UUID slaitemid) {
        return new SlaitemRequest(contextPath.addSegment("sla_slaitem_slaId").addKeys(new NameValue(slaitemid, UUID.class)), Optional.empty());
    }

    public SlaitemCollectionRequest sla_slaitem_slaId() {
        return new SlaitemCollectionRequest(
                        contextPath.addSegment("sla_slaitem_slaId"), Optional.empty());
    }

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

    public ActivitypointerRequest sla_activitypointer(UUID activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("sla_activitypointer").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public ActivitypointerCollectionRequest sla_activitypointer() {
        return new ActivitypointerCollectionRequest(
                        contextPath.addSegment("sla_activitypointer"), Optional.empty());
    }

    public BusinessunitRequest owningbusinessunit() {
        return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"), Optional.empty());
    }

    public LetterRequest manualsla_letter(UUID activityid) {
        return new LetterRequest(contextPath.addSegment("manualsla_letter").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

    public LetterCollectionRequest manualsla_letter() {
        return new LetterCollectionRequest(
                        contextPath.addSegment("manualsla_letter"), Optional.empty());
    }

}