microsoft.dynamics.crm.entity.collection.request.SlaCollectionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
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.Sla;
import microsoft.dynamics.crm.entity.request.AccountRequest;
import microsoft.dynamics.crm.entity.request.ActivitypointerRequest;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AppointmentRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ContactRequest;
import microsoft.dynamics.crm.entity.request.EmailRequest;
import microsoft.dynamics.crm.entity.request.FaxRequest;
import microsoft.dynamics.crm.entity.request.LetterRequest;
import microsoft.dynamics.crm.entity.request.PhonecallRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.SlaRequest;
import microsoft.dynamics.crm.entity.request.SlaitemRequest;
import microsoft.dynamics.crm.entity.request.SocialactivityRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.TaskRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class SlaCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public SlaCollectionRequest(ContextPath contextPath) {
super(contextPath, Sla.class, cp -> new SlaRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
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 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 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 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 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 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 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 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 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