org.apache.camel.component.linkedin.internal.CompaniesResourceApiMethod 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.CompaniesResource;
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.CompaniesResource
*/
public enum CompaniesResourceApiMethod implements ApiMethod {
ADDCOMPANYUPDATECOMMENTASCOMPANY(
void.class,
"addCompanyUpdateCommentAsCompany",
arg("company_id", long.class),
arg("update_key", String.class),
arg("updatecomment", org.apache.camel.component.linkedin.api.model.UpdateComment.class)),
ADDSHARE(
org.apache.camel.component.linkedin.api.model.Update.class,
"addShare",
arg("company_id", long.class),
arg("share", org.apache.camel.component.linkedin.api.model.Share.class)),
GETCOMPANIES(
org.apache.camel.component.linkedin.api.model.Companies.class,
"getCompanies",
arg("fields", String.class),
arg("email_domain", String.class),
arg("is_company_admin", Boolean.class)),
GETCOMPANYBYID(
org.apache.camel.component.linkedin.api.model.Company.class,
"getCompanyById",
arg("company_id", long.class),
arg("fields", String.class)),
GETCOMPANYBYNAME(
org.apache.camel.component.linkedin.api.model.Company.class,
"getCompanyByName",
arg("universal_name", String.class),
arg("fields", String.class)),
GETCOMPANYUPDATECOMMENTS(
org.apache.camel.component.linkedin.api.model.UpdateComments.class,
"getCompanyUpdateComments",
arg("company_id", long.class),
arg("update_key", String.class),
arg("fields", String.class),
arg("secure_urls", Boolean.class)),
GETCOMPANYUPDATELIKES(
org.apache.camel.component.linkedin.api.model.Likes.class,
"getCompanyUpdateLikes",
arg("company_id", long.class),
arg("update_key", String.class),
arg("fields", String.class),
arg("secure_urls", Boolean.class)),
GETCOMPANYUPDATES(
org.apache.camel.component.linkedin.api.model.Updates.class,
"getCompanyUpdates",
arg("company_id", long.class),
arg("fields", String.class),
arg("event_type", org.apache.camel.component.linkedin.api.model.EventType.class),
arg("start", Long.class),
arg("count", Long.class)),
GETHISTORICALFOLLOWSTATISTICS(
org.apache.camel.component.linkedin.api.model.HistoricalFollowStatistics.class,
"getHistoricalFollowStatistics",
arg("company_id", long.class),
arg("start_timestamp", Long.class),
arg("end_timestamp", Long.class),
arg("time_granularity", org.apache.camel.component.linkedin.api.model.TimeGranularity.class)),
GETHISTORICALSTATUSUPDATESTATISTICS(
org.apache.camel.component.linkedin.api.model.HistoricalStatusUpdateStatistics.class,
"getHistoricalStatusUpdateStatistics",
arg("company_id", long.class),
arg("start_timestamp", Long.class),
arg("end_timestamp", Long.class),
arg("time_granularity", org.apache.camel.component.linkedin.api.model.TimeGranularity.class),
arg("statistics_update_key", String.class)),
GETNUMBEROFFOLLOWERS(
org.apache.camel.component.linkedin.api.model.NumFollowers.class,
"getNumberOfFollowers",
arg("company_id", long.class),
arg("geos", java.util.List.class),
arg("companySizes", java.util.List.class),
arg("jobFunc", java.util.List.class),
arg("industries", java.util.List.class),
arg("seniorities", java.util.List.class)),
GETSTATISTICS(
org.apache.camel.component.linkedin.api.model.CompanyStatistics.class,
"getStatistics",
arg("company_id", long.class)),
ISSHAREENABLED(
org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled.class,
"isShareEnabled",
arg("company_id", long.class)),
ISVIEWERSHAREENABLED(
org.apache.camel.component.linkedin.api.model.IsCompanyShareEnabled.class,
"isViewerShareEnabled",
arg("company_id", long.class));
private final ApiMethod apiMethod;
private CompaniesResourceApiMethod(Class> resultType, String name, ApiMethodArg... 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