All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.request.TeamtemplateRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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.Teamtemplate;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.TeamCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class TeamtemplateRequest extends EntityRequest {

    public TeamtemplateRequest(ContextPath contextPath) {
        super(Teamtemplate.class, contextPath, SchemaInfo.INSTANCE);
    }

    public TeamCollectionRequest teamtemplate_Teams() {
        return new TeamCollectionRequest(
                        contextPath.addSegment("teamtemplate_Teams"));
    }

    public TeamRequest teamtemplate_Teams(String ownerid) {
        return new TeamRequest(contextPath.addSegment("teamtemplate_Teams").addKeys(new NameValue(ownerid.toString())));
    }

    public SystemuserRequest createdby() {
        return new SystemuserRequest(contextPath.addSegment("createdby"));
    }

    public SystemuserRequest createdonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
    }

    public SystemuserRequest modifiedby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedby"));
    }

    public SystemuserRequest modifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
    }

    public SyncerrorCollectionRequest teamTemplate_SyncErrors() {
        return new SyncerrorCollectionRequest(
                        contextPath.addSegment("TeamTemplate_SyncErrors"));
    }

    public SyncerrorRequest teamTemplate_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("TeamTemplate_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy