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