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

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

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 java.lang.Object;
import java.util.Optional;
import java.util.UUID;

import microsoft.dynamics.crm.entity.Languagelocale;
import microsoft.dynamics.crm.entity.collection.request.KnowledgearticleCollectionRequest;

@JsonIgnoreType
public class LanguagelocaleRequest extends EntityRequest {

    public LanguagelocaleRequest(ContextPath contextPath, Optional value) {
        super(Languagelocale.class, contextPath, value, false);
    }

    public KnowledgearticleRequest knowledgearticle_languagelocaleid(UUID knowledgearticleid) {
        return new KnowledgearticleRequest(contextPath.addSegment("knowledgearticle_languagelocaleid").addKeys(new NameValue(knowledgearticleid, UUID.class)), Optional.empty());
    }

    public KnowledgearticleCollectionRequest knowledgearticle_languagelocaleid() {
        return new KnowledgearticleCollectionRequest(
                        contextPath.addSegment("knowledgearticle_languagelocaleid"), Optional.empty());
    }

    public OrganizationRequest organizationid() {
        return new OrganizationRequest(contextPath.addSegment("organizationid"), Optional.empty());
    }

}