microsoft.dynamics.crm.entity.request.RelationshipRequest 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.Relationship;
import microsoft.dynamics.crm.entity.collection.request.RelationshipattributeCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class RelationshipRequest extends EntityRequest {
public RelationshipRequest(ContextPath contextPath) {
super(Relationship.class, contextPath, SchemaInfo.INSTANCE);
}
public RelationshipattributeCollectionRequest relationship_relationshipattribute() {
return new RelationshipattributeCollectionRequest(
contextPath.addSegment("relationship_relationshipattribute"));
}
public RelationshipattributeRequest relationship_relationshipattribute(String relationshipattributeid) {
return new RelationshipattributeRequest(contextPath.addSegment("relationship_relationshipattribute").addKeys(new NameValue(relationshipattributeid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy