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

org.apache.camel.component.twilio.internal.MemberApiMethod Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
/*
 * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
 * Generated on: Sat Oct 07 19:03:08 UTC 2017
 */
package org.apache.camel.component.twilio.internal;

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

import com.twilio.rest.api.v2010.account.queue.Member;

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

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

/**
 * Camel {@link ApiMethod} Enumeration for com.twilio.rest.api.v2010.account.queue.Member
 */
public enum MemberApiMethod implements ApiMethod {

    FETCHER(
        com.twilio.rest.api.v2010.account.queue.MemberFetcher.class,
        "fetcher",
        arg("pathQueueSid", String.class),
        arg("pathCallSid", String.class)),
    FETCHER_1(
        com.twilio.rest.api.v2010.account.queue.MemberFetcher.class,
        "fetcher",
        arg("pathAccountSid", String.class),
        arg("pathQueueSid", String.class),
        arg("pathCallSid", String.class)),
    READER(
        com.twilio.rest.api.v2010.account.queue.MemberReader.class,
        "reader",
        arg("pathQueueSid", String.class)),
    READER_1(
        com.twilio.rest.api.v2010.account.queue.MemberReader.class,
        "reader",
        arg("pathAccountSid", String.class),
        arg("pathQueueSid", String.class)),
    UPDATER(
        com.twilio.rest.api.v2010.account.queue.MemberUpdater.class,
        "updater",
        arg("pathQueueSid", String.class),
        arg("pathCallSid", String.class),
        arg("url", java.net.URI.class),
        arg("method", com.twilio.http.HttpMethod.class)),
    UPDATER_1(
        com.twilio.rest.api.v2010.account.queue.MemberUpdater.class,
        "updater",
        arg("pathAccountSid", String.class),
        arg("pathQueueSid", String.class),
        arg("pathCallSid", String.class),
        arg("url", java.net.URI.class),
        arg("method", com.twilio.http.HttpMethod.class));
    

    private final ApiMethod apiMethod;

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