microsoft.dynamics.crm.entity.collection.request.AppmoduleCollectionRequest 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.fasterxml.jackson.annotation.JsonIgnore;
import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.CollectionPageNonEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.annotation.Function;
import com.github.davidmoten.odata.client.internal.ParameterMap;
import com.github.davidmoten.odata.client.internal.TypedObject;
import java.util.Map;
import microsoft.dynamics.crm.entity.Appmodule;
import microsoft.dynamics.crm.entity.request.AppconfigRequest;
import microsoft.dynamics.crm.entity.request.AppmoduleRequest;
import microsoft.dynamics.crm.entity.request.AppmodulecomponentRequest;
import microsoft.dynamics.crm.entity.request.RoleRequest;
import microsoft.dynamics.crm.entity.request.ServiceplanRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class AppmoduleCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public AppmoduleCollectionRequest(ContextPath contextPath) {
super(contextPath, Appmodule.class, cp -> new AppmoduleRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public RoleCollectionRequest appmoduleroles_association() {
return new RoleCollectionRequest(contextPath.addSegment("appmoduleroles_association"));
}
public RoleRequest appmoduleroles_association(String roleid) {
return new RoleRequest(contextPath.addSegment("appmoduleroles_association").addKeys(new NameValue(roleid.toString())));
}
public AppconfigCollectionRequest appmodule_appconfig() {
return new AppconfigCollectionRequest(contextPath.addSegment("appmodule_appconfig"));
}
public AppconfigRequest appmodule_appconfig(String appconfigid) {
return new AppconfigRequest(contextPath.addSegment("appmodule_appconfig").addKeys(new NameValue(appconfigid.toString())));
}
public AppmodulecomponentCollectionRequest appmodule_appmodulecomponent() {
return new AppmodulecomponentCollectionRequest(contextPath.addSegment("appmodule_appmodulecomponent"));
}
public AppmodulecomponentRequest appmodule_appmodulecomponent(String appmodulecomponentid) {
return new AppmodulecomponentRequest(contextPath.addSegment("appmodule_appmodulecomponent").addKeys(new NameValue(appmodulecomponentid.toString())));
}
public ServiceplanCollectionRequest serviceplan_appmodule_association() {
return new ServiceplanCollectionRequest(contextPath.addSegment("serviceplan_appmodule_association"));
}
public ServiceplanRequest serviceplan_appmodule_association(String serviceplanid) {
return new ServiceplanRequest(contextPath.addSegment("serviceplan_appmodule_association").addKeys(new NameValue(serviceplanid.toString())));
}
@Function(name = "RetrieveUnpublishedMultiple")
@JsonIgnore
public CollectionPageNonEntityRequest retrieveUnpublishedMultiple() {
Map _parameters = ParameterMap.empty();
return CollectionPageNonEntityRequest.forFunction(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublishedMultiple"), Appmodule.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy