microsoft.dynamics.crm.entity.request.PrivilegeRequest 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.request;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;
import microsoft.dynamics.crm.entity.Privilege;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.RoleCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.RoletemplateCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class PrivilegeRequest extends EntityRequest {
public PrivilegeRequest(ContextPath contextPath) {
super(Privilege.class, contextPath, SchemaInfo.INSTANCE);
}
public RoletemplateCollectionRequest roletemplateprivileges_association() {
return new RoletemplateCollectionRequest(
contextPath.addSegment("roletemplateprivileges_association"));
}
public RoletemplateRequest roletemplateprivileges_association(String roletemplateid) {
return new RoletemplateRequest(contextPath.addSegment("roletemplateprivileges_association").addKeys(new NameValue(roletemplateid.toString())));
}
public RoleCollectionRequest roleprivileges_association() {
return new RoleCollectionRequest(
contextPath.addSegment("roleprivileges_association"));
}
public RoleRequest roleprivileges_association(String roleid) {
return new RoleRequest(contextPath.addSegment("roleprivileges_association").addKeys(new NameValue(roleid.toString())));
}
public AsyncoperationCollectionRequest privilege_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("Privilege_AsyncOperations"));
}
public AsyncoperationRequest privilege_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Privilege_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public BulkdeletefailureCollectionRequest privilege_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(
contextPath.addSegment("Privilege_BulkDeleteFailures"));
}
public BulkdeletefailureRequest privilege_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("Privilege_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public SolutionRequest solution_privilege() {
return new SolutionRequest(contextPath.addSegment("solution_privilege"));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy