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

org.apache.camel.component.linkedin.internal.SearchResourceApiMethod Maven / Gradle / Ivy

The newest version!

/*
 * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
 */
package org.apache.camel.component.linkedin.internal;

import java.lang.reflect.Method;
import java.util.List;

import org.apache.camel.component.linkedin.api.SearchResource;

import org.apache.camel.support.component.ApiMethod;
import org.apache.camel.support.component.ApiMethodArg;
import org.apache.camel.support.component.ApiMethodImpl;

import static org.apache.camel.support.component.ApiMethodArg.arg;

/**
 * Camel {@link ApiMethod} Enumeration for org.apache.camel.component.linkedin.api.SearchResource
 */
public enum SearchResourceApiMethod implements ApiMethod {

    SEARCHCOMPANIES(
        org.apache.camel.component.linkedin.api.model.CompanySearch.class,
        "searchCompanies",
        arg("fields", String.class),
        arg("keywords", String.class),
        arg("hq_only", String.class),
        arg("facet", String.class),
        arg("facets", String.class),
        arg("start", Long.class),
        arg("count", Long.class),
        arg("sort", String.class)),
    SEARCHJOBS(
        org.apache.camel.component.linkedin.api.model.JobSearch.class,
        "searchJobs",
        arg("fields", String.class),
        arg("keywords", String.class),
        arg("company_name", String.class),
        arg("job_title", String.class),
        arg("country_code", String.class),
        arg("postal_code", String.class),
        arg("distance", org.apache.camel.component.linkedin.api.model.Distance.class),
        arg("facet", String.class),
        arg("facets", String.class),
        arg("start", Long.class),
        arg("count", Long.class),
        arg("sort", String.class)),
    SEARCHPEOPLE(
        org.apache.camel.component.linkedin.api.model.PeopleSearch.class,
        "searchPeople",
        arg("fields", String.class),
        arg("keywords", String.class),
        arg("first_name", String.class),
        arg("last_name", String.class),
        arg("company_name", String.class),
        arg("current_company", String.class),
        arg("title", String.class),
        arg("current_title", String.class),
        arg("school_name", String.class),
        arg("current_school", String.class),
        arg("country_code", String.class),
        arg("postal_code", String.class),
        arg("distance", org.apache.camel.component.linkedin.api.model.Distance.class),
        arg("facet", String.class),
        arg("facets", String.class),
        arg("start", Long.class),
        arg("count", Long.class),
        arg("sort", String.class));
    

    private final ApiMethod apiMethod;

    private SearchResourceApiMethod(Class resultType, String name, ApiMethodArg... args) {
        this.apiMethod = new ApiMethodImpl(SearchResource.class, resultType, name, args);
    }

    @Override
    public String getName() { return apiMethod.getName(); }

    @Override
    public Class getResultType() { return apiMethod.getResultType(); }

    @Override
    public List getArgNames() { return apiMethod.getArgNames(); }

    @Override
    public List> getArgTypes() { return apiMethod.getArgTypes(); }

    @Override
    public Method getMethod() { return apiMethod.getMethod(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy