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

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

There is a newer version: 2.15.6
Show newest version
/*
 * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
 * Generated on: Sat Aug 15 16:30:00 EDT 2015
 */
package org.apache.camel.component.linkedin.internal;

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

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

import org.apache.camel.util.component.ApiMethod;
import org.apache.camel.util.component.ApiMethodImpl;

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

    ADDCOMPANYUPDATECOMMENTASCOMPANY(void.class, "addCompanyUpdateCommentAsCompany", long.class, "company_id", String.class, "update_key", org.apache.camel.component.linkedin.api.model.UpdateComment.class, "updatecomment"),
    ADDSHARE(org.apache.camel.component.linkedin.api.model.Update.class, "addShare", long.class, "company_id", org.apache.camel.component.linkedin.api.model.Share.class, "share"),
    GETCOMPANIES(org.apache.camel.component.linkedin.api.model.Companies.class, "getCompanies", String.class, "fields", String.class, "email_domain", Boolean.class, "is_company_admin"),
    GETCOMPANYBYID(org.apache.camel.component.linkedin.api.model.Company.class, "getCompanyById", long.class, "company_id", String.class, "fields"),
    GETCOMPANYBYNAME(org.apache.camel.component.linkedin.api.model.Company.class, "getCompanyByName", String.class, "universal_name", String.class, "fields"),
    GETCOMPANYUPDATECOMMENTS(org.apache.camel.component.linkedin.api.model.UpdateComments.class, "getCompanyUpdateComments", long.class, "company_id", String.class, "update_key", String.class, "fields", Boolean.class, "secure_urls"),
    GETCOMPANYUPDATELIKES(org.apache.camel.component.linkedin.api.model.Likes.class, "getCompanyUpdateLikes", long.class, "company_id", String.class, "update_key", String.class, "fields", Boolean.class, "secure_urls"),
    GETCOMPANYUPDATES(org.apache.camel.component.linkedin.api.model.Updates.class, "getCompanyUpdates", long.class, "company_id", String.class, "fields", org.apache.camel.component.linkedin.api.model.EventType.class, "event_type", Long.class, "start", Long.class, "count"),
    GETHISTORICALFOLLOWSTATISTICS(org.apache.camel.component.linkedin.api.model.HistoricalFollowStatistics.class, "getHistoricalFollowStatistics", long.class, "company_id", Long.class, "start_timestamp", Long.class, "end_timestamp", org.apache.camel.component.linkedin.api.model.TimeGranularity.class, "time_granularity"),
    GETHISTORICALSTATUSUPDATESTATISTICS(org.apache.camel.component.linkedin.api.model.HistoricalStatusUpdateStatistics.class, "getHistoricalStatusUpdateStatistics", long.class, "company_id", Long.class, "start_timestamp", Long.class, "end_timestamp", org.apache.camel.component.linkedin.api.model.TimeGranularity.class, "time_granularity", String.class, "statistics_update_key"),
    GETNUMBEROFFOLLOWERS(org.apache.camel.component.linkedin.api.model.NumFollowers.class, "getNumberOfFollowers", long.class, "company_id", java.util.List.class, "geos", java.util.List.class, "companySizes", java.util.List.class, "jobFunc", java.util.List.class, "industries", java.util.List.class, "seniorities"),
    GETSTATISTICS(org.apache.camel.component.linkedin.api.model.CompanyStatistics.class, "getStatistics", long.class, "company_id"),
    ISSHAREENABLED(org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled.class, "isShareEnabled", long.class, "company_id"),
    ISVIEWERSHAREENABLED(org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled.class, "isViewerShareEnabled", long.class, "company_id");

    private final ApiMethod apiMethod;

    private CompaniesResourceApiMethod(Class resultType, String name, Object... args) {
        this.apiMethod = new ApiMethodImpl(CompaniesResource.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