microsoft.dynamics.crm.entity.collection.request.SlaitemCollectionRequest 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.Slaitem;
import microsoft.dynamics.crm.entity.request.SlaitemRequest;
import microsoft.dynamics.crm.entity.request.SlakpiinstanceRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class SlaitemCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public SlaitemCollectionRequest(ContextPath contextPath) {
super(contextPath, Slaitem.class, cp -> new SlaitemRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SyncerrorCollectionRequest sLAItem_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("SLAItem_SyncErrors"));
}
public SyncerrorRequest sLAItem_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("SLAItem_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public SlakpiinstanceCollectionRequest msdyn_slaitem_slakpiinstance() {
return new SlakpiinstanceCollectionRequest(contextPath.addSegment("msdyn_slaitem_slakpiinstance"));
}
public SlakpiinstanceRequest msdyn_slaitem_slakpiinstance(String slakpiinstanceid) {
return new SlakpiinstanceRequest(contextPath.addSegment("msdyn_slaitem_slakpiinstance").addKeys(new NameValue(slakpiinstanceid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy