org.apache.camel.component.twilio.internal.UsageTriggerApiMethod 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.usage.Trigger;
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.usage.Trigger
*/
public enum UsageTriggerApiMethod implements ApiMethod {
CREATOR(
com.twilio.rest.api.v2010.account.usage.TriggerCreator.class,
"creator",
arg("callbackUrl", java.net.URI.class),
arg("triggerValue", String.class),
arg("usageCategory", com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class)),
CREATOR_1(
com.twilio.rest.api.v2010.account.usage.TriggerCreator.class,
"creator",
arg("pathAccountSid", String.class),
arg("callbackUrl", java.net.URI.class),
arg("triggerValue", String.class),
arg("usageCategory", com.twilio.rest.api.v2010.account.usage.Trigger.UsageCategory.class)),
DELETER(
com.twilio.rest.api.v2010.account.usage.TriggerDeleter.class,
"deleter",
arg("pathSid", String.class)),
DELETER_1(
com.twilio.rest.api.v2010.account.usage.TriggerDeleter.class,
"deleter",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
FETCHER(
com.twilio.rest.api.v2010.account.usage.TriggerFetcher.class,
"fetcher",
arg("pathSid", String.class)),
FETCHER_1(
com.twilio.rest.api.v2010.account.usage.TriggerFetcher.class,
"fetcher",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
READER(
com.twilio.rest.api.v2010.account.usage.TriggerReader.class,
"reader"),
READER_1(
com.twilio.rest.api.v2010.account.usage.TriggerReader.class,
"reader",
arg("pathAccountSid", String.class)),
UPDATER(
com.twilio.rest.api.v2010.account.usage.TriggerUpdater.class,
"updater",
arg("pathSid", String.class)),
UPDATER_1(
com.twilio.rest.api.v2010.account.usage.TriggerUpdater.class,
"updater",
arg("pathAccountSid", String.class),
arg("pathSid", String.class));
private final ApiMethod apiMethod;
private UsageTriggerApiMethod(Class> resultType, String name, ApiMethodArg... args) {
this.apiMethod = new ApiMethodImpl(Trigger.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