microsoft.dynamics.crm.entity.collection.request.ActioncardCollectionRequest 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.Actioncard;
import microsoft.dynamics.crm.entity.request.ActioncardRequest;
import microsoft.dynamics.crm.entity.request.ActioncarduserstateRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class ActioncardCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public ActioncardCollectionRequest(ContextPath contextPath) {
super(contextPath, Actioncard.class, cp -> new ActioncardRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public ActioncarduserstateCollectionRequest actionCardUserState_ActionCard() {
return new ActioncarduserstateCollectionRequest(contextPath.addSegment("ActionCardUserState_ActionCard"));
}
public ActioncarduserstateRequest actionCardUserState_ActionCard(String actioncarduserstateid) {
return new ActioncarduserstateRequest(contextPath.addSegment("ActionCardUserState_ActionCard").addKeys(new NameValue(actioncarduserstateid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy