org.apache.camel.component.twilio.internal.QueueApiMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-twilio Show documentation
Show all versions of camel-twilio Show documentation
Camel Component for Twilio
The newest version!
/*
* Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.twilio.internal;
import java.lang.reflect.Method;
import java.util.List;
import com.twilio.rest.api.v2010.account.Queue;
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 com.twilio.rest.api.v2010.account.Queue
*/
public enum QueueApiMethod implements ApiMethod {
CREATOR(
com.twilio.rest.api.v2010.account.QueueCreator.class,
"creator",
arg("friendlyName", String.class)),
CREATOR_1(
com.twilio.rest.api.v2010.account.QueueCreator.class,
"creator",
arg("pathAccountSid", String.class),
arg("friendlyName", String.class)),
DELETER(
com.twilio.rest.api.v2010.account.QueueDeleter.class,
"deleter",
arg("pathSid", String.class)),
DELETER_1(
com.twilio.rest.api.v2010.account.QueueDeleter.class,
"deleter",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
FETCHER(
com.twilio.rest.api.v2010.account.QueueFetcher.class,
"fetcher",
arg("pathSid", String.class)),
FETCHER_1(
com.twilio.rest.api.v2010.account.QueueFetcher.class,
"fetcher",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
READER(
com.twilio.rest.api.v2010.account.QueueReader.class,
"reader"),
READER_1(
com.twilio.rest.api.v2010.account.QueueReader.class,
"reader",
arg("pathAccountSid", String.class)),
UPDATER(
com.twilio.rest.api.v2010.account.QueueUpdater.class,
"updater",
arg("pathSid", String.class)),
UPDATER_1(
com.twilio.rest.api.v2010.account.QueueUpdater.class,
"updater",
arg("pathAccountSid", String.class),
arg("pathSid", String.class));
private final ApiMethod apiMethod;
private QueueApiMethod(Class> resultType, String name, ApiMethodArg... args) {
this.apiMethod = new ApiMethodImpl(Queue.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 - 2025 Weber Informatics LLC | Privacy Policy