microsoft.dynamics.crm.entity.request.MobileofflineprofileRequest 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.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.annotation.Action;
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.Mobileofflineprofile;
import microsoft.dynamics.crm.entity.collection.request.MobileofflineprofileitemCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.OrganizationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SystemuserCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class MobileofflineprofileRequest extends EntityRequest {
public MobileofflineprofileRequest(ContextPath contextPath) {
super(Mobileofflineprofile.class, contextPath, SchemaInfo.INSTANCE);
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public OrganizationCollectionRequest defaultMobileOfflineProfile_Organization() {
return new OrganizationCollectionRequest(
contextPath.addSegment("DefaultMobileOfflineProfile_Organization"));
}
public OrganizationRequest defaultMobileOfflineProfile_Organization(String organizationid) {
return new OrganizationRequest(contextPath.addSegment("DefaultMobileOfflineProfile_Organization").addKeys(new NameValue(organizationid.toString())));
}
public MobileofflineprofileitemCollectionRequest mobileOfflineProfile_MobileOfflineProfileItem() {
return new MobileofflineprofileitemCollectionRequest(
contextPath.addSegment("MobileOfflineProfile_MobileOfflineProfileItem"));
}
public MobileofflineprofileitemRequest mobileOfflineProfile_MobileOfflineProfileItem(String mobileofflineprofileitemid) {
return new MobileofflineprofileitemRequest(contextPath.addSegment("MobileOfflineProfile_MobileOfflineProfileItem").addKeys(new NameValue(mobileofflineprofileitemid.toString())));
}
public OrganizationRequest organizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
public SystemuserCollectionRequest mobileOfflineProfile_SystemUser() {
return new SystemuserCollectionRequest(
contextPath.addSegment("MobileOfflineProfile_SystemUser"));
}
public SystemuserRequest mobileOfflineProfile_SystemUser(String ownerid) {
return new SystemuserRequest(contextPath.addSegment("MobileOfflineProfile_SystemUser").addKeys(new NameValue(ownerid.toString())));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
@Action(name = "CloneMobileOfflineProfile")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped cloneMobileOfflineProfile() {
Map _parameters = ParameterMap.empty();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.CloneMobileOfflineProfile"), Mobileofflineprofile.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Function(name = "RetrieveUnpublished")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Mobileofflineprofile.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy