microsoft.dynamics.crm.entity.collection.request.MobileofflineprofileitemCollectionRequest 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.Mobileofflineprofileitem;
import microsoft.dynamics.crm.entity.request.MobileofflineprofileitemRequest;
import microsoft.dynamics.crm.entity.request.MobileofflineprofileitemassociationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class MobileofflineprofileitemCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public MobileofflineprofileitemCollectionRequest(ContextPath contextPath) {
super(contextPath, Mobileofflineprofileitem.class, cp -> new MobileofflineprofileitemRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public MobileofflineprofileitemassociationCollectionRequest mobileOfflineProfileItem_MobileOfflineProfileItemAssociation() {
return new MobileofflineprofileitemassociationCollectionRequest(contextPath.addSegment("MobileOfflineProfileItem_MobileOfflineProfileItemAssociation"));
}
public MobileofflineprofileitemassociationRequest mobileOfflineProfileItem_MobileOfflineProfileItemAssociation(String mobileofflineprofileitemassociationid) {
return new MobileofflineprofileitemassociationRequest(contextPath.addSegment("MobileOfflineProfileItem_MobileOfflineProfileItemAssociation").addKeys(new NameValue(mobileofflineprofileitemassociationid.toString())));
}
@Function(name = "RetrieveUnpublishedMultiple")
@JsonIgnore
public CollectionPageNonEntityRequest retrieveUnpublishedMultiple() {
Map _parameters = ParameterMap.empty();
return CollectionPageNonEntityRequest.forFunction(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublishedMultiple"), Mobileofflineprofileitem.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy