microsoft.dynamics.crm.entity.collection.request.FieldpermissionCollectionRequest 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.Fieldpermission;
import microsoft.dynamics.crm.entity.request.FieldpermissionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class FieldpermissionCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public FieldpermissionCollectionRequest(ContextPath contextPath) {
super(contextPath, Fieldpermission.class, cp -> new FieldpermissionRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SyncerrorCollectionRequest fieldPermission_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("FieldPermission_SyncErrors"));
}
public SyncerrorRequest fieldPermission_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("FieldPermission_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy