microsoft.dynamics.crm.entity.collection.request.RecurrenceruleCollectionRequest 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.Recurrencerule;
import microsoft.dynamics.crm.entity.request.RecurrenceruleRequest;
import microsoft.dynamics.crm.entity.request.RecurringappointmentmasterRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class RecurrenceruleCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public RecurrenceruleCollectionRequest(ContextPath contextPath) {
super(contextPath, Recurrencerule.class, cp -> new RecurrenceruleRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public RecurringappointmentmasterCollectionRequest recurrencerule_recurringappointmentmaster() {
return new RecurringappointmentmasterCollectionRequest(contextPath.addSegment("recurrencerule_recurringappointmentmaster"));
}
public RecurringappointmentmasterRequest recurrencerule_recurringappointmentmaster(String activityid) {
return new RecurringappointmentmasterRequest(contextPath.addSegment("recurrencerule_recurringappointmentmaster").addKeys(new NameValue(activityid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy