microsoft.dynamics.crm.entity.collection.request.CalendarCollectionRequest 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.Calendar;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.BusinessunitRequest;
import microsoft.dynamics.crm.entity.request.CalendarRequest;
import microsoft.dynamics.crm.entity.request.CalendarruleRequest;
import microsoft.dynamics.crm.entity.request.OrganizationRequest;
import microsoft.dynamics.crm.entity.request.SlaRequest;
import microsoft.dynamics.crm.entity.request.SlaitemRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class CalendarCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public CalendarCollectionRequest(ContextPath contextPath) {
super(contextPath, Calendar.class, cp -> new CalendarRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public CalendarruleCollectionRequest calendar_calendar_rules() {
return new CalendarruleCollectionRequest(contextPath.addSegment("calendar_calendar_rules"));
}
public CalendarruleRequest calendar_calendar_rules(String calendarruleid) {
return new CalendarruleRequest(contextPath.addSegment("calendar_calendar_rules").addKeys(new NameValue(calendarruleid.toString())));
}
public BulkdeletefailureCollectionRequest calendar_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(contextPath.addSegment("Calendar_BulkDeleteFailures"));
}
public BulkdeletefailureRequest calendar_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("Calendar_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public SlaCollectionRequest slabase_businesshoursid() {
return new SlaCollectionRequest(contextPath.addSegment("slabase_businesshoursid"));
}
public SlaRequest slabase_businesshoursid(String slaid) {
return new SlaRequest(contextPath.addSegment("slabase_businesshoursid").addKeys(new NameValue(slaid.toString())));
}
public OrganizationCollectionRequest calendar_organization() {
return new OrganizationCollectionRequest(contextPath.addSegment("calendar_organization"));
}
public OrganizationRequest calendar_organization(String organizationid) {
return new OrganizationRequest(contextPath.addSegment("calendar_organization").addKeys(new NameValue(organizationid.toString())));
}
public BusinessunitCollectionRequest businessUnit_Calendar() {
return new BusinessunitCollectionRequest(contextPath.addSegment("BusinessUnit_Calendar"));
}
public BusinessunitRequest businessUnit_Calendar(String businessunitid) {
return new BusinessunitRequest(contextPath.addSegment("BusinessUnit_Calendar").addKeys(new NameValue(businessunitid.toString())));
}
public AnnotationCollectionRequest calendar_Annotation() {
return new AnnotationCollectionRequest(contextPath.addSegment("Calendar_Annotation"));
}
public AnnotationRequest calendar_Annotation(String annotationid) {
return new AnnotationRequest(contextPath.addSegment("Calendar_Annotation").addKeys(new NameValue(annotationid.toString())));
}
public CalendarCollectionRequest calendar_customercalendar_holidaycalendar() {
return new CalendarCollectionRequest(contextPath.addSegment("calendar_customercalendar_holidaycalendar"));
}
public CalendarRequest calendar_customercalendar_holidaycalendar(String calendarid) {
return new CalendarRequest(contextPath.addSegment("calendar_customercalendar_holidaycalendar").addKeys(new NameValue(calendarid.toString())));
}
public SystemuserCollectionRequest calendar_system_users() {
return new SystemuserCollectionRequest(contextPath.addSegment("calendar_system_users"));
}
public SystemuserRequest calendar_system_users(String ownerid) {
return new SystemuserRequest(contextPath.addSegment("calendar_system_users").addKeys(new NameValue(ownerid.toString())));
}
public AsyncoperationCollectionRequest calendar_AsyncOperations() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("Calendar_AsyncOperations"));
}
public AsyncoperationRequest calendar_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Calendar_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public CalendarruleCollectionRequest inner_calendar_calendar_rules() {
return new CalendarruleCollectionRequest(contextPath.addSegment("inner_calendar_calendar_rules"));
}
public CalendarruleRequest inner_calendar_calendar_rules(String calendarruleid) {
return new CalendarruleRequest(contextPath.addSegment("inner_calendar_calendar_rules").addKeys(new NameValue(calendarruleid.toString())));
}
public SlaitemCollectionRequest calendar_slaitem() {
return new SlaitemCollectionRequest(contextPath.addSegment("calendar_slaitem"));
}
public SlaitemRequest calendar_slaitem(String slaitemid) {
return new SlaitemRequest(contextPath.addSegment("calendar_slaitem").addKeys(new NameValue(slaitemid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy