microsoft.dynamics.crm.entity.collection.request.TeamtemplateCollectionRequest 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.Teamtemplate;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.TeamRequest;
import microsoft.dynamics.crm.entity.request.TeamtemplateRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class TeamtemplateCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public TeamtemplateCollectionRequest(ContextPath contextPath) {
super(contextPath, Teamtemplate.class, cp -> new TeamtemplateRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public TeamCollectionRequest teamtemplate_Teams() {
return new TeamCollectionRequest(contextPath.addSegment("teamtemplate_Teams"));
}
public TeamRequest teamtemplate_Teams(String ownerid) {
return new TeamRequest(contextPath.addSegment("teamtemplate_Teams").addKeys(new NameValue(ownerid.toString())));
}
public SyncerrorCollectionRequest teamTemplate_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("TeamTemplate_SyncErrors"));
}
public SyncerrorRequest teamTemplate_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("TeamTemplate_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy