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

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

There is a newer version: 0.2.2
Show 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 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;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class SlaRequest extends EntityRequest {

    public SlaRequest(ContextPath contextPath) {
        super(Sla.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

    public AccountRequest manualsla_account(String accountid) {
        return new AccountRequest(contextPath.addSegment("manualsla_account").addKeys(new NameValue(accountid.toString())));
    }

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

    public TaskRequest manualsla_task(String activityid) {
        return new TaskRequest(contextPath.addSegment("manualsla_task").addKeys(new NameValue(activityid.toString())));
    }

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

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

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

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

    public EmailRequest manualsla_email(String activityid) {
        return new EmailRequest(contextPath.addSegment("manualsla_email").addKeys(new NameValue(activityid.toString())));
    }

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

    public AnnotationRequest sla_Annotation(String annotationid) {
        return new AnnotationRequest(contextPath.addSegment("sla_Annotation").addKeys(new NameValue(annotationid.toString())));
    }

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

    public SyncerrorRequest sLA_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("SLA_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

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

    public PhonecallRequest manualsla_phonecall(String activityid) {
        return new PhonecallRequest(contextPath.addSegment("manualsla_phonecall").addKeys(new NameValue(activityid.toString())));
    }

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

    public ContactRequest sla_contact(String contactid) {
        return new ContactRequest(contextPath.addSegment("sla_contact").addKeys(new NameValue(contactid.toString())));
    }

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

    public ContactRequest manualsla_contact(String contactid) {
        return new ContactRequest(contextPath.addSegment("manualsla_contact").addKeys(new NameValue(contactid.toString())));
    }

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

    public ActivitypointerRequest manualsla_activitypointer(String activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("manualsla_activitypointer").addKeys(new NameValue(activityid.toString())));
    }

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

    public TaskRequest sla_task(String activityid) {
        return new TaskRequest(contextPath.addSegment("sla_task").addKeys(new NameValue(activityid.toString())));
    }

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

    public ProcesssessionRequest slabase_ProcessSessions(String processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("slabase_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
    }

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

    public FaxRequest manualsla_fax(String activityid) {
        return new FaxRequest(contextPath.addSegment("manualsla_fax").addKeys(new NameValue(activityid.toString())));
    }

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

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

    public LetterRequest sla_letter(String activityid) {
        return new LetterRequest(contextPath.addSegment("sla_letter").addKeys(new NameValue(activityid.toString())));
    }

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

    public EmailRequest sla_email(String activityid) {
        return new EmailRequest(contextPath.addSegment("sla_email").addKeys(new NameValue(activityid.toString())));
    }

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

    public SocialactivityRequest manualsla_socialactivity(String activityid) {
        return new SocialactivityRequest(contextPath.addSegment("manualsla_socialactivity").addKeys(new NameValue(activityid.toString())));
    }

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

    public FaxRequest sla_fax(String activityid) {
        return new FaxRequest(contextPath.addSegment("sla_fax").addKeys(new NameValue(activityid.toString())));
    }

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

    public AccountRequest sla_account(String accountid) {
        return new AccountRequest(contextPath.addSegment("sla_account").addKeys(new NameValue(accountid.toString())));
    }

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

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

    public AsyncoperationRequest slabase_AsyncOperations(String asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("slabase_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
    }

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

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

    public AppointmentRequest manualsla_appointment(String activityid) {
        return new AppointmentRequest(contextPath.addSegment("manualsla_appointment").addKeys(new NameValue(activityid.toString())));
    }

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

    public PhonecallRequest sla_phonecall(String activityid) {
        return new PhonecallRequest(contextPath.addSegment("sla_phonecall").addKeys(new NameValue(activityid.toString())));
    }

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

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

    public SocialactivityRequest sla_socialactivity(String activityid) {
        return new SocialactivityRequest(contextPath.addSegment("sla_socialactivity").addKeys(new NameValue(activityid.toString())));
    }

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

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

    public BulkdeletefailureRequest slabase_BulkDeleteFailures(String bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("slabase_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
    }

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

    public AppointmentRequest sla_appointment(String activityid) {
        return new AppointmentRequest(contextPath.addSegment("sla_appointment").addKeys(new NameValue(activityid.toString())));
    }

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

    public SlaitemRequest sla_slaitem_slaId(String slaitemid) {
        return new SlaitemRequest(contextPath.addSegment("sla_slaitem_slaId").addKeys(new NameValue(slaitemid.toString())));
    }

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

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

    public ActivitypointerRequest sla_activitypointer(String activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("sla_activitypointer").addKeys(new NameValue(activityid.toString())));
    }

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

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

    public LetterRequest manualsla_letter(String activityid) {
        return new LetterRequest(contextPath.addSegment("manualsla_letter").addKeys(new NameValue(activityid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy